From 431d0f22a796fd62408ba686b79c1b46c753e7bc Mon Sep 17 00:00:00 2001 From: Jakub Holak Date: Fri, 9 Apr 2021 11:03:25 +0200 Subject: [PATCH 1/7] Add parameter --- code-build.js | 15 +++++++++++---- test/code-build-test.js | 27 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/code-build.js b/code-build.js index fae10d6..5c84ac2 100644 --- a/code-build.js +++ b/code-build.js @@ -152,6 +152,8 @@ async function waitForBuildEndTime( function githubInputs() { const projectName = core.getInput("project-name", { required: true }); + const disableSourceOverride = + core.getInput("disable-source-override") === "true"; const { owner, repo } = github.context.repo; const { payload } = github.context; // The github.context.sha is evaluated on import. @@ -193,6 +195,7 @@ function githubInputs() { environmentTypeOverride, imageOverride, envPassthrough, + disableSourceOverride, }; } @@ -207,10 +210,15 @@ function inputs2Parameters(inputs) { environmentTypeOverride, imageOverride, envPassthrough = [], + disableSourceOverride, } = inputs; - const sourceTypeOverride = "GITHUB"; - const sourceLocationOverride = `https://github.com/${owner}/${repo}.git`; + const sourceOverride = !disableSourceOverride + ? { + sourceTypeOverride: "GITHUB", + sourceLocationOverride: `https://github.com/${owner}/${repo}.git`, + } + : {}; const environmentVariablesOverride = Object.entries(process.env) .filter( @@ -223,8 +231,7 @@ function inputs2Parameters(inputs) { return { projectName, sourceVersion, - sourceTypeOverride, - sourceLocationOverride, + ...sourceOverride, buildspecOverride, computeTypeOverride, environmentTypeOverride, diff --git a/test/code-build-test.js b/test/code-build-test.js index 944b4dd..3d327e6 100644 --- a/test/code-build-test.js +++ b/test/code-build-test.js @@ -104,6 +104,22 @@ describe("githubInputs", () => { .and.to.deep.equal(["one", "two", "three", "four"]); }); + it("skips override when parameter is set to true", () => { + // This is how GITHUB injects its input values. + // It would be nice if there was an easy way to test this... + process.env[`INPUT_PROJECT-NAME`] = projectName; + process.env[`INPUT_DISABLE-SOURCE-OVERRIDE`] = "true"; + process.env[`GITHUB_REPOSITORY`] = repoInfo; + process.env[`GITHUB_SHA`] = sha; + + const test = githubInputs(); + + console.log(test); + expect(test) + .to.haveOwnProperty("disableSourceOverride") + .and.to.deep.equal(true); + }); + it("can handle pull requests", () => { // This is how GITHUB injects its input values. // It would be nice if there was an easy way to test this... @@ -319,6 +335,17 @@ describe("inputs2Parameters", () => { expect(fourEnv).to.haveOwnProperty("value").and.to.equal("_four_"); expect(fourEnv).to.haveOwnProperty("type").and.to.equal("PLAINTEXT"); }); + + it("skips source override when disableSourceOverride is set to true", () => { + const test = inputs2Parameters({ + projectName, + sourceVersion: sha, + owner: "owner", + repo: "repo", + disableSourceOverride: true, + }); + expect(test).to.not.haveOwnProperty("sourceTypeOverride"); + }); }); describe("waitForBuildEndTime", () => { From b56493c3b9bfbff25492c19c4cfe023b95dce111 Mon Sep 17 00:00:00 2001 From: Jakub Holak Date: Fri, 9 Apr 2021 12:00:10 +0200 Subject: [PATCH 2/7] Fix actio ndesc --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index 2071962..42bd293 100644 --- a/action.yml +++ b/action.yml @@ -22,6 +22,9 @@ inputs: env-vars-for-codebuild: description: 'Comma separated list of environment variables to send to CodeBuild' required: false + disable-source-override: + description: 'Set to `true` if you want do disable source repo override' + required: false outputs: aws-build-id: description: 'The AWS CodeBuild Build ID for this build.' From 03fd5f34f13830b2ef018716b5871b186ca00932 Mon Sep 17 00:00:00 2001 From: Jakub Holak Date: Fri, 9 Apr 2021 12:31:10 +0200 Subject: [PATCH 3/7] Update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed5389f..7dccb9e 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ The only required input is `project-name`. 1. **image-override** (optional) : The name of an image for this build that overrides the one specified in the build project. +1. **disable-source-override** (optional) : + Set to `true` if you want to disable providing `sourceTypeOverride` and `sourceLocationOverride` to CodeBuild. 1. **env-vars-for-codebuild** (optional) : A comma-separated list of the names of environment variables that the action passes from GitHub Actions to CodeBuild. @@ -222,7 +224,7 @@ In the call to StartBuild, we pass in all `GITHUB_` [environment variables][github environment variables] in the GitHub Actions environment, plus any environment variables that you specified in the `evn-passthrough` input value. -Regardless of the project configuration in CodeBuild or GitHub Actions, +By default, Regardless of the project configuration in CodeBuild or GitHub Actions, we always pass the following parameters and values to CodeBuild in the StartBuild API call. | CodeBuild value | GitHub value | @@ -231,6 +233,8 @@ we always pass the following parameters and values to CodeBuild in the StartBuil | `sourceTypeOverride` | The string `'GITHUB'` | | `sourceLocationOverride` | The `HTTPS` git url for `context.repo` | +If you want to disable sending the parameters `sourceTypeOverride` and `sourceLocationOverride` you can use `disable-source-override` input. + ### What we did not do This action intentionally does not let you specify every option From 27aaa1b4bde63d558c7fa9428c78447f51c26436 Mon Sep 17 00:00:00 2001 From: Jakub Holak Date: Fri, 9 Apr 2021 12:34:03 +0200 Subject: [PATCH 4/7] Remove console.log --- test/code-build-test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/code-build-test.js b/test/code-build-test.js index 3d327e6..2096b44 100644 --- a/test/code-build-test.js +++ b/test/code-build-test.js @@ -114,7 +114,6 @@ describe("githubInputs", () => { const test = githubInputs(); - console.log(test); expect(test) .to.haveOwnProperty("disableSourceOverride") .and.to.deep.equal(true); From 47793a12570014575780788bcf630ac124b88029 Mon Sep 17 00:00:00 2001 From: Jakub Holak Date: Fri, 9 Apr 2021 12:35:48 +0200 Subject: [PATCH 5/7] Remove readme typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7dccb9e..95c336a 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ In the call to StartBuild, we pass in all `GITHUB_` [environment variables][github environment variables] in the GitHub Actions environment, plus any environment variables that you specified in the `evn-passthrough` input value. -By default, Regardless of the project configuration in CodeBuild or GitHub Actions, +By default, regardless of the project configuration in CodeBuild or GitHub Actions, we always pass the following parameters and values to CodeBuild in the StartBuild API call. | CodeBuild value | GitHub value | From 0487e2086f5fdb77540a4275421f50c6b398ca95 Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Thu, 22 Sep 2022 09:12:42 +0100 Subject: [PATCH 6/7] Disable sourceVersion when disableSourceOverride is set --- README.md | 2 +- code-build.js | 2 +- dist/index.js | 350450 +++++++------------------------------ test/code-build-test.js | 2 + 4 files changed, 59017 insertions(+), 291439 deletions(-) diff --git a/README.md b/README.md index 95c336a..5e6fdd7 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ we always pass the following parameters and values to CodeBuild in the StartBuil | `sourceTypeOverride` | The string `'GITHUB'` | | `sourceLocationOverride` | The `HTTPS` git url for `context.repo` | -If you want to disable sending the parameters `sourceTypeOverride` and `sourceLocationOverride` you can use `disable-source-override` input. +If you want to disable sending the parameters `sourceVersion`, `sourceTypeOverride` and `sourceLocationOverride` you can use `disable-source-override` input. ### What we did not do diff --git a/code-build.js b/code-build.js index 5c84ac2..ebff736 100644 --- a/code-build.js +++ b/code-build.js @@ -215,6 +215,7 @@ function inputs2Parameters(inputs) { const sourceOverride = !disableSourceOverride ? { + sourceVersion: sourceVersion, sourceTypeOverride: "GITHUB", sourceLocationOverride: `https://github.com/${owner}/${repo}.git`, } @@ -230,7 +231,6 @@ function inputs2Parameters(inputs) { // This way the GitHub events can manage the builds. return { projectName, - sourceVersion, ...sourceOverride, buildspecOverride, computeTypeOverride, diff --git a/dist/index.js b/dist/index.js index e288ea1..6eee7b9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,296692 +1,64268 @@ -module.exports = /******/ (function (modules, runtime) { - // webpackBootstrap - /******/ "use strict"; // The module cache - /******/ /******/ var installedModules = {}; // The require function - /******/ - /******/ /******/ function __webpack_require__(moduleId) { - /******/ - /******/ // Check if module is in cache - /******/ if (installedModules[moduleId]) { - /******/ return installedModules[moduleId].exports; - /******/ - } // Create a new module (and put it into the cache) - /******/ /******/ var module = (installedModules[moduleId] = { - /******/ i: moduleId, - /******/ l: false, - /******/ exports: {}, - /******/ - }); // Execute the module function - /******/ - /******/ /******/ modules[moduleId].call( - module.exports, - module, - module.exports, - __webpack_require__ - ); // Flag the module as loaded - /******/ - /******/ /******/ module.l = true; // Return the exports of the module - /******/ - /******/ /******/ return module.exports; - /******/ +module.exports = +/******/ (function(modules, runtime) { // webpackBootstrap +/******/ "use strict"; +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ __webpack_require__.ab = __dirname + "/"; +/******/ +/******/ // the startup function +/******/ function startup() { +/******/ // Load entry module and return exports +/******/ return __webpack_require__(104); +/******/ }; +/******/ +/******/ // run startup +/******/ return startup(); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 0: +/***/ (function(module, __unusedexports, __webpack_require__) { + +const { requestLog } = __webpack_require__(8916); +const { + restEndpointMethods +} = __webpack_require__(842); + +const Core = __webpack_require__(9529); + +const CORE_PLUGINS = [ + __webpack_require__(4190), + __webpack_require__(8019), // deprecated: remove in v17 + requestLog, + __webpack_require__(8148), + restEndpointMethods, + __webpack_require__(4430), + + __webpack_require__(850) // deprecated: remove in v17 +]; + +const OctokitRest = Core.plugin(CORE_PLUGINS); + +function DeprecatedOctokit(options) { + const warn = + options && options.log && options.log.warn + ? options.log.warn + : console.warn; + warn( + '[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead' + ); + return new OctokitRest(options); +} + +const Octokit = Object.assign(DeprecatedOctokit, { + Octokit: OctokitRest +}); + +Object.keys(OctokitRest).forEach(key => { + /* istanbul ignore else */ + if (OctokitRest.hasOwnProperty(key)) { + Octokit[key] = OctokitRest[key]; } - /******/ - /******/ - /******/ __webpack_require__.ab = __dirname + "/"; // the startup function - /******/ - /******/ /******/ function startup() { - /******/ // Load entry module and return exports - /******/ return __webpack_require__(104); - /******/ - } // run startup - /******/ - /******/ /******/ return startup(); - /******/ -})( - /************************************************************************/ - /******/ { - /***/ 0: /***/ function (module, __unusedexports, __webpack_require__) { - const { requestLog } = __webpack_require__(8916); - const { restEndpointMethods } = __webpack_require__(842); - - const Core = __webpack_require__(9529); - - const CORE_PLUGINS = [ - __webpack_require__(4190), - __webpack_require__(8019), // deprecated: remove in v17 - requestLog, - __webpack_require__(8148), - restEndpointMethods, - __webpack_require__(4430), - - __webpack_require__(850), // deprecated: remove in v17 - ]; +}); - const OctokitRest = Core.plugin(CORE_PLUGINS); +module.exports = Octokit; - function DeprecatedOctokit(options) { - const warn = - options && options.log && options.log.warn - ? options.log.warn - : console.warn; - warn( - '[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead' - ); - return new OctokitRest(options); - } - const Octokit = Object.assign(DeprecatedOctokit, { - Octokit: OctokitRest, - }); +/***/ }), - Object.keys(OctokitRest).forEach((key) => { - /* istanbul ignore else */ - if (OctokitRest.hasOwnProperty(key)) { - Octokit[key] = OctokitRest[key]; - } - }); +/***/ 20: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = Octokit; +"use strict"; - /***/ - }, - /***/ 20: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; +const cp = __webpack_require__(3129); +const parse = __webpack_require__(4568); +const enoent = __webpack_require__(2881); - const cp = __webpack_require__(3129); - const parse = __webpack_require__(4568); - const enoent = __webpack_require__(2881); +function spawn(command, args, options) { + // Parse the arguments + const parsed = parse(command, args, options); - function spawn(command, args, options) { - // Parse the arguments - const parsed = parse(command, args, options); + // Spawn the child process + const spawned = cp.spawn(parsed.command, parsed.args, parsed.options); - // Spawn the child process - const spawned = cp.spawn(parsed.command, parsed.args, parsed.options); + // Hook into child process "exit" event to emit an error if the command + // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 + enoent.hookChildProcess(spawned, parsed); - // Hook into child process "exit" event to emit an error if the command - // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 - enoent.hookChildProcess(spawned, parsed); + return spawned; +} - return spawned; - } +function spawnSync(command, args, options) { + // Parse the arguments + const parsed = parse(command, args, options); - function spawnSync(command, args, options) { - // Parse the arguments - const parsed = parse(command, args, options); + // Spawn the child process + const result = cp.spawnSync(parsed.command, parsed.args, parsed.options); - // Spawn the child process - const result = cp.spawnSync( - parsed.command, - parsed.args, - parsed.options - ); + // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 + result.error = result.error || enoent.verifyENOENTSync(result.status, parsed); - // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 - result.error = - result.error || enoent.verifyENOENTSync(result.status, parsed); + return result; +} - return result; - } +module.exports = spawn; +module.exports.spawn = spawn; +module.exports.sync = spawnSync; - module.exports = spawn; - module.exports.spawn = spawn; - module.exports.sync = spawnSync; +module.exports._parse = parse; +module.exports._enoent = enoent; - module.exports._parse = parse; - module.exports._enoent = enoent; - /***/ - }, +/***/ }), - /***/ 32: /***/ function (module) { - module.exports = { - pagination: { - DescribeCases: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "cases", - }, - DescribeCommunications: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "communications", - }, - DescribeServices: { result_key: "services" }, - DescribeTrustedAdvisorCheckRefreshStatuses: { - result_key: "statuses", - }, - DescribeTrustedAdvisorCheckSummaries: { result_key: "summaries" }, - }, - }; +/***/ 32: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"DescribeCases":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"cases"},"DescribeCommunications":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"communications"},"DescribeServices":{"result_key":"services"},"DescribeTrustedAdvisorCheckRefreshStatuses":{"result_key":"statuses"},"DescribeTrustedAdvisorCheckSummaries":{"result_key":"summaries"}}}; - /***/ 42: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["wafv2"] = {}; - AWS.WAFV2 = Service.defineService("wafv2", ["2019-07-29"]); - Object.defineProperty(apiLoader.services["wafv2"], "2019-07-29", { - get: function get() { - var model = __webpack_require__(5118); - model.paginators = __webpack_require__(1657).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 42: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.WAFV2; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['wafv2'] = {}; +AWS.WAFV2 = Service.defineService('wafv2', ['2019-07-29']); +Object.defineProperty(apiLoader.services['wafv2'], '2019-07-29', { + get: function get() { + var model = __webpack_require__(5118); + model.paginators = __webpack_require__(1657).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 47: /***/ function (module) { - module.exports = { - pagination: { - DescribeAccountAttributes: { result_key: "AccountAttributes" }, - DescribeAddresses: { result_key: "Addresses" }, - DescribeAvailabilityZones: { result_key: "AvailabilityZones" }, - DescribeBundleTasks: { result_key: "BundleTasks" }, - DescribeByoipCidrs: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "ByoipCidrs", - }, - DescribeCapacityReservations: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "CapacityReservations", - }, - 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", - }, - 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", - }, - 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", - }, - 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", - }, - 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" }, - 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", - }, - DescribeSecurityGroups: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "SecurityGroups", - }, - 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", - }, - 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", - }, - 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", - }, - 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", - }, - 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", - }, - 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", - }, - 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 = AWS.WAFV2; - /***/ - }, - /***/ 72: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-08-22", - endpointPrefix: "acm-pca", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "ACM-PCA", - serviceFullName: - "AWS Certificate Manager Private Certificate Authority", - serviceId: "ACM PCA", - signatureVersion: "v4", - targetPrefix: "ACMPrivateCA", - uid: "acm-pca-2017-08-22", - }, - operations: { - CreateCertificateAuthority: { - input: { - type: "structure", - required: [ - "CertificateAuthorityConfiguration", - "CertificateAuthorityType", - ], - members: { - CertificateAuthorityConfiguration: { shape: "S2" }, - RevocationConfiguration: { shape: "Se" }, - CertificateAuthorityType: {}, - IdempotencyToken: {}, - Tags: { shape: "Sm" }, - }, - }, - output: { - type: "structure", - members: { CertificateAuthorityArn: {} }, - }, - idempotent: true, - }, - CreateCertificateAuthorityAuditReport: { - input: { - type: "structure", - required: [ - "CertificateAuthorityArn", - "S3BucketName", - "AuditReportResponseFormat", - ], - members: { - CertificateAuthorityArn: {}, - S3BucketName: {}, - AuditReportResponseFormat: {}, - }, - }, - output: { - type: "structure", - members: { AuditReportId: {}, S3Key: {} }, - }, - idempotent: true, - }, - CreatePermission: { - input: { - type: "structure", - required: ["CertificateAuthorityArn", "Principal", "Actions"], - members: { - CertificateAuthorityArn: {}, - Principal: {}, - SourceAccount: {}, - Actions: { shape: "S10" }, - }, - }, - }, - DeleteCertificateAuthority: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { - CertificateAuthorityArn: {}, - PermanentDeletionTimeInDays: { type: "integer" }, - }, - }, - }, - DeletePermission: { - input: { - type: "structure", - required: ["CertificateAuthorityArn", "Principal"], - members: { - CertificateAuthorityArn: {}, - Principal: {}, - SourceAccount: {}, - }, - }, - }, - DescribeCertificateAuthority: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { CertificateAuthorityArn: {} }, - }, - output: { - type: "structure", - members: { CertificateAuthority: { shape: "S17" } }, - }, - }, - DescribeCertificateAuthorityAuditReport: { - input: { - type: "structure", - required: ["CertificateAuthorityArn", "AuditReportId"], - members: { CertificateAuthorityArn: {}, AuditReportId: {} }, - }, - output: { - type: "structure", - members: { - AuditReportStatus: {}, - S3BucketName: {}, - S3Key: {}, - CreatedAt: { type: "timestamp" }, - }, - }, - }, - GetCertificate: { - input: { - type: "structure", - required: ["CertificateAuthorityArn", "CertificateArn"], - members: { CertificateAuthorityArn: {}, CertificateArn: {} }, - }, - output: { - type: "structure", - members: { Certificate: {}, CertificateChain: {} }, - }, - }, - GetCertificateAuthorityCertificate: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { CertificateAuthorityArn: {} }, - }, - output: { - type: "structure", - members: { Certificate: {}, CertificateChain: {} }, - }, - }, - GetCertificateAuthorityCsr: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { CertificateAuthorityArn: {} }, - }, - output: { type: "structure", members: { Csr: {} } }, - }, - ImportCertificateAuthorityCertificate: { - input: { - type: "structure", - required: ["CertificateAuthorityArn", "Certificate"], - members: { - CertificateAuthorityArn: {}, - Certificate: { type: "blob" }, - CertificateChain: { type: "blob" }, - }, - }, - }, - IssueCertificate: { - input: { - type: "structure", - required: [ - "CertificateAuthorityArn", - "Csr", - "SigningAlgorithm", - "Validity", - ], - members: { - CertificateAuthorityArn: {}, - Csr: { type: "blob" }, - SigningAlgorithm: {}, - TemplateArn: {}, - Validity: { - type: "structure", - required: ["Value", "Type"], - members: { Value: { type: "long" }, Type: {} }, - }, - IdempotencyToken: {}, - }, - }, - output: { type: "structure", members: { CertificateArn: {} } }, - idempotent: true, - }, - ListCertificateAuthorities: { - input: { - type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - CertificateAuthorities: { - type: "list", - member: { shape: "S17" }, - }, - NextToken: {}, - }, - }, - }, - ListPermissions: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { - CertificateAuthorityArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Permissions: { - type: "list", - member: { - type: "structure", - members: { - CertificateAuthorityArn: {}, - CreatedAt: { type: "timestamp" }, - Principal: {}, - SourceAccount: {}, - Actions: { shape: "S10" }, - Policy: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListTags: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { - CertificateAuthorityArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "Sm" }, NextToken: {} }, - }, - }, - RestoreCertificateAuthority: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { CertificateAuthorityArn: {} }, - }, - }, - RevokeCertificate: { - input: { - type: "structure", - required: [ - "CertificateAuthorityArn", - "CertificateSerial", - "RevocationReason", - ], - members: { - CertificateAuthorityArn: {}, - CertificateSerial: {}, - RevocationReason: {}, - }, - }, - }, - TagCertificateAuthority: { - input: { - type: "structure", - required: ["CertificateAuthorityArn", "Tags"], - members: { CertificateAuthorityArn: {}, Tags: { shape: "Sm" } }, - }, - }, - UntagCertificateAuthority: { - input: { - type: "structure", - required: ["CertificateAuthorityArn", "Tags"], - members: { CertificateAuthorityArn: {}, Tags: { shape: "Sm" } }, - }, - }, - UpdateCertificateAuthority: { - input: { - type: "structure", - required: ["CertificateAuthorityArn"], - members: { - CertificateAuthorityArn: {}, - RevocationConfiguration: { shape: "Se" }, - Status: {}, - }, - }, - }, - }, - shapes: { - S2: { - type: "structure", - required: ["KeyAlgorithm", "SigningAlgorithm", "Subject"], - members: { - KeyAlgorithm: {}, - SigningAlgorithm: {}, - Subject: { - type: "structure", - members: { - Country: {}, - Organization: {}, - OrganizationalUnit: {}, - DistinguishedNameQualifier: {}, - State: {}, - CommonName: {}, - SerialNumber: {}, - Locality: {}, - Title: {}, - Surname: {}, - GivenName: {}, - Initials: {}, - Pseudonym: {}, - GenerationQualifier: {}, - }, - }, - }, - }, - Se: { - type: "structure", - members: { - CrlConfiguration: { - type: "structure", - required: ["Enabled"], - members: { - Enabled: { type: "boolean" }, - ExpirationInDays: { type: "integer" }, - CustomCname: {}, - S3BucketName: {}, - }, - }, - }, - }, - Sm: { - type: "list", - member: { - type: "structure", - required: ["Key"], - members: { Key: {}, Value: {} }, - }, - }, - S10: { type: "list", member: {} }, - S17: { - type: "structure", - members: { - Arn: {}, - CreatedAt: { type: "timestamp" }, - LastStateChangeAt: { type: "timestamp" }, - Type: {}, - Serial: {}, - Status: {}, - NotBefore: { type: "timestamp" }, - NotAfter: { type: "timestamp" }, - FailureReason: {}, - CertificateAuthorityConfiguration: { shape: "S2" }, - RevocationConfiguration: { shape: "Se" }, - RestorableUntil: { type: "timestamp" }, - }, - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 47: +/***/ (function(module) { - /***/ 91: /***/ function (module) { - module.exports = { pagination: {} }; +module.exports = {"pagination":{"DescribeAccountAttributes":{"result_key":"AccountAttributes"},"DescribeAddresses":{"result_key":"Addresses"},"DescribeAvailabilityZones":{"result_key":"AvailabilityZones"},"DescribeBundleTasks":{"result_key":"BundleTasks"},"DescribeByoipCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ByoipCidrs"},"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"},"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"},"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"},"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"},"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"},"DescribeSecurityGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SecurityGroups"},"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"},"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"},"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"},"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"},"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"},"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"}}}; - /***/ - }, +/***/ }), - /***/ 99: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["medialive"] = {}; - AWS.MediaLive = Service.defineService("medialive", ["2017-10-14"]); - Object.defineProperty(apiLoader.services["medialive"], "2017-10-14", { - get: function get() { - var model = __webpack_require__(4444); - model.paginators = __webpack_require__(8369).pagination; - model.waiters = __webpack_require__(9461).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 52: +/***/ (function(module) { - module.exports = AWS.MediaLive; +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."}},"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":"Sg"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error","SampleTime"],"members":{"DeviceId":{},"Error":{"shape":"Sb"},"SampleTime":{"shape":"Sj"}}}}}},"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":"Sr"},"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":"Sy"}}}}}},"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":"Sj"},"GeofenceId":{},"UpdateTime":{"shape":"Sj"}}}}}},"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":"Sg"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error","SampleTime"],"members":{"DeviceId":{},"Error":{"shape":"Sb"},"SampleTime":{"shape":"Sj"}}}}}},"endpoint":{"hostPrefix":"tracking."}},"CreateGeofenceCollection":{"http":{"requestUri":"/geofencing/v0/collections","responseCode":200},"input":{"type":"structure","required":["CollectionName","PricingPlan"],"members":{"CollectionName":{},"Description":{},"PricingPlan":{}}},"output":{"type":"structure","required":["CollectionArn","CollectionName","CreateTime"],"members":{"CollectionArn":{},"CollectionName":{},"CreateTime":{"shape":"Sj"}}},"endpoint":{"hostPrefix":"geofencing."},"idempotent":true},"CreateMap":{"http":{"requestUri":"/maps/v0/maps","responseCode":200},"input":{"type":"structure","required":["Configuration","MapName","PricingPlan"],"members":{"Configuration":{"shape":"S1g"},"Description":{},"MapName":{},"PricingPlan":{}}},"output":{"type":"structure","required":["CreateTime","MapArn","MapName"],"members":{"CreateTime":{"shape":"Sj"},"MapArn":{},"MapName":{}}},"endpoint":{"hostPrefix":"maps."},"idempotent":true},"CreatePlaceIndex":{"http":{"requestUri":"/places/v0/indexes","responseCode":200},"input":{"type":"structure","required":["DataSource","IndexName","PricingPlan"],"members":{"DataSource":{},"DataSourceConfiguration":{"shape":"S1k"},"Description":{},"IndexName":{},"PricingPlan":{}}},"output":{"type":"structure","required":["CreateTime","IndexArn","IndexName"],"members":{"CreateTime":{"shape":"Sj"},"IndexArn":{},"IndexName":{}}},"endpoint":{"hostPrefix":"places."},"idempotent":true},"CreateTracker":{"http":{"requestUri":"/tracking/v0/trackers","responseCode":200},"input":{"type":"structure","required":["PricingPlan","TrackerName"],"members":{"Description":{},"PricingPlan":{},"TrackerName":{}}},"output":{"type":"structure","required":["CreateTime","TrackerArn","TrackerName"],"members":{"CreateTime":{"shape":"Sj"},"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},"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":"Sj"},"Description":{},"UpdateTime":{"shape":"Sj"}}},"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":"S1g"},"CreateTime":{"shape":"Sj"},"DataSource":{},"Description":{},"MapArn":{},"MapName":{},"UpdateTime":{"shape":"Sj"}}},"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":"Sj"},"DataSource":{},"DataSourceConfiguration":{"shape":"S1k"},"Description":{},"IndexArn":{},"IndexName":{},"UpdateTime":{"shape":"Sj"}}},"endpoint":{"hostPrefix":"places."}},"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":"Sj"},"Description":{},"TrackerArn":{},"TrackerName":{},"UpdateTime":{"shape":"Sj"}}},"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":{"DeviceId":{},"Position":{"shape":"Sh"},"ReceivedTime":{"shape":"Sj"},"SampleTime":{"shape":"Sj"}}},"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":"Sj"},"NextToken":{},"StartTimeInclusive":{"shape":"Sj"},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["DevicePositions"],"members":{"DevicePositions":{"shape":"Sr"},"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":"Sj"},"GeofenceId":{},"Geometry":{"shape":"Sy"},"Status":{},"UpdateTime":{"shape":"Sj"}}},"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."}},"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":"Sj"},"Description":{},"UpdateTime":{"shape":"Sj"}}}},"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":"Sj"},"GeofenceId":{},"Geometry":{"shape":"Sy"},"Status":{},"UpdateTime":{"shape":"Sj"}}}},"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":"Sj"},"DataSource":{},"Description":{},"MapName":{},"UpdateTime":{"shape":"Sj"}}}},"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":"Sj"},"DataSource":{},"Description":{},"IndexName":{},"UpdateTime":{"shape":"Sj"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"places."}},"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":"Sj"},"Description":{},"TrackerName":{},"UpdateTime":{"shape":"Sj"}}}},"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":"Sy"}}},"output":{"type":"structure","required":["CreateTime","GeofenceId","UpdateTime"],"members":{"CreateTime":{"shape":"Sj"},"GeofenceId":{},"UpdateTime":{"shape":"Sj"}}},"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"},"MaxResults":{"type":"integer"},"Position":{"shape":"Sh"}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Place"],"members":{"Place":{"shape":"S3r"}}}},"Summary":{"type":"structure","required":["DataSource","Position"],"members":{"DataSource":{},"MaxResults":{"type":"integer"},"Position":{"shape":"Sh"}}}}},"endpoint":{"hostPrefix":"places."}},"SearchPlaceIndexForText":{"http":{"requestUri":"/places/v0/indexes/{IndexName}/search/text","responseCode":200},"input":{"type":"structure","required":["IndexName","Text"],"members":{"BiasPosition":{"shape":"Sh"},"FilterBBox":{"shape":"S3v"},"FilterCountries":{"shape":"S3w"},"IndexName":{"location":"uri","locationName":"IndexName"},"MaxResults":{"type":"integer"},"Text":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Place"],"members":{"Place":{"shape":"S3r"}}}},"Summary":{"type":"structure","required":["DataSource","Text"],"members":{"BiasPosition":{"shape":"Sh"},"DataSource":{},"FilterBBox":{"shape":"S3v"},"FilterCountries":{"shape":"S3w"},"MaxResults":{"type":"integer"},"ResultBBox":{"shape":"S3v"},"Text":{"type":"string","sensitive":true}}}}},"endpoint":{"hostPrefix":"places."}}},"shapes":{"Sb":{"type":"structure","members":{"Code":{},"Message":{}}},"Sg":{"type":"structure","required":["DeviceId","Position","SampleTime"],"members":{"DeviceId":{},"Position":{"shape":"Sh"},"SampleTime":{"shape":"Sj"}}},"Sh":{"type":"list","member":{"type":"double"},"sensitive":true},"Sj":{"type":"timestamp","timestampFormat":"iso8601"},"Sr":{"type":"list","member":{"type":"structure","required":["Position","ReceivedTime","SampleTime"],"members":{"DeviceId":{},"Position":{"shape":"Sh"},"ReceivedTime":{"shape":"Sj"},"SampleTime":{"shape":"Sj"}}}},"Sy":{"type":"structure","members":{"Polygon":{"type":"list","member":{"type":"list","member":{"shape":"Sh"}}}}},"S1g":{"type":"structure","required":["Style"],"members":{"Style":{}}},"S1k":{"type":"structure","members":{"IntendedUse":{}}},"S3r":{"type":"structure","required":["Geometry"],"members":{"AddressNumber":{},"Country":{},"Geometry":{"type":"structure","members":{"Point":{"shape":"Sh"}}},"Label":{},"Municipality":{},"Neighborhood":{},"PostalCode":{},"Region":{},"Street":{},"SubRegion":{}}},"S3v":{"type":"list","member":{"type":"double"},"sensitive":true},"S3w":{"type":"list","member":{}}}}; - /***/ - }, +/***/ }), - /***/ 104: /***/ function (module, __unusedexports, __webpack_require__) { - // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - // SPDX-License-Identifier: Apache-2.0 +/***/ 72: +/***/ (function(module) { - const core = __webpack_require__(6470); - const { runBuild } = __webpack_require__(9951); - const assert = __webpack_require__(2357); +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-08-22","endpointPrefix":"acm-pca","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"ACM-PCA","serviceFullName":"AWS Certificate Manager Private Certificate Authority","serviceId":"ACM PCA","signatureVersion":"v4","targetPrefix":"ACMPrivateCA","uid":"acm-pca-2017-08-22"},"operations":{"CreateCertificateAuthority":{"input":{"type":"structure","required":["CertificateAuthorityConfiguration","CertificateAuthorityType"],"members":{"CertificateAuthorityConfiguration":{"shape":"S2"},"RevocationConfiguration":{"shape":"Se"},"CertificateAuthorityType":{},"IdempotencyToken":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"CertificateAuthorityArn":{}}},"idempotent":true},"CreateCertificateAuthorityAuditReport":{"input":{"type":"structure","required":["CertificateAuthorityArn","S3BucketName","AuditReportResponseFormat"],"members":{"CertificateAuthorityArn":{},"S3BucketName":{},"AuditReportResponseFormat":{}}},"output":{"type":"structure","members":{"AuditReportId":{},"S3Key":{}}},"idempotent":true},"CreatePermission":{"input":{"type":"structure","required":["CertificateAuthorityArn","Principal","Actions"],"members":{"CertificateAuthorityArn":{},"Principal":{},"SourceAccount":{},"Actions":{"shape":"S11"}}}},"DeleteCertificateAuthority":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{},"PermanentDeletionTimeInDays":{"type":"integer"}}}},"DeletePermission":{"input":{"type":"structure","required":["CertificateAuthorityArn","Principal"],"members":{"CertificateAuthorityArn":{},"Principal":{},"SourceAccount":{}}}},"DeletePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}}},"DescribeCertificateAuthority":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{}}},"output":{"type":"structure","members":{"CertificateAuthority":{"shape":"S19"}}}},"DescribeCertificateAuthorityAuditReport":{"input":{"type":"structure","required":["CertificateAuthorityArn","AuditReportId"],"members":{"CertificateAuthorityArn":{},"AuditReportId":{}}},"output":{"type":"structure","members":{"AuditReportStatus":{},"S3BucketName":{},"S3Key":{},"CreatedAt":{"type":"timestamp"}}}},"GetCertificate":{"input":{"type":"structure","required":["CertificateAuthorityArn","CertificateArn"],"members":{"CertificateAuthorityArn":{},"CertificateArn":{}}},"output":{"type":"structure","members":{"Certificate":{},"CertificateChain":{}}}},"GetCertificateAuthorityCertificate":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{}}},"output":{"type":"structure","members":{"Certificate":{},"CertificateChain":{}}}},"GetCertificateAuthorityCsr":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{}}},"output":{"type":"structure","members":{"Csr":{}}}},"GetPolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Policy":{}}}},"ImportCertificateAuthorityCertificate":{"input":{"type":"structure","required":["CertificateAuthorityArn","Certificate"],"members":{"CertificateAuthorityArn":{},"Certificate":{"type":"blob"},"CertificateChain":{"type":"blob"}}}},"IssueCertificate":{"input":{"type":"structure","required":["CertificateAuthorityArn","Csr","SigningAlgorithm","Validity"],"members":{"CertificateAuthorityArn":{},"Csr":{"type":"blob"},"SigningAlgorithm":{},"TemplateArn":{},"Validity":{"type":"structure","required":["Value","Type"],"members":{"Value":{"type":"long"},"Type":{}}},"IdempotencyToken":{}}},"output":{"type":"structure","members":{"CertificateArn":{}}},"idempotent":true},"ListCertificateAuthorities":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"ResourceOwner":{}}},"output":{"type":"structure","members":{"CertificateAuthorities":{"type":"list","member":{"shape":"S19"}},"NextToken":{}}}},"ListPermissions":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"type":"list","member":{"type":"structure","members":{"CertificateAuthorityArn":{},"CreatedAt":{"type":"timestamp"},"Principal":{},"SourceAccount":{},"Actions":{"shape":"S11"},"Policy":{}}}},"NextToken":{}}}},"ListTags":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sm"},"NextToken":{}}}},"PutPolicy":{"input":{"type":"structure","required":["ResourceArn","Policy"],"members":{"ResourceArn":{},"Policy":{}}}},"RestoreCertificateAuthority":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{}}}},"RevokeCertificate":{"input":{"type":"structure","required":["CertificateAuthorityArn","CertificateSerial","RevocationReason"],"members":{"CertificateAuthorityArn":{},"CertificateSerial":{},"RevocationReason":{}}}},"TagCertificateAuthority":{"input":{"type":"structure","required":["CertificateAuthorityArn","Tags"],"members":{"CertificateAuthorityArn":{},"Tags":{"shape":"Sm"}}}},"UntagCertificateAuthority":{"input":{"type":"structure","required":["CertificateAuthorityArn","Tags"],"members":{"CertificateAuthorityArn":{},"Tags":{"shape":"Sm"}}}},"UpdateCertificateAuthority":{"input":{"type":"structure","required":["CertificateAuthorityArn"],"members":{"CertificateAuthorityArn":{},"RevocationConfiguration":{"shape":"Se"},"Status":{}}}}},"shapes":{"S2":{"type":"structure","required":["KeyAlgorithm","SigningAlgorithm","Subject"],"members":{"KeyAlgorithm":{},"SigningAlgorithm":{},"Subject":{"type":"structure","members":{"Country":{},"Organization":{},"OrganizationalUnit":{},"DistinguishedNameQualifier":{},"State":{},"CommonName":{},"SerialNumber":{},"Locality":{},"Title":{},"Surname":{},"GivenName":{},"Initials":{},"Pseudonym":{},"GenerationQualifier":{}}}}},"Se":{"type":"structure","members":{"CrlConfiguration":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"},"ExpirationInDays":{"type":"integer"},"CustomCname":{},"S3BucketName":{}}}}},"Sm":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"S11":{"type":"list","member":{}},"S19":{"type":"structure","members":{"Arn":{},"OwnerAccount":{},"CreatedAt":{"type":"timestamp"},"LastStateChangeAt":{"type":"timestamp"},"Type":{},"Serial":{},"Status":{},"NotBefore":{"type":"timestamp"},"NotAfter":{"type":"timestamp"},"FailureReason":{},"CertificateAuthorityConfiguration":{"shape":"S2"},"RevocationConfiguration":{"shape":"Se"},"RestorableUntil":{"type":"timestamp"}}}}}; - /* istanbul ignore next */ - if (require.main === require.cache[eval("__filename")]) { - run(); - } +/***/ }), - module.exports = run; +/***/ 89: +/***/ (function(module, __unusedexports, __webpack_require__) { - async function run() { - console.log("*****STARTING CODEBUILD*****"); - try { - const build = await runBuild(); - core.setOutput("aws-build-id", build.id); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - // Signal the outcome - assert( - build.buildStatus === "SUCCEEDED", - `Build status: ${build.buildStatus}` - ); - } catch (error) { - core.setFailed(error.message); - } finally { - console.log("*****CODEBUILD COMPLETE*****"); - } - } +apiLoader.services['mwaa'] = {}; +AWS.MWAA = Service.defineService('mwaa', ['2020-07-01']); +Object.defineProperty(apiLoader.services['mwaa'], '2020-07-01', { + get: function get() { + var model = __webpack_require__(4669); + model.paginators = __webpack_require__(925).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.MWAA; - /***/ 109: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(395).util; - var convert = __webpack_require__(9433); - var Translator = function (options) { - options = options || {}; - this.attrValue = options.attrValue; - this.convertEmptyValues = Boolean(options.convertEmptyValues); - this.wrapNumbers = Boolean(options.wrapNumbers); - }; +/***/ }), - Translator.prototype.translateInput = function (value, shape) { - this.mode = "input"; - return this.translate(value, shape); - }; +/***/ 91: +/***/ (function(module) { - Translator.prototype.translateOutput = function (value, shape) { - this.mode = "output"; - return this.translate(value, shape); - }; +module.exports = {"pagination":{}}; - Translator.prototype.translate = function (value, shape) { - var self = this; - if (!shape || value === undefined) return undefined; +/***/ }), - if (shape.shape === self.attrValue) { - return convert[self.mode](value, { - convertEmptyValues: self.convertEmptyValues, - wrapNumbers: self.wrapNumbers, - }); - } - switch (shape.type) { - case "structure": - return self.translateStructure(value, shape); - case "map": - return self.translateMap(value, shape); - case "list": - return self.translateList(value, shape); - default: - return self.translateScalar(value, shape); - } - }; +/***/ 99: +/***/ (function(module, __unusedexports, __webpack_require__) { - Translator.prototype.translateStructure = function (structure, shape) { - var self = this; - if (structure == null) return undefined; - - var struct = {}; - util.each(structure, function (name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - var result = self.translate(value, memberShape); - if (result !== undefined) struct[name] = result; - } - }); - return struct; - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - Translator.prototype.translateList = function (list, shape) { - var self = this; - if (list == null) return undefined; +apiLoader.services['medialive'] = {}; +AWS.MediaLive = Service.defineService('medialive', ['2017-10-14']); +Object.defineProperty(apiLoader.services['medialive'], '2017-10-14', { + get: function get() { + var model = __webpack_require__(4444); + model.paginators = __webpack_require__(8369).pagination; + model.waiters = __webpack_require__(9461).waiters; + return model; + }, + enumerable: true, + configurable: true +}); - var out = []; - util.arrayEach(list, function (value) { - var result = self.translate(value, shape.member); - if (result === undefined) out.push(null); - else out.push(result); - }); - return out; - }; +module.exports = AWS.MediaLive; - Translator.prototype.translateMap = function (map, shape) { - var self = this; - if (map == null) return undefined; - var out = {}; - util.each(map, function (key, value) { - var result = self.translate(value, shape.value); - if (result === undefined) out[key] = null; - else out[key] = result; - }); - return out; - }; +/***/ }), - Translator.prototype.translateScalar = function (value, shape) { - return shape.toType(value); - }; +/***/ 104: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * @api private - */ - module.exports = Translator; +// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 - /***/ - }, +const core = __webpack_require__(6470); +const { runBuild } = __webpack_require__(9951); +const assert = __webpack_require__(2357); - /***/ 126: /***/ function (module) { - /** - * lodash (Custom Build) - * Build: `lodash modularize exports="npm" -o ./` - * Copyright jQuery Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ - - /** Used as the size to enable large array optimizations. */ - var LARGE_ARRAY_SIZE = 200; - - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = "__lodash_hash_undefined__"; - - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0; - - /** `Object#toString` result references. */ - var funcTag = "[object Function]", - genTag = "[object GeneratorFunction]"; - - /** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; - - /** Used to detect host constructors (Safari). */ - var reIsHostCtor = /^\[object .+?Constructor\]$/; - - /** Detect free variable `global` from Node.js. */ - var freeGlobal = - typeof global == "object" && - global && - global.Object === Object && - global; - - /** Detect free variable `self`. */ - var freeSelf = - typeof self == "object" && self && self.Object === Object && self; - - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function("return this")(); - - /** - * A specialized version of `_.includes` for arrays without support for - * specifying an index to search from. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludes(array, value) { - var length = array ? array.length : 0; - return !!length && baseIndexOf(array, value, 0) > -1; - } +/* istanbul ignore next */ +if (require.main === require.cache[eval('__filename')]) { + run(); +} - /** - * This function is like `arrayIncludes` except that it accepts a comparator. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @param {Function} comparator The comparator invoked per element. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludesWith(array, value, comparator) { - var index = -1, - length = array ? array.length : 0; +module.exports = run; - while (++index < length) { - if (comparator(value, array[index])) { - return true; - } - } - return false; - } +async function run() { + console.log("*****STARTING CODEBUILD*****"); + try { + const build = await runBuild(); + core.setOutput("aws-build-id", build.id); - /** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {number} fromIndex The index to search from. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 1 : -1); - - while (fromRight ? index-- : ++index < length) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; - } + // Signal the outcome + assert( + build.buildStatus === "SUCCEEDED", + `Build status: ${build.buildStatus}` + ); + } catch (error) { + core.setFailed(error.message); + } finally { + console.log("*****CODEBUILD COMPLETE*****"); + } +} - /** - * The base implementation of `_.indexOf` without `fromIndex` bounds checks. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseIndexOf(array, value, fromIndex) { - if (value !== value) { - return baseFindIndex(array, baseIsNaN, fromIndex); - } - var index = fromIndex - 1, - length = array.length; - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; - } +/***/ }), - /** - * The base implementation of `_.isNaN` without support for number objects. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - */ - function baseIsNaN(value) { - return value !== value; - } +/***/ 109: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * Checks if a cache value for `key` exists. - * - * @private - * @param {Object} cache The cache to query. - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function cacheHas(cache, key) { - return cache.has(key); - } +var util = __webpack_require__(395).util; +var convert = __webpack_require__(9433); - /** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function getValue(object, key) { - return object == null ? undefined : object[key]; - } +var Translator = function(options) { + options = options || {}; + this.attrValue = options.attrValue; + this.convertEmptyValues = Boolean(options.convertEmptyValues); + this.wrapNumbers = Boolean(options.wrapNumbers); +}; - /** - * Checks if `value` is a host object in IE < 9. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a host object, else `false`. - */ - function isHostObject(value) { - // Many host objects are `Object` objects that can coerce to strings - // despite having improperly defined `toString` methods. - var result = false; - if (value != null && typeof value.toString != "function") { - try { - result = !!(value + ""); - } catch (e) {} - } - return result; - } +Translator.prototype.translateInput = function(value, shape) { + this.mode = 'input'; + return this.translate(value, shape); +}; - /** - * Converts `set` to an array of its values. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the values. - */ - function setToArray(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function (value) { - result[++index] = value; - }); - return result; - } +Translator.prototype.translateOutput = function(value, shape) { + this.mode = 'output'; + return this.translate(value, shape); +}; - /** Used for built-in method references. */ - var arrayProto = Array.prototype, - funcProto = Function.prototype, - objectProto = Object.prototype; +Translator.prototype.translate = function(value, shape) { + var self = this; + if (!shape || value === undefined) return undefined; - /** Used to detect overreaching core-js shims. */ - var coreJsData = root["__core-js_shared__"]; + if (shape.shape === self.attrValue) { + return convert[self.mode](value, { + convertEmptyValues: self.convertEmptyValues, + wrapNumbers: self.wrapNumbers, + }); + } + switch (shape.type) { + case 'structure': return self.translateStructure(value, shape); + case 'map': return self.translateMap(value, shape); + case 'list': return self.translateList(value, shape); + default: return self.translateScalar(value, shape); + } +}; + +Translator.prototype.translateStructure = function(structure, shape) { + var self = this; + if (structure == null) return undefined; + + var struct = {}; + util.each(structure, function(name, value) { + var memberShape = shape.members[name]; + if (memberShape) { + var result = self.translate(value, memberShape); + if (result !== undefined) struct[name] = result; + } + }); + return struct; +}; + +Translator.prototype.translateList = function(list, shape) { + var self = this; + if (list == null) return undefined; + + var out = []; + util.arrayEach(list, function(value) { + var result = self.translate(value, shape.member); + if (result === undefined) out.push(null); + else out.push(result); + }); + return out; +}; + +Translator.prototype.translateMap = function(map, shape) { + var self = this; + if (map == null) return undefined; + + var out = {}; + util.each(map, function(key, value) { + var result = self.translate(value, shape.value); + if (result === undefined) out[key] = null; + else out[key] = result; + }); + return out; +}; + +Translator.prototype.translateScalar = function(value, shape) { + return shape.toType(value); +}; + +/** + * @api private + */ +module.exports = Translator; + + +/***/ }), + +/***/ 124: +/***/ (function(module) { + +module.exports = {"pagination":{"ListEndpoints":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Endpoints"}}}; + +/***/ }), + +/***/ 126: +/***/ (function(module) { + +/** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + +/** Used as the size to enable large array optimizations. */ +var LARGE_ARRAY_SIZE = 200; + +/** Used to stand-in for `undefined` hash values. */ +var HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** Used as references for various `Number` constants. */ +var INFINITY = 1 / 0; + +/** `Object#toString` result references. */ +var funcTag = '[object Function]', + genTag = '[object GeneratorFunction]'; + +/** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ +var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; + +/** Used to detect host constructors (Safari). */ +var reIsHostCtor = /^\[object .+?Constructor\]$/; + +/** Detect free variable `global` from Node.js. */ +var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + +/** Detect free variable `self`. */ +var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + +/** Used as a reference to the global object. */ +var root = freeGlobal || freeSelf || Function('return this')(); + +/** + * A specialized version of `_.includes` for arrays without support for + * specifying an index to search from. + * + * @private + * @param {Array} [array] The array to inspect. + * @param {*} target The value to search for. + * @returns {boolean} Returns `true` if `target` is found, else `false`. + */ +function arrayIncludes(array, value) { + var length = array ? array.length : 0; + return !!length && baseIndexOf(array, value, 0) > -1; +} + +/** + * This function is like `arrayIncludes` except that it accepts a comparator. + * + * @private + * @param {Array} [array] The array to inspect. + * @param {*} target The value to search for. + * @param {Function} comparator The comparator invoked per element. + * @returns {boolean} Returns `true` if `target` is found, else `false`. + */ +function arrayIncludesWith(array, value, comparator) { + var index = -1, + length = array ? array.length : 0; + + while (++index < length) { + if (comparator(value, array[index])) { + return true; + } + } + return false; +} + +/** + * The base implementation of `_.findIndex` and `_.findLastIndex` without + * support for iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Function} predicate The function invoked per iteration. + * @param {number} fromIndex The index to search from. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {number} Returns the index of the matched value, else `-1`. + */ +function baseFindIndex(array, predicate, fromIndex, fromRight) { + var length = array.length, + index = fromIndex + (fromRight ? 1 : -1); + + while ((fromRight ? index-- : ++index < length)) { + if (predicate(array[index], index, array)) { + return index; + } + } + return -1; +} + +/** + * The base implementation of `_.indexOf` without `fromIndex` bounds checks. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} fromIndex The index to search from. + * @returns {number} Returns the index of the matched value, else `-1`. + */ +function baseIndexOf(array, value, fromIndex) { + if (value !== value) { + return baseFindIndex(array, baseIsNaN, fromIndex); + } + var index = fromIndex - 1, + length = array.length; - /** Used to detect methods masquerading as native. */ - var maskSrcKey = (function () { - var uid = /[^.]+$/.exec( - (coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO) || "" - ); - return uid ? "Symbol(src)_1." + uid : ""; - })(); - - /** Used to resolve the decompiled source of functions. */ - var funcToString = funcProto.toString; - - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; - - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var objectToString = objectProto.toString; - - /** Used to detect if a method is native. */ - var reIsNative = RegExp( - "^" + - funcToString - .call(hasOwnProperty) - .replace(reRegExpChar, "\\$&") - .replace( - /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, - "$1.*?" - ) + - "$" - ); + while (++index < length) { + if (array[index] === value) { + return index; + } + } + return -1; +} + +/** + * The base implementation of `_.isNaN` without support for number objects. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. + */ +function baseIsNaN(value) { + return value !== value; +} + +/** + * Checks if a cache value for `key` exists. + * + * @private + * @param {Object} cache The cache to query. + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function cacheHas(cache, key) { + return cache.has(key); +} + +/** + * Gets the value at `key` of `object`. + * + * @private + * @param {Object} [object] The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ +function getValue(object, key) { + return object == null ? undefined : object[key]; +} + +/** + * Checks if `value` is a host object in IE < 9. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a host object, else `false`. + */ +function isHostObject(value) { + // Many host objects are `Object` objects that can coerce to strings + // despite having improperly defined `toString` methods. + var result = false; + if (value != null && typeof value.toString != 'function') { + try { + result = !!(value + ''); + } catch (e) {} + } + return result; +} + +/** + * Converts `set` to an array of its values. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the values. + */ +function setToArray(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = value; + }); + return result; +} + +/** Used for built-in method references. */ +var arrayProto = Array.prototype, + funcProto = Function.prototype, + objectProto = Object.prototype; + +/** Used to detect overreaching core-js shims. */ +var coreJsData = root['__core-js_shared__']; + +/** Used to detect methods masquerading as native. */ +var maskSrcKey = (function() { + var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); + return uid ? ('Symbol(src)_1.' + uid) : ''; +}()); + +/** Used to resolve the decompiled source of functions. */ +var funcToString = funcProto.toString; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var objectToString = objectProto.toString; + +/** Used to detect if a method is native. */ +var reIsNative = RegExp('^' + + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' +); - /** Built-in value references. */ - var splice = arrayProto.splice; - - /* Built-in method references that are verified to be native. */ - var Map = getNative(root, "Map"), - Set = getNative(root, "Set"), - nativeCreate = getNative(Object, "create"); - - /** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Hash(entries) { - var index = -1, - length = entries ? entries.length : 0; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); +/** Built-in value references. */ +var splice = arrayProto.splice; + +/* Built-in method references that are verified to be native. */ +var Map = getNative(root, 'Map'), + Set = getNative(root, 'Set'), + nativeCreate = getNative(Object, 'create'); + +/** + * Creates a hash object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function Hash(entries) { + var index = -1, + length = entries ? entries.length : 0; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +/** + * Removes all key-value entries from the hash. + * + * @private + * @name clear + * @memberOf Hash + */ +function hashClear() { + this.__data__ = nativeCreate ? nativeCreate(null) : {}; +} + +/** + * Removes `key` and its value from the hash. + * + * @private + * @name delete + * @memberOf Hash + * @param {Object} hash The hash to modify. + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function hashDelete(key) { + return this.has(key) && delete this.__data__[key]; +} + +/** + * Gets the hash value for `key`. + * + * @private + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function hashGet(key) { + var data = this.__data__; + if (nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; + } + return hasOwnProperty.call(data, key) ? data[key] : undefined; +} + +/** + * Checks if a hash value for `key` exists. + * + * @private + * @name has + * @memberOf Hash + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function hashHas(key) { + var data = this.__data__; + return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key); +} + +/** + * Sets the hash `key` to `value`. + * + * @private + * @name set + * @memberOf Hash + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the hash instance. + */ +function hashSet(key, value) { + var data = this.__data__; + data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; + return this; +} + +// Add methods to `Hash`. +Hash.prototype.clear = hashClear; +Hash.prototype['delete'] = hashDelete; +Hash.prototype.get = hashGet; +Hash.prototype.has = hashHas; +Hash.prototype.set = hashSet; + +/** + * Creates an list cache object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function ListCache(entries) { + var index = -1, + length = entries ? entries.length : 0; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +/** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ +function listCacheClear() { + this.__data__ = []; +} + +/** + * Removes `key` and its value from the list cache. + * + * @private + * @name delete + * @memberOf ListCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function listCacheDelete(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + return false; + } + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + return true; +} + +/** + * Gets the list cache value for `key`. + * + * @private + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function listCacheGet(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + return index < 0 ? undefined : data[index][1]; +} + +/** + * Checks if a list cache value for `key` exists. + * + * @private + * @name has + * @memberOf ListCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function listCacheHas(key) { + return assocIndexOf(this.__data__, key) > -1; +} + +/** + * Sets the list cache `key` to `value`. + * + * @private + * @name set + * @memberOf ListCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the list cache instance. + */ +function listCacheSet(key, value) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + data.push([key, value]); + } else { + data[index][1] = value; + } + return this; +} + +// Add methods to `ListCache`. +ListCache.prototype.clear = listCacheClear; +ListCache.prototype['delete'] = listCacheDelete; +ListCache.prototype.get = listCacheGet; +ListCache.prototype.has = listCacheHas; +ListCache.prototype.set = listCacheSet; + +/** + * Creates a map cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function MapCache(entries) { + var index = -1, + length = entries ? entries.length : 0; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +/** + * Removes all key-value entries from the map. + * + * @private + * @name clear + * @memberOf MapCache + */ +function mapCacheClear() { + this.__data__ = { + 'hash': new Hash, + 'map': new (Map || ListCache), + 'string': new Hash + }; +} + +/** + * Removes `key` and its value from the map. + * + * @private + * @name delete + * @memberOf MapCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function mapCacheDelete(key) { + return getMapData(this, key)['delete'](key); +} + +/** + * Gets the map value for `key`. + * + * @private + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function mapCacheGet(key) { + return getMapData(this, key).get(key); +} + +/** + * Checks if a map value for `key` exists. + * + * @private + * @name has + * @memberOf MapCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function mapCacheHas(key) { + return getMapData(this, key).has(key); +} + +/** + * Sets the map `key` to `value`. + * + * @private + * @name set + * @memberOf MapCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the map cache instance. + */ +function mapCacheSet(key, value) { + getMapData(this, key).set(key, value); + return this; +} + +// Add methods to `MapCache`. +MapCache.prototype.clear = mapCacheClear; +MapCache.prototype['delete'] = mapCacheDelete; +MapCache.prototype.get = mapCacheGet; +MapCache.prototype.has = mapCacheHas; +MapCache.prototype.set = mapCacheSet; + +/** + * + * Creates an array cache object to store unique values. + * + * @private + * @constructor + * @param {Array} [values] The values to cache. + */ +function SetCache(values) { + var index = -1, + length = values ? values.length : 0; + + this.__data__ = new MapCache; + while (++index < length) { + this.add(values[index]); + } +} + +/** + * Adds `value` to the array cache. + * + * @private + * @name add + * @memberOf SetCache + * @alias push + * @param {*} value The value to cache. + * @returns {Object} Returns the cache instance. + */ +function setCacheAdd(value) { + this.__data__.set(value, HASH_UNDEFINED); + return this; +} + +/** + * Checks if `value` is in the array cache. + * + * @private + * @name has + * @memberOf SetCache + * @param {*} value The value to search for. + * @returns {number} Returns `true` if `value` is found, else `false`. + */ +function setCacheHas(value) { + return this.__data__.has(value); +} + +// Add methods to `SetCache`. +SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; +SetCache.prototype.has = setCacheHas; + +/** + * Gets the index at which the `key` is found in `array` of key-value pairs. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} key The key to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + */ +function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (eq(array[length][0], key)) { + return length; + } + } + return -1; +} + +/** + * The base implementation of `_.isNative` without bad shim checks. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + */ +function baseIsNative(value) { + if (!isObject(value) || isMasked(value)) { + return false; + } + var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor; + return pattern.test(toSource(value)); +} + +/** + * The base implementation of `_.uniqBy` without support for iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new duplicate free array. + */ +function baseUniq(array, iteratee, comparator) { + var index = -1, + includes = arrayIncludes, + length = array.length, + isCommon = true, + result = [], + seen = result; + + if (comparator) { + isCommon = false; + includes = arrayIncludesWith; + } + else if (length >= LARGE_ARRAY_SIZE) { + var set = iteratee ? null : createSet(array); + if (set) { + return setToArray(set); + } + isCommon = false; + includes = cacheHas; + seen = new SetCache; + } + else { + seen = iteratee ? [] : result; + } + outer: + while (++index < length) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; + + value = (comparator || value !== 0) ? value : 0; + if (isCommon && computed === computed) { + var seenIndex = seen.length; + while (seenIndex--) { + if (seen[seenIndex] === computed) { + continue outer; + } + } + if (iteratee) { + seen.push(computed); + } + result.push(value); + } + else if (!includes(seen, computed, comparator)) { + if (seen !== result) { + seen.push(computed); + } + result.push(value); + } + } + return result; +} + +/** + * Creates a set object of `values`. + * + * @private + * @param {Array} values The values to add to the set. + * @returns {Object} Returns the new set. + */ +var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { + return new Set(values); +}; + +/** + * Gets the data for `map`. + * + * @private + * @param {Object} map The map to query. + * @param {string} key The reference key. + * @returns {*} Returns the map data. + */ +function getMapData(map, key) { + var data = map.__data__; + return isKeyable(key) + ? data[typeof key == 'string' ? 'string' : 'hash'] + : data.map; +} + +/** + * Gets the native function at `key` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the method to get. + * @returns {*} Returns the function if it's native, else `undefined`. + */ +function getNative(object, key) { + var value = getValue(object, key); + return baseIsNative(value) ? value : undefined; +} + +/** + * Checks if `value` is suitable for use as unique object key. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + */ +function isKeyable(value) { + var type = typeof value; + return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') + ? (value !== '__proto__') + : (value === null); +} + +/** + * Checks if `func` has its source masked. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` is masked, else `false`. + */ +function isMasked(func) { + return !!maskSrcKey && (maskSrcKey in func); +} + +/** + * Converts `func` to its source code. + * + * @private + * @param {Function} func The function to process. + * @returns {string} Returns the source code. + */ +function toSource(func) { + if (func != null) { + try { + return funcToString.call(func); + } catch (e) {} + try { + return (func + ''); + } catch (e) {} + } + return ''; +} + +/** + * Creates a duplicate-free version of an array, using + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons, in which only the first occurrence of each + * element is kept. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @returns {Array} Returns the new duplicate free array. + * @example + * + * _.uniq([2, 1, 2]); + * // => [2, 1] + */ +function uniq(array) { + return (array && array.length) + ? baseUniq(array) + : []; +} + +/** + * Performs a + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'a': 1 }; + * var other = { 'a': 1 }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ +function eq(value, other) { + return value === other || (value !== value && other !== other); +} + +/** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ +function isFunction(value) { + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 8-9 which returns 'object' for typed array and other constructors. + var tag = isObject(value) ? objectToString.call(value) : ''; + return tag == funcTag || tag == genTag; +} + +/** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ +function isObject(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); +} + +/** + * This method returns `undefined`. + * + * @static + * @memberOf _ + * @since 2.3.0 + * @category Util + * @example + * + * _.times(2, _.noop); + * // => [undefined, undefined] + */ +function noop() { + // No operation performed. +} + +module.exports = uniq; + + +/***/ }), + +/***/ 145: +/***/ (function(module, __unusedexports, __webpack_require__) { + +"use strict"; + +const pump = __webpack_require__(5453); +const bufferStream = __webpack_require__(4966); + +class MaxBufferError extends Error { + constructor() { + super('maxBuffer exceeded'); + this.name = 'MaxBufferError'; + } +} + +function getStream(inputStream, options) { + if (!inputStream) { + return Promise.reject(new Error('Expected a stream')); + } + + options = Object.assign({maxBuffer: Infinity}, options); + + const {maxBuffer} = options; + + let stream; + return new Promise((resolve, reject) => { + const rejectPromise = error => { + if (error) { // A null check + error.bufferedData = stream.getBufferedValue(); + } + reject(error); + }; + + stream = pump(inputStream, bufferStream(options), error => { + if (error) { + rejectPromise(error); + return; + } + + resolve(); + }); + + stream.on('data', () => { + if (stream.getBufferedLength() > maxBuffer) { + rejectPromise(new MaxBufferError()); + } + }); + }).then(() => stream.getBufferedValue()); +} + +module.exports = getStream; +module.exports.buffer = (stream, options) => getStream(stream, Object.assign({}, options, {encoding: 'buffer'})); +module.exports.array = (stream, options) => getStream(stream, Object.assign({}, options, {array: true})); +module.exports.MaxBufferError = MaxBufferError; + + +/***/ }), + +/***/ 153: +/***/ (function(module, __unusedexports, __webpack_require__) { + +/* eslint guard-for-in:0 */ +var AWS; + +/** + * A set of utility methods for use with the AWS SDK. + * + * @!attribute abort + * Return this value from an iterator function {each} or {arrayEach} + * to break out of the iteration. + * @example Breaking out of an iterator function + * AWS.util.each({a: 1, b: 2, c: 3}, function(key, value) { + * if (key == 'b') return AWS.util.abort; + * }); + * @see each + * @see arrayEach + * @api private + */ +var util = { + environment: 'nodejs', + engine: function engine() { + if (util.isBrowser() && typeof navigator !== 'undefined') { + return navigator.userAgent; + } else { + var engine = process.platform + '/' + process.version; + if (process.env.AWS_EXECUTION_ENV) { + engine += ' exec-env/' + process.env.AWS_EXECUTION_ENV; + } + return engine; + } + }, + + userAgent: function userAgent() { + var name = util.environment; + var agent = 'aws-sdk-' + name + '/' + __webpack_require__(395).VERSION; + if (name === 'nodejs') agent += ' ' + util.engine(); + return agent; + }, + + uriEscape: function uriEscape(string) { + var output = encodeURIComponent(string); + output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape); + + // AWS percent-encodes some extra non-standard characters in a URI + output = output.replace(/[*]/g, function(ch) { + return '%' + ch.charCodeAt(0).toString(16).toUpperCase(); + }); + + return output; + }, + + uriEscapePath: function uriEscapePath(string) { + var parts = []; + util.arrayEach(string.split('/'), function (part) { + parts.push(util.uriEscape(part)); + }); + return parts.join('/'); + }, + + urlParse: function urlParse(url) { + return util.url.parse(url); + }, + + urlFormat: function urlFormat(url) { + return util.url.format(url); + }, + + queryStringParse: function queryStringParse(qs) { + return util.querystring.parse(qs); + }, + + queryParamsToString: function queryParamsToString(params) { + var items = []; + var escape = util.uriEscape; + var sortedKeys = Object.keys(params).sort(); + + util.arrayEach(sortedKeys, function(name) { + var value = params[name]; + var ename = escape(name); + var result = ename + '='; + if (Array.isArray(value)) { + var vals = []; + util.arrayEach(value, function(item) { vals.push(escape(item)); }); + result = ename + '=' + vals.sort().join('&' + ename + '='); + } else if (value !== undefined && value !== null) { + result = ename + '=' + escape(value); + } + items.push(result); + }); + + return items.join('&'); + }, + + readFileSync: function readFileSync(path) { + if (util.isBrowser()) return null; + return __webpack_require__(5747).readFileSync(path, 'utf-8'); + }, + + base64: { + encode: function encode64(string) { + if (typeof string === 'number') { + throw util.error(new Error('Cannot base64 encode number ' + string)); + } + if (string === null || typeof string === 'undefined') { + return string; + } + var buf = util.buffer.toBuffer(string); + return buf.toString('base64'); + }, + + decode: function decode64(string) { + if (typeof string === 'number') { + throw util.error(new Error('Cannot base64 decode number ' + string)); + } + if (string === null || typeof string === 'undefined') { + return string; + } + return util.buffer.toBuffer(string, 'base64'); + } + + }, + + buffer: { + /** + * Buffer constructor for Node buffer and buffer pollyfill + */ + toBuffer: function(data, encoding) { + return (typeof util.Buffer.from === 'function' && util.Buffer.from !== Uint8Array.from) ? + util.Buffer.from(data, encoding) : new util.Buffer(data, encoding); + }, + + alloc: function(size, fill, encoding) { + if (typeof size !== 'number') { + throw new Error('size passed to alloc must be a number.'); + } + if (typeof util.Buffer.alloc === 'function') { + return util.Buffer.alloc(size, fill, encoding); + } else { + var buf = new util.Buffer(size); + if (fill !== undefined && typeof buf.fill === 'function') { + buf.fill(fill, undefined, undefined, encoding); } + return buf; } + }, - /** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ - function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - } + toStream: function toStream(buffer) { + if (!util.Buffer.isBuffer(buffer)) buffer = util.buffer.toBuffer(buffer); - /** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function hashDelete(key) { - return this.has(key) && delete this.__data__[key]; - } + var readable = new (util.stream.Readable)(); + var pos = 0; + readable._read = function(size) { + if (pos >= buffer.length) return readable.push(null); - /** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; - } + var end = pos + size; + if (end > buffer.length) end = buffer.length; + readable.push(buffer.slice(pos, end)); + pos = end; + }; - /** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function hashHas(key) { - var data = this.__data__; - return nativeCreate - ? data[key] !== undefined - : hasOwnProperty.call(data, key); - } + return readable; + }, - /** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ - function hashSet(key, value) { - var data = this.__data__; - data[key] = - nativeCreate && value === undefined ? HASH_UNDEFINED : value; - return this; - } + /** + * Concatenates a list of Buffer objects. + */ + concat: function(buffers) { + var length = 0, + offset = 0, + buffer = null, i; - // Add methods to `Hash`. - Hash.prototype.clear = hashClear; - Hash.prototype["delete"] = hashDelete; - Hash.prototype.get = hashGet; - Hash.prototype.has = hashHas; - Hash.prototype.set = hashSet; - - /** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function ListCache(entries) { - var index = -1, - length = entries ? entries.length : 0; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } + for (i = 0; i < buffers.length; i++) { + length += buffers[i].length; } - /** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ - function listCacheClear() { - this.__data__ = []; - } + buffer = util.buffer.alloc(length); - /** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - return true; + for (i = 0; i < buffers.length; i++) { + buffers[i].copy(buffer, offset); + offset += buffers[i].length; } - /** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; - } + return buffer; + } + }, - /** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; - } + string: { + byteLength: function byteLength(string) { + if (string === null || string === undefined) return 0; + if (typeof string === 'string') string = util.buffer.toBuffer(string); - /** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ - function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; + if (typeof string.byteLength === 'number') { + return string.byteLength; + } else if (typeof string.length === 'number') { + return string.length; + } else if (typeof string.size === 'number') { + return string.size; + } else if (typeof string.path === 'string') { + return __webpack_require__(5747).lstatSync(string.path).size; + } else { + throw util.error(new Error('Cannot determine length of ' + string), + { object: string }); } + }, - // Add methods to `ListCache`. - ListCache.prototype.clear = listCacheClear; - ListCache.prototype["delete"] = listCacheDelete; - ListCache.prototype.get = listCacheGet; - ListCache.prototype.has = listCacheHas; - ListCache.prototype.set = listCacheSet; - - /** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function MapCache(entries) { - var index = -1, - length = entries ? entries.length : 0; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } + upperFirst: function upperFirst(string) { + return string[0].toUpperCase() + string.substr(1); + }, - /** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ - function mapCacheClear() { - this.__data__ = { - hash: new Hash(), - map: new (Map || ListCache)(), - string: new Hash(), - }; - } + lowerFirst: function lowerFirst(string) { + return string[0].toLowerCase() + string.substr(1); + } + }, - /** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function mapCacheDelete(key) { - return getMapData(this, key)["delete"](key); - } + ini: { + parse: function string(ini) { + var currentSection, map = {}; + util.arrayEach(ini.split(/\r?\n/), function(line) { + line = line.split(/(^|\s)[;#]/)[0]; // remove comments + var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/); + if (section) { + currentSection = section[1]; + if (currentSection === '__proto__' || currentSection.split(/\s/)[1] === '__proto__') { + throw util.error( + new Error('Cannot load profile name \'' + currentSection + '\' from shared ini file.') + ); + } + } else if (currentSection) { + var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/); + if (item) { + map[currentSection] = map[currentSection] || {}; + map[currentSection][item[1]] = item[2]; + } + } + }); - /** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function mapCacheGet(key) { - return getMapData(this, key).get(key); - } + return map; + } + }, - /** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function mapCacheHas(key) { - return getMapData(this, key).has(key); - } + fn: { + noop: function() {}, + callback: function (err) { if (err) throw err; }, - /** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ - function mapCacheSet(key, value) { - getMapData(this, key).set(key, value); - return this; + /** + * Turn a synchronous function into as "async" function by making it call + * a callback. The underlying function is called with all but the last argument, + * which is treated as the callback. The callback is passed passed a first argument + * of null on success to mimick standard node callbacks. + */ + makeAsync: function makeAsync(fn, expectedArgs) { + if (expectedArgs && expectedArgs <= fn.length) { + return fn; + } + + return function() { + var args = Array.prototype.slice.call(arguments, 0); + var callback = args.pop(); + var result = fn.apply(null, args); + callback(result); + }; + } + }, + + /** + * Date and time utility functions. + */ + date: { + + /** + * @return [Date] the current JavaScript date object. Since all + * AWS services rely on this date object, you can override + * this function to provide a special time value to AWS service + * requests. + */ + getDate: function getDate() { + if (!AWS) AWS = __webpack_require__(395); + if (AWS.config.systemClockOffset) { // use offset when non-zero + return new Date(new Date().getTime() + AWS.config.systemClockOffset); + } else { + return new Date(); } + }, - // Add methods to `MapCache`. - MapCache.prototype.clear = mapCacheClear; - MapCache.prototype["delete"] = mapCacheDelete; - MapCache.prototype.get = mapCacheGet; - MapCache.prototype.has = mapCacheHas; - MapCache.prototype.set = mapCacheSet; - - /** - * - * Creates an array cache object to store unique values. - * - * @private - * @constructor - * @param {Array} [values] The values to cache. - */ - function SetCache(values) { - var index = -1, - length = values ? values.length : 0; - - this.__data__ = new MapCache(); - while (++index < length) { - this.add(values[index]); - } - } + /** + * @return [String] the date in ISO-8601 format + */ + iso8601: function iso8601(date) { + if (date === undefined) { date = util.date.getDate(); } + return date.toISOString().replace(/\.\d{3}Z$/, 'Z'); + }, - /** - * Adds `value` to the array cache. - * - * @private - * @name add - * @memberOf SetCache - * @alias push - * @param {*} value The value to cache. - * @returns {Object} Returns the cache instance. - */ - function setCacheAdd(value) { - this.__data__.set(value, HASH_UNDEFINED); - return this; - } + /** + * @return [String] the date in RFC 822 format + */ + rfc822: function rfc822(date) { + if (date === undefined) { date = util.date.getDate(); } + return date.toUTCString(); + }, + + /** + * @return [Integer] the UNIX timestamp value for the current time + */ + unixTimestamp: function unixTimestamp(date) { + if (date === undefined) { date = util.date.getDate(); } + return date.getTime() / 1000; + }, - /** - * Checks if `value` is in the array cache. - * - * @private - * @name has - * @memberOf SetCache - * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. - */ - function setCacheHas(value) { - return this.__data__.has(value); + /** + * @param [String,number,Date] date + * @return [Date] + */ + from: function format(date) { + if (typeof date === 'number') { + return new Date(date * 1000); // unix timestamp + } else { + return new Date(date); } + }, - // Add methods to `SetCache`. - SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; - SetCache.prototype.has = setCacheHas; - - /** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; + /** + * Given a Date or date-like value, this function formats the + * date into a string of the requested value. + * @param [String,number,Date] date + * @param [String] formatter Valid formats are: + # * 'iso8601' + # * 'rfc822' + # * 'unixTimestamp' + * @return [String] + */ + format: function format(date, formatter) { + if (!formatter) formatter = 'iso8601'; + return util.date[formatter](util.date.from(date)); + }, + + parseTimestamp: function parseTimestamp(value) { + if (typeof value === 'number') { // unix timestamp (number) + return new Date(value * 1000); + } else if (value.match(/^\d+$/)) { // unix timestamp + return new Date(value * 1000); + } else if (value.match(/^\d{4}/)) { // iso8601 + return new Date(value); + } else if (value.match(/^\w{3},/)) { // rfc822 + return new Date(value); + } else { + throw util.error( + new Error('unhandled timestamp format: ' + value), + {code: 'TimestampParserError'}); + } + } + + }, + + crypto: { + crc32Table: [ + 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, + 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, + 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, + 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, + 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856, + 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, + 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, + 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, + 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, + 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A, + 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, + 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, + 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, + 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, + 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E, + 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, + 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, + 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950, + 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, + 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, + 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, + 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, + 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010, + 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, + 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, + 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, + 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, + 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, + 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344, + 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, + 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, + 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, + 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, + 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C, + 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, + 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, + 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, + 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, + 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C, + 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, + 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, + 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242, + 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, + 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, + 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278, + 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, + 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, + 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, + 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, + 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, + 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, + 0x2D02EF8D], + + crc32: function crc32(data) { + var tbl = util.crypto.crc32Table; + var crc = 0 ^ -1; + + if (typeof data === 'string') { + data = util.buffer.toBuffer(data); + } + + for (var i = 0; i < data.length; i++) { + var code = data.readUInt8(i); + crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xFF]; + } + return (crc ^ -1) >>> 0; + }, + + hmac: function hmac(key, string, digest, fn) { + if (!digest) digest = 'binary'; + if (digest === 'buffer') { digest = undefined; } + if (!fn) fn = 'sha256'; + if (typeof string === 'string') string = util.buffer.toBuffer(string); + return util.crypto.lib.createHmac(fn, key).update(string).digest(digest); + }, + + md5: function md5(data, digest, callback) { + return util.crypto.hash('md5', data, digest, callback); + }, + + sha256: function sha256(data, digest, callback) { + return util.crypto.hash('sha256', data, digest, callback); + }, + + hash: function(algorithm, data, digest, callback) { + var hash = util.crypto.createHash(algorithm); + if (!digest) { digest = 'binary'; } + if (digest === 'buffer') { digest = undefined; } + if (typeof data === 'string') data = util.buffer.toBuffer(data); + var sliceFn = util.arraySliceFn(data); + var isBuffer = util.Buffer.isBuffer(data); + //Identifying objects with an ArrayBuffer as buffers + if (util.isBrowser() && typeof ArrayBuffer !== 'undefined' && data && data.buffer instanceof ArrayBuffer) isBuffer = true; + + if (callback && typeof data === 'object' && + typeof data.on === 'function' && !isBuffer) { + data.on('data', function(chunk) { hash.update(chunk); }); + data.on('error', function(err) { callback(err); }); + data.on('end', function() { callback(null, hash.digest(digest)); }); + } else if (callback && sliceFn && !isBuffer && + typeof FileReader !== 'undefined') { + // this might be a File/Blob + var index = 0, size = 1024 * 512; + var reader = new FileReader(); + reader.onerror = function() { + callback(new Error('Failed to read data.')); + }; + reader.onload = function() { + var buf = new util.Buffer(new Uint8Array(reader.result)); + hash.update(buf); + index += buf.length; + reader._continueReading(); + }; + reader._continueReading = function() { + if (index >= data.size) { + callback(null, hash.digest(digest)); + return; } - } - return -1; - } - /** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ - function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; + var back = index + size; + if (back > data.size) back = data.size; + reader.readAsArrayBuffer(sliceFn.call(data, index, back)); + }; + + reader._continueReading(); + } else { + if (util.isBrowser() && typeof data === 'object' && !isBuffer) { + data = new util.Buffer(new Uint8Array(data)); } - var pattern = - isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); + var out = hash.update(data).digest(digest); + if (callback) callback(null, out); + return out; } + }, - /** - * The base implementation of `_.uniqBy` without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ - function baseUniq(array, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - length = array.length, - isCommon = true, - result = [], - seen = result; - - if (comparator) { - isCommon = false; - includes = arrayIncludesWith; - } else if (length >= LARGE_ARRAY_SIZE) { - var set = iteratee ? null : createSet(array); - if (set) { - return setToArray(set); - } - isCommon = false; - includes = cacheHas; - seen = new SetCache(); - } else { - seen = iteratee ? [] : result; - } - outer: while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - - value = comparator || value !== 0 ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); - } - } - return result; + toHex: function toHex(data) { + var out = []; + for (var i = 0; i < data.length; i++) { + out.push(('0' + data.charCodeAt(i).toString(16)).substr(-2, 2)); } + return out.join(''); + }, - /** - * Creates a set object of `values`. - * - * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. - */ - var createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == INFINITY) - ? noop - : function (values) { - return new Set(values); - }; + createHash: function createHash(algorithm) { + return util.crypto.lib.createHash(algorithm); + } - /** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ - function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == "string" ? "string" : "hash"] - : data.map; - } + }, - /** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ - function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; - } + /** @!ignore */ - /** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ - function isKeyable(value) { - var type = typeof value; - return type == "string" || - type == "number" || - type == "symbol" || - type == "boolean" - ? value !== "__proto__" - : value === null; - } + /* Abort constant */ + abort: {}, - /** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ - function isMasked(func) { - return !!maskSrcKey && maskSrcKey in func; + each: function each(object, iterFunction) { + for (var key in object) { + if (Object.prototype.hasOwnProperty.call(object, key)) { + var ret = iterFunction.call(this, key, object[key]); + if (ret === util.abort) break; } + } + }, - /** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to process. - * @returns {string} Returns the source code. - */ - function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return func + ""; - } catch (e) {} - } - return ""; + arrayEach: function arrayEach(array, iterFunction) { + for (var idx in array) { + if (Object.prototype.hasOwnProperty.call(array, idx)) { + var ret = iterFunction.call(this, array[idx], parseInt(idx, 10)); + if (ret === util.abort) break; } + } + }, - /** - * Creates a duplicate-free version of an array, using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons, in which only the first occurrence of each - * element is kept. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniq([2, 1, 2]); - * // => [2, 1] - */ - function uniq(array) { - return array && array.length ? baseUniq(array) : []; - } + update: function update(obj1, obj2) { + util.each(obj2, function iterator(key, item) { + obj1[key] = item; + }); + return obj1; + }, - /** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - function eq(value, other) { - return value === other || (value !== value && other !== other); - } + merge: function merge(obj1, obj2) { + return util.update(util.copy(obj1), obj2); + }, - /** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ - function isFunction(value) { - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 8-9 which returns 'object' for typed array and other constructors. - var tag = isObject(value) ? objectToString.call(value) : ""; - return tag == funcTag || tag == genTag; - } + copy: function copy(object) { + if (object === null || object === undefined) return object; + var dupe = {}; + // jshint forin:false + for (var key in object) { + dupe[key] = object[key]; + } + return dupe; + }, - /** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ - function isObject(value) { - var type = typeof value; - return !!value && (type == "object" || type == "function"); + isEmpty: function isEmpty(obj) { + for (var prop in obj) { + if (Object.prototype.hasOwnProperty.call(obj, prop)) { + return false; } - - /** - * This method returns `undefined`. - * - * @static - * @memberOf _ - * @since 2.3.0 - * @category Util - * @example - * - * _.times(2, _.noop); - * // => [undefined, undefined] - */ - function noop() { - // No operation performed. + } + return true; + }, + + arraySliceFn: function arraySliceFn(obj) { + var fn = obj.slice || obj.webkitSlice || obj.mozSlice; + return typeof fn === 'function' ? fn : null; + }, + + isType: function isType(obj, type) { + // handle cross-"frame" objects + if (typeof type === 'function') type = util.typeName(type); + return Object.prototype.toString.call(obj) === '[object ' + type + ']'; + }, + + typeName: function typeName(type) { + if (Object.prototype.hasOwnProperty.call(type, 'name')) return type.name; + var str = type.toString(); + var match = str.match(/^\s*function (.+)\(/); + return match ? match[1] : str; + }, + + error: function error(err, options) { + var originalError = null; + if (typeof err.message === 'string' && err.message !== '') { + if (typeof options === 'string' || (options && options.message)) { + originalError = util.copy(err); + originalError.message = err.message; + } + } + err.message = err.message || null; + + if (typeof options === 'string') { + err.message = options; + } else if (typeof options === 'object' && options !== null) { + util.update(err, options); + if (options.message) + err.message = options.message; + if (options.code || options.name) + err.code = options.code || options.name; + if (options.stack) + err.stack = options.stack; + } + + if (typeof Object.defineProperty === 'function') { + Object.defineProperty(err, 'name', {writable: true, enumerable: false}); + Object.defineProperty(err, 'message', {enumerable: true}); + } + + err.name = String(options && options.name || err.name || err.code || 'Error'); + err.time = new Date(); + + if (originalError) err.originalError = originalError; + + return err; + }, + + /** + * @api private + */ + inherit: function inherit(klass, features) { + var newObject = null; + if (features === undefined) { + features = klass; + klass = Object; + newObject = {}; + } else { + var ctor = function ConstructorWrapper() {}; + ctor.prototype = klass.prototype; + newObject = new ctor(); + } + + // constructor not supplied, create pass-through ctor + if (features.constructor === Object) { + features.constructor = function() { + if (klass !== Object) { + return klass.apply(this, arguments); + } + }; + } + + features.constructor.prototype = newObject; + util.update(features.constructor.prototype, features); + features.constructor.__super__ = klass; + return features.constructor; + }, + + /** + * @api private + */ + mixin: function mixin() { + var klass = arguments[0]; + for (var i = 1; i < arguments.length; i++) { + // jshint forin:false + for (var prop in arguments[i].prototype) { + var fn = arguments[i].prototype[prop]; + if (prop !== 'constructor') { + klass.prototype[prop] = fn; + } + } + } + return klass; + }, + + /** + * @api private + */ + hideProperties: function hideProperties(obj, props) { + if (typeof Object.defineProperty !== 'function') return; + + util.arrayEach(props, function (key) { + Object.defineProperty(obj, key, { + enumerable: false, writable: true, configurable: true }); + }); + }, + + /** + * @api private + */ + property: function property(obj, name, value, enumerable, isValue) { + var opts = { + configurable: true, + enumerable: enumerable !== undefined ? enumerable : true + }; + if (typeof value === 'function' && !isValue) { + opts.get = value; + } + else { + opts.value = value; opts.writable = true; + } + + Object.defineProperty(obj, name, opts); + }, + + /** + * @api private + */ + memoizedProperty: function memoizedProperty(obj, name, get, enumerable) { + var cachedValue = null; + + // build enumerable attribute for each value with lazy accessor. + util.property(obj, name, function() { + if (cachedValue === null) { + cachedValue = get(); + } + return cachedValue; + }, enumerable); + }, + + /** + * TODO Remove in major version revision + * This backfill populates response data without the + * top-level payload name. + * + * @api private + */ + hoistPayloadMember: function hoistPayloadMember(resp) { + var req = resp.request; + var operationName = req.operation; + var operation = req.service.api.operations[operationName]; + var output = operation.output; + if (output.payload && !operation.hasEventOutput) { + var payloadMember = output.members[output.payload]; + var responsePayload = resp.data[output.payload]; + if (payloadMember.type === 'structure') { + util.each(responsePayload, function(key, value) { + util.property(resp.data, key, value, false); + }); + } + } + }, + + /** + * Compute SHA-256 checksums of streams + * + * @api private + */ + computeSha256: function computeSha256(body, done) { + if (util.isNode()) { + var Stream = util.stream.Stream; + var fs = __webpack_require__(5747); + if (typeof Stream === 'function' && body instanceof Stream) { + if (typeof body.path === 'string') { // assume file object + var settings = {}; + if (typeof body.start === 'number') { + settings.start = body.start; + } + if (typeof body.end === 'number') { + settings.end = body.end; + } + body = fs.createReadStream(body.path, settings); + } else { // TODO support other stream types + return done(new Error('Non-file stream objects are ' + + 'not supported with SigV4')); + } + } + } + + util.crypto.sha256(body, 'hex', function(err, sha) { + if (err) done(err); + else done(null, sha); + }); + }, + + /** + * @api private + */ + isClockSkewed: function isClockSkewed(serverTime) { + if (serverTime) { + util.property(AWS.config, 'isClockSkewed', + Math.abs(new Date().getTime() - serverTime) >= 300000, false); + return AWS.config.isClockSkewed; + } + }, + + applyClockOffset: function applyClockOffset(serverTime) { + if (serverTime) + AWS.config.systemClockOffset = serverTime - new Date().getTime(); + }, + + /** + * @api private + */ + extractRequestId: function extractRequestId(resp) { + var requestId = resp.httpResponse.headers['x-amz-request-id'] || + resp.httpResponse.headers['x-amzn-requestid']; + + if (!requestId && resp.data && resp.data.ResponseMetadata) { + requestId = resp.data.ResponseMetadata.RequestId; + } + + if (requestId) { + resp.requestId = requestId; + } + + if (resp.error) { + resp.error.requestId = requestId; + } + }, + + /** + * @api private + */ + addPromises: function addPromises(constructors, PromiseDependency) { + var deletePromises = false; + if (PromiseDependency === undefined && AWS && AWS.config) { + PromiseDependency = AWS.config.getPromisesDependency(); + } + if (PromiseDependency === undefined && typeof Promise !== 'undefined') { + PromiseDependency = Promise; + } + if (typeof PromiseDependency !== 'function') deletePromises = true; + if (!Array.isArray(constructors)) constructors = [constructors]; + + for (var ind = 0; ind < constructors.length; ind++) { + var constructor = constructors[ind]; + if (deletePromises) { + if (constructor.deletePromisesFromClass) { + constructor.deletePromisesFromClass(); + } + } else if (constructor.addPromisesToClass) { + constructor.addPromisesToClass(PromiseDependency); + } + } + }, + + /** + * @api private + * Return a function that will return a promise whose fate is decided by the + * callback behavior of the given method with `methodName`. The method to be + * promisified should conform to node.js convention of accepting a callback as + * last argument and calling that callback with error as the first argument + * and success value on the second argument. + */ + promisifyMethod: function promisifyMethod(methodName, PromiseDependency) { + return function promise() { + var self = this; + var args = Array.prototype.slice.call(arguments); + return new PromiseDependency(function(resolve, reject) { + args.push(function(err, data) { + if (err) { + reject(err); + } else { + resolve(data); + } + }); + self[methodName].apply(self, args); + }); + }; + }, + + /** + * @api private + */ + isDualstackAvailable: function isDualstackAvailable(service) { + if (!service) return false; + var metadata = __webpack_require__(1694); + if (typeof service !== 'string') service = service.serviceIdentifier; + if (typeof service !== 'string' || !metadata.hasOwnProperty(service)) return false; + return !!metadata[service].dualstackAvailable; + }, + + /** + * @api private + */ + calculateRetryDelay: function calculateRetryDelay(retryCount, retryDelayOptions, err) { + if (!retryDelayOptions) retryDelayOptions = {}; + var customBackoff = retryDelayOptions.customBackoff || null; + if (typeof customBackoff === 'function') { + return customBackoff(retryCount, err); + } + var base = typeof retryDelayOptions.base === 'number' ? retryDelayOptions.base : 100; + var delay = Math.random() * (Math.pow(2, retryCount) * base); + return delay; + }, + + /** + * @api private + */ + handleRequestWithRetries: function handleRequestWithRetries(httpRequest, options, cb) { + if (!options) options = {}; + var http = AWS.HttpClient.getInstance(); + var httpOptions = options.httpOptions || {}; + var retryCount = 0; + + var errCallback = function(err) { + var maxRetries = options.maxRetries || 0; + if (err && err.code === 'TimeoutError') err.retryable = true; + + // Call `calculateRetryDelay()` only when relevant, see #3401 + if (err && err.retryable && retryCount < maxRetries) { + var delay = util.calculateRetryDelay(retryCount, options.retryDelayOptions, err); + if (delay >= 0) { + retryCount++; + setTimeout(sendRequest, delay + (err.retryAfter || 0)); + return; + } } + cb(err); + }; - module.exports = uniq; + var sendRequest = function() { + var data = ''; + http.handleRequest(httpRequest, httpOptions, function(httpResponse) { + httpResponse.on('data', function(chunk) { data += chunk.toString(); }); + httpResponse.on('end', function() { + var statusCode = httpResponse.statusCode; + if (statusCode < 300) { + cb(null, data); + } else { + var retryAfter = parseInt(httpResponse.headers['retry-after'], 10) * 1000 || 0; + var err = util.error(new Error(), + { + statusCode: statusCode, + retryable: statusCode >= 500 || statusCode === 429 + } + ); + if (retryAfter && err.retryable) err.retryAfter = retryAfter; + errCallback(err); + } + }); + }, errCallback); + }; + + AWS.util.defer(sendRequest); + }, + + /** + * @api private + */ + uuid: { + v4: function uuidV4() { + return __webpack_require__(3158).v4(); + } + }, + + /** + * @api private + */ + convertPayloadToString: function convertPayloadToString(resp) { + var req = resp.request; + var operation = req.operation; + var rules = req.service.api.operations[operation].output || {}; + if (rules.payload && resp.data[rules.payload]) { + resp.data[rules.payload] = resp.data[rules.payload].toString(); + } + }, + + /** + * @api private + */ + defer: function defer(callback) { + if (typeof process === 'object' && typeof process.nextTick === 'function') { + process.nextTick(callback); + } else if (typeof setImmediate === 'function') { + setImmediate(callback); + } else { + setTimeout(callback, 0); + } + }, + + /** + * @api private + */ + getRequestPayloadShape: function getRequestPayloadShape(req) { + var operations = req.service.api.operations; + if (!operations) return undefined; + var operation = (operations || {})[req.operation]; + if (!operation || !operation.input || !operation.input.payload) return undefined; + return operation.input.members[operation.input.payload]; + }, + + getProfilesFromSharedConfig: function getProfilesFromSharedConfig(iniLoader, filename) { + var profiles = {}; + var profilesFromConfig = {}; + if (process.env[util.configOptInEnv]) { + var profilesFromConfig = iniLoader.loadFrom({ + isConfig: true, + filename: process.env[util.sharedConfigFileEnv] + }); + } + var profilesFromCreds= {}; + try { + var profilesFromCreds = iniLoader.loadFrom({ + filename: filename || + (process.env[util.configOptInEnv] && process.env[util.sharedCredentialsFileEnv]) + }); + } catch (error) { + // if using config, assume it is fully descriptive without a credentials file: + if (!process.env[util.configOptInEnv]) throw error; + } + for (var i = 0, profileNames = Object.keys(profilesFromConfig); i < profileNames.length; i++) { + profiles[profileNames[i]] = objectAssign(profiles[profileNames[i]] || {}, profilesFromConfig[profileNames[i]]); + } + for (var i = 0, profileNames = Object.keys(profilesFromCreds); i < profileNames.length; i++) { + profiles[profileNames[i]] = objectAssign(profiles[profileNames[i]] || {}, profilesFromCreds[profileNames[i]]); + } + return profiles; + + /** + * Roughly the semantics of `Object.assign(target, source)` + */ + function objectAssign(target, source) { + for (var i = 0, keys = Object.keys(source); i < keys.length; i++) { + target[keys[i]] = source[keys[i]]; + } + return target; + } + }, + + /** + * @api private + */ + ARN: { + validate: function validateARN(str) { + return str && str.indexOf('arn:') === 0 && str.split(':').length >= 6; + }, + parse: function parseARN(arn) { + var matched = arn.split(':'); + return { + partition: matched[1], + service: matched[2], + region: matched[3], + accountId: matched[4], + resource: matched.slice(5).join(':') + }; + }, + build: function buildARN(arnObject) { + if ( + arnObject.service === undefined || + arnObject.region === undefined || + arnObject.accountId === undefined || + arnObject.resource === undefined + ) throw util.error(new Error('Input ARN object is invalid')); + return 'arn:'+ (arnObject.partition || 'aws') + ':' + arnObject.service + + ':' + arnObject.region + ':' + arnObject.accountId + ':' + arnObject.resource; + } + }, - /***/ - }, + /** + * @api private + */ + defaultProfile: 'default', - /***/ 145: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; + /** + * @api private + */ + configOptInEnv: 'AWS_SDK_LOAD_CONFIG', + + /** + * @api private + */ + sharedCredentialsFileEnv: 'AWS_SHARED_CREDENTIALS_FILE', + + /** + * @api private + */ + sharedConfigFileEnv: 'AWS_CONFIG_FILE', + + /** + * @api private + */ + imdsDisabledEnv: 'AWS_EC2_METADATA_DISABLED' +}; - const pump = __webpack_require__(5453); - const bufferStream = __webpack_require__(4966); +/** + * @api private + */ +module.exports = util; - class MaxBufferError extends Error { - constructor() { - super("maxBuffer exceeded"); - this.name = "MaxBufferError"; - } - } - function getStream(inputStream, options) { - if (!inputStream) { - return Promise.reject(new Error("Expected a stream")); - } +/***/ }), + +/***/ 155: +/***/ (function(module) { + +module.exports = {"version":2,"waiters":{"DistributionDeployed":{"delay":60,"operation":"GetDistribution","maxAttempts":25,"description":"Wait until a distribution is deployed.","acceptors":[{"expected":"Deployed","matcher":"path","state":"success","argument":"Distribution.Status"}]},"InvalidationCompleted":{"delay":20,"operation":"GetInvalidation","maxAttempts":30,"description":"Wait until an invalidation has completed.","acceptors":[{"expected":"Completed","matcher":"path","state":"success","argument":"Invalidation.Status"}]},"StreamingDistributionDeployed":{"delay":60,"operation":"GetStreamingDistribution","maxAttempts":25,"description":"Wait until a streaming distribution is deployed.","acceptors":[{"expected":"Deployed","matcher":"path","state":"success","argument":"StreamingDistribution.Status"}]}}}; + +/***/ }), + +/***/ 160: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - options = Object.assign({ maxBuffer: Infinity }, options); +apiLoader.services['dlm'] = {}; +AWS.DLM = Service.defineService('dlm', ['2018-01-12']); +Object.defineProperty(apiLoader.services['dlm'], '2018-01-12', { + get: function get() { + var model = __webpack_require__(1890); + model.paginators = __webpack_require__(9459).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - const { maxBuffer } = options; +module.exports = AWS.DLM; - let stream; - return new Promise((resolve, reject) => { - const rejectPromise = (error) => { - if (error) { - // A null check - error.bufferedData = stream.getBufferedValue(); - } - reject(error); - }; - stream = pump(inputStream, bufferStream(options), (error) => { - if (error) { - rejectPromise(error); - return; - } +/***/ }), - resolve(); - }); +/***/ 170: +/***/ (function(module, __unusedexports, __webpack_require__) { - stream.on("data", () => { - if (stream.getBufferedLength() > maxBuffer) { - rejectPromise(new MaxBufferError()); - } - }); - }).then(() => stream.getBufferedValue()); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - module.exports = getStream; - module.exports.buffer = (stream, options) => - getStream(stream, Object.assign({}, options, { encoding: "buffer" })); - module.exports.array = (stream, options) => - getStream(stream, Object.assign({}, options, { array: true })); - module.exports.MaxBufferError = MaxBufferError; +apiLoader.services['applicationautoscaling'] = {}; +AWS.ApplicationAutoScaling = Service.defineService('applicationautoscaling', ['2016-02-06']); +Object.defineProperty(apiLoader.services['applicationautoscaling'], '2016-02-06', { + get: function get() { + var model = __webpack_require__(7359); + model.paginators = __webpack_require__(4666).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.ApplicationAutoScaling; - /***/ 153: /***/ function (module, __unusedexports, __webpack_require__) { - /* eslint guard-for-in:0 */ - var AWS; - - /** - * A set of utility methods for use with the AWS SDK. - * - * @!attribute abort - * Return this value from an iterator function {each} or {arrayEach} - * to break out of the iteration. - * @example Breaking out of an iterator function - * AWS.util.each({a: 1, b: 2, c: 3}, function(key, value) { - * if (key == 'b') return AWS.util.abort; - * }); - * @see each - * @see arrayEach - * @api private - */ - var util = { - environment: "nodejs", - engine: function engine() { - if (util.isBrowser() && typeof navigator !== "undefined") { - return navigator.userAgent; - } else { - var engine = process.platform + "/" + process.version; - if (process.env.AWS_EXECUTION_ENV) { - engine += " exec-env/" + process.env.AWS_EXECUTION_ENV; - } - return engine; - } - }, - userAgent: function userAgent() { - var name = util.environment; - var agent = - "aws-sdk-" + name + "/" + __webpack_require__(395).VERSION; - if (name === "nodejs") agent += " " + util.engine(); - return agent; - }, +/***/ }), - uriEscape: function uriEscape(string) { - var output = encodeURIComponent(string); - output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape); +/***/ 184: +/***/ (function(module) { - // AWS percent-encodes some extra non-standard characters in a URI - output = output.replace(/[*]/g, function (ch) { - return "%" + ch.charCodeAt(0).toString(16).toUpperCase(); - }); +module.exports = {"pagination":{"DescribeAddresses":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Addresses"},"ListJobs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"JobListEntries"}}}; - return output; - }, +/***/ }), - uriEscapePath: function uriEscapePath(string) { - var parts = []; - util.arrayEach(string.split("/"), function (part) { - parts.push(util.uriEscape(part)); - }); - return parts.join("/"); - }, +/***/ 212: +/***/ (function(module, __unusedexports, __webpack_require__) { - urlParse: function urlParse(url) { - return util.url.parse(url); - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - urlFormat: function urlFormat(url) { - return util.url.format(url); - }, +apiLoader.services['auditmanager'] = {}; +AWS.AuditManager = Service.defineService('auditmanager', ['2017-07-25']); +Object.defineProperty(apiLoader.services['auditmanager'], '2017-07-25', { + get: function get() { + var model = __webpack_require__(5830); + model.paginators = __webpack_require__(386).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - queryStringParse: function queryStringParse(qs) { - return util.querystring.parse(qs); - }, +module.exports = AWS.AuditManager; - queryParamsToString: function queryParamsToString(params) { - var items = []; - var escape = util.uriEscape; - var sortedKeys = Object.keys(params).sort(); - util.arrayEach(sortedKeys, function (name) { - var value = params[name]; - var ename = escape(name); - var result = ename + "="; - if (Array.isArray(value)) { - var vals = []; - util.arrayEach(value, function (item) { - vals.push(escape(item)); - }); - result = ename + "=" + vals.sort().join("&" + ename + "="); - } else if (value !== undefined && value !== null) { - result = ename + "=" + escape(value); - } - items.push(result); - }); +/***/ }), - return items.join("&"); - }, +/***/ 215: +/***/ (function(module, __unusedexports, __webpack_require__) { - readFileSync: function readFileSync(path) { - if (util.isBrowser()) return null; - return __webpack_require__(5747).readFileSync(path, "utf-8"); - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - base64: { - encode: function encode64(string) { - if (typeof string === "number") { - throw util.error( - new Error("Cannot base64 encode number " + string) - ); - } - if (string === null || typeof string === "undefined") { - return string; - } - var buf = util.buffer.toBuffer(string); - return buf.toString("base64"); - }, +apiLoader.services['resourcegroups'] = {}; +AWS.ResourceGroups = Service.defineService('resourcegroups', ['2017-11-27']); +Object.defineProperty(apiLoader.services['resourcegroups'], '2017-11-27', { + get: function get() { + var model = __webpack_require__(223); + model.paginators = __webpack_require__(8096).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - decode: function decode64(string) { - if (typeof string === "number") { - throw util.error( - new Error("Cannot base64 decode number " + string) - ); - } - if (string === null || typeof string === "undefined") { - return string; - } - return util.buffer.toBuffer(string, "base64"); - }, - }, +module.exports = AWS.ResourceGroups; - buffer: { - /** - * Buffer constructor for Node buffer and buffer pollyfill - */ - toBuffer: function (data, encoding) { - return typeof util.Buffer.from === "function" && - util.Buffer.from !== Uint8Array.from - ? util.Buffer.from(data, encoding) - : new util.Buffer(data, encoding); - }, - alloc: function (size, fill, encoding) { - if (typeof size !== "number") { - throw new Error("size passed to alloc must be a number."); - } - if (typeof util.Buffer.alloc === "function") { - return util.Buffer.alloc(size, fill, encoding); - } else { - var buf = new util.Buffer(size); - if (fill !== undefined && typeof buf.fill === "function") { - buf.fill(fill, undefined, undefined, encoding); - } - return buf; - } - }, +/***/ }), - toStream: function toStream(buffer) { - if (!util.Buffer.isBuffer(buffer)) - buffer = util.buffer.toBuffer(buffer); +/***/ 216: +/***/ (function(module) { - var readable = new util.stream.Readable(); - var pos = 0; - readable._read = function (size) { - if (pos >= buffer.length) return readable.push(null); +module.exports = {"pagination":{"DescribeBackups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeClusters":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListTags":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - var end = pos + size; - if (end > buffer.length) end = buffer.length; - readable.push(buffer.slice(pos, end)); - pos = end; - }; +/***/ }), - return readable; - }, +/***/ 223: +/***/ (function(module) { - /** - * Concatenates a list of Buffer objects. - */ - concat: function (buffers) { - var length = 0, - offset = 0, - buffer = null, - i; - - for (i = 0; i < buffers.length; i++) { - length += buffers[i].length; - } +module.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":true,"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":true,"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":true,"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"}}}},"ListGroupResources":{"http":{"requestUri":"/list-group-resources"},"input":{"type":"structure","members":{"GroupName":{"deprecated":true,"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":{"ResourceIdentifiers":{"shape":"S1h"},"NextToken":{},"QueryErrors":{"shape":"S1k"}}}},"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":true,"deprecatedMessage":"This field is deprecated, use GroupIdentifiers instead.","type":"list","member":{"shape":"Sj"}},"NextToken":{}}}},"SearchResources":{"http":{"requestUri":"/resources/search"},"input":{"type":"structure","required":["ResourceQuery"],"members":{"ResourceQuery":{"shape":"S4"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ResourceIdentifiers":{"shape":"S1h"},"NextToken":{},"QueryErrors":{"shape":"S1k"}}}},"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"}}}},"Untag":{"http":{"method":"PATCH","requestUri":"/resources/{Arn}/tags"},"input":{"type":"structure","required":["Arn","Keys"],"members":{"Arn":{"location":"uri","locationName":"Arn"},"Keys":{"shape":"S25"}}},"output":{"type":"structure","members":{"Arn":{},"Keys":{"shape":"S25"}}}},"UpdateGroup":{"http":{"requestUri":"/update-group"},"input":{"type":"structure","members":{"GroupName":{"deprecated":true,"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":true,"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":{}}}},"S1h":{"type":"list","member":{"type":"structure","members":{"ResourceArn":{},"ResourceType":{}}}},"S1k":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"Message":{}}}},"S25":{"type":"list","member":{}}}}; - buffer = util.buffer.alloc(length); +/***/ }), - for (i = 0; i < buffers.length; i++) { - buffers[i].copy(buffer, offset); - offset += buffers[i].length; - } +/***/ 232: +/***/ (function(module) { - return buffer; - }, - }, +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":{"CreateLanguageModel":{"input":{"type":"structure","required":["LanguageCode","BaseModelName","ModelName","InputDataConfig"],"members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"S5"}}},"output":{"type":"structure","members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"S5"},"ModelStatus":{}}}},"CreateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode","VocabularyFileUri"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"Si"},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName","LanguageCode"],"members":{"VocabularyFilterName":{},"LanguageCode":{},"Words":{"shape":"Sn"},"VocabularyFilterFileUri":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}},"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":"Sz"}}}},"GetMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S13"}}}},"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":"S1i"}}}},"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":{}}}},"ListLanguageModels":{"input":{"type":"structure","members":{"StatusEquals":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Models":{"type":"list","member":{"shape":"Sz"}}}}},"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":{},"Type":{}}}}}}},"ListMedicalVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S29"}}}},"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":"S1o"},"ModelSettings":{"shape":"S1m"},"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":"S29"}}}},"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"}}}}}}},"StartMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName","LanguageCode","Media","OutputBucketName","Specialty","Type"],"members":{"MedicalTranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S17"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"Settings":{"shape":"S19"},"Specialty":{},"Type":{}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S13"}}}},"StartTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName","Media"],"members":{"TranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S17"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"Settings":{"shape":"S1k"},"ModelSettings":{"shape":"S1m"},"JobExecutionSettings":{"shape":"S1n"},"ContentRedaction":{"shape":"S1o"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S1r"}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S1i"}}}},"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":"Si"},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{},"Words":{"shape":"Sn"},"VocabularyFilterFileUri":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}},"shapes":{"S5":{"type":"structure","required":["S3Uri","DataAccessRoleArn"],"members":{"S3Uri":{},"TuningDataS3Uri":{},"DataAccessRoleArn":{}}},"Si":{"type":"list","member":{}},"Sn":{"type":"list","member":{}},"Sz":{"type":"structure","members":{"ModelName":{},"CreateTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LanguageCode":{},"BaseModelName":{},"ModelStatus":{},"UpgradeAvailability":{"type":"boolean"},"FailureReason":{},"InputDataConfig":{"shape":"S5"}}},"S13":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S17"},"Transcript":{"type":"structure","members":{"TranscriptFileUri":{}}},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S19"},"Specialty":{},"Type":{}}},"S17":{"type":"structure","members":{"MediaFileUri":{}}},"S19":{"type":"structure","members":{"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyName":{}}},"S1i":{"type":"structure","members":{"TranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S17"},"Transcript":{"type":"structure","members":{"TranscriptFileUri":{},"RedactedTranscriptFileUri":{}}},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S1k"},"ModelSettings":{"shape":"S1m"},"JobExecutionSettings":{"shape":"S1n"},"ContentRedaction":{"shape":"S1o"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S1r"},"IdentifiedLanguageScore":{"type":"float"}}},"S1k":{"type":"structure","members":{"VocabularyName":{},"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyFilterName":{},"VocabularyFilterMethod":{}}},"S1m":{"type":"structure","members":{"LanguageModelName":{}}},"S1n":{"type":"structure","members":{"AllowDeferredExecution":{"type":"boolean"},"DataAccessRoleArn":{}}},"S1o":{"type":"structure","required":["RedactionType","RedactionOutput"],"members":{"RedactionType":{},"RedactionOutput":{}}},"S1r":{"type":"list","member":{}},"S29":{"type":"list","member":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}}}}; - string: { - byteLength: function byteLength(string) { - if (string === null || string === undefined) return 0; - if (typeof string === "string") - string = util.buffer.toBuffer(string); - - if (typeof string.byteLength === "number") { - return string.byteLength; - } else if (typeof string.length === "number") { - return string.length; - } else if (typeof string.size === "number") { - return string.size; - } else if (typeof string.path === "string") { - return __webpack_require__(5747).lstatSync(string.path).size; - } else { - throw util.error( - new Error("Cannot determine length of " + string), - { object: string } - ); - } - }, +/***/ }), - upperFirst: function upperFirst(string) { - return string[0].toUpperCase() + string.substr(1); - }, +/***/ 240: +/***/ (function(module) { - lowerFirst: function lowerFirst(string) { - return string[0].toLowerCase() + string.substr(1); - }, - }, +module.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"},"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"}}}; - ini: { - parse: function string(ini) { - var currentSection, - map = {}; - util.arrayEach(ini.split(/\r?\n/), function (line) { - line = line.split(/(^|\s)[;#]/)[0]; // remove comments - var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/); - if (section) { - currentSection = section[1]; - } else if (currentSection) { - var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/); - if (item) { - map[currentSection] = map[currentSection] || {}; - map[currentSection][item[1]] = item[2]; - } - } - }); +/***/ }), - return map; - }, - }, +/***/ 254: +/***/ (function(module, __unusedexports, __webpack_require__) { - fn: { - noop: function () {}, - callback: function (err) { - if (err) throw err; - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /** - * Turn a synchronous function into as "async" function by making it call - * a callback. The underlying function is called with all but the last argument, - * which is treated as the callback. The callback is passed passed a first argument - * of null on success to mimick standard node callbacks. - */ - makeAsync: function makeAsync(fn, expectedArgs) { - if (expectedArgs && expectedArgs <= fn.length) { - return fn; - } +apiLoader.services['healthlake'] = {}; +AWS.HealthLake = Service.defineService('healthlake', ['2017-07-01']); +Object.defineProperty(apiLoader.services['healthlake'], '2017-07-01', { + get: function get() { + var model = __webpack_require__(5048); + model.paginators = __webpack_require__(7140).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - return function () { - var args = Array.prototype.slice.call(arguments, 0); - var callback = args.pop(); - var result = fn.apply(null, args); - callback(result); - }; - }, - }, +module.exports = AWS.HealthLake; - /** - * Date and time utility functions. - */ - date: { - /** - * @return [Date] the current JavaScript date object. Since all - * AWS services rely on this date object, you can override - * this function to provide a special time value to AWS service - * requests. - */ - getDate: function getDate() { - if (!AWS) AWS = __webpack_require__(395); - if (AWS.config.systemClockOffset) { - // use offset when non-zero - return new Date( - new Date().getTime() + AWS.config.systemClockOffset - ); - } else { - return new Date(); - } - }, - /** - * @return [String] the date in ISO-8601 format - */ - iso8601: function iso8601(date) { - if (date === undefined) { - date = util.date.getDate(); - } - return date.toISOString().replace(/\.\d{3}Z$/, "Z"); - }, +/***/ }), - /** - * @return [String] the date in RFC 822 format - */ - rfc822: function rfc822(date) { - if (date === undefined) { - date = util.date.getDate(); - } - return date.toUTCString(); - }, +/***/ 280: +/***/ (function(module) { - /** - * @return [Integer] the UNIX timestamp value for the current time - */ - unixTimestamp: function unixTimestamp(date) { - if (date === undefined) { - date = util.date.getDate(); - } - return date.getTime() / 1000; - }, +module.exports = {"pagination":{"ListAccelerators":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Accelerators"},"ListByoipCidrs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"ByoipCidrs"},"ListCustomRoutingAccelerators":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Accelerators"},"ListCustomRoutingEndpointGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListCustomRoutingListeners":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Listeners"},"ListCustomRoutingPortMappings":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"PortMappings"},"ListCustomRoutingPortMappingsByDestination":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"DestinationPortMappings"},"ListEndpointGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"EndpointGroups"},"ListListeners":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Listeners"}}}; - /** - * @param [String,number,Date] date - * @return [Date] - */ - from: function format(date) { - if (typeof date === "number") { - return new Date(date * 1000); // unix timestamp - } else { - return new Date(date); - } - }, +/***/ }), - /** - * Given a Date or date-like value, this function formats the - * date into a string of the requested value. - * @param [String,number,Date] date - * @param [String] formatter Valid formats are: - # * 'iso8601' - # * 'rfc822' - # * 'unixTimestamp' - * @return [String] - */ - format: function format(date, formatter) { - if (!formatter) formatter = "iso8601"; - return util.date[formatter](util.date.from(date)); - }, +/***/ 287: +/***/ (function(module) { - parseTimestamp: function parseTimestamp(value) { - if (typeof value === "number") { - // unix timestamp (number) - return new Date(value * 1000); - } else if (value.match(/^\d+$/)) { - // unix timestamp - return new Date(value * 1000); - } else if (value.match(/^\d{4}/)) { - // iso8601 - return new Date(value); - } else if (value.match(/^\w{3},/)) { - // rfc822 - return new Date(value); - } else { - throw util.error( - new Error("unhandled timestamp format: " + value), - { code: "TimestampParserError" } - ); - } - }, - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2012-10-29","endpointPrefix":"datapipeline","jsonVersion":"1.1","serviceFullName":"AWS Data Pipeline","serviceId":"Data Pipeline","signatureVersion":"v4","targetPrefix":"DataPipeline","protocol":"json","uid":"datapipeline-2012-10-29"},"operations":{"ActivatePipeline":{"input":{"type":"structure","required":["pipelineId"],"members":{"pipelineId":{},"parameterValues":{"shape":"S3"},"startTimestamp":{"type":"timestamp"}}},"output":{"type":"structure","members":{}}},"AddTags":{"input":{"type":"structure","required":["pipelineId","tags"],"members":{"pipelineId":{},"tags":{"shape":"Sa"}}},"output":{"type":"structure","members":{}}},"CreatePipeline":{"input":{"type":"structure","required":["name","uniqueId"],"members":{"name":{},"uniqueId":{},"description":{},"tags":{"shape":"Sa"}}},"output":{"type":"structure","required":["pipelineId"],"members":{"pipelineId":{}}}},"DeactivatePipeline":{"input":{"type":"structure","required":["pipelineId"],"members":{"pipelineId":{},"cancelActive":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeletePipeline":{"input":{"type":"structure","required":["pipelineId"],"members":{"pipelineId":{}}}},"DescribeObjects":{"input":{"type":"structure","required":["pipelineId","objectIds"],"members":{"pipelineId":{},"objectIds":{"shape":"Sn"},"evaluateExpressions":{"type":"boolean"},"marker":{}}},"output":{"type":"structure","required":["pipelineObjects"],"members":{"pipelineObjects":{"shape":"Sq"},"marker":{},"hasMoreResults":{"type":"boolean"}}}},"DescribePipelines":{"input":{"type":"structure","required":["pipelineIds"],"members":{"pipelineIds":{"shape":"Sn"}}},"output":{"type":"structure","required":["pipelineDescriptionList"],"members":{"pipelineDescriptionList":{"type":"list","member":{"type":"structure","required":["pipelineId","name","fields"],"members":{"pipelineId":{},"name":{},"fields":{"shape":"Ss"},"description":{},"tags":{"shape":"Sa"}}}}}}},"EvaluateExpression":{"input":{"type":"structure","required":["pipelineId","objectId","expression"],"members":{"pipelineId":{},"objectId":{},"expression":{}}},"output":{"type":"structure","required":["evaluatedExpression"],"members":{"evaluatedExpression":{}}}},"GetPipelineDefinition":{"input":{"type":"structure","required":["pipelineId"],"members":{"pipelineId":{},"version":{}}},"output":{"type":"structure","members":{"pipelineObjects":{"shape":"Sq"},"parameterObjects":{"shape":"S13"},"parameterValues":{"shape":"S3"}}}},"ListPipelines":{"input":{"type":"structure","members":{"marker":{}}},"output":{"type":"structure","required":["pipelineIdList"],"members":{"pipelineIdList":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"marker":{},"hasMoreResults":{"type":"boolean"}}}},"PollForTask":{"input":{"type":"structure","required":["workerGroup"],"members":{"workerGroup":{},"hostname":{},"instanceIdentity":{"type":"structure","members":{"document":{},"signature":{}}}}},"output":{"type":"structure","members":{"taskObject":{"type":"structure","members":{"taskId":{},"pipelineId":{},"attemptId":{},"objects":{"type":"map","key":{},"value":{"shape":"Sr"}}}}}}},"PutPipelineDefinition":{"input":{"type":"structure","required":["pipelineId","pipelineObjects"],"members":{"pipelineId":{},"pipelineObjects":{"shape":"Sq"},"parameterObjects":{"shape":"S13"},"parameterValues":{"shape":"S3"}}},"output":{"type":"structure","required":["errored"],"members":{"validationErrors":{"shape":"S1l"},"validationWarnings":{"shape":"S1p"},"errored":{"type":"boolean"}}}},"QueryObjects":{"input":{"type":"structure","required":["pipelineId","sphere"],"members":{"pipelineId":{},"query":{"type":"structure","members":{"selectors":{"type":"list","member":{"type":"structure","members":{"fieldName":{},"operator":{"type":"structure","members":{"type":{},"values":{"shape":"S1x"}}}}}}}},"sphere":{},"marker":{},"limit":{"type":"integer"}}},"output":{"type":"structure","members":{"ids":{"shape":"Sn"},"marker":{},"hasMoreResults":{"type":"boolean"}}}},"RemoveTags":{"input":{"type":"structure","required":["pipelineId","tagKeys"],"members":{"pipelineId":{},"tagKeys":{"shape":"S1x"}}},"output":{"type":"structure","members":{}}},"ReportTaskProgress":{"input":{"type":"structure","required":["taskId"],"members":{"taskId":{},"fields":{"shape":"Ss"}}},"output":{"type":"structure","required":["canceled"],"members":{"canceled":{"type":"boolean"}}}},"ReportTaskRunnerHeartbeat":{"input":{"type":"structure","required":["taskrunnerId"],"members":{"taskrunnerId":{},"workerGroup":{},"hostname":{}}},"output":{"type":"structure","required":["terminate"],"members":{"terminate":{"type":"boolean"}}}},"SetStatus":{"input":{"type":"structure","required":["pipelineId","objectIds","status"],"members":{"pipelineId":{},"objectIds":{"shape":"Sn"},"status":{}}}},"SetTaskStatus":{"input":{"type":"structure","required":["taskId","taskStatus"],"members":{"taskId":{},"taskStatus":{},"errorId":{},"errorMessage":{},"errorStackTrace":{}}},"output":{"type":"structure","members":{}}},"ValidatePipelineDefinition":{"input":{"type":"structure","required":["pipelineId","pipelineObjects"],"members":{"pipelineId":{},"pipelineObjects":{"shape":"Sq"},"parameterObjects":{"shape":"S13"},"parameterValues":{"shape":"S3"}}},"output":{"type":"structure","required":["errored"],"members":{"validationErrors":{"shape":"S1l"},"validationWarnings":{"shape":"S1p"},"errored":{"type":"boolean"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","required":["id","stringValue"],"members":{"id":{},"stringValue":{}}}},"Sa":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Sn":{"type":"list","member":{}},"Sq":{"type":"list","member":{"shape":"Sr"}},"Sr":{"type":"structure","required":["id","name","fields"],"members":{"id":{},"name":{},"fields":{"shape":"Ss"}}},"Ss":{"type":"list","member":{"type":"structure","required":["key"],"members":{"key":{},"stringValue":{},"refValue":{}}}},"S13":{"type":"list","member":{"type":"structure","required":["id","attributes"],"members":{"id":{},"attributes":{"type":"list","member":{"type":"structure","required":["key","stringValue"],"members":{"key":{},"stringValue":{}}}}}}},"S1l":{"type":"list","member":{"type":"structure","members":{"id":{},"errors":{"shape":"S1n"}}}},"S1n":{"type":"list","member":{}},"S1p":{"type":"list","member":{"type":"structure","members":{"id":{},"warnings":{"shape":"S1n"}}}},"S1x":{"type":"list","member":{}}}}; - crypto: { - crc32Table: [ - 0x00000000, - 0x77073096, - 0xee0e612c, - 0x990951ba, - 0x076dc419, - 0x706af48f, - 0xe963a535, - 0x9e6495a3, - 0x0edb8832, - 0x79dcb8a4, - 0xe0d5e91e, - 0x97d2d988, - 0x09b64c2b, - 0x7eb17cbd, - 0xe7b82d07, - 0x90bf1d91, - 0x1db71064, - 0x6ab020f2, - 0xf3b97148, - 0x84be41de, - 0x1adad47d, - 0x6ddde4eb, - 0xf4d4b551, - 0x83d385c7, - 0x136c9856, - 0x646ba8c0, - 0xfd62f97a, - 0x8a65c9ec, - 0x14015c4f, - 0x63066cd9, - 0xfa0f3d63, - 0x8d080df5, - 0x3b6e20c8, - 0x4c69105e, - 0xd56041e4, - 0xa2677172, - 0x3c03e4d1, - 0x4b04d447, - 0xd20d85fd, - 0xa50ab56b, - 0x35b5a8fa, - 0x42b2986c, - 0xdbbbc9d6, - 0xacbcf940, - 0x32d86ce3, - 0x45df5c75, - 0xdcd60dcf, - 0xabd13d59, - 0x26d930ac, - 0x51de003a, - 0xc8d75180, - 0xbfd06116, - 0x21b4f4b5, - 0x56b3c423, - 0xcfba9599, - 0xb8bda50f, - 0x2802b89e, - 0x5f058808, - 0xc60cd9b2, - 0xb10be924, - 0x2f6f7c87, - 0x58684c11, - 0xc1611dab, - 0xb6662d3d, - 0x76dc4190, - 0x01db7106, - 0x98d220bc, - 0xefd5102a, - 0x71b18589, - 0x06b6b51f, - 0x9fbfe4a5, - 0xe8b8d433, - 0x7807c9a2, - 0x0f00f934, - 0x9609a88e, - 0xe10e9818, - 0x7f6a0dbb, - 0x086d3d2d, - 0x91646c97, - 0xe6635c01, - 0x6b6b51f4, - 0x1c6c6162, - 0x856530d8, - 0xf262004e, - 0x6c0695ed, - 0x1b01a57b, - 0x8208f4c1, - 0xf50fc457, - 0x65b0d9c6, - 0x12b7e950, - 0x8bbeb8ea, - 0xfcb9887c, - 0x62dd1ddf, - 0x15da2d49, - 0x8cd37cf3, - 0xfbd44c65, - 0x4db26158, - 0x3ab551ce, - 0xa3bc0074, - 0xd4bb30e2, - 0x4adfa541, - 0x3dd895d7, - 0xa4d1c46d, - 0xd3d6f4fb, - 0x4369e96a, - 0x346ed9fc, - 0xad678846, - 0xda60b8d0, - 0x44042d73, - 0x33031de5, - 0xaa0a4c5f, - 0xdd0d7cc9, - 0x5005713c, - 0x270241aa, - 0xbe0b1010, - 0xc90c2086, - 0x5768b525, - 0x206f85b3, - 0xb966d409, - 0xce61e49f, - 0x5edef90e, - 0x29d9c998, - 0xb0d09822, - 0xc7d7a8b4, - 0x59b33d17, - 0x2eb40d81, - 0xb7bd5c3b, - 0xc0ba6cad, - 0xedb88320, - 0x9abfb3b6, - 0x03b6e20c, - 0x74b1d29a, - 0xead54739, - 0x9dd277af, - 0x04db2615, - 0x73dc1683, - 0xe3630b12, - 0x94643b84, - 0x0d6d6a3e, - 0x7a6a5aa8, - 0xe40ecf0b, - 0x9309ff9d, - 0x0a00ae27, - 0x7d079eb1, - 0xf00f9344, - 0x8708a3d2, - 0x1e01f268, - 0x6906c2fe, - 0xf762575d, - 0x806567cb, - 0x196c3671, - 0x6e6b06e7, - 0xfed41b76, - 0x89d32be0, - 0x10da7a5a, - 0x67dd4acc, - 0xf9b9df6f, - 0x8ebeeff9, - 0x17b7be43, - 0x60b08ed5, - 0xd6d6a3e8, - 0xa1d1937e, - 0x38d8c2c4, - 0x4fdff252, - 0xd1bb67f1, - 0xa6bc5767, - 0x3fb506dd, - 0x48b2364b, - 0xd80d2bda, - 0xaf0a1b4c, - 0x36034af6, - 0x41047a60, - 0xdf60efc3, - 0xa867df55, - 0x316e8eef, - 0x4669be79, - 0xcb61b38c, - 0xbc66831a, - 0x256fd2a0, - 0x5268e236, - 0xcc0c7795, - 0xbb0b4703, - 0x220216b9, - 0x5505262f, - 0xc5ba3bbe, - 0xb2bd0b28, - 0x2bb45a92, - 0x5cb36a04, - 0xc2d7ffa7, - 0xb5d0cf31, - 0x2cd99e8b, - 0x5bdeae1d, - 0x9b64c2b0, - 0xec63f226, - 0x756aa39c, - 0x026d930a, - 0x9c0906a9, - 0xeb0e363f, - 0x72076785, - 0x05005713, - 0x95bf4a82, - 0xe2b87a14, - 0x7bb12bae, - 0x0cb61b38, - 0x92d28e9b, - 0xe5d5be0d, - 0x7cdcefb7, - 0x0bdbdf21, - 0x86d3d2d4, - 0xf1d4e242, - 0x68ddb3f8, - 0x1fda836e, - 0x81be16cd, - 0xf6b9265b, - 0x6fb077e1, - 0x18b74777, - 0x88085ae6, - 0xff0f6a70, - 0x66063bca, - 0x11010b5c, - 0x8f659eff, - 0xf862ae69, - 0x616bffd3, - 0x166ccf45, - 0xa00ae278, - 0xd70dd2ee, - 0x4e048354, - 0x3903b3c2, - 0xa7672661, - 0xd06016f7, - 0x4969474d, - 0x3e6e77db, - 0xaed16a4a, - 0xd9d65adc, - 0x40df0b66, - 0x37d83bf0, - 0xa9bcae53, - 0xdebb9ec5, - 0x47b2cf7f, - 0x30b5ffe9, - 0xbdbdf21c, - 0xcabac28a, - 0x53b39330, - 0x24b4a3a6, - 0xbad03605, - 0xcdd70693, - 0x54de5729, - 0x23d967bf, - 0xb3667a2e, - 0xc4614ab8, - 0x5d681b02, - 0x2a6f2b94, - 0xb40bbe37, - 0xc30c8ea1, - 0x5a05df1b, - 0x2d02ef8d, - ], - - crc32: function crc32(data) { - var tbl = util.crypto.crc32Table; - var crc = 0 ^ -1; - - if (typeof data === "string") { - data = util.buffer.toBuffer(data); - } +/***/ }), - for (var i = 0; i < data.length; i++) { - var code = data.readUInt8(i); - crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xff]; - } - return (crc ^ -1) >>> 0; - }, +/***/ 299: +/***/ (function(__unusedmodule, exports) { - hmac: function hmac(key, string, digest, fn) { - if (!digest) digest = "binary"; - if (digest === "buffer") { - digest = undefined; - } - if (!fn) fn = "sha256"; - if (typeof string === "string") - string = util.buffer.toBuffer(string); - return util.crypto.lib - .createHmac(fn, key) - .update(string) - .digest(digest); - }, +"use strict"; - md5: function md5(data, digest, callback) { - return util.crypto.hash("md5", data, digest, callback); - }, - sha256: function sha256(data, digest, callback) { - return util.crypto.hash("sha256", data, digest, callback); - }, +Object.defineProperty(exports, '__esModule', { value: true }); - hash: function (algorithm, data, digest, callback) { - var hash = util.crypto.createHash(algorithm); - if (!digest) { - digest = "binary"; - } - if (digest === "buffer") { - digest = undefined; - } - if (typeof data === "string") data = util.buffer.toBuffer(data); - var sliceFn = util.arraySliceFn(data); - var isBuffer = util.Buffer.isBuffer(data); - //Identifying objects with an ArrayBuffer as buffers - if ( - util.isBrowser() && - typeof ArrayBuffer !== "undefined" && - data && - data.buffer instanceof ArrayBuffer - ) - isBuffer = true; - - if ( - callback && - typeof data === "object" && - typeof data.on === "function" && - !isBuffer - ) { - data.on("data", function (chunk) { - hash.update(chunk); - }); - data.on("error", function (err) { - callback(err); - }); - data.on("end", function () { - callback(null, hash.digest(digest)); - }); - } else if ( - callback && - sliceFn && - !isBuffer && - typeof FileReader !== "undefined" - ) { - // this might be a File/Blob - var index = 0, - size = 1024 * 512; - var reader = new FileReader(); - reader.onerror = function () { - callback(new Error("Failed to read data.")); - }; - reader.onload = function () { - var buf = new util.Buffer(new Uint8Array(reader.result)); - hash.update(buf); - index += buf.length; - reader._continueReading(); - }; - reader._continueReading = function () { - if (index >= data.size) { - callback(null, hash.digest(digest)); - return; - } +const VERSION = "1.1.2"; - var back = index + size; - if (back > data.size) back = data.size; - reader.readAsArrayBuffer(sliceFn.call(data, index, back)); - }; +/** + * Some “list” response that can be paginated have a different response structure + * + * They have a `total_count` key in the response (search also has `incomplete_results`, + * /installation/repositories also has `repository_selection`), as well as a key with + * the list of the items which name varies from endpoint to endpoint: + * + * - https://developer.github.com/v3/search/#example (key `items`) + * - https://developer.github.com/v3/checks/runs/#response-3 (key: `check_runs`) + * - https://developer.github.com/v3/checks/suites/#response-1 (key: `check_suites`) + * - https://developer.github.com/v3/apps/installations/#list-repositories (key: `repositories`) + * - https://developer.github.com/v3/apps/installations/#list-installations-for-a-user (key `installations`) + * + * Octokit normalizes these responses so that paginated results are always returned following + * the same structure. One challenge is that if the list response has only one page, no Link + * header is provided, so this header alone is not sufficient to check wether a response is + * paginated or not. For the exceptions with the namespace, a fallback check for the route + * paths has to be added in order to normalize the response. We cannot check for the total_count + * property because it also exists in the response of Get the combined status for a specific ref. + */ +const REGEX = [/^\/search\//, /^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)([^/]|$)/, /^\/installation\/repositories([^/]|$)/, /^\/user\/installations([^/]|$)/, /^\/repos\/[^/]+\/[^/]+\/actions\/secrets([^/]|$)/, /^\/repos\/[^/]+\/[^/]+\/actions\/workflows(\/[^/]+\/runs)?([^/]|$)/, /^\/repos\/[^/]+\/[^/]+\/actions\/runs(\/[^/]+\/(artifacts|jobs))?([^/]|$)/]; +function normalizePaginatedListResponse(octokit, url, response) { + const path = url.replace(octokit.request.endpoint.DEFAULTS.baseUrl, ""); + const responseNeedsNormalization = REGEX.find(regex => regex.test(path)); + if (!responseNeedsNormalization) return; // keep the additional properties intact as there is currently no other way + // to retrieve the same information. - reader._continueReading(); - } else { - if (util.isBrowser() && typeof data === "object" && !isBuffer) { - data = new util.Buffer(new Uint8Array(data)); - } - var out = hash.update(data).digest(digest); - if (callback) callback(null, out); - return out; - } - }, + const incompleteResults = response.data.incomplete_results; + const repositorySelection = response.data.repository_selection; + const totalCount = response.data.total_count; + delete response.data.incomplete_results; + delete response.data.repository_selection; + delete response.data.total_count; + const namespaceKey = Object.keys(response.data)[0]; + const data = response.data[namespaceKey]; + response.data = data; - toHex: function toHex(data) { - var out = []; - for (var i = 0; i < data.length; i++) { - out.push(("0" + data.charCodeAt(i).toString(16)).substr(-2, 2)); - } - return out.join(""); - }, + if (typeof incompleteResults !== "undefined") { + response.data.incomplete_results = incompleteResults; + } - createHash: function createHash(algorithm) { - return util.crypto.lib.createHash(algorithm); - }, - }, + if (typeof repositorySelection !== "undefined") { + response.data.repository_selection = repositorySelection; + } - /** @!ignore */ + response.data.total_count = totalCount; + Object.defineProperty(response.data, namespaceKey, { + get() { + octokit.log.warn(`[@octokit/paginate-rest] "response.data.${namespaceKey}" is deprecated for "GET ${path}". Get the results directly from "response.data"`); + return Array.from(data); + } + + }); +} + +function iterator(octokit, route, parameters) { + const options = octokit.request.endpoint(route, parameters); + const method = options.method; + const headers = options.headers; + let url = options.url; + return { + [Symbol.asyncIterator]: () => ({ + next() { + if (!url) { + return Promise.resolve({ + done: true + }); + } - /* Abort constant */ - abort: {}, + return octokit.request({ + method, + url, + headers + }).then(response => { + normalizePaginatedListResponse(octokit, url, response); // `response.headers.link` format: + // '; rel="next", ; rel="last"' + // sets `url` to undefined if "next" URL is not present or `link` header is not set - each: function each(object, iterFunction) { - for (var key in object) { - if (Object.prototype.hasOwnProperty.call(object, key)) { - var ret = iterFunction.call(this, key, object[key]); - if (ret === util.abort) break; - } - } - }, + url = ((response.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; + return { + value: response + }; + }); + } - arrayEach: function arrayEach(array, iterFunction) { - for (var idx in array) { - if (Object.prototype.hasOwnProperty.call(array, idx)) { - var ret = iterFunction.call(this, array[idx], parseInt(idx, 10)); - if (ret === util.abort) break; - } - } - }, + }) + }; +} - update: function update(obj1, obj2) { - util.each(obj2, function iterator(key, item) { - obj1[key] = item; - }); - return obj1; - }, +function paginate(octokit, route, parameters, mapFn) { + if (typeof parameters === "function") { + mapFn = parameters; + parameters = undefined; + } - merge: function merge(obj1, obj2) { - return util.update(util.copy(obj1), obj2); - }, + return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); +} - copy: function copy(object) { - if (object === null || object === undefined) return object; - var dupe = {}; - // jshint forin:false - for (var key in object) { - dupe[key] = object[key]; - } - return dupe; - }, +function gather(octokit, results, iterator, mapFn) { + return iterator.next().then(result => { + if (result.done) { + return results; + } - isEmpty: function isEmpty(obj) { - for (var prop in obj) { - if (Object.prototype.hasOwnProperty.call(obj, prop)) { - return false; - } - } - return true; - }, + let earlyExit = false; - arraySliceFn: function arraySliceFn(obj) { - var fn = obj.slice || obj.webkitSlice || obj.mozSlice; - return typeof fn === "function" ? fn : null; - }, + function done() { + earlyExit = true; + } - isType: function isType(obj, type) { - // handle cross-"frame" objects - if (typeof type === "function") type = util.typeName(type); - return ( - Object.prototype.toString.call(obj) === "[object " + type + "]" - ); - }, + results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); - typeName: function typeName(type) { - if (Object.prototype.hasOwnProperty.call(type, "name")) - return type.name; - var str = type.toString(); - var match = str.match(/^\s*function (.+)\(/); - return match ? match[1] : str; - }, + if (earlyExit) { + return results; + } - error: function error(err, options) { - var originalError = null; - if (typeof err.message === "string" && err.message !== "") { - if (typeof options === "string" || (options && options.message)) { - originalError = util.copy(err); - originalError.message = err.message; - } - } - err.message = err.message || null; - - if (typeof options === "string") { - err.message = options; - } else if (typeof options === "object" && options !== null) { - util.update(err, options); - if (options.message) err.message = options.message; - if (options.code || options.name) - err.code = options.code || options.name; - if (options.stack) err.stack = options.stack; - } + return gather(octokit, results, iterator, mapFn); + }); +} - if (typeof Object.defineProperty === "function") { - Object.defineProperty(err, "name", { - writable: true, - enumerable: false, - }); - Object.defineProperty(err, "message", { enumerable: true }); - } +/** + * @param octokit Octokit instance + * @param options Options passed to Octokit constructor + */ - err.name = String( - (options && options.name) || err.name || err.code || "Error" - ); - err.time = new Date(); +function paginateRest(octokit) { + return { + paginate: Object.assign(paginate.bind(null, octokit), { + iterator: iterator.bind(null, octokit) + }) + }; +} +paginateRest.VERSION = VERSION; - if (originalError) err.originalError = originalError; +exports.paginateRest = paginateRest; +//# sourceMappingURL=index.js.map - return err; - }, - /** - * @api private - */ - inherit: function inherit(klass, features) { - var newObject = null; - if (features === undefined) { - features = klass; - klass = Object; - newObject = {}; - } else { - var ctor = function ConstructorWrapper() {}; - ctor.prototype = klass.prototype; - newObject = new ctor(); - } +/***/ }), - // constructor not supplied, create pass-through ctor - if (features.constructor === Object) { - features.constructor = function () { - if (klass !== Object) { - return klass.apply(this, arguments); - } - }; - } +/***/ 312: +/***/ (function(module, __unusedexports, __webpack_require__) { - features.constructor.prototype = newObject; - util.update(features.constructor.prototype, features); - features.constructor.__super__ = klass; - return features.constructor; - }, - - /** - * @api private - */ - mixin: function mixin() { - var klass = arguments[0]; - for (var i = 1; i < arguments.length; i++) { - // jshint forin:false - for (var prop in arguments[i].prototype) { - var fn = arguments[i].prototype[prop]; - if (prop !== "constructor") { - klass.prototype[prop] = fn; - } - } - } - return klass; - }, +// Generated by CoffeeScript 1.12.7 +(function() { + var XMLDocument, XMLDocumentCB, XMLStreamWriter, XMLStringWriter, assign, isFunction, ref; - /** - * @api private - */ - hideProperties: function hideProperties(obj, props) { - if (typeof Object.defineProperty !== "function") return; + ref = __webpack_require__(8582), assign = ref.assign, isFunction = ref.isFunction; - util.arrayEach(props, function (key) { - Object.defineProperty(obj, key, { - enumerable: false, - writable: true, - configurable: true, - }); - }); - }, + XMLDocument = __webpack_require__(8559); - /** - * @api private - */ - property: function property(obj, name, value, enumerable, isValue) { - var opts = { - configurable: true, - enumerable: enumerable !== undefined ? enumerable : true, - }; - if (typeof value === "function" && !isValue) { - opts.get = value; - } else { - opts.value = value; - opts.writable = true; - } + XMLDocumentCB = __webpack_require__(9768); - Object.defineProperty(obj, name, opts); - }, + XMLStringWriter = __webpack_require__(2750); - /** - * @api private - */ - memoizedProperty: function memoizedProperty( - obj, - name, - get, - enumerable - ) { - var cachedValue = null; - - // build enumerable attribute for each value with lazy accessor. - util.property( - obj, - name, - function () { - if (cachedValue === null) { - cachedValue = get(); - } - return cachedValue; - }, - enumerable - ); - }, + XMLStreamWriter = __webpack_require__(3458); - /** - * TODO Remove in major version revision - * This backfill populates response data without the - * top-level payload name. - * - * @api private - */ - hoistPayloadMember: function hoistPayloadMember(resp) { - var req = resp.request; - var operationName = req.operation; - var operation = req.service.api.operations[operationName]; - var output = operation.output; - if (output.payload && !operation.hasEventOutput) { - var payloadMember = output.members[output.payload]; - var responsePayload = resp.data[output.payload]; - if (payloadMember.type === "structure") { - util.each(responsePayload, function (key, value) { - util.property(resp.data, key, value, false); - }); - } - } - }, + module.exports.create = function(name, xmldec, doctype, options) { + var doc, root; + if (name == null) { + throw new Error("Root element needs a name"); + } + options = assign({}, xmldec, doctype, options); + doc = new XMLDocument(options); + root = doc.element(name); + if (!options.headless) { + doc.declaration(options); + if ((options.pubID != null) || (options.sysID != null)) { + doc.doctype(options); + } + } + return root; + }; - /** - * Compute SHA-256 checksums of streams - * - * @api private - */ - computeSha256: function computeSha256(body, done) { - if (util.isNode()) { - var Stream = util.stream.Stream; - var fs = __webpack_require__(5747); - if (typeof Stream === "function" && body instanceof Stream) { - if (typeof body.path === "string") { - // assume file object - var settings = {}; - if (typeof body.start === "number") { - settings.start = body.start; - } - if (typeof body.end === "number") { - settings.end = body.end; - } - body = fs.createReadStream(body.path, settings); - } else { - // TODO support other stream types - return done( - new Error( - "Non-file stream objects are " + "not supported with SigV4" - ) - ); - } - } - } + module.exports.begin = function(options, onData, onEnd) { + var ref1; + if (isFunction(options)) { + ref1 = [options, onData], onData = ref1[0], onEnd = ref1[1]; + options = {}; + } + if (onData) { + return new XMLDocumentCB(options, onData, onEnd); + } else { + return new XMLDocument(options); + } + }; - util.crypto.sha256(body, "hex", function (err, sha) { - if (err) done(err); - else done(null, sha); - }); - }, + module.exports.stringWriter = function(options) { + return new XMLStringWriter(options); + }; - /** - * @api private - */ - isClockSkewed: function isClockSkewed(serverTime) { - if (serverTime) { - util.property( - AWS.config, - "isClockSkewed", - Math.abs(new Date().getTime() - serverTime) >= 300000, - false - ); - return AWS.config.isClockSkewed; - } - }, + module.exports.streamWriter = function(stream, options) { + return new XMLStreamWriter(stream, options); + }; - applyClockOffset: function applyClockOffset(serverTime) { - if (serverTime) - AWS.config.systemClockOffset = serverTime - new Date().getTime(); - }, +}).call(this); - /** - * @api private - */ - extractRequestId: function extractRequestId(resp) { - var requestId = - resp.httpResponse.headers["x-amz-request-id"] || - resp.httpResponse.headers["x-amzn-requestid"]; - if (!requestId && resp.data && resp.data.ResponseMetadata) { - requestId = resp.data.ResponseMetadata.RequestId; - } +/***/ }), - if (requestId) { - resp.requestId = requestId; - } +/***/ 320: +/***/ (function(module) { - if (resp.error) { - resp.error.requestId = requestId; - } - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-07-11","endpointPrefix":"session.qldb","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"QLDB Session","serviceFullName":"Amazon QLDB Session","serviceId":"QLDB Session","signatureVersion":"v4","signingName":"qldb","targetPrefix":"QLDBSession","uid":"qldb-session-2019-07-11"},"operations":{"SendCommand":{"input":{"type":"structure","members":{"SessionToken":{},"StartSession":{"type":"structure","required":["LedgerName"],"members":{"LedgerName":{}}},"StartTransaction":{"type":"structure","members":{}},"EndSession":{"type":"structure","members":{}},"CommitTransaction":{"type":"structure","required":["TransactionId","CommitDigest"],"members":{"TransactionId":{},"CommitDigest":{"type":"blob"}}},"AbortTransaction":{"type":"structure","members":{}},"ExecuteStatement":{"type":"structure","required":["TransactionId","Statement"],"members":{"TransactionId":{},"Statement":{},"Parameters":{"type":"list","member":{"shape":"Se"}}}},"FetchPage":{"type":"structure","required":["TransactionId","NextPageToken"],"members":{"TransactionId":{},"NextPageToken":{}}}}},"output":{"type":"structure","members":{"StartSession":{"type":"structure","members":{"SessionToken":{}}},"StartTransaction":{"type":"structure","members":{"TransactionId":{}}},"EndSession":{"type":"structure","members":{}},"CommitTransaction":{"type":"structure","members":{"TransactionId":{},"CommitDigest":{"type":"blob"}}},"AbortTransaction":{"type":"structure","members":{}},"ExecuteStatement":{"type":"structure","members":{"FirstPage":{"shape":"Sq"}}},"FetchPage":{"type":"structure","members":{"Page":{"shape":"Sq"}}}}}}},"shapes":{"Se":{"type":"structure","members":{"IonBinary":{"type":"blob"},"IonText":{}}},"Sq":{"type":"structure","members":{"Values":{"type":"list","member":{"shape":"Se"}},"NextPageToken":{}}}}}; - /** - * @api private - */ - addPromises: function addPromises(constructors, PromiseDependency) { - var deletePromises = false; - if (PromiseDependency === undefined && AWS && AWS.config) { - PromiseDependency = AWS.config.getPromisesDependency(); - } - if ( - PromiseDependency === undefined && - typeof Promise !== "undefined" - ) { - PromiseDependency = Promise; - } - if (typeof PromiseDependency !== "function") deletePromises = true; - if (!Array.isArray(constructors)) constructors = [constructors]; - - for (var ind = 0; ind < constructors.length; ind++) { - var constructor = constructors[ind]; - if (deletePromises) { - if (constructor.deletePromisesFromClass) { - constructor.deletePromisesFromClass(); - } - } else if (constructor.addPromisesToClass) { - constructor.addPromisesToClass(PromiseDependency); - } - } - }, +/***/ }), - /** - * @api private - * Return a function that will return a promise whose fate is decided by the - * callback behavior of the given method with `methodName`. The method to be - * promisified should conform to node.js convention of accepting a callback as - * last argument and calling that callback with error as the first argument - * and success value on the second argument. - */ - promisifyMethod: function promisifyMethod( - methodName, - PromiseDependency - ) { - return function promise() { - var self = this; - var args = Array.prototype.slice.call(arguments); - return new PromiseDependency(function (resolve, reject) { - args.push(function (err, data) { - if (err) { - reject(err); - } else { - resolve(data); - } - }); - self[methodName].apply(self, args); - }); - }; - }, +/***/ 323: +/***/ (function(module) { - /** - * @api private - */ - isDualstackAvailable: function isDualstackAvailable(service) { - if (!service) return false; - var metadata = __webpack_require__(1694); - if (typeof service !== "string") service = service.serviceIdentifier; - if (typeof service !== "string" || !metadata.hasOwnProperty(service)) - return false; - return !!metadata[service].dualstackAvailable; - }, +"use strict"; - /** - * @api private - */ - calculateRetryDelay: function calculateRetryDelay( - retryCount, - retryDelayOptions, - err - ) { - if (!retryDelayOptions) retryDelayOptions = {}; - var customBackoff = retryDelayOptions.customBackoff || null; - if (typeof customBackoff === "function") { - return customBackoff(retryCount, err); - } - var base = - typeof retryDelayOptions.base === "number" - ? retryDelayOptions.base - : 100; - var delay = Math.random() * (Math.pow(2, retryCount) * base); - return delay; - }, - - /** - * @api private - */ - handleRequestWithRetries: function handleRequestWithRetries( - httpRequest, - options, - cb - ) { - if (!options) options = {}; - var http = AWS.HttpClient.getInstance(); - var httpOptions = options.httpOptions || {}; - var retryCount = 0; - - var errCallback = function (err) { - var maxRetries = options.maxRetries || 0; - if (err && err.code === "TimeoutError") err.retryable = true; - var delay = util.calculateRetryDelay( - retryCount, - options.retryDelayOptions, - err - ); - if (err && err.retryable && retryCount < maxRetries && delay >= 0) { - retryCount++; - setTimeout(sendRequest, delay + (err.retryAfter || 0)); - } else { - cb(err); - } - }; - var sendRequest = function () { - var data = ""; - http.handleRequest( - httpRequest, - httpOptions, - function (httpResponse) { - httpResponse.on("data", function (chunk) { - data += chunk.toString(); - }); - httpResponse.on("end", function () { - var statusCode = httpResponse.statusCode; - if (statusCode < 300) { - cb(null, data); - } else { - var retryAfter = - parseInt(httpResponse.headers["retry-after"], 10) * - 1000 || 0; - var err = util.error(new Error(), { - statusCode: statusCode, - retryable: statusCode >= 500 || statusCode === 429, - }); - if (retryAfter && err.retryable) - err.retryAfter = retryAfter; - errCallback(err); - } - }); - }, - errCallback - ); - }; +var isStream = module.exports = function (stream) { + return stream !== null && typeof stream === 'object' && typeof stream.pipe === 'function'; +}; - AWS.util.defer(sendRequest); - }, +isStream.writable = function (stream) { + return isStream(stream) && stream.writable !== false && typeof stream._write === 'function' && typeof stream._writableState === 'object'; +}; - /** - * @api private - */ - uuid: { - v4: function uuidV4() { - return __webpack_require__(3158).v4(); - }, - }, +isStream.readable = function (stream) { + return isStream(stream) && stream.readable !== false && typeof stream._read === 'function' && typeof stream._readableState === 'object'; +}; - /** - * @api private - */ - convertPayloadToString: function convertPayloadToString(resp) { - var req = resp.request; - var operation = req.operation; - var rules = req.service.api.operations[operation].output || {}; - if (rules.payload && resp.data[rules.payload]) { - resp.data[rules.payload] = resp.data[rules.payload].toString(); - } - }, +isStream.duplex = function (stream) { + return isStream.writable(stream) && isStream.readable(stream); +}; - /** - * @api private - */ - defer: function defer(callback) { - if ( - typeof process === "object" && - typeof process.nextTick === "function" - ) { - process.nextTick(callback); - } else if (typeof setImmediate === "function") { - setImmediate(callback); - } else { - setTimeout(callback, 0); - } - }, +isStream.transform = function (stream) { + return isStream.duplex(stream) && typeof stream._transform === 'function' && typeof stream._transformState === 'object'; +}; - /** - * @api private - */ - getRequestPayloadShape: function getRequestPayloadShape(req) { - var operations = req.service.api.operations; - if (!operations) return undefined; - var operation = (operations || {})[req.operation]; - if (!operation || !operation.input || !operation.input.payload) - return undefined; - return operation.input.members[operation.input.payload]; - }, - getProfilesFromSharedConfig: function getProfilesFromSharedConfig( - iniLoader, - filename - ) { - var profiles = {}; - var profilesFromConfig = {}; - if (process.env[util.configOptInEnv]) { - var profilesFromConfig = iniLoader.loadFrom({ - isConfig: true, - filename: process.env[util.sharedConfigFileEnv], - }); - } - var profilesFromCreds = iniLoader.loadFrom({ - filename: - filename || - (process.env[util.configOptInEnv] && - process.env[util.sharedCredentialsFileEnv]), - }); - for ( - var i = 0, profileNames = Object.keys(profilesFromConfig); - i < profileNames.length; - i++ - ) { - profiles[profileNames[i]] = profilesFromConfig[profileNames[i]]; - } - for ( - var i = 0, profileNames = Object.keys(profilesFromCreds); - i < profileNames.length; - i++ - ) { - profiles[profileNames[i]] = profilesFromCreds[profileNames[i]]; - } - return profiles; - }, +/***/ }), - /** - * @api private - */ - ARN: { - validate: function validateARN(str) { - return ( - str && str.indexOf("arn:") === 0 && str.split(":").length >= 6 - ); - }, - parse: function parseARN(arn) { - var matched = arn.split(":"); - return { - partition: matched[1], - service: matched[2], - region: matched[3], - accountId: matched[4], - resource: matched.slice(5).join(":"), - }; - }, - build: function buildARN(arnObject) { - if ( - arnObject.service === undefined || - arnObject.region === undefined || - arnObject.accountId === undefined || - arnObject.resource === undefined - ) - throw util.error(new Error("Input ARN object is invalid")); - return ( - "arn:" + - (arnObject.partition || "aws") + - ":" + - arnObject.service + - ":" + - arnObject.region + - ":" + - arnObject.accountId + - ":" + - arnObject.resource - ); - }, - }, +/***/ 324: +/***/ (function(module) { - /** - * @api private - */ - defaultProfile: "default", +module.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"}}}; - /** - * @api private - */ - configOptInEnv: "AWS_SDK_LOAD_CONFIG", +/***/ }), - /** - * @api private - */ - sharedCredentialsFileEnv: "AWS_SHARED_CREDENTIALS_FILE", +/***/ 332: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * @api private - */ - sharedConfigFileEnv: "AWS_CONFIG_FILE", +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /** - * @api private - */ - imdsDisabledEnv: "AWS_EC2_METADATA_DISABLED", - }; +apiLoader.services['costexplorer'] = {}; +AWS.CostExplorer = Service.defineService('costexplorer', ['2017-10-25']); +Object.defineProperty(apiLoader.services['costexplorer'], '2017-10-25', { + get: function get() { + var model = __webpack_require__(6279); + model.paginators = __webpack_require__(8755).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /** - * @api private - */ - module.exports = util; +module.exports = AWS.CostExplorer; - /***/ - }, - /***/ 155: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - DistributionDeployed: { - delay: 60, - operation: "GetDistribution", - maxAttempts: 25, - description: "Wait until a distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "Distribution.Status", - }, - ], - }, - InvalidationCompleted: { - delay: 20, - operation: "GetInvalidation", - maxAttempts: 30, - description: "Wait until an invalidation has completed.", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "Invalidation.Status", - }, - ], - }, - StreamingDistributionDeployed: { - delay: 60, - operation: "GetStreamingDistribution", - maxAttempts: 25, - description: "Wait until a streaming distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "StreamingDistribution.Status", - }, - ], - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 337: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 160: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +var util = __webpack_require__(153); - apiLoader.services["dlm"] = {}; - AWS.DLM = Service.defineService("dlm", ["2018-01-12"]); - Object.defineProperty(apiLoader.services["dlm"], "2018-01-12", { - get: function get() { - var model = __webpack_require__(1890); - model.paginators = __webpack_require__(9459).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +function JsonBuilder() { } - module.exports = AWS.DLM; +JsonBuilder.prototype.build = function(value, shape) { + return JSON.stringify(translate(value, shape)); +}; - /***/ - }, +function translate(value, shape) { + if (!shape || value === undefined || value === null) return undefined; - /***/ 170: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + switch (shape.type) { + case 'structure': return translateStructure(value, shape); + case 'map': return translateMap(value, shape); + case 'list': return translateList(value, shape); + default: return translateScalar(value, shape); + } +} + +function translateStructure(structure, shape) { + var struct = {}; + util.each(structure, function(name, value) { + var memberShape = shape.members[name]; + if (memberShape) { + if (memberShape.location !== 'body') return; + var locationName = memberShape.isLocationName ? memberShape.name : name; + var result = translate(value, memberShape); + if (result !== undefined) struct[locationName] = result; + } + }); + return struct; +} + +function translateList(list, shape) { + var out = []; + util.arrayEach(list, function(value) { + var result = translate(value, shape.member); + if (result !== undefined) out.push(result); + }); + return out; +} + +function translateMap(map, shape) { + var out = {}; + util.each(map, function(key, value) { + var result = translate(value, shape.value); + if (result !== undefined) out[key] = result; + }); + return out; +} + +function translateScalar(value, shape) { + return shape.toWireFormat(value); +} + +/** + * @api private + */ +module.exports = JsonBuilder; + + +/***/ }), + +/***/ 349: +/***/ (function(module) { + +module.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":{}}}}}; + +/***/ }), + +/***/ 363: +/***/ (function(module) { + +module.exports = register + +function register (state, name, method, options) { + if (typeof method !== 'function') { + throw new Error('method for before hook must be a function') + } - apiLoader.services["applicationautoscaling"] = {}; - AWS.ApplicationAutoScaling = Service.defineService( - "applicationautoscaling", - ["2016-02-06"] - ); - Object.defineProperty( - apiLoader.services["applicationautoscaling"], - "2016-02-06", - { - get: function get() { - var model = __webpack_require__(7359); - model.paginators = __webpack_require__(4666).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); + if (!options) { + options = {} + } - module.exports = AWS.ApplicationAutoScaling; + if (Array.isArray(name)) { + return name.reverse().reduce(function (callback, name) { + return register.bind(null, state, name, callback, options) + }, method)() + } - /***/ - }, + return Promise.resolve() + .then(function () { + if (!state.registry[name]) { + return method(options) + } + + return (state.registry[name]).reduce(function (method, registered) { + return registered.hook.bind(null, method, options) + }, method)() + }) +} + + +/***/ }), + +/***/ 370: +/***/ (function(module) { + +module.exports = {"pagination":{"ListApplicationStates":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ApplicationStateList"},"ListCreatedArtifacts":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CreatedArtifactList"},"ListDiscoveredResources":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"DiscoveredResourceList"},"ListMigrationTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"MigrationTaskSummaryList"},"ListProgressUpdateStreams":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ProgressUpdateStreamSummaryList"}}}; + +/***/ }), + +/***/ 386: +/***/ (function(module) { + +module.exports = {"pagination":{"GetChangeLogs":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetDelegations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetEvidenceByEvidenceFolder":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetEvidenceFoldersByAssessment":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetEvidenceFoldersByAssessmentControl":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListAssessmentFrameworks":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListAssessmentReports":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListAssessments":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListControls":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListKeywordsForDataSource":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListNotifications":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}}; + +/***/ }), + +/***/ 395: +/***/ (function(module, __unusedexports, __webpack_require__) { + +/** + * The main AWS namespace + */ +var AWS = { util: __webpack_require__(153) }; + +/** + * @api private + * @!macro [new] nobrowser + * @note This feature is not supported in the browser environment of the SDK. + */ +var _hidden = {}; _hidden.toString(); // hack to parse macro + +/** + * @api private + */ +module.exports = AWS; + +AWS.util.update(AWS, { + + /** + * @constant + */ + VERSION: '2.814.0', + + /** + * @api private + */ + Signers: {}, + + /** + * @api private + */ + Protocol: { + Json: __webpack_require__(9912), + Query: __webpack_require__(576), + Rest: __webpack_require__(4618), + RestJson: __webpack_require__(3315), + RestXml: __webpack_require__(9002) + }, + + /** + * @api private + */ + XML: { + Builder: __webpack_require__(2492), + Parser: null // conditionally set based on environment + }, + + /** + * @api private + */ + JSON: { + Builder: __webpack_require__(337), + Parser: __webpack_require__(9806) + }, + + /** + * @api private + */ + Model: { + Api: __webpack_require__(7788), + Operation: __webpack_require__(3964), + Shape: __webpack_require__(3682), + Paginator: __webpack_require__(6265), + ResourceWaiter: __webpack_require__(3624) + }, + + /** + * @api private + */ + apiLoader: __webpack_require__(6165), + + /** + * @api private + */ + EndpointCache: __webpack_require__(4120).EndpointCache +}); +__webpack_require__(8610); +__webpack_require__(3503); +__webpack_require__(3187); +__webpack_require__(3711); +__webpack_require__(8606); +__webpack_require__(2453); +__webpack_require__(9828); +__webpack_require__(4904); +__webpack_require__(7835); +__webpack_require__(3977); + +/** + * @readonly + * @return [AWS.SequentialExecutor] a collection of global event listeners that + * are attached to every sent request. + * @see AWS.Request AWS.Request for a list of events to listen for + * @example Logging the time taken to send a request + * AWS.events.on('send', function startSend(resp) { + * resp.startTime = new Date().getTime(); + * }).on('complete', function calculateTime(resp) { + * var time = (new Date().getTime() - resp.startTime) / 1000; + * console.log('Request took ' + time + ' seconds'); + * }); + * + * new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds' + */ +AWS.events = new AWS.SequentialExecutor(); + +//create endpoint cache lazily +AWS.util.memoizedProperty(AWS, 'endpointCache', function() { + return new AWS.EndpointCache(AWS.config.endpointCacheSize); +}, true); + + +/***/ }), + +/***/ 398: +/***/ (function(module) { + +module.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"}}}; + +/***/ }), + +/***/ 404: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var escapeAttribute = __webpack_require__(8918).escapeAttribute; + +/** + * Represents an XML node. + * @api private + */ +function XmlNode(name, children) { + if (children === void 0) { children = []; } + this.name = name; + this.children = children; + this.attributes = {}; +} +XmlNode.prototype.addAttribute = function (name, value) { + this.attributes[name] = value; + return this; +}; +XmlNode.prototype.addChildNode = function (child) { + this.children.push(child); + return this; +}; +XmlNode.prototype.removeAttribute = function (name) { + delete this.attributes[name]; + return this; +}; +XmlNode.prototype.toString = function () { + var hasChildren = Boolean(this.children.length); + var xmlText = '<' + this.name; + // add attributes + var attributes = this.attributes; + for (var i = 0, attributeNames = Object.keys(attributes); i < attributeNames.length; i++) { + var attributeName = attributeNames[i]; + var attribute = attributes[attributeName]; + if (typeof attribute !== 'undefined' && attribute !== null) { + xmlText += ' ' + attributeName + '=\"' + escapeAttribute('' + attribute) + '\"'; + } + } + return xmlText += !hasChildren ? '/>' : '>' + this.children.map(function (c) { return c.toString(); }).join('') + ''; +}; + +/** + * @api private + */ +module.exports = { + XmlNode: XmlNode +}; + + +/***/ }), + +/***/ 408: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['rdsdataservice'] = {}; +AWS.RDSDataService = Service.defineService('rdsdataservice', ['2018-08-01']); +__webpack_require__(2450); +Object.defineProperty(apiLoader.services['rdsdataservice'], '2018-08-01', { + get: function get() { + var model = __webpack_require__(8192); + model.paginators = __webpack_require__(8828).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.RDSDataService; + + +/***/ }), + +/***/ 422: +/***/ (function(module) { + +module.exports = {"pagination":{"DescribeBudgetActionHistories":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ActionHistories"},"DescribeBudgetActionsForAccount":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Actions"},"DescribeBudgetActionsForBudget":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Actions"},"DescribeBudgetPerformanceHistory":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"BudgetPerformanceHistory"},"DescribeBudgets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Budgets"},"DescribeNotificationsForBudget":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Notifications"},"DescribeSubscribersForNotification":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Subscribers"}}}; + +/***/ }), + +/***/ 437: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2009-03-31","endpointPrefix":"elasticmapreduce","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"Amazon EMR","serviceFullName":"Amazon Elastic MapReduce","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":"Su"},"JobFlowId":{}}},"output":{"type":"structure","members":{"JobFlowId":{},"InstanceGroupIds":{"type":"list","member":{}},"ClusterArn":{}}}},"AddJobFlowSteps":{"input":{"type":"structure","required":["JobFlowId","Steps"],"members":{"JobFlowId":{},"Steps":{"shape":"S1f"}}},"output":{"type":"structure","members":{"StepIds":{"shape":"S1o"}}}},"AddTags":{"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{},"Tags":{"shape":"S1r"}}},"output":{"type":"structure","members":{}}},"CancelSteps":{"input":{"type":"structure","required":["ClusterId","StepIds"],"members":{"ClusterId":{},"StepIds":{"shape":"S1o"},"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","UserRole","WorkspaceSecurityGroupId","EngineSecurityGroupId"],"members":{"Name":{},"Description":{},"AuthMode":{},"VpcId":{},"SubnetIds":{"shape":"S26"},"ServiceRole":{},"UserRole":{},"WorkspaceSecurityGroupId":{},"EngineSecurityGroupId":{},"DefaultS3Location":{},"Tags":{"shape":"S1r"}}},"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":"S2i"},"Ec2InstanceAttributes":{"type":"structure","members":{"Ec2KeyName":{},"Ec2SubnetId":{},"RequestedEc2SubnetIds":{"shape":"S2o"},"Ec2AvailabilityZone":{},"RequestedEc2AvailabilityZones":{"shape":"S2o"},"IamInstanceProfile":{},"EmrManagedMasterSecurityGroup":{},"EmrManagedSlaveSecurityGroup":{},"ServiceAccessSecurityGroup":{},"AdditionalMasterSecurityGroups":{"shape":"S2p"},"AdditionalSlaveSecurityGroups":{"shape":"S2p"}}},"InstanceCollectionType":{},"LogUri":{},"LogEncryptionKmsKeyId":{},"RequestedAmiVersion":{},"RunningAmiVersion":{},"ReleaseLabel":{},"AutoTerminate":{"type":"boolean"},"TerminationProtected":{"type":"boolean"},"VisibleToAllUsers":{"type":"boolean"},"Applications":{"shape":"S2s"},"Tags":{"shape":"S1r"},"ServiceRole":{},"NormalizedInstanceHours":{"type":"integer"},"MasterPublicDnsName":{},"Configurations":{"shape":"Sh"},"SecurityConfiguration":{},"AutoScalingRole":{},"ScaleDownBehavior":{},"CustomAmiId":{},"EbsRootVolumeSize":{"type":"integer"},"RepoUpgradeOnBoot":{},"KerberosAttributes":{"shape":"S2w"},"ClusterArn":{},"OutpostArn":{},"StepConcurrencyLevel":{"type":"integer"},"PlacementGroups":{"shape":"S2y"}}}}}},"DescribeJobFlows":{"input":{"type":"structure","members":{"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"JobFlowIds":{"shape":"S1m"},"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"}}}},"NormalizedInstanceHours":{"type":"integer"},"Ec2KeyName":{},"Ec2SubnetId":{},"Placement":{"shape":"S3c"},"KeepJobFlowAliveWhenNoSteps":{"type":"boolean"},"TerminationProtected":{"type":"boolean"},"HadoopVersion":{}}},"Steps":{"type":"list","member":{"type":"structure","required":["StepConfig","ExecutionStatusDetail"],"members":{"StepConfig":{"shape":"S1g"},"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":"S3j"}}}},"SupportedProducts":{"shape":"S3l"},"VisibleToAllUsers":{"type":"boolean"},"JobFlowRole":{},"ServiceRole":{},"AutoScalingRole":{},"ScaleDownBehavior":{}}}}}},"deprecated":true},"DescribeNotebookExecution":{"input":{"type":"structure","required":["NotebookExecutionId"],"members":{"NotebookExecutionId":{}}},"output":{"type":"structure","members":{"NotebookExecution":{"type":"structure","members":{"NotebookExecutionId":{},"EditorId":{},"ExecutionEngine":{"shape":"S3p"},"NotebookExecutionName":{},"NotebookParams":{},"Status":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Arn":{},"OutputNotebookURI":{},"LastStateChangeReason":{},"NotebookInstanceSecurityGroupId":{},"Tags":{"shape":"S1r"}}}}}},"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":"S3x"},"ActionOnFailure":{},"Status":{"shape":"S3y"}}}}}},"DescribeStudio":{"input":{"type":"structure","required":["StudioId"],"members":{"StudioId":{}}},"output":{"type":"structure","members":{"Studio":{"type":"structure","members":{"StudioId":{},"StudioArn":{},"Name":{},"Description":{},"AuthMode":{},"VpcId":{},"SubnetIds":{"shape":"S26"},"ServiceRole":{},"UserRole":{},"WorkspaceSecurityGroupId":{},"EngineSecurityGroupId":{},"Url":{},"CreationTime":{"type":"timestamp"},"DefaultS3Location":{},"Tags":{"shape":"S1r"}}}}}},"GetBlockPublicAccessConfiguration":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["BlockPublicAccessConfiguration","BlockPublicAccessConfigurationMetadata"],"members":{"BlockPublicAccessConfiguration":{"shape":"S49"},"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":"S4g"}}}},"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":"S2p"}}}},"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":"S2i"},"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":"S57"},"EbsOptimized":{"type":"boolean"}}}},"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":"S57"},"EbsOptimized":{"type":"boolean"},"ShrinkPolicy":{"shape":"S5k"},"AutoScalingPolicy":{"shape":"S5o"}}}},"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":{}}}},"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":"S1m"},"Marker":{}}},"output":{"type":"structure","members":{"Steps":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Config":{"shape":"S3x"},"ActionOnFailure":{},"Status":{"shape":"S3y"}}}},"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":{},"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":"S5k"},"Configurations":{"shape":"Sh"}}}}}}},"PutAutoScalingPolicy":{"input":{"type":"structure","required":["ClusterId","InstanceGroupId","AutoScalingPolicy"],"members":{"ClusterId":{},"InstanceGroupId":{},"AutoScalingPolicy":{"shape":"Sy"}}},"output":{"type":"structure","members":{"ClusterId":{},"InstanceGroupId":{},"AutoScalingPolicy":{"shape":"S5o"},"ClusterArn":{}}}},"PutBlockPublicAccessConfiguration":{"input":{"type":"structure","required":["BlockPublicAccessConfiguration"],"members":{"BlockPublicAccessConfiguration":{"shape":"S49"}}},"output":{"type":"structure","members":{}}},"PutManagedScalingPolicy":{"input":{"type":"structure","required":["ClusterId","ManagedScalingPolicy"],"members":{"ClusterId":{},"ManagedScalingPolicy":{"shape":"S4g"}}},"output":{"type":"structure","members":{}}},"RemoveAutoScalingPolicy":{"input":{"type":"structure","required":["ClusterId","InstanceGroupId"],"members":{"ClusterId":{},"InstanceGroupId":{}}},"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":"S2p"}}},"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":"Su"},"InstanceFleets":{"type":"list","member":{"shape":"S3"}},"Ec2KeyName":{},"Placement":{"shape":"S3c"},"KeepJobFlowAliveWhenNoSteps":{"type":"boolean"},"TerminationProtected":{"type":"boolean"},"HadoopVersion":{},"Ec2SubnetId":{},"Ec2SubnetIds":{"shape":"S2o"},"EmrManagedMasterSecurityGroup":{},"EmrManagedSlaveSecurityGroup":{},"ServiceAccessSecurityGroup":{},"AdditionalMasterSecurityGroups":{"shape":"S7e"},"AdditionalSlaveSecurityGroups":{"shape":"S7e"}}},"Steps":{"shape":"S1f"},"BootstrapActions":{"type":"list","member":{"shape":"S3j"}},"SupportedProducts":{"shape":"S3l"},"NewSupportedProducts":{"type":"list","member":{"type":"structure","members":{"Name":{},"Args":{"shape":"S1m"}}}},"Applications":{"shape":"S2s"},"Configurations":{"shape":"Sh"},"VisibleToAllUsers":{"type":"boolean"},"JobFlowRole":{},"ServiceRole":{},"Tags":{"shape":"S1r"},"SecurityConfiguration":{},"AutoScalingRole":{},"ScaleDownBehavior":{},"CustomAmiId":{},"EbsRootVolumeSize":{"type":"integer"},"RepoUpgradeOnBoot":{},"KerberosAttributes":{"shape":"S2w"},"StepConcurrencyLevel":{"type":"integer"},"ManagedScalingPolicy":{"shape":"S4g"},"PlacementGroupConfigs":{"shape":"S2y"}}},"output":{"type":"structure","members":{"JobFlowId":{},"ClusterArn":{}}}},"SetTerminationProtection":{"input":{"type":"structure","required":["JobFlowIds","TerminationProtected"],"members":{"JobFlowIds":{"shape":"S1m"},"TerminationProtected":{"type":"boolean"}}}},"SetVisibleToAllUsers":{"input":{"type":"structure","required":["JobFlowIds","VisibleToAllUsers"],"members":{"JobFlowIds":{"shape":"S1m"},"VisibleToAllUsers":{"type":"boolean"}}}},"StartNotebookExecution":{"input":{"type":"structure","required":["EditorId","RelativePath","ExecutionEngine","ServiceRole"],"members":{"EditorId":{},"RelativePath":{},"NotebookExecutionName":{},"NotebookParams":{},"ExecutionEngine":{"shape":"S3p"},"ServiceRole":{},"NotebookInstanceSecurityGroupId":{},"Tags":{"shape":"S1r"}}},"output":{"type":"structure","members":{"NotebookExecutionId":{}}}},"StopNotebookExecution":{"input":{"type":"structure","required":["NotebookExecutionId"],"members":{"NotebookExecutionId":{}}}},"TerminateJobFlows":{"input":{"type":"structure","required":["JobFlowIds"],"members":{"JobFlowIds":{"shape":"S1m"}}}},"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"}}}},"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":{}}}}},"Su":{"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":"Sy"}}}},"Sy":{"type":"structure","required":["Constraints","Rules"],"members":{"Constraints":{"shape":"Sz"},"Rules":{"shape":"S10"}}},"Sz":{"type":"structure","required":["MinCapacity","MaxCapacity"],"members":{"MinCapacity":{"type":"integer"},"MaxCapacity":{"type":"integer"}}},"S10":{"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":{}}}}}}}}}}},"S1f":{"type":"list","member":{"shape":"S1g"}},"S1g":{"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":"S1m"}}}}},"S1m":{"type":"list","member":{}},"S1o":{"type":"list","member":{}},"S1r":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"S26":{"type":"list","member":{}},"S2i":{"type":"structure","members":{"State":{},"StateChangeReason":{"type":"structure","members":{"Code":{},"Message":{}}},"Timeline":{"type":"structure","members":{"CreationDateTime":{"type":"timestamp"},"ReadyDateTime":{"type":"timestamp"},"EndDateTime":{"type":"timestamp"}}}}},"S2o":{"type":"list","member":{}},"S2p":{"type":"list","member":{}},"S2s":{"type":"list","member":{"type":"structure","members":{"Name":{},"Version":{},"Args":{"shape":"S2p"},"AdditionalInfo":{"shape":"Sj"}}}},"S2w":{"type":"structure","required":["Realm","KdcAdminPassword"],"members":{"Realm":{},"KdcAdminPassword":{},"CrossRealmTrustPrincipalPassword":{},"ADDomainJoinUser":{},"ADDomainJoinPassword":{}}},"S2y":{"type":"list","member":{"type":"structure","required":["InstanceRole"],"members":{"InstanceRole":{},"PlacementStrategy":{}}}},"S3c":{"type":"structure","members":{"AvailabilityZone":{},"AvailabilityZones":{"shape":"S2o"}}},"S3j":{"type":"structure","required":["Name","ScriptBootstrapAction"],"members":{"Name":{},"ScriptBootstrapAction":{"type":"structure","required":["Path"],"members":{"Path":{},"Args":{"shape":"S1m"}}}}},"S3l":{"type":"list","member":{}},"S3p":{"type":"structure","required":["Id"],"members":{"Id":{},"Type":{},"MasterInstanceSecurityGroupId":{}}},"S3x":{"type":"structure","members":{"Jar":{},"Properties":{"shape":"Sj"},"MainClass":{},"Args":{"shape":"S2p"}}},"S3y":{"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"}}}}},"S49":{"type":"structure","required":["BlockPublicSecurityGroupRules"],"members":{"BlockPublicSecurityGroupRules":{"type":"boolean"},"PermittedPublicSecurityGroupRuleRanges":{"type":"list","member":{"type":"structure","required":["MinRange"],"members":{"MinRange":{"type":"integer"},"MaxRange":{"type":"integer"}}}}}},"S4g":{"type":"structure","members":{"ComputeLimits":{"type":"structure","required":["UnitType","MinimumCapacityUnits","MaximumCapacityUnits"],"members":{"UnitType":{},"MinimumCapacityUnits":{"type":"integer"},"MaximumCapacityUnits":{"type":"integer"},"MaximumOnDemandCapacityUnits":{"type":"integer"},"MaximumCoreCapacityUnits":{"type":"integer"}}}}},"S57":{"type":"list","member":{"type":"structure","members":{"VolumeSpecification":{"shape":"Sd"},"Device":{}}}},"S5k":{"type":"structure","members":{"DecommissionTimeout":{"type":"integer"},"InstanceResizePolicy":{"type":"structure","members":{"InstancesToTerminate":{"shape":"S5m"},"InstancesToProtect":{"shape":"S5m"},"InstanceTerminationTimeout":{"type":"integer"}}}}},"S5m":{"type":"list","member":{}},"S5o":{"type":"structure","members":{"Status":{"type":"structure","members":{"State":{},"StateChangeReason":{"type":"structure","members":{"Code":{},"Message":{}}}}},"Constraints":{"shape":"Sz"},"Rules":{"shape":"S10"}}},"S7e":{"type":"list","member":{}}}}; + +/***/ }), + +/***/ 439: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var util = __webpack_require__(153); + +function QueryParamSerializer() { +} + +QueryParamSerializer.prototype.serialize = function(params, shape, fn) { + serializeStructure('', params, shape, fn); +}; + +function ucfirst(shape) { + if (shape.isQueryName || shape.api.protocol !== 'ec2') { + return shape.name; + } else { + return shape.name[0].toUpperCase() + shape.name.substr(1); + } +} + +function serializeStructure(prefix, struct, rules, fn) { + util.each(rules.members, function(name, member) { + var value = struct[name]; + if (value === null || value === undefined) return; + + var memberName = ucfirst(member); + memberName = prefix ? prefix + '.' + memberName : memberName; + serializeMember(memberName, value, member, fn); + }); +} + +function serializeMap(name, map, rules, fn) { + var i = 1; + util.each(map, function (key, value) { + var prefix = rules.flattened ? '.' : '.entry.'; + var position = prefix + (i++) + '.'; + var keyName = position + (rules.key.name || 'key'); + var valueName = position + (rules.value.name || 'value'); + serializeMember(name + keyName, key, rules.key, fn); + serializeMember(name + valueName, value, rules.value, fn); + }); +} + +function serializeList(name, list, rules, fn) { + var memberRules = rules.member || {}; + + if (list.length === 0) { + fn.call(this, name, null); + return; + } - /***/ 184: /***/ function (module) { - module.exports = { - pagination: { - DescribeAddresses: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "Addresses", - }, - ListJobs: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "JobListEntries", - }, - }, - }; + util.arrayEach(list, function (v, n) { + var suffix = '.' + (n + 1); + if (rules.api.protocol === 'ec2') { + // Do nothing for EC2 + suffix = suffix + ''; // make linter happy + } else if (rules.flattened) { + if (memberRules.name) { + var parts = name.split('.'); + parts.pop(); + parts.push(ucfirst(memberRules)); + name = parts.join('.'); + } + } else { + suffix = '.' + (memberRules.name ? memberRules.name : 'member') + suffix; + } + serializeMember(name + suffix, v, memberRules, fn); + }); +} + +function serializeMember(name, value, rules, fn) { + if (value === null || value === undefined) return; + if (rules.type === 'structure') { + serializeStructure(name, value, rules, fn); + } else if (rules.type === 'list') { + serializeList(name, value, rules, fn); + } else if (rules.type === 'map') { + serializeMap(name, value, rules, fn); + } else { + fn(name, rules.toWireFormat(value).toString()); + } +} - /***/ - }, +/** + * @api private + */ +module.exports = QueryParamSerializer; - /***/ 215: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["resourcegroups"] = {}; - AWS.ResourceGroups = Service.defineService("resourcegroups", [ - "2017-11-27", - ]); - Object.defineProperty( - apiLoader.services["resourcegroups"], - "2017-11-27", - { - get: function get() { - var model = __webpack_require__(223); - model.paginators = __webpack_require__(8096).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - module.exports = AWS.ResourceGroups; +/***/ }), - /***/ - }, +/***/ 445: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 216: /***/ function (module) { - module.exports = { - pagination: { - DescribeBackups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeClusters: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListTags: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +/** + * What is necessary to create an event stream in node? + * - http response stream + * - parser + * - event stream model + */ - /***/ - }, +var EventMessageChunkerStream = __webpack_require__(3862).EventMessageChunkerStream; +var EventUnmarshallerStream = __webpack_require__(8723).EventUnmarshallerStream; - /***/ 223: /***/ function (module) { - module.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", "ResourceQuery"], - members: { - Name: {}, - Description: {}, - ResourceQuery: { shape: "S4" }, - Tags: { shape: "S7" }, - }, - }, - output: { - type: "structure", - members: { - Group: { shape: "Sb" }, - ResourceQuery: { shape: "S4" }, - Tags: { shape: "S7" }, - }, - }, - }, - DeleteGroup: { - http: { method: "DELETE", requestUri: "/groups/{GroupName}" }, - input: { - type: "structure", - required: ["GroupName"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - }, - }, - output: { type: "structure", members: { Group: { shape: "Sb" } } }, - }, - GetGroup: { - http: { method: "GET", requestUri: "/groups/{GroupName}" }, - input: { - type: "structure", - required: ["GroupName"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - }, - }, - output: { type: "structure", members: { Group: { shape: "Sb" } } }, - }, - GetGroupQuery: { - http: { method: "GET", requestUri: "/groups/{GroupName}/query" }, - input: { - type: "structure", - required: ["GroupName"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - }, - }, - output: { - type: "structure", - members: { GroupQuery: { shape: "Sj" } }, - }, - }, - 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" } }, - }, - }, - ListGroupResources: { - http: { - requestUri: "/groups/{GroupName}/resource-identifiers-list", - }, - input: { - type: "structure", - required: ["GroupName"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - 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: { - ResourceIdentifiers: { shape: "Sv" }, - NextToken: {}, - QueryErrors: { shape: "Sz" }, - }, - }, - }, - 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: true, - deprecatedMessage: - "This field is deprecated, use GroupIdentifiers instead.", - type: "list", - member: { shape: "Sb" }, - }, - NextToken: {}, - }, - }, - }, - SearchResources: { - http: { requestUri: "/resources/search" }, - input: { - type: "structure", - required: ["ResourceQuery"], - members: { - ResourceQuery: { shape: "S4" }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - ResourceIdentifiers: { shape: "Sv" }, - NextToken: {}, - QueryErrors: { shape: "Sz" }, - }, - }, - }, - 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" } }, - }, - }, - Untag: { - http: { method: "PATCH", requestUri: "/resources/{Arn}/tags" }, - input: { - type: "structure", - required: ["Arn", "Keys"], - members: { - Arn: { location: "uri", locationName: "Arn" }, - Keys: { shape: "S1i" }, - }, - }, - output: { - type: "structure", - members: { Arn: {}, Keys: { shape: "S1i" } }, - }, - }, - UpdateGroup: { - http: { method: "PUT", requestUri: "/groups/{GroupName}" }, - input: { - type: "structure", - required: ["GroupName"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - Description: {}, - }, - }, - output: { type: "structure", members: { Group: { shape: "Sb" } } }, - }, - UpdateGroupQuery: { - http: { method: "PUT", requestUri: "/groups/{GroupName}/query" }, - input: { - type: "structure", - required: ["GroupName", "ResourceQuery"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - ResourceQuery: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { GroupQuery: { shape: "Sj" } }, - }, - }, - }, - shapes: { - S4: { - type: "structure", - required: ["Type", "Query"], - members: { Type: {}, Query: {} }, - }, - S7: { type: "map", key: {}, value: {} }, - Sb: { - type: "structure", - required: ["GroupArn", "Name"], - members: { GroupArn: {}, Name: {}, Description: {} }, - }, - Sj: { - type: "structure", - required: ["GroupName", "ResourceQuery"], - members: { GroupName: {}, ResourceQuery: { shape: "S4" } }, - }, - Sv: { - type: "list", - member: { - type: "structure", - members: { ResourceArn: {}, ResourceType: {} }, - }, - }, - Sz: { - type: "list", - member: { - type: "structure", - members: { ErrorCode: {}, Message: {} }, - }, - }, - S1i: { type: "list", member: {} }, - }, - }; +function createEventStream(stream, parser, model) { + var eventStream = new EventUnmarshallerStream({ + parser: parser, + eventStreamModel: model + }); - /***/ - }, + var eventMessageChunker = new EventMessageChunkerStream(); - /***/ 232: /***/ function (module) { - 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: { - CreateVocabulary: { - input: { - type: "structure", - required: ["VocabularyName", "LanguageCode"], - members: { - VocabularyName: {}, - LanguageCode: {}, - Phrases: { shape: "S4" }, - VocabularyFileUri: {}, - }, - }, - output: { - type: "structure", - members: { - VocabularyName: {}, - LanguageCode: {}, - VocabularyState: {}, - LastModifiedTime: { type: "timestamp" }, - FailureReason: {}, - }, - }, - }, - CreateVocabularyFilter: { - input: { - type: "structure", - required: ["VocabularyFilterName", "LanguageCode"], - members: { - VocabularyFilterName: {}, - LanguageCode: {}, - Words: { shape: "Sd" }, - VocabularyFilterFileUri: {}, - }, - }, - output: { - type: "structure", - members: { - VocabularyFilterName: {}, - LanguageCode: {}, - LastModifiedTime: { type: "timestamp" }, - }, - }, - }, - DeleteMedicalTranscriptionJob: { - input: { - type: "structure", - required: ["MedicalTranscriptionJobName"], - members: { MedicalTranscriptionJobName: {} }, - }, - }, - DeleteTranscriptionJob: { - input: { - type: "structure", - required: ["TranscriptionJobName"], - members: { TranscriptionJobName: {} }, - }, - }, - DeleteVocabulary: { - input: { - type: "structure", - required: ["VocabularyName"], - members: { VocabularyName: {} }, - }, - }, - DeleteVocabularyFilter: { - input: { - type: "structure", - required: ["VocabularyFilterName"], - members: { VocabularyFilterName: {} }, - }, - }, - GetMedicalTranscriptionJob: { - input: { - type: "structure", - required: ["MedicalTranscriptionJobName"], - members: { MedicalTranscriptionJobName: {} }, - }, - output: { - type: "structure", - members: { MedicalTranscriptionJob: { shape: "Sn" } }, - }, - }, - GetTranscriptionJob: { - input: { - type: "structure", - required: ["TranscriptionJobName"], - members: { TranscriptionJobName: {} }, - }, - output: { - type: "structure", - members: { TranscriptionJob: { shape: "S11" } }, - }, - }, - 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: {}, - }, - }, - }, - 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: {}, - Type: {}, - }, - }, - }, - }, - }, - }, - 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: "S17" }, - }, - }, - }, - }, - }, - }, - ListVocabularies: { - input: { - type: "structure", - members: { - NextToken: {}, - MaxResults: { type: "integer" }, - StateEquals: {}, - NameContains: {}, - }, - }, - output: { - type: "structure", - members: { - Status: {}, - NextToken: {}, - Vocabularies: { - type: "list", - member: { - type: "structure", - members: { - VocabularyName: {}, - LanguageCode: {}, - LastModifiedTime: { type: "timestamp" }, - VocabularyState: {}, - }, - }, - }, - }, - }, - }, - 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" }, - }, - }, - }, - }, - }, - }, - StartMedicalTranscriptionJob: { - input: { - type: "structure", - required: [ - "MedicalTranscriptionJobName", - "LanguageCode", - "Media", - "OutputBucketName", - "Specialty", - "Type", - ], - members: { - MedicalTranscriptionJobName: {}, - LanguageCode: {}, - MediaSampleRateHertz: { type: "integer" }, - MediaFormat: {}, - Media: { shape: "Sr" }, - OutputBucketName: {}, - OutputEncryptionKMSKeyId: {}, - Settings: { shape: "St" }, - Specialty: {}, - Type: {}, - }, - }, - output: { - type: "structure", - members: { MedicalTranscriptionJob: { shape: "Sn" } }, - }, - }, - StartTranscriptionJob: { - input: { - type: "structure", - required: ["TranscriptionJobName", "LanguageCode", "Media"], - members: { - TranscriptionJobName: {}, - LanguageCode: {}, - MediaSampleRateHertz: { type: "integer" }, - MediaFormat: {}, - Media: { shape: "Sr" }, - OutputBucketName: {}, - OutputEncryptionKMSKeyId: {}, - Settings: { shape: "S13" }, - JobExecutionSettings: { shape: "S15" }, - ContentRedaction: { shape: "S17" }, - }, - }, - output: { - type: "structure", - members: { TranscriptionJob: { shape: "S11" } }, - }, - }, - UpdateVocabulary: { - input: { - type: "structure", - required: ["VocabularyName", "LanguageCode"], - members: { - VocabularyName: {}, - LanguageCode: {}, - Phrases: { shape: "S4" }, - VocabularyFileUri: {}, - }, - }, - output: { - type: "structure", - members: { - VocabularyName: {}, - LanguageCode: {}, - LastModifiedTime: { type: "timestamp" }, - VocabularyState: {}, - }, - }, - }, - UpdateVocabularyFilter: { - input: { - type: "structure", - required: ["VocabularyFilterName"], - members: { - VocabularyFilterName: {}, - Words: { shape: "Sd" }, - VocabularyFilterFileUri: {}, - }, - }, - output: { - type: "structure", - members: { - VocabularyFilterName: {}, - LanguageCode: {}, - LastModifiedTime: { type: "timestamp" }, - }, - }, - }, - }, - shapes: { - S4: { type: "list", member: {} }, - Sd: { type: "list", member: {} }, - Sn: { - type: "structure", - members: { - MedicalTranscriptionJobName: {}, - TranscriptionJobStatus: {}, - LanguageCode: {}, - MediaSampleRateHertz: { type: "integer" }, - MediaFormat: {}, - Media: { shape: "Sr" }, - Transcript: { - type: "structure", - members: { TranscriptFileUri: {} }, - }, - StartTime: { type: "timestamp" }, - CreationTime: { type: "timestamp" }, - CompletionTime: { type: "timestamp" }, - FailureReason: {}, - Settings: { shape: "St" }, - Specialty: {}, - Type: {}, - }, - }, - Sr: { type: "structure", members: { MediaFileUri: {} } }, - St: { - type: "structure", - members: { - ShowSpeakerLabels: { type: "boolean" }, - MaxSpeakerLabels: { type: "integer" }, - ChannelIdentification: { type: "boolean" }, - ShowAlternatives: { type: "boolean" }, - MaxAlternatives: { type: "integer" }, - }, - }, - S11: { - type: "structure", - members: { - TranscriptionJobName: {}, - TranscriptionJobStatus: {}, - LanguageCode: {}, - MediaSampleRateHertz: { type: "integer" }, - MediaFormat: {}, - Media: { shape: "Sr" }, - Transcript: { - type: "structure", - members: { - TranscriptFileUri: {}, - RedactedTranscriptFileUri: {}, - }, - }, - StartTime: { type: "timestamp" }, - CreationTime: { type: "timestamp" }, - CompletionTime: { type: "timestamp" }, - FailureReason: {}, - Settings: { shape: "S13" }, - JobExecutionSettings: { shape: "S15" }, - ContentRedaction: { shape: "S17" }, - }, - }, - S13: { - type: "structure", - members: { - VocabularyName: {}, - ShowSpeakerLabels: { type: "boolean" }, - MaxSpeakerLabels: { type: "integer" }, - ChannelIdentification: { type: "boolean" }, - ShowAlternatives: { type: "boolean" }, - MaxAlternatives: { type: "integer" }, - VocabularyFilterName: {}, - VocabularyFilterMethod: {}, - }, - }, - S15: { - type: "structure", - members: { - AllowDeferredExecution: { type: "boolean" }, - DataAccessRoleArn: {}, - }, - }, - S17: { - type: "structure", - required: ["RedactionType", "RedactionOutput"], - members: { RedactionType: {}, RedactionOutput: {} }, - }, - }, - }; + stream.pipe( + eventMessageChunker + ).pipe(eventStream); - /***/ - }, + stream.on('error', function(err) { + eventMessageChunker.emit('error', err); + }); - /***/ 240: /***/ function (module) { - module.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", - }, - ListSecurityConfigurations: { - input_token: "Marker", - output_token: "Marker", - result_key: "SecurityConfigurations", - }, - ListSteps: { - input_token: "Marker", - output_token: "Marker", - result_key: "Steps", - }, - }, - }; + eventMessageChunker.on('error', function(err) { + eventStream.emit('error', err); + }); - /***/ - }, + return eventStream; +} - /***/ 280: /***/ function (module) { - module.exports = { pagination: {} }; +/** + * @api private + */ +module.exports = { + createEventStream: createEventStream +}; - /***/ - }, - /***/ 287: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2012-10-29", - endpointPrefix: "datapipeline", - jsonVersion: "1.1", - serviceFullName: "AWS Data Pipeline", - serviceId: "Data Pipeline", - signatureVersion: "v4", - targetPrefix: "DataPipeline", - protocol: "json", - uid: "datapipeline-2012-10-29", - }, - operations: { - ActivatePipeline: { - input: { - type: "structure", - required: ["pipelineId"], - members: { - pipelineId: {}, - parameterValues: { shape: "S3" }, - startTimestamp: { type: "timestamp" }, - }, - }, - output: { type: "structure", members: {} }, - }, - AddTags: { - input: { - type: "structure", - required: ["pipelineId", "tags"], - members: { pipelineId: {}, tags: { shape: "Sa" } }, - }, - output: { type: "structure", members: {} }, - }, - CreatePipeline: { - input: { - type: "structure", - required: ["name", "uniqueId"], - members: { - name: {}, - uniqueId: {}, - description: {}, - tags: { shape: "Sa" }, - }, - }, - output: { - type: "structure", - required: ["pipelineId"], - members: { pipelineId: {} }, - }, - }, - DeactivatePipeline: { - input: { - type: "structure", - required: ["pipelineId"], - members: { pipelineId: {}, cancelActive: { type: "boolean" } }, - }, - output: { type: "structure", members: {} }, - }, - DeletePipeline: { - input: { - type: "structure", - required: ["pipelineId"], - members: { pipelineId: {} }, - }, - }, - DescribeObjects: { - input: { - type: "structure", - required: ["pipelineId", "objectIds"], - members: { - pipelineId: {}, - objectIds: { shape: "Sn" }, - evaluateExpressions: { type: "boolean" }, - marker: {}, - }, - }, - output: { - type: "structure", - required: ["pipelineObjects"], - members: { - pipelineObjects: { shape: "Sq" }, - marker: {}, - hasMoreResults: { type: "boolean" }, - }, - }, - }, - DescribePipelines: { - input: { - type: "structure", - required: ["pipelineIds"], - members: { pipelineIds: { shape: "Sn" } }, - }, - output: { - type: "structure", - required: ["pipelineDescriptionList"], - members: { - pipelineDescriptionList: { - type: "list", - member: { - type: "structure", - required: ["pipelineId", "name", "fields"], - members: { - pipelineId: {}, - name: {}, - fields: { shape: "Ss" }, - description: {}, - tags: { shape: "Sa" }, - }, - }, - }, - }, - }, - }, - EvaluateExpression: { - input: { - type: "structure", - required: ["pipelineId", "objectId", "expression"], - members: { pipelineId: {}, objectId: {}, expression: {} }, - }, - output: { - type: "structure", - required: ["evaluatedExpression"], - members: { evaluatedExpression: {} }, - }, - }, - GetPipelineDefinition: { - input: { - type: "structure", - required: ["pipelineId"], - members: { pipelineId: {}, version: {} }, - }, - output: { - type: "structure", - members: { - pipelineObjects: { shape: "Sq" }, - parameterObjects: { shape: "S13" }, - parameterValues: { shape: "S3" }, - }, - }, - }, - ListPipelines: { - input: { type: "structure", members: { marker: {} } }, - output: { - type: "structure", - required: ["pipelineIdList"], - members: { - pipelineIdList: { - type: "list", - member: { type: "structure", members: { id: {}, name: {} } }, - }, - marker: {}, - hasMoreResults: { type: "boolean" }, - }, - }, - }, - PollForTask: { - input: { - type: "structure", - required: ["workerGroup"], - members: { - workerGroup: {}, - hostname: {}, - instanceIdentity: { - type: "structure", - members: { document: {}, signature: {} }, - }, - }, - }, - output: { - type: "structure", - members: { - taskObject: { - type: "structure", - members: { - taskId: {}, - pipelineId: {}, - attemptId: {}, - objects: { type: "map", key: {}, value: { shape: "Sr" } }, - }, - }, - }, - }, - }, - PutPipelineDefinition: { - input: { - type: "structure", - required: ["pipelineId", "pipelineObjects"], - members: { - pipelineId: {}, - pipelineObjects: { shape: "Sq" }, - parameterObjects: { shape: "S13" }, - parameterValues: { shape: "S3" }, - }, - }, - output: { - type: "structure", - required: ["errored"], - members: { - validationErrors: { shape: "S1l" }, - validationWarnings: { shape: "S1p" }, - errored: { type: "boolean" }, - }, - }, - }, - QueryObjects: { - input: { - type: "structure", - required: ["pipelineId", "sphere"], - members: { - pipelineId: {}, - query: { - type: "structure", - members: { - selectors: { - type: "list", - member: { - type: "structure", - members: { - fieldName: {}, - operator: { - type: "structure", - members: { type: {}, values: { shape: "S1x" } }, - }, - }, - }, - }, - }, - }, - sphere: {}, - marker: {}, - limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - ids: { shape: "Sn" }, - marker: {}, - hasMoreResults: { type: "boolean" }, - }, - }, - }, - RemoveTags: { - input: { - type: "structure", - required: ["pipelineId", "tagKeys"], - members: { pipelineId: {}, tagKeys: { shape: "S1x" } }, - }, - output: { type: "structure", members: {} }, - }, - ReportTaskProgress: { - input: { - type: "structure", - required: ["taskId"], - members: { taskId: {}, fields: { shape: "Ss" } }, - }, - output: { - type: "structure", - required: ["canceled"], - members: { canceled: { type: "boolean" } }, - }, - }, - ReportTaskRunnerHeartbeat: { - input: { - type: "structure", - required: ["taskrunnerId"], - members: { taskrunnerId: {}, workerGroup: {}, hostname: {} }, - }, - output: { - type: "structure", - required: ["terminate"], - members: { terminate: { type: "boolean" } }, - }, - }, - SetStatus: { - input: { - type: "structure", - required: ["pipelineId", "objectIds", "status"], - members: { - pipelineId: {}, - objectIds: { shape: "Sn" }, - status: {}, - }, - }, - }, - SetTaskStatus: { - input: { - type: "structure", - required: ["taskId", "taskStatus"], - members: { - taskId: {}, - taskStatus: {}, - errorId: {}, - errorMessage: {}, - errorStackTrace: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - ValidatePipelineDefinition: { - input: { - type: "structure", - required: ["pipelineId", "pipelineObjects"], - members: { - pipelineId: {}, - pipelineObjects: { shape: "Sq" }, - parameterObjects: { shape: "S13" }, - parameterValues: { shape: "S3" }, - }, - }, - output: { - type: "structure", - required: ["errored"], - members: { - validationErrors: { shape: "S1l" }, - validationWarnings: { shape: "S1p" }, - errored: { type: "boolean" }, - }, - }, - }, - }, - shapes: { - S3: { - type: "list", - member: { - type: "structure", - required: ["id", "stringValue"], - members: { id: {}, stringValue: {} }, - }, - }, - Sa: { - type: "list", - member: { - type: "structure", - required: ["key", "value"], - members: { key: {}, value: {} }, - }, - }, - Sn: { type: "list", member: {} }, - Sq: { type: "list", member: { shape: "Sr" } }, - Sr: { - type: "structure", - required: ["id", "name", "fields"], - members: { id: {}, name: {}, fields: { shape: "Ss" } }, - }, - Ss: { - type: "list", - member: { - type: "structure", - required: ["key"], - members: { key: {}, stringValue: {}, refValue: {} }, - }, - }, - S13: { - type: "list", - member: { - type: "structure", - required: ["id", "attributes"], - members: { - id: {}, - attributes: { - type: "list", - member: { - type: "structure", - required: ["key", "stringValue"], - members: { key: {}, stringValue: {} }, - }, - }, - }, - }, - }, - S1l: { - type: "list", - member: { - type: "structure", - members: { id: {}, errors: { shape: "S1n" } }, - }, - }, - S1n: { type: "list", member: {} }, - S1p: { - type: "list", - member: { - type: "structure", - members: { id: {}, warnings: { shape: "S1n" } }, - }, - }, - S1x: { type: "list", member: {} }, - }, - }; +/***/ }), - /***/ - }, +/***/ 462: +/***/ (function(module) { - /***/ 299: /***/ function (__unusedmodule, exports) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - - const VERSION = "1.1.2"; - - /** - * Some “list” response that can be paginated have a different response structure - * - * They have a `total_count` key in the response (search also has `incomplete_results`, - * /installation/repositories also has `repository_selection`), as well as a key with - * the list of the items which name varies from endpoint to endpoint: - * - * - https://developer.github.com/v3/search/#example (key `items`) - * - https://developer.github.com/v3/checks/runs/#response-3 (key: `check_runs`) - * - https://developer.github.com/v3/checks/suites/#response-1 (key: `check_suites`) - * - https://developer.github.com/v3/apps/installations/#list-repositories (key: `repositories`) - * - https://developer.github.com/v3/apps/installations/#list-installations-for-a-user (key `installations`) - * - * Octokit normalizes these responses so that paginated results are always returned following - * the same structure. One challenge is that if the list response has only one page, no Link - * header is provided, so this header alone is not sufficient to check wether a response is - * paginated or not. For the exceptions with the namespace, a fallback check for the route - * paths has to be added in order to normalize the response. We cannot check for the total_count - * property because it also exists in the response of Get the combined status for a specific ref. - */ - const REGEX = [ - /^\/search\//, - /^\/repos\/[^/]+\/[^/]+\/commits\/[^/]+\/(check-runs|check-suites)([^/]|$)/, - /^\/installation\/repositories([^/]|$)/, - /^\/user\/installations([^/]|$)/, - /^\/repos\/[^/]+\/[^/]+\/actions\/secrets([^/]|$)/, - /^\/repos\/[^/]+\/[^/]+\/actions\/workflows(\/[^/]+\/runs)?([^/]|$)/, - /^\/repos\/[^/]+\/[^/]+\/actions\/runs(\/[^/]+\/(artifacts|jobs))?([^/]|$)/, - ]; - function normalizePaginatedListResponse(octokit, url, response) { - const path = url.replace(octokit.request.endpoint.DEFAULTS.baseUrl, ""); - const responseNeedsNormalization = REGEX.find((regex) => - regex.test(path) - ); - if (!responseNeedsNormalization) return; // keep the additional properties intact as there is currently no other way - // to retrieve the same information. - - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } +"use strict"; - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - response.data.total_count = totalCount; - Object.defineProperty(response.data, namespaceKey, { - get() { - octokit.log.warn( - `[@octokit/paginate-rest] "response.data.${namespaceKey}" is deprecated for "GET ${path}". Get the results directly from "response.data"` - ); - return Array.from(data); - }, - }); - } +// See http://www.robvanderwoude.com/escapechars.php +const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g; - function iterator(octokit, route, parameters) { - const options = octokit.request.endpoint(route, parameters); - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - next() { - if (!url) { - return Promise.resolve({ - done: true, - }); - } +function escapeCommand(arg) { + // Escape meta chars + arg = arg.replace(metaCharsRegExp, '^$1'); - return octokit - .request({ - method, - url, - headers, - }) - .then((response) => { - normalizePaginatedListResponse(octokit, url, response); // `response.headers.link` format: - // '; rel="next", ; rel="last"' - // sets `url` to undefined if "next" URL is not present or `link` header is not set - - url = ((response.headers.link || "").match( - /<([^>]+)>;\s*rel="next"/ - ) || [])[1]; - return { - value: response, - }; - }); - }, - }), - }; - } + return arg; +} - function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = undefined; - } +function escapeArgument(arg, doubleEscapeMetaChars) { + // Convert to string + arg = `${arg}`; - return gather( - octokit, - [], - iterator(octokit, route, parameters)[Symbol.asyncIterator](), - mapFn - ); - } + // Algorithm below is based on https://qntm.org/cmd - function gather(octokit, results, iterator, mapFn) { - return iterator.next().then((result) => { - if (result.done) { - return results; - } + // Sequence of backslashes followed by a double quote: + // double up all the backslashes and escape the double quote + arg = arg.replace(/(\\*)"/g, '$1$1\\"'); - let earlyExit = false; + // Sequence of backslashes followed by the end of the string + // (which will become a double quote later): + // double up all the backslashes + arg = arg.replace(/(\\*)$/, '$1$1'); - function done() { - earlyExit = true; - } + // All other backslashes occur literally - results = results.concat( - mapFn ? mapFn(result.value, done) : result.value.data - ); + // Quote the whole thing: + arg = `"${arg}"`; - if (earlyExit) { - return results; - } + // Escape meta chars + arg = arg.replace(metaCharsRegExp, '^$1'); - return gather(octokit, results, iterator, mapFn); - }); - } + // Double escape meta chars if necessary + if (doubleEscapeMetaChars) { + arg = arg.replace(metaCharsRegExp, '^$1'); + } - /** - * @param octokit Octokit instance - * @param options Options passed to Octokit constructor - */ + return arg; +} - function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit), - }), - }; - } - paginateRest.VERSION = VERSION; +module.exports.command = escapeCommand; +module.exports.argument = escapeArgument; - exports.paginateRest = paginateRest; - //# sourceMappingURL=index.js.map - /***/ - }, +/***/ }), - /***/ 312: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLDocument, - XMLDocumentCB, - XMLStreamWriter, - XMLStringWriter, - assign, - isFunction, - ref; +/***/ 466: +/***/ (function(module, __unusedexports, __webpack_require__) { - (ref = __webpack_require__(8582)), - (assign = ref.assign), - (isFunction = ref.isFunction); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - XMLDocument = __webpack_require__(8559); +apiLoader.services['mediatailor'] = {}; +AWS.MediaTailor = Service.defineService('mediatailor', ['2018-04-23']); +Object.defineProperty(apiLoader.services['mediatailor'], '2018-04-23', { + get: function get() { + var model = __webpack_require__(8892); + model.paginators = __webpack_require__(5369).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - XMLDocumentCB = __webpack_require__(9768); +module.exports = AWS.MediaTailor; - XMLStringWriter = __webpack_require__(2750); - XMLStreamWriter = __webpack_require__(3458); +/***/ }), - module.exports.create = function (name, xmldec, doctype, options) { - var doc, root; - if (name == null) { - throw new Error("Root element needs a name"); - } - options = assign({}, xmldec, doctype, options); - doc = new XMLDocument(options); - root = doc.element(name); - if (!options.headless) { - doc.declaration(options); - if (options.pubID != null || options.sysID != null) { - doc.doctype(options); - } - } - return root; - }; +/***/ 469: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports.begin = function (options, onData, onEnd) { - var ref1; - if (isFunction(options)) { - (ref1 = [options, onData]), (onData = ref1[0]), (onEnd = ref1[1]); - options = {}; - } - if (onData) { - return new XMLDocumentCB(options, onData, onEnd); - } else { - return new XMLDocument(options); - } - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - module.exports.stringWriter = function (options) { - return new XMLStringWriter(options); - }; +apiLoader.services['clouddirectory'] = {}; +AWS.CloudDirectory = Service.defineService('clouddirectory', ['2016-05-10', '2016-05-10*', '2017-01-11']); +Object.defineProperty(apiLoader.services['clouddirectory'], '2016-05-10', { + get: function get() { + var model = __webpack_require__(6869); + model.paginators = __webpack_require__(1287).pagination; + return model; + }, + enumerable: true, + configurable: true +}); +Object.defineProperty(apiLoader.services['clouddirectory'], '2017-01-11', { + get: function get() { + var model = __webpack_require__(2638); + model.paginators = __webpack_require__(8910).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - module.exports.streamWriter = function (stream, options) { - return new XMLStreamWriter(stream, options); - }; - }.call(this)); +module.exports = AWS.CloudDirectory; - /***/ - }, - /***/ 320: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-07-11", - endpointPrefix: "session.qldb", - jsonVersion: "1.0", - protocol: "json", - serviceAbbreviation: "QLDB Session", - serviceFullName: "Amazon QLDB Session", - serviceId: "QLDB Session", - signatureVersion: "v4", - signingName: "qldb", - targetPrefix: "QLDBSession", - uid: "qldb-session-2019-07-11", - }, - operations: { - SendCommand: { - input: { - type: "structure", - members: { - SessionToken: {}, - StartSession: { - type: "structure", - required: ["LedgerName"], - members: { LedgerName: {} }, - }, - StartTransaction: { type: "structure", members: {} }, - EndSession: { type: "structure", members: {} }, - CommitTransaction: { - type: "structure", - required: ["TransactionId", "CommitDigest"], - members: { - TransactionId: {}, - CommitDigest: { type: "blob" }, - }, - }, - AbortTransaction: { type: "structure", members: {} }, - ExecuteStatement: { - type: "structure", - required: ["TransactionId", "Statement"], - members: { - TransactionId: {}, - Statement: {}, - Parameters: { type: "list", member: { shape: "Se" } }, - }, - }, - FetchPage: { - type: "structure", - required: ["TransactionId", "NextPageToken"], - members: { TransactionId: {}, NextPageToken: {} }, - }, - }, - }, - output: { - type: "structure", - members: { - StartSession: { - type: "structure", - members: { SessionToken: {} }, - }, - StartTransaction: { - type: "structure", - members: { TransactionId: {} }, - }, - EndSession: { type: "structure", members: {} }, - CommitTransaction: { - type: "structure", - members: { - TransactionId: {}, - CommitDigest: { type: "blob" }, - }, - }, - AbortTransaction: { type: "structure", members: {} }, - ExecuteStatement: { - type: "structure", - members: { FirstPage: { shape: "Sq" } }, - }, - FetchPage: { - type: "structure", - members: { Page: { shape: "Sq" } }, - }, - }, - }, - }, - }, - shapes: { - Se: { - type: "structure", - members: { IonBinary: { type: "blob" }, IonText: {} }, - }, - Sq: { - type: "structure", - members: { - Values: { type: "list", member: { shape: "Se" } }, - NextPageToken: {}, - }, - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 475: +/***/ (function(module) { - /***/ 323: /***/ function (module) { - "use strict"; +module.exports = {"pagination":{"ListDestinations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDeviceProfiles":{"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"}}}; - var isStream = (module.exports = function (stream) { - return ( - stream !== null && - typeof stream === "object" && - typeof stream.pipe === "function" - ); - }); +/***/ }), - isStream.writable = function (stream) { - return ( - isStream(stream) && - stream.writable !== false && - typeof stream._write === "function" && - typeof stream._writableState === "object" - ); - }; +/***/ 484: +/***/ (function(module) { - isStream.readable = function (stream) { - return ( - isStream(stream) && - stream.readable !== false && - typeof stream._read === "function" && - typeof stream._readableState === "object" - ); - }; +module.exports = {"pagination":{"DescribeCodeCoverages":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"codeCoverages"},"DescribeTestCases":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"testCases"},"ListBuildBatches":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"ids"},"ListBuildBatchesForProject":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"ids"},"ListBuilds":{"input_token":"nextToken","output_token":"nextToken","result_key":"ids"},"ListBuildsForProject":{"input_token":"nextToken","output_token":"nextToken","result_key":"ids"},"ListProjects":{"input_token":"nextToken","output_token":"nextToken","result_key":"projects"},"ListReportGroups":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"reportGroups"},"ListReports":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"reports"},"ListReportsForReportGroup":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"reports"},"ListSharedProjects":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"projects"},"ListSharedReportGroups":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"reportGroups"}}}; - isStream.duplex = function (stream) { - return isStream.writable(stream) && isStream.readable(stream); - }; +/***/ }), - isStream.transform = function (stream) { - return ( - isStream.duplex(stream) && - typeof stream._transform === "function" && - typeof stream._transformState === "object" - ); - }; +/***/ 489: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +"use strict"; - /***/ 324: /***/ function (module) { - module.exports = { - pagination: { - ListTerminologies: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListTextTranslationJobs: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - }, - }; - /***/ - }, +const path = __webpack_require__(5622); +const which = __webpack_require__(3814); +const pathKey = __webpack_require__(1039)(); - /***/ 332: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +function resolveCommandAttempt(parsed, withoutPathExt) { + const cwd = process.cwd(); + const hasCustomCwd = parsed.options.cwd != null; - apiLoader.services["costexplorer"] = {}; - AWS.CostExplorer = Service.defineService("costexplorer", ["2017-10-25"]); - Object.defineProperty(apiLoader.services["costexplorer"], "2017-10-25", { - get: function get() { - var model = __webpack_require__(6279); - model.paginators = __webpack_require__(8755).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + // If a custom `cwd` was specified, we need to change the process cwd + // because `which` will do stat calls but does not support a custom cwd + if (hasCustomCwd) { + try { + process.chdir(parsed.options.cwd); + } catch (err) { + /* Empty */ + } + } - module.exports = AWS.CostExplorer; + let resolved; - /***/ - }, + try { + resolved = which.sync(parsed.command, { + path: (parsed.options.env || process.env)[pathKey], + pathExt: withoutPathExt ? path.delimiter : undefined, + }); + } catch (e) { + /* Empty */ + } finally { + process.chdir(cwd); + } - /***/ 337: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); + // If we successfully resolved, ensure that an absolute path is returned + // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it + if (resolved) { + resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved); + } - function JsonBuilder() {} + return resolved; +} - JsonBuilder.prototype.build = function (value, shape) { - return JSON.stringify(translate(value, shape)); - }; +function resolveCommand(parsed) { + return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true); +} + +module.exports = resolveCommand; + + +/***/ }), + +/***/ 505: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-01","endpointPrefix":"mobile","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Mobile","serviceId":"Mobile","signatureVersion":"v4","signingName":"AWSMobileHubService","uid":"mobile-2017-07-01"},"operations":{"CreateProject":{"http":{"requestUri":"/projects"},"input":{"type":"structure","members":{"name":{"location":"querystring","locationName":"name"},"region":{"location":"querystring","locationName":"region"},"contents":{"type":"blob"},"snapshotId":{"location":"querystring","locationName":"snapshotId"}},"payload":"contents"},"output":{"type":"structure","members":{"details":{"shape":"S7"}}}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/projects/{projectId}"},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"}}},"output":{"type":"structure","members":{"deletedResources":{"shape":"Sc"},"orphanedResources":{"shape":"Sc"}}}},"DescribeBundle":{"http":{"method":"GET","requestUri":"/bundles/{bundleId}"},"input":{"type":"structure","required":["bundleId"],"members":{"bundleId":{"location":"uri","locationName":"bundleId"}}},"output":{"type":"structure","members":{"details":{"shape":"Sq"}}}},"DescribeProject":{"http":{"method":"GET","requestUri":"/project"},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"querystring","locationName":"projectId"},"syncFromResources":{"location":"querystring","locationName":"syncFromResources","type":"boolean"}}},"output":{"type":"structure","members":{"details":{"shape":"S7"}}}},"ExportBundle":{"http":{"requestUri":"/bundles/{bundleId}"},"input":{"type":"structure","required":["bundleId"],"members":{"bundleId":{"location":"uri","locationName":"bundleId"},"projectId":{"location":"querystring","locationName":"projectId"},"platform":{"location":"querystring","locationName":"platform"}}},"output":{"type":"structure","members":{"downloadUrl":{}}}},"ExportProject":{"http":{"requestUri":"/exports/{projectId}"},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"}}},"output":{"type":"structure","members":{"downloadUrl":{},"shareUrl":{},"snapshotId":{}}}},"ListBundles":{"http":{"method":"GET","requestUri":"/bundles"},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"bundleList":{"type":"list","member":{"shape":"Sq"}},"nextToken":{}}}},"ListProjects":{"http":{"method":"GET","requestUri":"/projects"},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"projects":{"type":"list","member":{"type":"structure","members":{"name":{},"projectId":{}}}},"nextToken":{}}}},"UpdateProject":{"http":{"requestUri":"/update"},"input":{"type":"structure","required":["projectId"],"members":{"contents":{"type":"blob"},"projectId":{"location":"querystring","locationName":"projectId"}},"payload":"contents"},"output":{"type":"structure","members":{"details":{"shape":"S7"}}}}},"shapes":{"S7":{"type":"structure","members":{"name":{},"projectId":{},"region":{},"state":{},"createdDate":{"type":"timestamp"},"lastUpdatedDate":{"type":"timestamp"},"consoleUrl":{},"resources":{"shape":"Sc"}}},"Sc":{"type":"list","member":{"type":"structure","members":{"type":{},"name":{},"arn":{},"feature":{},"attributes":{"type":"map","key":{},"value":{}}}}},"Sq":{"type":"structure","members":{"bundleId":{},"title":{},"version":{},"description":{},"iconUrl":{},"availablePlatforms":{"type":"list","member":{}}}}}}; + +/***/ }), + +/***/ 520: +/***/ (function(module) { + +module.exports = {"pagination":{}}; + +/***/ }), + +/***/ 522: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-08-10","endpointPrefix":"batch","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"AWS Batch","serviceFullName":"AWS Batch","serviceId":"Batch","signatureVersion":"v4","uid":"batch-2016-08-10"},"operations":{"CancelJob":{"http":{"requestUri":"/v1/canceljob"},"input":{"type":"structure","required":["jobId","reason"],"members":{"jobId":{},"reason":{}}},"output":{"type":"structure","members":{}}},"CreateComputeEnvironment":{"http":{"requestUri":"/v1/createcomputeenvironment"},"input":{"type":"structure","required":["computeEnvironmentName","type","serviceRole"],"members":{"computeEnvironmentName":{},"type":{},"state":{},"computeResources":{"shape":"S7"},"serviceRole":{},"tags":{"shape":"Si"}}},"output":{"type":"structure","members":{"computeEnvironmentName":{},"computeEnvironmentArn":{}}}},"CreateJobQueue":{"http":{"requestUri":"/v1/createjobqueue"},"input":{"type":"structure","required":["jobQueueName","priority","computeEnvironmentOrder"],"members":{"jobQueueName":{},"state":{},"priority":{"type":"integer"},"computeEnvironmentOrder":{"shape":"So"},"tags":{"shape":"Si"}}},"output":{"type":"structure","required":["jobQueueName","jobQueueArn"],"members":{"jobQueueName":{},"jobQueueArn":{}}}},"DeleteComputeEnvironment":{"http":{"requestUri":"/v1/deletecomputeenvironment"},"input":{"type":"structure","required":["computeEnvironment"],"members":{"computeEnvironment":{}}},"output":{"type":"structure","members":{}}},"DeleteJobQueue":{"http":{"requestUri":"/v1/deletejobqueue"},"input":{"type":"structure","required":["jobQueue"],"members":{"jobQueue":{}}},"output":{"type":"structure","members":{}}},"DeregisterJobDefinition":{"http":{"requestUri":"/v1/deregisterjobdefinition"},"input":{"type":"structure","required":["jobDefinition"],"members":{"jobDefinition":{}}},"output":{"type":"structure","members":{}}},"DescribeComputeEnvironments":{"http":{"requestUri":"/v1/describecomputeenvironments"},"input":{"type":"structure","members":{"computeEnvironments":{"shape":"Sb"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"computeEnvironments":{"type":"list","member":{"type":"structure","required":["computeEnvironmentName","computeEnvironmentArn","ecsClusterArn"],"members":{"computeEnvironmentName":{},"computeEnvironmentArn":{},"ecsClusterArn":{},"tags":{"shape":"Si"},"type":{},"state":{},"status":{},"statusReason":{},"computeResources":{"shape":"S7"},"serviceRole":{}}}},"nextToken":{}}}},"DescribeJobDefinitions":{"http":{"requestUri":"/v1/describejobdefinitions"},"input":{"type":"structure","members":{"jobDefinitions":{"shape":"Sb"},"maxResults":{"type":"integer"},"jobDefinitionName":{},"status":{},"nextToken":{}}},"output":{"type":"structure","members":{"jobDefinitions":{"type":"list","member":{"type":"structure","required":["jobDefinitionName","jobDefinitionArn","revision","type"],"members":{"jobDefinitionName":{},"jobDefinitionArn":{},"revision":{"type":"integer"},"status":{},"type":{},"parameters":{"shape":"S16"},"retryStrategy":{"shape":"S17"},"containerProperties":{"shape":"S1b"},"timeout":{"shape":"S24"},"nodeProperties":{"shape":"S25"},"tags":{"shape":"Si"},"propagateTags":{"type":"boolean"},"platformCapabilities":{"shape":"S28"}}}},"nextToken":{}}}},"DescribeJobQueues":{"http":{"requestUri":"/v1/describejobqueues"},"input":{"type":"structure","members":{"jobQueues":{"shape":"Sb"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"jobQueues":{"type":"list","member":{"type":"structure","required":["jobQueueName","jobQueueArn","state","priority","computeEnvironmentOrder"],"members":{"jobQueueName":{},"jobQueueArn":{},"state":{},"status":{},"statusReason":{},"priority":{"type":"integer"},"computeEnvironmentOrder":{"shape":"So"},"tags":{"shape":"Si"}}}},"nextToken":{}}}},"DescribeJobs":{"http":{"requestUri":"/v1/describejobs"},"input":{"type":"structure","required":["jobs"],"members":{"jobs":{"shape":"Sb"}}},"output":{"type":"structure","members":{"jobs":{"type":"list","member":{"type":"structure","required":["jobName","jobId","jobQueue","status","startedAt","jobDefinition"],"members":{"jobArn":{},"jobName":{},"jobId":{},"jobQueue":{},"status":{},"attempts":{"type":"list","member":{"type":"structure","members":{"container":{"type":"structure","members":{"containerInstanceArn":{},"taskArn":{},"exitCode":{"type":"integer"},"reason":{},"logStreamName":{},"networkInterfaces":{"shape":"S2n"}}},"startedAt":{"type":"long"},"stoppedAt":{"type":"long"},"statusReason":{}}}},"statusReason":{},"createdAt":{"type":"long"},"retryStrategy":{"shape":"S17"},"startedAt":{"type":"long"},"stoppedAt":{"type":"long"},"dependsOn":{"shape":"S2q"},"jobDefinition":{},"parameters":{"shape":"S16"},"container":{"type":"structure","members":{"image":{},"vcpus":{"type":"integer"},"memory":{"type":"integer"},"command":{"shape":"Sb"},"jobRoleArn":{},"executionRoleArn":{},"volumes":{"shape":"S1c"},"environment":{"shape":"S1f"},"mountPoints":{"shape":"S1h"},"readonlyRootFilesystem":{"type":"boolean"},"ulimits":{"shape":"S1k"},"privileged":{"type":"boolean"},"user":{},"exitCode":{"type":"integer"},"reason":{},"containerInstanceArn":{},"taskArn":{},"logStreamName":{},"instanceType":{},"networkInterfaces":{"shape":"S2n"},"resourceRequirements":{"shape":"S1m"},"linuxParameters":{"shape":"S1p"},"logConfiguration":{"shape":"S1w"},"secrets":{"shape":"S1z"},"networkConfiguration":{"shape":"S21"},"fargatePlatformConfiguration":{"shape":"S23"}}},"nodeDetails":{"type":"structure","members":{"nodeIndex":{"type":"integer"},"isMainNode":{"type":"boolean"}}},"nodeProperties":{"shape":"S25"},"arrayProperties":{"type":"structure","members":{"statusSummary":{"type":"map","key":{},"value":{"type":"integer"}},"size":{"type":"integer"},"index":{"type":"integer"}}},"timeout":{"shape":"S24"},"tags":{"shape":"Si"},"propagateTags":{"type":"boolean"},"platformCapabilities":{"shape":"S28"}}}}}}},"ListJobs":{"http":{"requestUri":"/v1/listjobs"},"input":{"type":"structure","members":{"jobQueue":{},"arrayJobId":{},"multiNodeJobId":{},"jobStatus":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["jobSummaryList"],"members":{"jobSummaryList":{"type":"list","member":{"type":"structure","required":["jobId","jobName"],"members":{"jobArn":{},"jobId":{},"jobName":{},"createdAt":{"type":"long"},"status":{},"statusReason":{},"startedAt":{"type":"long"},"stoppedAt":{"type":"long"},"container":{"type":"structure","members":{"exitCode":{"type":"integer"},"reason":{}}},"arrayProperties":{"type":"structure","members":{"size":{"type":"integer"},"index":{"type":"integer"}}},"nodeProperties":{"type":"structure","members":{"isMainNode":{"type":"boolean"},"numNodes":{"type":"integer"},"nodeIndex":{"type":"integer"}}}}}},"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":"Si"}}}},"RegisterJobDefinition":{"http":{"requestUri":"/v1/registerjobdefinition"},"input":{"type":"structure","required":["jobDefinitionName","type"],"members":{"jobDefinitionName":{},"type":{},"parameters":{"shape":"S16"},"containerProperties":{"shape":"S1b"},"nodeProperties":{"shape":"S25"},"retryStrategy":{"shape":"S17"},"propagateTags":{"type":"boolean"},"timeout":{"shape":"S24"},"tags":{"shape":"Si"},"platformCapabilities":{"shape":"S28"}}},"output":{"type":"structure","required":["jobDefinitionName","jobDefinitionArn","revision"],"members":{"jobDefinitionName":{},"jobDefinitionArn":{},"revision":{"type":"integer"}}}},"SubmitJob":{"http":{"requestUri":"/v1/submitjob"},"input":{"type":"structure","required":["jobName","jobQueue","jobDefinition"],"members":{"jobName":{},"jobQueue":{},"arrayProperties":{"type":"structure","members":{"size":{"type":"integer"}}},"dependsOn":{"shape":"S2q"},"jobDefinition":{},"parameters":{"shape":"S16"},"containerOverrides":{"shape":"S3b"},"nodeOverrides":{"type":"structure","members":{"numNodes":{"type":"integer"},"nodePropertyOverrides":{"type":"list","member":{"type":"structure","required":["targetNodes"],"members":{"targetNodes":{},"containerOverrides":{"shape":"S3b"}}}}}},"retryStrategy":{"shape":"S17"},"propagateTags":{"type":"boolean"},"timeout":{"shape":"S24"},"tags":{"shape":"Si"}}},"output":{"type":"structure","required":["jobName","jobId"],"members":{"jobArn":{},"jobName":{},"jobId":{}}}},"TagResource":{"http":{"requestUri":"/v1/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Si"}}},"output":{"type":"structure","members":{}}},"TerminateJob":{"http":{"requestUri":"/v1/terminatejob"},"input":{"type":"structure","required":["jobId","reason"],"members":{"jobId":{},"reason":{}}},"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":{}}},"UpdateComputeEnvironment":{"http":{"requestUri":"/v1/updatecomputeenvironment"},"input":{"type":"structure","required":["computeEnvironment"],"members":{"computeEnvironment":{},"state":{},"computeResources":{"type":"structure","members":{"minvCpus":{"type":"integer"},"maxvCpus":{"type":"integer"},"desiredvCpus":{"type":"integer"},"subnets":{"shape":"Sb"},"securityGroupIds":{"shape":"Sb"}}},"serviceRole":{}}},"output":{"type":"structure","members":{"computeEnvironmentName":{},"computeEnvironmentArn":{}}}},"UpdateJobQueue":{"http":{"requestUri":"/v1/updatejobqueue"},"input":{"type":"structure","required":["jobQueue"],"members":{"jobQueue":{},"state":{},"priority":{"type":"integer"},"computeEnvironmentOrder":{"shape":"So"}}},"output":{"type":"structure","members":{"jobQueueName":{},"jobQueueArn":{}}}}},"shapes":{"S7":{"type":"structure","required":["type","maxvCpus","subnets"],"members":{"type":{},"allocationStrategy":{},"minvCpus":{"type":"integer"},"maxvCpus":{"type":"integer"},"desiredvCpus":{"type":"integer"},"instanceTypes":{"shape":"Sb"},"imageId":{"deprecated":true,"deprecatedMessage":"This field is deprecated, use ec2Configuration[].imageIdOverride instead."},"subnets":{"shape":"Sb"},"securityGroupIds":{"shape":"Sb"},"ec2KeyPair":{},"instanceRole":{},"tags":{"type":"map","key":{},"value":{}},"placementGroup":{},"bidPercentage":{"type":"integer"},"spotIamFleetRole":{},"launchTemplate":{"type":"structure","members":{"launchTemplateId":{},"launchTemplateName":{},"version":{}}},"ec2Configuration":{"type":"list","member":{"type":"structure","required":["imageType"],"members":{"imageType":{},"imageIdOverride":{}}}}}},"Sb":{"type":"list","member":{}},"Si":{"type":"map","key":{},"value":{}},"So":{"type":"list","member":{"type":"structure","required":["order","computeEnvironment"],"members":{"order":{"type":"integer"},"computeEnvironment":{}}}},"S16":{"type":"map","key":{},"value":{}},"S17":{"type":"structure","members":{"attempts":{"type":"integer"},"evaluateOnExit":{"type":"list","member":{"type":"structure","required":["action"],"members":{"onStatusReason":{},"onReason":{},"onExitCode":{},"action":{}}}}}},"S1b":{"type":"structure","members":{"image":{},"vcpus":{"deprecated":true,"deprecatedMessage":"This field is deprecated, use resourceRequirements instead.","type":"integer"},"memory":{"deprecated":true,"deprecatedMessage":"This field is deprecated, use resourceRequirements instead.","type":"integer"},"command":{"shape":"Sb"},"jobRoleArn":{},"executionRoleArn":{},"volumes":{"shape":"S1c"},"environment":{"shape":"S1f"},"mountPoints":{"shape":"S1h"},"readonlyRootFilesystem":{"type":"boolean"},"privileged":{"type":"boolean"},"ulimits":{"shape":"S1k"},"user":{},"instanceType":{},"resourceRequirements":{"shape":"S1m"},"linuxParameters":{"shape":"S1p"},"logConfiguration":{"shape":"S1w"},"secrets":{"shape":"S1z"},"networkConfiguration":{"shape":"S21"},"fargatePlatformConfiguration":{"shape":"S23"}}},"S1c":{"type":"list","member":{"type":"structure","members":{"host":{"type":"structure","members":{"sourcePath":{}}},"name":{}}}},"S1f":{"type":"list","member":{"type":"structure","members":{"name":{},"value":{}}}},"S1h":{"type":"list","member":{"type":"structure","members":{"containerPath":{},"readOnly":{"type":"boolean"},"sourceVolume":{}}}},"S1k":{"type":"list","member":{"type":"structure","required":["hardLimit","name","softLimit"],"members":{"hardLimit":{"type":"integer"},"name":{},"softLimit":{"type":"integer"}}}},"S1m":{"type":"list","member":{"type":"structure","required":["value","type"],"members":{"value":{},"type":{}}}},"S1p":{"type":"structure","members":{"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":"Sb"}}}},"maxSwap":{"type":"integer"},"swappiness":{"type":"integer"}}},"S1w":{"type":"structure","required":["logDriver"],"members":{"logDriver":{},"options":{"type":"map","key":{},"value":{}},"secretOptions":{"shape":"S1z"}}},"S1z":{"type":"list","member":{"type":"structure","required":["name","valueFrom"],"members":{"name":{},"valueFrom":{}}}},"S21":{"type":"structure","members":{"assignPublicIp":{}}},"S23":{"type":"structure","members":{"platformVersion":{}}},"S24":{"type":"structure","members":{"attemptDurationSeconds":{"type":"integer"}}},"S25":{"type":"structure","required":["numNodes","mainNode","nodeRangeProperties"],"members":{"numNodes":{"type":"integer"},"mainNode":{"type":"integer"},"nodeRangeProperties":{"type":"list","member":{"type":"structure","required":["targetNodes"],"members":{"targetNodes":{},"container":{"shape":"S1b"}}}}}},"S28":{"type":"list","member":{}},"S2n":{"type":"list","member":{"type":"structure","members":{"attachmentId":{},"ipv6Address":{},"privateIpv4Address":{}}}},"S2q":{"type":"list","member":{"type":"structure","members":{"jobId":{},"type":{}}}},"S3b":{"type":"structure","members":{"vcpus":{"deprecated":true,"deprecatedMessage":"This field is deprecated, use resourceRequirements instead.","type":"integer"},"memory":{"deprecated":true,"deprecatedMessage":"This field is deprecated, use resourceRequirements instead.","type":"integer"},"command":{"shape":"Sb"},"instanceType":{},"environment":{"shape":"S1f"},"resourceRequirements":{"shape":"S1m"}}}}}; + +/***/ }), + +/***/ 541: +/***/ (function(module) { + +module.exports = {"pagination":{"ListWorkspaces":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"workspaces"}}}; + +/***/ }), + +/***/ 543: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +AWS.util.update(AWS.Glacier.prototype, { + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + if (Array.isArray(request._events.validate)) { + request._events.validate.unshift(this.validateAccountId); + } else { + request.on('validate', this.validateAccountId); + } + request.removeListener('afterBuild', + AWS.EventListeners.Core.COMPUTE_SHA256); + request.on('build', this.addGlacierApiVersion); + request.on('build', this.addTreeHashHeaders); + }, + + /** + * @api private + */ + validateAccountId: function validateAccountId(request) { + if (request.params.accountId !== undefined) return; + request.params = AWS.util.copy(request.params); + request.params.accountId = '-'; + }, + + /** + * @api private + */ + addGlacierApiVersion: function addGlacierApiVersion(request) { + var version = request.service.api.apiVersion; + request.httpRequest.headers['x-amz-glacier-version'] = version; + }, + + /** + * @api private + */ + addTreeHashHeaders: function addTreeHashHeaders(request) { + if (request.params.body === undefined) return; + + var hashes = request.service.computeChecksums(request.params.body); + request.httpRequest.headers['X-Amz-Content-Sha256'] = hashes.linearHash; + + if (!request.httpRequest.headers['x-amz-sha256-tree-hash']) { + request.httpRequest.headers['x-amz-sha256-tree-hash'] = hashes.treeHash; + } + }, + + /** + * @!group Computing Checksums + */ + + /** + * Computes the SHA-256 linear and tree hash checksums for a given + * block of Buffer data. Pass the tree hash of the computed checksums + * as the checksum input to the {completeMultipartUpload} when performing + * a multi-part upload. + * + * @example Calculate checksum of 5.5MB data chunk + * var glacier = new AWS.Glacier(); + * var data = Buffer.alloc(5.5 * 1024 * 1024); + * data.fill('0'); // fill with zeros + * var results = glacier.computeChecksums(data); + * // Result: { linearHash: '68aff0c5a9...', treeHash: '154e26c78f...' } + * @param data [Buffer, String] data to calculate the checksum for + * @return [map] a map containing + * the linearHash and treeHash properties representing hex based digests + * of the respective checksums. + * @see completeMultipartUpload + */ + computeChecksums: function computeChecksums(data) { + if (!AWS.util.Buffer.isBuffer(data)) data = AWS.util.buffer.toBuffer(data); + + var mb = 1024 * 1024; + var hashes = []; + var hash = AWS.util.crypto.createHash('sha256'); + + // build leaf nodes in 1mb chunks + for (var i = 0; i < data.length; i += mb) { + var chunk = data.slice(i, Math.min(i + mb, data.length)); + hash.update(chunk); + hashes.push(AWS.util.crypto.sha256(chunk)); + } + + return { + linearHash: hash.digest('hex'), + treeHash: this.buildHashTree(hashes) + }; + }, + + /** + * @api private + */ + buildHashTree: function buildHashTree(hashes) { + // merge leaf nodes + while (hashes.length > 1) { + var tmpHashes = []; + for (var i = 0; i < hashes.length; i += 2) { + if (hashes[i + 1]) { + var tmpHash = AWS.util.buffer.alloc(64); + tmpHash.write(hashes[i], 0, 32, 'binary'); + tmpHash.write(hashes[i + 1], 32, 32, 'binary'); + tmpHashes.push(AWS.util.crypto.sha256(tmpHash)); + } else { + tmpHashes.push(hashes[i]); + } + } + hashes = tmpHashes; + } - function translate(value, shape) { - if (!shape || value === undefined || value === null) return undefined; + return AWS.util.crypto.toHex(hashes[0]); + } +}); + + +/***/ }), + +/***/ 559: +/***/ (function(module) { + +module.exports = {"pagination":{"DescribeAccountLimits":{"input_token":"NextToken","output_token":"NextToken","result_key":"AccountLimits"},"DescribeStackEvents":{"input_token":"NextToken","output_token":"NextToken","result_key":"StackEvents"},"DescribeStackResourceDrifts":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"DescribeStackResources":{"result_key":"StackResources"},"DescribeStacks":{"input_token":"NextToken","output_token":"NextToken","result_key":"Stacks"},"ListChangeSets":{"input_token":"NextToken","output_token":"NextToken","result_key":"Summaries"},"ListExports":{"input_token":"NextToken","output_token":"NextToken","result_key":"Exports"},"ListImports":{"input_token":"NextToken","output_token":"NextToken","result_key":"Imports"},"ListStackInstances":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Summaries"},"ListStackResources":{"input_token":"NextToken","output_token":"NextToken","result_key":"StackResourceSummaries"},"ListStackSetOperationResults":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Summaries"},"ListStackSetOperations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Summaries"},"ListStackSets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Summaries"},"ListStacks":{"input_token":"NextToken","output_token":"NextToken","result_key":"StackSummaries"},"ListTypeRegistrations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListTypeVersions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListTypes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"}}}; + +/***/ }), + +/***/ 576: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var util = __webpack_require__(153); +var QueryParamSerializer = __webpack_require__(439); +var Shape = __webpack_require__(3682); +var populateHostPrefix = __webpack_require__(904).populateHostPrefix; + +function buildRequest(req) { + var operation = req.service.api.operations[req.operation]; + var httpRequest = req.httpRequest; + httpRequest.headers['Content-Type'] = + 'application/x-www-form-urlencoded; charset=utf-8'; + httpRequest.params = { + Version: req.service.api.apiVersion, + Action: operation.name + }; + + // convert the request parameters into a list of query params, + // e.g. Deeply.NestedParam.0.Name=value + var builder = new QueryParamSerializer(); + builder.serialize(req.params, operation.input, function(name, value) { + httpRequest.params[name] = value; + }); + httpRequest.body = util.queryParamsToString(httpRequest.params); + + populateHostPrefix(req); +} + +function extractError(resp) { + var data, body = resp.httpResponse.body.toString(); + if (body.match(' 9223372036854775807 || number < -9223372036854775808) { + throw new Error( + number + ' is too large (or, if negative, too small) to represent as an Int64' + ); + } + + var bytes = new Uint8Array(8); + for ( + var i = 7, remaining = Math.abs(Math.round(number)); + i > -1 && remaining > 0; + i--, remaining /= 256 + ) { + bytes[i] = remaining; + } + + if (number < 0) { + negate(bytes); + } + + return new Int64(bytes); +}; + +/** + * @returns {number} + * + * @api private + */ +Int64.prototype.valueOf = function() { + var bytes = this.bytes.slice(0); + var negative = bytes[0] & 128; + if (negative) { + negate(bytes); + } + + return parseInt(bytes.toString('hex'), 16) * (negative ? -1 : 1); +}; + +Int64.prototype.toString = function() { + return String(this.valueOf()); +}; + +/** + * @param {Buffer} bytes + * + * @api private + */ +function negate(bytes) { + for (var i = 0; i < 8; i++) { + bytes[i] ^= 0xFF; + } + for (var i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) { + break; } + } +} + +/** + * @api private + */ +module.exports = { + Int64: Int64 +}; + + +/***/ }), + +/***/ 612: +/***/ (function(module) { + +module.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"}}}}; + +/***/ }), + +/***/ 623: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['codeguruprofiler'] = {}; +AWS.CodeGuruProfiler = Service.defineService('codeguruprofiler', ['2019-07-18']); +Object.defineProperty(apiLoader.services['codeguruprofiler'], '2019-07-18', { + get: function get() { + var model = __webpack_require__(5408); + model.paginators = __webpack_require__(4571).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.CodeGuruProfiler; + + +/***/ }), + +/***/ 625: +/***/ (function(module) { + +/** + * Takes in a buffer of event messages and splits them into individual messages. + * @param {Buffer} buffer + * @api private + */ +function eventMessageChunker(buffer) { + /** @type Buffer[] */ + var messages = []; + var offset = 0; + + while (offset < buffer.length) { + var totalLength = buffer.readInt32BE(offset); + + // create new buffer for individual message (shares memory with original) + var message = buffer.slice(offset, totalLength + offset); + // increment offset to it starts at the next message + offset += totalLength; + + messages.push(message); + } + + return messages; +} + +/** + * @api private + */ +module.exports = { + eventMessageChunker: eventMessageChunker +}; + + +/***/ }), + +/***/ 634: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +/** + * Represents credentials from a JSON file on disk. + * If the credentials expire, the SDK can {refresh} the credentials + * from the file. + * + * The format of the file should be similar to the options passed to + * {AWS.Config}: + * + * ```javascript + * {accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'optional'} + * ``` + * + * @example Loading credentials from disk + * var creds = new AWS.FileSystemCredentials('./configuration.json'); + * creds.accessKeyId == 'AKID' + * + * @!attribute filename + * @readonly + * @return [String] the path to the JSON file on disk containing the + * credentials. + * @!macro nobrowser + */ +AWS.FileSystemCredentials = AWS.util.inherit(AWS.Credentials, { + + /** + * @overload AWS.FileSystemCredentials(filename) + * Creates a new FileSystemCredentials object from a filename + * + * @param filename [String] the path on disk to the JSON file to load. + */ + constructor: function FileSystemCredentials(filename) { + AWS.Credentials.call(this); + this.filename = filename; + this.get(function() {}); + }, + + /** + * Loads the credentials from the {filename} on disk. + * + * @callback callback function(err) + * Called after the JSON file on disk is read and parsed. When this callback + * is called with no error, it means that the credentials information + * has been loaded into the object (as the `accessKeyId`, `secretAccessKey`, + * and `sessionToken` properties). + * @param err [Error] if an error occurred, this value will be filled + * @see get + */ + refresh: function refresh(callback) { + if (!callback) callback = AWS.util.fn.callback; + try { + var creds = JSON.parse(AWS.util.readFileSync(this.filename)); + AWS.Credentials.call(this, creds); + if (!this.accessKeyId || !this.secretAccessKey) { + throw AWS.util.error( + new Error('Credentials not set in ' + this.filename), + { code: 'FileSystemCredentialsProviderFailure' } + ); } + this.expired = false; + callback(); + } catch (err) { + callback(err); + } + } - function translateStructure(structure, shape) { - var struct = {}; - util.each(structure, function (name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - if (memberShape.location !== "body") return; - var locationName = memberShape.isLocationName - ? memberShape.name - : name; - var result = translate(value, memberShape); - if (result !== undefined) struct[locationName] = result; - } - }); - return struct; - } +}); - function translateList(list, shape) { - var out = []; - util.arrayEach(list, function (value) { - var result = translate(value, shape.member); - if (result !== undefined) out.push(result); - }); - return out; - } - function translateMap(map, shape) { - var out = {}; - util.each(map, function (key, value) { - var result = translate(value, shape.value); - if (result !== undefined) out[key] = result; - }); - return out; - } +/***/ }), - function translateScalar(value, shape) { - return shape.toWireFormat(value); - } +/***/ 636: +/***/ (function(module) { - /** - * @api private - */ - module.exports = JsonBuilder; +module.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"}]}}}; - /***/ - }, +/***/ }), - /***/ 349: /***/ function (module) { - module.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: {} }, - }, - }, - }; +/***/ 644: +/***/ (function(module) { - /***/ - }, +module.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"}}}; - /***/ 363: /***/ function (module) { - module.exports = register; +/***/ }), - function register(state, name, method, options) { - if (typeof method !== "function") { - throw new Error("method for before hook must be a function"); - } +/***/ 665: +/***/ (function(module, __unusedexports, __webpack_require__) { - if (!options) { - options = {}; - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - if (Array.isArray(name)) { - return name.reverse().reduce(function (callback, name) { - return register.bind(null, state, name, callback, options); - }, method)(); - } +apiLoader.services['codebuild'] = {}; +AWS.CodeBuild = Service.defineService('codebuild', ['2016-10-06']); +Object.defineProperty(apiLoader.services['codebuild'], '2016-10-06', { + get: function get() { + var model = __webpack_require__(5915); + model.paginators = __webpack_require__(484).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - return Promise.resolve().then(function () { - if (!state.registry[name]) { - return method(options); - } +module.exports = AWS.CodeBuild; - return state.registry[name].reduce(function (method, registered) { - return registered.hook.bind(null, method, options); - }, method)(); - }); - } - /***/ - }, +/***/ }), - /***/ 370: /***/ function (module) { - module.exports = { - pagination: { - ListApplicationStates: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "ApplicationStateList", - }, - ListCreatedArtifacts: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "CreatedArtifactList", - }, - ListDiscoveredResources: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "DiscoveredResourceList", - }, - ListMigrationTasks: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "MigrationTaskSummaryList", - }, - ListProgressUpdateStreams: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "ProgressUpdateStreamSummaryList", - }, - }, - }; +/***/ 677: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"ListComponentBuildVersions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"componentSummaryList"},"ListComponents":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"componentVersionList"},"ListContainerRecipes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"containerRecipeSummaryList"},"ListDistributionConfigurations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"distributionConfigurationSummaryList"},"ListImageBuildVersions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"imageSummaryList"},"ListImagePipelineImages":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"imageSummaryList"},"ListImagePipelines":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"imagePipelineList"},"ListImageRecipes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"imageRecipeSummaryList"},"ListImages":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"imageVersionList"},"ListInfrastructureConfigurations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"infrastructureConfigurationSummaryList"}}}; - /***/ 395: /***/ function (module, __unusedexports, __webpack_require__) { - /** - * The main AWS namespace - */ - var AWS = { util: __webpack_require__(153) }; - - /** - * @api private - * @!macro [new] nobrowser - * @note This feature is not supported in the browser environment of the SDK. - */ - var _hidden = {}; - _hidden.toString(); // hack to parse macro - - /** - * @api private - */ - module.exports = AWS; - - AWS.util.update(AWS, { - /** - * @constant - */ - VERSION: "2.654.0", - - /** - * @api private - */ - Signers: {}, - - /** - * @api private - */ - Protocol: { - Json: __webpack_require__(9912), - Query: __webpack_require__(576), - Rest: __webpack_require__(4618), - RestJson: __webpack_require__(3315), - RestXml: __webpack_require__(9002), - }, - - /** - * @api private - */ - XML: { - Builder: __webpack_require__(2492), - Parser: null, // conditionally set based on environment - }, - - /** - * @api private - */ - JSON: { - Builder: __webpack_require__(337), - Parser: __webpack_require__(9806), - }, - - /** - * @api private - */ - Model: { - Api: __webpack_require__(7788), - Operation: __webpack_require__(3964), - Shape: __webpack_require__(3682), - Paginator: __webpack_require__(6265), - ResourceWaiter: __webpack_require__(3624), - }, - - /** - * @api private - */ - apiLoader: __webpack_require__(6165), - - /** - * @api private - */ - EndpointCache: __webpack_require__(4120).EndpointCache, - }); - __webpack_require__(8610); - __webpack_require__(3503); - __webpack_require__(3187); - __webpack_require__(3711); - __webpack_require__(8606); - __webpack_require__(2453); - __webpack_require__(9828); - __webpack_require__(4904); - __webpack_require__(7835); - __webpack_require__(3977); - - /** - * @readonly - * @return [AWS.SequentialExecutor] a collection of global event listeners that - * are attached to every sent request. - * @see AWS.Request AWS.Request for a list of events to listen for - * @example Logging the time taken to send a request - * AWS.events.on('send', function startSend(resp) { - * resp.startTime = new Date().getTime(); - * }).on('complete', function calculateTime(resp) { - * var time = (new Date().getTime() - resp.startTime) / 1000; - * console.log('Request took ' + time + ' seconds'); - * }); - * - * new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds' - */ - AWS.events = new AWS.SequentialExecutor(); - - //create endpoint cache lazily - AWS.util.memoizedProperty( - AWS, - "endpointCache", - function () { - return new AWS.EndpointCache(AWS.config.endpointCacheSize); - }, - true - ); +/***/ }), - /***/ - }, +/***/ 682: +/***/ (function(module) { - /***/ 398: /***/ function (module) { - module.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", - }, - }, - }; +module.exports = {"pagination":{"ListAccountRoles":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"roleList"},"ListAccounts":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"accountList"}}}; - /***/ - }, +/***/ }), - /***/ 404: /***/ function (module, __unusedexports, __webpack_require__) { - var escapeAttribute = __webpack_require__(8918).escapeAttribute; +/***/ 686: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * Represents an XML node. - * @api private - */ - function XmlNode(name, children) { - if (children === void 0) { - children = []; - } - this.name = name; - this.children = children; - this.attributes = {}; - } - XmlNode.prototype.addAttribute = function (name, value) { - this.attributes[name] = value; - return this; - }; - XmlNode.prototype.addChildNode = function (child) { - this.children.push(child); - return this; - }; - XmlNode.prototype.removeAttribute = function (name) { - delete this.attributes[name]; - return this; - }; - XmlNode.prototype.toString = function () { - var hasChildren = Boolean(this.children.length); - var xmlText = "<" + this.name; - // add attributes - var attributes = this.attributes; - for ( - var i = 0, attributeNames = Object.keys(attributes); - i < attributeNames.length; - i++ - ) { - var attributeName = attributeNames[i]; - var attribute = attributes[attributeName]; - if (typeof attribute !== "undefined" && attribute !== null) { - xmlText += - " " + - attributeName + - '="' + - escapeAttribute("" + attribute) + - '"'; - } - } - return (xmlText += !hasChildren - ? "/>" - : ">" + - this.children - .map(function (c) { - return c.toString(); - }) - .join("") + - ""); - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /** - * @api private - */ - module.exports = { - XmlNode: XmlNode, - }; +apiLoader.services['savingsplans'] = {}; +AWS.SavingsPlans = Service.defineService('savingsplans', ['2019-06-28']); +Object.defineProperty(apiLoader.services['savingsplans'], '2019-06-28', { + get: function get() { + var model = __webpack_require__(7752); + model.paginators = __webpack_require__(4252).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.SavingsPlans; - /***/ 408: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["rdsdataservice"] = {}; - AWS.RDSDataService = Service.defineService("rdsdataservice", [ - "2018-08-01", - ]); - __webpack_require__(2450); - Object.defineProperty( - apiLoader.services["rdsdataservice"], - "2018-08-01", - { - get: function get() { - var model = __webpack_require__(8192); - model.paginators = __webpack_require__(8828).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - module.exports = AWS.RDSDataService; +/***/ }), - /***/ - }, +/***/ 693: +/***/ (function(module) { - /***/ 422: /***/ function (module) { - module.exports = { pagination: {} }; +module.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"}}}; - /***/ - }, +/***/ }), - /***/ 437: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2009-03-31", - endpointPrefix: "elasticmapreduce", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "Amazon EMR", - serviceFullName: "Amazon Elastic MapReduce", - 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: "Sr" }, JobFlowId: {} }, - }, - output: { - type: "structure", - members: { - JobFlowId: {}, - InstanceGroupIds: { type: "list", member: {} }, - ClusterArn: {}, - }, - }, - }, - AddJobFlowSteps: { - input: { - type: "structure", - required: ["JobFlowId", "Steps"], - members: { JobFlowId: {}, Steps: { shape: "S1c" } }, - }, - output: { - type: "structure", - members: { StepIds: { shape: "S1l" } }, - }, - }, - AddTags: { - input: { - type: "structure", - required: ["ResourceId", "Tags"], - members: { ResourceId: {}, Tags: { shape: "S1o" } }, - }, - output: { type: "structure", members: {} }, - }, - CancelSteps: { - input: { - type: "structure", - required: ["ClusterId", "StepIds"], - members: { - ClusterId: {}, - StepIds: { shape: "S1l" }, - 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" } }, - }, - }, - DeleteSecurityConfiguration: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeCluster: { - input: { - type: "structure", - required: ["ClusterId"], - members: { ClusterId: {} }, - }, - output: { - type: "structure", - members: { - Cluster: { - type: "structure", - members: { - Id: {}, - Name: {}, - Status: { shape: "S27" }, - Ec2InstanceAttributes: { - type: "structure", - members: { - Ec2KeyName: {}, - Ec2SubnetId: {}, - RequestedEc2SubnetIds: { shape: "S2d" }, - Ec2AvailabilityZone: {}, - RequestedEc2AvailabilityZones: { shape: "S2d" }, - IamInstanceProfile: {}, - EmrManagedMasterSecurityGroup: {}, - EmrManagedSlaveSecurityGroup: {}, - ServiceAccessSecurityGroup: {}, - AdditionalMasterSecurityGroups: { shape: "S2e" }, - AdditionalSlaveSecurityGroups: { shape: "S2e" }, - }, - }, - InstanceCollectionType: {}, - LogUri: {}, - RequestedAmiVersion: {}, - RunningAmiVersion: {}, - ReleaseLabel: {}, - AutoTerminate: { type: "boolean" }, - TerminationProtected: { type: "boolean" }, - VisibleToAllUsers: { type: "boolean" }, - Applications: { shape: "S2h" }, - Tags: { shape: "S1o" }, - ServiceRole: {}, - NormalizedInstanceHours: { type: "integer" }, - MasterPublicDnsName: {}, - Configurations: { shape: "Sh" }, - SecurityConfiguration: {}, - AutoScalingRole: {}, - ScaleDownBehavior: {}, - CustomAmiId: {}, - EbsRootVolumeSize: { type: "integer" }, - RepoUpgradeOnBoot: {}, - KerberosAttributes: { shape: "S2l" }, - ClusterArn: {}, - StepConcurrencyLevel: { type: "integer" }, - OutpostArn: {}, - }, - }, - }, - }, - }, - DescribeJobFlows: { - input: { - type: "structure", - members: { - CreatedAfter: { type: "timestamp" }, - CreatedBefore: { type: "timestamp" }, - JobFlowIds: { shape: "S1j" }, - JobFlowStates: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - members: { - JobFlows: { - type: "list", - member: { - type: "structure", - required: [ - "JobFlowId", - "Name", - "ExecutionStatusDetail", - "Instances", - ], - members: { - JobFlowId: {}, - Name: {}, - LogUri: {}, - 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" }, - }, - }, - }, - NormalizedInstanceHours: { type: "integer" }, - Ec2KeyName: {}, - Ec2SubnetId: {}, - Placement: { shape: "S2y" }, - KeepJobFlowAliveWhenNoSteps: { type: "boolean" }, - TerminationProtected: { type: "boolean" }, - HadoopVersion: {}, - }, - }, - Steps: { - type: "list", - member: { - type: "structure", - required: ["StepConfig", "ExecutionStatusDetail"], - members: { - StepConfig: { shape: "S1d" }, - 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: "S35" } }, - }, - }, - SupportedProducts: { shape: "S37" }, - VisibleToAllUsers: { type: "boolean" }, - JobFlowRole: {}, - ServiceRole: {}, - AutoScalingRole: {}, - ScaleDownBehavior: {}, - }, - }, - }, - }, - }, - deprecated: true, - }, - 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: "S3d" }, - ActionOnFailure: {}, - Status: { shape: "S3e" }, - }, - }, - }, - }, - }, - GetBlockPublicAccessConfiguration: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - required: [ - "BlockPublicAccessConfiguration", - "BlockPublicAccessConfigurationMetadata", - ], - members: { - BlockPublicAccessConfiguration: { shape: "S3m" }, - BlockPublicAccessConfigurationMetadata: { - type: "structure", - required: ["CreationDateTime", "CreatedByArn"], - members: { - CreationDateTime: { type: "timestamp" }, - CreatedByArn: {}, - }, - }, - }, - }, - }, - ListBootstrapActions: { - input: { - type: "structure", - required: ["ClusterId"], - members: { ClusterId: {}, Marker: {} }, - }, - output: { - type: "structure", - members: { - BootstrapActions: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - ScriptPath: {}, - Args: { shape: "S2e" }, - }, - }, - }, - 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: "S27" }, - 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: "S4c" }, - EbsOptimized: { type: "boolean" }, - }, - }, - }, - 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: "S4c" }, - EbsOptimized: { type: "boolean" }, - ShrinkPolicy: { shape: "S4p" }, - AutoScalingPolicy: { shape: "S4t" }, - }, - }, - }, - 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: {}, - }, - }, - }, - 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: "S1j" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Steps: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - Config: { shape: "S3d" }, - ActionOnFailure: {}, - Status: { shape: "S3e" }, - }, - }, - }, - 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: "S4p" }, - Configurations: { shape: "Sh" }, - }, - }, - }, - }, - }, - }, - PutAutoScalingPolicy: { - input: { - type: "structure", - required: ["ClusterId", "InstanceGroupId", "AutoScalingPolicy"], - members: { - ClusterId: {}, - InstanceGroupId: {}, - AutoScalingPolicy: { shape: "Sv" }, - }, - }, - output: { - type: "structure", - members: { - ClusterId: {}, - InstanceGroupId: {}, - AutoScalingPolicy: { shape: "S4t" }, - ClusterArn: {}, - }, - }, - }, - PutBlockPublicAccessConfiguration: { - input: { - type: "structure", - required: ["BlockPublicAccessConfiguration"], - members: { BlockPublicAccessConfiguration: { shape: "S3m" } }, - }, - output: { type: "structure", members: {} }, - }, - RemoveAutoScalingPolicy: { - input: { - type: "structure", - required: ["ClusterId", "InstanceGroupId"], - members: { ClusterId: {}, InstanceGroupId: {} }, - }, - output: { type: "structure", members: {} }, - }, - RemoveTags: { - input: { - type: "structure", - required: ["ResourceId", "TagKeys"], - members: { ResourceId: {}, TagKeys: { shape: "S2e" } }, - }, - output: { type: "structure", members: {} }, - }, - RunJobFlow: { - input: { - type: "structure", - required: ["Name", "Instances"], - members: { - Name: {}, - LogUri: {}, - AdditionalInfo: {}, - AmiVersion: {}, - ReleaseLabel: {}, - Instances: { - type: "structure", - members: { - MasterInstanceType: {}, - SlaveInstanceType: {}, - InstanceCount: { type: "integer" }, - InstanceGroups: { shape: "Sr" }, - InstanceFleets: { type: "list", member: { shape: "S3" } }, - Ec2KeyName: {}, - Placement: { shape: "S2y" }, - KeepJobFlowAliveWhenNoSteps: { type: "boolean" }, - TerminationProtected: { type: "boolean" }, - HadoopVersion: {}, - Ec2SubnetId: {}, - Ec2SubnetIds: { shape: "S2d" }, - EmrManagedMasterSecurityGroup: {}, - EmrManagedSlaveSecurityGroup: {}, - ServiceAccessSecurityGroup: {}, - AdditionalMasterSecurityGroups: { shape: "S63" }, - AdditionalSlaveSecurityGroups: { shape: "S63" }, - }, - }, - Steps: { shape: "S1c" }, - BootstrapActions: { type: "list", member: { shape: "S35" } }, - SupportedProducts: { shape: "S37" }, - NewSupportedProducts: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Args: { shape: "S1j" } }, - }, - }, - Applications: { shape: "S2h" }, - Configurations: { shape: "Sh" }, - VisibleToAllUsers: { type: "boolean" }, - JobFlowRole: {}, - ServiceRole: {}, - Tags: { shape: "S1o" }, - SecurityConfiguration: {}, - AutoScalingRole: {}, - ScaleDownBehavior: {}, - CustomAmiId: {}, - EbsRootVolumeSize: { type: "integer" }, - RepoUpgradeOnBoot: {}, - KerberosAttributes: { shape: "S2l" }, - StepConcurrencyLevel: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { JobFlowId: {}, ClusterArn: {} }, - }, - }, - SetTerminationProtection: { - input: { - type: "structure", - required: ["JobFlowIds", "TerminationProtected"], - members: { - JobFlowIds: { shape: "S1j" }, - TerminationProtected: { type: "boolean" }, - }, - }, - }, - SetVisibleToAllUsers: { - input: { - type: "structure", - required: ["JobFlowIds", "VisibleToAllUsers"], - members: { - JobFlowIds: { shape: "S1j" }, - VisibleToAllUsers: { type: "boolean" }, - }, - }, - }, - TerminateJobFlows: { - input: { - type: "structure", - required: ["JobFlowIds"], - members: { JobFlowIds: { shape: "S1j" } }, - }, - }, - }, - 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" }, - }, - }, - }, - 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", - required: ["SpotSpecification"], - members: { - SpotSpecification: { - type: "structure", - required: ["TimeoutDurationMinutes", "TimeoutAction"], - members: { - TimeoutDurationMinutes: { type: "integer" }, - TimeoutAction: {}, - BlockDurationMinutes: { type: "integer" }, - }, - }, - }, - }, - Sr: { - 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: "Sv" }, - }, - }, - }, - Sv: { - type: "structure", - required: ["Constraints", "Rules"], - members: { Constraints: { shape: "Sw" }, Rules: { shape: "Sx" } }, - }, - Sw: { - type: "structure", - required: ["MinCapacity", "MaxCapacity"], - members: { - MinCapacity: { type: "integer" }, - MaxCapacity: { type: "integer" }, - }, - }, - Sx: { - 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: {} }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - S1c: { type: "list", member: { shape: "S1d" } }, - S1d: { - 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: "S1j" }, - }, - }, - }, - }, - S1j: { type: "list", member: {} }, - S1l: { type: "list", member: {} }, - S1o: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - S27: { - type: "structure", - members: { - State: {}, - StateChangeReason: { - type: "structure", - members: { Code: {}, Message: {} }, - }, - Timeline: { - type: "structure", - members: { - CreationDateTime: { type: "timestamp" }, - ReadyDateTime: { type: "timestamp" }, - EndDateTime: { type: "timestamp" }, - }, - }, - }, - }, - S2d: { type: "list", member: {} }, - S2e: { type: "list", member: {} }, - S2h: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Version: {}, - Args: { shape: "S2e" }, - AdditionalInfo: { shape: "Sj" }, - }, - }, - }, - S2l: { - type: "structure", - required: ["Realm", "KdcAdminPassword"], - members: { - Realm: {}, - KdcAdminPassword: {}, - CrossRealmTrustPrincipalPassword: {}, - ADDomainJoinUser: {}, - ADDomainJoinPassword: {}, - }, - }, - S2y: { - type: "structure", - members: { - AvailabilityZone: {}, - AvailabilityZones: { shape: "S2d" }, - }, - }, - S35: { - type: "structure", - required: ["Name", "ScriptBootstrapAction"], - members: { - Name: {}, - ScriptBootstrapAction: { - type: "structure", - required: ["Path"], - members: { Path: {}, Args: { shape: "S1j" } }, - }, - }, - }, - S37: { type: "list", member: {} }, - S3d: { - type: "structure", - members: { - Jar: {}, - Properties: { shape: "Sj" }, - MainClass: {}, - Args: { shape: "S2e" }, - }, - }, - S3e: { - 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" }, - }, - }, - }, - }, - S3m: { - type: "structure", - required: ["BlockPublicSecurityGroupRules"], - members: { - BlockPublicSecurityGroupRules: { type: "boolean" }, - PermittedPublicSecurityGroupRuleRanges: { - type: "list", - member: { - type: "structure", - required: ["MinRange"], - members: { - MinRange: { type: "integer" }, - MaxRange: { type: "integer" }, - }, - }, - }, - }, - }, - S4c: { - type: "list", - member: { - type: "structure", - members: { VolumeSpecification: { shape: "Sd" }, Device: {} }, - }, - }, - S4p: { - type: "structure", - members: { - DecommissionTimeout: { type: "integer" }, - InstanceResizePolicy: { - type: "structure", - members: { - InstancesToTerminate: { shape: "S4r" }, - InstancesToProtect: { shape: "S4r" }, - InstanceTerminationTimeout: { type: "integer" }, - }, - }, - }, - }, - S4r: { type: "list", member: {} }, - S4t: { - type: "structure", - members: { - Status: { - type: "structure", - members: { - State: {}, - StateChangeReason: { - type: "structure", - members: { Code: {}, Message: {} }, - }, - }, - }, - Constraints: { shape: "Sw" }, - Rules: { shape: "Sx" }, - }, - }, - S63: { type: "list", member: {} }, - }, - }; +/***/ 697: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, - - /***/ 439: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['connect'] = {}; +AWS.Connect = Service.defineService('connect', ['2017-08-08']); +Object.defineProperty(apiLoader.services['connect'], '2017-08-08', { + get: function get() { + var model = __webpack_require__(2662); + model.paginators = __webpack_require__(1479).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.Connect; + + +/***/ }), + +/***/ 707: +/***/ (function(module) { + +module.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"}}}; + +/***/ }), + +/***/ 721: +/***/ (function(module) { + +module.exports = {"pagination":{"GetWorkflowExecutionHistory":{"input_token":"nextPageToken","limit_key":"maximumPageSize","output_token":"nextPageToken","result_key":"events"},"ListActivityTypes":{"input_token":"nextPageToken","limit_key":"maximumPageSize","output_token":"nextPageToken","result_key":"typeInfos"},"ListClosedWorkflowExecutions":{"input_token":"nextPageToken","limit_key":"maximumPageSize","output_token":"nextPageToken","result_key":"executionInfos"},"ListDomains":{"input_token":"nextPageToken","limit_key":"maximumPageSize","output_token":"nextPageToken","result_key":"domainInfos"},"ListOpenWorkflowExecutions":{"input_token":"nextPageToken","limit_key":"maximumPageSize","output_token":"nextPageToken","result_key":"executionInfos"},"ListWorkflowTypes":{"input_token":"nextPageToken","limit_key":"maximumPageSize","output_token":"nextPageToken","result_key":"typeInfos"},"PollForDecisionTask":{"input_token":"nextPageToken","limit_key":"maximumPageSize","output_token":"nextPageToken","result_key":"events"}}}; + +/***/ }), + +/***/ 743: +/***/ (function(module) { + +module.exports = {"pagination":{"ListAnswers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListLensReviewImprovements":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListLensReviews":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListLenses":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMilestones":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListNotifications":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListShareInvitations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListWorkloadShares":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListWorkloads":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; + +/***/ }), + +/***/ 747: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var STS = __webpack_require__(1733); + +/** + * Represents credentials retrieved from STS Web Identity Federation support. + * + * By default this provider gets credentials using the + * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation + * requires a `RoleArn` containing the ARN of the IAM trust policy for the + * application for which credentials will be given. In addition, the + * `WebIdentityToken` must be set to the token provided by the identity + * provider. See {constructor} for an example on creating a credentials + * object with proper `RoleArn` and `WebIdentityToken` values. + * + * ## Refreshing Credentials from Identity Service + * + * In addition to AWS credentials expiring after a given amount of time, the + * login token from the identity provider will also expire. Once this token + * expires, it will not be usable to refresh AWS credentials, and another + * token will be needed. The SDK does not manage refreshing of the token value, + * but this can be done through a "refresh token" supported by most identity + * providers. Consult the documentation for the identity provider for refreshing + * tokens. Once the refreshed token is acquired, you should make sure to update + * this new token in the credentials object's {params} property. The following + * code will update the WebIdentityToken, assuming you have retrieved an updated + * token from the identity provider: + * + * ```javascript + * AWS.config.credentials.params.WebIdentityToken = updatedToken; + * ``` + * + * Future calls to `credentials.refresh()` will now use the new token. + * + * @!attribute params + * @return [map] the map of params passed to + * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the + * `params.WebIdentityToken` property. + * @!attribute data + * @return [map] the raw data response from the call to + * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get + * access to other properties from the response. + */ +AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { + /** + * Creates a new credentials object. + * @param (see AWS.STS.assumeRoleWithWebIdentity) + * @example Creating a new credentials object + * AWS.config.credentials = new AWS.WebIdentityCredentials({ + * RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity', + * WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service + * RoleSessionName: 'web' // optional name, defaults to web-identity + * }, { + * // optionally provide configuration to apply to the underlying AWS.STS service client + * // if configuration is not provided, then configuration will be pulled from AWS.config + * + * // specify timeout options + * httpOptions: { + * timeout: 100 + * } + * }); + * @see AWS.STS.assumeRoleWithWebIdentity + * @see AWS.Config + */ + constructor: function WebIdentityCredentials(params, clientConfig) { + AWS.Credentials.call(this); + this.expired = true; + this.params = params; + this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity'; + this.data = null; + this._clientConfig = AWS.util.copy(clientConfig || {}); + }, + + /** + * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity} + * + * @callback callback function(err) + * Called when the STS service responds (or fails). When + * this callback is called with no error, it means that the credentials + * information has been loaded into the object (as the `accessKeyId`, + * `secretAccessKey`, and `sessionToken` properties). + * @param err [Error] if an error occurred, this value will be filled + * @see get + */ + refresh: function refresh(callback) { + this.coalesceRefresh(callback || AWS.util.fn.callback); + }, + + /** + * @api private + */ + load: function load(callback) { + var self = this; + self.createClients(); + self.service.assumeRoleWithWebIdentity(function (err, data) { + self.data = null; + if (!err) { + self.data = data; + self.service.credentialsFrom(data, self); + } + callback(err); + }); + }, + + /** + * @api private + */ + createClients: function() { + if (!this.service) { + var stsConfig = AWS.util.merge({}, this._clientConfig); + stsConfig.params = this.params; + this.service = new STS(stsConfig); + } + } - function QueryParamSerializer() {} +}); - QueryParamSerializer.prototype.serialize = function (params, shape, fn) { - serializeStructure("", params, shape, fn); - }; - function ucfirst(shape) { - if (shape.isQueryName || shape.api.protocol !== "ec2") { - return shape.name; - } else { - return shape.name[0].toUpperCase() + shape.name.substr(1); - } - } +/***/ }), - function serializeStructure(prefix, struct, rules, fn) { - util.each(rules.members, function (name, member) { - var value = struct[name]; - if (value === null || value === undefined) return; +/***/ 758: +/***/ (function(module, __unusedexports, __webpack_require__) { - var memberName = ucfirst(member); - memberName = prefix ? prefix + "." + memberName : memberName; - serializeMember(memberName, value, member, fn); - }); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function serializeMap(name, map, rules, fn) { - var i = 1; - util.each(map, function (key, value) { - var prefix = rules.flattened ? "." : ".entry."; - var position = prefix + i++ + "."; - var keyName = position + (rules.key.name || "key"); - var valueName = position + (rules.value.name || "value"); - serializeMember(name + keyName, key, rules.key, fn); - serializeMember(name + valueName, value, rules.value, fn); - }); - } +apiLoader.services['mobile'] = {}; +AWS.Mobile = Service.defineService('mobile', ['2017-07-01']); +Object.defineProperty(apiLoader.services['mobile'], '2017-07-01', { + get: function get() { + var model = __webpack_require__(505); + model.paginators = __webpack_require__(3410).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function serializeList(name, list, rules, fn) { - var memberRules = rules.member || {}; +module.exports = AWS.Mobile; - if (list.length === 0) { - fn.call(this, name, null); - return; - } - util.arrayEach(list, function (v, n) { - var suffix = "." + (n + 1); - if (rules.api.protocol === "ec2") { - // Do nothing for EC2 - suffix = suffix + ""; // make linter happy - } else if (rules.flattened) { - if (memberRules.name) { - var parts = name.split("."); - parts.pop(); - parts.push(ucfirst(memberRules)); - name = parts.join("."); - } - } else { - suffix = - "." + (memberRules.name ? memberRules.name : "member") + suffix; - } - serializeMember(name + suffix, v, memberRules, fn); - }); - } +/***/ }), - function serializeMember(name, value, rules, fn) { - if (value === null || value === undefined) return; - if (rules.type === "structure") { - serializeStructure(name, value, rules, fn); - } else if (rules.type === "list") { - serializeList(name, value, rules, fn); - } else if (rules.type === "map") { - serializeMap(name, value, rules, fn); - } else { - fn(name, rules.toWireFormat(value).toString()); - } - } +/***/ 761: +/***/ (function(module) { - /** - * @api private - */ - module.exports = QueryParamSerializer; +module.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":"deleted","matcher":"pathAll","state":"success","argument":"DBInstances[].DBInstanceStatus"},{"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"}]}}}; - /***/ - }, +/***/ }), - /***/ 445: /***/ function (module, __unusedexports, __webpack_require__) { - /** - * What is necessary to create an event stream in node? - * - http response stream - * - parser - * - event stream model - */ - - var EventMessageChunkerStream = __webpack_require__(3862) - .EventMessageChunkerStream; - var EventUnmarshallerStream = __webpack_require__(8723) - .EventUnmarshallerStream; - - function createEventStream(stream, parser, model) { - var eventStream = new EventUnmarshallerStream({ - parser: parser, - eventStreamModel: model, - }); +/***/ 768: +/***/ (function(module, __unusedexports, __webpack_require__) { - var eventMessageChunker = new EventMessageChunkerStream(); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - stream.pipe(eventMessageChunker).pipe(eventStream); +apiLoader.services['cloudtrail'] = {}; +AWS.CloudTrail = Service.defineService('cloudtrail', ['2013-11-01']); +Object.defineProperty(apiLoader.services['cloudtrail'], '2013-11-01', { + get: function get() { + var model = __webpack_require__(1459); + model.paginators = __webpack_require__(7744).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - stream.on("error", function (err) { - eventMessageChunker.emit("error", err); - }); +module.exports = AWS.CloudTrail; - eventMessageChunker.on("error", function (err) { - eventStream.emit("error", err); - }); - return eventStream; - } +/***/ }), - /** - * @api private - */ - module.exports = { - createEventStream: createEventStream, - }; +/***/ 779: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 462: /***/ function (module) { - "use strict"; +apiLoader.services['location'] = {}; +AWS.Location = Service.defineService('location', ['2020-11-19']); +Object.defineProperty(apiLoader.services['location'], '2020-11-19', { + get: function get() { + var model = __webpack_require__(52); + model.paginators = __webpack_require__(2122).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - // See http://www.robvanderwoude.com/escapechars.php - const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g; +module.exports = AWS.Location; - function escapeCommand(arg) { - // Escape meta chars - arg = arg.replace(metaCharsRegExp, "^$1"); - return arg; - } +/***/ }), - function escapeArgument(arg, doubleEscapeMetaChars) { - // Convert to string - arg = `${arg}`; +/***/ 807: +/***/ (function(module) { - // Algorithm below is based on https://qntm.org/cmd +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":{}}},"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":"Sj"},"allowExternalPrincipals":{"type":"boolean"},"clientToken":{},"permissionArns":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"resourceShare":{"shape":"Sp"},"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"}}}}}},"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"}}},"output":{"type":"structure","members":{"resourceShares":{"type":"list","member":{"shape":"Sp"}},"nextToken":{}}}},"ListPendingInvitationResources":{"http":{"requestUri":"/listpendinginvitationresources"},"input":{"type":"structure","required":["resourceShareInvitationArn"],"members":{"resourceShareInvitationArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resources":{"shape":"S1p"},"nextToken":{}}}},"ListPermissions":{"http":{"requestUri":"/listpermissions"},"input":{"type":"structure","members":{"resourceType":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"permissions":{"shape":"S1u"},"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":"S1u"},"nextToken":{}}}},"ListResourceTypes":{"http":{"requestUri":"/listresourcetypes"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resourceTypes":{"type":"list","member":{"type":"structure","members":{"resourceType":{},"serviceName":{}}}},"nextToken":{}}}},"ListResources":{"http":{"requestUri":"/listresources"},"input":{"type":"structure","required":["resourceOwner"],"members":{"resourceOwner":{},"principal":{},"resourceType":{},"resourceArns":{"shape":"Sd"},"resourceShareArns":{"shape":"S1a"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resources":{"shape":"S1p"},"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":"Sj"}}},"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":"Sp"},"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."}}},"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":{}},"Sj":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}}},"Sp":{"type":"structure","members":{"resourceShareArn":{},"name":{},"owningAccountId":{},"allowExternalPrincipals":{"type":"boolean"},"status":{},"statusMessage":{},"tags":{"shape":"Sj"},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"featureSet":{}}},"S1a":{"type":"list","member":{}},"S1p":{"type":"list","member":{"type":"structure","members":{"arn":{},"type":{},"resourceShareArn":{},"resourceGroupArn":{},"status":{},"statusMessage":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"}}}},"S1u":{"type":"list","member":{"type":"structure","members":{"arn":{},"version":{},"defaultVersion":{"type":"boolean"},"name":{},"resourceType":{},"status":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"}}}}}}; - // Sequence of backslashes followed by a double quote: - // double up all the backslashes and escape the double quote - arg = arg.replace(/(\\*)"/g, '$1$1\\"'); +/***/ }), - // Sequence of backslashes followed by the end of the string - // (which will become a double quote later): - // double up all the backslashes - arg = arg.replace(/(\\*)$/, "$1$1"); +/***/ 833: +/***/ (function(module) { - // All other backslashes occur literally +module.exports = {"pagination":{"DescribeDomains":{"result_key":"DomainStatusList"},"DescribeIndexFields":{"result_key":"IndexFields"},"DescribeRankExpressions":{"result_key":"RankExpressions"}}}; - // Quote the whole thing: - arg = `"${arg}"`; +/***/ }), - // Escape meta chars - arg = arg.replace(metaCharsRegExp, "^$1"); +/***/ 837: +/***/ (function(module, __unusedexports, __webpack_require__) { - // Double escape meta chars if necessary - if (doubleEscapeMetaChars) { - arg = arg.replace(metaCharsRegExp, "^$1"); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - return arg; - } +apiLoader.services['sesv2'] = {}; +AWS.SESV2 = Service.defineService('sesv2', ['2019-09-27']); +Object.defineProperty(apiLoader.services['sesv2'], '2019-09-27', { + get: function get() { + var model = __webpack_require__(5338); + model.paginators = __webpack_require__(2189).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - module.exports.command = escapeCommand; - module.exports.argument = escapeArgument; +module.exports = AWS.SESV2; - /***/ - }, - /***/ 466: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["mediatailor"] = {}; - AWS.MediaTailor = Service.defineService("mediatailor", ["2018-04-23"]); - Object.defineProperty(apiLoader.services["mediatailor"], "2018-04-23", { - get: function get() { - var model = __webpack_require__(8892); - model.paginators = __webpack_require__(5369).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 842: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - module.exports = AWS.MediaTailor; +"use strict"; - /***/ - }, - /***/ 469: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["clouddirectory"] = {}; - AWS.CloudDirectory = Service.defineService("clouddirectory", [ - "2016-05-10", - "2016-05-10*", - "2017-01-11", - ]); - Object.defineProperty( - apiLoader.services["clouddirectory"], - "2016-05-10", - { - get: function get() { - var model = __webpack_require__(6869); - model.paginators = __webpack_require__(1287).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - Object.defineProperty( - apiLoader.services["clouddirectory"], - "2017-01-11", - { - get: function get() { - var model = __webpack_require__(2638); - model.paginators = __webpack_require__(8910).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +Object.defineProperty(exports, '__esModule', { value: true }); - module.exports = AWS.CloudDirectory; +var deprecation = __webpack_require__(7692); - /***/ +var endpointsByScope = { + actions: { + cancelWorkflowRun: { + method: "POST", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + run_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/actions/runs/:run_id/cancel" }, - - /***/ 484: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ + createOrUpdateSecretForRepo: { + method: "PUT", + params: { + encrypted_value: { + type: "string" + }, + key_id: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/secrets/:name" }, - - /***/ 489: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; - - const path = __webpack_require__(5622); - const which = __webpack_require__(3814); - const pathKey = __webpack_require__(1039)(); - - function resolveCommandAttempt(parsed, withoutPathExt) { - const cwd = process.cwd(); - const hasCustomCwd = parsed.options.cwd != null; - - // If a custom `cwd` was specified, we need to change the process cwd - // because `which` will do stat calls but does not support a custom cwd - if (hasCustomCwd) { - try { - process.chdir(parsed.options.cwd); - } catch (err) { - /* Empty */ - } + createRegistrationToken: { + method: "POST", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" } - - let resolved; - - try { - resolved = which.sync(parsed.command, { - path: (parsed.options.env || process.env)[pathKey], - pathExt: withoutPathExt ? path.delimiter : undefined, - }); - } catch (e) { - /* Empty */ - } finally { - process.chdir(cwd); + }, + url: "/repos/:owner/:repo/actions/runners/registration-token" + }, + createRemoveToken: { + method: "POST", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/runners/remove-token" + }, + deleteArtifact: { + method: "DELETE", + params: { + artifact_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" } - - // If we successfully resolved, ensure that an absolute path is returned - // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it - if (resolved) { - resolved = path.resolve( - hasCustomCwd ? parsed.options.cwd : "", - resolved - ); + }, + url: "/repos/:owner/:repo/actions/artifacts/:artifact_id" + }, + deleteSecretFromRepo: { + method: "DELETE", + params: { + name: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/secrets/:name" + }, + downloadArtifact: { + method: "GET", + params: { + archive_format: { + required: true, + type: "string" + }, + artifact_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format" + }, + getArtifact: { + method: "GET", + params: { + artifact_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/artifacts/:artifact_id" + }, + getPublicKey: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/secrets/public-key" + }, + getSecret: { + method: "GET", + params: { + name: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/secrets/:name" + }, + getSelfHostedRunner: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + runner_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/actions/runners/:runner_id" + }, + getWorkflow: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + workflow_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/actions/workflows/:workflow_id" + }, + getWorkflowJob: { + method: "GET", + params: { + job_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/jobs/:job_id" + }, + getWorkflowRun: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + run_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/actions/runs/:run_id" + }, + listDownloadsForSelfHostedRunnerApplication: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" } - - return resolved; - } - - function resolveCommand(parsed) { - return ( - resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true) - ); - } - - module.exports = resolveCommand; - - /***/ + }, + url: "/repos/:owner/:repo/actions/runners/downloads" + }, + listJobsForWorkflowRun: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + run_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/actions/runs/:run_id/jobs" + }, + listRepoWorkflowRuns: { + method: "GET", + params: { + actor: { + type: "string" + }, + branch: { + type: "string" + }, + event: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + status: { + enum: ["completed", "status", "conclusion"], + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/runs" }, - - /***/ 505: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-07-01", - endpointPrefix: "mobile", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "AWS Mobile", - serviceId: "Mobile", - signatureVersion: "v4", - signingName: "AWSMobileHubService", - uid: "mobile-2017-07-01", - }, - operations: { - CreateProject: { - http: { requestUri: "/projects" }, - input: { - type: "structure", - members: { - name: { location: "querystring", locationName: "name" }, - region: { location: "querystring", locationName: "region" }, - contents: { type: "blob" }, - snapshotId: { - location: "querystring", - locationName: "snapshotId", - }, - }, - payload: "contents", - }, - output: { - type: "structure", - members: { details: { shape: "S7" } }, - }, - }, - DeleteProject: { - http: { method: "DELETE", requestUri: "/projects/{projectId}" }, - input: { - type: "structure", - required: ["projectId"], - members: { - projectId: { location: "uri", locationName: "projectId" }, - }, - }, - output: { - type: "structure", - members: { - deletedResources: { shape: "Sc" }, - orphanedResources: { shape: "Sc" }, - }, - }, - }, - DescribeBundle: { - http: { method: "GET", requestUri: "/bundles/{bundleId}" }, - input: { - type: "structure", - required: ["bundleId"], - members: { - bundleId: { location: "uri", locationName: "bundleId" }, - }, - }, - output: { - type: "structure", - members: { details: { shape: "Sq" } }, - }, - }, - DescribeProject: { - http: { method: "GET", requestUri: "/project" }, - input: { - type: "structure", - required: ["projectId"], - members: { - projectId: { - location: "querystring", - locationName: "projectId", - }, - syncFromResources: { - location: "querystring", - locationName: "syncFromResources", - type: "boolean", - }, - }, - }, - output: { - type: "structure", - members: { details: { shape: "S7" } }, - }, - }, - ExportBundle: { - http: { requestUri: "/bundles/{bundleId}" }, - input: { - type: "structure", - required: ["bundleId"], - members: { - bundleId: { location: "uri", locationName: "bundleId" }, - projectId: { - location: "querystring", - locationName: "projectId", - }, - platform: { location: "querystring", locationName: "platform" }, - }, - }, - output: { type: "structure", members: { downloadUrl: {} } }, - }, - ExportProject: { - http: { requestUri: "/exports/{projectId}" }, - input: { - type: "structure", - required: ["projectId"], - members: { - projectId: { location: "uri", locationName: "projectId" }, - }, - }, - output: { - type: "structure", - members: { downloadUrl: {}, shareUrl: {}, snapshotId: {} }, - }, - }, - ListBundles: { - http: { method: "GET", requestUri: "/bundles" }, - input: { - type: "structure", - members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - bundleList: { type: "list", member: { shape: "Sq" } }, - nextToken: {}, - }, - }, - }, - ListProjects: { - http: { method: "GET", requestUri: "/projects" }, - input: { - type: "structure", - members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - projects: { - type: "list", - member: { - type: "structure", - members: { name: {}, projectId: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - UpdateProject: { - http: { requestUri: "/update" }, - input: { - type: "structure", - required: ["projectId"], - members: { - contents: { type: "blob" }, - projectId: { - location: "querystring", - locationName: "projectId", - }, - }, - payload: "contents", - }, - output: { - type: "structure", - members: { details: { shape: "S7" } }, - }, - }, + listRepoWorkflows: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - shapes: { - S7: { - type: "structure", - members: { - name: {}, - projectId: {}, - region: {}, - state: {}, - createdDate: { type: "timestamp" }, - lastUpdatedDate: { type: "timestamp" }, - consoleUrl: {}, - resources: { shape: "Sc" }, - }, - }, - Sc: { - type: "list", - member: { - type: "structure", - members: { - type: {}, - name: {}, - arn: {}, - feature: {}, - attributes: { type: "map", key: {}, value: {} }, - }, - }, - }, - Sq: { - type: "structure", - members: { - bundleId: {}, - title: {}, - version: {}, - description: {}, - iconUrl: {}, - availablePlatforms: { type: "list", member: {} }, - }, - }, + page: { + type: "integer" }, - }; - - /***/ - }, - - /***/ 520: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/workflows" }, - - /***/ 522: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-08-10", - endpointPrefix: "batch", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "AWS Batch", - serviceFullName: "AWS Batch", - serviceId: "Batch", - signatureVersion: "v4", - uid: "batch-2016-08-10", - }, - operations: { - CancelJob: { - http: { requestUri: "/v1/canceljob" }, - input: { - type: "structure", - required: ["jobId", "reason"], - members: { jobId: {}, reason: {} }, - }, - output: { type: "structure", members: {} }, - }, - CreateComputeEnvironment: { - http: { requestUri: "/v1/createcomputeenvironment" }, - input: { - type: "structure", - required: ["computeEnvironmentName", "type", "serviceRole"], - members: { - computeEnvironmentName: {}, - type: {}, - state: {}, - computeResources: { shape: "S7" }, - serviceRole: {}, - }, - }, - output: { - type: "structure", - members: { - computeEnvironmentName: {}, - computeEnvironmentArn: {}, - }, - }, - }, - CreateJobQueue: { - http: { requestUri: "/v1/createjobqueue" }, - input: { - type: "structure", - required: ["jobQueueName", "priority", "computeEnvironmentOrder"], - members: { - jobQueueName: {}, - state: {}, - priority: { type: "integer" }, - computeEnvironmentOrder: { shape: "Sh" }, - }, - }, - output: { - type: "structure", - required: ["jobQueueName", "jobQueueArn"], - members: { jobQueueName: {}, jobQueueArn: {} }, - }, - }, - DeleteComputeEnvironment: { - http: { requestUri: "/v1/deletecomputeenvironment" }, - input: { - type: "structure", - required: ["computeEnvironment"], - members: { computeEnvironment: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteJobQueue: { - http: { requestUri: "/v1/deletejobqueue" }, - input: { - type: "structure", - required: ["jobQueue"], - members: { jobQueue: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeregisterJobDefinition: { - http: { requestUri: "/v1/deregisterjobdefinition" }, - input: { - type: "structure", - required: ["jobDefinition"], - members: { jobDefinition: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeComputeEnvironments: { - http: { requestUri: "/v1/describecomputeenvironments" }, - input: { - type: "structure", - members: { - computeEnvironments: { shape: "Sb" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - computeEnvironments: { - type: "list", - member: { - type: "structure", - required: [ - "computeEnvironmentName", - "computeEnvironmentArn", - "ecsClusterArn", - ], - members: { - computeEnvironmentName: {}, - computeEnvironmentArn: {}, - ecsClusterArn: {}, - type: {}, - state: {}, - status: {}, - statusReason: {}, - computeResources: { shape: "S7" }, - serviceRole: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - DescribeJobDefinitions: { - http: { requestUri: "/v1/describejobdefinitions" }, - input: { - type: "structure", - members: { - jobDefinitions: { shape: "Sb" }, - maxResults: { type: "integer" }, - jobDefinitionName: {}, - status: {}, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - jobDefinitions: { - type: "list", - member: { - type: "structure", - required: [ - "jobDefinitionName", - "jobDefinitionArn", - "revision", - "type", - ], - members: { - jobDefinitionName: {}, - jobDefinitionArn: {}, - revision: { type: "integer" }, - status: {}, - type: {}, - parameters: { shape: "Sz" }, - retryStrategy: { shape: "S10" }, - containerProperties: { shape: "S11" }, - timeout: { shape: "S1k" }, - nodeProperties: { shape: "S1l" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - DescribeJobQueues: { - http: { requestUri: "/v1/describejobqueues" }, - input: { - type: "structure", - members: { - jobQueues: { shape: "Sb" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - jobQueues: { - type: "list", - member: { - type: "structure", - required: [ - "jobQueueName", - "jobQueueArn", - "state", - "priority", - "computeEnvironmentOrder", - ], - members: { - jobQueueName: {}, - jobQueueArn: {}, - state: {}, - status: {}, - statusReason: {}, - priority: { type: "integer" }, - computeEnvironmentOrder: { shape: "Sh" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - DescribeJobs: { - http: { requestUri: "/v1/describejobs" }, - input: { - type: "structure", - required: ["jobs"], - members: { jobs: { shape: "Sb" } }, - }, - output: { - type: "structure", - members: { - jobs: { - type: "list", - member: { - type: "structure", - required: [ - "jobName", - "jobId", - "jobQueue", - "status", - "startedAt", - "jobDefinition", - ], - members: { - jobName: {}, - jobId: {}, - jobQueue: {}, - status: {}, - attempts: { - type: "list", - member: { - type: "structure", - members: { - container: { - type: "structure", - members: { - containerInstanceArn: {}, - taskArn: {}, - exitCode: { type: "integer" }, - reason: {}, - logStreamName: {}, - networkInterfaces: { shape: "S21" }, - }, - }, - startedAt: { type: "long" }, - stoppedAt: { type: "long" }, - statusReason: {}, - }, - }, - }, - statusReason: {}, - createdAt: { type: "long" }, - retryStrategy: { shape: "S10" }, - startedAt: { type: "long" }, - stoppedAt: { type: "long" }, - dependsOn: { shape: "S24" }, - jobDefinition: {}, - parameters: { shape: "Sz" }, - container: { - type: "structure", - members: { - image: {}, - vcpus: { type: "integer" }, - memory: { type: "integer" }, - command: { shape: "Sb" }, - jobRoleArn: {}, - volumes: { shape: "S12" }, - environment: { shape: "S15" }, - mountPoints: { shape: "S17" }, - readonlyRootFilesystem: { type: "boolean" }, - ulimits: { shape: "S1a" }, - privileged: { type: "boolean" }, - user: {}, - exitCode: { type: "integer" }, - reason: {}, - containerInstanceArn: {}, - taskArn: {}, - logStreamName: {}, - instanceType: {}, - networkInterfaces: { shape: "S21" }, - resourceRequirements: { shape: "S1c" }, - linuxParameters: { shape: "S1f" }, - }, - }, - nodeDetails: { - type: "structure", - members: { - nodeIndex: { type: "integer" }, - isMainNode: { type: "boolean" }, - }, - }, - nodeProperties: { shape: "S1l" }, - arrayProperties: { - type: "structure", - members: { - statusSummary: { - type: "map", - key: {}, - value: { type: "integer" }, - }, - size: { type: "integer" }, - index: { type: "integer" }, - }, - }, - timeout: { shape: "S1k" }, - }, - }, - }, - }, - }, - }, - ListJobs: { - http: { requestUri: "/v1/listjobs" }, - input: { - type: "structure", - members: { - jobQueue: {}, - arrayJobId: {}, - multiNodeJobId: {}, - jobStatus: {}, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - required: ["jobSummaryList"], - members: { - jobSummaryList: { - type: "list", - member: { - type: "structure", - required: ["jobId", "jobName"], - members: { - jobId: {}, - jobName: {}, - createdAt: { type: "long" }, - status: {}, - statusReason: {}, - startedAt: { type: "long" }, - stoppedAt: { type: "long" }, - container: { - type: "structure", - members: { exitCode: { type: "integer" }, reason: {} }, - }, - arrayProperties: { - type: "structure", - members: { - size: { type: "integer" }, - index: { type: "integer" }, - }, - }, - nodeProperties: { - type: "structure", - members: { - isMainNode: { type: "boolean" }, - numNodes: { type: "integer" }, - nodeIndex: { type: "integer" }, - }, - }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - RegisterJobDefinition: { - http: { requestUri: "/v1/registerjobdefinition" }, - input: { - type: "structure", - required: ["jobDefinitionName", "type"], - members: { - jobDefinitionName: {}, - type: {}, - parameters: { shape: "Sz" }, - containerProperties: { shape: "S11" }, - nodeProperties: { shape: "S1l" }, - retryStrategy: { shape: "S10" }, - timeout: { shape: "S1k" }, - }, - }, - output: { - type: "structure", - required: ["jobDefinitionName", "jobDefinitionArn", "revision"], - members: { - jobDefinitionName: {}, - jobDefinitionArn: {}, - revision: { type: "integer" }, - }, - }, - }, - SubmitJob: { - http: { requestUri: "/v1/submitjob" }, - input: { - type: "structure", - required: ["jobName", "jobQueue", "jobDefinition"], - members: { - jobName: {}, - jobQueue: {}, - arrayProperties: { - type: "structure", - members: { size: { type: "integer" } }, - }, - dependsOn: { shape: "S24" }, - jobDefinition: {}, - parameters: { shape: "Sz" }, - containerOverrides: { shape: "S2n" }, - nodeOverrides: { - type: "structure", - members: { - numNodes: { type: "integer" }, - nodePropertyOverrides: { - type: "list", - member: { - type: "structure", - required: ["targetNodes"], - members: { - targetNodes: {}, - containerOverrides: { shape: "S2n" }, - }, - }, - }, - }, - }, - retryStrategy: { shape: "S10" }, - timeout: { shape: "S1k" }, - }, - }, - output: { - type: "structure", - required: ["jobName", "jobId"], - members: { jobName: {}, jobId: {} }, - }, - }, - TerminateJob: { - http: { requestUri: "/v1/terminatejob" }, - input: { - type: "structure", - required: ["jobId", "reason"], - members: { jobId: {}, reason: {} }, - }, - output: { type: "structure", members: {} }, - }, - UpdateComputeEnvironment: { - http: { requestUri: "/v1/updatecomputeenvironment" }, - input: { - type: "structure", - required: ["computeEnvironment"], - members: { - computeEnvironment: {}, - state: {}, - computeResources: { - type: "structure", - members: { - minvCpus: { type: "integer" }, - maxvCpus: { type: "integer" }, - desiredvCpus: { type: "integer" }, - }, - }, - serviceRole: {}, - }, - }, - output: { - type: "structure", - members: { - computeEnvironmentName: {}, - computeEnvironmentArn: {}, - }, - }, - }, - UpdateJobQueue: { - http: { requestUri: "/v1/updatejobqueue" }, - input: { - type: "structure", - required: ["jobQueue"], - members: { - jobQueue: {}, - state: {}, - priority: { type: "integer" }, - computeEnvironmentOrder: { shape: "Sh" }, - }, - }, - output: { - type: "structure", - members: { jobQueueName: {}, jobQueueArn: {} }, - }, - }, + listSecretsForRepo: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - shapes: { - S7: { - type: "structure", - required: [ - "type", - "minvCpus", - "maxvCpus", - "instanceTypes", - "subnets", - "instanceRole", - ], - members: { - type: {}, - allocationStrategy: {}, - minvCpus: { type: "integer" }, - maxvCpus: { type: "integer" }, - desiredvCpus: { type: "integer" }, - instanceTypes: { shape: "Sb" }, - imageId: {}, - subnets: { shape: "Sb" }, - securityGroupIds: { shape: "Sb" }, - ec2KeyPair: {}, - instanceRole: {}, - tags: { type: "map", key: {}, value: {} }, - placementGroup: {}, - bidPercentage: { type: "integer" }, - spotIamFleetRole: {}, - launchTemplate: { - type: "structure", - members: { - launchTemplateId: {}, - launchTemplateName: {}, - version: {}, - }, - }, - }, - }, - Sb: { type: "list", member: {} }, - Sh: { - type: "list", - member: { - type: "structure", - required: ["order", "computeEnvironment"], - members: { order: { type: "integer" }, computeEnvironment: {} }, - }, - }, - Sz: { type: "map", key: {}, value: {} }, - S10: { - type: "structure", - members: { attempts: { type: "integer" } }, - }, - S11: { - type: "structure", - members: { - image: {}, - vcpus: { type: "integer" }, - memory: { type: "integer" }, - command: { shape: "Sb" }, - jobRoleArn: {}, - volumes: { shape: "S12" }, - environment: { shape: "S15" }, - mountPoints: { shape: "S17" }, - readonlyRootFilesystem: { type: "boolean" }, - privileged: { type: "boolean" }, - ulimits: { shape: "S1a" }, - user: {}, - instanceType: {}, - resourceRequirements: { shape: "S1c" }, - linuxParameters: { shape: "S1f" }, - }, - }, - S12: { - type: "list", - member: { - type: "structure", - members: { - host: { type: "structure", members: { sourcePath: {} } }, - name: {}, - }, - }, - }, - S15: { - type: "list", - member: { type: "structure", members: { name: {}, value: {} } }, - }, - S17: { - type: "list", - member: { - type: "structure", - members: { - containerPath: {}, - readOnly: { type: "boolean" }, - sourceVolume: {}, - }, - }, - }, - S1a: { - type: "list", - member: { - type: "structure", - required: ["hardLimit", "name", "softLimit"], - members: { - hardLimit: { type: "integer" }, - name: {}, - softLimit: { type: "integer" }, - }, - }, - }, - S1c: { - type: "list", - member: { - type: "structure", - required: ["value", "type"], - members: { value: {}, type: {} }, - }, - }, - S1f: { - type: "structure", - members: { - devices: { - type: "list", - member: { - type: "structure", - required: ["hostPath"], - members: { - hostPath: {}, - containerPath: {}, - permissions: { type: "list", member: {} }, - }, - }, - }, - }, - }, - S1k: { - type: "structure", - members: { attemptDurationSeconds: { type: "integer" } }, - }, - S1l: { - type: "structure", - required: ["numNodes", "mainNode", "nodeRangeProperties"], - members: { - numNodes: { type: "integer" }, - mainNode: { type: "integer" }, - nodeRangeProperties: { - type: "list", - member: { - type: "structure", - required: ["targetNodes"], - members: { targetNodes: {}, container: { shape: "S11" } }, - }, - }, - }, - }, - S21: { - type: "list", - member: { - type: "structure", - members: { - attachmentId: {}, - ipv6Address: {}, - privateIpv4Address: {}, - }, - }, - }, - S24: { - type: "list", - member: { type: "structure", members: { jobId: {}, type: {} } }, - }, - S2n: { - type: "structure", - members: { - vcpus: { type: "integer" }, - memory: { type: "integer" }, - command: { shape: "Sb" }, - instanceType: {}, - environment: { shape: "S15" }, - resourceRequirements: { shape: "S1c" }, - }, - }, + page: { + type: "integer" }, - }; - - /***/ + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/secrets" }, - - /***/ 543: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.Glacier.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (Array.isArray(request._events.validate)) { - request._events.validate.unshift(this.validateAccountId); - } else { - request.on("validate", this.validateAccountId); - } - request.removeListener( - "afterBuild", - AWS.EventListeners.Core.COMPUTE_SHA256 - ); - request.on("build", this.addGlacierApiVersion); - request.on("build", this.addTreeHashHeaders); + listSelfHostedRunnersForRepo: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - - /** - * @api private - */ - validateAccountId: function validateAccountId(request) { - if (request.params.accountId !== undefined) return; - request.params = AWS.util.copy(request.params); - request.params.accountId = "-"; + page: { + type: "integer" }, - - /** - * @api private - */ - addGlacierApiVersion: function addGlacierApiVersion(request) { - var version = request.service.api.apiVersion; - request.httpRequest.headers["x-amz-glacier-version"] = version; + per_page: { + type: "integer" }, - - /** - * @api private - */ - addTreeHashHeaders: function addTreeHashHeaders(request) { - if (request.params.body === undefined) return; - - var hashes = request.service.computeChecksums(request.params.body); - request.httpRequest.headers["X-Amz-Content-Sha256"] = - hashes.linearHash; - - if (!request.httpRequest.headers["x-amz-sha256-tree-hash"]) { - request.httpRequest.headers["x-amz-sha256-tree-hash"] = - hashes.treeHash; - } + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/actions/runners" + }, + listWorkflowJobLogs: { + method: "GET", + params: { + job_id: { + required: true, + type: "integer" }, - - /** - * @!group Computing Checksums - */ - - /** - * Computes the SHA-256 linear and tree hash checksums for a given - * block of Buffer data. Pass the tree hash of the computed checksums - * as the checksum input to the {completeMultipartUpload} when performing - * a multi-part upload. - * - * @example Calculate checksum of 5.5MB data chunk - * var glacier = new AWS.Glacier(); - * var data = Buffer.alloc(5.5 * 1024 * 1024); - * data.fill('0'); // fill with zeros - * var results = glacier.computeChecksums(data); - * // Result: { linearHash: '68aff0c5a9...', treeHash: '154e26c78f...' } - * @param data [Buffer, String] data to calculate the checksum for - * @return [map] a map containing - * the linearHash and treeHash properties representing hex based digests - * of the respective checksums. - * @see completeMultipartUpload - */ - computeChecksums: function computeChecksums(data) { - if (!AWS.util.Buffer.isBuffer(data)) - data = AWS.util.buffer.toBuffer(data); - - var mb = 1024 * 1024; - var hashes = []; - var hash = AWS.util.crypto.createHash("sha256"); - - // build leaf nodes in 1mb chunks - for (var i = 0; i < data.length; i += mb) { - var chunk = data.slice(i, Math.min(i + mb, data.length)); - hash.update(chunk); - hashes.push(AWS.util.crypto.sha256(chunk)); - } - - return { - linearHash: hash.digest("hex"), - treeHash: this.buildHashTree(hashes), - }; + owner: { + required: true, + type: "string" }, - - /** - * @api private - */ - buildHashTree: function buildHashTree(hashes) { - // merge leaf nodes - while (hashes.length > 1) { - var tmpHashes = []; - for (var i = 0; i < hashes.length; i += 2) { - if (hashes[i + 1]) { - var tmpHash = AWS.util.buffer.alloc(64); - tmpHash.write(hashes[i], 0, 32, "binary"); - tmpHash.write(hashes[i + 1], 32, 32, "binary"); - tmpHashes.push(AWS.util.crypto.sha256(tmpHash)); - } else { - tmpHashes.push(hashes[i]); - } - } - hashes = tmpHashes; - } - - return AWS.util.crypto.toHex(hashes[0]); + page: { + type: "integer" }, - }); - - /***/ - }, - - /***/ 559: /***/ function (module) { - module.exports = { - pagination: { - DescribeStackEvents: { - input_token: "NextToken", - output_token: "NextToken", - result_key: "StackEvents", - }, - DescribeStackResourceDrifts: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - DescribeStackResources: { result_key: "StackResources" }, - DescribeStacks: { - input_token: "NextToken", - output_token: "NextToken", - result_key: "Stacks", - }, - ListExports: { - input_token: "NextToken", - output_token: "NextToken", - result_key: "Exports", - }, - ListImports: { - input_token: "NextToken", - output_token: "NextToken", - result_key: "Imports", - }, - ListStackResources: { - input_token: "NextToken", - output_token: "NextToken", - result_key: "StackResourceSummaries", - }, - ListStacks: { - input_token: "NextToken", - output_token: "NextToken", - result_key: "StackSummaries", - }, - ListTypeRegistrations: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListTypeVersions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListTypes: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, + per_page: { + type: "integer" }, - }; - - /***/ - }, - - /***/ 576: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var util = __webpack_require__(153); - var QueryParamSerializer = __webpack_require__(439); - var Shape = __webpack_require__(3682); - var populateHostPrefix = __webpack_require__(904).populateHostPrefix; - - function buildRequest(req) { - var operation = req.service.api.operations[req.operation]; - var httpRequest = req.httpRequest; - httpRequest.headers["Content-Type"] = - "application/x-www-form-urlencoded; charset=utf-8"; - httpRequest.params = { - Version: req.service.api.apiVersion, - Action: operation.name, - }; - - // convert the request parameters into a list of query params, - // e.g. Deeply.NestedParam.0.Name=value - var builder = new QueryParamSerializer(); - builder.serialize(req.params, operation.input, function (name, value) { - httpRequest.params[name] = value; - }); - httpRequest.body = util.queryParamsToString(httpRequest.params); - - populateHostPrefix(req); - } - - function extractError(resp) { - var data, - body = resp.httpResponse.body.toString(); - if (body.match(" 9223372036854775807 || number < -9223372036854775808) { - throw new Error( - number + - " is too large (or, if negative, too small) to represent as an Int64" - ); - } - - var bytes = new Uint8Array(8); - for ( - var i = 7, remaining = Math.abs(Math.round(number)); - i > -1 && remaining > 0; - i--, remaining /= 256 - ) { - bytes[i] = remaining; - } - - if (number < 0) { - negate(bytes); + repo: { + required: true, + type: "string" } - - return new Int64(bytes); - }; - - /** - * @returns {number} - * - * @api private - */ - Int64.prototype.valueOf = function () { - var bytes = this.bytes.slice(0); - var negative = bytes[0] & 128; - if (negative) { - negate(bytes); - } - - return parseInt(bytes.toString("hex"), 16) * (negative ? -1 : 1); - }; - - Int64.prototype.toString = function () { - return String(this.valueOf()); - }; - - /** - * @param {Buffer} bytes - * - * @api private - */ - function negate(bytes) { - for (var i = 0; i < 8; i++) { - bytes[i] ^= 0xff; - } - for (var i = 7; i > -1; i--) { - bytes[i]++; - if (bytes[i] !== 0) { - break; - } - } - } - - /** - * @api private - */ - module.exports = { - Int64: Int64, - }; - - /***/ + }, + url: "/networks/:owner/:repo/events" }, - - /***/ 612: /***/ function (module) { - module.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: {}, - }, - }, - }, + listPublicEventsForUser: { + method: "GET", + params: { + page: { + type: "integer" }, - 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" } }, + per_page: { + type: "integer" }, - }; - - /***/ - }, - - /***/ 623: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codeguruprofiler"] = {}; - AWS.CodeGuruProfiler = Service.defineService("codeguruprofiler", [ - "2019-07-18", - ]); - Object.defineProperty( - apiLoader.services["codeguruprofiler"], - "2019-07-18", - { - get: function get() { - var model = __webpack_require__(5408); - model.paginators = __webpack_require__(4571).pagination; - return model; - }, - enumerable: true, - configurable: true, + username: { + required: true, + type: "string" } - ); - - module.exports = AWS.CodeGuruProfiler; - - /***/ + }, + url: "/users/:username/events/public" }, - - /***/ 625: /***/ function (module) { - /** - * Takes in a buffer of event messages and splits them into individual messages. - * @param {Buffer} buffer - * @api private - */ - function eventMessageChunker(buffer) { - /** @type Buffer[] */ - var messages = []; - var offset = 0; - - while (offset < buffer.length) { - var totalLength = buffer.readInt32BE(offset); - - // create new buffer for individual message (shares memory with original) - var message = buffer.slice(offset, totalLength + offset); - // increment offset to it starts at the next message - offset += totalLength; - - messages.push(message); + listReceivedEventsForUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + username: { + required: true, + type: "string" } - - return messages; - } - - /** - * @api private - */ - module.exports = { - eventMessageChunker: eventMessageChunker, - }; - - /***/ + }, + url: "/users/:username/received_events" }, - - /***/ 634: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - /** - * Represents credentials from a JSON file on disk. - * If the credentials expire, the SDK can {refresh} the credentials - * from the file. - * - * The format of the file should be similar to the options passed to - * {AWS.Config}: - * - * ```javascript - * {accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'optional'} - * ``` - * - * @example Loading credentials from disk - * var creds = new AWS.FileSystemCredentials('./configuration.json'); - * creds.accessKeyId == 'AKID' - * - * @!attribute filename - * @readonly - * @return [String] the path to the JSON file on disk containing the - * credentials. - * @!macro nobrowser - */ - AWS.FileSystemCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * @overload AWS.FileSystemCredentials(filename) - * Creates a new FileSystemCredentials object from a filename - * - * @param filename [String] the path on disk to the JSON file to load. - */ - constructor: function FileSystemCredentials(filename) { - AWS.Credentials.call(this); - this.filename = filename; - this.get(function () {}); - }, - - /** - * Loads the credentials from the {filename} on disk. - * - * @callback callback function(err) - * Called after the JSON file on disk is read and parsed. When this callback - * is called with no error, it means that the credentials information - * has been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - if (!callback) callback = AWS.util.fn.callback; - try { - var creds = JSON.parse(AWS.util.readFileSync(this.filename)); - AWS.Credentials.call(this, creds); - if (!this.accessKeyId || !this.secretAccessKey) { - throw AWS.util.error( - new Error("Credentials not set in " + this.filename), - { code: "FileSystemCredentialsProviderFailure" } - ); - } - this.expired = false; - callback(); - } catch (err) { - callback(err); - } + listReceivedPublicEventsForUser: { + method: "GET", + params: { + page: { + type: "integer" }, - }); - - /***/ - }, - - /***/ 636: /***/ function (module) { - module.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", - }, - ], - }, + per_page: { + type: "integer" }, - }; - - /***/ + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/received_events/public" }, - - /***/ 644: /***/ function (module) { - module.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", - }, + listRepoEvents: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - }; - - /***/ - }, - - /***/ 665: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codebuild"] = {}; - AWS.CodeBuild = Service.defineService("codebuild", ["2016-10-06"]); - Object.defineProperty(apiLoader.services["codebuild"], "2016-10-06", { - get: function get() { - var model = __webpack_require__(5915); - model.paginators = __webpack_require__(484).pagination; - return model; + page: { + type: "integer" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.CodeBuild; - - /***/ - }, - - /***/ 677: /***/ function (module) { - module.exports = { - pagination: { - ListComponentBuildVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListComponents: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListDistributionConfigurations: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListImageBuildVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListImagePipelineImages: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListImagePipelines: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListImageRecipes: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListImages: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListInfrastructureConfigurations: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, + per_page: { + type: "integer" }, - }; - - /***/ + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/events" }, - - /***/ 682: /***/ function (module) { - module.exports = { - pagination: { - ListAccountRoles: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "roleList", - }, - ListAccounts: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "accountList", - }, + listReposStarredByAuthenticatedUser: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" }, - }; - - /***/ - }, - - /***/ 686: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["savingsplans"] = {}; - AWS.SavingsPlans = Service.defineService("savingsplans", ["2019-06-28"]); - Object.defineProperty(apiLoader.services["savingsplans"], "2019-06-28", { - get: function get() { - var model = __webpack_require__(7752); - model.paginators = __webpack_require__(4252).pagination; - return model; + page: { + type: "integer" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.SavingsPlans; - - /***/ - }, - - /***/ 693: /***/ function (module) { - module.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", - }, + per_page: { + type: "integer" }, - }; - - /***/ + sort: { + enum: ["created", "updated"], + type: "string" + } + }, + url: "/user/starred" }, - - /***/ 697: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["connect"] = {}; - AWS.Connect = Service.defineService("connect", ["2017-08-08"]); - Object.defineProperty(apiLoader.services["connect"], "2017-08-08", { - get: function get() { - var model = __webpack_require__(2662); - model.paginators = __webpack_require__(1479).pagination; - return model; + listReposStarredByUser: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Connect; - - /***/ - }, - - /***/ 707: /***/ function (module) { - module.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", - }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + sort: { + enum: ["created", "updated"], + type: "string" }, - }; - - /***/ + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/starred" + }, + listReposWatchedByUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/subscriptions" + }, + listStargazersForRepo: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/stargazers" + }, + listWatchedReposForAuthenticatedUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/subscriptions" + }, + listWatchersForRepo: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/subscribers" + }, + markAsRead: { + method: "PUT", + params: { + last_read_at: { + type: "string" + } + }, + url: "/notifications" + }, + markNotificationsAsReadForRepo: { + method: "PUT", + params: { + last_read_at: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/notifications" + }, + markThreadAsRead: { + method: "PATCH", + params: { + thread_id: { + required: true, + type: "integer" + } + }, + url: "/notifications/threads/:thread_id" + }, + setRepoSubscription: { + method: "PUT", + params: { + ignored: { + type: "boolean" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + subscribed: { + type: "boolean" + } + }, + url: "/repos/:owner/:repo/subscription" + }, + setThreadSubscription: { + method: "PUT", + params: { + ignored: { + type: "boolean" + }, + thread_id: { + required: true, + type: "integer" + } + }, + url: "/notifications/threads/:thread_id/subscription" + }, + starRepo: { + method: "PUT", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/user/starred/:owner/:repo" + }, + unstarRepo: { + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/user/starred/:owner/:repo" + } + }, + apps: { + addRepoToInstallation: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "PUT", + params: { + installation_id: { + required: true, + type: "integer" + }, + repository_id: { + required: true, + type: "integer" + } + }, + url: "/user/installations/:installation_id/repositories/:repository_id" + }, + checkAccountIsAssociatedWithAny: { + method: "GET", + params: { + account_id: { + required: true, + type: "integer" + } + }, + url: "/marketplace_listing/accounts/:account_id" + }, + checkAccountIsAssociatedWithAnyStubbed: { + method: "GET", + params: { + account_id: { + required: true, + type: "integer" + } + }, + url: "/marketplace_listing/stubbed/accounts/:account_id" + }, + checkAuthorization: { + deprecated: "octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization", + method: "GET", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/tokens/:access_token" + }, + checkToken: { + headers: { + accept: "application/vnd.github.doctor-strange-preview+json" + }, + method: "POST", + params: { + access_token: { + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/token" + }, + createContentAttachment: { + headers: { + accept: "application/vnd.github.corsair-preview+json" + }, + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + content_reference_id: { + required: true, + type: "integer" + }, + title: { + required: true, + type: "string" + } + }, + url: "/content_references/:content_reference_id/attachments" + }, + createFromManifest: { + headers: { + accept: "application/vnd.github.fury-preview+json" + }, + method: "POST", + params: { + code: { + required: true, + type: "string" + } + }, + url: "/app-manifests/:code/conversions" + }, + createInstallationToken: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "POST", + params: { + installation_id: { + required: true, + type: "integer" + }, + permissions: { + type: "object" + }, + repository_ids: { + type: "integer[]" + } + }, + url: "/app/installations/:installation_id/access_tokens" + }, + deleteAuthorization: { + headers: { + accept: "application/vnd.github.doctor-strange-preview+json" + }, + method: "DELETE", + params: { + access_token: { + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/grant" + }, + deleteInstallation: { + headers: { + accept: "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + }, + method: "DELETE", + params: { + installation_id: { + required: true, + type: "integer" + } + }, + url: "/app/installations/:installation_id" + }, + deleteToken: { + headers: { + accept: "application/vnd.github.doctor-strange-preview+json" + }, + method: "DELETE", + params: { + access_token: { + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/token" + }, + findOrgInstallation: { + deprecated: "octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)", + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/installation" + }, + findRepoInstallation: { + deprecated: "octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)", + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/installation" + }, + findUserInstallation: { + deprecated: "octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)", + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/installation" + }, + getAuthenticated: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: {}, + url: "/app" + }, + getBySlug: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + app_slug: { + required: true, + type: "string" + } + }, + url: "/apps/:app_slug" + }, + getInstallation: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + installation_id: { + required: true, + type: "integer" + } + }, + url: "/app/installations/:installation_id" + }, + getOrgInstallation: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/installation" + }, + getRepoInstallation: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/installation" + }, + getUserInstallation: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/installation" + }, + listAccountsUserOrOrgOnPlan: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + plan_id: { + required: true, + type: "integer" + }, + sort: { + enum: ["created", "updated"], + type: "string" + } + }, + url: "/marketplace_listing/plans/:plan_id/accounts" + }, + listAccountsUserOrOrgOnPlanStubbed: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + plan_id: { + required: true, + type: "integer" + }, + sort: { + enum: ["created", "updated"], + type: "string" + } + }, + url: "/marketplace_listing/stubbed/plans/:plan_id/accounts" + }, + listInstallationReposForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + installation_id: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/installations/:installation_id/repositories" + }, + listInstallations: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/app/installations" + }, + listInstallationsForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/installations" + }, + listMarketplacePurchasesForAuthenticatedUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/marketplace_purchases" + }, + listMarketplacePurchasesForAuthenticatedUserStubbed: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/marketplace_purchases/stubbed" + }, + listPlans: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/marketplace_listing/plans" + }, + listPlansStubbed: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/marketplace_listing/stubbed/plans" + }, + listRepos: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/installation/repositories" + }, + removeRepoFromInstallation: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "DELETE", + params: { + installation_id: { + required: true, + type: "integer" + }, + repository_id: { + required: true, + type: "integer" + } + }, + url: "/user/installations/:installation_id/repositories/:repository_id" + }, + resetAuthorization: { + deprecated: "octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization", + method: "POST", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/tokens/:access_token" + }, + resetToken: { + headers: { + accept: "application/vnd.github.doctor-strange-preview+json" + }, + method: "PATCH", + params: { + access_token: { + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/token" + }, + revokeAuthorizationForApplication: { + deprecated: "octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application", + method: "DELETE", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/tokens/:access_token" + }, + revokeGrantForApplication: { + deprecated: "octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application", + method: "DELETE", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/grants/:access_token" + }, + revokeInstallationToken: { + headers: { + accept: "application/vnd.github.gambit-preview+json" + }, + method: "DELETE", + params: {}, + url: "/installation/token" + } + }, + checks: { + create: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "POST", + params: { + actions: { + type: "object[]" + }, + "actions[].description": { + required: true, + type: "string" + }, + "actions[].identifier": { + required: true, + type: "string" + }, + "actions[].label": { + required: true, + type: "string" + }, + completed_at: { + type: "string" + }, + conclusion: { + enum: ["success", "failure", "neutral", "cancelled", "timed_out", "action_required"], + type: "string" + }, + details_url: { + type: "string" + }, + external_id: { + type: "string" + }, + head_sha: { + required: true, + type: "string" + }, + name: { + required: true, + type: "string" + }, + output: { + type: "object" + }, + "output.annotations": { + type: "object[]" + }, + "output.annotations[].annotation_level": { + enum: ["notice", "warning", "failure"], + required: true, + type: "string" + }, + "output.annotations[].end_column": { + type: "integer" + }, + "output.annotations[].end_line": { + required: true, + type: "integer" + }, + "output.annotations[].message": { + required: true, + type: "string" + }, + "output.annotations[].path": { + required: true, + type: "string" + }, + "output.annotations[].raw_details": { + type: "string" + }, + "output.annotations[].start_column": { + type: "integer" + }, + "output.annotations[].start_line": { + required: true, + type: "integer" + }, + "output.annotations[].title": { + type: "string" + }, + "output.images": { + type: "object[]" + }, + "output.images[].alt": { + required: true, + type: "string" + }, + "output.images[].caption": { + type: "string" + }, + "output.images[].image_url": { + required: true, + type: "string" + }, + "output.summary": { + required: true, + type: "string" + }, + "output.text": { + type: "string" + }, + "output.title": { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + started_at: { + type: "string" + }, + status: { + enum: ["queued", "in_progress", "completed"], + type: "string" + } + }, + url: "/repos/:owner/:repo/check-runs" + }, + createSuite: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "POST", + params: { + head_sha: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/check-suites" + }, + get: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "GET", + params: { + check_run_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/check-runs/:check_run_id" + }, + getSuite: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "GET", + params: { + check_suite_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/check-suites/:check_suite_id" + }, + listAnnotations: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "GET", + params: { + check_run_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/check-runs/:check_run_id/annotations" + }, + listForRef: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "GET", + params: { + check_name: { + type: "string" + }, + filter: { + enum: ["latest", "all"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + status: { + enum: ["queued", "in_progress", "completed"], + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:ref/check-runs" + }, + listForSuite: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "GET", + params: { + check_name: { + type: "string" + }, + check_suite_id: { + required: true, + type: "integer" + }, + filter: { + enum: ["latest", "all"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + status: { + enum: ["queued", "in_progress", "completed"], + type: "string" + } + }, + url: "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs" + }, + listSuitesForRef: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "GET", + params: { + app_id: { + type: "integer" + }, + check_name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:ref/check-suites" + }, + rerequestSuite: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "POST", + params: { + check_suite_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/check-suites/:check_suite_id/rerequest" + }, + setSuitesPreferences: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "PATCH", + params: { + auto_trigger_checks: { + type: "object[]" + }, + "auto_trigger_checks[].app_id": { + required: true, + type: "integer" + }, + "auto_trigger_checks[].setting": { + required: true, + type: "boolean" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/check-suites/preferences" + }, + update: { + headers: { + accept: "application/vnd.github.antiope-preview+json" + }, + method: "PATCH", + params: { + actions: { + type: "object[]" + }, + "actions[].description": { + required: true, + type: "string" + }, + "actions[].identifier": { + required: true, + type: "string" + }, + "actions[].label": { + required: true, + type: "string" + }, + check_run_id: { + required: true, + type: "integer" + }, + completed_at: { + type: "string" + }, + conclusion: { + enum: ["success", "failure", "neutral", "cancelled", "timed_out", "action_required"], + type: "string" + }, + details_url: { + type: "string" + }, + external_id: { + type: "string" + }, + name: { + type: "string" + }, + output: { + type: "object" + }, + "output.annotations": { + type: "object[]" + }, + "output.annotations[].annotation_level": { + enum: ["notice", "warning", "failure"], + required: true, + type: "string" + }, + "output.annotations[].end_column": { + type: "integer" + }, + "output.annotations[].end_line": { + required: true, + type: "integer" + }, + "output.annotations[].message": { + required: true, + type: "string" + }, + "output.annotations[].path": { + required: true, + type: "string" + }, + "output.annotations[].raw_details": { + type: "string" + }, + "output.annotations[].start_column": { + type: "integer" + }, + "output.annotations[].start_line": { + required: true, + type: "integer" + }, + "output.annotations[].title": { + type: "string" + }, + "output.images": { + type: "object[]" + }, + "output.images[].alt": { + required: true, + type: "string" + }, + "output.images[].caption": { + type: "string" + }, + "output.images[].image_url": { + required: true, + type: "string" + }, + "output.summary": { + required: true, + type: "string" + }, + "output.text": { + type: "string" + }, + "output.title": { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + started_at: { + type: "string" + }, + status: { + enum: ["queued", "in_progress", "completed"], + type: "string" + } + }, + url: "/repos/:owner/:repo/check-runs/:check_run_id" + } + }, + codesOfConduct: { + getConductCode: { + headers: { + accept: "application/vnd.github.scarlet-witch-preview+json" + }, + method: "GET", + params: { + key: { + required: true, + type: "string" + } + }, + url: "/codes_of_conduct/:key" + }, + getForRepo: { + headers: { + accept: "application/vnd.github.scarlet-witch-preview+json" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/community/code_of_conduct" + }, + listConductCodes: { + headers: { + accept: "application/vnd.github.scarlet-witch-preview+json" + }, + method: "GET", + params: {}, + url: "/codes_of_conduct" + } + }, + emojis: { + get: { + method: "GET", + params: {}, + url: "/emojis" + } + }, + gists: { + checkIsStarred: { + method: "GET", + params: { + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/star" + }, + create: { + method: "POST", + params: { + description: { + type: "string" + }, + files: { + required: true, + type: "object" + }, + "files.content": { + type: "string" + }, + public: { + type: "boolean" + } + }, + url: "/gists" + }, + createComment: { + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/comments" + }, + delete: { + method: "DELETE", + params: { + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id" + }, + deleteComment: { + method: "DELETE", + params: { + comment_id: { + required: true, + type: "integer" + }, + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/comments/:comment_id" + }, + fork: { + method: "POST", + params: { + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/forks" + }, + get: { + method: "GET", + params: { + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id" + }, + getComment: { + method: "GET", + params: { + comment_id: { + required: true, + type: "integer" + }, + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/comments/:comment_id" + }, + getRevision: { + method: "GET", + params: { + gist_id: { + required: true, + type: "string" + }, + sha: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/:sha" + }, + list: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "string" + } + }, + url: "/gists" + }, + listComments: { + method: "GET", + params: { + gist_id: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/gists/:gist_id/comments" + }, + listCommits: { + method: "GET", + params: { + gist_id: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/gists/:gist_id/commits" + }, + listForks: { + method: "GET", + params: { + gist_id: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/gists/:gist_id/forks" + }, + listPublic: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "string" + } + }, + url: "/gists/public" + }, + listPublicForUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/gists" + }, + listStarred: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "string" + } + }, + url: "/gists/starred" + }, + star: { + method: "PUT", + params: { + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/star" }, - - /***/ 721: /***/ function (module) { - module.exports = { - pagination: { - GetWorkflowExecutionHistory: { - input_token: "nextPageToken", - limit_key: "maximumPageSize", - output_token: "nextPageToken", - result_key: "events", - }, - ListActivityTypes: { - input_token: "nextPageToken", - limit_key: "maximumPageSize", - output_token: "nextPageToken", - result_key: "typeInfos", - }, - ListClosedWorkflowExecutions: { - input_token: "nextPageToken", - limit_key: "maximumPageSize", - output_token: "nextPageToken", - result_key: "executionInfos", - }, - ListDomains: { - input_token: "nextPageToken", - limit_key: "maximumPageSize", - output_token: "nextPageToken", - result_key: "domainInfos", - }, - ListOpenWorkflowExecutions: { - input_token: "nextPageToken", - limit_key: "maximumPageSize", - output_token: "nextPageToken", - result_key: "executionInfos", - }, - ListWorkflowTypes: { - input_token: "nextPageToken", - limit_key: "maximumPageSize", - output_token: "nextPageToken", - result_key: "typeInfos", - }, - PollForDecisionTask: { - input_token: "nextPageToken", - limit_key: "maximumPageSize", - output_token: "nextPageToken", - result_key: "events", - }, + unstar: { + method: "DELETE", + params: { + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/star" + }, + update: { + method: "PATCH", + params: { + description: { + type: "string" }, - }; - - /***/ + files: { + type: "object" + }, + "files.content": { + type: "string" + }, + "files.filename": { + type: "string" + }, + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id" }, - - /***/ 747: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var STS = __webpack_require__(1733); - - /** - * Represents credentials retrieved from STS Web Identity Federation support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given. In addition, the - * `WebIdentityToken` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn` and `WebIdentityToken` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the WebIdentityToken, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.WebIdentityToken = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the - * `params.WebIdentityToken` property. - * @!attribute data - * @return [map] the raw data response from the call to - * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get - * access to other properties from the response. - */ - AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithWebIdentity) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.WebIdentityCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity', - * WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service - * RoleSessionName: 'web' // optional name, defaults to web-identity - * }, { - * // optionally provide configuration to apply to the underlying AWS.STS service client - * // if configuration is not provided, then configuration will be pulled from AWS.config - * - * // specify timeout options - * httpOptions: { - * timeout: 100 - * } - * }); - * @see AWS.STS.assumeRoleWithWebIdentity - * @see AWS.Config - */ - constructor: function WebIdentityCredentials(params, clientConfig) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.params.RoleSessionName = - this.params.RoleSessionName || "web-identity"; - this.data = null; - this._clientConfig = AWS.util.copy(clientConfig || {}); - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.service.assumeRoleWithWebIdentity(function (err, data) { - self.data = null; - if (!err) { - self.data = data; - self.service.credentialsFrom(data, self); - } - callback(err); - }); + updateComment: { + method: "PATCH", + params: { + body: { + required: true, + type: "string" + }, + comment_id: { + required: true, + type: "integer" + }, + gist_id: { + required: true, + type: "string" + } + }, + url: "/gists/:gist_id/comments/:comment_id" + } + }, + git: { + createBlob: { + method: "POST", + params: { + content: { + required: true, + type: "string" + }, + encoding: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/blobs" + }, + createCommit: { + method: "POST", + params: { + author: { + type: "object" + }, + "author.date": { + type: "string" + }, + "author.email": { + type: "string" + }, + "author.name": { + type: "string" + }, + committer: { + type: "object" + }, + "committer.date": { + type: "string" + }, + "committer.email": { + type: "string" }, - - /** - * @api private - */ - createClients: function () { - if (!this.service) { - var stsConfig = AWS.util.merge({}, this._clientConfig); - stsConfig.params = this.params; - this.service = new STS(stsConfig); - } + "committer.name": { + type: "string" + }, + message: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + parents: { + required: true, + type: "string[]" }, - }); - - /***/ + repo: { + required: true, + type: "string" + }, + signature: { + type: "string" + }, + tree: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/commits" + }, + createRef: { + method: "POST", + params: { + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/refs" }, - - /***/ 758: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["mobile"] = {}; - AWS.Mobile = Service.defineService("mobile", ["2017-07-01"]); - Object.defineProperty(apiLoader.services["mobile"], "2017-07-01", { - get: function get() { - var model = __webpack_require__(505); - model.paginators = __webpack_require__(3410).pagination; - return model; + createTag: { + method: "POST", + params: { + message: { + required: true, + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Mobile; - - /***/ + object: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + tag: { + required: true, + type: "string" + }, + tagger: { + type: "object" + }, + "tagger.date": { + type: "string" + }, + "tagger.email": { + type: "string" + }, + "tagger.name": { + type: "string" + }, + type: { + enum: ["commit", "tree", "blob"], + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/tags" }, - - /***/ 761: /***/ function (module) { - module.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: "deleted", - matcher: "pathAll", - state: "success", - argument: "DBInstances[].DBInstanceStatus", - }, - { - 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", - }, - ], - }, + createTree: { + method: "POST", + params: { + base_tree: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + tree: { + required: true, + type: "object[]" + }, + "tree[].content": { + type: "string" + }, + "tree[].mode": { + enum: ["100644", "100755", "040000", "160000", "120000"], + type: "string" + }, + "tree[].path": { + type: "string" + }, + "tree[].sha": { + allowNull: true, + type: "string" + }, + "tree[].type": { + enum: ["blob", "tree", "commit"], + type: "string" + } + }, + url: "/repos/:owner/:repo/git/trees" + }, + deleteRef: { + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/refs/:ref" + }, + getBlob: { + method: "GET", + params: { + file_sha: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/blobs/:file_sha" + }, + getCommit: { + method: "GET", + params: { + commit_sha: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/commits/:commit_sha" + }, + getRef: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/ref/:ref" + }, + getTag: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + tag_sha: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/tags/:tag_sha" + }, + getTree: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + recursive: { + enum: ["1"], + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + tree_sha: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/trees/:tree_sha" + }, + listMatchingRefs: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/matching-refs/:ref" + }, + listRefs: { + method: "GET", + params: { + namespace: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/refs/:namespace" + }, + updateRef: { + method: "PATCH", + params: { + force: { + type: "boolean" + }, + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/git/refs/:ref" + } + }, + gitignore: { + getTemplate: { + method: "GET", + params: { + name: { + required: true, + type: "string" + } + }, + url: "/gitignore/templates/:name" + }, + listTemplates: { + method: "GET", + params: {}, + url: "/gitignore/templates" + } + }, + interactions: { + addOrUpdateRestrictionsForOrg: { + headers: { + accept: "application/vnd.github.sombra-preview+json" + }, + method: "PUT", + params: { + limit: { + enum: ["existing_users", "contributors_only", "collaborators_only"], + required: true, + type: "string" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/interaction-limits" + }, + addOrUpdateRestrictionsForRepo: { + headers: { + accept: "application/vnd.github.sombra-preview+json" + }, + method: "PUT", + params: { + limit: { + enum: ["existing_users", "contributors_only", "collaborators_only"], + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/interaction-limits" + }, + getRestrictionsForOrg: { + headers: { + accept: "application/vnd.github.sombra-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/interaction-limits" + }, + getRestrictionsForRepo: { + headers: { + accept: "application/vnd.github.sombra-preview+json" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/interaction-limits" + }, + removeRestrictionsForOrg: { + headers: { + accept: "application/vnd.github.sombra-preview+json" + }, + method: "DELETE", + params: { + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/interaction-limits" + }, + removeRestrictionsForRepo: { + headers: { + accept: "application/vnd.github.sombra-preview+json" + }, + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/interaction-limits" + } + }, + issues: { + addAssignees: { + method: "POST", + params: { + assignees: { + type: "string[]" + }, + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/assignees" + }, + addLabels: { + method: "POST", + params: { + issue_number: { + required: true, + type: "integer" + }, + labels: { + required: true, + type: "string[]" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/labels" + }, + checkAssignee: { + method: "GET", + params: { + assignee: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/assignees/:assignee" + }, + create: { + method: "POST", + params: { + assignee: { + type: "string" + }, + assignees: { + type: "string[]" + }, + body: { + type: "string" + }, + labels: { + type: "string[]" + }, + milestone: { + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + title: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues" + }, + createComment: { + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/comments" + }, + createLabel: { + method: "POST", + params: { + color: { + required: true, + type: "string" + }, + description: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/labels" + }, + createMilestone: { + method: "POST", + params: { + description: { + type: "string" + }, + due_on: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + state: { + enum: ["open", "closed"], + type: "string" + }, + title: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/milestones" + }, + deleteComment: { + method: "DELETE", + params: { + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/comments/:comment_id" + }, + deleteLabel: { + method: "DELETE", + params: { + name: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/labels/:name" + }, + deleteMilestone: { + method: "DELETE", + params: { + milestone_number: { + required: true, + type: "integer" + }, + number: { + alias: "milestone_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/milestones/:milestone_number" + }, + get: { + method: "GET", + params: { + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number" + }, + getComment: { + method: "GET", + params: { + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/comments/:comment_id" + }, + getEvent: { + method: "GET", + params: { + event_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/events/:event_id" + }, + getLabel: { + method: "GET", + params: { + name: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/labels/:name" + }, + getMilestone: { + method: "GET", + params: { + milestone_number: { + required: true, + type: "integer" + }, + number: { + alias: "milestone_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/milestones/:milestone_number" + }, + list: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + filter: { + enum: ["assigned", "created", "mentioned", "subscribed", "all"], + type: "string" + }, + labels: { + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "string" + }, + sort: { + enum: ["created", "updated", "comments"], + type: "string" + }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/issues" + }, + listAssignees: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/assignees" + }, + listComments: { + method: "GET", + params: { + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + since: { + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/comments" + }, + listCommentsForRepo: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" }, - }; - - /***/ + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + since: { + type: "string" + }, + sort: { + enum: ["created", "updated"], + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/comments" }, - - /***/ 768: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["cloudtrail"] = {}; - AWS.CloudTrail = Service.defineService("cloudtrail", ["2013-11-01"]); - Object.defineProperty(apiLoader.services["cloudtrail"], "2013-11-01", { - get: function get() { - var model = __webpack_require__(1459); - model.paginators = __webpack_require__(7744).pagination; - return model; + listEvents: { + method: "GET", + params: { + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.CloudTrail; - - /***/ + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/events" }, - - /***/ 807: /***/ function (module) { - 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: {}, - }, - }, - 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: "Sj" }, - allowExternalPrincipals: { type: "boolean" }, - clientToken: {}, - permissionArns: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - members: { resourceShare: { shape: "Sp" }, 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" }, - }, - }, - }, - }, - }, - 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" }, - }, - }, - output: { - type: "structure", - members: { - resourceShares: { type: "list", member: { shape: "Sp" } }, - nextToken: {}, - }, - }, - }, - ListPendingInvitationResources: { - http: { requestUri: "/listpendinginvitationresources" }, - input: { - type: "structure", - required: ["resourceShareInvitationArn"], - members: { - resourceShareInvitationArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { resources: { shape: "S1p" }, nextToken: {} }, - }, - }, - ListPermissions: { - http: { requestUri: "/listpermissions" }, - input: { - type: "structure", - members: { - resourceType: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { permissions: { shape: "S1u" }, 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: "S1u" }, nextToken: {} }, - }, - }, - ListResources: { - http: { requestUri: "/listresources" }, - input: { - type: "structure", - required: ["resourceOwner"], - members: { - resourceOwner: {}, - principal: {}, - resourceType: {}, - resourceArns: { shape: "Sd" }, - resourceShareArns: { shape: "S1a" }, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { resources: { shape: "S1p" }, 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: "Sj" } }, - }, - 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: "Sp" }, clientToken: {} }, - }, - }, + listEventsForRepo: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - 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.", - }, - }, - }, - 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: {} }, - Sj: { - type: "list", - member: { type: "structure", members: { key: {}, value: {} } }, - }, - Sp: { - type: "structure", - members: { - resourceShareArn: {}, - name: {}, - owningAccountId: {}, - allowExternalPrincipals: { type: "boolean" }, - status: {}, - statusMessage: {}, - tags: { shape: "Sj" }, - creationTime: { type: "timestamp" }, - lastUpdatedTime: { type: "timestamp" }, - featureSet: {}, - }, - }, - S1a: { type: "list", member: {} }, - S1p: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - type: {}, - resourceShareArn: {}, - resourceGroupArn: {}, - status: {}, - statusMessage: {}, - creationTime: { type: "timestamp" }, - lastUpdatedTime: { type: "timestamp" }, - }, - }, - }, - S1u: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - version: {}, - defaultVersion: { type: "boolean" }, - name: {}, - resourceType: {}, - status: {}, - creationTime: { type: "timestamp" }, - lastUpdatedTime: { type: "timestamp" }, - }, - }, - }, + page: { + type: "integer" }, - }; - - /***/ + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/events" }, - - /***/ 833: /***/ function (module) { - module.exports = { - pagination: { - DescribeDomains: { result_key: "DomainStatusList" }, - DescribeIndexFields: { result_key: "IndexFields" }, - DescribeRankExpressions: { result_key: "RankExpressions" }, + listEventsForTimeline: { + headers: { + accept: "application/vnd.github.mockingbird-preview+json" + }, + method: "GET", + params: { + issue_number: { + required: true, + type: "integer" }, - }; - - /***/ + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/timeline" }, - - /***/ 837: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["sesv2"] = {}; - AWS.SESV2 = Service.defineService("sesv2", ["2019-09-27"]); - Object.defineProperty(apiLoader.services["sesv2"], "2019-09-27", { - get: function get() { - var model = __webpack_require__(5338); - model.paginators = __webpack_require__(2189).pagination; - return model; + listForAuthenticatedUser: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.SESV2; - - /***/ + filter: { + enum: ["assigned", "created", "mentioned", "subscribed", "all"], + type: "string" + }, + labels: { + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "string" + }, + sort: { + enum: ["created", "updated", "comments"], + type: "string" + }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/user/issues" }, - - /***/ 842: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - - var deprecation = __webpack_require__(7692); - - var endpointsByScope = { - actions: { - cancelWorkflowRun: { - method: "POST", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - run_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runs/:run_id/cancel", - }, - createOrUpdateSecretForRepo: { - method: "PUT", - params: { - encrypted_value: { - type: "string", - }, - key_id: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/secrets/:name", - }, - createRegistrationToken: { - method: "POST", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/runners/registration-token", - }, - createRemoveToken: { - method: "POST", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/runners/remove-token", - }, - deleteArtifact: { - method: "DELETE", - params: { - artifact_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id", - }, - deleteSecretFromRepo: { - method: "DELETE", - params: { - name: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/secrets/:name", - }, - downloadArtifact: { - method: "GET", - params: { - archive_format: { - required: true, - type: "string", - }, - artifact_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format", - }, - getArtifact: { - method: "GET", - params: { - artifact_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id", - }, - getPublicKey: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/secrets/public-key", - }, - getSecret: { - method: "GET", - params: { - name: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/secrets/:name", - }, - getSelfHostedRunner: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - runner_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runners/:runner_id", - }, - getWorkflow: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - workflow_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/workflows/:workflow_id", - }, - getWorkflowJob: { - method: "GET", - params: { - job_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/jobs/:job_id", - }, - getWorkflowRun: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - run_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runs/:run_id", - }, - listDownloadsForSelfHostedRunnerApplication: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/runners/downloads", - }, - listJobsForWorkflowRun: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - run_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runs/:run_id/jobs", - }, - listRepoWorkflowRuns: { - method: "GET", - params: { - actor: { - type: "string", - }, - branch: { - type: "string", - }, - event: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - status: { - enum: ["completed", "status", "conclusion"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/runs", - }, - listRepoWorkflows: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/workflows", - }, - listSecretsForRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/secrets", - }, - listSelfHostedRunnersForRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/runners", - }, - listWorkflowJobLogs: { - method: "GET", - params: { - job_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/actions/jobs/:job_id/logs", - }, - listWorkflowRunArtifacts: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - run_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runs/:run_id/artifacts", - }, - listWorkflowRunLogs: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - run_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runs/:run_id/logs", - }, - listWorkflowRuns: { - method: "GET", - params: { - actor: { - type: "string", - }, - branch: { - type: "string", - }, - event: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - status: { - enum: ["completed", "status", "conclusion"], - type: "string", - }, - workflow_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/runs", - }, - reRunWorkflow: { - method: "POST", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - run_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runs/:run_id/rerun", - }, - removeSelfHostedRunner: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - runner_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/actions/runners/:runner_id", - }, + listForOrg: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" }, - activity: { - checkStarringRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/user/starred/:owner/:repo", - }, - deleteRepoSubscription: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/subscription", - }, - deleteThreadSubscription: { - method: "DELETE", - params: { - thread_id: { - required: true, - type: "integer", - }, - }, - url: "/notifications/threads/:thread_id/subscription", - }, - getRepoSubscription: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/subscription", - }, - getThread: { - method: "GET", - params: { - thread_id: { - required: true, - type: "integer", - }, - }, - url: "/notifications/threads/:thread_id", - }, - getThreadSubscription: { - method: "GET", - params: { - thread_id: { - required: true, - type: "integer", - }, - }, - url: "/notifications/threads/:thread_id/subscription", - }, - listEventsForOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/events/orgs/:org", - }, - listEventsForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/events", - }, - listFeeds: { - method: "GET", - params: {}, - url: "/feeds", - }, - listNotifications: { - method: "GET", - params: { - all: { - type: "boolean", - }, - before: { - type: "string", - }, - page: { - type: "integer", - }, - participating: { - type: "boolean", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - }, - url: "/notifications", - }, - listNotificationsForRepo: { - method: "GET", - params: { - all: { - type: "boolean", - }, - before: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - participating: { - type: "boolean", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - since: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/notifications", - }, - listPublicEvents: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/events", - }, - listPublicEventsForOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/events", - }, - listPublicEventsForRepoNetwork: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/networks/:owner/:repo/events", - }, - listPublicEventsForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/events/public", - }, - listReceivedEventsForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/received_events", - }, - listReceivedPublicEventsForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/received_events/public", - }, - listRepoEvents: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/events", - }, - listReposStarredByAuthenticatedUser: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - }, - url: "/user/starred", - }, - listReposStarredByUser: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/starred", - }, - listReposWatchedByUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/subscriptions", - }, - listStargazersForRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/stargazers", - }, - listWatchedReposForAuthenticatedUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/subscriptions", - }, - listWatchersForRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/subscribers", - }, - markAsRead: { - method: "PUT", - params: { - last_read_at: { - type: "string", - }, - }, - url: "/notifications", - }, - markNotificationsAsReadForRepo: { - method: "PUT", - params: { - last_read_at: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/notifications", - }, - markThreadAsRead: { - method: "PATCH", - params: { - thread_id: { - required: true, - type: "integer", - }, - }, - url: "/notifications/threads/:thread_id", - }, - setRepoSubscription: { - method: "PUT", - params: { - ignored: { - type: "boolean", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - subscribed: { - type: "boolean", - }, - }, - url: "/repos/:owner/:repo/subscription", - }, - setThreadSubscription: { - method: "PUT", - params: { - ignored: { - type: "boolean", - }, - thread_id: { - required: true, - type: "integer", - }, - }, - url: "/notifications/threads/:thread_id/subscription", - }, - starRepo: { - method: "PUT", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/user/starred/:owner/:repo", - }, - unstarRepo: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/user/starred/:owner/:repo", - }, + filter: { + enum: ["assigned", "created", "mentioned", "subscribed", "all"], + type: "string" }, - apps: { - addRepoToInstallation: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "PUT", - params: { - installation_id: { - required: true, - type: "integer", - }, - repository_id: { - required: true, - type: "integer", - }, - }, - url: - "/user/installations/:installation_id/repositories/:repository_id", - }, - checkAccountIsAssociatedWithAny: { - method: "GET", - params: { - account_id: { - required: true, - type: "integer", - }, - }, - url: "/marketplace_listing/accounts/:account_id", - }, - checkAccountIsAssociatedWithAnyStubbed: { - method: "GET", - params: { - account_id: { - required: true, - type: "integer", - }, - }, - url: "/marketplace_listing/stubbed/accounts/:account_id", - }, - checkAuthorization: { - deprecated: - "octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization", - method: "GET", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/tokens/:access_token", - }, - checkToken: { - headers: { - accept: "application/vnd.github.doctor-strange-preview+json", - }, - method: "POST", - params: { - access_token: { - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/token", - }, - createContentAttachment: { - headers: { - accept: "application/vnd.github.corsair-preview+json", - }, - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - content_reference_id: { - required: true, - type: "integer", - }, - title: { - required: true, - type: "string", - }, - }, - url: "/content_references/:content_reference_id/attachments", - }, - createFromManifest: { - headers: { - accept: "application/vnd.github.fury-preview+json", - }, - method: "POST", - params: { - code: { - required: true, - type: "string", - }, - }, - url: "/app-manifests/:code/conversions", - }, - createInstallationToken: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "POST", - params: { - installation_id: { - required: true, - type: "integer", - }, - permissions: { - type: "object", - }, - repository_ids: { - type: "integer[]", - }, - }, - url: "/app/installations/:installation_id/access_tokens", - }, - deleteAuthorization: { - headers: { - accept: "application/vnd.github.doctor-strange-preview+json", - }, - method: "DELETE", - params: { - access_token: { - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/grant", - }, - deleteInstallation: { - headers: { - accept: - "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json", - }, - method: "DELETE", - params: { - installation_id: { - required: true, - type: "integer", - }, - }, - url: "/app/installations/:installation_id", - }, - deleteToken: { - headers: { - accept: "application/vnd.github.doctor-strange-preview+json", - }, - method: "DELETE", - params: { - access_token: { - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/token", - }, - findOrgInstallation: { - deprecated: - "octokit.apps.findOrgInstallation() has been renamed to octokit.apps.getOrgInstallation() (2019-04-10)", - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/installation", - }, - findRepoInstallation: { - deprecated: - "octokit.apps.findRepoInstallation() has been renamed to octokit.apps.getRepoInstallation() (2019-04-10)", - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/installation", - }, - findUserInstallation: { - deprecated: - "octokit.apps.findUserInstallation() has been renamed to octokit.apps.getUserInstallation() (2019-04-10)", - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/installation", - }, - getAuthenticated: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: {}, - url: "/app", - }, - getBySlug: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - app_slug: { - required: true, - type: "string", - }, - }, - url: "/apps/:app_slug", - }, - getInstallation: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - installation_id: { - required: true, - type: "integer", - }, - }, - url: "/app/installations/:installation_id", - }, - getOrgInstallation: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/installation", - }, - getRepoInstallation: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/installation", - }, - getUserInstallation: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/installation", - }, - listAccountsUserOrOrgOnPlan: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - plan_id: { - required: true, - type: "integer", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - }, - url: "/marketplace_listing/plans/:plan_id/accounts", - }, - listAccountsUserOrOrgOnPlanStubbed: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - plan_id: { - required: true, - type: "integer", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - }, - url: "/marketplace_listing/stubbed/plans/:plan_id/accounts", - }, - listInstallationReposForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - installation_id: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/installations/:installation_id/repositories", - }, - listInstallations: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/app/installations", - }, - listInstallationsForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/installations", - }, - listMarketplacePurchasesForAuthenticatedUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/marketplace_purchases", - }, - listMarketplacePurchasesForAuthenticatedUserStubbed: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/marketplace_purchases/stubbed", - }, - listPlans: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/marketplace_listing/plans", - }, - listPlansStubbed: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/marketplace_listing/stubbed/plans", - }, - listRepos: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/installation/repositories", - }, - removeRepoFromInstallation: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "DELETE", - params: { - installation_id: { - required: true, - type: "integer", - }, - repository_id: { - required: true, - type: "integer", - }, - }, - url: - "/user/installations/:installation_id/repositories/:repository_id", - }, - resetAuthorization: { - deprecated: - "octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization", - method: "POST", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/tokens/:access_token", - }, - resetToken: { - headers: { - accept: "application/vnd.github.doctor-strange-preview+json", - }, - method: "PATCH", - params: { - access_token: { - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/token", - }, - revokeAuthorizationForApplication: { - deprecated: - "octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application", - method: "DELETE", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/tokens/:access_token", - }, - revokeGrantForApplication: { - deprecated: - "octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application", - method: "DELETE", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/grants/:access_token", - }, - revokeInstallationToken: { - headers: { - accept: "application/vnd.github.gambit-preview+json", - }, - method: "DELETE", - params: {}, - url: "/installation/token", - }, + labels: { + type: "string" }, - checks: { - create: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "POST", - params: { - actions: { - type: "object[]", - }, - "actions[].description": { - required: true, - type: "string", - }, - "actions[].identifier": { - required: true, - type: "string", - }, - "actions[].label": { - required: true, - type: "string", - }, - completed_at: { - type: "string", - }, - conclusion: { - enum: [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - ], - type: "string", - }, - details_url: { - type: "string", - }, - external_id: { - type: "string", - }, - head_sha: { - required: true, - type: "string", - }, - name: { - required: true, - type: "string", - }, - output: { - type: "object", - }, - "output.annotations": { - type: "object[]", - }, - "output.annotations[].annotation_level": { - enum: ["notice", "warning", "failure"], - required: true, - type: "string", - }, - "output.annotations[].end_column": { - type: "integer", - }, - "output.annotations[].end_line": { - required: true, - type: "integer", - }, - "output.annotations[].message": { - required: true, - type: "string", - }, - "output.annotations[].path": { - required: true, - type: "string", - }, - "output.annotations[].raw_details": { - type: "string", - }, - "output.annotations[].start_column": { - type: "integer", - }, - "output.annotations[].start_line": { - required: true, - type: "integer", - }, - "output.annotations[].title": { - type: "string", - }, - "output.images": { - type: "object[]", - }, - "output.images[].alt": { - required: true, - type: "string", - }, - "output.images[].caption": { - type: "string", - }, - "output.images[].image_url": { - required: true, - type: "string", - }, - "output.summary": { - required: true, - type: "string", - }, - "output.text": { - type: "string", - }, - "output.title": { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - started_at: { - type: "string", - }, - status: { - enum: ["queued", "in_progress", "completed"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-runs", - }, - createSuite: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "POST", - params: { - head_sha: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-suites", - }, - get: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "GET", - params: { - check_run_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-runs/:check_run_id", - }, - getSuite: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "GET", - params: { - check_suite_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-suites/:check_suite_id", - }, - listAnnotations: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "GET", - params: { - check_run_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-runs/:check_run_id/annotations", - }, - listForRef: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "GET", - params: { - check_name: { - type: "string", - }, - filter: { - enum: ["latest", "all"], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - status: { - enum: ["queued", "in_progress", "completed"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:ref/check-runs", - }, - listForSuite: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "GET", - params: { - check_name: { - type: "string", - }, - check_suite_id: { - required: true, - type: "integer", - }, - filter: { - enum: ["latest", "all"], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - status: { - enum: ["queued", "in_progress", "completed"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs", - }, - listSuitesForRef: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "GET", - params: { - app_id: { - type: "integer", - }, - check_name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:ref/check-suites", - }, - rerequestSuite: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "POST", - params: { - check_suite_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-suites/:check_suite_id/rerequest", - }, - setSuitesPreferences: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "PATCH", - params: { - auto_trigger_checks: { - type: "object[]", - }, - "auto_trigger_checks[].app_id": { - required: true, - type: "integer", - }, - "auto_trigger_checks[].setting": { - required: true, - type: "boolean", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-suites/preferences", - }, - update: { - headers: { - accept: "application/vnd.github.antiope-preview+json", - }, - method: "PATCH", - params: { - actions: { - type: "object[]", - }, - "actions[].description": { - required: true, - type: "string", - }, - "actions[].identifier": { - required: true, - type: "string", - }, - "actions[].label": { - required: true, - type: "string", - }, - check_run_id: { - required: true, - type: "integer", - }, - completed_at: { - type: "string", - }, - conclusion: { - enum: [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - ], - type: "string", - }, - details_url: { - type: "string", - }, - external_id: { - type: "string", - }, - name: { - type: "string", - }, - output: { - type: "object", - }, - "output.annotations": { - type: "object[]", - }, - "output.annotations[].annotation_level": { - enum: ["notice", "warning", "failure"], - required: true, - type: "string", - }, - "output.annotations[].end_column": { - type: "integer", - }, - "output.annotations[].end_line": { - required: true, - type: "integer", - }, - "output.annotations[].message": { - required: true, - type: "string", - }, - "output.annotations[].path": { - required: true, - type: "string", - }, - "output.annotations[].raw_details": { - type: "string", - }, - "output.annotations[].start_column": { - type: "integer", - }, - "output.annotations[].start_line": { - required: true, - type: "integer", - }, - "output.annotations[].title": { - type: "string", - }, - "output.images": { - type: "object[]", - }, - "output.images[].alt": { - required: true, - type: "string", - }, - "output.images[].caption": { - type: "string", - }, - "output.images[].image_url": { - required: true, - type: "string", - }, - "output.summary": { - required: true, - type: "string", - }, - "output.text": { - type: "string", - }, - "output.title": { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - started_at: { - type: "string", - }, - status: { - enum: ["queued", "in_progress", "completed"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/check-runs/:check_run_id", - }, + org: { + required: true, + type: "string" }, - codesOfConduct: { - getConductCode: { - headers: { - accept: "application/vnd.github.scarlet-witch-preview+json", - }, - method: "GET", - params: { - key: { - required: true, - type: "string", - }, - }, - url: "/codes_of_conduct/:key", - }, - getForRepo: { - headers: { - accept: "application/vnd.github.scarlet-witch-preview+json", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/community/code_of_conduct", - }, - listConductCodes: { - headers: { - accept: "application/vnd.github.scarlet-witch-preview+json", - }, - method: "GET", - params: {}, - url: "/codes_of_conduct", - }, + page: { + type: "integer" }, - emojis: { - get: { - method: "GET", - params: {}, - url: "/emojis", - }, + per_page: { + type: "integer" }, - gists: { - checkIsStarred: { - method: "GET", - params: { - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/star", - }, - create: { - method: "POST", - params: { - description: { - type: "string", - }, - files: { - required: true, - type: "object", - }, - "files.content": { - type: "string", - }, - public: { - type: "boolean", - }, - }, - url: "/gists", - }, - createComment: { - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/comments", - }, - delete: { - method: "DELETE", - params: { - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id", - }, - deleteComment: { - method: "DELETE", - params: { - comment_id: { - required: true, - type: "integer", - }, - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/comments/:comment_id", - }, - fork: { - method: "POST", - params: { - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/forks", - }, - get: { - method: "GET", - params: { - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id", - }, - getComment: { - method: "GET", - params: { - comment_id: { - required: true, - type: "integer", - }, - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/comments/:comment_id", - }, - getRevision: { - method: "GET", - params: { - gist_id: { - required: true, - type: "string", - }, - sha: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/:sha", - }, - list: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - }, - url: "/gists", - }, - listComments: { - method: "GET", - params: { - gist_id: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/gists/:gist_id/comments", - }, - listCommits: { - method: "GET", - params: { - gist_id: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/gists/:gist_id/commits", - }, - listForks: { - method: "GET", - params: { - gist_id: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/gists/:gist_id/forks", - }, - listPublic: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - }, - url: "/gists/public", - }, - listPublicForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/gists", - }, - listStarred: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - }, - url: "/gists/starred", - }, - star: { - method: "PUT", - params: { - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/star", - }, - unstar: { - method: "DELETE", - params: { - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/star", - }, - update: { - method: "PATCH", - params: { - description: { - type: "string", - }, - files: { - type: "object", - }, - "files.content": { - type: "string", - }, - "files.filename": { - type: "string", - }, - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id", - }, - updateComment: { - method: "PATCH", - params: { - body: { - required: true, - type: "string", - }, - comment_id: { - required: true, - type: "integer", - }, - gist_id: { - required: true, - type: "string", - }, - }, - url: "/gists/:gist_id/comments/:comment_id", - }, + since: { + type: "string" }, - git: { - createBlob: { - method: "POST", - params: { - content: { - required: true, - type: "string", - }, - encoding: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/blobs", - }, - createCommit: { - method: "POST", - params: { - author: { - type: "object", - }, - "author.date": { - type: "string", - }, - "author.email": { - type: "string", - }, - "author.name": { - type: "string", - }, - committer: { - type: "object", - }, - "committer.date": { - type: "string", - }, - "committer.email": { - type: "string", - }, - "committer.name": { - type: "string", - }, - message: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - parents: { - required: true, - type: "string[]", - }, - repo: { - required: true, - type: "string", - }, - signature: { - type: "string", - }, - tree: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/commits", - }, - createRef: { - method: "POST", - params: { - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/refs", - }, - createTag: { - method: "POST", - params: { - message: { - required: true, - type: "string", - }, - object: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - tag: { - required: true, - type: "string", - }, - tagger: { - type: "object", - }, - "tagger.date": { - type: "string", - }, - "tagger.email": { - type: "string", - }, - "tagger.name": { - type: "string", - }, - type: { - enum: ["commit", "tree", "blob"], - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/tags", - }, - createTree: { - method: "POST", - params: { - base_tree: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - tree: { - required: true, - type: "object[]", - }, - "tree[].content": { - type: "string", - }, - "tree[].mode": { - enum: ["100644", "100755", "040000", "160000", "120000"], - type: "string", - }, - "tree[].path": { - type: "string", - }, - "tree[].sha": { - allowNull: true, - type: "string", - }, - "tree[].type": { - enum: ["blob", "tree", "commit"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/trees", - }, - deleteRef: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/refs/:ref", - }, - getBlob: { - method: "GET", - params: { - file_sha: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/blobs/:file_sha", - }, - getCommit: { - method: "GET", - params: { - commit_sha: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/commits/:commit_sha", - }, - getRef: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/ref/:ref", - }, - getTag: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - tag_sha: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/tags/:tag_sha", - }, - getTree: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - recursive: { - enum: ["1"], - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - tree_sha: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/trees/:tree_sha", - }, - listMatchingRefs: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/matching-refs/:ref", - }, - listRefs: { - method: "GET", - params: { - namespace: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/refs/:namespace", - }, - updateRef: { - method: "PATCH", - params: { - force: { - type: "boolean", - }, - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/git/refs/:ref", - }, + sort: { + enum: ["created", "updated", "comments"], + type: "string" }, - gitignore: { - getTemplate: { - method: "GET", - params: { - name: { - required: true, - type: "string", - }, - }, - url: "/gitignore/templates/:name", - }, - listTemplates: { - method: "GET", - params: {}, - url: "/gitignore/templates", - }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/orgs/:org/issues" + }, + listForRepo: { + method: "GET", + params: { + assignee: { + type: "string" }, - interactions: { - addOrUpdateRestrictionsForOrg: { - headers: { - accept: "application/vnd.github.sombra-preview+json", - }, - method: "PUT", - params: { - limit: { - enum: [ - "existing_users", - "contributors_only", - "collaborators_only", - ], - required: true, - type: "string", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/interaction-limits", - }, - addOrUpdateRestrictionsForRepo: { - headers: { - accept: "application/vnd.github.sombra-preview+json", - }, - method: "PUT", - params: { - limit: { - enum: [ - "existing_users", - "contributors_only", - "collaborators_only", - ], - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/interaction-limits", - }, - getRestrictionsForOrg: { - headers: { - accept: "application/vnd.github.sombra-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/interaction-limits", - }, - getRestrictionsForRepo: { - headers: { - accept: "application/vnd.github.sombra-preview+json", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/interaction-limits", - }, - removeRestrictionsForOrg: { - headers: { - accept: "application/vnd.github.sombra-preview+json", - }, - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/interaction-limits", - }, - removeRestrictionsForRepo: { - headers: { - accept: "application/vnd.github.sombra-preview+json", - }, - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/interaction-limits", - }, + creator: { + type: "string" }, - issues: { - addAssignees: { - method: "POST", - params: { - assignees: { - type: "string[]", - }, - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/assignees", - }, - addLabels: { - method: "POST", - params: { - issue_number: { - required: true, - type: "integer", - }, - labels: { - required: true, - type: "string[]", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/labels", - }, - checkAssignee: { - method: "GET", - params: { - assignee: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/assignees/:assignee", - }, - create: { - method: "POST", - params: { - assignee: { - type: "string", - }, - assignees: { - type: "string[]", - }, - body: { - type: "string", - }, - labels: { - type: "string[]", - }, - milestone: { - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - title: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues", - }, - createComment: { - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/comments", - }, - createLabel: { - method: "POST", - params: { - color: { - required: true, - type: "string", - }, - description: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/labels", - }, - createMilestone: { - method: "POST", - params: { - description: { - type: "string", - }, - due_on: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - state: { - enum: ["open", "closed"], - type: "string", - }, - title: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/milestones", - }, - deleteComment: { - method: "DELETE", - params: { - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/comments/:comment_id", - }, - deleteLabel: { - method: "DELETE", - params: { - name: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/labels/:name", - }, - deleteMilestone: { - method: "DELETE", - params: { - milestone_number: { - required: true, - type: "integer", - }, - number: { - alias: "milestone_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/milestones/:milestone_number", - }, - get: { - method: "GET", - params: { - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number", - }, - getComment: { - method: "GET", - params: { - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/comments/:comment_id", - }, - getEvent: { - method: "GET", - params: { - event_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/events/:event_id", - }, - getLabel: { - method: "GET", - params: { - name: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/labels/:name", - }, - getMilestone: { - method: "GET", - params: { - milestone_number: { - required: true, - type: "integer", - }, - number: { - alias: "milestone_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/milestones/:milestone_number", - }, - list: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - filter: { - enum: ["assigned", "created", "mentioned", "subscribed", "all"], - type: "string", - }, - labels: { - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - sort: { - enum: ["created", "updated", "comments"], - type: "string", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/issues", - }, - listAssignees: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/assignees", - }, - listComments: { - method: "GET", - params: { - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - since: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/comments", - }, - listCommentsForRepo: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - since: { - type: "string", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/comments", - }, - listEvents: { - method: "GET", - params: { - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/events", - }, - listEventsForRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/events", - }, - listEventsForTimeline: { - headers: { - accept: "application/vnd.github.mockingbird-preview+json", - }, - method: "GET", - params: { - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/timeline", - }, - listForAuthenticatedUser: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - filter: { - enum: ["assigned", "created", "mentioned", "subscribed", "all"], - type: "string", - }, - labels: { - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - sort: { - enum: ["created", "updated", "comments"], - type: "string", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/user/issues", - }, - listForOrg: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - filter: { - enum: ["assigned", "created", "mentioned", "subscribed", "all"], - type: "string", - }, - labels: { - type: "string", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - sort: { - enum: ["created", "updated", "comments"], - type: "string", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/orgs/:org/issues", - }, - listForRepo: { - method: "GET", - params: { - assignee: { - type: "string", - }, - creator: { - type: "string", - }, - direction: { - enum: ["asc", "desc"], - type: "string", - }, - labels: { - type: "string", - }, - mentioned: { - type: "string", - }, - milestone: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - since: { - type: "string", - }, - sort: { - enum: ["created", "updated", "comments"], - type: "string", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues", - }, - listLabelsForMilestone: { - method: "GET", - params: { - milestone_number: { - required: true, - type: "integer", - }, - number: { - alias: "milestone_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/milestones/:milestone_number/labels", - }, - listLabelsForRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/labels", - }, - listLabelsOnIssue: { - method: "GET", - params: { - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/labels", - }, - listMilestonesForRepo: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - sort: { - enum: ["due_on", "completeness"], - type: "string", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/milestones", - }, - lock: { - method: "PUT", - params: { - issue_number: { - required: true, - type: "integer", - }, - lock_reason: { - enum: ["off-topic", "too heated", "resolved", "spam"], - type: "string", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/lock", - }, - removeAssignees: { - method: "DELETE", - params: { - assignees: { - type: "string[]", - }, - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/assignees", - }, - removeLabel: { - method: "DELETE", - params: { - issue_number: { - required: true, - type: "integer", - }, - name: { - required: true, - type: "string", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/labels/:name", - }, - removeLabels: { - method: "DELETE", - params: { - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/labels", - }, - replaceLabels: { - method: "PUT", - params: { - issue_number: { - required: true, - type: "integer", - }, - labels: { - type: "string[]", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/labels", - }, - unlock: { - method: "DELETE", - params: { - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/lock", - }, - update: { - method: "PATCH", - params: { - assignee: { - type: "string", - }, - assignees: { - type: "string[]", - }, - body: { - type: "string", - }, - issue_number: { - required: true, - type: "integer", - }, - labels: { - type: "string[]", - }, - milestone: { - allowNull: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - state: { - enum: ["open", "closed"], - type: "string", - }, - title: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number", - }, - updateComment: { - method: "PATCH", - params: { - body: { - required: true, - type: "string", - }, - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/comments/:comment_id", - }, - updateLabel: { - method: "PATCH", - params: { - color: { - type: "string", - }, - current_name: { - required: true, - type: "string", - }, - description: { - type: "string", - }, - name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/labels/:current_name", - }, - updateMilestone: { - method: "PATCH", - params: { - description: { - type: "string", - }, - due_on: { - type: "string", - }, - milestone_number: { - required: true, - type: "integer", - }, - number: { - alias: "milestone_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - state: { - enum: ["open", "closed"], - type: "string", - }, - title: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/milestones/:milestone_number", - }, + direction: { + enum: ["asc", "desc"], + type: "string" }, - licenses: { - get: { - method: "GET", - params: { - license: { - required: true, - type: "string", - }, - }, - url: "/licenses/:license", - }, - getForRepo: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/license", - }, - list: { - deprecated: - "octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)", - method: "GET", - params: {}, - url: "/licenses", - }, - listCommonlyUsed: { - method: "GET", - params: {}, - url: "/licenses", - }, + labels: { + type: "string" }, - markdown: { - render: { - method: "POST", - params: { - context: { - type: "string", - }, - mode: { - enum: ["markdown", "gfm"], - type: "string", - }, - text: { - required: true, - type: "string", - }, - }, - url: "/markdown", - }, - renderRaw: { - headers: { - "content-type": "text/plain; charset=utf-8", - }, - method: "POST", - params: { - data: { - mapTo: "data", - required: true, - type: "string", - }, - }, - url: "/markdown/raw", - }, + mentioned: { + type: "string" }, - meta: { - get: { - method: "GET", - params: {}, - url: "/meta", - }, + milestone: { + type: "string" }, - migrations: { - cancelImport: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/import", - }, - deleteArchiveForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "DELETE", - params: { - migration_id: { - required: true, - type: "integer", - }, - }, - url: "/user/migrations/:migration_id/archive", - }, - deleteArchiveForOrg: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "DELETE", - params: { - migration_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/migrations/:migration_id/archive", - }, - downloadArchiveForOrg: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - migration_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/migrations/:migration_id/archive", - }, - getArchiveForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - migration_id: { - required: true, - type: "integer", - }, - }, - url: "/user/migrations/:migration_id/archive", - }, - getArchiveForOrg: { - deprecated: - "octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg() (2020-01-27)", - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - migration_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/migrations/:migration_id/archive", - }, - getCommitAuthors: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - since: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/import/authors", - }, - getImportProgress: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/import", - }, - getLargeFiles: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/import/large_files", - }, - getStatusForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - migration_id: { - required: true, - type: "integer", - }, - }, - url: "/user/migrations/:migration_id", - }, - getStatusForOrg: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - migration_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/migrations/:migration_id", - }, - listForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/migrations", - }, - listForOrg: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/migrations", - }, - listReposForOrg: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - migration_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/migrations/:migration_id/repositories", - }, - listReposForUser: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "GET", - params: { - migration_id: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/:migration_id/repositories", - }, - mapCommitAuthor: { - method: "PATCH", - params: { - author_id: { - required: true, - type: "integer", - }, - email: { - type: "string", - }, - name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/import/authors/:author_id", - }, - setLfsPreference: { - method: "PATCH", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - use_lfs: { - enum: ["opt_in", "opt_out"], - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/import/lfs", - }, - startForAuthenticatedUser: { - method: "POST", - params: { - exclude_attachments: { - type: "boolean", - }, - lock_repositories: { - type: "boolean", - }, - repositories: { - required: true, - type: "string[]", - }, - }, - url: "/user/migrations", - }, - startForOrg: { - method: "POST", - params: { - exclude_attachments: { - type: "boolean", - }, - lock_repositories: { - type: "boolean", - }, - org: { - required: true, - type: "string", - }, - repositories: { - required: true, - type: "string[]", - }, - }, - url: "/orgs/:org/migrations", - }, - startImport: { - method: "PUT", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - tfvc_project: { - type: "string", - }, - vcs: { - enum: ["subversion", "git", "mercurial", "tfvc"], - type: "string", - }, - vcs_password: { - type: "string", - }, - vcs_url: { - required: true, - type: "string", - }, - vcs_username: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/import", - }, - unlockRepoForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "DELETE", - params: { - migration_id: { - required: true, - type: "integer", - }, - repo_name: { - required: true, - type: "string", - }, - }, - url: "/user/migrations/:migration_id/repos/:repo_name/lock", - }, - unlockRepoForOrg: { - headers: { - accept: "application/vnd.github.wyandotte-preview+json", - }, - method: "DELETE", - params: { - migration_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - repo_name: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock", - }, - updateImport: { - method: "PATCH", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - vcs_password: { - type: "string", - }, - vcs_username: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/import", - }, + owner: { + required: true, + type: "string" }, - oauthAuthorizations: { - checkAuthorization: { - deprecated: - "octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)", - method: "GET", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/tokens/:access_token", - }, - createAuthorization: { - deprecated: - "octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization", - method: "POST", - params: { - client_id: { - type: "string", - }, - client_secret: { - type: "string", - }, - fingerprint: { - type: "string", - }, - note: { - required: true, - type: "string", - }, - note_url: { - type: "string", - }, - scopes: { - type: "string[]", - }, - }, - url: "/authorizations", - }, - deleteAuthorization: { - deprecated: - "octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization", - method: "DELETE", - params: { - authorization_id: { - required: true, - type: "integer", - }, - }, - url: "/authorizations/:authorization_id", - }, - deleteGrant: { - deprecated: - "octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant", - method: "DELETE", - params: { - grant_id: { - required: true, - type: "integer", - }, - }, - url: "/applications/grants/:grant_id", - }, - getAuthorization: { - deprecated: - "octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization", - method: "GET", - params: { - authorization_id: { - required: true, - type: "integer", - }, - }, - url: "/authorizations/:authorization_id", - }, - getGrant: { - deprecated: - "octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant", - method: "GET", - params: { - grant_id: { - required: true, - type: "integer", - }, - }, - url: "/applications/grants/:grant_id", - }, - getOrCreateAuthorizationForApp: { - deprecated: - "octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", - method: "PUT", - params: { - client_id: { - required: true, - type: "string", - }, - client_secret: { - required: true, - type: "string", - }, - fingerprint: { - type: "string", - }, - note: { - type: "string", - }, - note_url: { - type: "string", - }, - scopes: { - type: "string[]", - }, - }, - url: "/authorizations/clients/:client_id", - }, - getOrCreateAuthorizationForAppAndFingerprint: { - deprecated: - "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", - method: "PUT", - params: { - client_id: { - required: true, - type: "string", - }, - client_secret: { - required: true, - type: "string", - }, - fingerprint: { - required: true, - type: "string", - }, - note: { - type: "string", - }, - note_url: { - type: "string", - }, - scopes: { - type: "string[]", - }, - }, - url: "/authorizations/clients/:client_id/:fingerprint", - }, - getOrCreateAuthorizationForAppFingerprint: { - deprecated: - "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)", - method: "PUT", - params: { - client_id: { - required: true, - type: "string", - }, - client_secret: { - required: true, - type: "string", - }, - fingerprint: { - required: true, - type: "string", - }, - note: { - type: "string", - }, - note_url: { - type: "string", - }, - scopes: { - type: "string[]", - }, - }, - url: "/authorizations/clients/:client_id/:fingerprint", - }, - listAuthorizations: { - deprecated: - "octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/authorizations", - }, - listGrants: { - deprecated: - "octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/applications/grants", - }, - resetAuthorization: { - deprecated: - "octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)", - method: "POST", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/tokens/:access_token", - }, - revokeAuthorizationForApplication: { - deprecated: - "octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)", - method: "DELETE", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/tokens/:access_token", - }, - revokeGrantForApplication: { - deprecated: - "octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)", - method: "DELETE", - params: { - access_token: { - required: true, - type: "string", - }, - client_id: { - required: true, - type: "string", - }, - }, - url: "/applications/:client_id/grants/:access_token", - }, - updateAuthorization: { - deprecated: - "octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization", - method: "PATCH", - params: { - add_scopes: { - type: "string[]", - }, - authorization_id: { - required: true, - type: "integer", - }, - fingerprint: { - type: "string", - }, - note: { - type: "string", - }, - note_url: { - type: "string", - }, - remove_scopes: { - type: "string[]", - }, - scopes: { - type: "string[]", - }, - }, - url: "/authorizations/:authorization_id", - }, + page: { + type: "integer" }, - orgs: { - addOrUpdateMembership: { - method: "PUT", - params: { - org: { - required: true, - type: "string", - }, - role: { - enum: ["admin", "member"], - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/memberships/:username", - }, - blockUser: { - method: "PUT", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/blocks/:username", - }, - checkBlockedUser: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/blocks/:username", - }, - checkMembership: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/members/:username", - }, - checkPublicMembership: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/public_members/:username", - }, - concealMembership: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/public_members/:username", - }, - convertMemberToOutsideCollaborator: { - method: "PUT", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/outside_collaborators/:username", - }, - createHook: { - method: "POST", - params: { - active: { - type: "boolean", - }, - config: { - required: true, - type: "object", - }, - "config.content_type": { - type: "string", - }, - "config.insecure_ssl": { - type: "string", - }, - "config.secret": { - type: "string", - }, - "config.url": { - required: true, - type: "string", - }, - events: { - type: "string[]", - }, - name: { - required: true, - type: "string", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/hooks", - }, - createInvitation: { - method: "POST", - params: { - email: { - type: "string", - }, - invitee_id: { - type: "integer", - }, - org: { - required: true, - type: "string", - }, - role: { - enum: ["admin", "direct_member", "billing_manager"], - type: "string", - }, - team_ids: { - type: "integer[]", - }, - }, - url: "/orgs/:org/invitations", - }, - deleteHook: { - method: "DELETE", - params: { - hook_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/hooks/:hook_id", - }, - get: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org", - }, - getHook: { - method: "GET", - params: { - hook_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/hooks/:hook_id", - }, - getMembership: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/memberships/:username", - }, - getMembershipForAuthenticatedUser: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - }, - url: "/user/memberships/orgs/:org", - }, - list: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "integer", - }, - }, - url: "/organizations", - }, - listBlockedUsers: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/blocks", - }, - listForAuthenticatedUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/orgs", - }, - listForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/orgs", - }, - listHooks: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/hooks", - }, - listInstallations: { - headers: { - accept: "application/vnd.github.machine-man-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/installations", - }, - listInvitationTeams: { - method: "GET", - params: { - invitation_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/invitations/:invitation_id/teams", - }, - listMembers: { - method: "GET", - params: { - filter: { - enum: ["2fa_disabled", "all"], - type: "string", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - role: { - enum: ["all", "admin", "member"], - type: "string", - }, - }, - url: "/orgs/:org/members", - }, - listMemberships: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - state: { - enum: ["active", "pending"], - type: "string", - }, - }, - url: "/user/memberships/orgs", - }, - listOutsideCollaborators: { - method: "GET", - params: { - filter: { - enum: ["2fa_disabled", "all"], - type: "string", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/outside_collaborators", - }, - listPendingInvitations: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/invitations", - }, - listPublicMembers: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/public_members", - }, - pingHook: { - method: "POST", - params: { - hook_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/hooks/:hook_id/pings", - }, - publicizeMembership: { - method: "PUT", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/public_members/:username", - }, - removeMember: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/members/:username", - }, - removeMembership: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/memberships/:username", - }, - removeOutsideCollaborator: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/outside_collaborators/:username", - }, - unblockUser: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/blocks/:username", - }, - update: { - method: "PATCH", - params: { - billing_email: { - type: "string", - }, - company: { - type: "string", - }, - default_repository_permission: { - enum: ["read", "write", "admin", "none"], - type: "string", - }, - description: { - type: "string", - }, - email: { - type: "string", - }, - has_organization_projects: { - type: "boolean", - }, - has_repository_projects: { - type: "boolean", - }, - location: { - type: "string", - }, - members_allowed_repository_creation_type: { - enum: ["all", "private", "none"], - type: "string", - }, - members_can_create_internal_repositories: { - type: "boolean", - }, - members_can_create_private_repositories: { - type: "boolean", - }, - members_can_create_public_repositories: { - type: "boolean", - }, - members_can_create_repositories: { - type: "boolean", - }, - name: { - type: "string", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org", - }, - updateHook: { - method: "PATCH", - params: { - active: { - type: "boolean", - }, - config: { - type: "object", - }, - "config.content_type": { - type: "string", - }, - "config.insecure_ssl": { - type: "string", - }, - "config.secret": { - type: "string", - }, - "config.url": { - required: true, - type: "string", - }, - events: { - type: "string[]", - }, - hook_id: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/hooks/:hook_id", - }, - updateMembership: { - method: "PATCH", - params: { - org: { - required: true, - type: "string", - }, - state: { - enum: ["active"], - required: true, - type: "string", - }, - }, - url: "/user/memberships/orgs/:org", - }, + per_page: { + type: "integer" }, - projects: { - addCollaborator: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "PUT", - params: { - permission: { - enum: ["read", "write", "admin"], - type: "string", - }, - project_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/projects/:project_id/collaborators/:username", - }, - createCard: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "POST", - params: { - column_id: { - required: true, - type: "integer", - }, - content_id: { - type: "integer", - }, - content_type: { - type: "string", - }, - note: { - type: "string", - }, - }, - url: "/projects/columns/:column_id/cards", - }, - createColumn: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "POST", - params: { - name: { - required: true, - type: "string", - }, - project_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/:project_id/columns", - }, - createForAuthenticatedUser: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "POST", - params: { - body: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - }, - url: "/user/projects", - }, - createForOrg: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "POST", - params: { - body: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - org: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/projects", - }, - createForRepo: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "POST", - params: { - body: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/projects", - }, - delete: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "DELETE", - params: { - project_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/:project_id", - }, - deleteCard: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "DELETE", - params: { - card_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/columns/cards/:card_id", - }, - deleteColumn: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "DELETE", - params: { - column_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/columns/:column_id", - }, - get: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - project_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/:project_id", - }, - getCard: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - card_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/columns/cards/:card_id", - }, - getColumn: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - column_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/columns/:column_id", - }, - listCards: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - archived_state: { - enum: ["all", "archived", "not_archived"], - type: "string", - }, - column_id: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/projects/columns/:column_id/cards", - }, - listCollaborators: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - affiliation: { - enum: ["outside", "direct", "all"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - project_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/:project_id/collaborators", - }, - listColumns: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - project_id: { - required: true, - type: "integer", - }, - }, - url: "/projects/:project_id/columns", - }, - listForOrg: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/orgs/:org/projects", - }, - listForRepo: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/projects", - }, - listForUser: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/projects", - }, - moveCard: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "POST", - params: { - card_id: { - required: true, - type: "integer", - }, - column_id: { - type: "integer", - }, - position: { - required: true, - type: "string", - validation: "^(top|bottom|after:\\d+)$", - }, - }, - url: "/projects/columns/cards/:card_id/moves", - }, - moveColumn: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "POST", - params: { - column_id: { - required: true, - type: "integer", - }, - position: { - required: true, - type: "string", - validation: "^(first|last|after:\\d+)$", - }, - }, - url: "/projects/columns/:column_id/moves", - }, - removeCollaborator: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "DELETE", - params: { - project_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/projects/:project_id/collaborators/:username", - }, - reviewUserPermissionLevel: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - project_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/projects/:project_id/collaborators/:username/permission", - }, - update: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "PATCH", - params: { - body: { - type: "string", - }, - name: { - type: "string", - }, - organization_permission: { - type: "string", - }, - private: { - type: "boolean", - }, - project_id: { - required: true, - type: "integer", - }, - state: { - enum: ["open", "closed"], - type: "string", - }, - }, - url: "/projects/:project_id", - }, - updateCard: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "PATCH", - params: { - archived: { - type: "boolean", - }, - card_id: { - required: true, - type: "integer", - }, - note: { - type: "string", - }, - }, - url: "/projects/columns/cards/:card_id", - }, - updateColumn: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "PATCH", - params: { - column_id: { - required: true, - type: "integer", - }, - name: { - required: true, - type: "string", - }, - }, - url: "/projects/columns/:column_id", - }, + repo: { + required: true, + type: "string" }, - pulls: { - checkIfMerged: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/merge", - }, - create: { - method: "POST", - params: { - base: { - required: true, - type: "string", - }, - body: { - type: "string", - }, - draft: { - type: "boolean", - }, - head: { - required: true, - type: "string", - }, - maintainer_can_modify: { - type: "boolean", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - title: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls", - }, - createComment: { - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - commit_id: { - required: true, - type: "string", - }, - in_reply_to: { - deprecated: true, - description: - "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.", - type: "integer", - }, - line: { - type: "integer", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - path: { - required: true, - type: "string", - }, - position: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - side: { - enum: ["LEFT", "RIGHT"], - type: "string", - }, - start_line: { - type: "integer", - }, - start_side: { - enum: ["LEFT", "RIGHT", "side"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/comments", - }, - createCommentReply: { - deprecated: - "octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)", - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - commit_id: { - required: true, - type: "string", - }, - in_reply_to: { - deprecated: true, - description: - "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.", - type: "integer", - }, - line: { - type: "integer", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - path: { - required: true, - type: "string", - }, - position: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - side: { - enum: ["LEFT", "RIGHT"], - type: "string", - }, - start_line: { - type: "integer", - }, - start_side: { - enum: ["LEFT", "RIGHT", "side"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/comments", - }, - createFromIssue: { - deprecated: - "octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request", - method: "POST", - params: { - base: { - required: true, - type: "string", - }, - draft: { - type: "boolean", - }, - head: { - required: true, - type: "string", - }, - issue: { - required: true, - type: "integer", - }, - maintainer_can_modify: { - type: "boolean", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls", - }, - createReview: { - method: "POST", - params: { - body: { - type: "string", - }, - comments: { - type: "object[]", - }, - "comments[].body": { - required: true, - type: "string", - }, - "comments[].path": { - required: true, - type: "string", - }, - "comments[].position": { - required: true, - type: "integer", - }, - commit_id: { - type: "string", - }, - event: { - enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"], - type: "string", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/reviews", - }, - createReviewCommentReply: { - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies", - }, - createReviewRequest: { - method: "POST", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - reviewers: { - type: "string[]", - }, - team_reviewers: { - type: "string[]", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers", - }, - deleteComment: { - method: "DELETE", - params: { - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/comments/:comment_id", - }, - deletePendingReview: { - method: "DELETE", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - review_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id", - }, - deleteReviewRequest: { - method: "DELETE", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - reviewers: { - type: "string[]", - }, - team_reviewers: { - type: "string[]", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers", - }, - dismissReview: { - method: "PUT", - params: { - message: { - required: true, - type: "string", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - review_id: { - required: true, - type: "integer", - }, - }, - url: - "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals", - }, - get: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number", - }, - getComment: { - method: "GET", - params: { - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/comments/:comment_id", - }, - getCommentsForReview: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - review_id: { - required: true, - type: "integer", - }, - }, - url: - "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments", - }, - getReview: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - review_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id", - }, - list: { - method: "GET", - params: { - base: { - type: "string", - }, - direction: { - enum: ["asc", "desc"], - type: "string", - }, - head: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - sort: { - enum: ["created", "updated", "popularity", "long-running"], - type: "string", - }, - state: { - enum: ["open", "closed", "all"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls", - }, - listComments: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - since: { - type: "string", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/comments", - }, - listCommentsForRepo: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - since: { - type: "string", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/comments", - }, - listCommits: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/commits", - }, - listFiles: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/files", - }, - listReviewRequests: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers", - }, - listReviews: { - method: "GET", - params: { - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/reviews", - }, - merge: { - method: "PUT", - params: { - commit_message: { - type: "string", - }, - commit_title: { - type: "string", - }, - merge_method: { - enum: ["merge", "squash", "rebase"], - type: "string", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - sha: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/merge", - }, - submitReview: { - method: "POST", - params: { - body: { - type: "string", - }, - event: { - enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"], - required: true, - type: "string", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - review_id: { - required: true, - type: "integer", - }, - }, - url: - "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events", - }, - update: { - method: "PATCH", - params: { - base: { - type: "string", - }, - body: { - type: "string", - }, - maintainer_can_modify: { - type: "boolean", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - state: { - enum: ["open", "closed"], - type: "string", - }, - title: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number", - }, - updateBranch: { - headers: { - accept: "application/vnd.github.lydian-preview+json", - }, - method: "PUT", - params: { - expected_head_sha: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/update-branch", - }, - updateComment: { - method: "PATCH", - params: { - body: { - required: true, - type: "string", - }, - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/comments/:comment_id", - }, - updateReview: { - method: "PUT", - params: { - body: { - required: true, - type: "string", - }, - number: { - alias: "pull_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - pull_number: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - review_id: { - required: true, - type: "integer", - }, - }, - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id", - }, + since: { + type: "string" }, - rateLimit: { - get: { - method: "GET", - params: {}, - url: "/rate_limit", - }, + sort: { + enum: ["created", "updated", "comments"], + type: "string" }, - reactions: { - createForCommitComment: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - comment_id: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/comments/:comment_id/reactions", - }, - createForIssue: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/reactions", - }, - createForIssueComment: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - comment_id: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions", - }, - createForPullRequestReviewComment: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - comment_id: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions", - }, - createForTeamDiscussion: { - deprecated: - "octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/reactions", - }, - createForTeamDiscussionComment: { - deprecated: - "octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - comment_number: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions", - }, - createForTeamDiscussionCommentInOrg: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - comment_number: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions", - }, - createForTeamDiscussionCommentLegacy: { - deprecated: - "octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - comment_number: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions", - }, - createForTeamDiscussionInOrg: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions", - }, - createForTeamDiscussionLegacy: { - deprecated: - "octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "POST", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/reactions", - }, - delete: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "DELETE", - params: { - reaction_id: { - required: true, - type: "integer", - }, - }, - url: "/reactions/:reaction_id", - }, - listForCommitComment: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - comment_id: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/comments/:comment_id/reactions", - }, - listForIssue: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - issue_number: { - required: true, - type: "integer", - }, - number: { - alias: "issue_number", - deprecated: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/:issue_number/reactions", - }, - listForIssueComment: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - comment_id: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions", - }, - listForPullRequestReviewComment: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - comment_id: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions", - }, - listForTeamDiscussion: { - deprecated: - "octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/reactions", - }, - listForTeamDiscussionComment: { - deprecated: - "octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - comment_number: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions", - }, - listForTeamDiscussionCommentInOrg: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - comment_number: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions", - }, - listForTeamDiscussionCommentLegacy: { - deprecated: - "octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - comment_number: { - required: true, - type: "integer", - }, - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions", - }, - listForTeamDiscussionInOrg: { - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions", - }, - listForTeamDiscussionLegacy: { - deprecated: - "octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", - headers: { - accept: "application/vnd.github.squirrel-girl-preview+json", - }, - method: "GET", - params: { - content: { - enum: [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes", - ], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/reactions", - }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/repos/:owner/:repo/issues" + }, + listLabelsForMilestone: { + method: "GET", + params: { + milestone_number: { + required: true, + type: "integer" }, - repos: { - acceptInvitation: { - method: "PATCH", - params: { - invitation_id: { - required: true, - type: "integer", - }, - }, - url: "/user/repository_invitations/:invitation_id", - }, - addCollaborator: { - method: "PUT", - params: { - owner: { - required: true, - type: "string", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - repo: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/collaborators/:username", - }, - addDeployKey: { - method: "POST", - params: { - key: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - read_only: { - type: "boolean", - }, - repo: { - required: true, - type: "string", - }, - title: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/keys", - }, - addProtectedBranchAdminEnforcement: { - method: "POST", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/enforce_admins", - }, - addProtectedBranchAppRestrictions: { - method: "POST", - params: { - apps: { - mapTo: "data", - required: true, - type: "string[]", - }, - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps", - }, - addProtectedBranchRequiredSignatures: { - headers: { - accept: "application/vnd.github.zzzax-preview+json", - }, - method: "POST", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_signatures", - }, - addProtectedBranchRequiredStatusChecksContexts: { - method: "POST", - params: { - branch: { - required: true, - type: "string", - }, - contexts: { - mapTo: "data", - required: true, - type: "string[]", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts", - }, - addProtectedBranchTeamRestrictions: { - method: "POST", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - teams: { - mapTo: "data", - required: true, - type: "string[]", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams", - }, - addProtectedBranchUserRestrictions: { - method: "POST", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - users: { - mapTo: "data", - required: true, - type: "string[]", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/users", - }, - checkCollaborator: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/collaborators/:username", - }, - checkVulnerabilityAlerts: { - headers: { - accept: "application/vnd.github.dorian-preview+json", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/vulnerability-alerts", - }, - compareCommits: { - method: "GET", - params: { - base: { - required: true, - type: "string", - }, - head: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/compare/:base...:head", - }, - createCommitComment: { - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - commit_sha: { - required: true, - type: "string", - }, - line: { - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - path: { - type: "string", - }, - position: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - sha: { - alias: "commit_sha", - deprecated: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:commit_sha/comments", - }, - createDeployment: { - method: "POST", - params: { - auto_merge: { - type: "boolean", - }, - description: { - type: "string", - }, - environment: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - payload: { - type: "string", - }, - production_environment: { - type: "boolean", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - required_contexts: { - type: "string[]", - }, - task: { - type: "string", - }, - transient_environment: { - type: "boolean", - }, - }, - url: "/repos/:owner/:repo/deployments", - }, - createDeploymentStatus: { - method: "POST", - params: { - auto_inactive: { - type: "boolean", - }, - deployment_id: { - required: true, - type: "integer", - }, - description: { - type: "string", - }, - environment: { - enum: ["production", "staging", "qa"], - type: "string", - }, - environment_url: { - type: "string", - }, - log_url: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - state: { - enum: [ - "error", - "failure", - "inactive", - "in_progress", - "queued", - "pending", - "success", - ], - required: true, - type: "string", - }, - target_url: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses", - }, - createDispatchEvent: { - method: "POST", - params: { - client_payload: { - type: "object", - }, - event_type: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/dispatches", - }, - createFile: { - deprecated: - "octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)", - method: "PUT", - params: { - author: { - type: "object", - }, - "author.email": { - required: true, - type: "string", - }, - "author.name": { - required: true, - type: "string", - }, - branch: { - type: "string", - }, - committer: { - type: "object", - }, - "committer.email": { - required: true, - type: "string", - }, - "committer.name": { - required: true, - type: "string", - }, - content: { - required: true, - type: "string", - }, - message: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - path: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/contents/:path", - }, - createForAuthenticatedUser: { - method: "POST", - params: { - allow_merge_commit: { - type: "boolean", - }, - allow_rebase_merge: { - type: "boolean", - }, - allow_squash_merge: { - type: "boolean", - }, - auto_init: { - type: "boolean", - }, - delete_branch_on_merge: { - type: "boolean", - }, - description: { - type: "string", - }, - gitignore_template: { - type: "string", - }, - has_issues: { - type: "boolean", - }, - has_projects: { - type: "boolean", - }, - has_wiki: { - type: "boolean", - }, - homepage: { - type: "string", - }, - is_template: { - type: "boolean", - }, - license_template: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - private: { - type: "boolean", - }, - team_id: { - type: "integer", - }, - visibility: { - enum: ["public", "private", "visibility", "internal"], - type: "string", - }, - }, - url: "/user/repos", - }, - createFork: { - method: "POST", - params: { - organization: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/forks", - }, - createHook: { - method: "POST", - params: { - active: { - type: "boolean", - }, - config: { - required: true, - type: "object", - }, - "config.content_type": { - type: "string", - }, - "config.insecure_ssl": { - type: "string", - }, - "config.secret": { - type: "string", - }, - "config.url": { - required: true, - type: "string", - }, - events: { - type: "string[]", - }, - name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/hooks", - }, - createInOrg: { - method: "POST", - params: { - allow_merge_commit: { - type: "boolean", - }, - allow_rebase_merge: { - type: "boolean", - }, - allow_squash_merge: { - type: "boolean", - }, - auto_init: { - type: "boolean", - }, - delete_branch_on_merge: { - type: "boolean", - }, - description: { - type: "string", - }, - gitignore_template: { - type: "string", - }, - has_issues: { - type: "boolean", - }, - has_projects: { - type: "boolean", - }, - has_wiki: { - type: "boolean", - }, - homepage: { - type: "string", - }, - is_template: { - type: "boolean", - }, - license_template: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - org: { - required: true, - type: "string", - }, - private: { - type: "boolean", - }, - team_id: { - type: "integer", - }, - visibility: { - enum: ["public", "private", "visibility", "internal"], - type: "string", - }, - }, - url: "/orgs/:org/repos", - }, - createOrUpdateFile: { - method: "PUT", - params: { - author: { - type: "object", - }, - "author.email": { - required: true, - type: "string", - }, - "author.name": { - required: true, - type: "string", - }, - branch: { - type: "string", - }, - committer: { - type: "object", - }, - "committer.email": { - required: true, - type: "string", - }, - "committer.name": { - required: true, - type: "string", - }, - content: { - required: true, - type: "string", - }, - message: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - path: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/contents/:path", - }, - createRelease: { - method: "POST", - params: { - body: { - type: "string", - }, - draft: { - type: "boolean", - }, - name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - prerelease: { - type: "boolean", - }, - repo: { - required: true, - type: "string", - }, - tag_name: { - required: true, - type: "string", - }, - target_commitish: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases", - }, - createStatus: { - method: "POST", - params: { - context: { - type: "string", - }, - description: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - required: true, - type: "string", - }, - state: { - enum: ["error", "failure", "pending", "success"], - required: true, - type: "string", - }, - target_url: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/statuses/:sha", - }, - createUsingTemplate: { - headers: { - accept: "application/vnd.github.baptiste-preview+json", - }, - method: "POST", - params: { - description: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - owner: { - type: "string", - }, - private: { - type: "boolean", - }, - template_owner: { - required: true, - type: "string", - }, - template_repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:template_owner/:template_repo/generate", - }, - declineInvitation: { - method: "DELETE", - params: { - invitation_id: { - required: true, - type: "integer", - }, - }, - url: "/user/repository_invitations/:invitation_id", - }, - delete: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo", - }, - deleteCommitComment: { - method: "DELETE", - params: { - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/comments/:comment_id", - }, - deleteDownload: { - method: "DELETE", - params: { - download_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/downloads/:download_id", - }, - deleteFile: { - method: "DELETE", - params: { - author: { - type: "object", - }, - "author.email": { - type: "string", - }, - "author.name": { - type: "string", - }, - branch: { - type: "string", - }, - committer: { - type: "object", - }, - "committer.email": { - type: "string", - }, - "committer.name": { - type: "string", - }, - message: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - path: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/contents/:path", - }, - deleteHook: { - method: "DELETE", - params: { - hook_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/hooks/:hook_id", - }, - deleteInvitation: { - method: "DELETE", - params: { - invitation_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/invitations/:invitation_id", - }, - deleteRelease: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - release_id: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/:release_id", - }, - deleteReleaseAsset: { - method: "DELETE", - params: { - asset_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/assets/:asset_id", - }, - disableAutomatedSecurityFixes: { - headers: { - accept: "application/vnd.github.london-preview+json", - }, - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/automated-security-fixes", - }, - disablePagesSite: { - headers: { - accept: "application/vnd.github.switcheroo-preview+json", - }, - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages", - }, - disableVulnerabilityAlerts: { - headers: { - accept: "application/vnd.github.dorian-preview+json", - }, - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/vulnerability-alerts", - }, - enableAutomatedSecurityFixes: { - headers: { - accept: "application/vnd.github.london-preview+json", - }, - method: "PUT", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/automated-security-fixes", - }, - enablePagesSite: { - headers: { - accept: "application/vnd.github.switcheroo-preview+json", - }, - method: "POST", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - source: { - type: "object", - }, - "source.branch": { - enum: ["master", "gh-pages"], - type: "string", - }, - "source.path": { - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages", - }, - enableVulnerabilityAlerts: { - headers: { - accept: "application/vnd.github.dorian-preview+json", - }, - method: "PUT", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/vulnerability-alerts", - }, - get: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo", - }, - getAppsWithAccessToProtectedBranch: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps", - }, - getArchiveLink: { - method: "GET", - params: { - archive_format: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/:archive_format/:ref", - }, - getBranch: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/branches/:branch", - }, - getBranchProtection: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/branches/:branch/protection", - }, - getClones: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - per: { - enum: ["day", "week"], - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/traffic/clones", - }, - getCodeFrequencyStats: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/stats/code_frequency", - }, - getCollaboratorPermissionLevel: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/collaborators/:username/permission", - }, - getCombinedStatusForRef: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:ref/status", - }, - getCommit: { - method: "GET", - params: { - commit_sha: { - alias: "ref", - deprecated: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - alias: "ref", - deprecated: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:ref", - }, - getCommitActivityStats: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/stats/commit_activity", - }, - getCommitComment: { - method: "GET", - params: { - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/comments/:comment_id", - }, - getCommitRefSha: { - deprecated: - "octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit", - headers: { - accept: "application/vnd.github.v3.sha", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:ref", - }, - getContents: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - path: { - required: true, - type: "string", - }, - ref: { - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/contents/:path", - }, - getContributorsStats: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/stats/contributors", - }, - getDeployKey: { - method: "GET", - params: { - key_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/keys/:key_id", - }, - getDeployment: { - method: "GET", - params: { - deployment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/deployments/:deployment_id", - }, - getDeploymentStatus: { - method: "GET", - params: { - deployment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - status_id: { - required: true, - type: "integer", - }, - }, - url: - "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id", - }, - getDownload: { - method: "GET", - params: { - download_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/downloads/:download_id", - }, - getHook: { - method: "GET", - params: { - hook_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/hooks/:hook_id", - }, - getLatestPagesBuild: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages/builds/latest", - }, - getLatestRelease: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/latest", - }, - getPages: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages", - }, - getPagesBuild: { - method: "GET", - params: { - build_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages/builds/:build_id", - }, - getParticipationStats: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/stats/participation", - }, - getProtectedBranchAdminEnforcement: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/enforce_admins", - }, - getProtectedBranchPullRequestReviewEnforcement: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews", - }, - getProtectedBranchRequiredSignatures: { - headers: { - accept: "application/vnd.github.zzzax-preview+json", - }, - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_signatures", - }, - getProtectedBranchRequiredStatusChecks: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_status_checks", - }, - getProtectedBranchRestrictions: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions", - }, - getPunchCardStats: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/stats/punch_card", - }, - getReadme: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - ref: { - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/readme", - }, - getRelease: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - release_id: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/:release_id", - }, - getReleaseAsset: { - method: "GET", - params: { - asset_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/assets/:asset_id", - }, - getReleaseByTag: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - tag: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/tags/:tag", - }, - getTeamsWithAccessToProtectedBranch: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams", - }, - getTopPaths: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/traffic/popular/paths", - }, - getTopReferrers: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/traffic/popular/referrers", - }, - getUsersWithAccessToProtectedBranch: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/users", - }, - getViews: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - per: { - enum: ["day", "week"], - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/traffic/views", - }, - list: { - method: "GET", - params: { - affiliation: { - type: "string", - }, - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - sort: { - enum: ["created", "updated", "pushed", "full_name"], - type: "string", - }, - type: { - enum: ["all", "owner", "public", "private", "member"], - type: "string", - }, - visibility: { - enum: ["all", "public", "private"], - type: "string", - }, - }, - url: "/user/repos", - }, - listAppsWithAccessToProtectedBranch: { - deprecated: - "octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)", - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps", - }, - listAssetsForRelease: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - release_id: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/:release_id/assets", - }, - listBranches: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - protected: { - type: "boolean", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/branches", - }, - listBranchesForHeadCommit: { - headers: { - accept: "application/vnd.github.groot-preview+json", - }, - method: "GET", - params: { - commit_sha: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:commit_sha/branches-where-head", - }, - listCollaborators: { - method: "GET", - params: { - affiliation: { - enum: ["outside", "direct", "all"], - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/collaborators", - }, - listCommentsForCommit: { - method: "GET", - params: { - commit_sha: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - ref: { - alias: "commit_sha", - deprecated: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:commit_sha/comments", - }, - listCommitComments: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/comments", - }, - listCommits: { - method: "GET", - params: { - author: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - path: { - type: "string", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - sha: { - type: "string", - }, - since: { - type: "string", - }, - until: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits", - }, - listContributors: { - method: "GET", - params: { - anon: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/contributors", - }, - listDeployKeys: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/keys", - }, - listDeploymentStatuses: { - method: "GET", - params: { - deployment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses", - }, - listDeployments: { - method: "GET", - params: { - environment: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - ref: { - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - type: "string", - }, - task: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/deployments", - }, - listDownloads: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/downloads", - }, - listForOrg: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - sort: { - enum: ["created", "updated", "pushed", "full_name"], - type: "string", - }, - type: { - enum: [ - "all", - "public", - "private", - "forks", - "sources", - "member", - "internal", - ], - type: "string", - }, - }, - url: "/orgs/:org/repos", - }, - listForUser: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - sort: { - enum: ["created", "updated", "pushed", "full_name"], - type: "string", - }, - type: { - enum: ["all", "owner", "member"], - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/repos", - }, - listForks: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - sort: { - enum: ["newest", "oldest", "stargazers"], - type: "string", - }, - }, - url: "/repos/:owner/:repo/forks", - }, - listHooks: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/hooks", - }, - listInvitations: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/invitations", - }, - listInvitationsForAuthenticatedUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/repository_invitations", - }, - listLanguages: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/languages", - }, - listPagesBuilds: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages/builds", - }, - listProtectedBranchRequiredStatusChecksContexts: { - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts", - }, - listProtectedBranchTeamRestrictions: { - deprecated: - "octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)", - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams", - }, - listProtectedBranchUserRestrictions: { - deprecated: - "octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)", - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/users", - }, - listPublic: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "integer", - }, - }, - url: "/repositories", - }, - listPullRequestsAssociatedWithCommit: { - headers: { - accept: "application/vnd.github.groot-preview+json", - }, - method: "GET", - params: { - commit_sha: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:commit_sha/pulls", - }, - listReleases: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases", - }, - listStatusesForRef: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - ref: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/commits/:ref/statuses", - }, - listTags: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/tags", - }, - listTeams: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/teams", - }, - listTeamsWithAccessToProtectedBranch: { - deprecated: - "octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)", - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams", - }, - listTopics: { - headers: { - accept: "application/vnd.github.mercy-preview+json", - }, - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/topics", - }, - listUsersWithAccessToProtectedBranch: { - deprecated: - "octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)", - method: "GET", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/users", - }, - merge: { - method: "POST", - params: { - base: { - required: true, - type: "string", - }, - commit_message: { - type: "string", - }, - head: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/merges", - }, - pingHook: { - method: "POST", - params: { - hook_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/hooks/:hook_id/pings", - }, - removeBranchProtection: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/branches/:branch/protection", - }, - removeCollaborator: { - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/collaborators/:username", - }, - removeDeployKey: { - method: "DELETE", - params: { - key_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/keys/:key_id", - }, - removeProtectedBranchAdminEnforcement: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/enforce_admins", - }, - removeProtectedBranchAppRestrictions: { - method: "DELETE", - params: { - apps: { - mapTo: "data", - required: true, - type: "string[]", - }, - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps", - }, - removeProtectedBranchPullRequestReviewEnforcement: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews", - }, - removeProtectedBranchRequiredSignatures: { - headers: { - accept: "application/vnd.github.zzzax-preview+json", - }, - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_signatures", - }, - removeProtectedBranchRequiredStatusChecks: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_status_checks", - }, - removeProtectedBranchRequiredStatusChecksContexts: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - contexts: { - mapTo: "data", - required: true, - type: "string[]", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts", - }, - removeProtectedBranchRestrictions: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions", - }, - removeProtectedBranchTeamRestrictions: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - teams: { - mapTo: "data", - required: true, - type: "string[]", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams", - }, - removeProtectedBranchUserRestrictions: { - method: "DELETE", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - users: { - mapTo: "data", - required: true, - type: "string[]", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/users", - }, - replaceProtectedBranchAppRestrictions: { - method: "PUT", - params: { - apps: { - mapTo: "data", - required: true, - type: "string[]", - }, - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps", - }, - replaceProtectedBranchRequiredStatusChecksContexts: { - method: "PUT", - params: { - branch: { - required: true, - type: "string", - }, - contexts: { - mapTo: "data", - required: true, - type: "string[]", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts", - }, - replaceProtectedBranchTeamRestrictions: { - method: "PUT", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - teams: { - mapTo: "data", - required: true, - type: "string[]", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams", - }, - replaceProtectedBranchUserRestrictions: { - method: "PUT", - params: { - branch: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - users: { - mapTo: "data", - required: true, - type: "string[]", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/restrictions/users", - }, - replaceTopics: { - headers: { - accept: "application/vnd.github.mercy-preview+json", - }, - method: "PUT", - params: { - names: { - required: true, - type: "string[]", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/topics", - }, - requestPageBuild: { - method: "POST", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages/builds", - }, - retrieveCommunityProfileMetrics: { - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/community/profile", - }, - testPushHook: { - method: "POST", - params: { - hook_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/hooks/:hook_id/tests", - }, - transfer: { - method: "POST", - params: { - new_owner: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_ids: { - type: "integer[]", - }, - }, - url: "/repos/:owner/:repo/transfer", - }, - update: { - method: "PATCH", - params: { - allow_merge_commit: { - type: "boolean", - }, - allow_rebase_merge: { - type: "boolean", - }, - allow_squash_merge: { - type: "boolean", - }, - archived: { - type: "boolean", - }, - default_branch: { - type: "string", - }, - delete_branch_on_merge: { - type: "boolean", - }, - description: { - type: "string", - }, - has_issues: { - type: "boolean", - }, - has_projects: { - type: "boolean", - }, - has_wiki: { - type: "boolean", - }, - homepage: { - type: "string", - }, - is_template: { - type: "boolean", - }, - name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - private: { - type: "boolean", - }, - repo: { - required: true, - type: "string", - }, - visibility: { - enum: ["public", "private", "visibility", "internal"], - type: "string", - }, - }, - url: "/repos/:owner/:repo", - }, - updateBranchProtection: { - method: "PUT", - params: { - allow_deletions: { - type: "boolean", - }, - allow_force_pushes: { - allowNull: true, - type: "boolean", - }, - branch: { - required: true, - type: "string", - }, - enforce_admins: { - allowNull: true, - required: true, - type: "boolean", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - required_linear_history: { - type: "boolean", - }, - required_pull_request_reviews: { - allowNull: true, - required: true, - type: "object", - }, - "required_pull_request_reviews.dismiss_stale_reviews": { - type: "boolean", - }, - "required_pull_request_reviews.dismissal_restrictions": { - type: "object", - }, - "required_pull_request_reviews.dismissal_restrictions.teams": { - type: "string[]", - }, - "required_pull_request_reviews.dismissal_restrictions.users": { - type: "string[]", - }, - "required_pull_request_reviews.require_code_owner_reviews": { - type: "boolean", - }, - "required_pull_request_reviews.required_approving_review_count": { - type: "integer", - }, - required_status_checks: { - allowNull: true, - required: true, - type: "object", - }, - "required_status_checks.contexts": { - required: true, - type: "string[]", - }, - "required_status_checks.strict": { - required: true, - type: "boolean", - }, - restrictions: { - allowNull: true, - required: true, - type: "object", - }, - "restrictions.apps": { - type: "string[]", - }, - "restrictions.teams": { - required: true, - type: "string[]", - }, - "restrictions.users": { - required: true, - type: "string[]", - }, - }, - url: "/repos/:owner/:repo/branches/:branch/protection", - }, - updateCommitComment: { - method: "PATCH", - params: { - body: { - required: true, - type: "string", - }, - comment_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/comments/:comment_id", - }, - updateFile: { - deprecated: - "octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)", - method: "PUT", - params: { - author: { - type: "object", - }, - "author.email": { - required: true, - type: "string", - }, - "author.name": { - required: true, - type: "string", - }, - branch: { - type: "string", - }, - committer: { - type: "object", - }, - "committer.email": { - required: true, - type: "string", - }, - "committer.name": { - required: true, - type: "string", - }, - content: { - required: true, - type: "string", - }, - message: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - path: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - sha: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/contents/:path", - }, - updateHook: { - method: "PATCH", - params: { - active: { - type: "boolean", - }, - add_events: { - type: "string[]", - }, - config: { - type: "object", - }, - "config.content_type": { - type: "string", - }, - "config.insecure_ssl": { - type: "string", - }, - "config.secret": { - type: "string", - }, - "config.url": { - required: true, - type: "string", - }, - events: { - type: "string[]", - }, - hook_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - remove_events: { - type: "string[]", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/hooks/:hook_id", - }, - updateInformationAboutPagesSite: { - method: "PUT", - params: { - cname: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - source: { - enum: ['"gh-pages"', '"master"', '"master /docs"'], - type: "string", - }, - }, - url: "/repos/:owner/:repo/pages", - }, - updateInvitation: { - method: "PATCH", - params: { - invitation_id: { - required: true, - type: "integer", - }, - owner: { - required: true, - type: "string", - }, - permissions: { - enum: ["read", "write", "admin"], - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/invitations/:invitation_id", - }, - updateProtectedBranchPullRequestReviewEnforcement: { - method: "PATCH", - params: { - branch: { - required: true, - type: "string", - }, - dismiss_stale_reviews: { - type: "boolean", - }, - dismissal_restrictions: { - type: "object", - }, - "dismissal_restrictions.teams": { - type: "string[]", - }, - "dismissal_restrictions.users": { - type: "string[]", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - require_code_owner_reviews: { - type: "boolean", - }, - required_approving_review_count: { - type: "integer", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews", - }, - updateProtectedBranchRequiredStatusChecks: { - method: "PATCH", - params: { - branch: { - required: true, - type: "string", - }, - contexts: { - type: "string[]", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - strict: { - type: "boolean", - }, - }, - url: - "/repos/:owner/:repo/branches/:branch/protection/required_status_checks", - }, - updateRelease: { - method: "PATCH", - params: { - body: { - type: "string", - }, - draft: { - type: "boolean", - }, - name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - prerelease: { - type: "boolean", - }, - release_id: { - required: true, - type: "integer", - }, - repo: { - required: true, - type: "string", - }, - tag_name: { - type: "string", - }, - target_commitish: { - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/:release_id", - }, - updateReleaseAsset: { - method: "PATCH", - params: { - asset_id: { - required: true, - type: "integer", - }, - label: { - type: "string", - }, - name: { - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - }, - url: "/repos/:owner/:repo/releases/assets/:asset_id", - }, - uploadReleaseAsset: { - method: "POST", - params: { - data: { - mapTo: "data", - required: true, - type: "string | object", - }, - file: { - alias: "data", - deprecated: true, - type: "string | object", - }, - headers: { - required: true, - type: "object", - }, - "headers.content-length": { - required: true, - type: "integer", - }, - "headers.content-type": { - required: true, - type: "string", - }, - label: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - url: { - required: true, - type: "string", - }, - }, - url: ":url", - }, + number: { + alias: "milestone_number", + deprecated: true, + type: "integer" }, - search: { - code: { - method: "GET", - params: { - order: { - enum: ["desc", "asc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - q: { - required: true, - type: "string", - }, - sort: { - enum: ["indexed"], - type: "string", - }, - }, - url: "/search/code", - }, - commits: { - headers: { - accept: "application/vnd.github.cloak-preview+json", - }, - method: "GET", - params: { - order: { - enum: ["desc", "asc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - q: { - required: true, - type: "string", - }, - sort: { - enum: ["author-date", "committer-date"], - type: "string", - }, - }, - url: "/search/commits", - }, - issues: { - deprecated: - "octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)", - method: "GET", - params: { - order: { - enum: ["desc", "asc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - q: { - required: true, - type: "string", - }, - sort: { - enum: [ - "comments", - "reactions", - "reactions-+1", - "reactions--1", - "reactions-smile", - "reactions-thinking_face", - "reactions-heart", - "reactions-tada", - "interactions", - "created", - "updated", - ], - type: "string", - }, - }, - url: "/search/issues", - }, - issuesAndPullRequests: { - method: "GET", - params: { - order: { - enum: ["desc", "asc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - q: { - required: true, - type: "string", - }, - sort: { - enum: [ - "comments", - "reactions", - "reactions-+1", - "reactions--1", - "reactions-smile", - "reactions-thinking_face", - "reactions-heart", - "reactions-tada", - "interactions", - "created", - "updated", - ], - type: "string", - }, - }, - url: "/search/issues", - }, - labels: { - method: "GET", - params: { - order: { - enum: ["desc", "asc"], - type: "string", - }, - q: { - required: true, - type: "string", - }, - repository_id: { - required: true, - type: "integer", - }, - sort: { - enum: ["created", "updated"], - type: "string", - }, - }, - url: "/search/labels", - }, - repos: { - method: "GET", - params: { - order: { - enum: ["desc", "asc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - q: { - required: true, - type: "string", - }, - sort: { - enum: ["stars", "forks", "help-wanted-issues", "updated"], - type: "string", - }, - }, - url: "/search/repositories", - }, - topics: { - method: "GET", - params: { - q: { - required: true, - type: "string", - }, - }, - url: "/search/topics", - }, - users: { - method: "GET", - params: { - order: { - enum: ["desc", "asc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - q: { - required: true, - type: "string", - }, - sort: { - enum: ["followers", "repositories", "joined"], - type: "string", - }, - }, - url: "/search/users", - }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/milestones/:milestone_number/labels" + }, + listLabelsForRepo: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/labels" + }, + listLabelsOnIssue: { + method: "GET", + params: { + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/labels" + }, + listMilestonesForRepo: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + sort: { + enum: ["due_on", "completeness"], + type: "string" + }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/repos/:owner/:repo/milestones" + }, + lock: { + method: "PUT", + params: { + issue_number: { + required: true, + type: "integer" + }, + lock_reason: { + enum: ["off-topic", "too heated", "resolved", "spam"], + type: "string" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/lock" + }, + removeAssignees: { + method: "DELETE", + params: { + assignees: { + type: "string[]" + }, + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/assignees" + }, + removeLabel: { + method: "DELETE", + params: { + issue_number: { + required: true, + type: "integer" + }, + name: { + required: true, + type: "string" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/labels/:name" + }, + removeLabels: { + method: "DELETE", + params: { + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/labels" + }, + replaceLabels: { + method: "PUT", + params: { + issue_number: { + required: true, + type: "integer" + }, + labels: { + type: "string[]" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/labels" + }, + unlock: { + method: "DELETE", + params: { + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/lock" + }, + update: { + method: "PATCH", + params: { + assignee: { + type: "string" + }, + assignees: { + type: "string[]" + }, + body: { + type: "string" + }, + issue_number: { + required: true, + type: "integer" + }, + labels: { + type: "string[]" + }, + milestone: { + allowNull: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + state: { + enum: ["open", "closed"], + type: "string" + }, + title: { + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number" + }, + updateComment: { + method: "PATCH", + params: { + body: { + required: true, + type: "string" + }, + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/comments/:comment_id" + }, + updateLabel: { + method: "PATCH", + params: { + color: { + type: "string" + }, + current_name: { + required: true, + type: "string" + }, + description: { + type: "string" + }, + name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/labels/:current_name" + }, + updateMilestone: { + method: "PATCH", + params: { + description: { + type: "string" + }, + due_on: { + type: "string" + }, + milestone_number: { + required: true, + type: "integer" + }, + number: { + alias: "milestone_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + state: { + enum: ["open", "closed"], + type: "string" + }, + title: { + type: "string" + } + }, + url: "/repos/:owner/:repo/milestones/:milestone_number" + } + }, + licenses: { + get: { + method: "GET", + params: { + license: { + required: true, + type: "string" + } + }, + url: "/licenses/:license" + }, + getForRepo: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/license" + }, + list: { + deprecated: "octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)", + method: "GET", + params: {}, + url: "/licenses" + }, + listCommonlyUsed: { + method: "GET", + params: {}, + url: "/licenses" + } + }, + markdown: { + render: { + method: "POST", + params: { + context: { + type: "string" + }, + mode: { + enum: ["markdown", "gfm"], + type: "string" + }, + text: { + required: true, + type: "string" + } + }, + url: "/markdown" + }, + renderRaw: { + headers: { + "content-type": "text/plain; charset=utf-8" + }, + method: "POST", + params: { + data: { + mapTo: "data", + required: true, + type: "string" + } + }, + url: "/markdown/raw" + } + }, + meta: { + get: { + method: "GET", + params: {}, + url: "/meta" + } + }, + migrations: { + cancelImport: { + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/import" + }, + deleteArchiveForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "DELETE", + params: { + migration_id: { + required: true, + type: "integer" + } + }, + url: "/user/migrations/:migration_id/archive" + }, + deleteArchiveForOrg: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "DELETE", + params: { + migration_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/migrations/:migration_id/archive" + }, + downloadArchiveForOrg: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + migration_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/migrations/:migration_id/archive" + }, + getArchiveForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + migration_id: { + required: true, + type: "integer" + } + }, + url: "/user/migrations/:migration_id/archive" + }, + getArchiveForOrg: { + deprecated: "octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg() (2020-01-27)", + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + migration_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/migrations/:migration_id/archive" + }, + getCommitAuthors: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + since: { + type: "string" + } + }, + url: "/repos/:owner/:repo/import/authors" + }, + getImportProgress: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/import" + }, + getLargeFiles: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/import/large_files" + }, + getStatusForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + migration_id: { + required: true, + type: "integer" + } + }, + url: "/user/migrations/:migration_id" + }, + getStatusForOrg: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + migration_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/migrations/:migration_id" + }, + listForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/migrations" + }, + listForOrg: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/migrations" + }, + listReposForOrg: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + migration_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/migrations/:migration_id/repositories" + }, + listReposForUser: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "GET", + params: { + migration_id: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/:migration_id/repositories" + }, + mapCommitAuthor: { + method: "PATCH", + params: { + author_id: { + required: true, + type: "integer" + }, + email: { + type: "string" + }, + name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/import/authors/:author_id" + }, + setLfsPreference: { + method: "PATCH", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + use_lfs: { + enum: ["opt_in", "opt_out"], + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/import/lfs" + }, + startForAuthenticatedUser: { + method: "POST", + params: { + exclude_attachments: { + type: "boolean" + }, + lock_repositories: { + type: "boolean" + }, + repositories: { + required: true, + type: "string[]" + } + }, + url: "/user/migrations" + }, + startForOrg: { + method: "POST", + params: { + exclude_attachments: { + type: "boolean" + }, + lock_repositories: { + type: "boolean" + }, + org: { + required: true, + type: "string" + }, + repositories: { + required: true, + type: "string[]" + } + }, + url: "/orgs/:org/migrations" + }, + startImport: { + method: "PUT", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + tfvc_project: { + type: "string" + }, + vcs: { + enum: ["subversion", "git", "mercurial", "tfvc"], + type: "string" + }, + vcs_password: { + type: "string" + }, + vcs_url: { + required: true, + type: "string" + }, + vcs_username: { + type: "string" + } + }, + url: "/repos/:owner/:repo/import" + }, + unlockRepoForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "DELETE", + params: { + migration_id: { + required: true, + type: "integer" + }, + repo_name: { + required: true, + type: "string" + } + }, + url: "/user/migrations/:migration_id/repos/:repo_name/lock" + }, + unlockRepoForOrg: { + headers: { + accept: "application/vnd.github.wyandotte-preview+json" + }, + method: "DELETE", + params: { + migration_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + repo_name: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock" + }, + updateImport: { + method: "PATCH", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + vcs_password: { + type: "string" + }, + vcs_username: { + type: "string" + } + }, + url: "/repos/:owner/:repo/import" + } + }, + oauthAuthorizations: { + checkAuthorization: { + deprecated: "octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)", + method: "GET", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/tokens/:access_token" + }, + createAuthorization: { + deprecated: "octokit.oauthAuthorizations.createAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization", + method: "POST", + params: { + client_id: { + type: "string" + }, + client_secret: { + type: "string" + }, + fingerprint: { + type: "string" + }, + note: { + required: true, + type: "string" + }, + note_url: { + type: "string" + }, + scopes: { + type: "string[]" + } + }, + url: "/authorizations" + }, + deleteAuthorization: { + deprecated: "octokit.oauthAuthorizations.deleteAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization", + method: "DELETE", + params: { + authorization_id: { + required: true, + type: "integer" + } + }, + url: "/authorizations/:authorization_id" + }, + deleteGrant: { + deprecated: "octokit.oauthAuthorizations.deleteGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant", + method: "DELETE", + params: { + grant_id: { + required: true, + type: "integer" + } + }, + url: "/applications/grants/:grant_id" + }, + getAuthorization: { + deprecated: "octokit.oauthAuthorizations.getAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization", + method: "GET", + params: { + authorization_id: { + required: true, + type: "integer" + } + }, + url: "/authorizations/:authorization_id" + }, + getGrant: { + deprecated: "octokit.oauthAuthorizations.getGrant() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant", + method: "GET", + params: { + grant_id: { + required: true, + type: "integer" + } + }, + url: "/applications/grants/:grant_id" + }, + getOrCreateAuthorizationForApp: { + deprecated: "octokit.oauthAuthorizations.getOrCreateAuthorizationForApp() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", + method: "PUT", + params: { + client_id: { + required: true, + type: "string" + }, + client_secret: { + required: true, + type: "string" + }, + fingerprint: { + type: "string" + }, + note: { + type: "string" + }, + note_url: { + type: "string" + }, + scopes: { + type: "string[]" + } + }, + url: "/authorizations/clients/:client_id" + }, + getOrCreateAuthorizationForAppAndFingerprint: { + deprecated: "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + method: "PUT", + params: { + client_id: { + required: true, + type: "string" + }, + client_secret: { + required: true, + type: "string" + }, + fingerprint: { + required: true, + type: "string" + }, + note: { + type: "string" + }, + note_url: { + type: "string" + }, + scopes: { + type: "string[]" + } + }, + url: "/authorizations/clients/:client_id/:fingerprint" + }, + getOrCreateAuthorizationForAppFingerprint: { + deprecated: "octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() has been renamed to octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() (2018-12-27)", + method: "PUT", + params: { + client_id: { + required: true, + type: "string" + }, + client_secret: { + required: true, + type: "string" + }, + fingerprint: { + required: true, + type: "string" + }, + note: { + type: "string" + }, + note_url: { + type: "string" + }, + scopes: { + type: "string[]" + } + }, + url: "/authorizations/clients/:client_id/:fingerprint" + }, + listAuthorizations: { + deprecated: "octokit.oauthAuthorizations.listAuthorizations() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/authorizations" + }, + listGrants: { + deprecated: "octokit.oauthAuthorizations.listGrants() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#list-your-grants", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/applications/grants" + }, + resetAuthorization: { + deprecated: "octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)", + method: "POST", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/tokens/:access_token" + }, + revokeAuthorizationForApplication: { + deprecated: "octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)", + method: "DELETE", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/tokens/:access_token" + }, + revokeGrantForApplication: { + deprecated: "octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)", + method: "DELETE", + params: { + access_token: { + required: true, + type: "string" + }, + client_id: { + required: true, + type: "string" + } + }, + url: "/applications/:client_id/grants/:access_token" + }, + updateAuthorization: { + deprecated: "octokit.oauthAuthorizations.updateAuthorization() is deprecated, see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization", + method: "PATCH", + params: { + add_scopes: { + type: "string[]" + }, + authorization_id: { + required: true, + type: "integer" + }, + fingerprint: { + type: "string" + }, + note: { + type: "string" + }, + note_url: { + type: "string" + }, + remove_scopes: { + type: "string[]" + }, + scopes: { + type: "string[]" + } + }, + url: "/authorizations/:authorization_id" + } + }, + orgs: { + addOrUpdateMembership: { + method: "PUT", + params: { + org: { + required: true, + type: "string" + }, + role: { + enum: ["admin", "member"], + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/memberships/:username" + }, + blockUser: { + method: "PUT", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/blocks/:username" + }, + checkBlockedUser: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/blocks/:username" + }, + checkMembership: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/members/:username" + }, + checkPublicMembership: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/public_members/:username" + }, + concealMembership: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/public_members/:username" + }, + convertMemberToOutsideCollaborator: { + method: "PUT", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/outside_collaborators/:username" + }, + createHook: { + method: "POST", + params: { + active: { + type: "boolean" + }, + config: { + required: true, + type: "object" + }, + "config.content_type": { + type: "string" + }, + "config.insecure_ssl": { + type: "string" + }, + "config.secret": { + type: "string" + }, + "config.url": { + required: true, + type: "string" + }, + events: { + type: "string[]" + }, + name: { + required: true, + type: "string" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/hooks" + }, + createInvitation: { + method: "POST", + params: { + email: { + type: "string" + }, + invitee_id: { + type: "integer" + }, + org: { + required: true, + type: "string" + }, + role: { + enum: ["admin", "direct_member", "billing_manager"], + type: "string" + }, + team_ids: { + type: "integer[]" + } + }, + url: "/orgs/:org/invitations" + }, + deleteHook: { + method: "DELETE", + params: { + hook_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/hooks/:hook_id" + }, + get: { + method: "GET", + params: { + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org" + }, + getHook: { + method: "GET", + params: { + hook_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/hooks/:hook_id" + }, + getMembership: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/memberships/:username" + }, + getMembershipForAuthenticatedUser: { + method: "GET", + params: { + org: { + required: true, + type: "string" + } + }, + url: "/user/memberships/orgs/:org" + }, + list: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "integer" + } + }, + url: "/organizations" + }, + listBlockedUsers: { + method: "GET", + params: { + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/blocks" + }, + listForAuthenticatedUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/orgs" + }, + listForUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/orgs" + }, + listHooks: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/hooks" + }, + listInstallations: { + headers: { + accept: "application/vnd.github.machine-man-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/installations" + }, + listInvitationTeams: { + method: "GET", + params: { + invitation_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/invitations/:invitation_id/teams" + }, + listMembers: { + method: "GET", + params: { + filter: { + enum: ["2fa_disabled", "all"], + type: "string" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + role: { + enum: ["all", "admin", "member"], + type: "string" + } + }, + url: "/orgs/:org/members" + }, + listMemberships: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + state: { + enum: ["active", "pending"], + type: "string" + } + }, + url: "/user/memberships/orgs" + }, + listOutsideCollaborators: { + method: "GET", + params: { + filter: { + enum: ["2fa_disabled", "all"], + type: "string" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/outside_collaborators" + }, + listPendingInvitations: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/invitations" + }, + listPublicMembers: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/public_members" + }, + pingHook: { + method: "POST", + params: { + hook_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/hooks/:hook_id/pings" + }, + publicizeMembership: { + method: "PUT", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/public_members/:username" + }, + removeMember: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/members/:username" + }, + removeMembership: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/memberships/:username" + }, + removeOutsideCollaborator: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/outside_collaborators/:username" + }, + unblockUser: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/blocks/:username" + }, + update: { + method: "PATCH", + params: { + billing_email: { + type: "string" + }, + company: { + type: "string" + }, + default_repository_permission: { + enum: ["read", "write", "admin", "none"], + type: "string" + }, + description: { + type: "string" + }, + email: { + type: "string" + }, + has_organization_projects: { + type: "boolean" + }, + has_repository_projects: { + type: "boolean" + }, + location: { + type: "string" + }, + members_allowed_repository_creation_type: { + enum: ["all", "private", "none"], + type: "string" + }, + members_can_create_internal_repositories: { + type: "boolean" + }, + members_can_create_private_repositories: { + type: "boolean" + }, + members_can_create_public_repositories: { + type: "boolean" + }, + members_can_create_repositories: { + type: "boolean" + }, + name: { + type: "string" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org" + }, + updateHook: { + method: "PATCH", + params: { + active: { + type: "boolean" + }, + config: { + type: "object" + }, + "config.content_type": { + type: "string" + }, + "config.insecure_ssl": { + type: "string" + }, + "config.secret": { + type: "string" + }, + "config.url": { + required: true, + type: "string" + }, + events: { + type: "string[]" + }, + hook_id: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/hooks/:hook_id" + }, + updateMembership: { + method: "PATCH", + params: { + org: { + required: true, + type: "string" + }, + state: { + enum: ["active"], + required: true, + type: "string" + } + }, + url: "/user/memberships/orgs/:org" + } + }, + projects: { + addCollaborator: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "PUT", + params: { + permission: { + enum: ["read", "write", "admin"], + type: "string" + }, + project_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/projects/:project_id/collaborators/:username" + }, + createCard: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "POST", + params: { + column_id: { + required: true, + type: "integer" + }, + content_id: { + type: "integer" + }, + content_type: { + type: "string" + }, + note: { + type: "string" + } + }, + url: "/projects/columns/:column_id/cards" + }, + createColumn: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "POST", + params: { + name: { + required: true, + type: "string" + }, + project_id: { + required: true, + type: "integer" + } + }, + url: "/projects/:project_id/columns" + }, + createForAuthenticatedUser: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "POST", + params: { + body: { + type: "string" + }, + name: { + required: true, + type: "string" + } + }, + url: "/user/projects" + }, + createForOrg: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "POST", + params: { + body: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + org: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/projects" + }, + createForRepo: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "POST", + params: { + body: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/projects" + }, + delete: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "DELETE", + params: { + project_id: { + required: true, + type: "integer" + } + }, + url: "/projects/:project_id" + }, + deleteCard: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "DELETE", + params: { + card_id: { + required: true, + type: "integer" + } + }, + url: "/projects/columns/cards/:card_id" + }, + deleteColumn: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "DELETE", + params: { + column_id: { + required: true, + type: "integer" + } + }, + url: "/projects/columns/:column_id" + }, + get: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + project_id: { + required: true, + type: "integer" + } + }, + url: "/projects/:project_id" + }, + getCard: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + card_id: { + required: true, + type: "integer" + } + }, + url: "/projects/columns/cards/:card_id" + }, + getColumn: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + column_id: { + required: true, + type: "integer" + } + }, + url: "/projects/columns/:column_id" + }, + listCards: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + archived_state: { + enum: ["all", "archived", "not_archived"], + type: "string" + }, + column_id: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/projects/columns/:column_id/cards" + }, + listCollaborators: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + affiliation: { + enum: ["outside", "direct", "all"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + project_id: { + required: true, + type: "integer" + } + }, + url: "/projects/:project_id/collaborators" + }, + listColumns: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + project_id: { + required: true, + type: "integer" + } + }, + url: "/projects/:project_id/columns" + }, + listForOrg: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/orgs/:org/projects" + }, + listForRepo: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/repos/:owner/:repo/projects" + }, + listForUser: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + state: { + enum: ["open", "closed", "all"], + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/projects" + }, + moveCard: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "POST", + params: { + card_id: { + required: true, + type: "integer" + }, + column_id: { + type: "integer" + }, + position: { + required: true, + type: "string", + validation: "^(top|bottom|after:\\d+)$" + } + }, + url: "/projects/columns/cards/:card_id/moves" + }, + moveColumn: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "POST", + params: { + column_id: { + required: true, + type: "integer" + }, + position: { + required: true, + type: "string", + validation: "^(first|last|after:\\d+)$" + } + }, + url: "/projects/columns/:column_id/moves" + }, + removeCollaborator: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "DELETE", + params: { + project_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/projects/:project_id/collaborators/:username" + }, + reviewUserPermissionLevel: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + project_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/projects/:project_id/collaborators/:username/permission" + }, + update: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "PATCH", + params: { + body: { + type: "string" + }, + name: { + type: "string" + }, + organization_permission: { + type: "string" + }, + private: { + type: "boolean" + }, + project_id: { + required: true, + type: "integer" + }, + state: { + enum: ["open", "closed"], + type: "string" + } + }, + url: "/projects/:project_id" + }, + updateCard: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "PATCH", + params: { + archived: { + type: "boolean" + }, + card_id: { + required: true, + type: "integer" + }, + note: { + type: "string" + } + }, + url: "/projects/columns/cards/:card_id" + }, + updateColumn: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "PATCH", + params: { + column_id: { + required: true, + type: "integer" + }, + name: { + required: true, + type: "string" + } + }, + url: "/projects/columns/:column_id" + } + }, + pulls: { + checkIfMerged: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/merge" + }, + create: { + method: "POST", + params: { + base: { + required: true, + type: "string" + }, + body: { + type: "string" + }, + draft: { + type: "boolean" + }, + head: { + required: true, + type: "string" + }, + maintainer_can_modify: { + type: "boolean" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + title: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls" + }, + createComment: { + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + commit_id: { + required: true, + type: "string" + }, + in_reply_to: { + deprecated: true, + description: "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.", + type: "integer" + }, + line: { + type: "integer" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + path: { + required: true, + type: "string" + }, + position: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + side: { + enum: ["LEFT", "RIGHT"], + type: "string" + }, + start_line: { + type: "integer" + }, + start_side: { + enum: ["LEFT", "RIGHT", "side"], + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/comments" + }, + createCommentReply: { + deprecated: "octokit.pulls.createCommentReply() has been renamed to octokit.pulls.createComment() (2019-09-09)", + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + commit_id: { + required: true, + type: "string" + }, + in_reply_to: { + deprecated: true, + description: "The comment ID to reply to. **Note**: This must be the ID of a top-level comment, not a reply to that comment. Replies to replies are not supported.", + type: "integer" + }, + line: { + type: "integer" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + path: { + required: true, + type: "string" + }, + position: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + side: { + enum: ["LEFT", "RIGHT"], + type: "string" + }, + start_line: { + type: "integer" + }, + start_side: { + enum: ["LEFT", "RIGHT", "side"], + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/comments" + }, + createFromIssue: { + deprecated: "octokit.pulls.createFromIssue() is deprecated, see https://developer.github.com/v3/pulls/#create-a-pull-request", + method: "POST", + params: { + base: { + required: true, + type: "string" + }, + draft: { + type: "boolean" + }, + head: { + required: true, + type: "string" + }, + issue: { + required: true, + type: "integer" + }, + maintainer_can_modify: { + type: "boolean" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls" + }, + createReview: { + method: "POST", + params: { + body: { + type: "string" + }, + comments: { + type: "object[]" + }, + "comments[].body": { + required: true, + type: "string" + }, + "comments[].path": { + required: true, + type: "string" + }, + "comments[].position": { + required: true, + type: "integer" + }, + commit_id: { + type: "string" + }, + event: { + enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"], + type: "string" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews" + }, + createReviewCommentReply: { + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies" + }, + createReviewRequest: { + method: "POST", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + reviewers: { + type: "string[]" + }, + team_reviewers: { + type: "string[]" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers" + }, + deleteComment: { + method: "DELETE", + params: { + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/comments/:comment_id" + }, + deletePendingReview: { + method: "DELETE", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + review_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id" + }, + deleteReviewRequest: { + method: "DELETE", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + reviewers: { + type: "string[]" + }, + team_reviewers: { + type: "string[]" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers" + }, + dismissReview: { + method: "PUT", + params: { + message: { + required: true, + type: "string" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + review_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals" + }, + get: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number" + }, + getComment: { + method: "GET", + params: { + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/comments/:comment_id" + }, + getCommentsForReview: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + review_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments" + }, + getReview: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + review_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id" + }, + list: { + method: "GET", + params: { + base: { + type: "string" + }, + direction: { + enum: ["asc", "desc"], + type: "string" + }, + head: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + sort: { + enum: ["created", "updated", "popularity", "long-running"], + type: "string" + }, + state: { + enum: ["open", "closed", "all"], + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls" + }, + listComments: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + since: { + type: "string" + }, + sort: { + enum: ["created", "updated"], + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/comments" + }, + listCommentsForRepo: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + since: { + type: "string" + }, + sort: { + enum: ["created", "updated"], + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/comments" + }, + listCommits: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/commits" + }, + listFiles: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/files" + }, + listReviewRequests: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers" + }, + listReviews: { + method: "GET", + params: { + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews" + }, + merge: { + method: "PUT", + params: { + commit_message: { + type: "string" + }, + commit_title: { + type: "string" + }, + merge_method: { + enum: ["merge", "squash", "rebase"], + type: "string" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + sha: { + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/merge" + }, + submitReview: { + method: "POST", + params: { + body: { + type: "string" + }, + event: { + enum: ["APPROVE", "REQUEST_CHANGES", "COMMENT"], + required: true, + type: "string" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + review_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events" + }, + update: { + method: "PATCH", + params: { + base: { + type: "string" + }, + body: { + type: "string" + }, + maintainer_can_modify: { + type: "boolean" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + state: { + enum: ["open", "closed"], + type: "string" + }, + title: { + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number" + }, + updateBranch: { + headers: { + accept: "application/vnd.github.lydian-preview+json" + }, + method: "PUT", + params: { + expected_head_sha: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/update-branch" + }, + updateComment: { + method: "PATCH", + params: { + body: { + required: true, + type: "string" + }, + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/comments/:comment_id" + }, + updateReview: { + method: "PUT", + params: { + body: { + required: true, + type: "string" + }, + number: { + alias: "pull_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + pull_number: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + review_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id" + } + }, + rateLimit: { + get: { + method: "GET", + params: {}, + url: "/rate_limit" + } + }, + reactions: { + createForCommitComment: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + comment_id: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/comments/:comment_id/reactions" + }, + createForIssue: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/reactions" + }, + createForIssueComment: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + comment_id: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions" + }, + createForPullRequestReviewComment: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + comment_id: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions" + }, + createForTeamDiscussion: { + deprecated: "octokit.reactions.createForTeamDiscussion() has been renamed to octokit.reactions.createForTeamDiscussionLegacy() (2020-01-16)", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/reactions" + }, + createForTeamDiscussionComment: { + deprecated: "octokit.reactions.createForTeamDiscussionComment() has been renamed to octokit.reactions.createForTeamDiscussionCommentLegacy() (2020-01-16)", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + comment_number: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions" + }, + createForTeamDiscussionCommentInOrg: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + comment_number: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions" + }, + createForTeamDiscussionCommentLegacy: { + deprecated: "octokit.reactions.createForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + comment_number: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions" + }, + createForTeamDiscussionInOrg: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions" + }, + createForTeamDiscussionLegacy: { + deprecated: "octokit.reactions.createForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "POST", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/reactions" + }, + delete: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "DELETE", + params: { + reaction_id: { + required: true, + type: "integer" + } + }, + url: "/reactions/:reaction_id" + }, + listForCommitComment: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + comment_id: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/comments/:comment_id/reactions" + }, + listForIssue: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + issue_number: { + required: true, + type: "integer" + }, + number: { + alias: "issue_number", + deprecated: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/:issue_number/reactions" + }, + listForIssueComment: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + comment_id: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions" + }, + listForPullRequestReviewComment: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + comment_id: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions" + }, + listForTeamDiscussion: { + deprecated: "octokit.reactions.listForTeamDiscussion() has been renamed to octokit.reactions.listForTeamDiscussionLegacy() (2020-01-16)", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/reactions" + }, + listForTeamDiscussionComment: { + deprecated: "octokit.reactions.listForTeamDiscussionComment() has been renamed to octokit.reactions.listForTeamDiscussionCommentLegacy() (2020-01-16)", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + comment_number: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions" + }, + listForTeamDiscussionCommentInOrg: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + comment_number: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions" + }, + listForTeamDiscussionCommentLegacy: { + deprecated: "octokit.reactions.listForTeamDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + comment_number: { + required: true, + type: "integer" + }, + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions" + }, + listForTeamDiscussionInOrg: { + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions" + }, + listForTeamDiscussionLegacy: { + deprecated: "octokit.reactions.listForTeamDiscussionLegacy() is deprecated, see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", + headers: { + accept: "application/vnd.github.squirrel-girl-preview+json" + }, + method: "GET", + params: { + content: { + enum: ["+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", "eyes"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/reactions" + } + }, + repos: { + acceptInvitation: { + method: "PATCH", + params: { + invitation_id: { + required: true, + type: "integer" + } + }, + url: "/user/repository_invitations/:invitation_id" + }, + addCollaborator: { + method: "PUT", + params: { + owner: { + required: true, + type: "string" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + repo: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/collaborators/:username" + }, + addDeployKey: { + method: "POST", + params: { + key: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + read_only: { + type: "boolean" + }, + repo: { + required: true, + type: "string" + }, + title: { + type: "string" + } + }, + url: "/repos/:owner/:repo/keys" + }, + addProtectedBranchAdminEnforcement: { + method: "POST", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins" + }, + addProtectedBranchAppRestrictions: { + method: "POST", + params: { + apps: { + mapTo: "data", + required: true, + type: "string[]" + }, + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps" + }, + addProtectedBranchRequiredSignatures: { + headers: { + accept: "application/vnd.github.zzzax-preview+json" + }, + method: "POST", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures" + }, + addProtectedBranchRequiredStatusChecksContexts: { + method: "POST", + params: { + branch: { + required: true, + type: "string" + }, + contexts: { + mapTo: "data", + required: true, + type: "string[]" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts" + }, + addProtectedBranchTeamRestrictions: { + method: "POST", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" }, teams: { - addMember: { - deprecated: - "octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)", - method: "PUT", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/members/:username", - }, - addMemberLegacy: { - deprecated: - "octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy", - method: "PUT", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/members/:username", - }, - addOrUpdateMembership: { - deprecated: - "octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)", - method: "PUT", - params: { - role: { - enum: ["member", "maintainer"], - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/memberships/:username", - }, - addOrUpdateMembershipInOrg: { - method: "PUT", - params: { - org: { - required: true, - type: "string", - }, - role: { - enum: ["member", "maintainer"], - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/memberships/:username", - }, - addOrUpdateMembershipLegacy: { - deprecated: - "octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy", - method: "PUT", - params: { - role: { - enum: ["member", "maintainer"], - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/memberships/:username", - }, - addOrUpdateProject: { - deprecated: - "octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)", - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "PUT", - params: { - permission: { - enum: ["read", "write", "admin"], - type: "string", - }, - project_id: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects/:project_id", - }, - addOrUpdateProjectInOrg: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "PUT", - params: { - org: { - required: true, - type: "string", - }, - permission: { - enum: ["read", "write", "admin"], - type: "string", - }, - project_id: { - required: true, - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/projects/:project_id", - }, - addOrUpdateProjectLegacy: { - deprecated: - "octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy", - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "PUT", - params: { - permission: { - enum: ["read", "write", "admin"], - type: "string", - }, - project_id: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects/:project_id", - }, - addOrUpdateRepo: { - deprecated: - "octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)", - method: "PUT", - params: { - owner: { - required: true, - type: "string", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos/:owner/:repo", - }, - addOrUpdateRepoInOrg: { - method: "PUT", - params: { - org: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo", - }, - addOrUpdateRepoLegacy: { - deprecated: - "octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy", - method: "PUT", - params: { - owner: { - required: true, - type: "string", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos/:owner/:repo", - }, - checkManagesRepo: { - deprecated: - "octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)", - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos/:owner/:repo", - }, - checkManagesRepoInOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo", - }, - checkManagesRepoLegacy: { - deprecated: - "octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy", - method: "GET", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos/:owner/:repo", - }, - create: { - method: "POST", - params: { - description: { - type: "string", - }, - maintainers: { - type: "string[]", - }, - name: { - required: true, - type: "string", - }, - org: { - required: true, - type: "string", - }, - parent_team_id: { - type: "integer", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - privacy: { - enum: ["secret", "closed"], - type: "string", - }, - repo_names: { - type: "string[]", - }, - }, - url: "/orgs/:org/teams", - }, - createDiscussion: { - deprecated: - "octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)", - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - private: { - type: "boolean", - }, - team_id: { - required: true, - type: "integer", - }, - title: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/discussions", - }, - createDiscussionComment: { - deprecated: - "octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)", - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/comments", - }, - createDiscussionCommentInOrg: { - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments", - }, - createDiscussionCommentLegacy: { - deprecated: - "octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy", - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/comments", - }, - createDiscussionInOrg: { - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - org: { - required: true, - type: "string", - }, - private: { - type: "boolean", - }, - team_slug: { - required: true, - type: "string", - }, - title: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/discussions", - }, - createDiscussionLegacy: { - deprecated: - "octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy", - method: "POST", - params: { - body: { - required: true, - type: "string", - }, - private: { - type: "boolean", - }, - team_id: { - required: true, - type: "integer", - }, - title: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/discussions", - }, - delete: { - deprecated: - "octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)", - method: "DELETE", - params: { - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id", - }, - deleteDiscussion: { - deprecated: - "octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)", - method: "DELETE", - params: { - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number", - }, - deleteDiscussionComment: { - deprecated: - "octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)", - method: "DELETE", - params: { - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number", - }, - deleteDiscussionCommentInOrg: { - method: "DELETE", - params: { - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number", - }, - deleteDiscussionCommentLegacy: { - deprecated: - "octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy", - method: "DELETE", - params: { - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number", - }, - deleteDiscussionInOrg: { - method: "DELETE", - params: { - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number", - }, - deleteDiscussionLegacy: { - deprecated: - "octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy", - method: "DELETE", - params: { - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number", - }, - deleteInOrg: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug", - }, - deleteLegacy: { - deprecated: - "octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy", - method: "DELETE", - params: { - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id", - }, - get: { - deprecated: - "octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)", - method: "GET", - params: { - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id", - }, - getByName: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug", - }, - getDiscussion: { - deprecated: - "octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)", - method: "GET", - params: { - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number", - }, - getDiscussionComment: { - deprecated: - "octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)", - method: "GET", - params: { - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number", - }, - getDiscussionCommentInOrg: { - method: "GET", - params: { - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number", - }, - getDiscussionCommentLegacy: { - deprecated: - "octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy", - method: "GET", - params: { - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number", - }, - getDiscussionInOrg: { - method: "GET", - params: { - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number", - }, - getDiscussionLegacy: { - deprecated: - "octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy", - method: "GET", - params: { - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number", - }, - getLegacy: { - deprecated: - "octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy", - method: "GET", - params: { - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id", - }, - getMember: { - deprecated: - "octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)", - method: "GET", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/members/:username", - }, - getMemberLegacy: { - deprecated: - "octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy", - method: "GET", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/members/:username", - }, - getMembership: { - deprecated: - "octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)", - method: "GET", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/memberships/:username", - }, - getMembershipInOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/memberships/:username", - }, - getMembershipLegacy: { - deprecated: - "octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy", - method: "GET", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/memberships/:username", - }, - list: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/orgs/:org/teams", - }, - listChild: { - deprecated: - "octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/teams", - }, - listChildInOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/teams", - }, - listChildLegacy: { - deprecated: - "octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/teams", - }, - listDiscussionComments: { - deprecated: - "octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)", - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/comments", - }, - listDiscussionCommentsInOrg: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments", - }, - listDiscussionCommentsLegacy: { - deprecated: - "octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy", - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number/comments", - }, - listDiscussions: { - deprecated: - "octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)", - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions", - }, - listDiscussionsInOrg: { - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/discussions", - }, - listDiscussionsLegacy: { - deprecated: - "octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy", - method: "GET", - params: { - direction: { - enum: ["asc", "desc"], - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/discussions", - }, - listForAuthenticatedUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/teams", - }, - listMembers: { - deprecated: - "octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - role: { - enum: ["member", "maintainer", "all"], - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/members", - }, - listMembersInOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - role: { - enum: ["member", "maintainer", "all"], - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/members", - }, - listMembersLegacy: { - deprecated: - "octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - role: { - enum: ["member", "maintainer", "all"], - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/members", - }, - listPendingInvitations: { - deprecated: - "octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/invitations", - }, - listPendingInvitationsInOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/invitations", - }, - listPendingInvitationsLegacy: { - deprecated: - "octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/invitations", - }, - listProjects: { - deprecated: - "octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)", - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects", - }, - listProjectsInOrg: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/projects", - }, - listProjectsLegacy: { - deprecated: - "octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy", - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects", - }, - listRepos: { - deprecated: - "octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos", - }, - listReposInOrg: { - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/repos", - }, - listReposLegacy: { - deprecated: - "octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy", - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos", - }, - removeMember: { - deprecated: - "octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)", - method: "DELETE", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/members/:username", - }, - removeMemberLegacy: { - deprecated: - "octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy", - method: "DELETE", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/members/:username", - }, - removeMembership: { - deprecated: - "octokit.teams.removeMembership() has been renamed to octokit.teams.removeMembershipLegacy() (2020-01-16)", - method: "DELETE", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/memberships/:username", - }, - removeMembershipInOrg: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/memberships/:username", - }, - removeMembershipLegacy: { - deprecated: - "octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy", - method: "DELETE", - params: { - team_id: { - required: true, - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/teams/:team_id/memberships/:username", - }, - removeProject: { - deprecated: - "octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)", - method: "DELETE", - params: { - project_id: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects/:project_id", - }, - removeProjectInOrg: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - project_id: { - required: true, - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/projects/:project_id", - }, - removeProjectLegacy: { - deprecated: - "octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy", - method: "DELETE", - params: { - project_id: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects/:project_id", - }, - removeRepo: { - deprecated: - "octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)", - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos/:owner/:repo", - }, - removeRepoInOrg: { - method: "DELETE", - params: { - org: { - required: true, - type: "string", - }, - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo", - }, - removeRepoLegacy: { - deprecated: - "octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy", - method: "DELETE", - params: { - owner: { - required: true, - type: "string", - }, - repo: { - required: true, - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/repos/:owner/:repo", - }, - reviewProject: { - deprecated: - "octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)", - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - project_id: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects/:project_id", - }, - reviewProjectInOrg: { - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - org: { - required: true, - type: "string", - }, - project_id: { - required: true, - type: "integer", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/projects/:project_id", - }, - reviewProjectLegacy: { - deprecated: - "octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy", - headers: { - accept: "application/vnd.github.inertia-preview+json", - }, - method: "GET", - params: { - project_id: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id/projects/:project_id", - }, - update: { - deprecated: - "octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)", - method: "PATCH", - params: { - description: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - parent_team_id: { - type: "integer", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - privacy: { - enum: ["secret", "closed"], - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id", - }, - updateDiscussion: { - deprecated: - "octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)", - method: "PATCH", - params: { - body: { - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - title: { - type: "string", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number", - }, - updateDiscussionComment: { - deprecated: - "octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)", - method: "PATCH", - params: { - body: { - required: true, - type: "string", - }, - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number", - }, - updateDiscussionCommentInOrg: { - method: "PATCH", - params: { - body: { - required: true, - type: "string", - }, - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: - "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number", - }, - updateDiscussionCommentLegacy: { - deprecated: - "octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy", - method: "PATCH", - params: { - body: { - required: true, - type: "string", - }, - comment_number: { - required: true, - type: "integer", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: - "/teams/:team_id/discussions/:discussion_number/comments/:comment_number", - }, - updateDiscussionInOrg: { - method: "PATCH", - params: { - body: { - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - org: { - required: true, - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - title: { - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number", - }, - updateDiscussionLegacy: { - deprecated: - "octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy", - method: "PATCH", - params: { - body: { - type: "string", - }, - discussion_number: { - required: true, - type: "integer", - }, - team_id: { - required: true, - type: "integer", - }, - title: { - type: "string", - }, - }, - url: "/teams/:team_id/discussions/:discussion_number", - }, - updateInOrg: { - method: "PATCH", - params: { - description: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - org: { - required: true, - type: "string", - }, - parent_team_id: { - type: "integer", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - privacy: { - enum: ["secret", "closed"], - type: "string", - }, - team_slug: { - required: true, - type: "string", - }, - }, - url: "/orgs/:org/teams/:team_slug", - }, - updateLegacy: { - deprecated: - "octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy", - method: "PATCH", - params: { - description: { - type: "string", - }, - name: { - required: true, - type: "string", - }, - parent_team_id: { - type: "integer", - }, - permission: { - enum: ["pull", "push", "admin"], - type: "string", - }, - privacy: { - enum: ["secret", "closed"], - type: "string", - }, - team_id: { - required: true, - type: "integer", - }, - }, - url: "/teams/:team_id", - }, + mapTo: "data", + required: true, + type: "string[]" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams" + }, + addProtectedBranchUserRestrictions: { + method: "POST", + params: { + branch: { + required: true, + type: "string" }, - users: { - addEmails: { - method: "POST", - params: { - emails: { - required: true, - type: "string[]", - }, - }, - url: "/user/emails", - }, - block: { - method: "PUT", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/user/blocks/:username", - }, - checkBlocked: { - method: "GET", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/user/blocks/:username", - }, - checkFollowing: { - method: "GET", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/user/following/:username", - }, - checkFollowingForUser: { - method: "GET", - params: { - target_user: { - required: true, - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/following/:target_user", - }, - createGpgKey: { - method: "POST", - params: { - armored_public_key: { - type: "string", - }, - }, - url: "/user/gpg_keys", - }, - createPublicKey: { - method: "POST", - params: { - key: { - type: "string", - }, - title: { - type: "string", - }, - }, - url: "/user/keys", - }, - deleteEmails: { - method: "DELETE", - params: { - emails: { - required: true, - type: "string[]", - }, - }, - url: "/user/emails", - }, - deleteGpgKey: { - method: "DELETE", - params: { - gpg_key_id: { - required: true, - type: "integer", - }, - }, - url: "/user/gpg_keys/:gpg_key_id", - }, - deletePublicKey: { - method: "DELETE", - params: { - key_id: { - required: true, - type: "integer", - }, - }, - url: "/user/keys/:key_id", - }, - follow: { - method: "PUT", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/user/following/:username", - }, - getAuthenticated: { - method: "GET", - params: {}, - url: "/user", - }, - getByUsername: { - method: "GET", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username", - }, - getContextForUser: { - method: "GET", - params: { - subject_id: { - type: "string", - }, - subject_type: { - enum: ["organization", "repository", "issue", "pull_request"], - type: "string", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/hovercard", - }, - getGpgKey: { - method: "GET", - params: { - gpg_key_id: { - required: true, - type: "integer", - }, - }, - url: "/user/gpg_keys/:gpg_key_id", - }, - getPublicKey: { - method: "GET", - params: { - key_id: { - required: true, - type: "integer", - }, - }, - url: "/user/keys/:key_id", - }, - list: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - since: { - type: "string", - }, - }, - url: "/users", - }, - listBlocked: { - method: "GET", - params: {}, - url: "/user/blocks", - }, - listEmails: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/emails", - }, - listFollowersForAuthenticatedUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/followers", - }, - listFollowersForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/followers", - }, - listFollowingForAuthenticatedUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/following", - }, - listFollowingForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/following", - }, - listGpgKeys: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/gpg_keys", - }, - listGpgKeysForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/gpg_keys", - }, - listPublicEmails: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/public_emails", - }, - listPublicKeys: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - }, - url: "/user/keys", - }, - listPublicKeysForUser: { - method: "GET", - params: { - page: { - type: "integer", - }, - per_page: { - type: "integer", - }, - username: { - required: true, - type: "string", - }, - }, - url: "/users/:username/keys", - }, - togglePrimaryEmailVisibility: { - method: "PATCH", - params: { - email: { - required: true, - type: "string", - }, - visibility: { - required: true, - type: "string", - }, - }, - url: "/user/email/visibility", - }, - unblock: { - method: "DELETE", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/user/blocks/:username", - }, - unfollow: { - method: "DELETE", - params: { - username: { - required: true, - type: "string", - }, - }, - url: "/user/following/:username", - }, - updateAuthenticated: { - method: "PATCH", - params: { - bio: { - type: "string", - }, - blog: { - type: "string", - }, - company: { - type: "string", - }, - email: { - type: "string", - }, - hireable: { - type: "boolean", - }, - location: { - type: "string", - }, - name: { - type: "string", - }, - }, - url: "/user", - }, + owner: { + required: true, + type: "string" }, - }; - - const VERSION = "2.4.0"; - - function registerEndpoints(octokit, routes) { - Object.keys(routes).forEach((namespaceName) => { - if (!octokit[namespaceName]) { - octokit[namespaceName] = {}; - } - - Object.keys(routes[namespaceName]).forEach((apiName) => { - const apiOptions = routes[namespaceName][apiName]; - const endpointDefaults = ["method", "url", "headers"].reduce( - (map, key) => { - if (typeof apiOptions[key] !== "undefined") { - map[key] = apiOptions[key]; - } - - return map; - }, - {} - ); - endpointDefaults.request = { - validate: apiOptions.params, - }; - let request = octokit.request.defaults(endpointDefaults); // patch request & endpoint methods to support deprecated parameters. - // Not the most elegant solution, but we don’t want to move deprecation - // logic into octokit/endpoint.js as it’s out of scope - - const hasDeprecatedParam = Object.keys( - apiOptions.params || {} - ).find((key) => apiOptions.params[key].deprecated); - - if (hasDeprecatedParam) { - const patch = patchForDeprecation.bind(null, octokit, apiOptions); - request = patch( - octokit.request.defaults(endpointDefaults), - `.${namespaceName}.${apiName}()` - ); - request.endpoint = patch( - request.endpoint, - `.${namespaceName}.${apiName}.endpoint()` - ); - request.endpoint.merge = patch( - request.endpoint.merge, - `.${namespaceName}.${apiName}.endpoint.merge()` - ); - } - - if (apiOptions.deprecated) { - octokit[namespaceName][apiName] = Object.assign( - function deprecatedEndpointMethod() { - octokit.log.warn( - new deprecation.Deprecation( - `[@octokit/rest] ${apiOptions.deprecated}` - ) - ); - octokit[namespaceName][apiName] = request; - return request.apply(null, arguments); - }, - request - ); - return; - } - - octokit[namespaceName][apiName] = request; - }); - }); - } - - function patchForDeprecation(octokit, apiOptions, method, methodName) { - const patchedMethod = (options) => { - options = Object.assign({}, options); - Object.keys(options).forEach((key) => { - if (apiOptions.params[key] && apiOptions.params[key].deprecated) { - const aliasKey = apiOptions.params[key].alias; - octokit.log.warn( - new deprecation.Deprecation( - `[@octokit/rest] "${key}" parameter is deprecated for "${methodName}". Use "${aliasKey}" instead` - ) - ); - - if (!(aliasKey in options)) { - options[aliasKey] = options[key]; - } - - delete options[key]; - } - }); - return method(options); - }; - - Object.keys(method).forEach((key) => { - patchedMethod[key] = method[key]; - }); - return patchedMethod; - } - - /** - * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary - * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is - * done, we will remove the registerEndpoints methods and return the methods - * directly as with the other plugins. At that point we will also remove the - * legacy workarounds and deprecations. - * - * See the plan at - * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 - */ - - function restEndpointMethods(octokit) { - // @ts-ignore - octokit.registerEndpoints = registerEndpoints.bind(null, octokit); - registerEndpoints(octokit, endpointsByScope); // Aliasing scopes for backward compatibility - // See https://github.com/octokit/rest.js/pull/1134 - - [ - ["gitdata", "git"], - ["authorization", "oauthAuthorizations"], - ["pullRequests", "pulls"], - ].forEach(([deprecatedScope, scope]) => { - Object.defineProperty(octokit, deprecatedScope, { - get() { - octokit.log.warn( - // @ts-ignore - new deprecation.Deprecation( - `[@octokit/plugin-rest-endpoint-methods] "octokit.${deprecatedScope}.*" methods are deprecated, use "octokit.${scope}.*" instead` - ) - ); // @ts-ignore - - return octokit[scope]; - }, - }); - }); - return {}; - } - restEndpointMethods.VERSION = VERSION; - - exports.restEndpointMethods = restEndpointMethods; - //# sourceMappingURL=index.js.map - - /***/ - }, - - /***/ 850: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = paginationMethodsPlugin; - - function paginationMethodsPlugin(octokit) { - octokit.getFirstPage = __webpack_require__(3777).bind(null, octokit); - octokit.getLastPage = __webpack_require__(3649).bind(null, octokit); - octokit.getNextPage = __webpack_require__(6550).bind(null, octokit); - octokit.getPreviousPage = __webpack_require__(4563).bind(null, octokit); - octokit.hasFirstPage = __webpack_require__(1536); - octokit.hasLastPage = __webpack_require__(3336); - octokit.hasNextPage = __webpack_require__(3929); - octokit.hasPreviousPage = __webpack_require__(3558); - } - - /***/ - }, - - /***/ 858: /***/ function (module) { - module.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: {} } }, - }, + repo: { + required: true, + type: "string" }, - shapes: { S8: { type: "map", key: {}, value: {} } }, - }; - - /***/ + users: { + mapTo: "data", + required: true, + type: "string[]" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users" + }, + checkCollaborator: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/collaborators/:username" + }, + checkVulnerabilityAlerts: { + headers: { + accept: "application/vnd.github.dorian-preview+json" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/vulnerability-alerts" }, - - /***/ 872: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - /** - * Represents credentials from the environment. - * - * By default, this class will look for the matching environment variables - * prefixed by a given {envPrefix}. The un-prefixed environment variable names - * for each credential value is listed below: - * - * ```javascript - * accessKeyId: ACCESS_KEY_ID - * secretAccessKey: SECRET_ACCESS_KEY - * sessionToken: SESSION_TOKEN - * ``` - * - * With the default prefix of 'AWS', the environment variables would be: - * - * AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN - * - * @!attribute envPrefix - * @readonly - * @return [String] the prefix for the environment variable names excluding - * the separating underscore ('_'). - */ - AWS.EnvironmentCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new EnvironmentCredentials class with a given variable - * prefix {envPrefix}. For example, to load credentials using the 'AWS' - * prefix: - * - * ```javascript - * var creds = new AWS.EnvironmentCredentials('AWS'); - * creds.accessKeyId == 'AKID' // from AWS_ACCESS_KEY_ID env var - * ``` - * - * @param envPrefix [String] the prefix to use (e.g., 'AWS') for environment - * variables. Do not include the separating underscore. - */ - constructor: function EnvironmentCredentials(envPrefix) { - AWS.Credentials.call(this); - this.envPrefix = envPrefix; - this.get(function () {}); - }, - - /** - * Loads credentials from the environment using the prefixed - * environment variables. - * - * @callback callback function(err) - * Called after the (prefixed) ACCESS_KEY_ID, SECRET_ACCESS_KEY, and - * SESSION_TOKEN environment variables are read. When this callback is - * called with no error, it means that the credentials information has - * been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - if (!callback) callback = AWS.util.fn.callback; - - if (!process || !process.env) { - callback( - AWS.util.error( - new Error("No process info or environment variables available"), - { code: "EnvironmentCredentialsProviderFailure" } - ) - ); - return; - } - - var keys = ["ACCESS_KEY_ID", "SECRET_ACCESS_KEY", "SESSION_TOKEN"]; - var values = []; - - for (var i = 0; i < keys.length; i++) { - var prefix = ""; - if (this.envPrefix) prefix = this.envPrefix + "_"; - values[i] = process.env[prefix + keys[i]]; - if (!values[i] && keys[i] !== "SESSION_TOKEN") { - callback( - AWS.util.error( - new Error("Variable " + prefix + keys[i] + " not set."), - { code: "EnvironmentCredentialsProviderFailure" } - ) - ); - return; - } - } - - this.expired = false; - AWS.Credentials.apply(this, values); - callback(); + compareCommits: { + method: "GET", + params: { + base: { + required: true, + type: "string" + }, + head: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/compare/:base...:head" + }, + createCommitComment: { + method: "POST", + params: { + body: { + required: true, + type: "string" }, - }); - - /***/ - }, - - /***/ 877: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["cloud9"] = {}; - AWS.Cloud9 = Service.defineService("cloud9", ["2017-09-23"]); - Object.defineProperty(apiLoader.services["cloud9"], "2017-09-23", { - get: function get() { - var model = __webpack_require__(8656); - model.paginators = __webpack_require__(590).pagination; - return model; + commit_sha: { + required: true, + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Cloud9; - - /***/ - }, - - /***/ 887: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-10-07", - endpointPrefix: "events", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon EventBridge", - serviceId: "EventBridge", - signatureVersion: "v4", - targetPrefix: "AWSEvents", - uid: "eventbridge-2015-10-07", - }, - operations: { - ActivateEventSource: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - }, - CreateEventBus: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventSourceName: {}, Tags: { shape: "S5" } }, - }, - 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: {} }, - }, - }, - 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" }, - }, - }, - }, - 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: {} } }, - }, - DescribeRule: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, - }, - output: { - type: "structure", - members: { - Name: {}, - Arn: {}, - EventPattern: {}, - ScheduleExpression: {}, - State: {}, - Description: {}, - RoleArn: {}, - ManagedBy: {}, - EventBusName: {}, - }, - }, - }, - DisableRule: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, - }, - }, - EnableRule: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, - }, - }, - 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: {}, - }, - }, - }, - 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: "S5" } } }, - }, - ListTargetsByRule: { - input: { - type: "structure", - required: ["Rule"], - members: { - Rule: {}, - EventBusName: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Targets: { shape: "S20" }, NextToken: {} }, - }, - }, - PutEvents: { - input: { - type: "structure", - required: ["Entries"], - members: { - Entries: { - type: "list", - member: { - type: "structure", - members: { - Time: { type: "timestamp" }, - Source: {}, - Resources: { shape: "S2y" }, - DetailType: {}, - Detail: {}, - EventBusName: {}, - }, - }, - }, - }, - }, - 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: "S2y" }, - DetailType: {}, - Detail: {}, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - FailedEntryCount: { type: "integer" }, - Entries: { - type: "list", - member: { - type: "structure", - members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - }, - PutPermission: { - input: { - type: "structure", - required: ["Action", "Principal", "StatementId"], - members: { - EventBusName: {}, - Action: {}, - Principal: {}, - StatementId: {}, - Condition: { - type: "structure", - required: ["Type", "Key", "Value"], - members: { Type: {}, Key: {}, Value: {} }, - }, - }, - }, - }, - PutRule: { - input: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - ScheduleExpression: {}, - EventPattern: {}, - State: {}, - Description: {}, - RoleArn: {}, - Tags: { shape: "S5" }, - EventBusName: {}, - }, - }, - output: { type: "structure", members: { RuleArn: {} } }, - }, - PutTargets: { - input: { - type: "structure", - required: ["Rule", "Targets"], - members: { - Rule: {}, - EventBusName: {}, - Targets: { shape: "S20" }, - }, - }, - output: { - type: "structure", - members: { - FailedEntryCount: { type: "integer" }, - FailedEntries: { - type: "list", - member: { - type: "structure", - members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - }, - RemovePermission: { - input: { - type: "structure", - required: ["StatementId"], - members: { StatementId: {}, 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: {} }, - }, - }, - }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S5" } }, - }, - 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: {} }, - }, + line: { + type: "integer" }, - shapes: { - S5: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S20: { - 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: "S2m" }, - SecurityGroups: { shape: "S2m" }, - AssignPublicIp: {}, - }, - }, - }, - }, - PlatformVersion: {}, - Group: {}, - }, - }, - 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: {} }, - }, - }, - }, - }, - S2m: { type: "list", member: {} }, - S2y: { type: "list", member: {} }, + owner: { + required: true, + type: "string" }, - }; - - /***/ - }, - - /***/ 889: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.SQS.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("build", this.buildEndpoint); - - if (request.service.config.computeChecksums) { - if (request.operation === "sendMessage") { - request.addListener( - "extractData", - this.verifySendMessageChecksum - ); - } else if (request.operation === "sendMessageBatch") { - request.addListener( - "extractData", - this.verifySendMessageBatchChecksum - ); - } else if (request.operation === "receiveMessage") { - request.addListener( - "extractData", - this.verifyReceiveMessageChecksum - ); - } - } + path: { + type: "string" }, - - /** - * @api private - */ - verifySendMessageChecksum: function verifySendMessageChecksum( - response - ) { - if (!response.data) return; - - var md5 = response.data.MD5OfMessageBody; - var body = this.params.MessageBody; - var calculatedMd5 = this.service.calculateChecksum(body); - if (calculatedMd5 !== md5) { - var msg = - 'Got "' + - response.data.MD5OfMessageBody + - '", expecting "' + - calculatedMd5 + - '".'; - this.service.throwInvalidChecksumError( - response, - [response.data.MessageId], - msg - ); - } + position: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + sha: { + alias: "commit_sha", + deprecated: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:commit_sha/comments" + }, + createDeployment: { + method: "POST", + params: { + auto_merge: { + type: "boolean" }, - - /** - * @api private - */ - verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum( - response - ) { - if (!response.data) return; - - var service = this.service; - var entries = {}; - var errors = []; - var messageIds = []; - AWS.util.arrayEach(response.data.Successful, function (entry) { - entries[entry.Id] = entry; - }); - AWS.util.arrayEach(this.params.Entries, function (entry) { - if (entries[entry.Id]) { - var md5 = entries[entry.Id].MD5OfMessageBody; - var body = entry.MessageBody; - if (!service.isChecksumValid(md5, body)) { - errors.push(entry.Id); - messageIds.push(entries[entry.Id].MessageId); - } - } - }); - - if (errors.length > 0) { - service.throwInvalidChecksumError( - response, - messageIds, - "Invalid messages: " + errors.join(", ") - ); - } + description: { + type: "string" + }, + environment: { + type: "string" }, - - /** - * @api private - */ - verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum( - response - ) { - if (!response.data) return; - - var service = this.service; - var messageIds = []; - AWS.util.arrayEach(response.data.Messages, function (message) { - var md5 = message.MD5OfBody; - var body = message.Body; - if (!service.isChecksumValid(md5, body)) { - messageIds.push(message.MessageId); - } - }); - - if (messageIds.length > 0) { - service.throwInvalidChecksumError( - response, - messageIds, - "Invalid messages: " + messageIds.join(", ") - ); - } + owner: { + required: true, + type: "string" }, - - /** - * @api private - */ - throwInvalidChecksumError: function throwInvalidChecksumError( - response, - ids, - message - ) { - response.error = AWS.util.error(new Error(), { - retryable: true, - code: "InvalidChecksum", - messageIds: ids, - message: - response.request.operation + - " returned an invalid MD5 response. " + - message, - }); + payload: { + type: "string" }, - - /** - * @api private - */ - isChecksumValid: function isChecksumValid(checksum, data) { - return this.calculateChecksum(data) === checksum; + production_environment: { + type: "boolean" }, - - /** - * @api private - */ - calculateChecksum: function calculateChecksum(data) { - return AWS.util.crypto.md5(data, "hex"); + ref: { + required: true, + type: "string" }, - - /** - * @api private - */ - buildEndpoint: function buildEndpoint(request) { - var url = request.httpRequest.params.QueueUrl; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - - // signature version 4 requires the region name to be set, - // sqs queue urls contain the region name - var matches = request.httpRequest.endpoint.host.match( - /^sqs\.(.+?)\./ - ); - if (matches) request.httpRequest.region = matches[1]; - } + repo: { + required: true, + type: "string" }, - }); - - /***/ - }, - - /***/ 890: /***/ function (module) { - module.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" } }, - }, - }, - }, - }, - }, - }, - }, - }, + required_contexts: { + type: "string[]" }, - shapes: {}, - }; - - /***/ + task: { + type: "string" + }, + transient_environment: { + type: "boolean" + } + }, + url: "/repos/:owner/:repo/deployments" }, - - /***/ 904: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var AWS = __webpack_require__(395); - - /** - * Prepend prefix defined by API model to endpoint that's already - * constructed. This feature does not apply to operations using - * endpoint discovery and can be disabled. - * @api private - */ - function populateHostPrefix(request) { - var enabled = request.service.config.hostPrefixEnabled; - if (!enabled) return request; - var operationModel = request.service.api.operations[request.operation]; - //don't marshal host prefix when operation has endpoint discovery traits - if (hasEndpointDiscover(request)) return request; - if (operationModel.endpoint && operationModel.endpoint.hostPrefix) { - var hostPrefixNotation = operationModel.endpoint.hostPrefix; - var hostPrefix = expandHostPrefix( - hostPrefixNotation, - request.params, - operationModel.input - ); - prependEndpointPrefix(request.httpRequest.endpoint, hostPrefix); - validateHostname(request.httpRequest.endpoint.hostname); + createDeploymentStatus: { + method: "POST", + params: { + auto_inactive: { + type: "boolean" + }, + deployment_id: { + required: true, + type: "integer" + }, + description: { + type: "string" + }, + environment: { + enum: ["production", "staging", "qa"], + type: "string" + }, + environment_url: { + type: "string" + }, + log_url: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + state: { + enum: ["error", "failure", "inactive", "in_progress", "queued", "pending", "success"], + required: true, + type: "string" + }, + target_url: { + type: "string" } - return request; - } - - /** - * @api private - */ - function hasEndpointDiscover(request) { - var api = request.service.api; - var operationModel = api.operations[request.operation]; - var isEndpointOperation = - api.endpointOperation && - api.endpointOperation === util.string.lowerFirst(operationModel.name); - return ( - operationModel.endpointDiscoveryRequired !== "NULL" || - isEndpointOperation === true - ); - } - - /** - * @api private - */ - function expandHostPrefix(hostPrefixNotation, params, shape) { - util.each(shape.members, function (name, member) { - if (member.hostLabel === true) { - if (typeof params[name] !== "string" || params[name] === "") { - throw util.error(new Error(), { - message: "Parameter " + name + " should be a non-empty string.", - code: "InvalidParameter", - }); - } - var regex = new RegExp("\\{" + name + "\\}", "g"); - hostPrefixNotation = hostPrefixNotation.replace( - regex, - params[name] - ); - } - }); - return hostPrefixNotation; - } - - /** - * @api private - */ - function prependEndpointPrefix(endpoint, prefix) { - if (endpoint.host) { - endpoint.host = prefix + endpoint.host; + }, + url: "/repos/:owner/:repo/deployments/:deployment_id/statuses" + }, + createDispatchEvent: { + method: "POST", + params: { + client_payload: { + type: "object" + }, + event_type: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" } - if (endpoint.hostname) { - endpoint.hostname = prefix + endpoint.hostname; + }, + url: "/repos/:owner/:repo/dispatches" + }, + createFile: { + deprecated: "octokit.repos.createFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)", + method: "PUT", + params: { + author: { + type: "object" + }, + "author.email": { + required: true, + type: "string" + }, + "author.name": { + required: true, + type: "string" + }, + branch: { + type: "string" + }, + committer: { + type: "object" + }, + "committer.email": { + required: true, + type: "string" + }, + "committer.name": { + required: true, + type: "string" + }, + content: { + required: true, + type: "string" + }, + message: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + path: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + type: "string" } - } - - /** - * @api private - */ - function validateHostname(hostname) { - var labels = hostname.split("."); - //Reference: https://tools.ietf.org/html/rfc1123#section-2 - var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/; - util.arrayEach(labels, function (label) { - if (!label.length || label.length < 1 || label.length > 63) { - throw util.error(new Error(), { - code: "ValidationError", - message: - "Hostname label length should be between 1 to 63 characters, inclusive.", - }); - } - if (!hostPattern.test(label)) { - throw AWS.util.error(new Error(), { - code: "ValidationError", - message: label + " is not hostname compatible.", - }); - } - }); - } - - module.exports = { - populateHostPrefix: populateHostPrefix, - }; - - /***/ + }, + url: "/repos/:owner/:repo/contents/:path" }, - - /***/ 910: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["storagegateway"] = {}; - AWS.StorageGateway = Service.defineService("storagegateway", [ - "2013-06-30", - ]); - Object.defineProperty( - apiLoader.services["storagegateway"], - "2013-06-30", - { - get: function get() { - var model = __webpack_require__(4540); - model.paginators = __webpack_require__(1009).pagination; - return model; - }, - enumerable: true, - configurable: true, + createForAuthenticatedUser: { + method: "POST", + params: { + allow_merge_commit: { + type: "boolean" + }, + allow_rebase_merge: { + type: "boolean" + }, + allow_squash_merge: { + type: "boolean" + }, + auto_init: { + type: "boolean" + }, + delete_branch_on_merge: { + type: "boolean" + }, + description: { + type: "string" + }, + gitignore_template: { + type: "string" + }, + has_issues: { + type: "boolean" + }, + has_projects: { + type: "boolean" + }, + has_wiki: { + type: "boolean" + }, + homepage: { + type: "string" + }, + is_template: { + type: "boolean" + }, + license_template: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + private: { + type: "boolean" + }, + team_id: { + type: "integer" + }, + visibility: { + enum: ["public", "private", "visibility", "internal"], + type: "string" } - ); - - module.exports = AWS.StorageGateway; - - /***/ + }, + url: "/user/repos" }, - - /***/ 912: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - ClusterActive: { - delay: 30, - operation: "DescribeCluster", - maxAttempts: 40, - acceptors: [ - { - expected: "DELETING", - matcher: "path", - state: "failure", - argument: "cluster.status", - }, - { - expected: "FAILED", - matcher: "path", - state: "failure", - argument: "cluster.status", - }, - { - expected: "ACTIVE", - matcher: "path", - state: "success", - argument: "cluster.status", - }, - ], - }, - ClusterDeleted: { - delay: 30, - operation: "DescribeCluster", - maxAttempts: 40, - acceptors: [ - { - expected: "ACTIVE", - matcher: "path", - state: "failure", - argument: "cluster.status", - }, - { - expected: "CREATING", - matcher: "path", - state: "failure", - argument: "cluster.status", - }, - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "success", - }, - ], - }, - NodegroupActive: { - delay: 30, - operation: "DescribeNodegroup", - maxAttempts: 80, - acceptors: [ - { - expected: "CREATE_FAILED", - matcher: "path", - state: "failure", - argument: "nodegroup.status", - }, - { - expected: "ACTIVE", - matcher: "path", - state: "success", - argument: "nodegroup.status", - }, - ], - }, - NodegroupDeleted: { - delay: 30, - operation: "DescribeNodegroup", - maxAttempts: 40, - acceptors: [ - { - expected: "DELETE_FAILED", - matcher: "path", - state: "failure", - argument: "nodegroup.status", - }, - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "success", - }, - ], - }, + createFork: { + method: "POST", + params: { + organization: { + type: "string" }, - }; - - /***/ + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/forks" }, - - /***/ 918: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-06-27", - endpointPrefix: "textract", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon Textract", - serviceId: "Textract", - signatureVersion: "v4", - targetPrefix: "Textract", - uid: "textract-2018-06-27", - }, - operations: { - AnalyzeDocument: { - input: { - type: "structure", - required: ["Document", "FeatureTypes"], - members: { - Document: { shape: "S2" }, - FeatureTypes: { shape: "S8" }, - HumanLoopConfig: { - type: "structure", - required: ["HumanLoopName", "FlowDefinitionArn"], - members: { - HumanLoopName: {}, - FlowDefinitionArn: {}, - DataAttributes: { - type: "structure", - members: { - ContentClassifiers: { type: "list", member: {} }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - DocumentMetadata: { shape: "Sh" }, - Blocks: { shape: "Sj" }, - HumanLoopActivationOutput: { - type: "structure", - members: { - HumanLoopArn: {}, - HumanLoopActivationReasons: { type: "list", member: {} }, - HumanLoopActivationConditionsEvaluationResults: { - jsonvalue: true, - }, - }, - }, - AnalyzeDocumentModelVersion: {}, - }, - }, - }, - DetectDocumentText: { - input: { - type: "structure", - required: ["Document"], - members: { Document: { shape: "S2" } }, - }, - output: { - type: "structure", - members: { - DocumentMetadata: { shape: "Sh" }, - Blocks: { shape: "Sj" }, - DetectDocumentTextModelVersion: {}, - }, - }, - }, - GetDocumentAnalysis: { - input: { - type: "structure", - required: ["JobId"], - members: { - JobId: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - DocumentMetadata: { shape: "Sh" }, - JobStatus: {}, - NextToken: {}, - Blocks: { shape: "Sj" }, - Warnings: { shape: "S1e" }, - StatusMessage: {}, - AnalyzeDocumentModelVersion: {}, - }, - }, - }, - GetDocumentTextDetection: { - input: { - type: "structure", - required: ["JobId"], - members: { - JobId: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - DocumentMetadata: { shape: "Sh" }, - JobStatus: {}, - NextToken: {}, - Blocks: { shape: "Sj" }, - Warnings: { shape: "S1e" }, - StatusMessage: {}, - DetectDocumentTextModelVersion: {}, - }, - }, - }, - StartDocumentAnalysis: { - input: { - type: "structure", - required: ["DocumentLocation", "FeatureTypes"], - members: { - DocumentLocation: { shape: "S1m" }, - FeatureTypes: { shape: "S8" }, - ClientRequestToken: {}, - JobTag: {}, - NotificationChannel: { shape: "S1p" }, - }, - }, - output: { type: "structure", members: { JobId: {} } }, - }, - StartDocumentTextDetection: { - input: { - type: "structure", - required: ["DocumentLocation"], - members: { - DocumentLocation: { shape: "S1m" }, - ClientRequestToken: {}, - JobTag: {}, - NotificationChannel: { shape: "S1p" }, - }, - }, - output: { type: "structure", members: { JobId: {} } }, - }, + createHook: { + method: "POST", + params: { + active: { + type: "boolean" }, - shapes: { - S2: { - type: "structure", - members: { Bytes: { type: "blob" }, S3Object: { shape: "S4" } }, - }, - S4: { - type: "structure", - members: { Bucket: {}, Name: {}, Version: {} }, - }, - S8: { type: "list", member: {} }, - Sh: { type: "structure", members: { Pages: { type: "integer" } } }, - Sj: { - type: "list", - member: { - type: "structure", - members: { - BlockType: {}, - Confidence: { type: "float" }, - Text: {}, - RowIndex: { type: "integer" }, - ColumnIndex: { type: "integer" }, - RowSpan: { type: "integer" }, - ColumnSpan: { type: "integer" }, - Geometry: { - type: "structure", - members: { - BoundingBox: { - type: "structure", - members: { - Width: { type: "float" }, - Height: { type: "float" }, - Left: { type: "float" }, - Top: { type: "float" }, - }, - }, - Polygon: { - type: "list", - member: { - type: "structure", - members: { X: { type: "float" }, Y: { type: "float" } }, - }, - }, - }, - }, - Id: {}, - Relationships: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Ids: { type: "list", member: {} } }, - }, - }, - EntityTypes: { type: "list", member: {} }, - SelectionStatus: {}, - Page: { type: "integer" }, - }, - }, - }, - S1e: { - type: "list", - member: { - type: "structure", - members: { - ErrorCode: {}, - Pages: { type: "list", member: { type: "integer" } }, - }, - }, - }, - S1m: { type: "structure", members: { S3Object: { shape: "S4" } } }, - S1p: { - type: "structure", - required: ["SNSTopicArn", "RoleArn"], - members: { SNSTopicArn: {}, RoleArn: {} }, - }, + config: { + required: true, + type: "object" }, - }; - - /***/ + "config.content_type": { + type: "string" + }, + "config.insecure_ssl": { + type: "string" + }, + "config.secret": { + type: "string" + }, + "config.url": { + required: true, + type: "string" + }, + events: { + type: "string[]" + }, + name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/hooks" }, - - /***/ 948: /***/ function (module) { - "use strict"; - - /** - * Tries to execute a function and discards any error that occurs. - * @param {Function} fn - Function that might or might not throw an error. - * @returns {?*} Return-value of the function when no error occurred. - */ - module.exports = function (fn) { - try { - return fn(); - } catch (e) {} - }; - - /***/ + createInOrg: { + method: "POST", + params: { + allow_merge_commit: { + type: "boolean" + }, + allow_rebase_merge: { + type: "boolean" + }, + allow_squash_merge: { + type: "boolean" + }, + auto_init: { + type: "boolean" + }, + delete_branch_on_merge: { + type: "boolean" + }, + description: { + type: "string" + }, + gitignore_template: { + type: "string" + }, + has_issues: { + type: "boolean" + }, + has_projects: { + type: "boolean" + }, + has_wiki: { + type: "boolean" + }, + homepage: { + type: "string" + }, + is_template: { + type: "boolean" + }, + license_template: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + org: { + required: true, + type: "string" + }, + private: { + type: "boolean" + }, + team_id: { + type: "integer" + }, + visibility: { + enum: ["public", "private", "visibility", "internal"], + type: "string" + } + }, + url: "/orgs/:org/repos" }, - - /***/ 952: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-03-25", - endpointPrefix: "cloudfront", - globalEndpoint: "cloudfront.amazonaws.com", - protocol: "rest-xml", - serviceAbbreviation: "CloudFront", - serviceFullName: "Amazon CloudFront", - serviceId: "CloudFront", - signatureVersion: "v4", - uid: "cloudfront-2017-03-25", - }, - operations: { - CreateCloudFrontOriginAccessIdentity: { - http: { - requestUri: "/2017-03-25/origin-access-identity/cloudfront", - responseCode: 201, - }, - input: { - type: "structure", - required: ["CloudFrontOriginAccessIdentityConfig"], - members: { - CloudFrontOriginAccessIdentityConfig: { - shape: "S2", - locationName: "CloudFrontOriginAccessIdentityConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - }, - payload: "CloudFrontOriginAccessIdentityConfig", - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentity: { shape: "S5" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentity", - }, - }, - CreateDistribution: { - http: { requestUri: "/2017-03-25/distribution", responseCode: 201 }, - input: { - type: "structure", - required: ["DistributionConfig"], - members: { - DistributionConfig: { - shape: "S7", - locationName: "DistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - }, - payload: "DistributionConfig", - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - CreateDistributionWithTags: { - http: { - requestUri: "/2017-03-25/distribution?WithTags", - responseCode: 201, - }, - input: { - type: "structure", - required: ["DistributionConfigWithTags"], - members: { - DistributionConfigWithTags: { - locationName: "DistributionConfigWithTags", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - type: "structure", - required: ["DistributionConfig", "Tags"], - members: { - DistributionConfig: { shape: "S7" }, - Tags: { shape: "S21" }, - }, - }, - }, - payload: "DistributionConfigWithTags", - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - CreateInvalidation: { - http: { - requestUri: - "/2017-03-25/distribution/{DistributionId}/invalidation", - responseCode: 201, - }, - input: { - type: "structure", - required: ["DistributionId", "InvalidationBatch"], - members: { - DistributionId: { - location: "uri", - locationName: "DistributionId", - }, - InvalidationBatch: { - shape: "S28", - locationName: "InvalidationBatch", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - }, - payload: "InvalidationBatch", - }, - output: { - type: "structure", - members: { - Location: { location: "header", locationName: "Location" }, - Invalidation: { shape: "S2c" }, - }, - payload: "Invalidation", - }, - }, - CreateStreamingDistribution: { - http: { - requestUri: "/2017-03-25/streaming-distribution", - responseCode: 201, - }, - input: { - type: "structure", - required: ["StreamingDistributionConfig"], - members: { - StreamingDistributionConfig: { - shape: "S2e", - locationName: "StreamingDistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - }, - payload: "StreamingDistributionConfig", - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, - CreateStreamingDistributionWithTags: { - http: { - requestUri: "/2017-03-25/streaming-distribution?WithTags", - responseCode: 201, - }, - input: { - type: "structure", - required: ["StreamingDistributionConfigWithTags"], - members: { - StreamingDistributionConfigWithTags: { - locationName: "StreamingDistributionConfigWithTags", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - type: "structure", - required: ["StreamingDistributionConfig", "Tags"], - members: { - StreamingDistributionConfig: { shape: "S2e" }, - Tags: { shape: "S21" }, - }, - }, - }, - payload: "StreamingDistributionConfigWithTags", - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, - DeleteCloudFrontOriginAccessIdentity: { - http: { - method: "DELETE", - requestUri: "/2017-03-25/origin-access-identity/cloudfront/{Id}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Id"], - members: { - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - }, - }, - DeleteDistribution: { - http: { - method: "DELETE", - requestUri: "/2017-03-25/distribution/{Id}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Id"], - members: { - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - }, - }, - DeleteServiceLinkedRole: { - http: { - method: "DELETE", - requestUri: "/2017-03-25/service-linked-role/{RoleName}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["RoleName"], - members: { - RoleName: { location: "uri", locationName: "RoleName" }, - }, - }, - }, - DeleteStreamingDistribution: { - http: { - method: "DELETE", - requestUri: "/2017-03-25/streaming-distribution/{Id}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Id"], - members: { - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - }, - }, - GetCloudFrontOriginAccessIdentity: { - http: { - method: "GET", - requestUri: "/2017-03-25/origin-access-identity/cloudfront/{Id}", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentity: { shape: "S5" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentity", - }, - }, - GetCloudFrontOriginAccessIdentityConfig: { - http: { - method: "GET", - requestUri: - "/2017-03-25/origin-access-identity/cloudfront/{Id}/config", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentityConfig: { shape: "S2" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentityConfig", - }, - }, - GetDistribution: { - http: { - method: "GET", - requestUri: "/2017-03-25/distribution/{Id}", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - GetDistributionConfig: { - http: { - method: "GET", - requestUri: "/2017-03-25/distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - DistributionConfig: { shape: "S7" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "DistributionConfig", - }, - }, - GetInvalidation: { - http: { - method: "GET", - requestUri: - "/2017-03-25/distribution/{DistributionId}/invalidation/{Id}", - }, - input: { - type: "structure", - required: ["DistributionId", "Id"], - members: { - DistributionId: { - location: "uri", - locationName: "DistributionId", - }, - Id: { location: "uri", locationName: "Id" }, - }, - }, - output: { - type: "structure", - members: { Invalidation: { shape: "S2c" } }, - payload: "Invalidation", - }, - }, - GetStreamingDistribution: { - http: { - method: "GET", - requestUri: "/2017-03-25/streaming-distribution/{Id}", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, - GetStreamingDistributionConfig: { - http: { - method: "GET", - requestUri: "/2017-03-25/streaming-distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - StreamingDistributionConfig: { shape: "S2e" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistributionConfig", - }, - }, - ListCloudFrontOriginAccessIdentities: { - http: { - method: "GET", - requestUri: "/2017-03-25/origin-access-identity/cloudfront", - }, - input: { - type: "structure", - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentityList: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "CloudFrontOriginAccessIdentitySummary", - type: "structure", - required: ["Id", "S3CanonicalUserId", "Comment"], - members: { Id: {}, S3CanonicalUserId: {}, Comment: {} }, - }, - }, - }, - }, - }, - payload: "CloudFrontOriginAccessIdentityList", - }, - }, - ListDistributions: { - http: { method: "GET", requestUri: "/2017-03-25/distribution" }, - input: { - type: "structure", - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { DistributionList: { shape: "S3b" } }, - payload: "DistributionList", - }, - }, - ListDistributionsByWebACLId: { - http: { - method: "GET", - requestUri: "/2017-03-25/distributionsByWebACLId/{WebACLId}", - }, - input: { - type: "structure", - required: ["WebACLId"], - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - WebACLId: { location: "uri", locationName: "WebACLId" }, - }, - }, - output: { - type: "structure", - members: { DistributionList: { shape: "S3b" } }, - payload: "DistributionList", - }, - }, - ListInvalidations: { - http: { - method: "GET", - requestUri: - "/2017-03-25/distribution/{DistributionId}/invalidation", - }, - input: { - type: "structure", - required: ["DistributionId"], - members: { - DistributionId: { - location: "uri", - locationName: "DistributionId", - }, - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { - InvalidationList: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "InvalidationSummary", - type: "structure", - required: ["Id", "CreateTime", "Status"], - members: { - Id: {}, - CreateTime: { type: "timestamp" }, - Status: {}, - }, - }, - }, - }, - }, - }, - payload: "InvalidationList", - }, - }, - ListStreamingDistributions: { - http: { - method: "GET", - requestUri: "/2017-03-25/streaming-distribution", - }, - input: { - type: "structure", - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { - StreamingDistributionList: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "StreamingDistributionSummary", - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "S3Origin", - "Aliases", - "TrustedSigners", - "Comment", - "PriceClass", - "Enabled", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - DomainName: {}, - S3Origin: { shape: "S2f" }, - Aliases: { shape: "S8" }, - TrustedSigners: { shape: "Sy" }, - Comment: {}, - PriceClass: {}, - Enabled: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - payload: "StreamingDistributionList", - }, - }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/2017-03-25/tagging" }, - input: { - type: "structure", - required: ["Resource"], - members: { - Resource: { location: "querystring", locationName: "Resource" }, - }, - }, - output: { - type: "structure", - required: ["Tags"], - members: { Tags: { shape: "S21" } }, - payload: "Tags", - }, - }, - TagResource: { - http: { - requestUri: "/2017-03-25/tagging?Operation=Tag", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Resource", "Tags"], - members: { - Resource: { location: "querystring", locationName: "Resource" }, - Tags: { - shape: "S21", - locationName: "Tags", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - }, - payload: "Tags", - }, - }, - UntagResource: { - http: { - requestUri: "/2017-03-25/tagging?Operation=Untag", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Resource", "TagKeys"], - members: { - Resource: { location: "querystring", locationName: "Resource" }, - TagKeys: { - locationName: "TagKeys", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - type: "structure", - members: { - Items: { type: "list", member: { locationName: "Key" } }, - }, - }, - }, - payload: "TagKeys", - }, - }, - UpdateCloudFrontOriginAccessIdentity: { - http: { - method: "PUT", - requestUri: - "/2017-03-25/origin-access-identity/cloudfront/{Id}/config", - }, - input: { - type: "structure", - required: ["CloudFrontOriginAccessIdentityConfig", "Id"], - members: { - CloudFrontOriginAccessIdentityConfig: { - shape: "S2", - locationName: "CloudFrontOriginAccessIdentityConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - payload: "CloudFrontOriginAccessIdentityConfig", - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentity: { shape: "S5" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentity", - }, - }, - UpdateDistribution: { - http: { - method: "PUT", - requestUri: "/2017-03-25/distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["DistributionConfig", "Id"], - members: { - DistributionConfig: { - shape: "S7", - locationName: "DistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - payload: "DistributionConfig", - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - UpdateStreamingDistribution: { - http: { - method: "PUT", - requestUri: "/2017-03-25/streaming-distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["StreamingDistributionConfig", "Id"], - members: { - StreamingDistributionConfig: { - shape: "S2e", - locationName: "StreamingDistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2017-03-25/", - }, - }, - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - payload: "StreamingDistributionConfig", - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, + createOrUpdateFile: { + method: "PUT", + params: { + author: { + type: "object" }, - shapes: { - S2: { - type: "structure", - required: ["CallerReference", "Comment"], - members: { CallerReference: {}, Comment: {} }, - }, - S5: { - type: "structure", - required: ["Id", "S3CanonicalUserId"], - members: { - Id: {}, - S3CanonicalUserId: {}, - CloudFrontOriginAccessIdentityConfig: { shape: "S2" }, - }, - }, - S7: { - type: "structure", - required: [ - "CallerReference", - "Origins", - "DefaultCacheBehavior", - "Comment", - "Enabled", - ], - members: { - CallerReference: {}, - Aliases: { shape: "S8" }, - DefaultRootObject: {}, - Origins: { shape: "Sb" }, - DefaultCacheBehavior: { shape: "Sn" }, - CacheBehaviors: { shape: "S1a" }, - CustomErrorResponses: { shape: "S1d" }, - Comment: {}, - Logging: { - type: "structure", - required: ["Enabled", "IncludeCookies", "Bucket", "Prefix"], - members: { - Enabled: { type: "boolean" }, - IncludeCookies: { type: "boolean" }, - Bucket: {}, - Prefix: {}, - }, - }, - PriceClass: {}, - Enabled: { type: "boolean" }, - ViewerCertificate: { shape: "S1i" }, - Restrictions: { shape: "S1m" }, - WebACLId: {}, - HttpVersion: {}, - IsIPV6Enabled: { type: "boolean" }, - }, - }, - S8: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "CNAME" } }, - }, - }, - Sb: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "Origin", - type: "structure", - required: ["Id", "DomainName"], - members: { - Id: {}, - DomainName: {}, - OriginPath: {}, - CustomHeaders: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "OriginCustomHeader", - type: "structure", - required: ["HeaderName", "HeaderValue"], - members: { HeaderName: {}, HeaderValue: {} }, - }, - }, - }, - }, - S3OriginConfig: { - type: "structure", - required: ["OriginAccessIdentity"], - members: { OriginAccessIdentity: {} }, - }, - CustomOriginConfig: { - type: "structure", - required: [ - "HTTPPort", - "HTTPSPort", - "OriginProtocolPolicy", - ], - members: { - HTTPPort: { type: "integer" }, - HTTPSPort: { type: "integer" }, - OriginProtocolPolicy: {}, - OriginSslProtocols: { - type: "structure", - required: ["Quantity", "Items"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { locationName: "SslProtocol" }, - }, - }, - }, - OriginReadTimeout: { type: "integer" }, - OriginKeepaliveTimeout: { type: "integer" }, - }, - }, - }, - }, - }, - }, - }, - Sn: { - type: "structure", - required: [ - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL", - ], - members: { - TargetOriginId: {}, - ForwardedValues: { shape: "So" }, - TrustedSigners: { shape: "Sy" }, - ViewerProtocolPolicy: {}, - MinTTL: { type: "long" }, - AllowedMethods: { shape: "S12" }, - SmoothStreaming: { type: "boolean" }, - DefaultTTL: { type: "long" }, - MaxTTL: { type: "long" }, - Compress: { type: "boolean" }, - LambdaFunctionAssociations: { shape: "S16" }, - }, - }, - So: { - type: "structure", - required: ["QueryString", "Cookies"], - members: { - QueryString: { type: "boolean" }, - Cookies: { - type: "structure", - required: ["Forward"], - members: { - Forward: {}, - WhitelistedNames: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Name" } }, - }, - }, - }, - }, - Headers: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Name" } }, - }, - }, - QueryStringCacheKeys: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Name" } }, - }, - }, - }, - }, - Sy: { - type: "structure", - required: ["Enabled", "Quantity"], - members: { - Enabled: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { locationName: "AwsAccountNumber" }, - }, - }, - }, - S12: { - type: "structure", - required: ["Quantity", "Items"], - members: { - Quantity: { type: "integer" }, - Items: { shape: "S13" }, - CachedMethods: { - type: "structure", - required: ["Quantity", "Items"], - members: { - Quantity: { type: "integer" }, - Items: { shape: "S13" }, - }, - }, - }, - }, - S13: { type: "list", member: { locationName: "Method" } }, - S16: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "LambdaFunctionAssociation", - type: "structure", - members: { LambdaFunctionARN: {}, EventType: {} }, - }, - }, - }, - }, - S1a: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "CacheBehavior", - type: "structure", - required: [ - "PathPattern", - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL", - ], - members: { - PathPattern: {}, - TargetOriginId: {}, - ForwardedValues: { shape: "So" }, - TrustedSigners: { shape: "Sy" }, - ViewerProtocolPolicy: {}, - MinTTL: { type: "long" }, - AllowedMethods: { shape: "S12" }, - SmoothStreaming: { type: "boolean" }, - DefaultTTL: { type: "long" }, - MaxTTL: { type: "long" }, - Compress: { type: "boolean" }, - LambdaFunctionAssociations: { shape: "S16" }, - }, - }, - }, - }, - }, - S1d: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "CustomErrorResponse", - type: "structure", - required: ["ErrorCode"], - members: { - ErrorCode: { type: "integer" }, - ResponsePagePath: {}, - ResponseCode: {}, - ErrorCachingMinTTL: { type: "long" }, - }, - }, - }, - }, - }, - S1i: { - type: "structure", - members: { - CloudFrontDefaultCertificate: { type: "boolean" }, - IAMCertificateId: {}, - ACMCertificateArn: {}, - SSLSupportMethod: {}, - MinimumProtocolVersion: {}, - Certificate: { deprecated: true }, - CertificateSource: { deprecated: true }, - }, - }, - S1m: { - type: "structure", - required: ["GeoRestriction"], - members: { - GeoRestriction: { - type: "structure", - required: ["RestrictionType", "Quantity"], - members: { - RestrictionType: {}, - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Location" } }, - }, - }, - }, - }, - S1s: { - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "InProgressInvalidationBatches", - "DomainName", - "ActiveTrustedSigners", - "DistributionConfig", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - InProgressInvalidationBatches: { type: "integer" }, - DomainName: {}, - ActiveTrustedSigners: { shape: "S1u" }, - DistributionConfig: { shape: "S7" }, - }, - }, - S1u: { - type: "structure", - required: ["Enabled", "Quantity"], - members: { - Enabled: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "Signer", - type: "structure", - members: { - AwsAccountNumber: {}, - KeyPairIds: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { locationName: "KeyPairId" }, - }, - }, - }, - }, - }, - }, - }, - }, - S21: { - type: "structure", - members: { - Items: { - type: "list", - member: { - locationName: "Tag", - type: "structure", - required: ["Key"], - members: { Key: {}, Value: {} }, - }, - }, - }, - }, - S28: { - type: "structure", - required: ["Paths", "CallerReference"], - members: { - Paths: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Path" } }, - }, - }, - CallerReference: {}, - }, - }, - S2c: { - type: "structure", - required: ["Id", "Status", "CreateTime", "InvalidationBatch"], - members: { - Id: {}, - Status: {}, - CreateTime: { type: "timestamp" }, - InvalidationBatch: { shape: "S28" }, - }, - }, - S2e: { - type: "structure", - required: [ - "CallerReference", - "S3Origin", - "Comment", - "TrustedSigners", - "Enabled", - ], - members: { - CallerReference: {}, - S3Origin: { shape: "S2f" }, - Aliases: { shape: "S8" }, - Comment: {}, - Logging: { - type: "structure", - required: ["Enabled", "Bucket", "Prefix"], - members: { - Enabled: { type: "boolean" }, - Bucket: {}, - Prefix: {}, - }, - }, - TrustedSigners: { shape: "Sy" }, - PriceClass: {}, - Enabled: { type: "boolean" }, - }, - }, - S2f: { - type: "structure", - required: ["DomainName", "OriginAccessIdentity"], - members: { DomainName: {}, OriginAccessIdentity: {} }, - }, - S2i: { - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "DomainName", - "ActiveTrustedSigners", - "StreamingDistributionConfig", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - DomainName: {}, - ActiveTrustedSigners: { shape: "S1u" }, - StreamingDistributionConfig: { shape: "S2e" }, - }, - }, - S3b: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "DistributionSummary", - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "Aliases", - "Origins", - "DefaultCacheBehavior", - "CacheBehaviors", - "CustomErrorResponses", - "Comment", - "PriceClass", - "Enabled", - "ViewerCertificate", - "Restrictions", - "WebACLId", - "HttpVersion", - "IsIPV6Enabled", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - DomainName: {}, - Aliases: { shape: "S8" }, - Origins: { shape: "Sb" }, - DefaultCacheBehavior: { shape: "Sn" }, - CacheBehaviors: { shape: "S1a" }, - CustomErrorResponses: { shape: "S1d" }, - Comment: {}, - PriceClass: {}, - Enabled: { type: "boolean" }, - ViewerCertificate: { shape: "S1i" }, - Restrictions: { shape: "S1m" }, - WebACLId: {}, - HttpVersion: {}, - IsIPV6Enabled: { type: "boolean" }, - }, - }, - }, - }, - }, + "author.email": { + required: true, + type: "string" }, - }; - - /***/ + "author.name": { + required: true, + type: "string" + }, + branch: { + type: "string" + }, + committer: { + type: "object" + }, + "committer.email": { + required: true, + type: "string" + }, + "committer.name": { + required: true, + type: "string" + }, + content: { + required: true, + type: "string" + }, + message: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + path: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + type: "string" + } + }, + url: "/repos/:owner/:repo/contents/:path" }, - - /***/ 956: /***/ function (module) { - module.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", - }, + createRelease: { + method: "POST", + params: { + body: { + type: "string" }, - }; - - /***/ + draft: { + type: "boolean" + }, + name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + prerelease: { + type: "boolean" + }, + repo: { + required: true, + type: "string" + }, + tag_name: { + required: true, + type: "string" + }, + target_commitish: { + type: "string" + } + }, + url: "/repos/:owner/:repo/releases" }, - - /***/ 988: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-12-01", - endpointPrefix: "appstream2", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon AppStream", - serviceId: "AppStream", - signatureVersion: "v4", - signingName: "appstream", - targetPrefix: "PhotonAdminProxyService", - uid: "appstream-2016-12-01", - }, - operations: { - AssociateFleet: { - input: { - type: "structure", - required: ["FleetName", "StackName"], - members: { FleetName: {}, StackName: {} }, - }, - output: { type: "structure", members: {} }, - }, - BatchAssociateUserStack: { - input: { - type: "structure", - required: ["UserStackAssociations"], - members: { UserStackAssociations: { shape: "S5" } }, - }, - output: { type: "structure", members: { errors: { shape: "Sb" } } }, - }, - BatchDisassociateUserStack: { - input: { - type: "structure", - required: ["UserStackAssociations"], - members: { UserStackAssociations: { shape: "S5" } }, - }, - output: { type: "structure", members: { errors: { shape: "Sb" } } }, - }, - CopyImage: { - input: { - type: "structure", - required: [ - "SourceImageName", - "DestinationImageName", - "DestinationRegion", - ], - members: { - SourceImageName: {}, - DestinationImageName: {}, - DestinationRegion: {}, - DestinationImageDescription: {}, - }, - }, - output: { - type: "structure", - members: { DestinationImageName: {} }, - }, - }, - CreateDirectoryConfig: { - input: { - type: "structure", - required: [ - "DirectoryName", - "OrganizationalUnitDistinguishedNames", - "ServiceAccountCredentials", - ], - members: { - DirectoryName: {}, - OrganizationalUnitDistinguishedNames: { shape: "Sn" }, - ServiceAccountCredentials: { shape: "Sp" }, - }, - }, - output: { - type: "structure", - members: { DirectoryConfig: { shape: "St" } }, - }, - }, - CreateFleet: { - input: { - type: "structure", - required: ["Name", "InstanceType", "ComputeCapacity"], - members: { - Name: {}, - ImageName: {}, - ImageArn: {}, - InstanceType: {}, - FleetType: {}, - ComputeCapacity: { shape: "Sy" }, - VpcConfig: { shape: "S10" }, - MaxUserDurationInSeconds: { type: "integer" }, - DisconnectTimeoutInSeconds: { type: "integer" }, - Description: {}, - DisplayName: {}, - EnableDefaultInternetAccess: { type: "boolean" }, - DomainJoinInfo: { shape: "S15" }, - Tags: { shape: "S16" }, - IdleDisconnectTimeoutInSeconds: { type: "integer" }, - IamRoleArn: {}, - }, - }, - output: { type: "structure", members: { Fleet: { shape: "S1a" } } }, - }, - CreateImageBuilder: { - input: { - type: "structure", - required: ["Name", "InstanceType"], - members: { - Name: {}, - ImageName: {}, - ImageArn: {}, - InstanceType: {}, - Description: {}, - DisplayName: {}, - VpcConfig: { shape: "S10" }, - IamRoleArn: {}, - EnableDefaultInternetAccess: { type: "boolean" }, - DomainJoinInfo: { shape: "S15" }, - AppstreamAgentVersion: {}, - Tags: { shape: "S16" }, - AccessEndpoints: { shape: "S1i" }, - }, - }, - output: { - type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, - }, - }, - CreateImageBuilderStreamingURL: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, Validity: { type: "long" } }, - }, - output: { - type: "structure", - members: { StreamingURL: {}, Expires: { type: "timestamp" } }, - }, - }, - CreateStack: { - input: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - Description: {}, - DisplayName: {}, - StorageConnectors: { shape: "S1y" }, - RedirectURL: {}, - FeedbackURL: {}, - UserSettings: { shape: "S26" }, - ApplicationSettings: { shape: "S2a" }, - Tags: { shape: "S16" }, - AccessEndpoints: { shape: "S1i" }, - EmbedHostDomains: { shape: "S2c" }, - }, - }, - output: { type: "structure", members: { Stack: { shape: "S2f" } } }, - }, - CreateStreamingURL: { - input: { - type: "structure", - required: ["StackName", "FleetName", "UserId"], - members: { - StackName: {}, - FleetName: {}, - UserId: {}, - ApplicationId: {}, - Validity: { type: "long" }, - SessionContext: {}, - }, - }, - output: { - type: "structure", - members: { StreamingURL: {}, Expires: { type: "timestamp" } }, - }, - }, - CreateUsageReportSubscription: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { S3BucketName: {}, Schedule: {} }, - }, - }, - CreateUser: { - input: { - type: "structure", - required: ["UserName", "AuthenticationType"], - members: { - UserName: { shape: "S7" }, - MessageAction: {}, - FirstName: { shape: "S2s" }, - LastName: { shape: "S2s" }, - AuthenticationType: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteDirectoryConfig: { - input: { - type: "structure", - required: ["DirectoryName"], - members: { DirectoryName: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteFleet: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteImage: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: { Image: { shape: "S30" } } }, - }, - DeleteImageBuilder: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { - type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, - }, - }, - DeleteImagePermissions: { - input: { - type: "structure", - required: ["Name", "SharedAccountId"], - members: { Name: {}, SharedAccountId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteStack: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteUsageReportSubscription: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, - }, - DeleteUser: { - input: { - type: "structure", - required: ["UserName", "AuthenticationType"], - members: { UserName: { shape: "S7" }, AuthenticationType: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeDirectoryConfigs: { - input: { - type: "structure", - members: { - DirectoryNames: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - DirectoryConfigs: { type: "list", member: { shape: "St" } }, - NextToken: {}, - }, - }, - }, - DescribeFleets: { - input: { - type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, - }, - output: { - type: "structure", - members: { - Fleets: { type: "list", member: { shape: "S1a" } }, - NextToken: {}, - }, - }, - }, - DescribeImageBuilders: { - input: { - type: "structure", - members: { - Names: { shape: "S3p" }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - ImageBuilders: { type: "list", member: { shape: "S1m" } }, - NextToken: {}, - }, - }, - }, - DescribeImagePermissions: { - input: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - MaxResults: { type: "integer" }, - SharedAwsAccountIds: { type: "list", member: {} }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - Name: {}, - SharedImagePermissionsList: { - type: "list", - member: { - type: "structure", - required: ["sharedAccountId", "imagePermissions"], - members: { - sharedAccountId: {}, - imagePermissions: { shape: "S38" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeImages: { - input: { - type: "structure", - members: { - Names: { shape: "S3p" }, - Arns: { type: "list", member: {} }, - Type: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Images: { type: "list", member: { shape: "S30" } }, - NextToken: {}, - }, - }, - }, - DescribeSessions: { - input: { - type: "structure", - required: ["StackName", "FleetName"], - members: { - StackName: {}, - FleetName: {}, - UserId: {}, - NextToken: {}, - Limit: { type: "integer" }, - AuthenticationType: {}, - }, - }, - output: { - type: "structure", - members: { - Sessions: { - type: "list", - member: { - type: "structure", - required: [ - "Id", - "UserId", - "StackName", - "FleetName", - "State", - ], - members: { - Id: {}, - UserId: {}, - StackName: {}, - FleetName: {}, - State: {}, - ConnectionState: {}, - StartTime: { type: "timestamp" }, - MaxExpirationTime: { type: "timestamp" }, - AuthenticationType: {}, - NetworkAccessConfiguration: { shape: "S1r" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeStacks: { - input: { - type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, - }, - output: { - type: "structure", - members: { - Stacks: { type: "list", member: { shape: "S2f" } }, - NextToken: {}, - }, - }, - }, - DescribeUsageReportSubscriptions: { - input: { - type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, - }, - output: { - type: "structure", - members: { - UsageReportSubscriptions: { - type: "list", - member: { - type: "structure", - members: { - S3BucketName: {}, - Schedule: {}, - LastGeneratedReportDate: { type: "timestamp" }, - SubscriptionErrors: { - type: "list", - member: { - type: "structure", - members: { ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeUserStackAssociations: { - input: { - type: "structure", - members: { - StackName: {}, - UserName: { shape: "S7" }, - AuthenticationType: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - UserStackAssociations: { shape: "S5" }, - NextToken: {}, - }, - }, - }, - DescribeUsers: { - input: { - type: "structure", - required: ["AuthenticationType"], - members: { - AuthenticationType: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - Users: { - type: "list", - member: { - type: "structure", - required: ["AuthenticationType"], - members: { - Arn: {}, - UserName: { shape: "S7" }, - Enabled: { type: "boolean" }, - Status: {}, - FirstName: { shape: "S2s" }, - LastName: { shape: "S2s" }, - CreatedTime: { type: "timestamp" }, - AuthenticationType: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DisableUser: { - input: { - type: "structure", - required: ["UserName", "AuthenticationType"], - members: { UserName: { shape: "S7" }, AuthenticationType: {} }, - }, - output: { type: "structure", members: {} }, - }, - DisassociateFleet: { - input: { - type: "structure", - required: ["FleetName", "StackName"], - members: { FleetName: {}, StackName: {} }, - }, - output: { type: "structure", members: {} }, - }, - EnableUser: { - input: { - type: "structure", - required: ["UserName", "AuthenticationType"], - members: { UserName: { shape: "S7" }, AuthenticationType: {} }, - }, - output: { type: "structure", members: {} }, - }, - ExpireSession: { - input: { - type: "structure", - required: ["SessionId"], - members: { SessionId: {} }, - }, - output: { type: "structure", members: {} }, - }, - ListAssociatedFleets: { - input: { - type: "structure", - required: ["StackName"], - members: { StackName: {}, NextToken: {} }, - }, - output: { - type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, - }, - }, - ListAssociatedStacks: { - input: { - type: "structure", - required: ["FleetName"], - members: { FleetName: {}, NextToken: {} }, - }, - output: { - type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { type: "structure", members: { Tags: { shape: "S16" } } }, - }, - StartFleet: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - }, - StartImageBuilder: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, AppstreamAgentVersion: {} }, - }, - output: { - type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, - }, - }, - StopFleet: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - }, - StopImageBuilder: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { - type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, - }, - }, - 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: {} }, - }, - UpdateDirectoryConfig: { - input: { - type: "structure", - required: ["DirectoryName"], - members: { - DirectoryName: {}, - OrganizationalUnitDistinguishedNames: { shape: "Sn" }, - ServiceAccountCredentials: { shape: "Sp" }, - }, - }, - output: { - type: "structure", - members: { DirectoryConfig: { shape: "St" } }, - }, - }, - UpdateFleet: { - input: { - type: "structure", - members: { - ImageName: {}, - ImageArn: {}, - Name: {}, - InstanceType: {}, - ComputeCapacity: { shape: "Sy" }, - VpcConfig: { shape: "S10" }, - MaxUserDurationInSeconds: { type: "integer" }, - DisconnectTimeoutInSeconds: { type: "integer" }, - DeleteVpcConfig: { deprecated: true, type: "boolean" }, - Description: {}, - DisplayName: {}, - EnableDefaultInternetAccess: { type: "boolean" }, - DomainJoinInfo: { shape: "S15" }, - IdleDisconnectTimeoutInSeconds: { type: "integer" }, - AttributesToDelete: { type: "list", member: {} }, - IamRoleArn: {}, - }, - }, - output: { type: "structure", members: { Fleet: { shape: "S1a" } } }, - }, - UpdateImagePermissions: { - input: { - type: "structure", - required: ["Name", "SharedAccountId", "ImagePermissions"], - members: { - Name: {}, - SharedAccountId: {}, - ImagePermissions: { shape: "S38" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateStack: { - input: { - type: "structure", - required: ["Name"], - members: { - DisplayName: {}, - Description: {}, - Name: {}, - StorageConnectors: { shape: "S1y" }, - DeleteStorageConnectors: { deprecated: true, type: "boolean" }, - RedirectURL: {}, - FeedbackURL: {}, - AttributesToDelete: { type: "list", member: {} }, - UserSettings: { shape: "S26" }, - ApplicationSettings: { shape: "S2a" }, - AccessEndpoints: { shape: "S1i" }, - EmbedHostDomains: { shape: "S2c" }, - }, - }, - output: { type: "structure", members: { Stack: { shape: "S2f" } } }, - }, + createStatus: { + method: "POST", + params: { + context: { + type: "string" }, - shapes: { - S5: { type: "list", member: { shape: "S6" } }, - S6: { - type: "structure", - required: ["StackName", "UserName", "AuthenticationType"], - members: { - StackName: {}, - UserName: { shape: "S7" }, - AuthenticationType: {}, - SendEmailNotification: { type: "boolean" }, - }, - }, - S7: { type: "string", sensitive: true }, - Sb: { - type: "list", - member: { - type: "structure", - members: { - UserStackAssociation: { shape: "S6" }, - ErrorCode: {}, - ErrorMessage: {}, - }, - }, - }, - Sn: { type: "list", member: {} }, - Sp: { - type: "structure", - required: ["AccountName", "AccountPassword"], - members: { - AccountName: { type: "string", sensitive: true }, - AccountPassword: { type: "string", sensitive: true }, - }, - }, - St: { - type: "structure", - required: ["DirectoryName"], - members: { - DirectoryName: {}, - OrganizationalUnitDistinguishedNames: { shape: "Sn" }, - ServiceAccountCredentials: { shape: "Sp" }, - CreatedTime: { type: "timestamp" }, - }, - }, - Sy: { - type: "structure", - required: ["DesiredInstances"], - members: { DesiredInstances: { type: "integer" } }, - }, - S10: { - type: "structure", - members: { - SubnetIds: { type: "list", member: {} }, - SecurityGroupIds: { type: "list", member: {} }, - }, - }, - S15: { - type: "structure", - members: { - DirectoryName: {}, - OrganizationalUnitDistinguishedName: {}, - }, - }, - S16: { type: "map", key: {}, value: {} }, - S1a: { - type: "structure", - required: [ - "Arn", - "Name", - "InstanceType", - "ComputeCapacityStatus", - "State", - ], - members: { - Arn: {}, - Name: {}, - DisplayName: {}, - Description: {}, - ImageName: {}, - ImageArn: {}, - InstanceType: {}, - FleetType: {}, - ComputeCapacityStatus: { - type: "structure", - required: ["Desired"], - members: { - Desired: { type: "integer" }, - Running: { type: "integer" }, - InUse: { type: "integer" }, - Available: { type: "integer" }, - }, - }, - MaxUserDurationInSeconds: { type: "integer" }, - DisconnectTimeoutInSeconds: { type: "integer" }, - State: {}, - VpcConfig: { shape: "S10" }, - CreatedTime: { type: "timestamp" }, - FleetErrors: { - type: "list", - member: { - type: "structure", - members: { ErrorCode: {}, ErrorMessage: {} }, - }, - }, - EnableDefaultInternetAccess: { type: "boolean" }, - DomainJoinInfo: { shape: "S15" }, - IdleDisconnectTimeoutInSeconds: { type: "integer" }, - IamRoleArn: {}, - }, - }, - S1i: { - type: "list", - member: { - type: "structure", - required: ["EndpointType"], - members: { EndpointType: {}, VpceId: {} }, - }, - }, - S1m: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - Arn: {}, - ImageArn: {}, - Description: {}, - DisplayName: {}, - VpcConfig: { shape: "S10" }, - InstanceType: {}, - Platform: {}, - IamRoleArn: {}, - State: {}, - StateChangeReason: { - type: "structure", - members: { Code: {}, Message: {} }, - }, - CreatedTime: { type: "timestamp" }, - EnableDefaultInternetAccess: { type: "boolean" }, - DomainJoinInfo: { shape: "S15" }, - NetworkAccessConfiguration: { shape: "S1r" }, - ImageBuilderErrors: { - type: "list", - member: { - type: "structure", - members: { - ErrorCode: {}, - ErrorMessage: {}, - ErrorTimestamp: { type: "timestamp" }, - }, - }, - }, - AppstreamAgentVersion: {}, - AccessEndpoints: { shape: "S1i" }, - }, - }, - S1r: { - type: "structure", - members: { EniPrivateIpAddress: {}, EniId: {} }, - }, - S1y: { - type: "list", - member: { - type: "structure", - required: ["ConnectorType"], - members: { - ConnectorType: {}, - ResourceIdentifier: {}, - Domains: { type: "list", member: {} }, - }, - }, - }, - S26: { - type: "list", - member: { - type: "structure", - required: ["Action", "Permission"], - members: { Action: {}, Permission: {} }, - }, - }, - S2a: { - type: "structure", - required: ["Enabled"], - members: { Enabled: { type: "boolean" }, SettingsGroup: {} }, - }, - S2c: { type: "list", member: {} }, - S2f: { - type: "structure", - required: ["Name"], - members: { - Arn: {}, - Name: {}, - Description: {}, - DisplayName: {}, - CreatedTime: { type: "timestamp" }, - StorageConnectors: { shape: "S1y" }, - RedirectURL: {}, - FeedbackURL: {}, - StackErrors: { - type: "list", - member: { - type: "structure", - members: { ErrorCode: {}, ErrorMessage: {} }, - }, - }, - UserSettings: { shape: "S26" }, - ApplicationSettings: { - type: "structure", - members: { - Enabled: { type: "boolean" }, - SettingsGroup: {}, - S3BucketName: {}, - }, - }, - AccessEndpoints: { shape: "S1i" }, - EmbedHostDomains: { shape: "S2c" }, - }, - }, - S2s: { type: "string", sensitive: true }, - S30: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - Arn: {}, - BaseImageArn: {}, - DisplayName: {}, - State: {}, - Visibility: {}, - ImageBuilderSupported: { type: "boolean" }, - ImageBuilderName: {}, - Platform: {}, - Description: {}, - StateChangeReason: { - type: "structure", - members: { Code: {}, Message: {} }, - }, - Applications: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - DisplayName: {}, - IconURL: {}, - LaunchPath: {}, - LaunchParameters: {}, - Enabled: { type: "boolean" }, - Metadata: { type: "map", key: {}, value: {} }, - }, - }, - }, - CreatedTime: { type: "timestamp" }, - PublicBaseImageReleasedDate: { type: "timestamp" }, - AppstreamAgentVersion: {}, - ImagePermissions: { shape: "S38" }, - }, - }, - S38: { - type: "structure", - members: { - allowFleet: { type: "boolean" }, - allowImageBuilder: { type: "boolean" }, - }, - }, - S3p: { type: "list", member: {} }, + description: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + required: true, + type: "string" + }, + state: { + enum: ["error", "failure", "pending", "success"], + required: true, + type: "string" + }, + target_url: { + type: "string" + } + }, + url: "/repos/:owner/:repo/statuses/:sha" + }, + createUsingTemplate: { + headers: { + accept: "application/vnd.github.baptiste-preview+json" + }, + method: "POST", + params: { + description: { + type: "string" }, - }; - - /***/ - }, - - /***/ 997: /***/ function (module) { - 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: "S14" } }, - required: ["CampaignResponse"], - payload: "CampaignResponse", - }, - }, - CreateEmailTemplate: { - http: { - requestUri: "/v1/templates/{template-name}/email", - responseCode: 201, - }, - input: { - type: "structure", - members: { - EmailTemplateRequest: { shape: "S1a" }, - TemplateName: { - location: "uri", - locationName: "template-name", - }, - }, - required: ["TemplateName", "EmailTemplateRequest"], - payload: "EmailTemplateRequest", - }, - output: { - type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, - 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: "S1g" } }, - 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: "S1n" } }, - required: ["ImportJobResponse"], - payload: "ImportJobResponse", - }, - }, - CreateJourney: { - http: { - requestUri: "/v1/apps/{application-id}/journeys", - responseCode: 201, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "application-id", - }, - WriteJourneyRequest: { shape: "S1q" }, - }, - required: ["ApplicationId", "WriteJourneyRequest"], - payload: "WriteJourneyRequest", - }, - output: { - type: "structure", - members: { JourneyResponse: { shape: "S2q" } }, - required: ["JourneyResponse"], - payload: "JourneyResponse", - }, - }, - CreatePushTemplate: { - http: { - requestUri: "/v1/templates/{template-name}/push", - responseCode: 201, - }, - input: { - type: "structure", - members: { - PushNotificationTemplateRequest: { shape: "S2s" }, - TemplateName: { - location: "uri", - locationName: "template-name", - }, - }, - required: ["TemplateName", "PushNotificationTemplateRequest"], - payload: "PushNotificationTemplateRequest", - }, - output: { - type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, - 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: "S30" } }, - 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: "S32" }, - }, - required: ["ApplicationId", "WriteSegmentRequest"], - payload: "WriteSegmentRequest", - }, - output: { - type: "structure", - members: { SegmentResponse: { shape: "S3d" } }, - required: ["SegmentResponse"], - payload: "SegmentResponse", - }, - }, - CreateSmsTemplate: { - http: { - requestUri: "/v1/templates/{template-name}/sms", - responseCode: 201, - }, - input: { - type: "structure", - members: { - SMSTemplateRequest: { shape: "S3i" }, - TemplateName: { - location: "uri", - locationName: "template-name", - }, - }, - required: ["TemplateName", "SMSTemplateRequest"], - payload: "SMSTemplateRequest", - }, - output: { - type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, - 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: "S3l" }, - }, - required: ["TemplateName", "VoiceTemplateRequest"], - payload: "VoiceTemplateRequest", - }, - output: { - type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, - 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: "S3p" } }, - 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: "S3s" } }, - 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: "S3v" } }, - 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: "S3y" } }, - 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: "S41" } }, - 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: "S46" } }, - 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: "S14" } }, - 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: "S4b" } }, - 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: "S4e" } }, - 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: "S4h" } }, - 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: "S4q" } }, - 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: "S4t" } }, - required: ["GCMChannelResponse"], - payload: "GCMChannelResponse", - }, - }, - 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: "S2q" } }, - 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: "S4e" } }, - 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: "S30" } }, - 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: "S3d" } }, - 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: "S54" } }, - 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: "S4e" } }, - 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: "S59" } }, - 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: "S5d" } }, - 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: "S4e" } }, - 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: "S3p" } }, - 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: "S3s" } }, - 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: "S3v" } }, - 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: "S3y" } }, - 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: "S41" } }, - 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: "S2m", - 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: "S2m", - location: "querystring", - locationName: "start-time", - }, - }, - required: ["ApplicationId", "KpiName"], - }, - output: { - type: "structure", - members: { - ApplicationDateRangeKpiResponse: { - type: "structure", - members: { - ApplicationId: {}, - EndTime: { shape: "S2m" }, - KpiName: {}, - KpiResult: { shape: "S5v" }, - NextToken: {}, - StartTime: { shape: "S2m" }, - }, - 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: "S62" } }, - 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: "S46" } }, - 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: "S14" } }, - 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: "S2m", - 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: "S2m", - location: "querystring", - locationName: "start-time", - }, - }, - required: ["ApplicationId", "KpiName", "CampaignId"], - }, - output: { - type: "structure", - members: { - CampaignDateRangeKpiResponse: { - type: "structure", - members: { - ApplicationId: {}, - CampaignId: {}, - EndTime: { shape: "S2m" }, - KpiName: {}, - KpiResult: { shape: "S5v" }, - NextToken: {}, - StartTime: { shape: "S2m" }, - }, - 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: "S14" } }, - 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: "S6n" } }, - 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: "S6n" } }, - 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: "S4b" } }, - 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: "S4h" } }, - 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: "S4q" } }, - 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: "S1g" } }, - 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: "S7a" } }, - 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: "S4t" } }, - 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: "S1n" } }, - 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: "S7i" } }, - required: ["ImportJobsResponse"], - payload: "ImportJobsResponse", - }, - }, - 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: "S2q" } }, - 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: "S2m", - 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: "S2m", - location: "querystring", - locationName: "start-time", - }, - }, - required: ["JourneyId", "ApplicationId", "KpiName"], - }, - output: { - type: "structure", - members: { - JourneyDateRangeKpiResponse: { - type: "structure", - members: { - ApplicationId: {}, - EndTime: { shape: "S2m" }, - JourneyId: {}, - KpiName: {}, - KpiResult: { shape: "S5v" }, - NextToken: {}, - StartTime: { shape: "S2m" }, - }, - 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: "S2t" }, - APNS: { shape: "S2u" }, - Arn: {}, - Baidu: { shape: "S2t" }, - CreationDate: {}, - Default: { shape: "S2v" }, - DefaultSubstitutions: {}, - GCM: { shape: "S2t" }, - 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: "S30" } }, - 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: "S30" } }, - 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: "S3d" } }, - 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: "S7a" } }, - 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: "S7i" } }, - 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: "S3d" } }, - 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: "S8e" } }, - 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: "S8e" } }, - 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: "S54" } }, - 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: "S59" } }, - 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: "S5d" } }, - 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: "S2q" } }, - 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: "S90" } }, - 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: "S4q" } }, - 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: "S4i" }, - ChannelType: {}, - Demographic: { shape: "S4k" }, - EffectiveDate: {}, - EndpointStatus: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, - OptOut: {}, - RequestId: {}, - User: { shape: "S4n" }, - }, - }, - Events: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - AppPackageName: {}, - AppTitle: {}, - AppVersionCode: {}, - Attributes: { shape: "S4" }, - ClientSdkVersion: {}, - EventType: {}, - Metrics: { shape: "S4m" }, - 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: "Sp" } }, - }, - }, - required: [ - "AttributeType", - "ApplicationId", - "UpdateAttributesRequest", - ], - payload: "UpdateAttributesRequest", - }, - output: { - type: "structure", - members: { - AttributesResource: { - type: "structure", - members: { - ApplicationId: {}, - AttributeType: {}, - Attributes: { shape: "Sp" }, - }, - 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: "S4i" }, - TitleOverride: {}, - }, - }, - }, - Context: { shape: "S4" }, - Endpoints: { shape: "Sa5" }, - MessageConfiguration: { shape: "Sa7" }, - TemplateConfiguration: { shape: "Sy" }, - TraceId: {}, - }, - required: ["MessageConfiguration"], - }, - }, - required: ["ApplicationId", "MessageRequest"], - payload: "MessageRequest", - }, - output: { - type: "structure", - members: { - MessageResponse: { - type: "structure", - members: { - ApplicationId: {}, - EndpointResult: { shape: "San" }, - RequestId: {}, - Result: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - DeliveryStatus: {}, - MessageId: {}, - StatusCode: { type: "integer" }, - StatusMessage: {}, - UpdatedToken: {}, - }, - required: ["DeliveryStatus", "StatusCode"], - }, - }, - }, - required: ["ApplicationId"], - }, - }, - 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: "Sa7" }, - TemplateConfiguration: { shape: "Sy" }, - TraceId: {}, - Users: { shape: "Sa5" }, - }, - required: ["MessageConfiguration", "Users"], - }, - }, - required: ["ApplicationId", "SendUsersMessageRequest"], - payload: "SendUsersMessageRequest", - }, - output: { - type: "structure", - members: { - SendUsersMessageResponse: { - type: "structure", - members: { - ApplicationId: {}, - RequestId: {}, - Result: { type: "map", key: {}, value: { shape: "San" } }, - }, - 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: "S90" }, - }, - 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: "Sp", - 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: "S3p" } }, - 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: "S3s" } }, - 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: "S3v" } }, - 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: "S3y" } }, - 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: "S41" } }, - 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: "S10" }, - CloudWatchMetricsEnabled: { type: "boolean" }, - Limits: { shape: "S12" }, - QuietTime: { shape: "Sx" }, - }, - }, - }, - required: ["ApplicationId", "WriteApplicationSettingsRequest"], - payload: "WriteApplicationSettingsRequest", - }, - output: { - type: "structure", - members: { ApplicationSettingsResource: { shape: "S62" } }, - 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: "S46" } }, - 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: "S14" } }, - 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: "S4b" } }, - 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: "S1a" }, - TemplateName: { - location: "uri", - locationName: "template-name", - }, - Version: { location: "querystring", locationName: "version" }, - }, - required: ["TemplateName", "EmailTemplateRequest"], - payload: "EmailTemplateRequest", - }, - output: { - type: "structure", - members: { MessageBody: { shape: "S4e" } }, - 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: "S4i" }, - ChannelType: {}, - Demographic: { shape: "S4k" }, - EffectiveDate: {}, - EndpointStatus: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, - OptOut: {}, - RequestId: {}, - User: { shape: "S4n" }, - }, - }, - }, - required: ["ApplicationId", "EndpointId", "EndpointRequest"], - payload: "EndpointRequest", - }, - output: { - type: "structure", - members: { MessageBody: { shape: "S4e" } }, - 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: "S4i" }, - ChannelType: {}, - Demographic: { shape: "S4k" }, - EffectiveDate: {}, - EndpointStatus: {}, - Id: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, - OptOut: {}, - RequestId: {}, - User: { shape: "S4n" }, - }, - }, - }, - }, - required: ["Item"], - }, - }, - required: ["ApplicationId", "EndpointBatchRequest"], - payload: "EndpointBatchRequest", - }, - output: { - type: "structure", - members: { MessageBody: { shape: "S4e" } }, - 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: "S4t" } }, - required: ["GCMChannelResponse"], - payload: "GCMChannelResponse", - }, - }, - 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: "S1q" }, - }, - required: ["JourneyId", "ApplicationId", "WriteJourneyRequest"], - payload: "WriteJourneyRequest", - }, - output: { - type: "structure", - members: { JourneyResponse: { shape: "S2q" } }, - 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: "S2q" } }, - 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: "S2s" }, - TemplateName: { - location: "uri", - locationName: "template-name", - }, - Version: { location: "querystring", locationName: "version" }, - }, - required: ["TemplateName", "PushNotificationTemplateRequest"], - payload: "PushNotificationTemplateRequest", - }, - output: { - type: "structure", - members: { MessageBody: { shape: "S4e" } }, - 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: "S30" } }, - 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: "S32" }, - }, - required: ["SegmentId", "ApplicationId", "WriteSegmentRequest"], - payload: "WriteSegmentRequest", - }, - output: { - type: "structure", - members: { SegmentResponse: { shape: "S3d" } }, - 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: "S54" } }, - 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: "S3i" }, - TemplateName: { - location: "uri", - locationName: "template-name", - }, - Version: { location: "querystring", locationName: "version" }, - }, - required: ["TemplateName", "SMSTemplateRequest"], - payload: "SMSTemplateRequest", - }, - output: { - type: "structure", - members: { MessageBody: { shape: "S4e" } }, - 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: "S4e" } }, - 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: "S5d" } }, - 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: "S3l" }, - }, - required: ["TemplateName", "VoiceTemplateRequest"], - payload: "VoiceTemplateRequest", - }, - output: { - type: "structure", - members: { MessageBody: { shape: "S4e" } }, - required: ["MessageBody"], - payload: "MessageBody", - }, - }, + name: { + required: true, + type: "string" }, - 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: { - MessageConfiguration: { shape: "Sb" }, - Schedule: { shape: "Sj" }, - SizePercent: { type: "integer" }, - TemplateConfiguration: { shape: "Sy" }, - TreatmentDescription: {}, - TreatmentName: {}, - }, - required: ["SizePercent"], - }, - }, - Description: {}, - HoldoutPercent: { type: "integer" }, - Hook: { shape: "S10" }, - IsPaused: { type: "boolean" }, - Limits: { shape: "S12" }, - MessageConfiguration: { shape: "Sb" }, - Name: {}, - Schedule: { shape: "Sj" }, - SegmentId: {}, - SegmentVersion: { type: "integer" }, - tags: { shape: "S4", locationName: "tags" }, - TemplateConfiguration: { shape: "Sy" }, - TreatmentDescription: {}, - TreatmentName: {}, - }, - }, - Sb: { - type: "structure", - members: { - ADMMessage: { shape: "Sc" }, - APNSMessage: { shape: "Sc" }, - BaiduMessage: { shape: "Sc" }, - DefaultMessage: { shape: "Sc" }, - EmailMessage: { - type: "structure", - members: { Body: {}, FromAddress: {}, HtmlBody: {}, Title: {} }, - }, - GCMMessage: { shape: "Sc" }, - SMSMessage: { - type: "structure", - members: { Body: {}, MessageType: {}, SenderId: {} }, - }, - }, - }, - Sc: { - type: "structure", - members: { - Action: {}, - Body: {}, - ImageIconUrl: {}, - ImageSmallIconUrl: {}, - ImageUrl: {}, - JsonBody: {}, - MediaUrl: {}, - RawContent: {}, - SilentPush: { type: "boolean" }, - TimeToLive: { type: "integer" }, - Title: {}, - Url: {}, - }, - }, - Sj: { - type: "structure", - members: { - EndTime: {}, - EventFilter: { - type: "structure", - members: { Dimensions: { shape: "Sl" }, FilterType: {} }, - required: ["FilterType", "Dimensions"], - }, - Frequency: {}, - IsLocalTime: { type: "boolean" }, - QuietTime: { shape: "Sx" }, - StartTime: {}, - Timezone: {}, - }, - required: ["StartTime"], - }, - Sl: { - type: "structure", - members: { - Attributes: { shape: "Sm" }, - EventType: { shape: "Sq" }, - Metrics: { shape: "Ss" }, - }, - }, - Sm: { - type: "map", - key: {}, - value: { - type: "structure", - members: { AttributeType: {}, Values: { shape: "Sp" } }, - required: ["Values"], - }, - }, - Sp: { type: "list", member: {} }, - Sq: { - type: "structure", - members: { DimensionType: {}, Values: { shape: "Sp" } }, - required: ["Values"], - }, - Ss: { - type: "map", - key: {}, - value: { - type: "structure", - members: { ComparisonOperator: {}, Value: { type: "double" } }, - required: ["ComparisonOperator", "Value"], - }, - }, - Sx: { type: "structure", members: { End: {}, Start: {} } }, - Sy: { - type: "structure", - members: { - EmailTemplate: { shape: "Sz" }, - PushTemplate: { shape: "Sz" }, - SMSTemplate: { shape: "Sz" }, - VoiceTemplate: { shape: "Sz" }, - }, - }, - Sz: { type: "structure", members: { Name: {}, Version: {} } }, - S10: { - type: "structure", - members: { LambdaFunctionName: {}, Mode: {}, WebUrl: {} }, - }, - S12: { - type: "structure", - members: { - Daily: { type: "integer" }, - MaximumDuration: { type: "integer" }, - MessagesPerSecond: { type: "integer" }, - Total: { type: "integer" }, - }, - }, - S14: { - type: "structure", - members: { - AdditionalTreatments: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - MessageConfiguration: { shape: "Sb" }, - Schedule: { shape: "Sj" }, - SizePercent: { type: "integer" }, - State: { shape: "S17" }, - TemplateConfiguration: { shape: "Sy" }, - TreatmentDescription: {}, - TreatmentName: {}, - }, - required: ["Id", "SizePercent"], - }, - }, - ApplicationId: {}, - Arn: {}, - CreationDate: {}, - DefaultState: { shape: "S17" }, - Description: {}, - HoldoutPercent: { type: "integer" }, - Hook: { shape: "S10" }, - Id: {}, - IsPaused: { type: "boolean" }, - LastModifiedDate: {}, - Limits: { shape: "S12" }, - MessageConfiguration: { shape: "Sb" }, - Name: {}, - Schedule: { shape: "Sj" }, - SegmentId: {}, - SegmentVersion: { type: "integer" }, - State: { shape: "S17" }, - tags: { shape: "S4", locationName: "tags" }, - TemplateConfiguration: { shape: "Sy" }, - TreatmentDescription: {}, - TreatmentName: {}, - Version: { type: "integer" }, - }, - required: [ - "LastModifiedDate", - "CreationDate", - "SegmentId", - "SegmentVersion", - "Id", - "Arn", - "ApplicationId", - ], - }, - S17: { type: "structure", members: { CampaignStatus: {} } }, - S1a: { - type: "structure", - members: { - DefaultSubstitutions: {}, - HtmlPart: {}, - RecommenderId: {}, - Subject: {}, - tags: { shape: "S4", locationName: "tags" }, - TemplateDescription: {}, - TextPart: {}, - }, - }, - S1c: { - type: "structure", - members: { Arn: {}, Message: {}, RequestID: {} }, - }, - S1g: { - 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: "Sp" }, - Id: {}, - JobStatus: {}, - TotalFailures: { type: "integer" }, - TotalPieces: { type: "integer" }, - TotalProcessed: { type: "integer" }, - Type: {}, - }, - required: [ - "JobStatus", - "CreationDate", - "Type", - "Definition", - "Id", - "ApplicationId", - ], - }, - S1n: { - 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: "Sp" }, - Id: {}, - JobStatus: {}, - TotalFailures: { type: "integer" }, - TotalPieces: { type: "integer" }, - TotalProcessed: { type: "integer" }, - Type: {}, - }, - required: [ - "JobStatus", - "CreationDate", - "Type", - "Definition", - "Id", - "ApplicationId", - ], - }, - S1q: { - type: "structure", - members: { - Activities: { shape: "S1r" }, - CreationDate: {}, - LastModifiedDate: {}, - Limits: { shape: "S2k" }, - LocalTime: { type: "boolean" }, - Name: {}, - QuietTime: { shape: "Sx" }, - RefreshFrequency: {}, - Schedule: { shape: "S2l" }, - StartActivity: {}, - StartCondition: { shape: "S2n" }, - State: {}, - }, - required: ["Name"], - }, - S1r: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - ConditionalSplit: { - type: "structure", - members: { - Condition: { - type: "structure", - members: { - Conditions: { type: "list", member: { shape: "S1w" } }, - Operator: {}, - }, - }, - EvaluationWaitTime: { shape: "S29" }, - 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: "S1w" }, - NextActivity: {}, - }, - }, - }, - DefaultActivity: {}, - EvaluationWaitTime: { shape: "S29" }, - }, - }, - RandomSplit: { - type: "structure", - members: { - Branches: { - type: "list", - member: { - type: "structure", - members: { - NextActivity: {}, - Percentage: { type: "integer" }, - }, - }, - }, - }, - }, - Wait: { - type: "structure", - members: { NextActivity: {}, WaitTime: { shape: "S29" } }, - }, - }, - }, - }, - S1w: { - type: "structure", - members: { - EventCondition: { - type: "structure", - members: { Dimensions: { shape: "Sl" }, MessageActivity: {} }, - required: ["Dimensions"], - }, - SegmentCondition: { shape: "S1y" }, - SegmentDimensions: { - shape: "S1z", - locationName: "segmentDimensions", - }, - }, - }, - S1y: { - type: "structure", - members: { SegmentId: {} }, - required: ["SegmentId"], - }, - S1z: { - type: "structure", - members: { - Attributes: { shape: "Sm" }, - Behavior: { - type: "structure", - members: { - Recency: { - type: "structure", - members: { Duration: {}, RecencyType: {} }, - required: ["Duration", "RecencyType"], - }, - }, - }, - Demographic: { - type: "structure", - members: { - AppVersion: { shape: "Sq" }, - Channel: { shape: "Sq" }, - DeviceType: { shape: "Sq" }, - Make: { shape: "Sq" }, - Model: { shape: "Sq" }, - Platform: { shape: "Sq" }, - }, - }, - Location: { - type: "structure", - members: { - Country: { shape: "Sq" }, - GPSPoint: { - type: "structure", - members: { - Coordinates: { - type: "structure", - members: { - Latitude: { type: "double" }, - Longitude: { type: "double" }, - }, - required: ["Latitude", "Longitude"], - }, - RangeInKilometers: { type: "double" }, - }, - required: ["Coordinates"], - }, - }, - }, - Metrics: { shape: "Ss" }, - UserAttributes: { shape: "Sm" }, - }, - }, - S29: { type: "structure", members: { WaitFor: {}, WaitUntil: {} } }, - S2k: { - type: "structure", - members: { - DailyCap: { type: "integer" }, - EndpointReentryCap: { type: "integer" }, - MessagesPerSecond: { type: "integer" }, - }, - }, - S2l: { - type: "structure", - members: { - EndTime: { shape: "S2m" }, - StartTime: { shape: "S2m" }, - Timezone: {}, - }, - }, - S2m: { type: "timestamp", timestampFormat: "iso8601" }, - S2n: { - type: "structure", - members: { - Description: {}, - SegmentStartCondition: { shape: "S1y" }, - }, - }, - S2q: { - type: "structure", - members: { - Activities: { shape: "S1r" }, - ApplicationId: {}, - CreationDate: {}, - Id: {}, - LastModifiedDate: {}, - Limits: { shape: "S2k" }, - LocalTime: { type: "boolean" }, - Name: {}, - QuietTime: { shape: "Sx" }, - RefreshFrequency: {}, - Schedule: { shape: "S2l" }, - StartActivity: {}, - StartCondition: { shape: "S2n" }, - State: {}, - tags: { shape: "S4", locationName: "tags" }, - }, - required: ["Name", "Id", "ApplicationId"], - }, - S2s: { - type: "structure", - members: { - ADM: { shape: "S2t" }, - APNS: { shape: "S2u" }, - Baidu: { shape: "S2t" }, - Default: { shape: "S2v" }, - DefaultSubstitutions: {}, - GCM: { shape: "S2t" }, - RecommenderId: {}, - tags: { shape: "S4", locationName: "tags" }, - TemplateDescription: {}, - }, - }, - S2t: { - type: "structure", - members: { - Action: {}, - Body: {}, - ImageIconUrl: {}, - ImageUrl: {}, - RawContent: {}, - SmallImageIconUrl: {}, - Sound: {}, - Title: {}, - Url: {}, - }, - }, - S2u: { - type: "structure", - members: { - Action: {}, - Body: {}, - MediaUrl: {}, - RawContent: {}, - Sound: {}, - Title: {}, - Url: {}, - }, - }, - S2v: { - type: "structure", - members: { Action: {}, Body: {}, Sound: {}, Title: {}, Url: {} }, - }, - S30: { - 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", - ], - }, - S32: { - type: "structure", - members: { - Dimensions: { shape: "S1z" }, - Name: {}, - SegmentGroups: { shape: "S33" }, - tags: { shape: "S4", locationName: "tags" }, - }, - }, - S33: { - type: "structure", - members: { - Groups: { - type: "list", - member: { - type: "structure", - members: { - Dimensions: { type: "list", member: { shape: "S1z" } }, - SourceSegments: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Version: { type: "integer" } }, - required: ["Id"], - }, - }, - SourceType: {}, - Type: {}, - }, - }, - }, - Include: {}, - }, - }, - S3d: { - type: "structure", - members: { - ApplicationId: {}, - Arn: {}, - CreationDate: {}, - Dimensions: { shape: "S1z" }, - 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: "S33" }, - SegmentType: {}, - tags: { shape: "S4", locationName: "tags" }, - Version: { type: "integer" }, - }, - required: [ - "SegmentType", - "CreationDate", - "Id", - "Arn", - "ApplicationId", - ], - }, - S3i: { - type: "structure", - members: { - Body: {}, - DefaultSubstitutions: {}, - RecommenderId: {}, - tags: { shape: "S4", locationName: "tags" }, - TemplateDescription: {}, - }, - }, - S3l: { - type: "structure", - members: { - Body: {}, - DefaultSubstitutions: {}, - LanguageCode: {}, - tags: { shape: "S4", locationName: "tags" }, - TemplateDescription: {}, - VoiceId: {}, - }, - }, - S3p: { - type: "structure", - members: { - ApplicationId: {}, - CreationDate: {}, - Enabled: { type: "boolean" }, - HasCredential: { type: "boolean" }, - Id: {}, - IsArchived: { type: "boolean" }, - LastModifiedBy: {}, - LastModifiedDate: {}, - Platform: {}, - Version: { type: "integer" }, - }, - required: ["Platform"], - }, - S3s: { - 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"], - }, - S3v: { - 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"], - }, - S3y: { - 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"], - }, - S41: { - 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"], - }, - S46: { - 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"], - }, - S4b: { - 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"], - }, - S4e: { type: "structure", members: { Message: {}, RequestID: {} } }, - S4h: { - type: "structure", - members: { - Address: {}, - ApplicationId: {}, - Attributes: { shape: "S4i" }, - ChannelType: {}, - CohortId: {}, - CreationDate: {}, - Demographic: { shape: "S4k" }, - EffectiveDate: {}, - EndpointStatus: {}, - Id: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, - OptOut: {}, - RequestId: {}, - User: { shape: "S4n" }, - }, - }, - S4i: { type: "map", key: {}, value: { shape: "Sp" } }, - S4k: { - type: "structure", - members: { - AppVersion: {}, - Locale: {}, - Make: {}, - Model: {}, - ModelVersion: {}, - Platform: {}, - PlatformVersion: {}, - Timezone: {}, - }, - }, - S4l: { - type: "structure", - members: { - City: {}, - Country: {}, - Latitude: { type: "double" }, - Longitude: { type: "double" }, - PostalCode: {}, - Region: {}, - }, - }, - S4m: { type: "map", key: {}, value: { type: "double" } }, - S4n: { - type: "structure", - members: { UserAttributes: { shape: "S4i" }, UserId: {} }, - }, - S4q: { - type: "structure", - members: { - ApplicationId: {}, - DestinationStreamArn: {}, - ExternalId: {}, - LastModifiedDate: {}, - LastUpdatedBy: {}, - RoleArn: {}, - }, - required: ["ApplicationId", "RoleArn", "DestinationStreamArn"], - }, - S4t: { - 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: {}, - 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"], - }, - S59: { - type: "structure", - members: { Item: { type: "list", member: { shape: "S4h" } } }, - required: ["Item"], - }, - S5d: { - type: "structure", - members: { - ApplicationId: {}, - CreationDate: {}, - Enabled: { type: "boolean" }, - HasCredential: { type: "boolean" }, - Id: {}, - IsArchived: { type: "boolean" }, - LastModifiedBy: {}, - LastModifiedDate: {}, - Platform: {}, - Version: { type: "integer" }, - }, - required: ["Platform"], - }, - S5v: { - type: "structure", - members: { - Rows: { - type: "list", - member: { - type: "structure", - members: { - GroupedBys: { shape: "S5y" }, - Values: { shape: "S5y" }, - }, - required: ["GroupedBys", "Values"], - }, - }, - }, - required: ["Rows"], - }, - S5y: { - type: "list", - member: { - type: "structure", - members: { Key: {}, Type: {}, Value: {} }, - required: ["Type", "Value", "Key"], - }, - }, - S62: { - type: "structure", - members: { - ApplicationId: {}, - CampaignHook: { shape: "S10" }, - LastModifiedDate: {}, - Limits: { shape: "S12" }, - QuietTime: { shape: "Sx" }, - }, - required: ["ApplicationId"], - }, - S6n: { - type: "structure", - members: { - Item: { type: "list", member: { shape: "S14" } }, - NextToken: {}, - }, - required: ["Item"], - }, - S7a: { - type: "structure", - members: { - Item: { type: "list", member: { shape: "S1g" } }, - NextToken: {}, - }, - required: ["Item"], - }, - S7i: { - type: "structure", - members: { - Item: { type: "list", member: { shape: "S1n" } }, - NextToken: {}, - }, - required: ["Item"], - }, - S8e: { - type: "structure", - members: { - Item: { type: "list", member: { shape: "S3d" } }, - NextToken: {}, - }, - required: ["Item"], - }, - S90: { - type: "structure", - members: { tags: { shape: "S4", locationName: "tags" } }, - required: ["tags"], - }, - Sa5: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - BodyOverride: {}, - Context: { shape: "S4" }, - RawContent: {}, - Substitutions: { shape: "S4i" }, - TitleOverride: {}, - }, - }, - }, - Sa7: { - 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: "S4i" }, - 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: "S4i" }, - 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: "S4i" }, - TimeToLive: { type: "integer" }, - Title: {}, - Url: {}, - }, - }, - DefaultMessage: { - type: "structure", - members: { Body: {}, Substitutions: { shape: "S4i" } }, - }, - DefaultPushNotificationMessage: { - type: "structure", - members: { - Action: {}, - Body: {}, - Data: { shape: "S4" }, - SilentPush: { type: "boolean" }, - Substitutions: { shape: "S4i" }, - Title: {}, - Url: {}, - }, - }, - EmailMessage: { - type: "structure", - members: { - Body: {}, - FeedbackForwardingAddress: {}, - FromAddress: {}, - RawEmail: { - type: "structure", - members: { Data: { type: "blob" } }, - }, - ReplyToAddresses: { shape: "Sp" }, - SimpleEmail: { - type: "structure", - members: { - HtmlPart: { shape: "Sah" }, - Subject: { shape: "Sah" }, - TextPart: { shape: "Sah" }, - }, - }, - Substitutions: { shape: "S4i" }, - }, - }, - GCMMessage: { - type: "structure", - members: { - Action: {}, - Body: {}, - CollapseKey: {}, - Data: { shape: "S4" }, - IconReference: {}, - ImageIconUrl: {}, - ImageUrl: {}, - Priority: {}, - RawContent: {}, - RestrictedPackageName: {}, - SilentPush: { type: "boolean" }, - SmallImageIconUrl: {}, - Sound: {}, - Substitutions: { shape: "S4i" }, - TimeToLive: { type: "integer" }, - Title: {}, - Url: {}, - }, - }, - SMSMessage: { - type: "structure", - members: { - Body: {}, - Keyword: {}, - MediaUrl: {}, - MessageType: {}, - OriginationNumber: {}, - SenderId: {}, - Substitutions: { shape: "S4i" }, - }, - }, - VoiceMessage: { - type: "structure", - members: { - Body: {}, - LanguageCode: {}, - OriginationNumber: {}, - Substitutions: { shape: "S4i" }, - VoiceId: {}, - }, - }, - }, - }, - Sah: { type: "structure", members: { Charset: {}, Data: {} } }, - San: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - Address: {}, - DeliveryStatus: {}, - MessageId: {}, - StatusCode: { type: "integer" }, - StatusMessage: {}, - UpdatedToken: {}, - }, - required: ["DeliveryStatus", "StatusCode"], - }, - }, + owner: { + type: "string" }, - }; - - /***/ - }, - - /***/ 1009: /***/ function (module) { - module.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", - }, - 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", - }, - 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", - }, + private: { + type: "boolean" }, - }; - - /***/ + template_owner: { + required: true, + type: "string" + }, + template_repo: { + required: true, + type: "string" + } + }, + url: "/repos/:template_owner/:template_repo/generate" }, - - /***/ 1010: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2013-04-15", - endpointPrefix: "support", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Support", - serviceId: "Support", - signatureVersion: "v4", - targetPrefix: "AWSSupport_20130415", - uid: "support-2013-04-15", - }, - operations: { - AddAttachmentsToSet: { - input: { - type: "structure", - required: ["attachments"], - members: { - attachmentSetId: {}, - attachments: { type: "list", member: { shape: "S4" } }, - }, - }, - output: { - type: "structure", - members: { attachmentSetId: {}, expiryTime: {} }, - }, - }, - AddCommunicationToCase: { - input: { - type: "structure", - required: ["communicationBody"], - members: { - caseId: {}, - communicationBody: {}, - ccEmailAddresses: { shape: "Sc" }, - attachmentSetId: {}, - }, - }, - output: { - type: "structure", - members: { result: { type: "boolean" } }, - }, - }, - CreateCase: { - input: { - type: "structure", - required: ["subject", "communicationBody"], - members: { - subject: {}, - serviceCode: {}, - severityCode: {}, - categoryCode: {}, - communicationBody: {}, - ccEmailAddresses: { shape: "Sc" }, - language: {}, - issueType: {}, - attachmentSetId: {}, - }, - }, - output: { type: "structure", members: { caseId: {} } }, - }, - DescribeAttachment: { - input: { - type: "structure", - required: ["attachmentId"], - members: { attachmentId: {} }, - }, - output: { - type: "structure", - members: { attachment: { shape: "S4" } }, - }, - }, - DescribeCases: { - input: { - type: "structure", - members: { - caseIdList: { type: "list", member: {} }, - displayId: {}, - afterTime: {}, - beforeTime: {}, - includeResolvedCases: { type: "boolean" }, - nextToken: {}, - maxResults: { type: "integer" }, - language: {}, - includeCommunications: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - cases: { - type: "list", - member: { - type: "structure", - members: { - caseId: {}, - displayId: {}, - subject: {}, - status: {}, - serviceCode: {}, - categoryCode: {}, - severityCode: {}, - submittedBy: {}, - timeCreated: {}, - recentCommunications: { - type: "structure", - members: { - communications: { shape: "S17" }, - nextToken: {}, - }, - }, - ccEmailAddresses: { shape: "Sc" }, - language: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - DescribeCommunications: { - input: { - type: "structure", - required: ["caseId"], - members: { - caseId: {}, - beforeTime: {}, - afterTime: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { communications: { shape: "S17" }, nextToken: {} }, - }, - }, - DescribeServices: { - input: { - type: "structure", - members: { - serviceCodeList: { type: "list", member: {} }, - language: {}, - }, - }, - output: { - type: "structure", - members: { - services: { - type: "list", - member: { - type: "structure", - members: { - code: {}, - name: {}, - categories: { - type: "list", - member: { - type: "structure", - members: { code: {}, name: {} }, - }, - }, - }, - }, - }, - }, - }, - }, - DescribeSeverityLevels: { - input: { type: "structure", members: { language: {} } }, - output: { - type: "structure", - members: { - severityLevels: { - type: "list", - member: { - type: "structure", - members: { code: {}, name: {} }, - }, - }, - }, - }, - }, - DescribeTrustedAdvisorCheckRefreshStatuses: { - input: { - type: "structure", - required: ["checkIds"], - members: { checkIds: { shape: "S1t" } }, - }, - output: { - type: "structure", - required: ["statuses"], - members: { statuses: { type: "list", member: { shape: "S1x" } } }, - }, - }, - DescribeTrustedAdvisorCheckResult: { - input: { - type: "structure", - required: ["checkId"], - members: { checkId: {}, language: {} }, - }, - output: { - type: "structure", - members: { - result: { - type: "structure", - required: [ - "checkId", - "timestamp", - "status", - "resourcesSummary", - "categorySpecificSummary", - "flaggedResources", - ], - members: { - checkId: {}, - timestamp: {}, - status: {}, - resourcesSummary: { shape: "S22" }, - categorySpecificSummary: { shape: "S23" }, - flaggedResources: { - type: "list", - member: { - type: "structure", - required: ["status", "resourceId", "metadata"], - members: { - status: {}, - region: {}, - resourceId: {}, - isSuppressed: { type: "boolean" }, - metadata: { shape: "S1t" }, - }, - }, - }, - }, - }, - }, - }, - }, - DescribeTrustedAdvisorCheckSummaries: { - input: { - type: "structure", - required: ["checkIds"], - members: { checkIds: { shape: "S1t" } }, - }, - output: { - type: "structure", - required: ["summaries"], - members: { - summaries: { - type: "list", - member: { - type: "structure", - required: [ - "checkId", - "timestamp", - "status", - "resourcesSummary", - "categorySpecificSummary", - ], - members: { - checkId: {}, - timestamp: {}, - status: {}, - hasFlaggedResources: { type: "boolean" }, - resourcesSummary: { shape: "S22" }, - categorySpecificSummary: { shape: "S23" }, - }, - }, - }, - }, - }, - }, - DescribeTrustedAdvisorChecks: { - input: { - type: "structure", - required: ["language"], - members: { language: {} }, - }, - output: { - type: "structure", - required: ["checks"], - members: { - checks: { - type: "list", - member: { - type: "structure", - required: [ - "id", - "name", - "description", - "category", - "metadata", - ], - members: { - id: {}, - name: {}, - description: {}, - category: {}, - metadata: { shape: "S1t" }, - }, - }, - }, - }, - }, - }, - RefreshTrustedAdvisorCheck: { - input: { - type: "structure", - required: ["checkId"], - members: { checkId: {} }, - }, - output: { - type: "structure", - required: ["status"], - members: { status: { shape: "S1x" } }, - }, - }, - ResolveCase: { - input: { type: "structure", members: { caseId: {} } }, - output: { - type: "structure", - members: { initialCaseStatus: {}, finalCaseStatus: {} }, - }, - }, + declineInvitation: { + method: "DELETE", + params: { + invitation_id: { + required: true, + type: "integer" + } + }, + url: "/user/repository_invitations/:invitation_id" + }, + delete: { + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo" + }, + deleteCommitComment: { + method: "DELETE", + params: { + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/comments/:comment_id" + }, + deleteDownload: { + method: "DELETE", + params: { + download_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/downloads/:download_id" + }, + deleteFile: { + method: "DELETE", + params: { + author: { + type: "object" + }, + "author.email": { + type: "string" + }, + "author.name": { + type: "string" + }, + branch: { + type: "string" + }, + committer: { + type: "object" + }, + "committer.email": { + type: "string" + }, + "committer.name": { + type: "string" + }, + message: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + path: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/contents/:path" + }, + deleteHook: { + method: "DELETE", + params: { + hook_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/hooks/:hook_id" + }, + deleteInvitation: { + method: "DELETE", + params: { + invitation_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/invitations/:invitation_id" + }, + deleteRelease: { + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + release_id: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases/:release_id" + }, + deleteReleaseAsset: { + method: "DELETE", + params: { + asset_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases/assets/:asset_id" + }, + disableAutomatedSecurityFixes: { + headers: { + accept: "application/vnd.github.london-preview+json" + }, + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/automated-security-fixes" + }, + disablePagesSite: { + headers: { + accept: "application/vnd.github.switcheroo-preview+json" + }, + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pages" + }, + disableVulnerabilityAlerts: { + headers: { + accept: "application/vnd.github.dorian-preview+json" + }, + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/vulnerability-alerts" + }, + enableAutomatedSecurityFixes: { + headers: { + accept: "application/vnd.github.london-preview+json" + }, + method: "PUT", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/automated-security-fixes" + }, + enablePagesSite: { + headers: { + accept: "application/vnd.github.switcheroo-preview+json" + }, + method: "POST", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + source: { + type: "object" + }, + "source.branch": { + enum: ["master", "gh-pages"], + type: "string" + }, + "source.path": { + type: "string" + } + }, + url: "/repos/:owner/:repo/pages" + }, + enableVulnerabilityAlerts: { + headers: { + accept: "application/vnd.github.dorian-preview+json" + }, + method: "PUT", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/vulnerability-alerts" + }, + get: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo" + }, + getAppsWithAccessToProtectedBranch: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps" + }, + getArchiveLink: { + method: "GET", + params: { + archive_format: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/:archive_format/:ref" + }, + getBranch: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch" + }, + getBranchProtection: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection" + }, + getClones: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + per: { + enum: ["day", "week"], + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/traffic/clones" + }, + getCodeFrequencyStats: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/stats/code_frequency" + }, + getCollaboratorPermissionLevel: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/collaborators/:username/permission" + }, + getCombinedStatusForRef: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:ref/status" + }, + getCommit: { + method: "GET", + params: { + commit_sha: { + alias: "ref", + deprecated: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + alias: "ref", + deprecated: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:ref" + }, + getCommitActivityStats: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/stats/commit_activity" + }, + getCommitComment: { + method: "GET", + params: { + comment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/comments/:comment_id" + }, + getCommitRefSha: { + deprecated: "octokit.repos.getCommitRefSha() is deprecated, see https://developer.github.com/v3/repos/commits/#get-a-single-commit", + headers: { + accept: "application/vnd.github.v3.sha" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:ref" + }, + getContents: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + path: { + required: true, + type: "string" + }, + ref: { + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/contents/:path" + }, + getContributorsStats: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/stats/contributors" + }, + getDeployKey: { + method: "GET", + params: { + key_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/keys/:key_id" + }, + getDeployment: { + method: "GET", + params: { + deployment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/deployments/:deployment_id" + }, + getDeploymentStatus: { + method: "GET", + params: { + deployment_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + status_id: { + required: true, + type: "integer" + } + }, + url: "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id" + }, + getDownload: { + method: "GET", + params: { + download_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/downloads/:download_id" + }, + getHook: { + method: "GET", + params: { + hook_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/hooks/:hook_id" + }, + getLatestPagesBuild: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pages/builds/latest" + }, + getLatestRelease: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases/latest" + }, + getPages: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pages" + }, + getPagesBuild: { + method: "GET", + params: { + build_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pages/builds/:build_id" + }, + getParticipationStats: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/stats/participation" + }, + getProtectedBranchAdminEnforcement: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins" + }, + getProtectedBranchPullRequestReviewEnforcement: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews" + }, + getProtectedBranchRequiredSignatures: { + headers: { + accept: "application/vnd.github.zzzax-preview+json" + }, + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures" + }, + getProtectedBranchRequiredStatusChecks: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks" + }, + getProtectedBranchRestrictions: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions" + }, + getPunchCardStats: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/stats/punch_card" + }, + getReadme: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + ref: { + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/readme" + }, + getRelease: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + release_id: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases/:release_id" + }, + getReleaseAsset: { + method: "GET", + params: { + asset_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases/assets/:asset_id" + }, + getReleaseByTag: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + tag: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases/tags/:tag" + }, + getTeamsWithAccessToProtectedBranch: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams" + }, + getTopPaths: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/traffic/popular/paths" + }, + getTopReferrers: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/traffic/popular/referrers" + }, + getUsersWithAccessToProtectedBranch: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users" + }, + getViews: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + per: { + enum: ["day", "week"], + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/traffic/views" + }, + list: { + method: "GET", + params: { + affiliation: { + type: "string" + }, + direction: { + enum: ["asc", "desc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + sort: { + enum: ["created", "updated", "pushed", "full_name"], + type: "string" + }, + type: { + enum: ["all", "owner", "public", "private", "member"], + type: "string" + }, + visibility: { + enum: ["all", "public", "private"], + type: "string" + } + }, + url: "/user/repos" + }, + listAppsWithAccessToProtectedBranch: { + deprecated: "octokit.repos.listAppsWithAccessToProtectedBranch() has been renamed to octokit.repos.getAppsWithAccessToProtectedBranch() (2019-09-13)", + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps" + }, + listAssetsForRelease: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + release_id: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases/:release_id/assets" + }, + listBranches: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + protected: { + type: "boolean" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches" + }, + listBranchesForHeadCommit: { + headers: { + accept: "application/vnd.github.groot-preview+json" + }, + method: "GET", + params: { + commit_sha: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:commit_sha/branches-where-head" + }, + listCollaborators: { + method: "GET", + params: { + affiliation: { + enum: ["outside", "direct", "all"], + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/collaborators" + }, + listCommentsForCommit: { + method: "GET", + params: { + commit_sha: { + required: true, + type: "string" }, - shapes: { - S4: { - type: "structure", - members: { fileName: {}, data: { type: "blob" } }, - }, - Sc: { type: "list", member: {} }, - S17: { - type: "list", - member: { - type: "structure", - members: { - caseId: {}, - body: {}, - submittedBy: {}, - timeCreated: {}, - attachmentSet: { - type: "list", - member: { - type: "structure", - members: { attachmentId: {}, fileName: {} }, - }, - }, - }, - }, - }, - S1t: { type: "list", member: {} }, - S1x: { - type: "structure", - required: ["checkId", "status", "millisUntilNextRefreshable"], - members: { - checkId: {}, - status: {}, - millisUntilNextRefreshable: { type: "long" }, - }, - }, - S22: { - type: "structure", - required: [ - "resourcesProcessed", - "resourcesFlagged", - "resourcesIgnored", - "resourcesSuppressed", - ], - members: { - resourcesProcessed: { type: "long" }, - resourcesFlagged: { type: "long" }, - resourcesIgnored: { type: "long" }, - resourcesSuppressed: { type: "long" }, - }, - }, - S23: { - type: "structure", - members: { - costOptimizing: { - type: "structure", - required: [ - "estimatedMonthlySavings", - "estimatedPercentMonthlySavings", - ], - members: { - estimatedMonthlySavings: { type: "double" }, - estimatedPercentMonthlySavings: { type: "double" }, - }, - }, - }, - }, + owner: { + required: true, + type: "string" }, - }; - - /***/ + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + ref: { + alias: "commit_sha", + deprecated: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:commit_sha/comments" }, - - /***/ 1015: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["xray"] = {}; - AWS.XRay = Service.defineService("xray", ["2016-04-12"]); - Object.defineProperty(apiLoader.services["xray"], "2016-04-12", { - get: function get() { - var model = __webpack_require__(5840); - model.paginators = __webpack_require__(5093).pagination; - return model; + listCommitComments: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.XRay; - - /***/ + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/comments" }, - - /***/ 1018: /***/ function () { - eval("require")("encoding"); - - /***/ + listCommits: { + method: "GET", + params: { + author: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + path: { + type: "string" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + sha: { + type: "string" + }, + since: { + type: "string" + }, + until: { + type: "string" + } + }, + url: "/repos/:owner/:repo/commits" }, - - /***/ 1032: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["pi"] = {}; - AWS.PI = Service.defineService("pi", ["2018-02-27"]); - Object.defineProperty(apiLoader.services["pi"], "2018-02-27", { - get: function get() { - var model = __webpack_require__(2490); - model.paginators = __webpack_require__(6202).pagination; - return model; + listContributors: { + method: "GET", + params: { + anon: { + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.PI; - - /***/ + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/contributors" }, - - /***/ 1033: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-01-01", - endpointPrefix: "dms", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Database Migration Service", - serviceId: "Database Migration Service", - signatureVersion: "v4", - targetPrefix: "AmazonDMSv20160101", - uid: "dms-2016-01-01", - }, - operations: { - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "S3" } }, - }, - output: { type: "structure", members: {} }, - }, - ApplyPendingMaintenanceAction: { - input: { - type: "structure", - required: ["ReplicationInstanceArn", "ApplyAction", "OptInType"], - members: { - ReplicationInstanceArn: {}, - ApplyAction: {}, - OptInType: {}, - }, - }, - output: { - type: "structure", - members: { ResourcePendingMaintenanceActions: { shape: "S8" } }, - }, - }, - CreateEndpoint: { - input: { - type: "structure", - required: ["EndpointIdentifier", "EndpointType", "EngineName"], - members: { - EndpointIdentifier: {}, - EndpointType: {}, - EngineName: {}, - Username: {}, - Password: { shape: "Se" }, - ServerName: {}, - Port: { type: "integer" }, - DatabaseName: {}, - ExtraConnectionAttributes: {}, - KmsKeyId: {}, - Tags: { shape: "S3" }, - CertificateArn: {}, - SslMode: {}, - ServiceAccessRoleArn: {}, - ExternalTableDefinition: {}, - DynamoDbSettings: { shape: "Sh" }, - S3Settings: { shape: "Si" }, - DmsTransferSettings: { shape: "Sp" }, - MongoDbSettings: { shape: "Sq" }, - KinesisSettings: { shape: "Su" }, - KafkaSettings: { shape: "Sw" }, - ElasticsearchSettings: { shape: "Sx" }, - RedshiftSettings: { shape: "Sy" }, - }, - }, - output: { - type: "structure", - members: { Endpoint: { shape: "S10" } }, - }, - }, - CreateEventSubscription: { - input: { - type: "structure", - required: ["SubscriptionName", "SnsTopicArn"], - members: { - SubscriptionName: {}, - SnsTopicArn: {}, - SourceType: {}, - EventCategories: { shape: "S12" }, - SourceIds: { shape: "S13" }, - Enabled: { type: "boolean" }, - Tags: { shape: "S3" }, - }, - }, - output: { - type: "structure", - members: { EventSubscription: { shape: "S15" } }, - }, - }, - CreateReplicationInstance: { - input: { - type: "structure", - required: [ - "ReplicationInstanceIdentifier", - "ReplicationInstanceClass", - ], - members: { - ReplicationInstanceIdentifier: {}, - AllocatedStorage: { type: "integer" }, - ReplicationInstanceClass: {}, - VpcSecurityGroupIds: { shape: "S18" }, - AvailabilityZone: {}, - ReplicationSubnetGroupIdentifier: {}, - PreferredMaintenanceWindow: {}, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - Tags: { shape: "S3" }, - KmsKeyId: {}, - PubliclyAccessible: { type: "boolean" }, - DnsNameServers: {}, - }, - }, - output: { - type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, - }, - }, - CreateReplicationSubnetGroup: { - input: { - type: "structure", - required: [ - "ReplicationSubnetGroupIdentifier", - "ReplicationSubnetGroupDescription", - "SubnetIds", - ], - members: { - ReplicationSubnetGroupIdentifier: {}, - ReplicationSubnetGroupDescription: {}, - SubnetIds: { shape: "S1m" }, - Tags: { shape: "S3" }, - }, - }, - output: { - type: "structure", - members: { ReplicationSubnetGroup: { shape: "S1e" } }, - }, - }, - CreateReplicationTask: { - input: { - type: "structure", - required: [ - "ReplicationTaskIdentifier", - "SourceEndpointArn", - "TargetEndpointArn", - "ReplicationInstanceArn", - "MigrationType", - "TableMappings", - ], - members: { - ReplicationTaskIdentifier: {}, - SourceEndpointArn: {}, - TargetEndpointArn: {}, - ReplicationInstanceArn: {}, - MigrationType: {}, - TableMappings: {}, - ReplicationTaskSettings: {}, - CdcStartTime: { type: "timestamp" }, - CdcStartPosition: {}, - CdcStopPosition: {}, - Tags: { shape: "S3" }, - }, - }, - output: { - type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, - }, - }, - DeleteCertificate: { - input: { - type: "structure", - required: ["CertificateArn"], - members: { CertificateArn: {} }, - }, - output: { - type: "structure", - members: { Certificate: { shape: "S1w" } }, - }, - }, - DeleteConnection: { - input: { - type: "structure", - required: ["EndpointArn", "ReplicationInstanceArn"], - members: { EndpointArn: {}, ReplicationInstanceArn: {} }, - }, - output: { - type: "structure", - members: { Connection: { shape: "S20" } }, - }, - }, - DeleteEndpoint: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, - }, - output: { - type: "structure", - members: { Endpoint: { shape: "S10" } }, - }, - }, - DeleteEventSubscription: { - input: { - type: "structure", - required: ["SubscriptionName"], - members: { SubscriptionName: {} }, - }, - output: { - type: "structure", - members: { EventSubscription: { shape: "S15" } }, - }, - }, - DeleteReplicationInstance: { - input: { - type: "structure", - required: ["ReplicationInstanceArn"], - members: { ReplicationInstanceArn: {} }, - }, - output: { - type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, - }, - }, - DeleteReplicationSubnetGroup: { - input: { - type: "structure", - required: ["ReplicationSubnetGroupIdentifier"], - members: { ReplicationSubnetGroupIdentifier: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteReplicationTask: { - input: { - type: "structure", - required: ["ReplicationTaskArn"], - members: { ReplicationTaskArn: {} }, - }, - output: { - type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, - }, - }, - DescribeAccountAttributes: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - AccountQuotas: { - type: "list", - member: { - type: "structure", - members: { - AccountQuotaName: {}, - Used: { type: "long" }, - Max: { type: "long" }, - }, - }, - }, - UniqueAccountIdentifier: {}, - }, - }, - }, - DescribeCertificates: { - input: { - type: "structure", - members: { - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - Certificates: { type: "list", member: { shape: "S1w" } }, - }, - }, - }, - DescribeConnections: { - input: { - type: "structure", - members: { - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - Connections: { type: "list", member: { shape: "S20" } }, - }, - }, - }, - DescribeEndpointTypes: { - input: { - type: "structure", - members: { - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - SupportedEndpointTypes: { - type: "list", - member: { - type: "structure", - members: { - EngineName: {}, - SupportsCDC: { type: "boolean" }, - EndpointType: {}, - EngineDisplayName: {}, - }, - }, - }, - }, - }, - }, - DescribeEndpoints: { - input: { - type: "structure", - members: { - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - Endpoints: { type: "list", member: { shape: "S10" } }, - }, - }, - }, - DescribeEventCategories: { - input: { - type: "structure", - members: { SourceType: {}, Filters: { shape: "S2g" } }, - }, - output: { - type: "structure", - members: { - EventCategoryGroupList: { - type: "list", - member: { - type: "structure", - members: { - SourceType: {}, - EventCategories: { shape: "S12" }, - }, - }, - }, - }, - }, - }, - DescribeEventSubscriptions: { - input: { - type: "structure", - members: { - SubscriptionName: {}, - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - EventSubscriptionsList: { - type: "list", - member: { shape: "S15" }, - }, - }, - }, - }, - DescribeEvents: { - input: { - type: "structure", - members: { - SourceIdentifier: {}, - SourceType: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Duration: { type: "integer" }, - EventCategories: { shape: "S12" }, - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - Events: { - type: "list", - member: { - type: "structure", - members: { - SourceIdentifier: {}, - SourceType: {}, - Message: {}, - EventCategories: { shape: "S12" }, - Date: { type: "timestamp" }, - }, - }, - }, - }, - }, - }, - DescribeOrderableReplicationInstances: { - input: { - type: "structure", - members: { MaxRecords: { type: "integer" }, Marker: {} }, - }, - output: { - type: "structure", - members: { - OrderableReplicationInstances: { - type: "list", - member: { - type: "structure", - members: { - EngineVersion: {}, - ReplicationInstanceClass: {}, - StorageType: {}, - MinAllocatedStorage: { type: "integer" }, - MaxAllocatedStorage: { type: "integer" }, - DefaultAllocatedStorage: { type: "integer" }, - IncludedAllocatedStorage: { type: "integer" }, - AvailabilityZones: { type: "list", member: {} }, - ReleaseStatus: {}, - }, - }, - }, - Marker: {}, - }, - }, - }, - DescribePendingMaintenanceActions: { - input: { - type: "structure", - members: { - ReplicationInstanceArn: {}, - Filters: { shape: "S2g" }, - Marker: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - PendingMaintenanceActions: { - type: "list", - member: { shape: "S8" }, - }, - Marker: {}, - }, - }, - }, - DescribeRefreshSchemasStatus: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, - }, - output: { - type: "structure", - members: { RefreshSchemasStatus: { shape: "S3i" } }, - }, - }, - DescribeReplicationInstanceTaskLogs: { - input: { - type: "structure", - required: ["ReplicationInstanceArn"], - members: { - ReplicationInstanceArn: {}, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - ReplicationInstanceArn: {}, - ReplicationInstanceTaskLogs: { - type: "list", - member: { - type: "structure", - members: { - ReplicationTaskName: {}, - ReplicationTaskArn: {}, - ReplicationInstanceTaskLogSize: { type: "long" }, - }, - }, - }, - Marker: {}, - }, - }, - }, - DescribeReplicationInstances: { - input: { - type: "structure", - members: { - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - ReplicationInstances: { - type: "list", - member: { shape: "S1a" }, - }, - }, - }, - }, - DescribeReplicationSubnetGroups: { - input: { - type: "structure", - members: { - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - ReplicationSubnetGroups: { - type: "list", - member: { shape: "S1e" }, - }, - }, - }, - }, - DescribeReplicationTaskAssessmentResults: { - input: { - type: "structure", - members: { - ReplicationTaskArn: {}, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - BucketName: {}, - ReplicationTaskAssessmentResults: { - type: "list", - member: { - type: "structure", - members: { - ReplicationTaskIdentifier: {}, - ReplicationTaskArn: {}, - ReplicationTaskLastAssessmentDate: { type: "timestamp" }, - AssessmentStatus: {}, - AssessmentResultsFile: {}, - AssessmentResults: {}, - S3ObjectUrl: {}, - }, - }, - }, - }, - }, - }, - DescribeReplicationTasks: { - input: { - type: "structure", - members: { - Filters: { shape: "S2g" }, - MaxRecords: { type: "integer" }, - Marker: {}, - WithoutSettings: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Marker: {}, - ReplicationTasks: { type: "list", member: { shape: "S1r" } }, - }, - }, - }, - DescribeSchemas: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { - EndpointArn: {}, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - type: "structure", - members: { Marker: {}, Schemas: { type: "list", member: {} } }, - }, - }, - DescribeTableStatistics: { - input: { - type: "structure", - required: ["ReplicationTaskArn"], - members: { - ReplicationTaskArn: {}, - MaxRecords: { type: "integer" }, - Marker: {}, - Filters: { shape: "S2g" }, - }, - }, - output: { - type: "structure", - members: { - ReplicationTaskArn: {}, - TableStatistics: { - type: "list", - member: { - type: "structure", - members: { - SchemaName: {}, - TableName: {}, - Inserts: { type: "long" }, - Deletes: { type: "long" }, - Updates: { type: "long" }, - Ddls: { type: "long" }, - FullLoadRows: { type: "long" }, - FullLoadCondtnlChkFailedRows: { type: "long" }, - FullLoadErrorRows: { type: "long" }, - FullLoadStartTime: { type: "timestamp" }, - FullLoadEndTime: { type: "timestamp" }, - FullLoadReloaded: { type: "boolean" }, - LastUpdateTime: { type: "timestamp" }, - TableState: {}, - ValidationPendingRecords: { type: "long" }, - ValidationFailedRecords: { type: "long" }, - ValidationSuspendedRecords: { type: "long" }, - ValidationState: {}, - ValidationStateDetails: {}, - }, - }, - }, - Marker: {}, - }, - }, - }, - ImportCertificate: { - input: { - type: "structure", - required: ["CertificateIdentifier"], - members: { - CertificateIdentifier: {}, - CertificatePem: {}, - CertificateWallet: { type: "blob" }, - Tags: { shape: "S3" }, - }, - }, - output: { - type: "structure", - members: { Certificate: { shape: "S1w" } }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { - type: "structure", - members: { TagList: { shape: "S3" } }, - }, - }, - ModifyEndpoint: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { - EndpointArn: {}, - EndpointIdentifier: {}, - EndpointType: {}, - EngineName: {}, - Username: {}, - Password: { shape: "Se" }, - ServerName: {}, - Port: { type: "integer" }, - DatabaseName: {}, - ExtraConnectionAttributes: {}, - CertificateArn: {}, - SslMode: {}, - ServiceAccessRoleArn: {}, - ExternalTableDefinition: {}, - DynamoDbSettings: { shape: "Sh" }, - S3Settings: { shape: "Si" }, - DmsTransferSettings: { shape: "Sp" }, - MongoDbSettings: { shape: "Sq" }, - KinesisSettings: { shape: "Su" }, - KafkaSettings: { shape: "Sw" }, - ElasticsearchSettings: { shape: "Sx" }, - RedshiftSettings: { shape: "Sy" }, - }, - }, - output: { - type: "structure", - members: { Endpoint: { shape: "S10" } }, - }, - }, - ModifyEventSubscription: { - input: { - type: "structure", - required: ["SubscriptionName"], - members: { - SubscriptionName: {}, - SnsTopicArn: {}, - SourceType: {}, - EventCategories: { shape: "S12" }, - Enabled: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { EventSubscription: { shape: "S15" } }, - }, - }, - ModifyReplicationInstance: { - input: { - type: "structure", - required: ["ReplicationInstanceArn"], - members: { - ReplicationInstanceArn: {}, - AllocatedStorage: { type: "integer" }, - ApplyImmediately: { type: "boolean" }, - ReplicationInstanceClass: {}, - VpcSecurityGroupIds: { shape: "S18" }, - PreferredMaintenanceWindow: {}, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - AllowMajorVersionUpgrade: { type: "boolean" }, - AutoMinorVersionUpgrade: { type: "boolean" }, - ReplicationInstanceIdentifier: {}, - }, - }, - output: { - type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, - }, - }, - ModifyReplicationSubnetGroup: { - input: { - type: "structure", - required: ["ReplicationSubnetGroupIdentifier", "SubnetIds"], - members: { - ReplicationSubnetGroupIdentifier: {}, - ReplicationSubnetGroupDescription: {}, - SubnetIds: { shape: "S1m" }, - }, - }, - output: { - type: "structure", - members: { ReplicationSubnetGroup: { shape: "S1e" } }, - }, - }, - ModifyReplicationTask: { - input: { - type: "structure", - required: ["ReplicationTaskArn"], - members: { - ReplicationTaskArn: {}, - ReplicationTaskIdentifier: {}, - MigrationType: {}, - TableMappings: {}, - ReplicationTaskSettings: {}, - CdcStartTime: { type: "timestamp" }, - CdcStartPosition: {}, - CdcStopPosition: {}, - }, - }, - output: { - type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, - }, - }, - RebootReplicationInstance: { - input: { - type: "structure", - required: ["ReplicationInstanceArn"], - members: { - ReplicationInstanceArn: {}, - ForceFailover: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, - }, - }, - RefreshSchemas: { - input: { - type: "structure", - required: ["EndpointArn", "ReplicationInstanceArn"], - members: { EndpointArn: {}, ReplicationInstanceArn: {} }, - }, - output: { - type: "structure", - members: { RefreshSchemasStatus: { shape: "S3i" } }, - }, - }, - ReloadTables: { - input: { - type: "structure", - required: ["ReplicationTaskArn", "TablesToReload"], - members: { - ReplicationTaskArn: {}, - TablesToReload: { - type: "list", - member: { - type: "structure", - members: { SchemaName: {}, TableName: {} }, - }, - }, - ReloadOption: {}, - }, - }, - output: { type: "structure", members: { ReplicationTaskArn: {} } }, - }, - RemoveTagsFromResource: { - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - StartReplicationTask: { - input: { - type: "structure", - required: ["ReplicationTaskArn", "StartReplicationTaskType"], - members: { - ReplicationTaskArn: {}, - StartReplicationTaskType: {}, - CdcStartTime: { type: "timestamp" }, - CdcStartPosition: {}, - CdcStopPosition: {}, - }, - }, - output: { - type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, - }, - }, - StartReplicationTaskAssessment: { - input: { - type: "structure", - required: ["ReplicationTaskArn"], - members: { ReplicationTaskArn: {} }, - }, - output: { - type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, - }, - }, - StopReplicationTask: { - input: { - type: "structure", - required: ["ReplicationTaskArn"], - members: { ReplicationTaskArn: {} }, - }, - output: { - type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, - }, - }, - TestConnection: { - input: { - type: "structure", - required: ["ReplicationInstanceArn", "EndpointArn"], - members: { ReplicationInstanceArn: {}, EndpointArn: {} }, - }, - output: { - type: "structure", - members: { Connection: { shape: "S20" } }, - }, - }, + listDeployKeys: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - shapes: { - S3: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - S8: { - type: "structure", - members: { - ResourceIdentifier: {}, - PendingMaintenanceActionDetails: { - type: "list", - member: { - type: "structure", - members: { - Action: {}, - AutoAppliedAfterDate: { type: "timestamp" }, - ForcedApplyDate: { type: "timestamp" }, - OptInStatus: {}, - CurrentApplyDate: { type: "timestamp" }, - Description: {}, - }, - }, - }, - }, - }, - Se: { type: "string", sensitive: true }, - Sh: { - type: "structure", - required: ["ServiceAccessRoleArn"], - members: { ServiceAccessRoleArn: {} }, - }, - Si: { - type: "structure", - members: { - ServiceAccessRoleArn: {}, - ExternalTableDefinition: {}, - CsvRowDelimiter: {}, - CsvDelimiter: {}, - BucketFolder: {}, - BucketName: {}, - CompressionType: {}, - EncryptionMode: {}, - ServerSideEncryptionKmsKeyId: {}, - DataFormat: {}, - EncodingType: {}, - DictPageSizeLimit: { type: "integer" }, - RowGroupLength: { type: "integer" }, - DataPageSize: { type: "integer" }, - ParquetVersion: {}, - EnableStatistics: { type: "boolean" }, - IncludeOpForFullLoad: { type: "boolean" }, - CdcInsertsOnly: { type: "boolean" }, - TimestampColumnName: {}, - ParquetTimestampInMillisecond: { type: "boolean" }, - CdcInsertsAndUpdates: { type: "boolean" }, - }, - }, - Sp: { - type: "structure", - members: { ServiceAccessRoleArn: {}, BucketName: {} }, - }, - Sq: { - type: "structure", - members: { - Username: {}, - Password: { shape: "Se" }, - ServerName: {}, - Port: { type: "integer" }, - DatabaseName: {}, - AuthType: {}, - AuthMechanism: {}, - NestingLevel: {}, - ExtractDocId: {}, - DocsToInvestigate: {}, - AuthSource: {}, - KmsKeyId: {}, - }, - }, - Su: { - type: "structure", - members: { - StreamArn: {}, - MessageFormat: {}, - ServiceAccessRoleArn: {}, - IncludeTransactionDetails: { type: "boolean" }, - IncludePartitionValue: { type: "boolean" }, - PartitionIncludeSchemaTable: { type: "boolean" }, - IncludeTableAlterOperations: { type: "boolean" }, - IncludeControlDetails: { type: "boolean" }, - }, - }, - Sw: { type: "structure", members: { Broker: {}, Topic: {} } }, - Sx: { - type: "structure", - required: ["ServiceAccessRoleArn", "EndpointUri"], - members: { - ServiceAccessRoleArn: {}, - EndpointUri: {}, - FullLoadErrorPercentage: { type: "integer" }, - ErrorRetryDuration: { type: "integer" }, - }, - }, - Sy: { - type: "structure", - members: { - AcceptAnyDate: { type: "boolean" }, - AfterConnectScript: {}, - BucketFolder: {}, - BucketName: {}, - ConnectionTimeout: { type: "integer" }, - DatabaseName: {}, - DateFormat: {}, - EmptyAsNull: { type: "boolean" }, - EncryptionMode: {}, - FileTransferUploadStreams: { type: "integer" }, - LoadTimeout: { type: "integer" }, - MaxFileSize: { type: "integer" }, - Password: { shape: "Se" }, - Port: { type: "integer" }, - RemoveQuotes: { type: "boolean" }, - ReplaceInvalidChars: {}, - ReplaceChars: {}, - ServerName: {}, - ServiceAccessRoleArn: {}, - ServerSideEncryptionKmsKeyId: {}, - TimeFormat: {}, - TrimBlanks: { type: "boolean" }, - TruncateColumns: { type: "boolean" }, - Username: {}, - WriteBufferSize: { type: "integer" }, - }, - }, - S10: { - type: "structure", - members: { - EndpointIdentifier: {}, - EndpointType: {}, - EngineName: {}, - EngineDisplayName: {}, - Username: {}, - ServerName: {}, - Port: { type: "integer" }, - DatabaseName: {}, - ExtraConnectionAttributes: {}, - Status: {}, - KmsKeyId: {}, - EndpointArn: {}, - CertificateArn: {}, - SslMode: {}, - ServiceAccessRoleArn: {}, - ExternalTableDefinition: {}, - ExternalId: {}, - DynamoDbSettings: { shape: "Sh" }, - S3Settings: { shape: "Si" }, - DmsTransferSettings: { shape: "Sp" }, - MongoDbSettings: { shape: "Sq" }, - KinesisSettings: { shape: "Su" }, - KafkaSettings: { shape: "Sw" }, - ElasticsearchSettings: { shape: "Sx" }, - RedshiftSettings: { shape: "Sy" }, - }, - }, - S12: { type: "list", member: {} }, - S13: { type: "list", member: {} }, - S15: { - type: "structure", - members: { - CustomerAwsId: {}, - CustSubscriptionId: {}, - SnsTopicArn: {}, - Status: {}, - SubscriptionCreationTime: {}, - SourceType: {}, - SourceIdsList: { shape: "S13" }, - EventCategoriesList: { shape: "S12" }, - Enabled: { type: "boolean" }, - }, - }, - S18: { type: "list", member: {} }, - S1a: { - type: "structure", - members: { - ReplicationInstanceIdentifier: {}, - ReplicationInstanceClass: {}, - ReplicationInstanceStatus: {}, - AllocatedStorage: { type: "integer" }, - InstanceCreateTime: { type: "timestamp" }, - VpcSecurityGroups: { - type: "list", - member: { - type: "structure", - members: { VpcSecurityGroupId: {}, Status: {} }, - }, - }, - AvailabilityZone: {}, - ReplicationSubnetGroup: { shape: "S1e" }, - PreferredMaintenanceWindow: {}, - PendingModifiedValues: { - type: "structure", - members: { - ReplicationInstanceClass: {}, - AllocatedStorage: { type: "integer" }, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - }, - }, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - KmsKeyId: {}, - ReplicationInstanceArn: {}, - ReplicationInstancePublicIpAddress: { deprecated: true }, - ReplicationInstancePrivateIpAddress: { deprecated: true }, - ReplicationInstancePublicIpAddresses: { - type: "list", - member: {}, - }, - ReplicationInstancePrivateIpAddresses: { - type: "list", - member: {}, - }, - PubliclyAccessible: { type: "boolean" }, - SecondaryAvailabilityZone: {}, - FreeUntil: { type: "timestamp" }, - DnsNameServers: {}, - }, - }, - S1e: { - type: "structure", - members: { - ReplicationSubnetGroupIdentifier: {}, - ReplicationSubnetGroupDescription: {}, - VpcId: {}, - SubnetGroupStatus: {}, - Subnets: { - type: "list", - member: { - type: "structure", - members: { - SubnetIdentifier: {}, - SubnetAvailabilityZone: { - type: "structure", - members: { Name: {} }, - }, - SubnetStatus: {}, - }, - }, - }, - }, - }, - S1m: { type: "list", member: {} }, - S1r: { - type: "structure", - members: { - ReplicationTaskIdentifier: {}, - SourceEndpointArn: {}, - TargetEndpointArn: {}, - ReplicationInstanceArn: {}, - MigrationType: {}, - TableMappings: {}, - ReplicationTaskSettings: {}, - Status: {}, - LastFailureMessage: {}, - StopReason: {}, - ReplicationTaskCreationDate: { type: "timestamp" }, - ReplicationTaskStartDate: { type: "timestamp" }, - CdcStartPosition: {}, - CdcStopPosition: {}, - RecoveryCheckpoint: {}, - ReplicationTaskArn: {}, - ReplicationTaskStats: { - type: "structure", - members: { - FullLoadProgressPercent: { type: "integer" }, - ElapsedTimeMillis: { type: "long" }, - TablesLoaded: { type: "integer" }, - TablesLoading: { type: "integer" }, - TablesQueued: { type: "integer" }, - TablesErrored: { type: "integer" }, - FreshStartDate: { type: "timestamp" }, - StartDate: { type: "timestamp" }, - StopDate: { type: "timestamp" }, - FullLoadStartDate: { type: "timestamp" }, - FullLoadFinishDate: { type: "timestamp" }, - }, - }, - }, - }, - S1w: { - type: "structure", - members: { - CertificateIdentifier: {}, - CertificateCreationDate: { type: "timestamp" }, - CertificatePem: {}, - CertificateWallet: { type: "blob" }, - CertificateArn: {}, - CertificateOwner: {}, - ValidFromDate: { type: "timestamp" }, - ValidToDate: { type: "timestamp" }, - SigningAlgorithm: {}, - KeyLength: { type: "integer" }, - }, - }, - S20: { - type: "structure", - members: { - ReplicationInstanceArn: {}, - EndpointArn: {}, - Status: {}, - LastFailureMessage: {}, - EndpointIdentifier: {}, - ReplicationInstanceIdentifier: {}, - }, - }, - S2g: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { Name: {}, Values: { type: "list", member: {} } }, - }, - }, - S3i: { - type: "structure", - members: { - EndpointArn: {}, - ReplicationInstanceArn: {}, - Status: {}, - LastRefreshDate: { type: "timestamp" }, - LastFailureMessage: {}, - }, - }, + page: { + type: "integer" }, - }; - - /***/ + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/keys" }, - - /***/ 1037: /***/ function (module) { - module.exports = { - pagination: { - ListAWSServiceAccessForOrganization: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListAccounts: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListAccountsForParent: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListChildren: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListCreateAccountStatus: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListDelegatedAdministrators: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "DelegatedAdministrators", - }, - ListDelegatedServicesForAccount: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "DelegatedServices", - }, - ListHandshakesForAccount: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListHandshakesForOrganization: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListOrganizationalUnitsForParent: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListParents: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListPolicies: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListPoliciesForTarget: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListRoots: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListTagsForResource: { - input_token: "NextToken", - output_token: "NextToken", - result_key: "Tags", - }, - ListTargetsForPolicy: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, + listDeploymentStatuses: { + method: "GET", + params: { + deployment_id: { + required: true, + type: "integer" }, - }; - - /***/ + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/deployments/:deployment_id/statuses" }, - - /***/ 1039: /***/ function (module) { - "use strict"; - - module.exports = (opts) => { - opts = opts || {}; - - const env = opts.env || process.env; - const platform = opts.platform || process.platform; - - if (platform !== "win32") { - return "PATH"; + listDeployments: { + method: "GET", + params: { + environment: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + ref: { + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + type: "string" + }, + task: { + type: "string" } - - return ( - Object.keys(env).find((x) => x.toUpperCase() === "PATH") || "Path" - ); - }; - - /***/ + }, + url: "/repos/:owner/:repo/deployments" }, - - /***/ 1056: /***/ function (module) { - module.exports = { - pagination: { - DescribeCertificates: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeConnections: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeEndpointTypes: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeEndpoints: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeEventSubscriptions: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeEvents: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeOrderableReplicationInstances: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribePendingMaintenanceActions: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeReplicationInstanceTaskLogs: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeReplicationInstances: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeReplicationSubnetGroups: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeReplicationTaskAssessmentResults: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeReplicationTasks: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeSchemas: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, - DescribeTableStatistics: { - input_token: "Marker", - output_token: "Marker", - limit_key: "MaxRecords", - }, + listDownloads: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - }; - - /***/ + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/downloads" }, - - /***/ 1065: /***/ function (module) { - module.exports = { - pagination: { - ListHumanLoops: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "HumanLoopSummaries", - }, + listForOrg: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" }, - }; - - /***/ + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + sort: { + enum: ["created", "updated", "pushed", "full_name"], + type: "string" + }, + type: { + enum: ["all", "public", "private", "forks", "sources", "member", "internal"], + type: "string" + } + }, + url: "/orgs/:org/repos" }, - - /***/ 1068: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["detective"] = {}; - AWS.Detective = Service.defineService("detective", ["2018-10-26"]); - Object.defineProperty(apiLoader.services["detective"], "2018-10-26", { - get: function get() { - var model = __webpack_require__(9130); - model.paginators = __webpack_require__(1527).pagination; - return model; + listForUser: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Detective; - - /***/ + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + sort: { + enum: ["created", "updated", "pushed", "full_name"], + type: "string" + }, + type: { + enum: ["all", "owner", "member"], + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/repos" }, - - /***/ 1071: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["rds"] = {}; - AWS.RDS = Service.defineService("rds", [ - "2013-01-10", - "2013-02-12", - "2013-09-09", - "2014-09-01", - "2014-09-01*", - "2014-10-31", - ]); - __webpack_require__(7978); - Object.defineProperty(apiLoader.services["rds"], "2013-01-10", { - get: function get() { - var model = __webpack_require__(5017); - model.paginators = __webpack_require__(2904).pagination; - return model; + listForks: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - enumerable: true, - configurable: true, - }); - Object.defineProperty(apiLoader.services["rds"], "2013-02-12", { - get: function get() { - var model = __webpack_require__(4237); - model.paginators = __webpack_require__(3756).pagination; - return model; + page: { + type: "integer" }, - enumerable: true, - configurable: true, - }); - Object.defineProperty(apiLoader.services["rds"], "2013-09-09", { - get: function get() { - var model = __webpack_require__(6928); - model.paginators = __webpack_require__(1318).pagination; - model.waiters = __webpack_require__(5945).waiters; - return model; + per_page: { + type: "integer" }, - enumerable: true, - configurable: true, - }); - Object.defineProperty(apiLoader.services["rds"], "2014-09-01", { - get: function get() { - var model = __webpack_require__(1413); - model.paginators = __webpack_require__(2323).pagination; - return model; + repo: { + required: true, + type: "string" }, - enumerable: true, - configurable: true, - }); - Object.defineProperty(apiLoader.services["rds"], "2014-10-31", { - get: function get() { - var model = __webpack_require__(8713); - model.paginators = __webpack_require__(4798).pagination; - model.waiters = __webpack_require__(4525).waiters; - return model; + sort: { + enum: ["newest", "oldest", "stargazers"], + type: "string" + } + }, + url: "/repos/:owner/:repo/forks" + }, + listHooks: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.RDS; - - /***/ + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/hooks" + }, + listInvitations: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/invitations" + }, + listInvitationsForAuthenticatedUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/repository_invitations" + }, + listLanguages: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/languages" + }, + listPagesBuilds: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/pages/builds" + }, + listProtectedBranchRequiredStatusChecksContexts: { + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts" + }, + listProtectedBranchTeamRestrictions: { + deprecated: "octokit.repos.listProtectedBranchTeamRestrictions() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-09)", + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams" + }, + listProtectedBranchUserRestrictions: { + deprecated: "octokit.repos.listProtectedBranchUserRestrictions() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-09)", + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users" + }, + listPublic: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "integer" + } + }, + url: "/repositories" + }, + listPullRequestsAssociatedWithCommit: { + headers: { + accept: "application/vnd.github.groot-preview+json" + }, + method: "GET", + params: { + commit_sha: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:commit_sha/pulls" + }, + listReleases: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/releases" + }, + listStatusesForRef: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + ref: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/commits/:ref/statuses" + }, + listTags: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/tags" + }, + listTeams: { + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/teams" + }, + listTeamsWithAccessToProtectedBranch: { + deprecated: "octokit.repos.listTeamsWithAccessToProtectedBranch() has been renamed to octokit.repos.getTeamsWithAccessToProtectedBranch() (2019-09-13)", + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams" + }, + listTopics: { + headers: { + accept: "application/vnd.github.mercy-preview+json" + }, + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/topics" + }, + listUsersWithAccessToProtectedBranch: { + deprecated: "octokit.repos.listUsersWithAccessToProtectedBranch() has been renamed to octokit.repos.getUsersWithAccessToProtectedBranch() (2019-09-13)", + method: "GET", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users" + }, + merge: { + method: "POST", + params: { + base: { + required: true, + type: "string" + }, + commit_message: { + type: "string" + }, + head: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/merges" + }, + pingHook: { + method: "POST", + params: { + hook_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/hooks/:hook_id/pings" + }, + removeBranchProtection: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection" + }, + removeCollaborator: { + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/collaborators/:username" + }, + removeDeployKey: { + method: "DELETE", + params: { + key_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/keys/:key_id" + }, + removeProtectedBranchAdminEnforcement: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins" + }, + removeProtectedBranchAppRestrictions: { + method: "DELETE", + params: { + apps: { + mapTo: "data", + required: true, + type: "string[]" + }, + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps" + }, + removeProtectedBranchPullRequestReviewEnforcement: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews" + }, + removeProtectedBranchRequiredSignatures: { + headers: { + accept: "application/vnd.github.zzzax-preview+json" + }, + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures" + }, + removeProtectedBranchRequiredStatusChecks: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks" + }, + removeProtectedBranchRequiredStatusChecksContexts: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + contexts: { + mapTo: "data", + required: true, + type: "string[]" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts" + }, + removeProtectedBranchRestrictions: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions" + }, + removeProtectedBranchTeamRestrictions: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + teams: { + mapTo: "data", + required: true, + type: "string[]" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams" }, - - /***/ 1073: /***/ function (module) { - module.exports = { - pagination: { - ListChangedBlocks: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListSnapshotBlocks: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, + removeProtectedBranchUserRestrictions: { + method: "DELETE", + params: { + branch: { + required: true, + type: "string" }, - }; - - /***/ + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + users: { + mapTo: "data", + required: true, + type: "string[]" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users" }, - - /***/ 1079: /***/ function (module) { - module.exports = { - pagination: { - ListCloudFrontOriginAccessIdentities: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "CloudFrontOriginAccessIdentityList.IsTruncated", - output_token: "CloudFrontOriginAccessIdentityList.NextMarker", - result_key: "CloudFrontOriginAccessIdentityList.Items", - }, - ListDistributions: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "DistributionList.IsTruncated", - output_token: "DistributionList.NextMarker", - result_key: "DistributionList.Items", - }, - ListInvalidations: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "InvalidationList.IsTruncated", - output_token: "InvalidationList.NextMarker", - result_key: "InvalidationList.Items", - }, - ListStreamingDistributions: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "StreamingDistributionList.IsTruncated", - output_token: "StreamingDistributionList.NextMarker", - result_key: "StreamingDistributionList.Items", - }, + replaceProtectedBranchAppRestrictions: { + method: "PUT", + params: { + apps: { + mapTo: "data", + required: true, + type: "string[]" + }, + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps" + }, + replaceProtectedBranchRequiredStatusChecksContexts: { + method: "PUT", + params: { + branch: { + required: true, + type: "string" + }, + contexts: { + mapTo: "data", + required: true, + type: "string[]" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts" + }, + replaceProtectedBranchTeamRestrictions: { + method: "PUT", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" }, - }; - - /***/ + teams: { + mapTo: "data", + required: true, + type: "string[]" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams" }, - - /***/ 1096: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codestarconnections"] = {}; - AWS.CodeStarconnections = Service.defineService("codestarconnections", [ - "2019-12-01", - ]); - Object.defineProperty( - apiLoader.services["codestarconnections"], - "2019-12-01", - { - get: function get() { - var model = __webpack_require__(4664); - model.paginators = __webpack_require__(7572).pagination; - return model; - }, - enumerable: true, - configurable: true, + replaceProtectedBranchUserRestrictions: { + method: "PUT", + params: { + branch: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + users: { + mapTo: "data", + required: true, + type: "string[]" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users" + }, + replaceTopics: { + headers: { + accept: "application/vnd.github.mercy-preview+json" + }, + method: "PUT", + params: { + names: { + required: true, + type: "string[]" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/topics" + }, + requestPageBuild: { + method: "POST", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" } - ); - - module.exports = AWS.CodeStarconnections; - - /***/ + }, + url: "/repos/:owner/:repo/pages/builds" }, - - /***/ 1098: /***/ function (module) { - module.exports = { - pagination: { - ListJobs: { - input_token: "marker", - limit_key: "limit", - output_token: "Marker", - result_key: "JobList", - }, - ListMultipartUploads: { - input_token: "marker", - limit_key: "limit", - output_token: "Marker", - result_key: "UploadsList", - }, - ListParts: { - input_token: "marker", - limit_key: "limit", - output_token: "Marker", - result_key: "Parts", - }, - ListVaults: { - input_token: "marker", - limit_key: "limit", - output_token: "Marker", - result_key: "VaultList", - }, + retrieveCommunityProfileMetrics: { + method: "GET", + params: { + owner: { + required: true, + type: "string" }, - }; - - /***/ + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/community/profile" }, - - /***/ 1115: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - uid: "machinelearning-2014-12-12", - apiVersion: "2014-12-12", - endpointPrefix: "machinelearning", - jsonVersion: "1.1", - serviceFullName: "Amazon Machine Learning", - serviceId: "Machine Learning", - signatureVersion: "v4", - targetPrefix: "AmazonML_20141212", - protocol: "json", - }, - 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: {} } }, - }, + testPushHook: { + method: "POST", + params: { + hook_id: { + required: true, + type: "integer" }, - 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: {} } }, - }, + owner: { + required: true, + type: "string" }, - examples: {}, - }; - - /***/ + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/hooks/:hook_id/tests" }, - - /***/ 1116: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-12-19", - endpointPrefix: "macie", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon Macie", - serviceId: "Macie", - signatureVersion: "v4", - targetPrefix: "MacieService", - uid: "macie-2017-12-19", - }, - operations: { - AssociateMemberAccount: { - input: { - type: "structure", - required: ["memberAccountId"], - members: { memberAccountId: {} }, - }, - }, - AssociateS3Resources: { - input: { - type: "structure", - required: ["s3Resources"], - members: { memberAccountId: {}, s3Resources: { shape: "S4" } }, - }, - output: { - type: "structure", - members: { failedS3Resources: { shape: "Sc" } }, - }, - }, - DisassociateMemberAccount: { - input: { - type: "structure", - required: ["memberAccountId"], - members: { memberAccountId: {} }, - }, - }, - DisassociateS3Resources: { - input: { - type: "structure", - required: ["associatedS3Resources"], - members: { - memberAccountId: {}, - associatedS3Resources: { - type: "list", - member: { shape: "Se" }, - }, - }, - }, - output: { - type: "structure", - members: { failedS3Resources: { shape: "Sc" } }, - }, - }, - ListMemberAccounts: { - input: { - type: "structure", - members: { nextToken: {}, maxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - memberAccounts: { - type: "list", - member: { type: "structure", members: { accountId: {} } }, - }, - nextToken: {}, - }, - }, - }, - ListS3Resources: { - input: { - type: "structure", - members: { - memberAccountId: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { s3Resources: { shape: "S4" }, nextToken: {} }, - }, - }, - UpdateS3Resources: { - input: { - type: "structure", - required: ["s3ResourcesUpdate"], - members: { - memberAccountId: {}, - s3ResourcesUpdate: { - type: "list", - member: { - type: "structure", - required: ["bucketName", "classificationTypeUpdate"], - members: { - bucketName: {}, - prefix: {}, - classificationTypeUpdate: { - type: "structure", - members: { oneTime: {}, continuous: {} }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { failedS3Resources: { shape: "Sc" } }, - }, - }, + transfer: { + method: "POST", + params: { + new_owner: { + type: "string" + }, + owner: { + required: true, + type: "string" }, - shapes: { - S4: { - type: "list", - member: { - type: "structure", - required: ["bucketName", "classificationType"], - members: { - bucketName: {}, - prefix: {}, - classificationType: { - type: "structure", - required: ["oneTime", "continuous"], - members: { oneTime: {}, continuous: {} }, - }, - }, - }, - }, - Sc: { - type: "list", - member: { - type: "structure", - members: { - failedItem: { shape: "Se" }, - errorCode: {}, - errorMessage: {}, - }, - }, - }, - Se: { - type: "structure", - required: ["bucketName"], - members: { bucketName: {}, prefix: {} }, - }, + repo: { + required: true, + type: "string" + }, + team_ids: { + type: "integer[]" + } + }, + url: "/repos/:owner/:repo/transfer" + }, + update: { + method: "PATCH", + params: { + allow_merge_commit: { + type: "boolean" }, - }; - - /***/ + allow_rebase_merge: { + type: "boolean" + }, + allow_squash_merge: { + type: "boolean" + }, + archived: { + type: "boolean" + }, + default_branch: { + type: "string" + }, + delete_branch_on_merge: { + type: "boolean" + }, + description: { + type: "string" + }, + has_issues: { + type: "boolean" + }, + has_projects: { + type: "boolean" + }, + has_wiki: { + type: "boolean" + }, + homepage: { + type: "string" + }, + is_template: { + type: "boolean" + }, + name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + private: { + type: "boolean" + }, + repo: { + required: true, + type: "string" + }, + visibility: { + enum: ["public", "private", "visibility", "internal"], + type: "string" + } + }, + url: "/repos/:owner/:repo" }, - - /***/ 1130: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-11-23", - endpointPrefix: "states", - jsonVersion: "1.0", - protocol: "json", - serviceAbbreviation: "AWS SFN", - serviceFullName: "AWS Step Functions", - serviceId: "SFN", - signatureVersion: "v4", - targetPrefix: "AWSStepFunctions", - uid: "states-2016-11-23", - }, - operations: { - CreateActivity: { - input: { - type: "structure", - required: ["name"], - members: { name: {}, tags: { shape: "S3" } }, - }, - output: { - type: "structure", - required: ["activityArn", "creationDate"], - members: { activityArn: {}, creationDate: { type: "timestamp" } }, - }, - idempotent: true, - }, - CreateStateMachine: { - input: { - type: "structure", - required: ["name", "definition", "roleArn"], - members: { - name: {}, - definition: { shape: "Sb" }, - roleArn: {}, - type: {}, - loggingConfiguration: { shape: "Sd" }, - tags: { shape: "S3" }, - }, - }, - output: { - type: "structure", - required: ["stateMachineArn", "creationDate"], - members: { - stateMachineArn: {}, - creationDate: { type: "timestamp" }, - }, - }, - idempotent: true, - }, - DeleteActivity: { - input: { - type: "structure", - required: ["activityArn"], - members: { activityArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteStateMachine: { - input: { - type: "structure", - required: ["stateMachineArn"], - members: { stateMachineArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeActivity: { - input: { - type: "structure", - required: ["activityArn"], - members: { activityArn: {} }, - }, - output: { - type: "structure", - required: ["activityArn", "name", "creationDate"], - members: { - activityArn: {}, - name: {}, - creationDate: { type: "timestamp" }, - }, - }, - }, - DescribeExecution: { - input: { - type: "structure", - required: ["executionArn"], - members: { executionArn: {} }, - }, - output: { - type: "structure", - required: [ - "executionArn", - "stateMachineArn", - "status", - "startDate", - "input", - ], - members: { - executionArn: {}, - stateMachineArn: {}, - name: {}, - status: {}, - startDate: { type: "timestamp" }, - stopDate: { type: "timestamp" }, - input: { shape: "St" }, - output: { shape: "St" }, - }, - }, - }, - DescribeStateMachine: { - input: { - type: "structure", - required: ["stateMachineArn"], - members: { stateMachineArn: {} }, - }, - output: { - type: "structure", - required: [ - "stateMachineArn", - "name", - "definition", - "roleArn", - "type", - "creationDate", - ], - members: { - stateMachineArn: {}, - name: {}, - status: {}, - definition: { shape: "Sb" }, - roleArn: {}, - type: {}, - creationDate: { type: "timestamp" }, - loggingConfiguration: { shape: "Sd" }, - }, - }, - }, - DescribeStateMachineForExecution: { - input: { - type: "structure", - required: ["executionArn"], - members: { executionArn: {} }, - }, - output: { - type: "structure", - required: [ - "stateMachineArn", - "name", - "definition", - "roleArn", - "updateDate", - ], - members: { - stateMachineArn: {}, - name: {}, - definition: { shape: "Sb" }, - roleArn: {}, - updateDate: { type: "timestamp" }, - loggingConfiguration: { shape: "Sd" }, - }, - }, - }, - GetActivityTask: { - input: { - type: "structure", - required: ["activityArn"], - members: { activityArn: {}, workerName: {} }, - }, - output: { - type: "structure", - members: { - taskToken: {}, - input: { type: "string", sensitive: true }, - }, - }, - }, - GetExecutionHistory: { - input: { - type: "structure", - required: ["executionArn"], - members: { - executionArn: {}, - maxResults: { type: "integer" }, - reverseOrder: { type: "boolean" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - required: ["events"], - members: { - events: { - type: "list", - member: { - type: "structure", - required: ["timestamp", "type", "id"], - members: { - timestamp: { type: "timestamp" }, - type: {}, - id: { type: "long" }, - previousEventId: { type: "long" }, - activityFailedEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - activityScheduleFailedEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - activityScheduledEventDetails: { - type: "structure", - required: ["resource"], - members: { - resource: {}, - input: { shape: "St" }, - timeoutInSeconds: { type: "long" }, - heartbeatInSeconds: { type: "long" }, - }, - }, - activityStartedEventDetails: { - type: "structure", - members: { workerName: {} }, - }, - activitySucceededEventDetails: { - type: "structure", - members: { output: { shape: "St" } }, - }, - activityTimedOutEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - taskFailedEventDetails: { - type: "structure", - required: ["resourceType", "resource"], - members: { - resourceType: {}, - resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - taskScheduledEventDetails: { - type: "structure", - required: [ - "resourceType", - "resource", - "region", - "parameters", - ], - members: { - resourceType: {}, - resource: {}, - region: {}, - parameters: { type: "string", sensitive: true }, - timeoutInSeconds: { type: "long" }, - }, - }, - taskStartFailedEventDetails: { - type: "structure", - required: ["resourceType", "resource"], - members: { - resourceType: {}, - resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - taskStartedEventDetails: { - type: "structure", - required: ["resourceType", "resource"], - members: { resourceType: {}, resource: {} }, - }, - taskSubmitFailedEventDetails: { - type: "structure", - required: ["resourceType", "resource"], - members: { - resourceType: {}, - resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - taskSubmittedEventDetails: { - type: "structure", - required: ["resourceType", "resource"], - members: { - resourceType: {}, - resource: {}, - output: { shape: "St" }, - }, - }, - taskSucceededEventDetails: { - type: "structure", - required: ["resourceType", "resource"], - members: { - resourceType: {}, - resource: {}, - output: { shape: "St" }, - }, - }, - taskTimedOutEventDetails: { - type: "structure", - required: ["resourceType", "resource"], - members: { - resourceType: {}, - resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - executionFailedEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - executionStartedEventDetails: { - type: "structure", - members: { input: { shape: "St" }, roleArn: {} }, - }, - executionSucceededEventDetails: { - type: "structure", - members: { output: { shape: "St" } }, - }, - executionAbortedEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - executionTimedOutEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - mapStateStartedEventDetails: { - type: "structure", - members: { length: { type: "integer" } }, - }, - mapIterationStartedEventDetails: { shape: "S22" }, - mapIterationSucceededEventDetails: { shape: "S22" }, - mapIterationFailedEventDetails: { shape: "S22" }, - mapIterationAbortedEventDetails: { shape: "S22" }, - lambdaFunctionFailedEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - lambdaFunctionScheduleFailedEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - lambdaFunctionScheduledEventDetails: { - type: "structure", - required: ["resource"], - members: { - resource: {}, - input: { shape: "St" }, - timeoutInSeconds: { type: "long" }, - }, - }, - lambdaFunctionStartFailedEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - lambdaFunctionSucceededEventDetails: { - type: "structure", - members: { output: { shape: "St" } }, - }, - lambdaFunctionTimedOutEventDetails: { - type: "structure", - members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - stateEnteredEventDetails: { - type: "structure", - required: ["name"], - members: { name: {}, input: { shape: "St" } }, - }, - stateExitedEventDetails: { - type: "structure", - required: ["name"], - members: { name: {}, output: { shape: "St" } }, - }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListActivities: { - input: { - type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, - }, - output: { - type: "structure", - required: ["activities"], - members: { - activities: { - type: "list", - member: { - type: "structure", - required: ["activityArn", "name", "creationDate"], - members: { - activityArn: {}, - name: {}, - creationDate: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListExecutions: { - input: { - type: "structure", - required: ["stateMachineArn"], - members: { - stateMachineArn: {}, - statusFilter: {}, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - required: ["executions"], - members: { - executions: { - type: "list", - member: { - type: "structure", - required: [ - "executionArn", - "stateMachineArn", - "name", - "status", - "startDate", - ], - members: { - executionArn: {}, - stateMachineArn: {}, - name: {}, - status: {}, - startDate: { type: "timestamp" }, - stopDate: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListStateMachines: { - input: { - type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, - }, - output: { - type: "structure", - required: ["stateMachines"], - members: { - stateMachines: { - type: "list", - member: { - type: "structure", - required: [ - "stateMachineArn", - "name", - "type", - "creationDate", - ], - members: { - stateMachineArn: {}, - name: {}, - type: {}, - creationDate: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["resourceArn"], - members: { resourceArn: {} }, - }, - output: { type: "structure", members: { tags: { shape: "S3" } } }, - }, - SendTaskFailure: { - input: { - type: "structure", - required: ["taskToken"], - members: { - taskToken: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - output: { type: "structure", members: {} }, - }, - SendTaskHeartbeat: { - input: { - type: "structure", - required: ["taskToken"], - members: { taskToken: {} }, - }, - output: { type: "structure", members: {} }, - }, - SendTaskSuccess: { - input: { - type: "structure", - required: ["taskToken", "output"], - members: { taskToken: {}, output: { shape: "St" } }, - }, - output: { type: "structure", members: {} }, - }, - StartExecution: { - input: { - type: "structure", - required: ["stateMachineArn"], - members: { - stateMachineArn: {}, - name: {}, - input: { shape: "St" }, - }, - }, - output: { - type: "structure", - required: ["executionArn", "startDate"], - members: { executionArn: {}, startDate: { type: "timestamp" } }, - }, - idempotent: true, - }, - StopExecution: { - input: { - type: "structure", - required: ["executionArn"], - members: { - executionArn: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, - }, - }, - output: { - type: "structure", - required: ["stopDate"], - members: { stopDate: { type: "timestamp" } }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { resourceArn: {}, tags: { shape: "S3" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - input: { - type: "structure", - required: ["resourceArn", "tagKeys"], - members: { - resourceArn: {}, - tagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateStateMachine: { - input: { - type: "structure", - required: ["stateMachineArn"], - members: { - stateMachineArn: {}, - definition: { shape: "Sb" }, - roleArn: {}, - loggingConfiguration: { shape: "Sd" }, - }, - }, - output: { - type: "structure", - required: ["updateDate"], - members: { updateDate: { type: "timestamp" } }, - }, - idempotent: true, - }, + updateBranchProtection: { + method: "PUT", + params: { + allow_deletions: { + type: "boolean" }, - shapes: { - S3: { - type: "list", - member: { type: "structure", members: { key: {}, value: {} } }, - }, - Sb: { type: "string", sensitive: true }, - Sd: { - type: "structure", - members: { - level: {}, - includeExecutionData: { type: "boolean" }, - destinations: { - type: "list", - member: { - type: "structure", - members: { - cloudWatchLogsLogGroup: { - type: "structure", - members: { logGroupArn: {} }, - }, - }, - }, - }, - }, - }, - St: { type: "string", sensitive: true }, - S1d: { type: "string", sensitive: true }, - S1e: { type: "string", sensitive: true }, - S22: { - type: "structure", - members: { name: {}, index: { type: "integer" } }, - }, + allow_force_pushes: { + allowNull: true, + type: "boolean" }, - }; - - /***/ + branch: { + required: true, + type: "string" + }, + enforce_admins: { + allowNull: true, + required: true, + type: "boolean" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + required_linear_history: { + type: "boolean" + }, + required_pull_request_reviews: { + allowNull: true, + required: true, + type: "object" + }, + "required_pull_request_reviews.dismiss_stale_reviews": { + type: "boolean" + }, + "required_pull_request_reviews.dismissal_restrictions": { + type: "object" + }, + "required_pull_request_reviews.dismissal_restrictions.teams": { + type: "string[]" + }, + "required_pull_request_reviews.dismissal_restrictions.users": { + type: "string[]" + }, + "required_pull_request_reviews.require_code_owner_reviews": { + type: "boolean" + }, + "required_pull_request_reviews.required_approving_review_count": { + type: "integer" + }, + required_status_checks: { + allowNull: true, + required: true, + type: "object" + }, + "required_status_checks.contexts": { + required: true, + type: "string[]" + }, + "required_status_checks.strict": { + required: true, + type: "boolean" + }, + restrictions: { + allowNull: true, + required: true, + type: "object" + }, + "restrictions.apps": { + type: "string[]" + }, + "restrictions.teams": { + required: true, + type: "string[]" + }, + "restrictions.users": { + required: true, + type: "string[]" + } + }, + url: "/repos/:owner/:repo/branches/:branch/protection" }, - - /***/ 1152: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-08-08", - endpointPrefix: "globalaccelerator", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Global Accelerator", - serviceId: "Global Accelerator", - signatureVersion: "v4", - signingName: "globalaccelerator", - targetPrefix: "GlobalAccelerator_V20180706", - uid: "globalaccelerator-2018-08-08", - }, - operations: { - AdvertiseByoipCidr: { - input: { - type: "structure", - required: ["Cidr"], - members: { Cidr: {} }, - }, - output: { - type: "structure", - members: { ByoipCidr: { shape: "S4" } }, - }, - }, - CreateAccelerator: { - input: { - type: "structure", - required: ["Name", "IdempotencyToken"], - members: { - Name: {}, - IpAddressType: {}, - IpAddresses: { shape: "Sb" }, - Enabled: { type: "boolean" }, - IdempotencyToken: { idempotencyToken: true }, - Tags: { shape: "Sf" }, - }, - }, - output: { - type: "structure", - members: { Accelerator: { shape: "Sk" } }, - }, - }, - CreateEndpointGroup: { - input: { - type: "structure", - required: [ - "ListenerArn", - "EndpointGroupRegion", - "IdempotencyToken", - ], - members: { - ListenerArn: {}, - EndpointGroupRegion: {}, - EndpointConfigurations: { shape: "Sp" }, - TrafficDialPercentage: { type: "float" }, - HealthCheckPort: { type: "integer" }, - HealthCheckProtocol: {}, - HealthCheckPath: {}, - HealthCheckIntervalSeconds: { type: "integer" }, - ThresholdCount: { type: "integer" }, - IdempotencyToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { EndpointGroup: { shape: "Sy" } }, - }, - }, - CreateListener: { - input: { - type: "structure", - required: [ - "AcceleratorArn", - "PortRanges", - "Protocol", - "IdempotencyToken", - ], - members: { - AcceleratorArn: {}, - PortRanges: { shape: "S13" }, - Protocol: {}, - ClientAffinity: {}, - IdempotencyToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { Listener: { shape: "S19" } }, - }, - }, - DeleteAccelerator: { - input: { - type: "structure", - required: ["AcceleratorArn"], - members: { AcceleratorArn: {} }, - }, - }, - DeleteEndpointGroup: { - input: { - type: "structure", - required: ["EndpointGroupArn"], - members: { EndpointGroupArn: {} }, - }, - }, - DeleteListener: { - input: { - type: "structure", - required: ["ListenerArn"], - members: { ListenerArn: {} }, - }, - }, - DeprovisionByoipCidr: { - input: { - type: "structure", - required: ["Cidr"], - members: { Cidr: {} }, - }, - output: { - type: "structure", - members: { ByoipCidr: { shape: "S4" } }, - }, - }, - DescribeAccelerator: { - input: { - type: "structure", - required: ["AcceleratorArn"], - members: { AcceleratorArn: {} }, - }, - output: { - type: "structure", - members: { Accelerator: { shape: "Sk" } }, - }, - }, - DescribeAcceleratorAttributes: { - input: { - type: "structure", - required: ["AcceleratorArn"], - members: { AcceleratorArn: {} }, - }, - output: { - type: "structure", - members: { AcceleratorAttributes: { shape: "S1j" } }, - }, - }, - DescribeEndpointGroup: { - input: { - type: "structure", - required: ["EndpointGroupArn"], - members: { EndpointGroupArn: {} }, - }, - output: { - type: "structure", - members: { EndpointGroup: { shape: "Sy" } }, - }, - }, - DescribeListener: { - input: { - type: "structure", - required: ["ListenerArn"], - members: { ListenerArn: {} }, - }, - output: { - type: "structure", - members: { Listener: { shape: "S19" } }, - }, - }, - ListAccelerators: { - input: { - type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, - }, - output: { - type: "structure", - members: { - Accelerators: { type: "list", member: { shape: "Sk" } }, - NextToken: {}, - }, - }, - }, - ListByoipCidrs: { - input: { - type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, - }, - output: { - type: "structure", - members: { - ByoipCidrs: { type: "list", member: { shape: "S4" } }, - NextToken: {}, - }, - }, - }, - ListEndpointGroups: { - input: { - type: "structure", - required: ["ListenerArn"], - members: { - ListenerArn: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - EndpointGroups: { type: "list", member: { shape: "Sy" } }, - NextToken: {}, - }, - }, - }, - ListListeners: { - input: { - type: "structure", - required: ["AcceleratorArn"], - members: { - AcceleratorArn: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - Listeners: { type: "list", member: { shape: "S19" } }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { type: "structure", members: { Tags: { shape: "Sf" } } }, - }, - ProvisionByoipCidr: { - input: { - type: "structure", - required: ["Cidr", "CidrAuthorizationContext"], - members: { - Cidr: {}, - CidrAuthorizationContext: { - type: "structure", - required: ["Message", "Signature"], - members: { Message: {}, Signature: {} }, - }, - }, - }, - output: { - type: "structure", - members: { ByoipCidr: { shape: "S4" } }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "Sf" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateAccelerator: { - input: { - type: "structure", - required: ["AcceleratorArn"], - members: { - AcceleratorArn: {}, - Name: {}, - IpAddressType: {}, - Enabled: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { Accelerator: { shape: "Sk" } }, - }, - }, - UpdateAcceleratorAttributes: { - input: { - type: "structure", - required: ["AcceleratorArn"], - members: { - AcceleratorArn: {}, - FlowLogsEnabled: { type: "boolean" }, - FlowLogsS3Bucket: {}, - FlowLogsS3Prefix: {}, - }, - }, - output: { - type: "structure", - members: { AcceleratorAttributes: { shape: "S1j" } }, - }, - }, - UpdateEndpointGroup: { - input: { - type: "structure", - required: ["EndpointGroupArn"], - members: { - EndpointGroupArn: {}, - EndpointConfigurations: { shape: "Sp" }, - TrafficDialPercentage: { type: "float" }, - HealthCheckPort: { type: "integer" }, - HealthCheckProtocol: {}, - HealthCheckPath: {}, - HealthCheckIntervalSeconds: { type: "integer" }, - ThresholdCount: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { EndpointGroup: { shape: "Sy" } }, - }, - }, - UpdateListener: { - input: { - type: "structure", - required: ["ListenerArn"], - members: { - ListenerArn: {}, - PortRanges: { shape: "S13" }, - Protocol: {}, - ClientAffinity: {}, - }, - }, - output: { - type: "structure", - members: { Listener: { shape: "S19" } }, - }, - }, - WithdrawByoipCidr: { - input: { - type: "structure", - required: ["Cidr"], - members: { Cidr: {} }, - }, - output: { - type: "structure", - members: { ByoipCidr: { shape: "S4" } }, - }, - }, + updateCommitComment: { + method: "PATCH", + params: { + body: { + required: true, + type: "string" }, - shapes: { - S4: { - type: "structure", - members: { - Cidr: {}, - State: {}, - Events: { - type: "list", - member: { - type: "structure", - members: { Message: {}, Timestamp: { type: "timestamp" } }, - }, - }, - }, - }, - Sb: { type: "list", member: {} }, - Sf: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sk: { - type: "structure", - members: { - AcceleratorArn: {}, - Name: {}, - IpAddressType: {}, - Enabled: { type: "boolean" }, - IpSets: { - type: "list", - member: { - type: "structure", - members: { IpFamily: {}, IpAddresses: { shape: "Sb" } }, - }, - }, - DnsName: {}, - Status: {}, - CreatedTime: { type: "timestamp" }, - LastModifiedTime: { type: "timestamp" }, - }, - }, - Sp: { - type: "list", - member: { - type: "structure", - members: { - EndpointId: {}, - Weight: { type: "integer" }, - ClientIPPreservationEnabled: { type: "boolean" }, - }, - }, - }, - Sy: { - type: "structure", - members: { - EndpointGroupArn: {}, - EndpointGroupRegion: {}, - EndpointDescriptions: { - type: "list", - member: { - type: "structure", - members: { - EndpointId: {}, - Weight: { type: "integer" }, - HealthState: {}, - HealthReason: {}, - ClientIPPreservationEnabled: { type: "boolean" }, - }, - }, - }, - TrafficDialPercentage: { type: "float" }, - HealthCheckPort: { type: "integer" }, - HealthCheckProtocol: {}, - HealthCheckPath: {}, - HealthCheckIntervalSeconds: { type: "integer" }, - ThresholdCount: { type: "integer" }, - }, - }, - S13: { - type: "list", - member: { - type: "structure", - members: { - FromPort: { type: "integer" }, - ToPort: { type: "integer" }, - }, - }, - }, - S19: { - type: "structure", - members: { - ListenerArn: {}, - PortRanges: { shape: "S13" }, - Protocol: {}, - ClientAffinity: {}, - }, - }, - S1j: { - type: "structure", - members: { - FlowLogsEnabled: { type: "boolean" }, - FlowLogsS3Bucket: {}, - FlowLogsS3Prefix: {}, - }, - }, + comment_id: { + required: true, + type: "integer" }, - }; - - /***/ + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/comments/:comment_id" }, - - /***/ 1154: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - DeploymentSuccessful: { - delay: 15, - operation: "GetDeployment", - maxAttempts: 120, - acceptors: [ - { - expected: "Succeeded", - matcher: "path", - state: "success", - argument: "deploymentInfo.status", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "deploymentInfo.status", - }, - { - expected: "Stopped", - matcher: "path", - state: "failure", - argument: "deploymentInfo.status", - }, - ], - }, + updateFile: { + deprecated: "octokit.repos.updateFile() has been renamed to octokit.repos.createOrUpdateFile() (2019-06-07)", + method: "PUT", + params: { + author: { + type: "object" }, - }; - - /***/ + "author.email": { + required: true, + type: "string" + }, + "author.name": { + required: true, + type: "string" + }, + branch: { + type: "string" + }, + committer: { + type: "object" + }, + "committer.email": { + required: true, + type: "string" + }, + "committer.name": { + required: true, + type: "string" + }, + content: { + required: true, + type: "string" + }, + message: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + path: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + sha: { + type: "string" + } + }, + url: "/repos/:owner/:repo/contents/:path" }, - - /***/ 1163: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2011-12-05", - endpointPrefix: "dynamodb", - jsonVersion: "1.0", - protocol: "json", - serviceAbbreviation: "DynamoDB", - serviceFullName: "Amazon DynamoDB", - serviceId: "DynamoDB", - signatureVersion: "v4", - targetPrefix: "DynamoDB_20111205", - uid: "dynamodb-2011-12-05", - }, - operations: { - BatchGetItem: { - input: { - type: "structure", - required: ["RequestItems"], - members: { RequestItems: { shape: "S2" } }, - }, - output: { - type: "structure", - members: { - Responses: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - Items: { shape: "Sk" }, - ConsumedCapacityUnits: { type: "double" }, - }, - }, - }, - UnprocessedKeys: { shape: "S2" }, - }, - }, - }, - BatchWriteItem: { - input: { - type: "structure", - required: ["RequestItems"], - members: { RequestItems: { shape: "So" } }, - }, - output: { - type: "structure", - members: { - Responses: { - type: "map", - key: {}, - value: { - type: "structure", - members: { ConsumedCapacityUnits: { type: "double" } }, - }, - }, - UnprocessedItems: { shape: "So" }, - }, - }, - }, - CreateTable: { - input: { - type: "structure", - required: ["TableName", "KeySchema", "ProvisionedThroughput"], - members: { - TableName: {}, - KeySchema: { shape: "Sy" }, - ProvisionedThroughput: { shape: "S12" }, - }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S15" } }, - }, - }, - DeleteItem: { - input: { - type: "structure", - required: ["TableName", "Key"], - members: { - TableName: {}, - Key: { shape: "S6" }, - Expected: { shape: "S1b" }, - ReturnValues: {}, - }, - }, - output: { - type: "structure", - members: { - Attributes: { shape: "Sl" }, - ConsumedCapacityUnits: { type: "double" }, - }, - }, - }, - DeleteTable: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S15" } }, - }, - }, - DescribeTable: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { type: "structure", members: { Table: { shape: "S15" } } }, - }, - GetItem: { - input: { - type: "structure", - required: ["TableName", "Key"], - members: { - TableName: {}, - Key: { shape: "S6" }, - AttributesToGet: { shape: "Se" }, - ConsistentRead: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Item: { shape: "Sl" }, - ConsumedCapacityUnits: { type: "double" }, - }, - }, - }, - ListTables: { - input: { - type: "structure", - members: { - ExclusiveStartTableName: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - TableNames: { type: "list", member: {} }, - LastEvaluatedTableName: {}, - }, - }, - }, - PutItem: { - input: { - type: "structure", - required: ["TableName", "Item"], - members: { - TableName: {}, - Item: { shape: "Ss" }, - Expected: { shape: "S1b" }, - ReturnValues: {}, - }, - }, - output: { - type: "structure", - members: { - Attributes: { shape: "Sl" }, - ConsumedCapacityUnits: { type: "double" }, - }, - }, - }, - Query: { - input: { - type: "structure", - required: ["TableName", "HashKeyValue"], - members: { - TableName: {}, - AttributesToGet: { shape: "Se" }, - Limit: { type: "integer" }, - ConsistentRead: { type: "boolean" }, - Count: { type: "boolean" }, - HashKeyValue: { shape: "S7" }, - RangeKeyCondition: { shape: "S1u" }, - ScanIndexForward: { type: "boolean" }, - ExclusiveStartKey: { shape: "S6" }, - }, - }, - output: { - type: "structure", - members: { - Items: { shape: "Sk" }, - Count: { type: "integer" }, - LastEvaluatedKey: { shape: "S6" }, - ConsumedCapacityUnits: { type: "double" }, - }, - }, - }, - Scan: { - input: { - type: "structure", - required: ["TableName"], - members: { - TableName: {}, - AttributesToGet: { shape: "Se" }, - Limit: { type: "integer" }, - Count: { type: "boolean" }, - ScanFilter: { type: "map", key: {}, value: { shape: "S1u" } }, - ExclusiveStartKey: { shape: "S6" }, - }, - }, - output: { - type: "structure", - members: { - Items: { shape: "Sk" }, - Count: { type: "integer" }, - ScannedCount: { type: "integer" }, - LastEvaluatedKey: { shape: "S6" }, - ConsumedCapacityUnits: { type: "double" }, - }, - }, - }, - UpdateItem: { - input: { - type: "structure", - required: ["TableName", "Key", "AttributeUpdates"], - members: { - TableName: {}, - Key: { shape: "S6" }, - AttributeUpdates: { - type: "map", - key: {}, - value: { - type: "structure", - members: { Value: { shape: "S7" }, Action: {} }, - }, - }, - Expected: { shape: "S1b" }, - ReturnValues: {}, - }, - }, - output: { - type: "structure", - members: { - Attributes: { shape: "Sl" }, - ConsumedCapacityUnits: { type: "double" }, - }, - }, - }, - UpdateTable: { - input: { - type: "structure", - required: ["TableName", "ProvisionedThroughput"], - members: { - TableName: {}, - ProvisionedThroughput: { shape: "S12" }, - }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S15" } }, - }, - }, + updateHook: { + method: "PATCH", + params: { + active: { + type: "boolean" }, - shapes: { - S2: { - type: "map", - key: {}, - value: { - type: "structure", - required: ["Keys"], - members: { - Keys: { type: "list", member: { shape: "S6" } }, - AttributesToGet: { shape: "Se" }, - ConsistentRead: { type: "boolean" }, - }, - }, - }, - S6: { - type: "structure", - required: ["HashKeyElement"], - members: { - HashKeyElement: { shape: "S7" }, - RangeKeyElement: { shape: "S7" }, - }, - }, - S7: { - type: "structure", - members: { - S: {}, - N: {}, - B: { type: "blob" }, - SS: { type: "list", member: {} }, - NS: { type: "list", member: {} }, - BS: { type: "list", member: { type: "blob" } }, - }, - }, - Se: { type: "list", member: {} }, - Sk: { type: "list", member: { shape: "Sl" } }, - Sl: { type: "map", key: {}, value: { shape: "S7" } }, - So: { - type: "map", - key: {}, - value: { - type: "list", - member: { - type: "structure", - members: { - PutRequest: { - type: "structure", - required: ["Item"], - members: { Item: { shape: "Ss" } }, - }, - DeleteRequest: { - type: "structure", - required: ["Key"], - members: { Key: { shape: "S6" } }, - }, - }, - }, - }, - }, - Ss: { type: "map", key: {}, value: { shape: "S7" } }, - Sy: { - type: "structure", - required: ["HashKeyElement"], - members: { - HashKeyElement: { shape: "Sz" }, - RangeKeyElement: { shape: "Sz" }, - }, - }, - Sz: { - type: "structure", - required: ["AttributeName", "AttributeType"], - members: { AttributeName: {}, AttributeType: {} }, - }, - S12: { - type: "structure", - required: ["ReadCapacityUnits", "WriteCapacityUnits"], - members: { - ReadCapacityUnits: { type: "long" }, - WriteCapacityUnits: { type: "long" }, - }, - }, - S15: { - type: "structure", - members: { - TableName: {}, - KeySchema: { shape: "Sy" }, - TableStatus: {}, - CreationDateTime: { type: "timestamp" }, - ProvisionedThroughput: { - type: "structure", - members: { - LastIncreaseDateTime: { type: "timestamp" }, - LastDecreaseDateTime: { type: "timestamp" }, - NumberOfDecreasesToday: { type: "long" }, - ReadCapacityUnits: { type: "long" }, - WriteCapacityUnits: { type: "long" }, - }, - }, - TableSizeBytes: { type: "long" }, - ItemCount: { type: "long" }, - }, - }, - S1b: { - type: "map", - key: {}, - value: { - type: "structure", - members: { Value: { shape: "S7" }, Exists: { type: "boolean" } }, - }, - }, - S1u: { - type: "structure", - required: ["ComparisonOperator"], - members: { - AttributeValueList: { type: "list", member: { shape: "S7" } }, - ComparisonOperator: {}, - }, - }, + add_events: { + type: "string[]" }, - }; - - /***/ + config: { + type: "object" + }, + "config.content_type": { + type: "string" + }, + "config.insecure_ssl": { + type: "string" + }, + "config.secret": { + type: "string" + }, + "config.url": { + required: true, + type: "string" + }, + events: { + type: "string[]" + }, + hook_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + remove_events: { + type: "string[]" + }, + repo: { + required: true, + type: "string" + } + }, + url: "/repos/:owner/:repo/hooks/:hook_id" }, - - /***/ 1168: /***/ function (module) { - "use strict"; - - const alias = ["stdin", "stdout", "stderr"]; - - const hasAlias = (opts) => alias.some((x) => Boolean(opts[x])); - - module.exports = (opts) => { - if (!opts) { - return null; + updateInformationAboutPagesSite: { + method: "PUT", + params: { + cname: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + source: { + enum: ['"gh-pages"', '"master"', '"master /docs"'], + type: "string" } - - if (opts.stdio && hasAlias(opts)) { - throw new Error( - `It's not possible to provide \`stdio\` in combination with one of ${alias - .map((x) => `\`${x}\``) - .join(", ")}` - ); + }, + url: "/repos/:owner/:repo/pages" + }, + updateInvitation: { + method: "PATCH", + params: { + invitation_id: { + required: true, + type: "integer" + }, + owner: { + required: true, + type: "string" + }, + permissions: { + enum: ["read", "write", "admin"], + type: "string" + }, + repo: { + required: true, + type: "string" } - - if (typeof opts.stdio === "string") { - return opts.stdio; + }, + url: "/repos/:owner/:repo/invitations/:invitation_id" + }, + updateProtectedBranchPullRequestReviewEnforcement: { + method: "PATCH", + params: { + branch: { + required: true, + type: "string" + }, + dismiss_stale_reviews: { + type: "boolean" + }, + dismissal_restrictions: { + type: "object" + }, + "dismissal_restrictions.teams": { + type: "string[]" + }, + "dismissal_restrictions.users": { + type: "string[]" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + require_code_owner_reviews: { + type: "boolean" + }, + required_approving_review_count: { + type: "integer" } - - const stdio = opts.stdio || []; - - if (!Array.isArray(stdio)) { - throw new TypeError( - `Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\`` - ); + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews" + }, + updateProtectedBranchRequiredStatusChecks: { + method: "PATCH", + params: { + branch: { + required: true, + type: "string" + }, + contexts: { + type: "string[]" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + strict: { + type: "boolean" } - - const result = []; - const len = Math.max(stdio.length, alias.length); - - for (let i = 0; i < len; i++) { - let value = null; - - if (stdio[i] !== undefined) { - value = stdio[i]; - } else if (opts[alias[i]] !== undefined) { - value = opts[alias[i]]; - } - - result[i] = value; + }, + url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks" + }, + updateRelease: { + method: "PATCH", + params: { + body: { + type: "string" + }, + draft: { + type: "boolean" + }, + name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + prerelease: { + type: "boolean" + }, + release_id: { + required: true, + type: "integer" + }, + repo: { + required: true, + type: "string" + }, + tag_name: { + type: "string" + }, + target_commitish: { + type: "string" } - - return result; - }; - - /***/ + }, + url: "/repos/:owner/:repo/releases/:release_id" }, - - /***/ 1175: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(395).util; - var toBuffer = util.buffer.toBuffer; - - // All prelude components are unsigned, 32-bit integers - var PRELUDE_MEMBER_LENGTH = 4; - // The prelude consists of two components - var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2; - // Checksums are always CRC32 hashes. - var CHECKSUM_LENGTH = 4; - // Messages must include a full prelude, a prelude checksum, and a message checksum - var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2; - - /** - * @api private - * - * @param {Buffer} message - */ - function splitMessage(message) { - if (!util.Buffer.isBuffer(message)) message = toBuffer(message); - - if (message.length < MINIMUM_MESSAGE_LENGTH) { - throw new Error( - "Provided message too short to accommodate event stream message overhead" - ); + updateReleaseAsset: { + method: "PATCH", + params: { + asset_id: { + required: true, + type: "integer" + }, + label: { + type: "string" + }, + name: { + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" } - - if (message.length !== message.readUInt32BE(0)) { - throw new Error( - "Reported message length does not match received message length" - ); + }, + url: "/repos/:owner/:repo/releases/assets/:asset_id" + }, + uploadReleaseAsset: { + method: "POST", + params: { + data: { + mapTo: "data", + required: true, + type: "string | object" + }, + file: { + alias: "data", + deprecated: true, + type: "string | object" + }, + headers: { + required: true, + type: "object" + }, + "headers.content-length": { + required: true, + type: "integer" + }, + "headers.content-type": { + required: true, + type: "string" + }, + label: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + url: { + required: true, + type: "string" + } + }, + url: ":url" + } + }, + search: { + code: { + method: "GET", + params: { + order: { + enum: ["desc", "asc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + q: { + required: true, + type: "string" + }, + sort: { + enum: ["indexed"], + type: "string" + } + }, + url: "/search/code" + }, + commits: { + headers: { + accept: "application/vnd.github.cloak-preview+json" + }, + method: "GET", + params: { + order: { + enum: ["desc", "asc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + q: { + required: true, + type: "string" + }, + sort: { + enum: ["author-date", "committer-date"], + type: "string" + } + }, + url: "/search/commits" + }, + issues: { + deprecated: "octokit.search.issues() has been renamed to octokit.search.issuesAndPullRequests() (2018-12-27)", + method: "GET", + params: { + order: { + enum: ["desc", "asc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + q: { + required: true, + type: "string" + }, + sort: { + enum: ["comments", "reactions", "reactions-+1", "reactions--1", "reactions-smile", "reactions-thinking_face", "reactions-heart", "reactions-tada", "interactions", "created", "updated"], + type: "string" + } + }, + url: "/search/issues" + }, + issuesAndPullRequests: { + method: "GET", + params: { + order: { + enum: ["desc", "asc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + q: { + required: true, + type: "string" + }, + sort: { + enum: ["comments", "reactions", "reactions-+1", "reactions--1", "reactions-smile", "reactions-thinking_face", "reactions-heart", "reactions-tada", "interactions", "created", "updated"], + type: "string" + } + }, + url: "/search/issues" + }, + labels: { + method: "GET", + params: { + order: { + enum: ["desc", "asc"], + type: "string" + }, + q: { + required: true, + type: "string" + }, + repository_id: { + required: true, + type: "integer" + }, + sort: { + enum: ["created", "updated"], + type: "string" + } + }, + url: "/search/labels" + }, + repos: { + method: "GET", + params: { + order: { + enum: ["desc", "asc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + q: { + required: true, + type: "string" + }, + sort: { + enum: ["stars", "forks", "help-wanted-issues", "updated"], + type: "string" + } + }, + url: "/search/repositories" + }, + topics: { + method: "GET", + params: { + q: { + required: true, + type: "string" + } + }, + url: "/search/topics" + }, + users: { + method: "GET", + params: { + order: { + enum: ["desc", "asc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + q: { + required: true, + type: "string" + }, + sort: { + enum: ["followers", "repositories", "joined"], + type: "string" + } + }, + url: "/search/users" + } + }, + teams: { + addMember: { + deprecated: "octokit.teams.addMember() has been renamed to octokit.teams.addMemberLegacy() (2020-01-16)", + method: "PUT", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/members/:username" + }, + addMemberLegacy: { + deprecated: "octokit.teams.addMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-team-member-legacy", + method: "PUT", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/members/:username" + }, + addOrUpdateMembership: { + deprecated: "octokit.teams.addOrUpdateMembership() has been renamed to octokit.teams.addOrUpdateMembershipLegacy() (2020-01-16)", + method: "PUT", + params: { + role: { + enum: ["member", "maintainer"], + type: "string" + }, + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/memberships/:username" + }, + addOrUpdateMembershipInOrg: { + method: "PUT", + params: { + org: { + required: true, + type: "string" + }, + role: { + enum: ["member", "maintainer"], + type: "string" + }, + team_slug: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/memberships/:username" + }, + addOrUpdateMembershipLegacy: { + deprecated: "octokit.teams.addOrUpdateMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-legacy", + method: "PUT", + params: { + role: { + enum: ["member", "maintainer"], + type: "string" + }, + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/memberships/:username" + }, + addOrUpdateProject: { + deprecated: "octokit.teams.addOrUpdateProject() has been renamed to octokit.teams.addOrUpdateProjectLegacy() (2020-01-16)", + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "PUT", + params: { + permission: { + enum: ["read", "write", "admin"], + type: "string" + }, + project_id: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects/:project_id" + }, + addOrUpdateProjectInOrg: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "PUT", + params: { + org: { + required: true, + type: "string" + }, + permission: { + enum: ["read", "write", "admin"], + type: "string" + }, + project_id: { + required: true, + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/projects/:project_id" + }, + addOrUpdateProjectLegacy: { + deprecated: "octokit.teams.addOrUpdateProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-project-legacy", + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "PUT", + params: { + permission: { + enum: ["read", "write", "admin"], + type: "string" + }, + project_id: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects/:project_id" + }, + addOrUpdateRepo: { + deprecated: "octokit.teams.addOrUpdateRepo() has been renamed to octokit.teams.addOrUpdateRepoLegacy() (2020-01-16)", + method: "PUT", + params: { + owner: { + required: true, + type: "string" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos/:owner/:repo" + }, + addOrUpdateRepoInOrg: { + method: "PUT", + params: { + org: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo" + }, + addOrUpdateRepoLegacy: { + deprecated: "octokit.teams.addOrUpdateRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#add-or-update-team-repository-legacy", + method: "PUT", + params: { + owner: { + required: true, + type: "string" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos/:owner/:repo" + }, + checkManagesRepo: { + deprecated: "octokit.teams.checkManagesRepo() has been renamed to octokit.teams.checkManagesRepoLegacy() (2020-01-16)", + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos/:owner/:repo" + }, + checkManagesRepoInOrg: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo" + }, + checkManagesRepoLegacy: { + deprecated: "octokit.teams.checkManagesRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#check-if-a-team-manages-a-repository-legacy", + method: "GET", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos/:owner/:repo" + }, + create: { + method: "POST", + params: { + description: { + type: "string" + }, + maintainers: { + type: "string[]" + }, + name: { + required: true, + type: "string" + }, + org: { + required: true, + type: "string" + }, + parent_team_id: { + type: "integer" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + privacy: { + enum: ["secret", "closed"], + type: "string" + }, + repo_names: { + type: "string[]" + } + }, + url: "/orgs/:org/teams" + }, + createDiscussion: { + deprecated: "octokit.teams.createDiscussion() has been renamed to octokit.teams.createDiscussionLegacy() (2020-01-16)", + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + private: { + type: "boolean" + }, + team_id: { + required: true, + type: "integer" + }, + title: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/discussions" + }, + createDiscussionComment: { + deprecated: "octokit.teams.createDiscussionComment() has been renamed to octokit.teams.createDiscussionCommentLegacy() (2020-01-16)", + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments" + }, + createDiscussionCommentInOrg: { + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments" + }, + createDiscussionCommentLegacy: { + deprecated: "octokit.teams.createDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#create-a-comment-legacy", + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments" + }, + createDiscussionInOrg: { + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + org: { + required: true, + type: "string" + }, + private: { + type: "boolean" + }, + team_slug: { + required: true, + type: "string" + }, + title: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions" + }, + createDiscussionLegacy: { + deprecated: "octokit.teams.createDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy", + method: "POST", + params: { + body: { + required: true, + type: "string" + }, + private: { + type: "boolean" + }, + team_id: { + required: true, + type: "integer" + }, + title: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/discussions" + }, + delete: { + deprecated: "octokit.teams.delete() has been renamed to octokit.teams.deleteLegacy() (2020-01-16)", + method: "DELETE", + params: { + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id" + }, + deleteDiscussion: { + deprecated: "octokit.teams.deleteDiscussion() has been renamed to octokit.teams.deleteDiscussionLegacy() (2020-01-16)", + method: "DELETE", + params: { + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number" + }, + deleteDiscussionComment: { + deprecated: "octokit.teams.deleteDiscussionComment() has been renamed to octokit.teams.deleteDiscussionCommentLegacy() (2020-01-16)", + method: "DELETE", + params: { + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number" + }, + deleteDiscussionCommentInOrg: { + method: "DELETE", + params: { + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number" + }, + deleteDiscussionCommentLegacy: { + deprecated: "octokit.teams.deleteDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#delete-a-comment-legacy", + method: "DELETE", + params: { + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number" + }, + deleteDiscussionInOrg: { + method: "DELETE", + params: { + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number" + }, + deleteDiscussionLegacy: { + deprecated: "octokit.teams.deleteDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy", + method: "DELETE", + params: { + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number" + }, + deleteInOrg: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug" + }, + deleteLegacy: { + deprecated: "octokit.teams.deleteLegacy() is deprecated, see https://developer.github.com/v3/teams/#delete-team-legacy", + method: "DELETE", + params: { + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id" + }, + get: { + deprecated: "octokit.teams.get() has been renamed to octokit.teams.getLegacy() (2020-01-16)", + method: "GET", + params: { + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id" + }, + getByName: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug" + }, + getDiscussion: { + deprecated: "octokit.teams.getDiscussion() has been renamed to octokit.teams.getDiscussionLegacy() (2020-01-16)", + method: "GET", + params: { + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number" + }, + getDiscussionComment: { + deprecated: "octokit.teams.getDiscussionComment() has been renamed to octokit.teams.getDiscussionCommentLegacy() (2020-01-16)", + method: "GET", + params: { + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number" + }, + getDiscussionCommentInOrg: { + method: "GET", + params: { + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number" + }, + getDiscussionCommentLegacy: { + deprecated: "octokit.teams.getDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#get-a-single-comment-legacy", + method: "GET", + params: { + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number" + }, + getDiscussionInOrg: { + method: "GET", + params: { + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number" + }, + getDiscussionLegacy: { + deprecated: "octokit.teams.getDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#get-a-single-discussion-legacy", + method: "GET", + params: { + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number" + }, + getLegacy: { + deprecated: "octokit.teams.getLegacy() is deprecated, see https://developer.github.com/v3/teams/#get-team-legacy", + method: "GET", + params: { + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id" + }, + getMember: { + deprecated: "octokit.teams.getMember() has been renamed to octokit.teams.getMemberLegacy() (2020-01-16)", + method: "GET", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/members/:username" + }, + getMemberLegacy: { + deprecated: "octokit.teams.getMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-member-legacy", + method: "GET", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/members/:username" + }, + getMembership: { + deprecated: "octokit.teams.getMembership() has been renamed to octokit.teams.getMembershipLegacy() (2020-01-16)", + method: "GET", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/memberships/:username" + }, + getMembershipInOrg: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/memberships/:username" + }, + getMembershipLegacy: { + deprecated: "octokit.teams.getMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#get-team-membership-legacy", + method: "GET", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/memberships/:username" + }, + list: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/orgs/:org/teams" + }, + listChild: { + deprecated: "octokit.teams.listChild() has been renamed to octokit.teams.listChildLegacy() (2020-01-16)", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/teams" + }, + listChildInOrg: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/teams" + }, + listChildLegacy: { + deprecated: "octokit.teams.listChildLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-child-teams-legacy", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/teams" + }, + listDiscussionComments: { + deprecated: "octokit.teams.listDiscussionComments() has been renamed to octokit.teams.listDiscussionCommentsLegacy() (2020-01-16)", + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments" + }, + listDiscussionCommentsInOrg: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments" + }, + listDiscussionCommentsLegacy: { + deprecated: "octokit.teams.listDiscussionCommentsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#list-comments-legacy", + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments" + }, + listDiscussions: { + deprecated: "octokit.teams.listDiscussions() has been renamed to octokit.teams.listDiscussionsLegacy() (2020-01-16)", + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions" + }, + listDiscussionsInOrg: { + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions" + }, + listDiscussionsLegacy: { + deprecated: "octokit.teams.listDiscussionsLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy", + method: "GET", + params: { + direction: { + enum: ["asc", "desc"], + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions" + }, + listForAuthenticatedUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/teams" + }, + listMembers: { + deprecated: "octokit.teams.listMembers() has been renamed to octokit.teams.listMembersLegacy() (2020-01-16)", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + role: { + enum: ["member", "maintainer", "all"], + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/members" + }, + listMembersInOrg: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + role: { + enum: ["member", "maintainer", "all"], + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/members" + }, + listMembersLegacy: { + deprecated: "octokit.teams.listMembersLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-team-members-legacy", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + role: { + enum: ["member", "maintainer", "all"], + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/members" + }, + listPendingInvitations: { + deprecated: "octokit.teams.listPendingInvitations() has been renamed to octokit.teams.listPendingInvitationsLegacy() (2020-01-16)", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/invitations" + }, + listPendingInvitationsInOrg: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/invitations" + }, + listPendingInvitationsLegacy: { + deprecated: "octokit.teams.listPendingInvitationsLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/invitations" + }, + listProjects: { + deprecated: "octokit.teams.listProjects() has been renamed to octokit.teams.listProjectsLegacy() (2020-01-16)", + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects" + }, + listProjectsInOrg: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/projects" + }, + listProjectsLegacy: { + deprecated: "octokit.teams.listProjectsLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-projects-legacy", + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects" + }, + listRepos: { + deprecated: "octokit.teams.listRepos() has been renamed to octokit.teams.listReposLegacy() (2020-01-16)", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos" + }, + listReposInOrg: { + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/repos" + }, + listReposLegacy: { + deprecated: "octokit.teams.listReposLegacy() is deprecated, see https://developer.github.com/v3/teams/#list-team-repos-legacy", + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos" + }, + removeMember: { + deprecated: "octokit.teams.removeMember() has been renamed to octokit.teams.removeMemberLegacy() (2020-01-16)", + method: "DELETE", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/members/:username" + }, + removeMemberLegacy: { + deprecated: "octokit.teams.removeMemberLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-member-legacy", + method: "DELETE", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/members/:username" + }, + removeMembership: { + deprecated: "octokit.teams.removeMembership() has been renamed to octokit.teams.removeMembershipLegacy() (2020-01-16)", + method: "DELETE", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/memberships/:username" + }, + removeMembershipInOrg: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/memberships/:username" + }, + removeMembershipLegacy: { + deprecated: "octokit.teams.removeMembershipLegacy() is deprecated, see https://developer.github.com/v3/teams/members/#remove-team-membership-legacy", + method: "DELETE", + params: { + team_id: { + required: true, + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/teams/:team_id/memberships/:username" + }, + removeProject: { + deprecated: "octokit.teams.removeProject() has been renamed to octokit.teams.removeProjectLegacy() (2020-01-16)", + method: "DELETE", + params: { + project_id: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects/:project_id" + }, + removeProjectInOrg: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + project_id: { + required: true, + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/projects/:project_id" + }, + removeProjectLegacy: { + deprecated: "octokit.teams.removeProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-project-legacy", + method: "DELETE", + params: { + project_id: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects/:project_id" + }, + removeRepo: { + deprecated: "octokit.teams.removeRepo() has been renamed to octokit.teams.removeRepoLegacy() (2020-01-16)", + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos/:owner/:repo" + }, + removeRepoInOrg: { + method: "DELETE", + params: { + org: { + required: true, + type: "string" + }, + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo" + }, + removeRepoLegacy: { + deprecated: "octokit.teams.removeRepoLegacy() is deprecated, see https://developer.github.com/v3/teams/#remove-team-repository-legacy", + method: "DELETE", + params: { + owner: { + required: true, + type: "string" + }, + repo: { + required: true, + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/repos/:owner/:repo" + }, + reviewProject: { + deprecated: "octokit.teams.reviewProject() has been renamed to octokit.teams.reviewProjectLegacy() (2020-01-16)", + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + project_id: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects/:project_id" + }, + reviewProjectInOrg: { + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + org: { + required: true, + type: "string" + }, + project_id: { + required: true, + type: "integer" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/projects/:project_id" + }, + reviewProjectLegacy: { + deprecated: "octokit.teams.reviewProjectLegacy() is deprecated, see https://developer.github.com/v3/teams/#review-a-team-project-legacy", + headers: { + accept: "application/vnd.github.inertia-preview+json" + }, + method: "GET", + params: { + project_id: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/projects/:project_id" + }, + update: { + deprecated: "octokit.teams.update() has been renamed to octokit.teams.updateLegacy() (2020-01-16)", + method: "PATCH", + params: { + description: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + parent_team_id: { + type: "integer" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + privacy: { + enum: ["secret", "closed"], + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id" + }, + updateDiscussion: { + deprecated: "octokit.teams.updateDiscussion() has been renamed to octokit.teams.updateDiscussionLegacy() (2020-01-16)", + method: "PATCH", + params: { + body: { + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + }, + title: { + type: "string" + } + }, + url: "/teams/:team_id/discussions/:discussion_number" + }, + updateDiscussionComment: { + deprecated: "octokit.teams.updateDiscussionComment() has been renamed to octokit.teams.updateDiscussionCommentLegacy() (2020-01-16)", + method: "PATCH", + params: { + body: { + required: true, + type: "string" + }, + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number" + }, + updateDiscussionCommentInOrg: { + method: "PATCH", + params: { + body: { + required: true, + type: "string" + }, + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number" + }, + updateDiscussionCommentLegacy: { + deprecated: "octokit.teams.updateDiscussionCommentLegacy() is deprecated, see https://developer.github.com/v3/teams/discussion_comments/#edit-a-comment-legacy", + method: "PATCH", + params: { + body: { + required: true, + type: "string" + }, + comment_number: { + required: true, + type: "integer" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number" + }, + updateDiscussionInOrg: { + method: "PATCH", + params: { + body: { + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + org: { + required: true, + type: "string" + }, + team_slug: { + required: true, + type: "string" + }, + title: { + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number" + }, + updateDiscussionLegacy: { + deprecated: "octokit.teams.updateDiscussionLegacy() is deprecated, see https://developer.github.com/v3/teams/discussions/#edit-a-discussion-legacy", + method: "PATCH", + params: { + body: { + type: "string" + }, + discussion_number: { + required: true, + type: "integer" + }, + team_id: { + required: true, + type: "integer" + }, + title: { + type: "string" + } + }, + url: "/teams/:team_id/discussions/:discussion_number" + }, + updateInOrg: { + method: "PATCH", + params: { + description: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + org: { + required: true, + type: "string" + }, + parent_team_id: { + type: "integer" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + privacy: { + enum: ["secret", "closed"], + type: "string" + }, + team_slug: { + required: true, + type: "string" + } + }, + url: "/orgs/:org/teams/:team_slug" + }, + updateLegacy: { + deprecated: "octokit.teams.updateLegacy() is deprecated, see https://developer.github.com/v3/teams/#edit-team-legacy", + method: "PATCH", + params: { + description: { + type: "string" + }, + name: { + required: true, + type: "string" + }, + parent_team_id: { + type: "integer" + }, + permission: { + enum: ["pull", "push", "admin"], + type: "string" + }, + privacy: { + enum: ["secret", "closed"], + type: "string" + }, + team_id: { + required: true, + type: "integer" + } + }, + url: "/teams/:team_id" + } + }, + users: { + addEmails: { + method: "POST", + params: { + emails: { + required: true, + type: "string[]" + } + }, + url: "/user/emails" + }, + block: { + method: "PUT", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/user/blocks/:username" + }, + checkBlocked: { + method: "GET", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/user/blocks/:username" + }, + checkFollowing: { + method: "GET", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/user/following/:username" + }, + checkFollowingForUser: { + method: "GET", + params: { + target_user: { + required: true, + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/following/:target_user" + }, + createGpgKey: { + method: "POST", + params: { + armored_public_key: { + type: "string" + } + }, + url: "/user/gpg_keys" + }, + createPublicKey: { + method: "POST", + params: { + key: { + type: "string" + }, + title: { + type: "string" + } + }, + url: "/user/keys" + }, + deleteEmails: { + method: "DELETE", + params: { + emails: { + required: true, + type: "string[]" + } + }, + url: "/user/emails" + }, + deleteGpgKey: { + method: "DELETE", + params: { + gpg_key_id: { + required: true, + type: "integer" + } + }, + url: "/user/gpg_keys/:gpg_key_id" + }, + deletePublicKey: { + method: "DELETE", + params: { + key_id: { + required: true, + type: "integer" + } + }, + url: "/user/keys/:key_id" + }, + follow: { + method: "PUT", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/user/following/:username" + }, + getAuthenticated: { + method: "GET", + params: {}, + url: "/user" + }, + getByUsername: { + method: "GET", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/users/:username" + }, + getContextForUser: { + method: "GET", + params: { + subject_id: { + type: "string" + }, + subject_type: { + enum: ["organization", "repository", "issue", "pull_request"], + type: "string" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/hovercard" + }, + getGpgKey: { + method: "GET", + params: { + gpg_key_id: { + required: true, + type: "integer" + } + }, + url: "/user/gpg_keys/:gpg_key_id" + }, + getPublicKey: { + method: "GET", + params: { + key_id: { + required: true, + type: "integer" + } + }, + url: "/user/keys/:key_id" + }, + list: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + since: { + type: "string" + } + }, + url: "/users" + }, + listBlocked: { + method: "GET", + params: {}, + url: "/user/blocks" + }, + listEmails: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/emails" + }, + listFollowersForAuthenticatedUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/followers" + }, + listFollowersForUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/followers" + }, + listFollowingForAuthenticatedUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/following" + }, + listFollowingForUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/following" + }, + listGpgKeys: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/gpg_keys" + }, + listGpgKeysForUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/gpg_keys" + }, + listPublicEmails: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" } - - var expectedPreludeChecksum = message.readUInt32BE(PRELUDE_LENGTH); - - if ( - expectedPreludeChecksum !== - util.crypto.crc32(message.slice(0, PRELUDE_LENGTH)) - ) { - throw new Error( - "The prelude checksum specified in the message (" + - expectedPreludeChecksum + - ") does not match the calculated CRC32 checksum." - ); + }, + url: "/user/public_emails" + }, + listPublicKeys: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + } + }, + url: "/user/keys" + }, + listPublicKeysForUser: { + method: "GET", + params: { + page: { + type: "integer" + }, + per_page: { + type: "integer" + }, + username: { + required: true, + type: "string" + } + }, + url: "/users/:username/keys" + }, + togglePrimaryEmailVisibility: { + method: "PATCH", + params: { + email: { + required: true, + type: "string" + }, + visibility: { + required: true, + type: "string" + } + }, + url: "/user/email/visibility" + }, + unblock: { + method: "DELETE", + params: { + username: { + required: true, + type: "string" + } + }, + url: "/user/blocks/:username" + }, + unfollow: { + method: "DELETE", + params: { + username: { + required: true, + type: "string" } + }, + url: "/user/following/:username" + }, + updateAuthenticated: { + method: "PATCH", + params: { + bio: { + type: "string" + }, + blog: { + type: "string" + }, + company: { + type: "string" + }, + email: { + type: "string" + }, + hireable: { + type: "boolean" + }, + location: { + type: "string" + }, + name: { + type: "string" + } + }, + url: "/user" + } + } +}; - var expectedMessageChecksum = message.readUInt32BE( - message.length - CHECKSUM_LENGTH - ); +const VERSION = "2.4.0"; - if ( - expectedMessageChecksum !== - util.crypto.crc32(message.slice(0, message.length - CHECKSUM_LENGTH)) - ) { - throw new Error( - "The message checksum did not match the expected value of " + - expectedMessageChecksum - ); +function registerEndpoints(octokit, routes) { + Object.keys(routes).forEach(namespaceName => { + if (!octokit[namespaceName]) { + octokit[namespaceName] = {}; + } + + Object.keys(routes[namespaceName]).forEach(apiName => { + const apiOptions = routes[namespaceName][apiName]; + const endpointDefaults = ["method", "url", "headers"].reduce((map, key) => { + if (typeof apiOptions[key] !== "undefined") { + map[key] = apiOptions[key]; } - var headersStart = PRELUDE_LENGTH + CHECKSUM_LENGTH; - var headersEnd = - headersStart + message.readUInt32BE(PRELUDE_MEMBER_LENGTH); + return map; + }, {}); + endpointDefaults.request = { + validate: apiOptions.params + }; + let request = octokit.request.defaults(endpointDefaults); // patch request & endpoint methods to support deprecated parameters. + // Not the most elegant solution, but we don’t want to move deprecation + // logic into octokit/endpoint.js as it’s out of scope - return { - headers: message.slice(headersStart, headersEnd), - body: message.slice(headersEnd, message.length - CHECKSUM_LENGTH), - }; + const hasDeprecatedParam = Object.keys(apiOptions.params || {}).find(key => apiOptions.params[key].deprecated); + + if (hasDeprecatedParam) { + const patch = patchForDeprecation.bind(null, octokit, apiOptions); + request = patch(octokit.request.defaults(endpointDefaults), `.${namespaceName}.${apiName}()`); + request.endpoint = patch(request.endpoint, `.${namespaceName}.${apiName}.endpoint()`); + request.endpoint.merge = patch(request.endpoint.merge, `.${namespaceName}.${apiName}.endpoint.merge()`); } - /** - * @api private - */ - module.exports = { - splitMessage: splitMessage, - }; + if (apiOptions.deprecated) { + octokit[namespaceName][apiName] = Object.assign(function deprecatedEndpointMethod() { + octokit.log.warn(new deprecation.Deprecation(`[@octokit/rest] ${apiOptions.deprecated}`)); + octokit[namespaceName][apiName] = request; + return request.apply(null, arguments); + }, request); + return; + } - /***/ - }, + octokit[namespaceName][apiName] = request; + }); + }); +} - /***/ 1176: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2019-12-02", - endpointPrefix: "schemas", - signingName: "schemas", - serviceFullName: "Schemas", - serviceId: "schemas", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "schemas-2019-12-02", - signatureVersion: "v4", - }, - operations: { - CreateDiscoverer: { - http: { requestUri: "/v1/discoverers", responseCode: 201 }, - input: { - type: "structure", - members: { - Description: {}, - SourceArn: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - required: ["SourceArn"], - }, - output: { - type: "structure", - members: { - Description: {}, - DiscovererArn: {}, - DiscovererId: {}, - SourceArn: {}, - State: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - CreateRegistry: { - http: { - requestUri: "/v1/registries/name/{registryName}", - responseCode: 201, - }, - input: { - type: "structure", - members: { - Description: {}, - RegistryName: { location: "uri", locationName: "registryName" }, - Tags: { shape: "S4", locationName: "tags" }, - }, - required: ["RegistryName"], - }, - output: { - type: "structure", - members: { - Description: {}, - RegistryArn: {}, - RegistryName: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - CreateSchema: { - http: { - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}", - responseCode: 201, - }, - input: { - type: "structure", - members: { - Content: {}, - Description: {}, - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - Tags: { shape: "S4", locationName: "tags" }, - Type: {}, - }, - required: ["RegistryName", "SchemaName", "Type", "Content"], - }, - output: { - type: "structure", - members: { - Description: {}, - LastModified: { shape: "Se" }, - SchemaArn: {}, - SchemaName: {}, - SchemaVersion: {}, - Tags: { shape: "S4", locationName: "tags" }, - Type: {}, - VersionCreatedDate: { shape: "Se" }, - }, - }, - }, - DeleteDiscoverer: { - http: { - method: "DELETE", - requestUri: "/v1/discoverers/id/{discovererId}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - DiscovererId: { location: "uri", locationName: "discovererId" }, - }, - required: ["DiscovererId"], - }, - }, - DeleteRegistry: { - http: { - method: "DELETE", - requestUri: "/v1/registries/name/{registryName}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - RegistryName: { location: "uri", locationName: "registryName" }, - }, - required: ["RegistryName"], - }, - }, - DeleteSchema: { - http: { - method: "DELETE", - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - }, - required: ["RegistryName", "SchemaName"], - }, - }, - DeleteSchemaVersion: { - http: { - method: "DELETE", - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}/version/{schemaVersion}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - SchemaVersion: { - location: "uri", - locationName: "schemaVersion", - }, - }, - required: ["SchemaVersion", "RegistryName", "SchemaName"], - }, - }, - DescribeCodeBinding: { - http: { - method: "GET", - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Language: { location: "uri", locationName: "language" }, - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - SchemaVersion: { - location: "querystring", - locationName: "schemaVersion", - }, - }, - required: ["RegistryName", "SchemaName", "Language"], - }, - output: { - type: "structure", - members: { - CreationDate: { shape: "Se" }, - LastModified: { shape: "Se" }, - SchemaVersion: {}, - Status: {}, - }, - }, - }, - DescribeDiscoverer: { - http: { - method: "GET", - requestUri: "/v1/discoverers/id/{discovererId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DiscovererId: { location: "uri", locationName: "discovererId" }, - }, - required: ["DiscovererId"], - }, - output: { - type: "structure", - members: { - Description: {}, - DiscovererArn: {}, - DiscovererId: {}, - SourceArn: {}, - State: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - DescribeRegistry: { - http: { - method: "GET", - requestUri: "/v1/registries/name/{registryName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - RegistryName: { location: "uri", locationName: "registryName" }, - }, - required: ["RegistryName"], - }, - output: { - type: "structure", - members: { - Description: {}, - RegistryArn: {}, - RegistryName: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - DescribeSchema: { - http: { - method: "GET", - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - SchemaVersion: { - location: "querystring", - locationName: "schemaVersion", - }, - }, - required: ["RegistryName", "SchemaName"], - }, - output: { - type: "structure", - members: { - Content: {}, - Description: {}, - LastModified: { shape: "Se" }, - SchemaArn: {}, - SchemaName: {}, - SchemaVersion: {}, - Tags: { shape: "S4", locationName: "tags" }, - Type: {}, - VersionCreatedDate: { shape: "Se" }, - }, - }, - }, - GetCodeBindingSource: { - http: { - method: "GET", - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}/source", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Language: { location: "uri", locationName: "language" }, - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - SchemaVersion: { - location: "querystring", - locationName: "schemaVersion", - }, - }, - required: ["RegistryName", "SchemaName", "Language"], - }, - output: { - type: "structure", - members: { Body: { type: "blob" } }, - payload: "Body", - }, - }, - GetDiscoveredSchema: { - http: { requestUri: "/v1/discover", responseCode: 200 }, - input: { - type: "structure", - members: { Events: { type: "list", member: {} }, Type: {} }, - required: ["Type", "Events"], - }, - output: { type: "structure", members: { Content: {} } }, - }, - ListDiscoverers: { - http: { - method: "GET", - requestUri: "/v1/discoverers", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DiscovererIdPrefix: { - location: "querystring", - locationName: "discovererIdPrefix", - }, - Limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - SourceArnPrefix: { - location: "querystring", - locationName: "sourceArnPrefix", - }, - }, - }, - output: { - type: "structure", - members: { Discoverers: { shape: "S12" }, NextToken: {} }, - }, - }, - ListRegistries: { - http: { - method: "GET", - requestUri: "/v1/registries", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - RegistryNamePrefix: { - location: "querystring", - locationName: "registryNamePrefix", - }, - Scope: { location: "querystring", locationName: "scope" }, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - Registries: { - type: "list", - member: { - type: "structure", - members: { - RegistryArn: {}, - RegistryName: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - }, - }, - }, - ListSchemaVersions: { - http: { - method: "GET", - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - }, - required: ["RegistryName", "SchemaName"], - }, - output: { - type: "structure", - members: { - NextToken: {}, - SchemaVersions: { - type: "list", - member: { - type: "structure", - members: { - SchemaArn: {}, - SchemaName: {}, - SchemaVersion: {}, - }, - }, - }, - }, - }, - }, - ListSchemas: { - http: { - method: "GET", - requestUri: "/v1/registries/name/{registryName}/schemas", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaNamePrefix: { - location: "querystring", - locationName: "schemaNamePrefix", - }, - }, - required: ["RegistryName"], - }, - output: { - type: "structure", - members: { - NextToken: {}, - Schemas: { - type: "list", - member: { - type: "structure", - members: { - LastModified: { shape: "Se" }, - SchemaArn: {}, - SchemaName: {}, - Tags: { shape: "S4", locationName: "tags" }, - VersionCount: { type: "long" }, - }, - }, - }, - }, - }, - }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/tags/{resource-arn}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - }, - required: ["ResourceArn"], - }, - output: { - type: "structure", - members: { Tags: { shape: "S4" } }, - required: ["Tags"], - }, - }, - LockServiceLinkedRole: { - http: { requestUri: "/slr-deletion/lock", responseCode: 200 }, - input: { - type: "structure", - members: { RoleArn: {}, Timeout: { type: "integer" } }, - required: ["Timeout", "RoleArn"], - }, - output: { - type: "structure", - members: { - CanBeDeleted: { type: "boolean" }, - ReasonOfFailure: {}, - RelatedResources: { shape: "S12" }, - }, - }, - internal: true, - }, - PutCodeBinding: { - http: { - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - Language: { location: "uri", locationName: "language" }, - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - SchemaVersion: { - location: "querystring", - locationName: "schemaVersion", - }, - }, - required: ["RegistryName", "SchemaName", "Language"], - }, - output: { - type: "structure", - members: { - CreationDate: { shape: "Se" }, - LastModified: { shape: "Se" }, - SchemaVersion: {}, - Status: {}, - }, - }, - }, - SearchSchemas: { - http: { - method: "GET", - requestUri: "/v1/registries/name/{registryName}/schemas/search", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Keywords: { location: "querystring", locationName: "keywords" }, - Limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - RegistryName: { location: "uri", locationName: "registryName" }, - }, - required: ["RegistryName", "Keywords"], - }, - output: { - type: "structure", - members: { - NextToken: {}, - Schemas: { - type: "list", - member: { - type: "structure", - members: { - RegistryName: {}, - SchemaArn: {}, - SchemaName: {}, - SchemaVersions: { - type: "list", - member: { - type: "structure", - members: { - CreatedDate: { shape: "Se" }, - SchemaVersion: {}, - }, - }, - }, - }, - }, - }, - }, - }, - }, - StartDiscoverer: { - http: { - requestUri: "/v1/discoverers/id/{discovererId}/start", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DiscovererId: { location: "uri", locationName: "discovererId" }, - }, - required: ["DiscovererId"], - }, - output: { - type: "structure", - members: { DiscovererId: {}, State: {} }, - }, - }, - StopDiscoverer: { - http: { - requestUri: "/v1/discoverers/id/{discovererId}/stop", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DiscovererId: { location: "uri", locationName: "discovererId" }, - }, - required: ["DiscovererId"], - }, - output: { - type: "structure", - members: { DiscovererId: {}, State: {} }, - }, - }, - TagResource: { - http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "S4", locationName: "tags" }, - }, - required: ["ResourceArn", "Tags"], - }, - }, - UnlockServiceLinkedRole: { - http: { requestUri: "/slr-deletion/unlock", responseCode: 200 }, - input: { - type: "structure", - members: { RoleArn: {} }, - required: ["RoleArn"], - }, - output: { type: "structure", members: {} }, - internal: true, - }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - location: "querystring", - locationName: "tagKeys", - type: "list", - member: {}, - }, - }, - required: ["TagKeys", "ResourceArn"], - }, - }, - UpdateDiscoverer: { - http: { - method: "PUT", - requestUri: "/v1/discoverers/id/{discovererId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Description: {}, - DiscovererId: { location: "uri", locationName: "discovererId" }, - }, - required: ["DiscovererId"], - }, - output: { - type: "structure", - members: { - Description: {}, - DiscovererArn: {}, - DiscovererId: {}, - SourceArn: {}, - State: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - UpdateRegistry: { - http: { - method: "PUT", - requestUri: "/v1/registries/name/{registryName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Description: {}, - RegistryName: { location: "uri", locationName: "registryName" }, - }, - required: ["RegistryName"], - }, - output: { - type: "structure", - members: { - Description: {}, - RegistryArn: {}, - RegistryName: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - UpdateSchema: { - http: { - method: "PUT", - requestUri: - "/v1/registries/name/{registryName}/schemas/name/{schemaName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ClientTokenId: { idempotencyToken: true }, - Content: {}, - Description: {}, - RegistryName: { location: "uri", locationName: "registryName" }, - SchemaName: { location: "uri", locationName: "schemaName" }, - Type: {}, - }, - required: ["RegistryName", "SchemaName"], - }, - output: { - type: "structure", - members: { - Description: {}, - LastModified: { shape: "Se" }, - SchemaArn: {}, - SchemaName: {}, - SchemaVersion: {}, - Tags: { shape: "S4", locationName: "tags" }, - Type: {}, - VersionCreatedDate: { shape: "Se" }, - }, - }, - }, - }, - shapes: { - S4: { type: "map", key: {}, value: {} }, - Se: { type: "timestamp", timestampFormat: "iso8601" }, - S12: { - type: "list", - member: { - type: "structure", - members: { - DiscovererArn: {}, - DiscovererId: {}, - SourceArn: {}, - State: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, - }, - }; +function patchForDeprecation(octokit, apiOptions, method, methodName) { + const patchedMethod = options => { + options = Object.assign({}, options); + Object.keys(options).forEach(key => { + if (apiOptions.params[key] && apiOptions.params[key].deprecated) { + const aliasKey = apiOptions.params[key].alias; + octokit.log.warn(new deprecation.Deprecation(`[@octokit/rest] "${key}" parameter is deprecated for "${methodName}". Use "${aliasKey}" instead`)); - /***/ - }, + if (!(aliasKey in options)) { + options[aliasKey] = options[key]; + } - /***/ 1186: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + delete options[key]; + } + }); + return method(options); + }; - apiLoader.services["cognitosync"] = {}; - AWS.CognitoSync = Service.defineService("cognitosync", ["2014-06-30"]); - Object.defineProperty(apiLoader.services["cognitosync"], "2014-06-30", { - get: function get() { - var model = __webpack_require__(7422); - return model; - }, - enumerable: true, - configurable: true, - }); + Object.keys(method).forEach(key => { + patchedMethod[key] = method[key]; + }); + return patchedMethod; +} - module.exports = AWS.CognitoSync; +/** + * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary + * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is + * done, we will remove the registerEndpoints methods and return the methods + * directly as with the other plugins. At that point we will also remove the + * legacy workarounds and deprecations. + * + * See the plan at + * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 + */ - /***/ - }, +function restEndpointMethods(octokit) { + // @ts-ignore + octokit.registerEndpoints = registerEndpoints.bind(null, octokit); + registerEndpoints(octokit, endpointsByScope); // Aliasing scopes for backward compatibility + // See https://github.com/octokit/rest.js/pull/1134 - /***/ 1187: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["pinpointsmsvoice"] = {}; - AWS.PinpointSMSVoice = Service.defineService("pinpointsmsvoice", [ - "2018-09-05", - ]); - Object.defineProperty( - apiLoader.services["pinpointsmsvoice"], - "2018-09-05", - { - get: function get() { - var model = __webpack_require__(2241); - return model; - }, - enumerable: true, - configurable: true, - } - ); + [["gitdata", "git"], ["authorization", "oauthAuthorizations"], ["pullRequests", "pulls"]].forEach(([deprecatedScope, scope]) => { + Object.defineProperty(octokit, deprecatedScope, { + get() { + octokit.log.warn( // @ts-ignore + new deprecation.Deprecation(`[@octokit/plugin-rest-endpoint-methods] "octokit.${deprecatedScope}.*" methods are deprecated, use "octokit.${scope}.*" instead`)); // @ts-ignore - module.exports = AWS.PinpointSMSVoice; + return octokit[scope]; + } - /***/ - }, + }); + }); + return {}; +} +restEndpointMethods.VERSION = VERSION; - /***/ 1191: /***/ function (module) { - module.exports = require("querystring"); +exports.restEndpointMethods = restEndpointMethods; +//# sourceMappingURL=index.js.map - /***/ - }, - /***/ 1200: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - uid: "iot-data-2015-05-28", - apiVersion: "2015-05-28", - endpointPrefix: "data.iot", - protocol: "rest-json", - serviceFullName: "AWS IoT Data Plane", - serviceId: "IoT Data Plane", - signatureVersion: "v4", - signingName: "iotdata", - }, - operations: { - DeleteThingShadow: { - http: { - method: "DELETE", - requestUri: "/things/{thingName}/shadow", - }, - input: { - type: "structure", - required: ["thingName"], - members: { - thingName: { location: "uri", locationName: "thingName" }, - }, - }, - output: { - type: "structure", - required: ["payload"], - members: { payload: { type: "blob" } }, - payload: "payload", - }, - }, - GetThingShadow: { - http: { method: "GET", requestUri: "/things/{thingName}/shadow" }, - input: { - type: "structure", - required: ["thingName"], - members: { - thingName: { location: "uri", locationName: "thingName" }, - }, - }, - output: { - type: "structure", - members: { payload: { type: "blob" } }, - payload: "payload", - }, - }, - Publish: { - http: { requestUri: "/topics/{topic}" }, - input: { - type: "structure", - required: ["topic"], - members: { - topic: { location: "uri", locationName: "topic" }, - qos: { - location: "querystring", - locationName: "qos", - type: "integer", - }, - payload: { type: "blob" }, - }, - payload: "payload", - }, - }, - UpdateThingShadow: { - http: { requestUri: "/things/{thingName}/shadow" }, - input: { - type: "structure", - required: ["thingName", "payload"], - members: { - thingName: { location: "uri", locationName: "thingName" }, - payload: { type: "blob" }, - }, - payload: "payload", - }, - output: { - type: "structure", - members: { payload: { type: "blob" } }, - payload: "payload", - }, - }, - }, - shapes: {}, - }; +/***/ }), - /***/ - }, +/***/ 848: +/***/ (function(module) { - /***/ 1201: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-11-28", - endpointPrefix: "lightsail", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon Lightsail", - serviceId: "Lightsail", - signatureVersion: "v4", - targetPrefix: "Lightsail_20161128", - uid: "lightsail-2016-11-28", - }, - operations: { - AllocateStaticIp: { - input: { - type: "structure", - required: ["staticIpName"], - members: { staticIpName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - AttachDisk: { - input: { - type: "structure", - required: ["diskName", "instanceName", "diskPath"], - members: { diskName: {}, instanceName: {}, diskPath: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - AttachInstancesToLoadBalancer: { - input: { - type: "structure", - required: ["loadBalancerName", "instanceNames"], - members: { loadBalancerName: {}, instanceNames: { shape: "Si" } }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - AttachLoadBalancerTlsCertificate: { - input: { - type: "structure", - required: ["loadBalancerName", "certificateName"], - members: { loadBalancerName: {}, certificateName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - AttachStaticIp: { - input: { - type: "structure", - required: ["staticIpName", "instanceName"], - members: { staticIpName: {}, instanceName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CloseInstancePublicPorts: { - input: { - type: "structure", - required: ["portInfo", "instanceName"], - members: { portInfo: { shape: "Sp" }, instanceName: {} }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - CopySnapshot: { - input: { - type: "structure", - required: ["targetSnapshotName", "sourceRegion"], - members: { - sourceSnapshotName: {}, - sourceResourceName: {}, - restoreDate: {}, - useLatestRestorableAutoSnapshot: { type: "boolean" }, - targetSnapshotName: {}, - sourceRegion: {}, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateCloudFormationStack: { - input: { - type: "structure", - required: ["instances"], - members: { - instances: { - type: "list", - member: { - type: "structure", - required: [ - "sourceName", - "instanceType", - "portInfoSource", - "availabilityZone", - ], - members: { - sourceName: {}, - instanceType: {}, - portInfoSource: {}, - userData: {}, - availabilityZone: {}, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateContactMethod: { - input: { - type: "structure", - required: ["protocol", "contactEndpoint"], - members: { protocol: {}, contactEndpoint: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateDisk: { - input: { - type: "structure", - required: ["diskName", "availabilityZone", "sizeInGb"], - members: { - diskName: {}, - availabilityZone: {}, - sizeInGb: { type: "integer" }, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateDiskFromSnapshot: { - input: { - type: "structure", - required: ["diskName", "availabilityZone", "sizeInGb"], - members: { - diskName: {}, - diskSnapshotName: {}, - availabilityZone: {}, - sizeInGb: { type: "integer" }, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, - sourceDiskName: {}, - restoreDate: {}, - useLatestRestorableAutoSnapshot: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateDiskSnapshot: { - input: { - type: "structure", - required: ["diskSnapshotName"], - members: { - diskName: {}, - diskSnapshotName: {}, - instanceName: {}, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateDomain: { - input: { - type: "structure", - required: ["domainName"], - members: { domainName: {}, tags: { shape: "S16" } }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - CreateDomainEntry: { - input: { - type: "structure", - required: ["domainName", "domainEntry"], - members: { domainName: {}, domainEntry: { shape: "S1o" } }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - CreateInstanceSnapshot: { - input: { - type: "structure", - required: ["instanceSnapshotName", "instanceName"], - members: { - instanceSnapshotName: {}, - instanceName: {}, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateInstances: { - input: { - type: "structure", - required: [ - "instanceNames", - "availabilityZone", - "blueprintId", - "bundleId", - ], - members: { - instanceNames: { shape: "S1w" }, - availabilityZone: {}, - customImageName: { deprecated: true }, - blueprintId: {}, - bundleId: {}, - userData: {}, - keyPairName: {}, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateInstancesFromSnapshot: { - input: { - type: "structure", - required: ["instanceNames", "availabilityZone", "bundleId"], - members: { - instanceNames: { shape: "S1w" }, - attachedDiskMapping: { - type: "map", - key: {}, - value: { - type: "list", - member: { - type: "structure", - members: { originalDiskPath: {}, newDiskName: {} }, - }, - }, - }, - availabilityZone: {}, - instanceSnapshotName: {}, - bundleId: {}, - userData: {}, - keyPairName: {}, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, - sourceInstanceName: {}, - restoreDate: {}, - useLatestRestorableAutoSnapshot: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateKeyPair: { - input: { - type: "structure", - required: ["keyPairName"], - members: { keyPairName: {}, tags: { shape: "S16" } }, - }, - output: { - type: "structure", - members: { - keyPair: { shape: "S25" }, - publicKeyBase64: {}, - privateKeyBase64: {}, - operation: { shape: "S5" }, - }, - }, - }, - CreateLoadBalancer: { - input: { - type: "structure", - required: ["loadBalancerName", "instancePort"], - members: { - loadBalancerName: {}, - instancePort: { type: "integer" }, - healthCheckPath: {}, - certificateName: {}, - certificateDomainName: {}, - certificateAlternativeNames: { shape: "S28" }, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateLoadBalancerTlsCertificate: { - input: { - type: "structure", - required: [ - "loadBalancerName", - "certificateName", - "certificateDomainName", - ], - members: { - loadBalancerName: {}, - certificateName: {}, - certificateDomainName: {}, - certificateAlternativeNames: { shape: "S28" }, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateRelationalDatabase: { - input: { - type: "structure", - required: [ - "relationalDatabaseName", - "relationalDatabaseBlueprintId", - "relationalDatabaseBundleId", - "masterDatabaseName", - "masterUsername", - ], - members: { - relationalDatabaseName: {}, - availabilityZone: {}, - relationalDatabaseBlueprintId: {}, - relationalDatabaseBundleId: {}, - masterDatabaseName: {}, - masterUsername: {}, - masterUserPassword: { shape: "S2d" }, - preferredBackupWindow: {}, - preferredMaintenanceWindow: {}, - publiclyAccessible: { type: "boolean" }, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateRelationalDatabaseFromSnapshot: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { - relationalDatabaseName: {}, - availabilityZone: {}, - publiclyAccessible: { type: "boolean" }, - relationalDatabaseSnapshotName: {}, - relationalDatabaseBundleId: {}, - sourceRelationalDatabaseName: {}, - restoreTime: { type: "timestamp" }, - useLatestRestorableTime: { type: "boolean" }, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - CreateRelationalDatabaseSnapshot: { - input: { - type: "structure", - required: [ - "relationalDatabaseName", - "relationalDatabaseSnapshotName", - ], - members: { - relationalDatabaseName: {}, - relationalDatabaseSnapshotName: {}, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteAlarm: { - input: { - type: "structure", - required: ["alarmName"], - members: { alarmName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteAutoSnapshot: { - input: { - type: "structure", - required: ["resourceName", "date"], - members: { resourceName: {}, date: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteContactMethod: { - input: { - type: "structure", - required: ["protocol"], - members: { protocol: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteDisk: { - input: { - type: "structure", - required: ["diskName"], - members: { diskName: {}, forceDeleteAddOns: { type: "boolean" } }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteDiskSnapshot: { - input: { - type: "structure", - required: ["diskSnapshotName"], - members: { diskSnapshotName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteDomain: { - input: { - type: "structure", - required: ["domainName"], - members: { domainName: {} }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - DeleteDomainEntry: { - input: { - type: "structure", - required: ["domainName", "domainEntry"], - members: { domainName: {}, domainEntry: { shape: "S1o" } }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - DeleteInstance: { - input: { - type: "structure", - required: ["instanceName"], - members: { - instanceName: {}, - forceDeleteAddOns: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteInstanceSnapshot: { - input: { - type: "structure", - required: ["instanceSnapshotName"], - members: { instanceSnapshotName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteKeyPair: { - input: { - type: "structure", - required: ["keyPairName"], - members: { keyPairName: {} }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - DeleteKnownHostKeys: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteLoadBalancer: { - input: { - type: "structure", - required: ["loadBalancerName"], - members: { loadBalancerName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteLoadBalancerTlsCertificate: { - input: { - type: "structure", - required: ["loadBalancerName", "certificateName"], - members: { - loadBalancerName: {}, - certificateName: {}, - force: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteRelationalDatabase: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { - relationalDatabaseName: {}, - skipFinalSnapshot: { type: "boolean" }, - finalRelationalDatabaseSnapshotName: {}, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DeleteRelationalDatabaseSnapshot: { - input: { - type: "structure", - required: ["relationalDatabaseSnapshotName"], - members: { relationalDatabaseSnapshotName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DetachDisk: { - input: { - type: "structure", - required: ["diskName"], - members: { diskName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DetachInstancesFromLoadBalancer: { - input: { - type: "structure", - required: ["loadBalancerName", "instanceNames"], - members: { loadBalancerName: {}, instanceNames: { shape: "Si" } }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DetachStaticIp: { - input: { - type: "structure", - required: ["staticIpName"], - members: { staticIpName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DisableAddOn: { - input: { - type: "structure", - required: ["addOnType", "resourceName"], - members: { addOnType: {}, resourceName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - DownloadDefaultKeyPair: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { publicKeyBase64: {}, privateKeyBase64: {} }, - }, - }, - EnableAddOn: { - input: { - type: "structure", - required: ["resourceName", "addOnRequest"], - members: { resourceName: {}, addOnRequest: { shape: "S1b" } }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - ExportSnapshot: { - input: { - type: "structure", - required: ["sourceSnapshotName"], - members: { sourceSnapshotName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - GetActiveNames: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { activeNames: { shape: "S1w" }, nextPageToken: {} }, - }, - }, - GetAlarms: { - input: { - type: "structure", - members: { - alarmName: {}, - pageToken: {}, - monitoredResourceName: {}, - }, - }, - output: { - type: "structure", - members: { - alarms: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - arn: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - supportCode: {}, - monitoredResourceInfo: { - type: "structure", - members: { arn: {}, name: {}, resourceType: {} }, - }, - comparisonOperator: {}, - evaluationPeriods: { type: "integer" }, - period: { type: "integer" }, - threshold: { type: "double" }, - datapointsToAlarm: { type: "integer" }, - treatMissingData: {}, - statistic: {}, - metricName: {}, - state: {}, - unit: {}, - contactProtocols: { shape: "S48" }, - notificationTriggers: { shape: "S49" }, - notificationEnabled: { type: "boolean" }, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetAutoSnapshots: { - input: { - type: "structure", - required: ["resourceName"], - members: { resourceName: {} }, - }, - output: { - type: "structure", - members: { - resourceName: {}, - resourceType: {}, - autoSnapshots: { - type: "list", - member: { - type: "structure", - members: { - date: {}, - createdAt: { type: "timestamp" }, - status: {}, - fromAttachedDisks: { - type: "list", - member: { - type: "structure", - members: { path: {}, sizeInGb: { type: "integer" } }, - }, - }, - }, - }, - }, - }, - }, - }, - GetBlueprints: { - input: { - type: "structure", - members: { includeInactive: { type: "boolean" }, pageToken: {} }, - }, - output: { - type: "structure", - members: { - blueprints: { - type: "list", - member: { - type: "structure", - members: { - blueprintId: {}, - name: {}, - group: {}, - type: {}, - description: {}, - isActive: { type: "boolean" }, - minPower: { type: "integer" }, - version: {}, - versionCode: {}, - productUrl: {}, - licenseUrl: {}, - platform: {}, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetBundles: { - input: { - type: "structure", - members: { includeInactive: { type: "boolean" }, pageToken: {} }, - }, - output: { - type: "structure", - members: { - bundles: { - type: "list", - member: { - type: "structure", - members: { - price: { type: "float" }, - cpuCount: { type: "integer" }, - diskSizeInGb: { type: "integer" }, - bundleId: {}, - instanceType: {}, - isActive: { type: "boolean" }, - name: {}, - power: { type: "integer" }, - ramSizeInGb: { type: "float" }, - transferPerMonthInGb: { type: "integer" }, - supportedPlatforms: { type: "list", member: {} }, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetCloudFormationStackRecords: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - cloudFormationStackRecords: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - arn: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - state: {}, - sourceInfo: { - type: "list", - member: { - type: "structure", - members: { resourceType: {}, name: {}, arn: {} }, - }, - }, - destinationInfo: { shape: "S51" }, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetContactMethods: { - input: { - type: "structure", - members: { protocols: { shape: "S48" } }, - }, - output: { - type: "structure", - members: { - contactMethods: { - type: "list", - member: { - type: "structure", - members: { - contactEndpoint: {}, - status: {}, - protocol: {}, - name: {}, - arn: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - supportCode: {}, - }, - }, - }, - }, - }, - }, - GetDisk: { - input: { - type: "structure", - required: ["diskName"], - members: { diskName: {} }, - }, - output: { type: "structure", members: { disk: { shape: "S59" } } }, - }, - GetDiskSnapshot: { - input: { - type: "structure", - required: ["diskSnapshotName"], - members: { diskSnapshotName: {} }, - }, - output: { - type: "structure", - members: { diskSnapshot: { shape: "S5f" } }, - }, - }, - GetDiskSnapshots: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - diskSnapshots: { type: "list", member: { shape: "S5f" } }, - nextPageToken: {}, - }, - }, - }, - GetDisks: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { disks: { shape: "S5m" }, nextPageToken: {} }, - }, - }, - GetDomain: { - input: { - type: "structure", - required: ["domainName"], - members: { domainName: {} }, - }, - output: { - type: "structure", - members: { domain: { shape: "S5p" } }, - }, - }, - GetDomains: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - domains: { type: "list", member: { shape: "S5p" } }, - nextPageToken: {}, - }, - }, - }, - GetExportSnapshotRecords: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - exportSnapshotRecords: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - arn: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - state: {}, - sourceInfo: { - type: "structure", - members: { - resourceType: {}, - createdAt: { type: "timestamp" }, - name: {}, - arn: {}, - fromResourceName: {}, - fromResourceArn: {}, - instanceSnapshotInfo: { - type: "structure", - members: { - fromBundleId: {}, - fromBlueprintId: {}, - fromDiskInfo: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - path: {}, - sizeInGb: { type: "integer" }, - isSystemDisk: { type: "boolean" }, - }, - }, - }, - }, - }, - diskSnapshotInfo: { - type: "structure", - members: { sizeInGb: { type: "integer" } }, - }, - }, - }, - destinationInfo: { shape: "S51" }, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetInstance: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {} }, - }, - output: { - type: "structure", - members: { instance: { shape: "S66" } }, - }, - }, - GetInstanceAccessDetails: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {}, protocol: {} }, - }, - output: { - type: "structure", - members: { - accessDetails: { - type: "structure", - members: { - certKey: {}, - expiresAt: { type: "timestamp" }, - ipAddress: {}, - password: {}, - passwordData: { - type: "structure", - members: { ciphertext: {}, keyPairName: {} }, - }, - privateKey: {}, - protocol: {}, - instanceName: {}, - username: {}, - hostKeys: { - type: "list", - member: { - type: "structure", - members: { - algorithm: {}, - publicKey: {}, - witnessedAt: { type: "timestamp" }, - fingerprintSHA1: {}, - fingerprintSHA256: {}, - notValidBefore: { type: "timestamp" }, - notValidAfter: { type: "timestamp" }, - }, - }, - }, - }, - }, - }, - }, - }, - GetInstanceMetricData: { - input: { - type: "structure", - required: [ - "instanceName", - "metricName", - "period", - "startTime", - "endTime", - "unit", - "statistics", - ], - members: { - instanceName: {}, - metricName: {}, - period: { type: "integer" }, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - unit: {}, - statistics: { shape: "S6r" }, - }, - }, - output: { - type: "structure", - members: { metricName: {}, metricData: { shape: "S6t" } }, - }, - }, - GetInstancePortStates: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {} }, - }, - output: { - type: "structure", - members: { - portStates: { - type: "list", - member: { - type: "structure", - members: { - fromPort: { type: "integer" }, - toPort: { type: "integer" }, - protocol: {}, - state: {}, - }, - }, - }, - }, - }, - }, - GetInstanceSnapshot: { - input: { - type: "structure", - required: ["instanceSnapshotName"], - members: { instanceSnapshotName: {} }, - }, - output: { - type: "structure", - members: { instanceSnapshot: { shape: "S72" } }, - }, - }, - GetInstanceSnapshots: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - instanceSnapshots: { type: "list", member: { shape: "S72" } }, - nextPageToken: {}, - }, - }, - }, - GetInstanceState: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {} }, - }, - output: { type: "structure", members: { state: { shape: "S6g" } } }, - }, - GetInstances: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - instances: { type: "list", member: { shape: "S66" } }, - nextPageToken: {}, - }, - }, - }, - GetKeyPair: { - input: { - type: "structure", - required: ["keyPairName"], - members: { keyPairName: {} }, - }, - output: { - type: "structure", - members: { keyPair: { shape: "S25" } }, - }, - }, - GetKeyPairs: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - keyPairs: { type: "list", member: { shape: "S25" } }, - nextPageToken: {}, - }, - }, - }, - GetLoadBalancer: { - input: { - type: "structure", - required: ["loadBalancerName"], - members: { loadBalancerName: {} }, - }, - output: { - type: "structure", - members: { loadBalancer: { shape: "S7j" } }, - }, - }, - GetLoadBalancerMetricData: { - input: { - type: "structure", - required: [ - "loadBalancerName", - "metricName", - "period", - "startTime", - "endTime", - "unit", - "statistics", - ], - members: { - loadBalancerName: {}, - metricName: {}, - period: { type: "integer" }, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - unit: {}, - statistics: { shape: "S6r" }, - }, - }, - output: { - type: "structure", - members: { metricName: {}, metricData: { shape: "S6t" } }, - }, - }, - GetLoadBalancerTlsCertificates: { - input: { - type: "structure", - required: ["loadBalancerName"], - members: { loadBalancerName: {} }, - }, - output: { - type: "structure", - members: { - tlsCertificates: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - loadBalancerName: {}, - isAttached: { type: "boolean" }, - status: {}, - domainName: {}, - domainValidationRecords: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - type: {}, - value: {}, - validationStatus: {}, - domainName: {}, - }, - }, - }, - failureReason: {}, - issuedAt: { type: "timestamp" }, - issuer: {}, - keyAlgorithm: {}, - notAfter: { type: "timestamp" }, - notBefore: { type: "timestamp" }, - renewalSummary: { - type: "structure", - members: { - renewalStatus: {}, - domainValidationOptions: { - type: "list", - member: { - type: "structure", - members: { domainName: {}, validationStatus: {} }, - }, - }, - }, - }, - revocationReason: {}, - revokedAt: { type: "timestamp" }, - serial: {}, - signatureAlgorithm: {}, - subject: {}, - subjectAlternativeNames: { shape: "S1w" }, - }, - }, - }, - }, - }, - }, - GetLoadBalancers: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - loadBalancers: { type: "list", member: { shape: "S7j" } }, - nextPageToken: {}, - }, - }, - }, - GetOperation: { - input: { - type: "structure", - required: ["operationId"], - members: { operationId: {} }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - GetOperations: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { operations: { shape: "S4" }, nextPageToken: {} }, - }, - }, - GetOperationsForResource: { - input: { - type: "structure", - required: ["resourceName"], - members: { resourceName: {}, pageToken: {} }, - }, - output: { - type: "structure", - members: { - operations: { shape: "S4" }, - nextPageCount: { deprecated: true }, - nextPageToken: {}, - }, - }, - }, - GetRegions: { - input: { - type: "structure", - members: { - includeAvailabilityZones: { type: "boolean" }, - includeRelationalDatabaseAvailabilityZones: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - regions: { - type: "list", - member: { - type: "structure", - members: { - continentCode: {}, - description: {}, - displayName: {}, - name: {}, - availabilityZones: { shape: "S8p" }, - relationalDatabaseAvailabilityZones: { shape: "S8p" }, - }, - }, - }, - }, - }, - }, - GetRelationalDatabase: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { relationalDatabaseName: {} }, - }, - output: { - type: "structure", - members: { relationalDatabase: { shape: "S8t" } }, - }, - }, - GetRelationalDatabaseBlueprints: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - blueprints: { - type: "list", - member: { - type: "structure", - members: { - blueprintId: {}, - engine: {}, - engineVersion: {}, - engineDescription: {}, - engineVersionDescription: {}, - isEngineDefault: { type: "boolean" }, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetRelationalDatabaseBundles: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - bundles: { - type: "list", - member: { - type: "structure", - members: { - bundleId: {}, - name: {}, - price: { type: "float" }, - ramSizeInGb: { type: "float" }, - diskSizeInGb: { type: "integer" }, - transferPerMonthInGb: { type: "integer" }, - cpuCount: { type: "integer" }, - isEncrypted: { type: "boolean" }, - isActive: { type: "boolean" }, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetRelationalDatabaseEvents: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { - relationalDatabaseName: {}, - durationInMinutes: { type: "integer" }, - pageToken: {}, - }, - }, - output: { - type: "structure", - members: { - relationalDatabaseEvents: { - type: "list", - member: { - type: "structure", - members: { - resource: {}, - createdAt: { type: "timestamp" }, - message: {}, - eventCategories: { shape: "S1w" }, - }, - }, - }, - nextPageToken: {}, - }, - }, - }, - GetRelationalDatabaseLogEvents: { - input: { - type: "structure", - required: ["relationalDatabaseName", "logStreamName"], - members: { - relationalDatabaseName: {}, - logStreamName: {}, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - startFromHead: { type: "boolean" }, - pageToken: {}, - }, - }, - output: { - type: "structure", - members: { - resourceLogEvents: { - type: "list", - member: { - type: "structure", - members: { createdAt: { type: "timestamp" }, message: {} }, - }, - }, - nextBackwardToken: {}, - nextForwardToken: {}, - }, - }, - }, - GetRelationalDatabaseLogStreams: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { relationalDatabaseName: {} }, - }, - output: { - type: "structure", - members: { logStreams: { shape: "S1w" } }, - }, - }, - GetRelationalDatabaseMasterUserPassword: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { relationalDatabaseName: {}, passwordVersion: {} }, - }, - output: { - type: "structure", - members: { - masterUserPassword: { shape: "S2d" }, - createdAt: { type: "timestamp" }, - }, - }, - }, - GetRelationalDatabaseMetricData: { - input: { - type: "structure", - required: [ - "relationalDatabaseName", - "metricName", - "period", - "startTime", - "endTime", - "unit", - "statistics", - ], - members: { - relationalDatabaseName: {}, - metricName: {}, - period: { type: "integer" }, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - unit: {}, - statistics: { shape: "S6r" }, - }, - }, - output: { - type: "structure", - members: { metricName: {}, metricData: { shape: "S6t" } }, - }, - }, - GetRelationalDatabaseParameters: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { relationalDatabaseName: {}, pageToken: {} }, - }, - output: { - type: "structure", - members: { parameters: { shape: "S9q" }, nextPageToken: {} }, - }, - }, - GetRelationalDatabaseSnapshot: { - input: { - type: "structure", - required: ["relationalDatabaseSnapshotName"], - members: { relationalDatabaseSnapshotName: {} }, - }, - output: { - type: "structure", - members: { relationalDatabaseSnapshot: { shape: "S9u" } }, - }, - }, - GetRelationalDatabaseSnapshots: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - relationalDatabaseSnapshots: { - type: "list", - member: { shape: "S9u" }, - }, - nextPageToken: {}, - }, - }, - }, - GetRelationalDatabases: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - relationalDatabases: { type: "list", member: { shape: "S8t" } }, - nextPageToken: {}, - }, - }, - }, - GetStaticIp: { - input: { - type: "structure", - required: ["staticIpName"], - members: { staticIpName: {} }, - }, - output: { - type: "structure", - members: { staticIp: { shape: "Sa3" } }, - }, - }, - GetStaticIps: { - input: { type: "structure", members: { pageToken: {} } }, - output: { - type: "structure", - members: { - staticIps: { type: "list", member: { shape: "Sa3" } }, - nextPageToken: {}, - }, - }, - }, - ImportKeyPair: { - input: { - type: "structure", - required: ["keyPairName", "publicKeyBase64"], - members: { keyPairName: {}, publicKeyBase64: {} }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - IsVpcPeered: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { isPeered: { type: "boolean" } }, - }, - }, - OpenInstancePublicPorts: { - input: { - type: "structure", - required: ["portInfo", "instanceName"], - members: { portInfo: { shape: "Sp" }, instanceName: {} }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - PeerVpc: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - PutAlarm: { - input: { - type: "structure", - required: [ - "alarmName", - "metricName", - "monitoredResourceName", - "comparisonOperator", - "threshold", - "evaluationPeriods", - ], - members: { - alarmName: {}, - metricName: {}, - monitoredResourceName: {}, - comparisonOperator: {}, - threshold: { type: "double" }, - evaluationPeriods: { type: "integer" }, - datapointsToAlarm: { type: "integer" }, - treatMissingData: {}, - contactProtocols: { shape: "S48" }, - notificationTriggers: { shape: "S49" }, - notificationEnabled: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - PutInstancePublicPorts: { - input: { - type: "structure", - required: ["portInfos", "instanceName"], - members: { - portInfos: { type: "list", member: { shape: "Sp" } }, - instanceName: {}, - }, - }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - RebootInstance: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - RebootRelationalDatabase: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { relationalDatabaseName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - ReleaseStaticIp: { - input: { - type: "structure", - required: ["staticIpName"], - members: { staticIpName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - SendContactMethodVerification: { - input: { - type: "structure", - required: ["protocol"], - members: { protocol: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - StartInstance: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - StartRelationalDatabase: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { relationalDatabaseName: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - StopInstance: { - input: { - type: "structure", - required: ["instanceName"], - members: { instanceName: {}, force: { type: "boolean" } }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - StopRelationalDatabase: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { - relationalDatabaseName: {}, - relationalDatabaseSnapshotName: {}, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["resourceName", "tags"], - members: { - resourceName: {}, - resourceArn: {}, - tags: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - TestAlarm: { - input: { - type: "structure", - required: ["alarmName", "state"], - members: { alarmName: {}, state: {} }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - UnpeerVpc: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { operation: { shape: "S5" } }, - }, - }, - UntagResource: { - input: { - type: "structure", - required: ["resourceName", "tagKeys"], - members: { - resourceName: {}, - resourceArn: {}, - tagKeys: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - UpdateDomainEntry: { - input: { - type: "structure", - required: ["domainName", "domainEntry"], - members: { domainName: {}, domainEntry: { shape: "S1o" } }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - UpdateLoadBalancerAttribute: { - input: { - type: "structure", - required: ["loadBalancerName", "attributeName", "attributeValue"], - members: { - loadBalancerName: {}, - attributeName: {}, - attributeValue: {}, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - UpdateRelationalDatabase: { - input: { - type: "structure", - required: ["relationalDatabaseName"], - members: { - relationalDatabaseName: {}, - masterUserPassword: { shape: "S2d" }, - rotateMasterUserPassword: { type: "boolean" }, - preferredBackupWindow: {}, - preferredMaintenanceWindow: {}, - enableBackupRetention: { type: "boolean" }, - disableBackupRetention: { type: "boolean" }, - publiclyAccessible: { type: "boolean" }, - applyImmediately: { type: "boolean" }, - caCertificateIdentifier: {}, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - UpdateRelationalDatabaseParameters: { - input: { - type: "structure", - required: ["relationalDatabaseName", "parameters"], - members: { - relationalDatabaseName: {}, - parameters: { shape: "S9q" }, - }, - }, - output: { - type: "structure", - members: { operations: { shape: "S4" } }, - }, - }, - }, - shapes: { - S4: { type: "list", member: { shape: "S5" } }, - S5: { - type: "structure", - members: { - id: {}, - resourceName: {}, - resourceType: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - isTerminal: { type: "boolean" }, - operationDetails: {}, - operationType: {}, - status: {}, - statusChangedAt: { type: "timestamp" }, - errorCode: {}, - errorDetails: {}, - }, - }, - S9: { - type: "structure", - members: { availabilityZone: {}, regionName: {} }, - }, - Si: { type: "list", member: {} }, - Sp: { - type: "structure", - members: { - fromPort: { type: "integer" }, - toPort: { type: "integer" }, - protocol: {}, - }, - }, - S16: { - type: "list", - member: { type: "structure", members: { key: {}, value: {} } }, - }, - S1a: { type: "list", member: { shape: "S1b" } }, - S1b: { - type: "structure", - required: ["addOnType"], - members: { - addOnType: {}, - autoSnapshotAddOnRequest: { - type: "structure", - members: { snapshotTimeOfDay: {} }, - }, - }, - }, - S1o: { - type: "structure", - members: { - id: {}, - name: {}, - target: {}, - isAlias: { type: "boolean" }, - type: {}, - options: { deprecated: true, type: "map", key: {}, value: {} }, - }, - }, - S1w: { type: "list", member: {} }, - S25: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - fingerprint: {}, - }, - }, - S28: { type: "list", member: {} }, - S2d: { type: "string", sensitive: true }, - S48: { type: "list", member: {} }, - S49: { type: "list", member: {} }, - S51: { type: "structure", members: { id: {}, service: {} } }, - S59: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - addOns: { shape: "S5a" }, - sizeInGb: { type: "integer" }, - isSystemDisk: { type: "boolean" }, - iops: { type: "integer" }, - path: {}, - state: {}, - attachedTo: {}, - isAttached: { type: "boolean" }, - attachmentState: { deprecated: true }, - gbInUse: { deprecated: true, type: "integer" }, - }, - }, - S5a: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - status: {}, - snapshotTimeOfDay: {}, - nextSnapshotTimeOfDay: {}, - }, - }, - }, - S5f: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - sizeInGb: { type: "integer" }, - state: {}, - progress: {}, - fromDiskName: {}, - fromDiskArn: {}, - fromInstanceName: {}, - fromInstanceArn: {}, - isFromAutoSnapshot: { type: "boolean" }, - }, - }, - S5m: { type: "list", member: { shape: "S59" } }, - S5p: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - domainEntries: { type: "list", member: { shape: "S1o" } }, - }, - }, - S66: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - blueprintId: {}, - blueprintName: {}, - bundleId: {}, - addOns: { shape: "S5a" }, - isStaticIp: { type: "boolean" }, - privateIpAddress: {}, - publicIpAddress: {}, - ipv6Address: {}, - hardware: { - type: "structure", - members: { - cpuCount: { type: "integer" }, - disks: { shape: "S5m" }, - ramSizeInGb: { type: "float" }, - }, - }, - networking: { - type: "structure", - members: { - monthlyTransfer: { - type: "structure", - members: { gbPerMonthAllocated: { type: "integer" } }, - }, - ports: { - type: "list", - member: { - type: "structure", - members: { - fromPort: { type: "integer" }, - toPort: { type: "integer" }, - protocol: {}, - accessFrom: {}, - accessType: {}, - commonName: {}, - accessDirection: {}, - }, - }, - }, - }, - }, - state: { shape: "S6g" }, - username: {}, - sshKeyName: {}, - }, - }, - S6g: { - type: "structure", - members: { code: { type: "integer" }, name: {} }, - }, - S6r: { type: "list", member: {} }, - S6t: { - type: "list", - member: { - type: "structure", - members: { - average: { type: "double" }, - maximum: { type: "double" }, - minimum: { type: "double" }, - sampleCount: { type: "double" }, - sum: { type: "double" }, - timestamp: { type: "timestamp" }, - unit: {}, - }, - }, - }, - S72: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - state: {}, - progress: {}, - fromAttachedDisks: { shape: "S5m" }, - fromInstanceName: {}, - fromInstanceArn: {}, - fromBlueprintId: {}, - fromBundleId: {}, - isFromAutoSnapshot: { type: "boolean" }, - sizeInGb: { type: "integer" }, - }, - }, - S7j: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - dnsName: {}, - state: {}, - protocol: {}, - publicPorts: { type: "list", member: { type: "integer" } }, - healthCheckPath: {}, - instancePort: { type: "integer" }, - instanceHealthSummary: { - type: "list", - member: { - type: "structure", - members: { - instanceName: {}, - instanceHealth: {}, - instanceHealthReason: {}, - }, - }, - }, - tlsCertificateSummaries: { - type: "list", - member: { - type: "structure", - members: { name: {}, isAttached: { type: "boolean" } }, - }, - }, - configurationOptions: { type: "map", key: {}, value: {} }, - }, - }, - S8p: { - type: "list", - member: { type: "structure", members: { zoneName: {}, state: {} } }, - }, - S8t: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - relationalDatabaseBlueprintId: {}, - relationalDatabaseBundleId: {}, - masterDatabaseName: {}, - hardware: { - type: "structure", - members: { - cpuCount: { type: "integer" }, - diskSizeInGb: { type: "integer" }, - ramSizeInGb: { type: "float" }, - }, - }, - state: {}, - secondaryAvailabilityZone: {}, - backupRetentionEnabled: { type: "boolean" }, - pendingModifiedValues: { - type: "structure", - members: { - masterUserPassword: {}, - engineVersion: {}, - backupRetentionEnabled: { type: "boolean" }, - }, - }, - engine: {}, - engineVersion: {}, - latestRestorableTime: { type: "timestamp" }, - masterUsername: {}, - parameterApplyStatus: {}, - preferredBackupWindow: {}, - preferredMaintenanceWindow: {}, - publiclyAccessible: { type: "boolean" }, - masterEndpoint: { - type: "structure", - members: { port: { type: "integer" }, address: {} }, - }, - pendingMaintenanceActions: { - type: "list", - member: { - type: "structure", - members: { - action: {}, - description: {}, - currentApplyDate: { type: "timestamp" }, - }, - }, - }, - caCertificateIdentifier: {}, - }, - }, - S9q: { - type: "list", - member: { - type: "structure", - members: { - allowedValues: {}, - applyMethod: {}, - applyType: {}, - dataType: {}, - description: {}, - isModifiable: { type: "boolean" }, - parameterName: {}, - parameterValue: {}, - }, - }, - }, - S9u: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - tags: { shape: "S16" }, - engine: {}, - engineVersion: {}, - sizeInGb: { type: "integer" }, - state: {}, - fromRelationalDatabaseName: {}, - fromRelationalDatabaseArn: {}, - fromRelationalDatabaseBundleId: {}, - fromRelationalDatabaseBlueprintId: {}, - }, - }, - Sa3: { - type: "structure", - members: { - name: {}, - arn: {}, - supportCode: {}, - createdAt: { type: "timestamp" }, - location: { shape: "S9" }, - resourceType: {}, - ipAddress: {}, - attachedTo: {}, - isAttached: { type: "boolean" }, - }, - }, - }, - }; +module.exports = {"pagination":{"ListDomains":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"domains"},"ListPackageVersionAssets":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"assets"},"ListPackageVersions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"versions"},"ListPackages":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"packages"},"ListRepositories":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"repositories"},"ListRepositoriesInDomain":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"repositories"}}}; - /***/ - }, +/***/ }), - /***/ 1209: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2017-07-25", - endpointPrefix: "dataexchange", - signingName: "dataexchange", - serviceFullName: "AWS Data Exchange", - serviceId: "DataExchange", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "dataexchange-2017-07-25", - signatureVersion: "v4", - }, - operations: { - CancelJob: { - http: { - method: "DELETE", - requestUri: "/v1/jobs/{JobId}", - responseCode: 204, - }, - input: { - type: "structure", - members: { JobId: { location: "uri", locationName: "JobId" } }, - required: ["JobId"], - }, - }, - CreateDataSet: { - http: { requestUri: "/v1/data-sets", responseCode: 201 }, - input: { - type: "structure", - members: { - AssetType: {}, - Description: {}, - Name: {}, - Tags: { shape: "S7" }, - }, - required: ["AssetType", "Description", "Name"], - }, - output: { - type: "structure", - members: { - Arn: {}, - AssetType: {}, - CreatedAt: { shape: "Sa" }, - Description: {}, - Id: {}, - Name: {}, - Origin: {}, - OriginDetails: { shape: "Sd" }, - SourceId: {}, - Tags: { shape: "S7" }, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - CreateJob: { - http: { requestUri: "/v1/jobs", responseCode: 201 }, - input: { - type: "structure", - members: { - Details: { - type: "structure", - members: { - ExportAssetToSignedUrl: { - type: "structure", - members: { AssetId: {}, DataSetId: {}, RevisionId: {} }, - required: ["DataSetId", "AssetId", "RevisionId"], - }, - ExportAssetsToS3: { - type: "structure", - members: { - AssetDestinations: { shape: "Si" }, - DataSetId: {}, - RevisionId: {}, - }, - required: [ - "AssetDestinations", - "DataSetId", - "RevisionId", - ], - }, - ImportAssetFromSignedUrl: { - type: "structure", - members: { - AssetName: {}, - DataSetId: {}, - Md5Hash: {}, - RevisionId: {}, - }, - required: [ - "DataSetId", - "Md5Hash", - "RevisionId", - "AssetName", - ], - }, - ImportAssetsFromS3: { - type: "structure", - members: { - AssetSources: { shape: "So" }, - DataSetId: {}, - RevisionId: {}, - }, - required: ["DataSetId", "AssetSources", "RevisionId"], - }, - }, - }, - Type: {}, - }, - required: ["Type", "Details"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreatedAt: { shape: "Sa" }, - Details: { shape: "Ss" }, - Errors: { shape: "Sx" }, - Id: {}, - State: {}, - Type: {}, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - CreateRevision: { - http: { - requestUri: "/v1/data-sets/{DataSetId}/revisions", - responseCode: 201, - }, - input: { - type: "structure", - members: { - Comment: {}, - DataSetId: { location: "uri", locationName: "DataSetId" }, - Tags: { shape: "S7" }, - }, - required: ["DataSetId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - Comment: {}, - CreatedAt: { shape: "Sa" }, - DataSetId: {}, - Finalized: { type: "boolean" }, - Id: {}, - SourceId: {}, - Tags: { shape: "S7" }, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - DeleteAsset: { - http: { - method: "DELETE", - requestUri: - "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - AssetId: { location: "uri", locationName: "AssetId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - RevisionId: { location: "uri", locationName: "RevisionId" }, - }, - required: ["RevisionId", "AssetId", "DataSetId"], - }, - }, - DeleteDataSet: { - http: { - method: "DELETE", - requestUri: "/v1/data-sets/{DataSetId}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - }, - required: ["DataSetId"], - }, - }, - DeleteRevision: { - http: { - method: "DELETE", - requestUri: "/v1/data-sets/{DataSetId}/revisions/{RevisionId}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - RevisionId: { location: "uri", locationName: "RevisionId" }, - }, - required: ["RevisionId", "DataSetId"], - }, - }, - GetAsset: { - http: { - method: "GET", - requestUri: - "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AssetId: { location: "uri", locationName: "AssetId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - RevisionId: { location: "uri", locationName: "RevisionId" }, - }, - required: ["RevisionId", "AssetId", "DataSetId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - AssetDetails: { shape: "S1f" }, - AssetType: {}, - CreatedAt: { shape: "Sa" }, - DataSetId: {}, - Id: {}, - Name: {}, - RevisionId: {}, - SourceId: {}, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - GetDataSet: { - http: { - method: "GET", - requestUri: "/v1/data-sets/{DataSetId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - }, - required: ["DataSetId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - AssetType: {}, - CreatedAt: { shape: "Sa" }, - Description: {}, - Id: {}, - Name: {}, - Origin: {}, - OriginDetails: { shape: "Sd" }, - SourceId: {}, - Tags: { shape: "S7" }, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - GetJob: { - http: { - method: "GET", - requestUri: "/v1/jobs/{JobId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { JobId: { location: "uri", locationName: "JobId" } }, - required: ["JobId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreatedAt: { shape: "Sa" }, - Details: { shape: "Ss" }, - Errors: { shape: "Sx" }, - Id: {}, - State: {}, - Type: {}, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - GetRevision: { - http: { - method: "GET", - requestUri: "/v1/data-sets/{DataSetId}/revisions/{RevisionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - RevisionId: { location: "uri", locationName: "RevisionId" }, - }, - required: ["RevisionId", "DataSetId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - Comment: {}, - CreatedAt: { shape: "Sa" }, - DataSetId: {}, - Finalized: { type: "boolean" }, - Id: {}, - SourceId: {}, - Tags: { shape: "S7" }, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - ListDataSetRevisions: { - http: { - method: "GET", - requestUri: "/v1/data-sets/{DataSetId}/revisions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - required: ["DataSetId"], - }, - output: { - type: "structure", - members: { - NextToken: {}, - Revisions: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - Comment: {}, - CreatedAt: { shape: "Sa" }, - DataSetId: {}, - Finalized: { type: "boolean" }, - Id: {}, - SourceId: {}, - UpdatedAt: { shape: "Sa" }, - }, - required: [ - "CreatedAt", - "DataSetId", - "Id", - "Arn", - "UpdatedAt", - ], - }, - }, - }, - }, - }, - ListDataSets: { - http: { - method: "GET", - requestUri: "/v1/data-sets", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - Origin: { location: "querystring", locationName: "origin" }, - }, - }, - output: { - type: "structure", - members: { - DataSets: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - AssetType: {}, - CreatedAt: { shape: "Sa" }, - Description: {}, - Id: {}, - Name: {}, - Origin: {}, - OriginDetails: { shape: "Sd" }, - SourceId: {}, - UpdatedAt: { shape: "Sa" }, - }, - required: [ - "Origin", - "AssetType", - "Description", - "CreatedAt", - "Id", - "Arn", - "UpdatedAt", - "Name", - ], - }, - }, - NextToken: {}, - }, - }, - }, - ListJobs: { - http: { method: "GET", requestUri: "/v1/jobs", responseCode: 200 }, - input: { - type: "structure", - members: { - DataSetId: { - location: "querystring", - locationName: "dataSetId", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - RevisionId: { - location: "querystring", - locationName: "revisionId", - }, - }, - }, - output: { - type: "structure", - members: { - Jobs: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - CreatedAt: { shape: "Sa" }, - Details: { shape: "Ss" }, - Errors: { shape: "Sx" }, - Id: {}, - State: {}, - Type: {}, - UpdatedAt: { shape: "Sa" }, - }, - required: [ - "Type", - "Details", - "State", - "CreatedAt", - "Id", - "Arn", - "UpdatedAt", - ], - }, - }, - NextToken: {}, - }, - }, - }, - ListRevisionAssets: { - http: { - method: "GET", - requestUri: - "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - RevisionId: { location: "uri", locationName: "RevisionId" }, - }, - required: ["RevisionId", "DataSetId"], - }, - output: { - type: "structure", - members: { - Assets: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - AssetDetails: { shape: "S1f" }, - AssetType: {}, - CreatedAt: { shape: "Sa" }, - DataSetId: {}, - Id: {}, - Name: {}, - RevisionId: {}, - SourceId: {}, - UpdatedAt: { shape: "Sa" }, - }, - required: [ - "AssetType", - "CreatedAt", - "DataSetId", - "Id", - "Arn", - "AssetDetails", - "UpdatedAt", - "RevisionId", - "Name", - ], - }, - }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/tags/{resource-arn}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - }, - required: ["ResourceArn"], - }, - output: { - type: "structure", - members: { Tags: { shape: "S7", locationName: "tags" } }, - }, - }, - StartJob: { - http: { - method: "PATCH", - requestUri: "/v1/jobs/{JobId}", - responseCode: 202, - }, - input: { - type: "structure", - members: { JobId: { location: "uri", locationName: "JobId" } }, - required: ["JobId"], - }, - output: { type: "structure", members: {} }, - }, - TagResource: { - http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "S7", locationName: "tags" }, - }, - required: ["ResourceArn", "Tags"], - }, - }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - location: "querystring", - locationName: "tagKeys", - type: "list", - member: {}, - }, - }, - required: ["TagKeys", "ResourceArn"], - }, - }, - UpdateAsset: { - http: { - method: "PATCH", - requestUri: - "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AssetId: { location: "uri", locationName: "AssetId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - Name: {}, - RevisionId: { location: "uri", locationName: "RevisionId" }, - }, - required: ["RevisionId", "AssetId", "DataSetId", "Name"], - }, - output: { - type: "structure", - members: { - Arn: {}, - AssetDetails: { shape: "S1f" }, - AssetType: {}, - CreatedAt: { shape: "Sa" }, - DataSetId: {}, - Id: {}, - Name: {}, - RevisionId: {}, - SourceId: {}, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - UpdateDataSet: { - http: { - method: "PATCH", - requestUri: "/v1/data-sets/{DataSetId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - Description: {}, - Name: {}, - }, - required: ["DataSetId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - AssetType: {}, - CreatedAt: { shape: "Sa" }, - Description: {}, - Id: {}, - Name: {}, - Origin: {}, - OriginDetails: { shape: "Sd" }, - SourceId: {}, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - UpdateRevision: { - http: { - method: "PATCH", - requestUri: "/v1/data-sets/{DataSetId}/revisions/{RevisionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Comment: {}, - DataSetId: { location: "uri", locationName: "DataSetId" }, - Finalized: { type: "boolean" }, - RevisionId: { location: "uri", locationName: "RevisionId" }, - }, - required: ["RevisionId", "DataSetId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - Comment: {}, - CreatedAt: { shape: "Sa" }, - DataSetId: {}, - Finalized: { type: "boolean" }, - Id: {}, - SourceId: {}, - UpdatedAt: { shape: "Sa" }, - }, - }, - }, - }, - shapes: { - S7: { type: "map", key: {}, value: {} }, - Sa: { type: "timestamp", timestampFormat: "iso8601" }, - Sd: { - type: "structure", - members: { ProductId: {} }, - required: ["ProductId"], - }, - Si: { - type: "list", - member: { - type: "structure", - members: { AssetId: {}, Bucket: {}, Key: {} }, - required: ["Bucket", "AssetId"], - }, - }, - So: { - type: "list", - member: { - type: "structure", - members: { Bucket: {}, Key: {} }, - required: ["Bucket", "Key"], - }, - }, - Ss: { - type: "structure", - members: { - ExportAssetToSignedUrl: { - type: "structure", - members: { - AssetId: {}, - DataSetId: {}, - RevisionId: {}, - SignedUrl: {}, - SignedUrlExpiresAt: { shape: "Sa" }, - }, - required: ["DataSetId", "AssetId", "RevisionId"], - }, - ExportAssetsToS3: { - type: "structure", - members: { - AssetDestinations: { shape: "Si" }, - DataSetId: {}, - RevisionId: {}, - }, - required: ["AssetDestinations", "DataSetId", "RevisionId"], - }, - ImportAssetFromSignedUrl: { - type: "structure", - members: { - AssetName: {}, - DataSetId: {}, - Md5Hash: {}, - RevisionId: {}, - SignedUrl: {}, - SignedUrlExpiresAt: { shape: "Sa" }, - }, - required: ["DataSetId", "AssetName", "RevisionId"], - }, - ImportAssetsFromS3: { - type: "structure", - members: { - AssetSources: { shape: "So" }, - DataSetId: {}, - RevisionId: {}, - }, - required: ["DataSetId", "AssetSources", "RevisionId"], - }, - }, - }, - Sx: { - type: "list", - member: { - type: "structure", - members: { - Code: {}, - Details: { - type: "structure", - members: { - ImportAssetFromSignedUrlJobErrorDetails: { - type: "structure", - members: { AssetName: {} }, - required: ["AssetName"], - }, - ImportAssetsFromS3JobErrorDetails: { shape: "So" }, - }, - }, - LimitName: {}, - LimitValue: { type: "double" }, - Message: {}, - ResourceId: {}, - ResourceType: {}, - }, - required: ["Message", "Code"], - }, - }, - S1f: { - type: "structure", - members: { - S3SnapshotAsset: { - type: "structure", - members: { Size: { type: "double" } }, - required: ["Size"], - }, - }, - }, - }, - authorizers: { - create_job_authorizer: { - name: "create_job_authorizer", - type: "provided", - placement: { location: "header", name: "Authorization" }, - }, - start_cancel_get_job_authorizer: { - name: "start_cancel_get_job_authorizer", - type: "provided", - placement: { location: "header", name: "Authorization" }, - }, - }, - }; +/***/ 850: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +module.exports = paginationMethodsPlugin - /***/ 1220: /***/ function (module) { - module.exports = { - pagination: { - GetEffectivePermissionsForPath: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListPermissions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListResources: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +function paginationMethodsPlugin (octokit) { + octokit.getFirstPage = __webpack_require__(3777).bind(null, octokit) + octokit.getLastPage = __webpack_require__(3649).bind(null, octokit) + octokit.getNextPage = __webpack_require__(6550).bind(null, octokit) + octokit.getPreviousPage = __webpack_require__(4563).bind(null, octokit) + octokit.hasFirstPage = __webpack_require__(1536) + octokit.hasLastPage = __webpack_require__(3336) + octokit.hasNextPage = __webpack_require__(3929) + octokit.hasPreviousPage = __webpack_require__(3558) +} - /***/ - }, - /***/ 1250: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["worklink"] = {}; - AWS.WorkLink = Service.defineService("worklink", ["2018-09-25"]); - Object.defineProperty(apiLoader.services["worklink"], "2018-09-25", { - get: function get() { - var model = __webpack_require__(7040); - model.paginators = __webpack_require__(3413).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 856: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.WorkLink; +"use strict"; - /***/ - }, +const punycode = __webpack_require__(4213); +const tr46 = __webpack_require__(2530); - /***/ 1256: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-07-26", - endpointPrefix: "email", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Pinpoint Email", - serviceFullName: "Amazon Pinpoint Email Service", - serviceId: "Pinpoint Email", - signatureVersion: "v4", - signingName: "ses", - uid: "pinpoint-email-2018-07-26", - }, - operations: { - CreateConfigurationSet: { - http: { requestUri: "/v1/email/configuration-sets" }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: {}, - TrackingOptions: { shape: "S3" }, - DeliveryOptions: { shape: "S5" }, - ReputationOptions: { shape: "S8" }, - SendingOptions: { shape: "Sb" }, - Tags: { shape: "Sc" }, - }, - }, - output: { type: "structure", members: {} }, - }, - CreateConfigurationSetEventDestination: { - http: { - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations", - }, - input: { - type: "structure", - required: [ - "ConfigurationSetName", - "EventDestinationName", - "EventDestination", - ], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestinationName: {}, - EventDestination: { shape: "Sj" }, - }, - }, - output: { type: "structure", members: {} }, - }, - CreateDedicatedIpPool: { - http: { requestUri: "/v1/email/dedicated-ip-pools" }, - input: { - type: "structure", - required: ["PoolName"], - members: { PoolName: {}, Tags: { shape: "Sc" } }, - }, - output: { type: "structure", members: {} }, - }, - CreateDeliverabilityTestReport: { - http: { requestUri: "/v1/email/deliverability-dashboard/test" }, - input: { - type: "structure", - required: ["FromEmailAddress", "Content"], - members: { - ReportName: {}, - FromEmailAddress: {}, - Content: { shape: "S12" }, - Tags: { shape: "Sc" }, - }, - }, - output: { - type: "structure", - required: ["ReportId", "DeliverabilityTestStatus"], - members: { ReportId: {}, DeliverabilityTestStatus: {} }, - }, - }, - CreateEmailIdentity: { - http: { requestUri: "/v1/email/identities" }, - input: { - type: "structure", - required: ["EmailIdentity"], - members: { EmailIdentity: {}, Tags: { shape: "Sc" } }, - }, - output: { - type: "structure", - members: { - IdentityType: {}, - VerifiedForSendingStatus: { type: "boolean" }, - DkimAttributes: { shape: "S1k" }, - }, - }, - }, - DeleteConfigurationSet: { - http: { - method: "DELETE", - requestUri: "/v1/email/configuration-sets/{ConfigurationSetName}", - }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteConfigurationSetEventDestination: { - http: { - method: "DELETE", - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - }, - input: { - type: "structure", - required: ["ConfigurationSetName", "EventDestinationName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestinationName: { - location: "uri", - locationName: "EventDestinationName", - }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteDedicatedIpPool: { - http: { - method: "DELETE", - requestUri: "/v1/email/dedicated-ip-pools/{PoolName}", - }, - input: { - type: "structure", - required: ["PoolName"], - members: { - PoolName: { location: "uri", locationName: "PoolName" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteEmailIdentity: { - http: { - method: "DELETE", - requestUri: "/v1/email/identities/{EmailIdentity}", - }, - input: { - type: "structure", - required: ["EmailIdentity"], - members: { - EmailIdentity: { - location: "uri", - locationName: "EmailIdentity", - }, - }, - }, - output: { type: "structure", members: {} }, - }, - GetAccount: { - http: { method: "GET", requestUri: "/v1/email/account" }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - SendQuota: { - type: "structure", - members: { - Max24HourSend: { type: "double" }, - MaxSendRate: { type: "double" }, - SentLast24Hours: { type: "double" }, - }, - }, - SendingEnabled: { type: "boolean" }, - DedicatedIpAutoWarmupEnabled: { type: "boolean" }, - EnforcementStatus: {}, - ProductionAccessEnabled: { type: "boolean" }, - }, - }, - }, - GetBlacklistReports: { - http: { - method: "GET", - requestUri: "/v1/email/deliverability-dashboard/blacklist-report", - }, - input: { - type: "structure", - required: ["BlacklistItemNames"], - members: { - BlacklistItemNames: { - location: "querystring", - locationName: "BlacklistItemNames", - type: "list", - member: {}, - }, - }, - }, - output: { - type: "structure", - required: ["BlacklistReport"], - members: { - BlacklistReport: { - type: "map", - key: {}, - value: { - type: "list", - member: { - type: "structure", - members: { - RblName: {}, - ListingTime: { type: "timestamp" }, - Description: {}, - }, - }, - }, - }, - }, - }, - }, - GetConfigurationSet: { - http: { - method: "GET", - requestUri: "/v1/email/configuration-sets/{ConfigurationSetName}", - }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - }, - }, - output: { - type: "structure", - members: { - ConfigurationSetName: {}, - TrackingOptions: { shape: "S3" }, - DeliveryOptions: { shape: "S5" }, - ReputationOptions: { shape: "S8" }, - SendingOptions: { shape: "Sb" }, - Tags: { shape: "Sc" }, - }, - }, - }, - GetConfigurationSetEventDestinations: { - http: { - method: "GET", - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations", - }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - }, - }, - output: { - type: "structure", - members: { - EventDestinations: { - type: "list", - member: { - type: "structure", - required: ["Name", "MatchingEventTypes"], - members: { - Name: {}, - Enabled: { type: "boolean" }, - MatchingEventTypes: { shape: "Sk" }, - KinesisFirehoseDestination: { shape: "Sm" }, - CloudWatchDestination: { shape: "So" }, - SnsDestination: { shape: "Su" }, - PinpointDestination: { shape: "Sv" }, - }, - }, - }, - }, - }, - }, - GetDedicatedIp: { - http: { method: "GET", requestUri: "/v1/email/dedicated-ips/{IP}" }, - input: { - type: "structure", - required: ["Ip"], - members: { Ip: { location: "uri", locationName: "IP" } }, - }, - output: { - type: "structure", - members: { DedicatedIp: { shape: "S2m" } }, - }, - }, - GetDedicatedIps: { - http: { method: "GET", requestUri: "/v1/email/dedicated-ips" }, - input: { - type: "structure", - members: { - PoolName: { location: "querystring", locationName: "PoolName" }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { - location: "querystring", - locationName: "PageSize", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - DedicatedIps: { type: "list", member: { shape: "S2m" } }, - NextToken: {}, - }, - }, - }, - GetDeliverabilityDashboardOptions: { - http: { - method: "GET", - requestUri: "/v1/email/deliverability-dashboard", - }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - required: ["DashboardEnabled"], - members: { - DashboardEnabled: { type: "boolean" }, - SubscriptionExpiryDate: { type: "timestamp" }, - AccountStatus: {}, - ActiveSubscribedDomains: { shape: "S2x" }, - PendingExpirationSubscribedDomains: { shape: "S2x" }, - }, - }, - }, - GetDeliverabilityTestReport: { - http: { - method: "GET", - requestUri: - "/v1/email/deliverability-dashboard/test-reports/{ReportId}", - }, - input: { - type: "structure", - required: ["ReportId"], - members: { - ReportId: { location: "uri", locationName: "ReportId" }, - }, - }, - output: { - type: "structure", - required: [ - "DeliverabilityTestReport", - "OverallPlacement", - "IspPlacements", - ], - members: { - DeliverabilityTestReport: { shape: "S35" }, - OverallPlacement: { shape: "S37" }, - IspPlacements: { - type: "list", - member: { - type: "structure", - members: { - IspName: {}, - PlacementStatistics: { shape: "S37" }, - }, - }, - }, - Message: {}, - Tags: { shape: "Sc" }, - }, - }, - }, - GetDomainDeliverabilityCampaign: { - http: { - method: "GET", - requestUri: - "/v1/email/deliverability-dashboard/campaigns/{CampaignId}", - }, - input: { - type: "structure", - required: ["CampaignId"], - members: { - CampaignId: { location: "uri", locationName: "CampaignId" }, - }, - }, - output: { - type: "structure", - required: ["DomainDeliverabilityCampaign"], - members: { DomainDeliverabilityCampaign: { shape: "S3f" } }, - }, - }, - GetDomainStatisticsReport: { - http: { - method: "GET", - requestUri: - "/v1/email/deliverability-dashboard/statistics-report/{Domain}", - }, - input: { - type: "structure", - required: ["Domain", "StartDate", "EndDate"], - members: { - Domain: { location: "uri", locationName: "Domain" }, - StartDate: { - location: "querystring", - locationName: "StartDate", - type: "timestamp", - }, - EndDate: { - location: "querystring", - locationName: "EndDate", - type: "timestamp", - }, - }, - }, - output: { - type: "structure", - required: ["OverallVolume", "DailyVolumes"], - members: { - OverallVolume: { - type: "structure", - members: { - VolumeStatistics: { shape: "S3p" }, - ReadRatePercent: { type: "double" }, - DomainIspPlacements: { shape: "S3q" }, - }, - }, - DailyVolumes: { - type: "list", - member: { - type: "structure", - members: { - StartDate: { type: "timestamp" }, - VolumeStatistics: { shape: "S3p" }, - DomainIspPlacements: { shape: "S3q" }, - }, - }, - }, - }, - }, - }, - GetEmailIdentity: { - http: { - method: "GET", - requestUri: "/v1/email/identities/{EmailIdentity}", - }, - input: { - type: "structure", - required: ["EmailIdentity"], - members: { - EmailIdentity: { - location: "uri", - locationName: "EmailIdentity", - }, - }, - }, - output: { - type: "structure", - members: { - IdentityType: {}, - FeedbackForwardingStatus: { type: "boolean" }, - VerifiedForSendingStatus: { type: "boolean" }, - DkimAttributes: { shape: "S1k" }, - MailFromAttributes: { - type: "structure", - required: [ - "MailFromDomain", - "MailFromDomainStatus", - "BehaviorOnMxFailure", - ], - members: { - MailFromDomain: {}, - MailFromDomainStatus: {}, - BehaviorOnMxFailure: {}, - }, - }, - Tags: { shape: "Sc" }, - }, - }, - }, - ListConfigurationSets: { - http: { method: "GET", requestUri: "/v1/email/configuration-sets" }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { - location: "querystring", - locationName: "PageSize", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - ConfigurationSets: { type: "list", member: {} }, - NextToken: {}, - }, - }, - }, - ListDedicatedIpPools: { - http: { method: "GET", requestUri: "/v1/email/dedicated-ip-pools" }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { - location: "querystring", - locationName: "PageSize", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - DedicatedIpPools: { type: "list", member: {} }, - NextToken: {}, - }, - }, - }, - ListDeliverabilityTestReports: { - http: { - method: "GET", - requestUri: "/v1/email/deliverability-dashboard/test-reports", - }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { - location: "querystring", - locationName: "PageSize", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["DeliverabilityTestReports"], - members: { - DeliverabilityTestReports: { - type: "list", - member: { shape: "S35" }, - }, - NextToken: {}, - }, - }, - }, - ListDomainDeliverabilityCampaigns: { - http: { - method: "GET", - requestUri: - "/v1/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns", - }, - input: { - type: "structure", - required: ["StartDate", "EndDate", "SubscribedDomain"], - members: { - StartDate: { - location: "querystring", - locationName: "StartDate", - type: "timestamp", - }, - EndDate: { - location: "querystring", - locationName: "EndDate", - type: "timestamp", - }, - SubscribedDomain: { - location: "uri", - locationName: "SubscribedDomain", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { - location: "querystring", - locationName: "PageSize", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["DomainDeliverabilityCampaigns"], - members: { - DomainDeliverabilityCampaigns: { - type: "list", - member: { shape: "S3f" }, - }, - NextToken: {}, - }, - }, - }, - ListEmailIdentities: { - http: { method: "GET", requestUri: "/v1/email/identities" }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { - location: "querystring", - locationName: "PageSize", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - EmailIdentities: { - type: "list", - member: { - type: "structure", - members: { - IdentityType: {}, - IdentityName: {}, - SendingEnabled: { type: "boolean" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/v1/email/tags" }, - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: { - location: "querystring", - locationName: "ResourceArn", - }, - }, - }, - output: { - type: "structure", - required: ["Tags"], - members: { Tags: { shape: "Sc" } }, - }, - }, - PutAccountDedicatedIpWarmupAttributes: { - http: { - method: "PUT", - requestUri: "/v1/email/account/dedicated-ips/warmup", - }, - input: { - type: "structure", - members: { AutoWarmupEnabled: { type: "boolean" } }, - }, - output: { type: "structure", members: {} }, - }, - PutAccountSendingAttributes: { - http: { method: "PUT", requestUri: "/v1/email/account/sending" }, - input: { - type: "structure", - members: { SendingEnabled: { type: "boolean" } }, - }, - output: { type: "structure", members: {} }, - }, - PutConfigurationSetDeliveryOptions: { - http: { - method: "PUT", - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/delivery-options", - }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - TlsPolicy: {}, - SendingPoolName: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - PutConfigurationSetReputationOptions: { - http: { - method: "PUT", - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/reputation-options", - }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - ReputationMetricsEnabled: { type: "boolean" }, - }, - }, - output: { type: "structure", members: {} }, - }, - PutConfigurationSetSendingOptions: { - http: { - method: "PUT", - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/sending", - }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - SendingEnabled: { type: "boolean" }, - }, - }, - output: { type: "structure", members: {} }, - }, - PutConfigurationSetTrackingOptions: { - http: { - method: "PUT", - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/tracking-options", - }, - input: { - type: "structure", - required: ["ConfigurationSetName"], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - CustomRedirectDomain: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - PutDedicatedIpInPool: { - http: { - method: "PUT", - requestUri: "/v1/email/dedicated-ips/{IP}/pool", - }, - input: { - type: "structure", - required: ["Ip", "DestinationPoolName"], - members: { - Ip: { location: "uri", locationName: "IP" }, - DestinationPoolName: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - PutDedicatedIpWarmupAttributes: { - http: { - method: "PUT", - requestUri: "/v1/email/dedicated-ips/{IP}/warmup", - }, - input: { - type: "structure", - required: ["Ip", "WarmupPercentage"], - members: { - Ip: { location: "uri", locationName: "IP" }, - WarmupPercentage: { type: "integer" }, - }, - }, - output: { type: "structure", members: {} }, - }, - PutDeliverabilityDashboardOption: { - http: { - method: "PUT", - requestUri: "/v1/email/deliverability-dashboard", - }, - input: { - type: "structure", - required: ["DashboardEnabled"], - members: { - DashboardEnabled: { type: "boolean" }, - SubscribedDomains: { shape: "S2x" }, - }, - }, - output: { type: "structure", members: {} }, - }, - PutEmailIdentityDkimAttributes: { - http: { - method: "PUT", - requestUri: "/v1/email/identities/{EmailIdentity}/dkim", - }, - input: { - type: "structure", - required: ["EmailIdentity"], - members: { - EmailIdentity: { - location: "uri", - locationName: "EmailIdentity", - }, - SigningEnabled: { type: "boolean" }, - }, - }, - output: { type: "structure", members: {} }, - }, - PutEmailIdentityFeedbackAttributes: { - http: { - method: "PUT", - requestUri: "/v1/email/identities/{EmailIdentity}/feedback", - }, - input: { - type: "structure", - required: ["EmailIdentity"], - members: { - EmailIdentity: { - location: "uri", - locationName: "EmailIdentity", - }, - EmailForwardingEnabled: { type: "boolean" }, - }, - }, - output: { type: "structure", members: {} }, - }, - PutEmailIdentityMailFromAttributes: { - http: { - method: "PUT", - requestUri: "/v1/email/identities/{EmailIdentity}/mail-from", - }, - input: { - type: "structure", - required: ["EmailIdentity"], - members: { - EmailIdentity: { - location: "uri", - locationName: "EmailIdentity", - }, - MailFromDomain: {}, - BehaviorOnMxFailure: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - SendEmail: { - http: { requestUri: "/v1/email/outbound-emails" }, - input: { - type: "structure", - required: ["Destination", "Content"], - members: { - FromEmailAddress: {}, - Destination: { - type: "structure", - members: { - ToAddresses: { shape: "S59" }, - CcAddresses: { shape: "S59" }, - BccAddresses: { shape: "S59" }, - }, - }, - ReplyToAddresses: { shape: "S59" }, - FeedbackForwardingEmailAddress: {}, - Content: { shape: "S12" }, - EmailTags: { - type: "list", - member: { - type: "structure", - required: ["Name", "Value"], - members: { Name: {}, Value: {} }, - }, - }, - ConfigurationSetName: {}, - }, - }, - output: { type: "structure", members: { MessageId: {} } }, - }, - TagResource: { - http: { requestUri: "/v1/email/tags" }, - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "Sc" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - http: { method: "DELETE", requestUri: "/v1/email/tags" }, - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: { - location: "querystring", - locationName: "ResourceArn", - }, - TagKeys: { - location: "querystring", - locationName: "TagKeys", - type: "list", - member: {}, - }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateConfigurationSetEventDestination: { - http: { - method: "PUT", - requestUri: - "/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - }, - input: { - type: "structure", - required: [ - "ConfigurationSetName", - "EventDestinationName", - "EventDestination", - ], - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestinationName: { - location: "uri", - locationName: "EventDestinationName", - }, - EventDestination: { shape: "Sj" }, - }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S3: { - type: "structure", - required: ["CustomRedirectDomain"], - members: { CustomRedirectDomain: {} }, - }, - S5: { - type: "structure", - members: { TlsPolicy: {}, SendingPoolName: {} }, - }, - S8: { - type: "structure", - members: { - ReputationMetricsEnabled: { type: "boolean" }, - LastFreshStart: { type: "timestamp" }, - }, - }, - Sb: { - type: "structure", - members: { SendingEnabled: { type: "boolean" } }, - }, - Sc: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sj: { - type: "structure", - members: { - Enabled: { type: "boolean" }, - MatchingEventTypes: { shape: "Sk" }, - KinesisFirehoseDestination: { shape: "Sm" }, - CloudWatchDestination: { shape: "So" }, - SnsDestination: { shape: "Su" }, - PinpointDestination: { shape: "Sv" }, - }, - }, - Sk: { type: "list", member: {} }, - Sm: { - type: "structure", - required: ["IamRoleArn", "DeliveryStreamArn"], - members: { IamRoleArn: {}, DeliveryStreamArn: {} }, - }, - So: { - type: "structure", - required: ["DimensionConfigurations"], - members: { - DimensionConfigurations: { - type: "list", - member: { - type: "structure", - required: [ - "DimensionName", - "DimensionValueSource", - "DefaultDimensionValue", - ], - members: { - DimensionName: {}, - DimensionValueSource: {}, - DefaultDimensionValue: {}, - }, - }, - }, - }, - }, - Su: { - type: "structure", - required: ["TopicArn"], - members: { TopicArn: {} }, - }, - Sv: { type: "structure", members: { ApplicationArn: {} } }, - S12: { - type: "structure", - members: { - Simple: { - type: "structure", - required: ["Subject", "Body"], - members: { - Subject: { shape: "S14" }, - Body: { - type: "structure", - members: { Text: { shape: "S14" }, Html: { shape: "S14" } }, - }, - }, - }, - Raw: { - type: "structure", - required: ["Data"], - members: { Data: { type: "blob" } }, - }, - Template: { - type: "structure", - members: { TemplateArn: {}, TemplateData: {} }, - }, - }, - }, - S14: { - type: "structure", - required: ["Data"], - members: { Data: {}, Charset: {} }, - }, - S1k: { - type: "structure", - members: { - SigningEnabled: { type: "boolean" }, - Status: {}, - Tokens: { type: "list", member: {} }, - }, - }, - S2m: { - type: "structure", - required: ["Ip", "WarmupStatus", "WarmupPercentage"], - members: { - Ip: {}, - WarmupStatus: {}, - WarmupPercentage: { type: "integer" }, - PoolName: {}, - }, - }, - S2x: { - type: "list", - member: { - type: "structure", - members: { - Domain: {}, - SubscriptionStartDate: { type: "timestamp" }, - InboxPlacementTrackingOption: { - type: "structure", - members: { - Global: { type: "boolean" }, - TrackedIsps: { type: "list", member: {} }, - }, - }, - }, - }, - }, - S35: { - type: "structure", - members: { - ReportId: {}, - ReportName: {}, - Subject: {}, - FromEmailAddress: {}, - CreateDate: { type: "timestamp" }, - DeliverabilityTestStatus: {}, - }, - }, - S37: { - type: "structure", - members: { - InboxPercentage: { type: "double" }, - SpamPercentage: { type: "double" }, - MissingPercentage: { type: "double" }, - SpfPercentage: { type: "double" }, - DkimPercentage: { type: "double" }, - }, - }, - S3f: { - type: "structure", - members: { - CampaignId: {}, - ImageUrl: {}, - Subject: {}, - FromAddress: {}, - SendingIps: { type: "list", member: {} }, - FirstSeenDateTime: { type: "timestamp" }, - LastSeenDateTime: { type: "timestamp" }, - InboxCount: { type: "long" }, - SpamCount: { type: "long" }, - ReadRate: { type: "double" }, - DeleteRate: { type: "double" }, - ReadDeleteRate: { type: "double" }, - ProjectedVolume: { type: "long" }, - Esps: { type: "list", member: {} }, - }, - }, - S3p: { - type: "structure", - members: { - InboxRawCount: { type: "long" }, - SpamRawCount: { type: "long" }, - ProjectedInbox: { type: "long" }, - ProjectedSpam: { type: "long" }, - }, - }, - S3q: { - type: "list", - member: { - type: "structure", - members: { - IspName: {}, - InboxRawCount: { type: "long" }, - SpamRawCount: { type: "long" }, - InboxPercentage: { type: "double" }, - SpamPercentage: { type: "double" }, - }, - }, - }, - S59: { type: "list", member: {} }, - }, - }; +const specialSchemes = { + ftp: 21, + file: null, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443 +}; - /***/ - }, +const failure = Symbol("failure"); - /***/ 1273: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - CertificateAuthorityCSRCreated: { - description: "Wait until a Certificate Authority CSR is created", - operation: "GetCertificateAuthorityCsr", - delay: 3, - maxAttempts: 60, - acceptors: [ - { state: "success", matcher: "status", expected: 200 }, - { - state: "retry", - matcher: "error", - expected: "RequestInProgressException", - }, - ], - }, - CertificateIssued: { - description: "Wait until a certificate is issued", - operation: "GetCertificate", - delay: 3, - maxAttempts: 60, - acceptors: [ - { state: "success", matcher: "status", expected: 200 }, - { - state: "retry", - matcher: "error", - expected: "RequestInProgressException", - }, - ], - }, - AuditReportCreated: { - description: "Wait until a Audit Report is created", - operation: "DescribeCertificateAuthorityAuditReport", - delay: 3, - maxAttempts: 60, - acceptors: [ - { - state: "success", - matcher: "path", - argument: "AuditReportStatus", - expected: "SUCCESS", - }, - { - state: "failure", - matcher: "path", - argument: "AuditReportStatus", - expected: "FAILED", - }, - ], - }, - }, - }; +function countSymbols(str) { + return punycode.ucs2.decode(str).length; +} - /***/ - }, +function at(input, idx) { + const c = input[idx]; + return isNaN(c) ? undefined : String.fromCodePoint(c); +} - /***/ 1275: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +function isASCIIDigit(c) { + return c >= 0x30 && c <= 0x39; +} - apiLoader.services["kafka"] = {}; - AWS.Kafka = Service.defineService("kafka", ["2018-11-14"]); - Object.defineProperty(apiLoader.services["kafka"], "2018-11-14", { - get: function get() { - var model = __webpack_require__(2304); - model.paginators = __webpack_require__(1957).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +function isASCIIAlpha(c) { + return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); +} - module.exports = AWS.Kafka; +function isASCIIAlphanumeric(c) { + return isASCIIAlpha(c) || isASCIIDigit(c); +} - /***/ - }, +function isASCIIHex(c) { + return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); +} - /***/ 1283: /***/ function (module) { - module.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", - }, - }, - }; +function isSingleDot(buffer) { + return buffer === "." || buffer.toLowerCase() === "%2e"; +} - /***/ - }, +function isDoubleDot(buffer) { + buffer = buffer.toLowerCase(); + return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; +} - /***/ 1287: /***/ function (module) { - module.exports = { - pagination: { - ListAppliedSchemaArns: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListAttachedIndices: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListDevelopmentSchemaArns: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListDirectories: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListFacetAttributes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListFacetNames: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListIndex: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListObjectAttributes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListObjectChildren: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListObjectParentPaths: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListObjectParents: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListObjectPolicies: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListPolicyAttachments: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListPublishedSchemaArns: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListTagsForResource: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListTypedLinkFacetAttributes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListTypedLinkFacetNames: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - LookupPolicy: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +function isWindowsDriveLetterCodePoints(cp1, cp2) { + return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); +} - /***/ - }, +function isWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); +} - /***/ 1291: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +function isNormalizedWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; +} - apiLoader.services["iotdata"] = {}; - AWS.IotData = Service.defineService("iotdata", ["2015-05-28"]); - __webpack_require__(2873); - Object.defineProperty(apiLoader.services["iotdata"], "2015-05-28", { - get: function get() { - var model = __webpack_require__(1200); - return model; - }, - enumerable: true, - configurable: true, - }); +function containsForbiddenHostCodePoint(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; +} - module.exports = AWS.IotData; +function containsForbiddenHostCodePointExcludingPercent(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; +} - /***/ - }, +function isSpecialScheme(scheme) { + return specialSchemes[scheme] !== undefined; +} - /***/ 1306: /***/ function (module) { - module.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" }], - }, - }, - }; +function isSpecial(url) { + return isSpecialScheme(url.scheme); +} + +function defaultPort(scheme) { + return specialSchemes[scheme]; +} + +function percentEncode(c) { + let hex = c.toString(16).toUpperCase(); + if (hex.length === 1) { + hex = "0" + hex; + } - /***/ - }, + return "%" + hex; +} - /***/ 1318: /***/ function (module) { - module.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" }, - }, - }; +function utf8PercentEncode(c) { + const buf = new Buffer(c); - /***/ - }, + let str = ""; - /***/ 1327: /***/ function (module) { - module.exports = { - pagination: { - DescribeMergeConflicts: { - input_token: "nextToken", - limit_key: "maxMergeHunks", - output_token: "nextToken", - }, - DescribePullRequestEvents: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - }, - GetCommentsForComparedCommit: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - }, - GetCommentsForPullRequest: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - }, - GetDifferences: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetMergeConflicts: { - input_token: "nextToken", - limit_key: "maxConflictFiles", - output_token: "nextToken", - }, - ListApprovalRuleTemplates: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - }, - ListAssociatedApprovalRuleTemplatesForRepository: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - }, - ListBranches: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "branches", - }, - ListPullRequests: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - }, - ListRepositories: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "repositories", - }, - ListRepositoriesForApprovalRuleTemplate: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - }, - }, - }; + for (let i = 0; i < buf.length; ++i) { + str += percentEncode(buf[i]); + } - /***/ - }, + return str; +} + +function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (input[i] !== 37) { + output.push(input[i]); + } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { + output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); + i += 2; + } else { + output.push(input[i]); + } + } + return new Buffer(output).toString(); +} - /***/ 1328: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - TableExists: { - delay: 20, - operation: "DescribeTable", - maxAttempts: 25, - acceptors: [ - { - expected: "ACTIVE", - matcher: "path", - state: "success", - argument: "Table.TableStatus", - }, - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "retry", - }, - ], - }, - TableNotExists: { - delay: 20, - operation: "DescribeTable", - maxAttempts: 25, - acceptors: [ - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "success", - }, - ], - }, - }, - }; +function isC0ControlPercentEncode(c) { + return c <= 0x1F || c > 0x7E; +} - /***/ - }, +const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); +function isPathPercentEncode(c) { + return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); +} - /***/ 1344: /***/ function (module) { - module.exports = { - pagination: { - ListCloudFrontOriginAccessIdentities: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "CloudFrontOriginAccessIdentityList.IsTruncated", - output_token: "CloudFrontOriginAccessIdentityList.NextMarker", - result_key: "CloudFrontOriginAccessIdentityList.Items", - }, - ListDistributions: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "DistributionList.IsTruncated", - output_token: "DistributionList.NextMarker", - result_key: "DistributionList.Items", - }, - ListInvalidations: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "InvalidationList.IsTruncated", - output_token: "InvalidationList.NextMarker", - result_key: "InvalidationList.Items", - }, - ListStreamingDistributions: { - input_token: "Marker", - limit_key: "MaxItems", - more_results: "StreamingDistributionList.IsTruncated", - output_token: "StreamingDistributionList.NextMarker", - result_key: "StreamingDistributionList.Items", - }, - }, - }; +const extraUserinfoPercentEncodeSet = + new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); +function isUserinfoPercentEncode(c) { + return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); +} - /***/ - }, +function percentEncodeChar(c, encodeSetPredicate) { + const cStr = String.fromCodePoint(c); - /***/ 1348: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; + if (encodeSetPredicate(c)) { + return utf8PercentEncode(cStr); + } - module.exports = validate; + return cStr; +} - const { RequestError } = __webpack_require__(3497); - const get = __webpack_require__(9854); - const set = __webpack_require__(7883); +function parseIPv4Number(input) { + let R = 10; - function validate(octokit, options) { - if (!options.request.validate) { - return; - } - const { validate: params } = options.request; - - Object.keys(params).forEach((parameterName) => { - const parameter = get(params, parameterName); - - const expectedType = parameter.type; - let parentParameterName; - let parentValue; - let parentParamIsPresent = true; - let parentParameterIsArray = false; - - if (/\./.test(parameterName)) { - parentParameterName = parameterName.replace(/\.[^.]+$/, ""); - parentParameterIsArray = parentParameterName.slice(-2) === "[]"; - if (parentParameterIsArray) { - parentParameterName = parentParameterName.slice(0, -2); - } - parentValue = get(options, parentParameterName); - parentParamIsPresent = - parentParameterName === "headers" || - (typeof parentValue === "object" && parentValue !== null); - } + if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { + input = input.substring(2); + R = 16; + } else if (input.length >= 2 && input.charAt(0) === "0") { + input = input.substring(1); + R = 8; + } - const values = parentParameterIsArray - ? (get(options, parentParameterName) || []).map( - (value) => value[parameterName.split(/\./).pop()] - ) - : [get(options, parameterName)]; + if (input === "") { + return 0; + } - values.forEach((value, i) => { - const valueIsPresent = typeof value !== "undefined"; - const valueIsNull = value === null; - const currentParameterName = parentParameterIsArray - ? parameterName.replace(/\[\]/, `[${i}]`) - : parameterName; + const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); + if (regex.test(input)) { + return failure; + } - if (!parameter.required && !valueIsPresent) { - return; - } + return parseInt(input, R); +} - // if the parent parameter is of type object but allows null - // then the child parameters can be ignored - if (!parentParamIsPresent) { - return; - } +function parseIPv4(input) { + const parts = input.split("."); + if (parts[parts.length - 1] === "") { + if (parts.length > 1) { + parts.pop(); + } + } - if (parameter.allowNull && valueIsNull) { - return; - } + if (parts.length > 4) { + return input; + } - if (!parameter.allowNull && valueIsNull) { - throw new RequestError( - `'${currentParameterName}' cannot be null`, - 400, - { - request: options, - } - ); - } + const numbers = []; + for (const part of parts) { + if (part === "") { + return input; + } + const n = parseIPv4Number(part); + if (n === failure) { + return input; + } + + numbers.push(n); + } - if (parameter.required && !valueIsPresent) { - throw new RequestError( - `Empty value for parameter '${currentParameterName}': ${JSON.stringify( - value - )}`, - 400, - { - request: options, - } - ); - } + for (let i = 0; i < numbers.length - 1; ++i) { + if (numbers[i] > 255) { + return failure; + } + } + if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { + return failure; + } - // parse to integer before checking for enum - // so that string "1" will match enum with number 1 - if (expectedType === "integer") { - const unparsedValue = value; - value = parseInt(value, 10); - if (isNaN(value)) { - throw new RequestError( - `Invalid value for parameter '${currentParameterName}': ${JSON.stringify( - unparsedValue - )} is NaN`, - 400, - { - request: options, - } - ); - } - } + let ipv4 = numbers.pop(); + let counter = 0; - if ( - parameter.enum && - parameter.enum.indexOf(String(value)) === -1 - ) { - throw new RequestError( - `Invalid value for parameter '${currentParameterName}': ${JSON.stringify( - value - )}`, - 400, - { - request: options, - } - ); - } + for (const n of numbers) { + ipv4 += n * Math.pow(256, 3 - counter); + ++counter; + } - if (parameter.validation) { - const regex = new RegExp(parameter.validation); - if (!regex.test(value)) { - throw new RequestError( - `Invalid value for parameter '${currentParameterName}': ${JSON.stringify( - value - )}`, - 400, - { - request: options, - } - ); - } - } + return ipv4; +} - if (expectedType === "object" && typeof value === "string") { - try { - value = JSON.parse(value); - } catch (exception) { - throw new RequestError( - `JSON parse error of value for parameter '${currentParameterName}': ${JSON.stringify( - value - )}`, - 400, - { - request: options, - } - ); - } - } +function serializeIPv4(address) { + let output = ""; + let n = address; - set(options, parameter.mapTo || currentParameterName, value); - }); - }); + for (let i = 1; i <= 4; ++i) { + output = String(n % 256) + output; + if (i !== 4) { + output = "." + output; + } + n = Math.floor(n / 256); + } - return options; - } + return output; +} - /***/ - }, +function parseIPv6(input) { + const address = [0, 0, 0, 0, 0, 0, 0, 0]; + let pieceIndex = 0; + let compress = null; + let pointer = 0; - /***/ 1349: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["personalizeruntime"] = {}; - AWS.PersonalizeRuntime = Service.defineService("personalizeruntime", [ - "2018-05-22", - ]); - Object.defineProperty( - apiLoader.services["personalizeruntime"], - "2018-05-22", - { - get: function get() { - var model = __webpack_require__(9370); - model.paginators = __webpack_require__(8367).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); + input = punycode.ucs2.decode(input); - module.exports = AWS.PersonalizeRuntime; + if (input[pointer] === 58) { + if (input[pointer + 1] !== 58) { + return failure; + } - /***/ - }, + pointer += 2; + ++pieceIndex; + compress = pieceIndex; + } - /***/ 1352: /***/ function (module) { - module.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" }, - }, - }, - }, - 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: "Sl", - jsonvalue: true, - location: "header", - locationName: "x-amz-lex-session-attributes", - }, - requestAttributes: { - shape: "Sl", - jsonvalue: true, - location: "header", - locationName: "x-amz-lex-request-attributes", - }, - contentType: { - location: "header", - locationName: "Content-Type", - }, - accept: { location: "header", locationName: "Accept" }, - inputStream: { shape: "So" }, - }, - payload: "inputStream", - }, - output: { - type: "structure", - members: { - contentType: { - location: "header", - locationName: "Content-Type", - }, - intentName: { - location: "header", - locationName: "x-amz-lex-intent-name", - }, - slots: { - jsonvalue: true, - location: "header", - locationName: "x-amz-lex-slots", - }, - sessionAttributes: { - jsonvalue: true, - location: "header", - locationName: "x-amz-lex-session-attributes", - }, - sentimentResponse: { - location: "header", - locationName: "x-amz-lex-sentiment", - }, - message: { - shape: "Si", - location: "header", - locationName: "x-amz-lex-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: { - location: "header", - locationName: "x-amz-lex-input-transcript", - }, - audioStream: { shape: "So" }, - sessionId: { - location: "header", - locationName: "x-amz-lex-session-id", - }, - }, - 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" }, - }, - }, - output: { - type: "structure", - members: { - intentName: {}, - 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: {}, - }, - }, - }, - 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" }, - }, - }, - output: { - type: "structure", - members: { - contentType: { - location: "header", - locationName: "Content-Type", - }, - intentName: { - location: "header", - locationName: "x-amz-lex-intent-name", - }, - slots: { - jsonvalue: true, - location: "header", - locationName: "x-amz-lex-slots", - }, - sessionAttributes: { - jsonvalue: true, - location: "header", - locationName: "x-amz-lex-session-attributes", - }, - message: { - shape: "Si", - location: "header", - locationName: "x-amz-lex-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: "So" }, - sessionId: { - location: "header", - locationName: "x-amz-lex-session-id", - }, - }, - 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: true }, - Sh: { - type: "structure", - required: ["type"], - members: { - type: {}, - intentName: {}, - slots: { shape: "Sd" }, - slotToElicit: {}, - fulfillmentState: {}, - message: { shape: "Si" }, - messageFormat: {}, - }, - }, - Si: { type: "string", sensitive: true }, - Sl: { type: "string", sensitive: true }, - So: { type: "blob", streaming: true }, - }, - }; + while (pointer < input.length) { + if (pieceIndex === 8) { + return failure; + } - /***/ - }, + if (input[pointer] === 58) { + if (compress !== null) { + return failure; + } + ++pointer; + ++pieceIndex; + compress = pieceIndex; + continue; + } - /***/ 1353: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + let value = 0; + let length = 0; - apiLoader.services["securityhub"] = {}; - AWS.SecurityHub = Service.defineService("securityhub", ["2018-10-26"]); - Object.defineProperty(apiLoader.services["securityhub"], "2018-10-26", { - get: function get() { - var model = __webpack_require__(5642); - model.paginators = __webpack_require__(3998).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + while (length < 4 && isASCIIHex(input[pointer])) { + value = value * 0x10 + parseInt(at(input, pointer), 16); + ++pointer; + ++length; + } - module.exports = AWS.SecurityHub; + if (input[pointer] === 46) { + if (length === 0) { + return failure; + } - /***/ - }, + pointer -= length; - /***/ 1368: /***/ function (module) { - module.exports = function atob(str) { - return Buffer.from(str, "base64").toString("binary"); - }; + if (pieceIndex > 6) { + return failure; + } - /***/ - }, + let numbersSeen = 0; + + while (input[pointer] !== undefined) { + let ipv4Piece = null; - /***/ 1371: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var Translator = __webpack_require__(109); - var DynamoDBSet = __webpack_require__(3815); - - /** - * The document client simplifies working with items in Amazon DynamoDB - * by abstracting away the notion of attribute values. This abstraction - * annotates native JavaScript types supplied as input parameters, as well - * as converts annotated response data to native JavaScript types. - * - * ## Marshalling Input and Unmarshalling Response Data - * - * The document client affords developers the use of native JavaScript types - * instead of `AttributeValue`s to simplify the JavaScript development - * experience with Amazon DynamoDB. JavaScript objects passed in as parameters - * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. - * Responses from DynamoDB are unmarshalled into plain JavaScript objects - * by the `DocumentClient`. The `DocumentClient`, does not accept - * `AttributeValue`s in favor of native JavaScript types. - * - * | JavaScript Type | DynamoDB AttributeValue | - * |:----------------------------------------------------------------------:|-------------------------| - * | String | S | - * | Number | N | - * | Boolean | BOOL | - * | null | NULL | - * | Array | L | - * | Object | M | - * | Buffer, File, Blob, ArrayBuffer, DataView, and JavaScript typed arrays | B | - * - * ## Support for Sets - * - * The `DocumentClient` offers a convenient way to create sets from - * JavaScript Arrays. The type of set is inferred from the first element - * in the array. DynamoDB supports string, number, and binary sets. To - * learn more about supported types see the - * [Amazon DynamoDB Data Model Documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) - * For more information see {AWS.DynamoDB.DocumentClient.createSet} - * - */ - AWS.DynamoDB.DocumentClient = AWS.util.inherit({ - /** - * Creates a DynamoDB document client with a set of configuration options. - * - * @option options params [map] An optional map of parameters to bind to every - * request sent by this service object. - * @option options service [AWS.DynamoDB] An optional pre-configured instance - * of the AWS.DynamoDB service object to use for requests. The object may - * bound parameters used by the document client. - * @option options convertEmptyValues [Boolean] set to true if you would like - * the document client to convert empty values (0-length strings, binary - * buffers, and sets) to be converted to NULL types when persisting to - * DynamoDB. - * @see AWS.DynamoDB.constructor - * - */ - constructor: function DocumentClient(options) { - var self = this; - self.options = options || {}; - self.configure(self.options); - }, - - /** - * @api private - */ - configure: function configure(options) { - var self = this; - self.service = options.service; - self.bindServiceObject(options); - self.attrValue = options.attrValue = - self.service.api.operations.putItem.input.members.Item.value.shape; - }, - - /** - * @api private - */ - bindServiceObject: function bindServiceObject(options) { - var self = this; - options = options || {}; - - if (!self.service) { - self.service = new AWS.DynamoDB(options); + if (numbersSeen > 0) { + if (input[pointer] === 46 && numbersSeen < 4) { + ++pointer; } else { - var config = AWS.util.copy(self.service.config); - self.service = new self.service.constructor.__super__(config); - self.service.config.params = AWS.util.merge( - self.service.config.params || {}, - options.params - ); + return failure; } - }, + } + + if (!isASCIIDigit(input[pointer])) { + return failure; + } - /** - * @api private - */ - makeServiceRequest: function (operation, params, callback) { - var self = this; - var request = self.service[operation](params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === "function") { - request.send(callback); + while (isASCIIDigit(input[pointer])) { + const number = parseInt(at(input, pointer)); + if (ipv4Piece === null) { + ipv4Piece = number; + } else if (ipv4Piece === 0) { + return failure; + } else { + ipv4Piece = ipv4Piece * 10 + number; } - return request; - }, - - /** - * @api private - */ - serviceClientOperationsMap: { - batchGet: "batchGetItem", - batchWrite: "batchWriteItem", - delete: "deleteItem", - get: "getItem", - put: "putItem", - query: "query", - scan: "scan", - update: "updateItem", - transactGet: "transactGetItems", - transactWrite: "transactWriteItems", - }, - - /** - * Returns the attributes of one or more items from one or more tables - * by delegating to `AWS.DynamoDB.batchGetItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.batchGetItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.batchGetItem - * @example Get items from multiple tables - * var params = { - * RequestItems: { - * 'Table-1': { - * Keys: [ - * { - * HashKey: 'haskey', - * NumberRangeKey: 1 - * } - * ] - * }, - * 'Table-2': { - * Keys: [ - * { foo: 'bar' }, - * ] - * } - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.batchGet(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - batchGet: function (params, callback) { - var operation = this.serviceClientOperationsMap["batchGet"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Puts or deletes multiple items in one or more tables by delegating - * to `AWS.DynamoDB.batchWriteItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.batchWriteItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.batchWriteItem - * @example Write to and delete from a table - * var params = { - * RequestItems: { - * 'Table-1': [ - * { - * DeleteRequest: { - * Key: { HashKey: 'someKey' } - * } - * }, - * { - * PutRequest: { - * Item: { - * HashKey: 'anotherKey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar' } - * } - * } - * } - * ] - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.batchWrite(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - batchWrite: function (params, callback) { - var operation = this.serviceClientOperationsMap["batchWrite"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Deletes a single item in a table by primary key by delegating to - * `AWS.DynamoDB.deleteItem()` - * - * Supply the same parameters as {AWS.DynamoDB.deleteItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.deleteItem - * @example Delete an item from a table - * var params = { - * TableName : 'Table', - * Key: { - * HashKey: 'hashkey', - * NumberRangeKey: 1 - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.delete(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - delete: function (params, callback) { - var operation = this.serviceClientOperationsMap["delete"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Returns a set of attributes for the item with the given primary key - * by delegating to `AWS.DynamoDB.getItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.getItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.getItem - * @example Get an item from a table - * var params = { - * TableName : 'Table', - * Key: { - * HashKey: 'hashkey' - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.get(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - get: function (params, callback) { - var operation = this.serviceClientOperationsMap["get"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Creates a new item, or replaces an old item with a new item by - * delegating to `AWS.DynamoDB.putItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.putItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.putItem - * @example Create a new item in a table - * var params = { - * TableName : 'Table', - * Item: { - * HashKey: 'haskey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar'}, - * NullAttribute: null - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.put(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - put: function (params, callback) { - var operation = this.serviceClientOperationsMap["put"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Edits an existing item's attributes, or adds a new item to the table if - * it does not already exist by delegating to `AWS.DynamoDB.updateItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.updateItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.updateItem - * @example Update an item with expressions - * var params = { - * TableName: 'Table', - * Key: { HashKey : 'hashkey' }, - * UpdateExpression: 'set #a = :x + :y', - * ConditionExpression: '#a < :MAX', - * ExpressionAttributeNames: {'#a' : 'Sum'}, - * ExpressionAttributeValues: { - * ':x' : 20, - * ':y' : 45, - * ':MAX' : 100, - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.update(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - update: function (params, callback) { - var operation = this.serviceClientOperationsMap["update"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Returns one or more items and item attributes by accessing every item - * in a table or a secondary index. - * - * Supply the same parameters as {AWS.DynamoDB.scan} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.scan - * @example Scan the table with a filter expression - * var params = { - * TableName : 'Table', - * FilterExpression : 'Year = :this_year', - * ExpressionAttributeValues : {':this_year' : 2015} - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.scan(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - scan: function (params, callback) { - var operation = this.serviceClientOperationsMap["scan"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Directly access items from a table by primary key or a secondary index. - * - * Supply the same parameters as {AWS.DynamoDB.query} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.query - * @example Query an index - * var params = { - * TableName: 'Table', - * IndexName: 'Index', - * KeyConditionExpression: 'HashKey = :hkey and RangeKey > :rkey', - * ExpressionAttributeValues: { - * ':hkey': 'key', - * ':rkey': 2015 - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.query(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - query: function (params, callback) { - var operation = this.serviceClientOperationsMap["query"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Synchronous write operation that groups up to 10 action requests - * - * Supply the same parameters as {AWS.DynamoDB.transactWriteItems} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.transactWriteItems - * @example Get items from multiple tables - * var params = { - * TransactItems: [{ - * Put: { - * TableName : 'Table0', - * Item: { - * HashKey: 'haskey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar'}, - * NullAttribute: null - * } - * } - * }, { - * Update: { - * TableName: 'Table1', - * Key: { HashKey : 'hashkey' }, - * UpdateExpression: 'set #a = :x + :y', - * ConditionExpression: '#a < :MAX', - * ExpressionAttributeNames: {'#a' : 'Sum'}, - * ExpressionAttributeValues: { - * ':x' : 20, - * ':y' : 45, - * ':MAX' : 100, - * } - * } - * }] - * }; - * - * documentClient.transactWrite(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - */ - transactWrite: function (params, callback) { - var operation = this.serviceClientOperationsMap["transactWrite"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Atomically retrieves multiple items from one or more tables (but not from indexes) - * in a single account and region. - * - * Supply the same parameters as {AWS.DynamoDB.transactGetItems} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.transactGetItems - * @example Get items from multiple tables - * var params = { - * TransactItems: [{ - * Get: { - * TableName : 'Table0', - * Key: { - * HashKey: 'hashkey0' - * } - * } - * }, { - * Get: { - * TableName : 'Table1', - * Key: { - * HashKey: 'hashkey1' - * } - * } - * }] - * }; - * - * documentClient.transactGet(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - */ - transactGet: function (params, callback) { - var operation = this.serviceClientOperationsMap["transactGet"]; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Creates a set of elements inferring the type of set from - * the type of the first element. Amazon DynamoDB currently supports - * the number sets, string sets, and binary sets. For more information - * about DynamoDB data types see the documentation on the - * [Amazon DynamoDB Data Model](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModel.DataTypes). - * - * @param list [Array] Collection to represent your DynamoDB Set - * @param options [map] - * * **validate** [Boolean] set to true if you want to validate the type - * of each element in the set. Defaults to `false`. - * @example Creating a number set - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * var params = { - * Item: { - * hashkey: 'hashkey' - * numbers: documentClient.createSet([1, 2, 3]); - * } - * }; - * - * documentClient.put(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - createSet: function (list, options) { - options = options || {}; - return new DynamoDBSet(list, options); - }, - - /** - * @api private - */ - getTranslator: function () { - return new Translator(this.options); - }, - - /** - * @api private - */ - setupRequest: function setupRequest(request) { - var self = this; - var translator = self.getTranslator(); - var operation = request.operation; - var inputShape = request.service.api.operations[operation].input; - request._events.validate.unshift(function (req) { - req.rawParams = AWS.util.copy(req.params); - req.params = translator.translateInput(req.rawParams, inputShape); - }); - }, + if (ipv4Piece > 255) { + return failure; + } + ++pointer; + } - /** - * @api private - */ - setupResponse: function setupResponse(request) { - var self = this; - var translator = self.getTranslator(); - var outputShape = - self.service.api.operations[request.operation].output; - request.on("extractData", function (response) { - response.data = translator.translateOutput( - response.data, - outputShape - ); - }); + address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; - var response = request.response; - response.nextPage = function (cb) { - var resp = this; - var req = resp.request; - var config; - var service = req.service; - var operation = req.operation; - try { - config = service.paginationConfig(operation, true); - } catch (e) { - resp.error = e; - } + ++numbersSeen; - if (!resp.hasNextPage()) { - if (cb) cb(resp.error, null); - else if (resp.error) throw resp.error; - return null; - } + if (numbersSeen === 2 || numbersSeen === 4) { + ++pieceIndex; + } + } - var params = AWS.util.copy(req.rawParams); - if (!resp.nextPageTokens) { - return cb ? cb(null, null) : null; - } else { - var inputTokens = config.inputToken; - if (typeof inputTokens === "string") inputTokens = [inputTokens]; - for (var i = 0; i < inputTokens.length; i++) { - params[inputTokens[i]] = resp.nextPageTokens[i]; - } - return self[operation](params, cb); - } - }; - }, - }); + if (numbersSeen !== 4) { + return failure; + } - /** - * @api private - */ - module.exports = AWS.DynamoDB.DocumentClient; + break; + } else if (input[pointer] === 58) { + ++pointer; + if (input[pointer] === undefined) { + return failure; + } + } else if (input[pointer] !== undefined) { + return failure; + } - /***/ - }, + address[pieceIndex] = value; + ++pieceIndex; + } - /***/ 1372: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + if (compress !== null) { + let swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + const temp = address[compress + swaps - 1]; + address[compress + swaps - 1] = address[pieceIndex]; + address[pieceIndex] = temp; + --pieceIndex; + --swaps; + } + } else if (compress === null && pieceIndex !== 8) { + return failure; + } - apiLoader.services["devicefarm"] = {}; - AWS.DeviceFarm = Service.defineService("devicefarm", ["2015-06-23"]); - Object.defineProperty(apiLoader.services["devicefarm"], "2015-06-23", { - get: function get() { - var model = __webpack_require__(4622); - model.paginators = __webpack_require__(2522).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + return address; +} + +function serializeIPv6(address) { + let output = ""; + const seqResult = findLongestZeroSequence(address); + const compress = seqResult.idx; + let ignore0 = false; + + for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { + if (ignore0 && address[pieceIndex] === 0) { + continue; + } else if (ignore0) { + ignore0 = false; + } + + if (compress === pieceIndex) { + const separator = pieceIndex === 0 ? "::" : ":"; + output += separator; + ignore0 = true; + continue; + } + + output += address[pieceIndex].toString(16); + + if (pieceIndex !== 7) { + output += ":"; + } + } - module.exports = AWS.DeviceFarm; + return output; +} - /***/ - }, +function parseHost(input, isSpecialArg) { + if (input[0] === "[") { + if (input[input.length - 1] !== "]") { + return failure; + } - /***/ 1395: /***/ function (module) { - module.exports = { - pagination: { - ListBusinessReportSchedules: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListConferenceProviders: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListDeviceEvents: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListGatewayGroups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListGateways: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListSkills: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListSkillsStoreCategories: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListSkillsStoreSkillsByCategory: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListSmartHomeAppliances: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListTags: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchAddressBooks: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchContacts: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchDevices: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchNetworkProfiles: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchProfiles: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchRooms: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchSkillGroups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - SearchUsers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; + return parseIPv6(input.substring(1, input.length - 1)); + } - /***/ - }, + if (!isSpecialArg) { + return parseOpaqueHost(input); + } - /***/ 1401: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + const domain = utf8PercentDecode(input); + const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false); + if (asciiDomain === null) { + return failure; + } - apiLoader.services["mediastore"] = {}; - AWS.MediaStore = Service.defineService("mediastore", ["2017-09-01"]); - Object.defineProperty(apiLoader.services["mediastore"], "2017-09-01", { - get: function get() { - var model = __webpack_require__(5296); - model.paginators = __webpack_require__(6423).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + if (containsForbiddenHostCodePoint(asciiDomain)) { + return failure; + } - module.exports = AWS.MediaStore; + const ipv4Host = parseIPv4(asciiDomain); + if (typeof ipv4Host === "number" || ipv4Host === failure) { + return ipv4Host; + } - /***/ - }, + return asciiDomain; +} - /***/ 1406: /***/ function (module) { - module.exports = { - pagination: { - ListBatchInferenceJobs: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "batchInferenceJobs", - }, - ListCampaigns: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "campaigns", - }, - 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", - }, - ListRecipes: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "recipes", - }, - 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", - }, - }, - }; +function parseOpaqueHost(input) { + if (containsForbiddenHostCodePointExcludingPercent(input)) { + return failure; + } - /***/ - }, + let output = ""; + const decoded = punycode.ucs2.decode(input); + for (let i = 0; i < decoded.length; ++i) { + output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); + } + return output; +} + +function findLongestZeroSequence(arr) { + let maxIdx = null; + let maxLen = 1; // only find elements > 1 + let currStart = null; + let currLen = 0; + + for (let i = 0; i < arr.length; ++i) { + if (arr[i] !== 0) { + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + currStart = null; + currLen = 0; + } else { + if (currStart === null) { + currStart = i; + } + ++currLen; + } + } - /***/ 1407: /***/ function (module) { - 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: { - 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: "S8" } }, - }, - }, - 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: "Sc" } } }, - }, - 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: "Sg" }, - lambdaConfig: { shape: "Si" }, - elasticsearchConfig: { shape: "Sj" }, - httpConfig: { shape: "Sk" }, - relationalDatabaseConfig: { shape: "So" }, - }, - }, - output: { - type: "structure", - members: { dataSource: { shape: "Ss" } }, - }, - }, - CreateFunction: { - http: { requestUri: "/v1/apis/{apiId}/functions" }, - input: { - type: "structure", - required: [ - "apiId", - "name", - "dataSourceName", - "requestMappingTemplate", - "functionVersion", - ], - members: { - apiId: { location: "uri", locationName: "apiId" }, - name: {}, - description: {}, - dataSourceName: {}, - requestMappingTemplate: {}, - responseMappingTemplate: {}, - functionVersion: {}, - }, - }, - output: { - type: "structure", - members: { functionConfiguration: { shape: "Sw" } }, - }, - }, - CreateGraphqlApi: { - http: { requestUri: "/v1/apis" }, - input: { - type: "structure", - required: ["name", "authenticationType"], - members: { - name: {}, - logConfig: { shape: "Sy" }, - authenticationType: {}, - userPoolConfig: { shape: "S11" }, - openIDConnectConfig: { shape: "S13" }, - tags: { shape: "S14" }, - additionalAuthenticationProviders: { shape: "S17" }, - xrayEnabled: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { graphqlApi: { shape: "S1b" } }, - }, - }, - CreateResolver: { - http: { requestUri: "/v1/apis/{apiId}/types/{typeName}/resolvers" }, - input: { - type: "structure", - required: [ - "apiId", - "typeName", - "fieldName", - "requestMappingTemplate", - ], - members: { - apiId: { location: "uri", locationName: "apiId" }, - typeName: { location: "uri", locationName: "typeName" }, - fieldName: {}, - dataSourceName: {}, - requestMappingTemplate: {}, - responseMappingTemplate: {}, - kind: {}, - pipelineConfig: { shape: "S1f" }, - syncConfig: { shape: "S1h" }, - cachingConfig: { shape: "S1l" }, - }, - }, - output: { - type: "structure", - members: { resolver: { shape: "S1o" } }, - }, - }, - 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: "S1s" } } }, - }, - 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: {} }, - }, - 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: {} }, - }, - FlushApiCache: { - http: { - method: "DELETE", - requestUri: "/v1/apis/{apiId}/FlushCache", - }, - input: { - type: "structure", - required: ["apiId"], - members: { apiId: { location: "uri", locationName: "apiId" } }, - }, - output: { type: "structure", members: {} }, - }, - 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: "S8" } }, - }, - }, - 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: "Ss" } }, - }, - }, - 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: "Sw" } }, - }, - }, - 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: "S1b" } }, - }, - }, - 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: "S1o" } }, - }, - }, - 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: "S1s" } } }, - }, - 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: "Sc" } }, - 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: "Ss" } }, - 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: "Sw" } }, - 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: "S1b" } }, - 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: "S39" }, 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: "S39" }, 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: "S14" } } }, - }, - 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: "S1s" } }, - 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: "S14" }, - }, - }, - 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: "S8" } }, - }, - }, - 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: "Sc" } } }, - }, - 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: "Sg" }, - lambdaConfig: { shape: "Si" }, - elasticsearchConfig: { shape: "Sj" }, - httpConfig: { shape: "Sk" }, - relationalDatabaseConfig: { shape: "So" }, - }, - }, - output: { - type: "structure", - members: { dataSource: { shape: "Ss" } }, - }, - }, - UpdateFunction: { - http: { requestUri: "/v1/apis/{apiId}/functions/{functionId}" }, - input: { - type: "structure", - required: [ - "apiId", - "name", - "functionId", - "dataSourceName", - "requestMappingTemplate", - "functionVersion", - ], - members: { - apiId: { location: "uri", locationName: "apiId" }, - name: {}, - description: {}, - functionId: { location: "uri", locationName: "functionId" }, - dataSourceName: {}, - requestMappingTemplate: {}, - responseMappingTemplate: {}, - functionVersion: {}, - }, - }, - output: { - type: "structure", - members: { functionConfiguration: { shape: "Sw" } }, - }, - }, - UpdateGraphqlApi: { - http: { requestUri: "/v1/apis/{apiId}" }, - input: { - type: "structure", - required: ["apiId", "name"], - members: { - apiId: { location: "uri", locationName: "apiId" }, - name: {}, - logConfig: { shape: "Sy" }, - authenticationType: {}, - userPoolConfig: { shape: "S11" }, - openIDConnectConfig: { shape: "S13" }, - additionalAuthenticationProviders: { shape: "S17" }, - xrayEnabled: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { graphqlApi: { shape: "S1b" } }, - }, - }, - UpdateResolver: { - http: { - requestUri: - "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", - }, - input: { - type: "structure", - required: [ - "apiId", - "typeName", - "fieldName", - "requestMappingTemplate", - ], - members: { - apiId: { location: "uri", locationName: "apiId" }, - typeName: { location: "uri", locationName: "typeName" }, - fieldName: { location: "uri", locationName: "fieldName" }, - dataSourceName: {}, - requestMappingTemplate: {}, - responseMappingTemplate: {}, - kind: {}, - pipelineConfig: { shape: "S1f" }, - syncConfig: { shape: "S1h" }, - cachingConfig: { shape: "S1l" }, - }, - }, - output: { - type: "structure", - members: { resolver: { shape: "S1o" } }, - }, - }, - 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: "S1s" } } }, - }, - }, - shapes: { - S8: { - type: "structure", - members: { - ttl: { type: "long" }, - apiCachingBehavior: {}, - transitEncryptionEnabled: { type: "boolean" }, - atRestEncryptionEnabled: { type: "boolean" }, - type: {}, - status: {}, - }, - }, - Sc: { - type: "structure", - members: { id: {}, description: {}, expires: { type: "long" } }, - }, - Sg: { - 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" }, - }, - }, - Si: { - type: "structure", - required: ["lambdaFunctionArn"], - members: { lambdaFunctionArn: {} }, - }, - Sj: { - type: "structure", - required: ["endpoint", "awsRegion"], - members: { endpoint: {}, awsRegion: {} }, - }, - Sk: { - type: "structure", - members: { - endpoint: {}, - authorizationConfig: { - type: "structure", - required: ["authorizationType"], - members: { - authorizationType: {}, - awsIamConfig: { - type: "structure", - members: { signingRegion: {}, signingServiceName: {} }, - }, - }, - }, - }, - }, - So: { - type: "structure", - members: { - relationalDatabaseSourceType: {}, - rdsHttpEndpointConfig: { - type: "structure", - members: { - awsRegion: {}, - dbClusterIdentifier: {}, - databaseName: {}, - schema: {}, - awsSecretStoreArn: {}, - }, - }, - }, - }, - Ss: { - type: "structure", - members: { - dataSourceArn: {}, - name: {}, - description: {}, - type: {}, - serviceRoleArn: {}, - dynamodbConfig: { shape: "Sg" }, - lambdaConfig: { shape: "Si" }, - elasticsearchConfig: { shape: "Sj" }, - httpConfig: { shape: "Sk" }, - relationalDatabaseConfig: { shape: "So" }, - }, - }, - Sw: { - type: "structure", - members: { - functionId: {}, - functionArn: {}, - name: {}, - description: {}, - dataSourceName: {}, - requestMappingTemplate: {}, - responseMappingTemplate: {}, - functionVersion: {}, - }, - }, - Sy: { - type: "structure", - required: ["fieldLogLevel", "cloudWatchLogsRoleArn"], - members: { - fieldLogLevel: {}, - cloudWatchLogsRoleArn: {}, - excludeVerboseContent: { type: "boolean" }, - }, - }, - S11: { - type: "structure", - required: ["userPoolId", "awsRegion", "defaultAction"], - members: { - userPoolId: {}, - awsRegion: {}, - defaultAction: {}, - appIdClientRegex: {}, - }, - }, - S13: { - type: "structure", - required: ["issuer"], - members: { - issuer: {}, - clientId: {}, - iatTTL: { type: "long" }, - authTTL: { type: "long" }, - }, - }, - S14: { type: "map", key: {}, value: {} }, - S17: { - type: "list", - member: { - type: "structure", - members: { - authenticationType: {}, - openIDConnectConfig: { shape: "S13" }, - userPoolConfig: { - type: "structure", - required: ["userPoolId", "awsRegion"], - members: { - userPoolId: {}, - awsRegion: {}, - appIdClientRegex: {}, - }, - }, - }, - }, - }, - S1b: { - type: "structure", - members: { - name: {}, - apiId: {}, - authenticationType: {}, - logConfig: { shape: "Sy" }, - userPoolConfig: { shape: "S11" }, - openIDConnectConfig: { shape: "S13" }, - arn: {}, - uris: { type: "map", key: {}, value: {} }, - tags: { shape: "S14" }, - additionalAuthenticationProviders: { shape: "S17" }, - xrayEnabled: { type: "boolean" }, - }, - }, - S1f: { - type: "structure", - members: { functions: { type: "list", member: {} } }, - }, - S1h: { - type: "structure", - members: { - conflictHandler: {}, - conflictDetection: {}, - lambdaConflictHandlerConfig: { - type: "structure", - members: { lambdaConflictHandlerArn: {} }, - }, - }, - }, - S1l: { - type: "structure", - members: { - ttl: { type: "long" }, - cachingKeys: { type: "list", member: {} }, - }, - }, - S1o: { - type: "structure", - members: { - typeName: {}, - fieldName: {}, - dataSourceName: {}, - resolverArn: {}, - requestMappingTemplate: {}, - responseMappingTemplate: {}, - kind: {}, - pipelineConfig: { shape: "S1f" }, - syncConfig: { shape: "S1h" }, - cachingConfig: { shape: "S1l" }, - }, - }, - S1s: { - type: "structure", - members: { - name: {}, - description: {}, - arn: {}, - definition: {}, - format: {}, - }, - }, - S39: { type: "list", member: { shape: "S1o" } }, - }, - }; + // if trailing zeros + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } - /***/ - }, + return { + idx: maxIdx, + len: maxLen + }; +} - /***/ 1411: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2014-10-31", - endpointPrefix: "rds", - protocol: "query", - serviceAbbreviation: "Amazon Neptune", - serviceFullName: "Amazon Neptune", - serviceId: "Neptune", - signatureVersion: "v4", - signingName: "rds", - uid: "neptune-2014-10-31", - xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/", - }, - operations: { - AddRoleToDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier", "RoleArn"], - members: { DBClusterIdentifier: {}, RoleArn: {} }, - }, - }, - AddSourceIdentifierToSubscription: { - input: { - type: "structure", - required: ["SubscriptionName", "SourceIdentifier"], - members: { SubscriptionName: {}, SourceIdentifier: {} }, - }, - output: { - resultWrapper: "AddSourceIdentifierToSubscriptionResult", - type: "structure", - members: { EventSubscription: { shape: "S5" } }, - }, - }, - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceName", "Tags"], - members: { ResourceName: {}, Tags: { shape: "Sa" } }, - }, - }, - ApplyPendingMaintenanceAction: { - input: { - type: "structure", - required: ["ResourceIdentifier", "ApplyAction", "OptInType"], - members: { - ResourceIdentifier: {}, - ApplyAction: {}, - OptInType: {}, - }, - }, - output: { - resultWrapper: "ApplyPendingMaintenanceActionResult", - type: "structure", - members: { ResourcePendingMaintenanceActions: { shape: "Se" } }, - }, - }, - CopyDBClusterParameterGroup: { - input: { - type: "structure", - required: [ - "SourceDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupDescription", - ], - members: { - SourceDBClusterParameterGroupIdentifier: {}, - TargetDBClusterParameterGroupIdentifier: {}, - TargetDBClusterParameterGroupDescription: {}, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CopyDBClusterParameterGroupResult", - type: "structure", - members: { DBClusterParameterGroup: { shape: "Sk" } }, - }, - }, - CopyDBClusterSnapshot: { - input: { - type: "structure", - required: [ - "SourceDBClusterSnapshotIdentifier", - "TargetDBClusterSnapshotIdentifier", - ], - members: { - SourceDBClusterSnapshotIdentifier: {}, - TargetDBClusterSnapshotIdentifier: {}, - KmsKeyId: {}, - PreSignedUrl: {}, - CopyTags: { type: "boolean" }, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CopyDBClusterSnapshotResult", - type: "structure", - members: { DBClusterSnapshot: { shape: "So" } }, - }, - }, - CopyDBParameterGroup: { - input: { - type: "structure", - required: [ - "SourceDBParameterGroupIdentifier", - "TargetDBParameterGroupIdentifier", - "TargetDBParameterGroupDescription", - ], - members: { - SourceDBParameterGroupIdentifier: {}, - TargetDBParameterGroupIdentifier: {}, - TargetDBParameterGroupDescription: {}, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CopyDBParameterGroupResult", - type: "structure", - members: { DBParameterGroup: { shape: "St" } }, - }, - }, - CreateDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier", "Engine"], - members: { - AvailabilityZones: { shape: "Sp" }, - BackupRetentionPeriod: { type: "integer" }, - CharacterSetName: {}, - DatabaseName: {}, - DBClusterIdentifier: {}, - DBClusterParameterGroupName: {}, - VpcSecurityGroupIds: { shape: "Sw" }, - DBSubnetGroupName: {}, - Engine: {}, - EngineVersion: {}, - Port: { type: "integer" }, - MasterUsername: {}, - MasterUserPassword: {}, - OptionGroupName: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - ReplicationSourceIdentifier: {}, - Tags: { shape: "Sa" }, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - PreSignedUrl: {}, - EnableIAMDatabaseAuthentication: { type: "boolean" }, - EnableCloudwatchLogsExports: { shape: "Sx" }, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "CreateDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - CreateDBClusterParameterGroup: { - input: { - type: "structure", - required: [ - "DBClusterParameterGroupName", - "DBParameterGroupFamily", - "Description", - ], - members: { - DBClusterParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CreateDBClusterParameterGroupResult", - type: "structure", - members: { DBClusterParameterGroup: { shape: "Sk" } }, - }, - }, - CreateDBClusterSnapshot: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier", "DBClusterIdentifier"], - members: { - DBClusterSnapshotIdentifier: {}, - DBClusterIdentifier: {}, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CreateDBClusterSnapshotResult", - type: "structure", - members: { DBClusterSnapshot: { shape: "So" } }, - }, - }, - CreateDBInstance: { - input: { - type: "structure", - required: ["DBInstanceIdentifier", "DBInstanceClass", "Engine"], - members: { - DBName: {}, - DBInstanceIdentifier: {}, - AllocatedStorage: { type: "integer" }, - DBInstanceClass: {}, - Engine: {}, - MasterUsername: {}, - MasterUserPassword: {}, - DBSecurityGroups: { shape: "S1e" }, - VpcSecurityGroupIds: { shape: "Sw" }, - 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: { deprecated: true, type: "boolean" }, - Tags: { shape: "Sa" }, - 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: {}, - EnableCloudwatchLogsExports: { shape: "Sx" }, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "CreateDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S1g" } }, - }, - }, - CreateDBParameterGroup: { - input: { - type: "structure", - required: [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description", - ], - members: { - DBParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CreateDBParameterGroupResult", - type: "structure", - members: { DBParameterGroup: { shape: "St" } }, - }, - }, - CreateDBSubnetGroup: { - input: { - type: "structure", - required: [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds", - ], - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S23" }, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CreateDBSubnetGroupResult", - type: "structure", - members: { DBSubnetGroup: { shape: "S1m" } }, - }, - }, - CreateEventSubscription: { - input: { - type: "structure", - required: ["SubscriptionName", "SnsTopicArn"], - members: { - SubscriptionName: {}, - SnsTopicArn: {}, - SourceType: {}, - EventCategories: { shape: "S7" }, - SourceIds: { shape: "S6" }, - Enabled: { type: "boolean" }, - Tags: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "CreateEventSubscriptionResult", - type: "structure", - members: { EventSubscription: { shape: "S5" } }, - }, - }, - DeleteDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { - DBClusterIdentifier: {}, - SkipFinalSnapshot: { type: "boolean" }, - FinalDBSnapshotIdentifier: {}, - }, - }, - output: { - resultWrapper: "DeleteDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - DeleteDBClusterParameterGroup: { - input: { - type: "structure", - required: ["DBClusterParameterGroupName"], - members: { DBClusterParameterGroupName: {} }, - }, - }, - DeleteDBClusterSnapshot: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier"], - members: { DBClusterSnapshotIdentifier: {} }, - }, - output: { - resultWrapper: "DeleteDBClusterSnapshotResult", - type: "structure", - members: { DBClusterSnapshot: { shape: "So" } }, - }, - }, - DeleteDBInstance: { - input: { - type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - SkipFinalSnapshot: { type: "boolean" }, - FinalDBSnapshotIdentifier: {}, - }, - }, - output: { - resultWrapper: "DeleteDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S1g" } }, - }, - }, - DeleteDBParameterGroup: { - input: { - type: "structure", - required: ["DBParameterGroupName"], - members: { DBParameterGroupName: {} }, - }, - }, - DeleteDBSubnetGroup: { - input: { - type: "structure", - required: ["DBSubnetGroupName"], - members: { DBSubnetGroupName: {} }, - }, - }, - DeleteEventSubscription: { - input: { - type: "structure", - required: ["SubscriptionName"], - members: { SubscriptionName: {} }, - }, - output: { - resultWrapper: "DeleteEventSubscriptionResult", - type: "structure", - members: { EventSubscription: { shape: "S5" } }, - }, - }, - DescribeDBClusterParameterGroups: { - input: { - type: "structure", - members: { - DBClusterParameterGroupName: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBClusterParameterGroupsResult", - type: "structure", - members: { - Marker: {}, - DBClusterParameterGroups: { - type: "list", - member: { - shape: "Sk", - locationName: "DBClusterParameterGroup", - }, - }, - }, - }, - }, - DescribeDBClusterParameters: { - input: { - type: "structure", - required: ["DBClusterParameterGroupName"], - members: { - DBClusterParameterGroupName: {}, - Source: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBClusterParametersResult", - type: "structure", - members: { Parameters: { shape: "S2q" }, Marker: {} }, - }, - }, - DescribeDBClusterSnapshotAttributes: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier"], - members: { DBClusterSnapshotIdentifier: {} }, - }, - output: { - resultWrapper: "DescribeDBClusterSnapshotAttributesResult", - type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S2v" } }, - }, - }, - DescribeDBClusterSnapshots: { - input: { - type: "structure", - members: { - DBClusterIdentifier: {}, - DBClusterSnapshotIdentifier: {}, - SnapshotType: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - IncludeShared: { type: "boolean" }, - IncludePublic: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DescribeDBClusterSnapshotsResult", - type: "structure", - members: { - Marker: {}, - DBClusterSnapshots: { - type: "list", - member: { shape: "So", locationName: "DBClusterSnapshot" }, - }, - }, - }, - }, - DescribeDBClusters: { - input: { - type: "structure", - members: { - DBClusterIdentifier: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBClustersResult", - type: "structure", - members: { - Marker: {}, - DBClusters: { - type: "list", - member: { shape: "Sz", locationName: "DBCluster" }, - }, - }, - }, - }, - DescribeDBEngineVersions: { - input: { - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - DBParameterGroupFamily: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - DefaultOnly: { type: "boolean" }, - ListSupportedCharacterSets: { type: "boolean" }, - ListSupportedTimezones: { 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: "S39" }, - SupportedCharacterSets: { - type: "list", - member: { shape: "S39", locationName: "CharacterSet" }, - }, - ValidUpgradeTarget: { - type: "list", - member: { - locationName: "UpgradeTarget", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - Description: {}, - AutoUpgrade: { type: "boolean" }, - IsMajorVersionUpgrade: { type: "boolean" }, - }, - }, - }, - SupportedTimezones: { - type: "list", - member: { - locationName: "Timezone", - type: "structure", - members: { TimezoneName: {} }, - }, - }, - ExportableLogTypes: { shape: "Sx" }, - SupportsLogExportsToCloudwatchLogs: { type: "boolean" }, - SupportsReadReplica: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - DescribeDBInstances: { - input: { - type: "structure", - members: { - DBInstanceIdentifier: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBInstancesResult", - type: "structure", - members: { - Marker: {}, - DBInstances: { - type: "list", - member: { shape: "S1g", locationName: "DBInstance" }, - }, - }, - }, - }, - DescribeDBParameterGroups: { - input: { - type: "structure", - members: { - DBParameterGroupName: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBParameterGroupsResult", - type: "structure", - members: { - Marker: {}, - DBParameterGroups: { - type: "list", - member: { shape: "St", locationName: "DBParameterGroup" }, - }, - }, - }, - }, - DescribeDBParameters: { - input: { - type: "structure", - required: ["DBParameterGroupName"], - members: { - DBParameterGroupName: {}, - Source: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBParametersResult", - type: "structure", - members: { Parameters: { shape: "S2q" }, Marker: {} }, - }, - }, - DescribeDBSubnetGroups: { - input: { - type: "structure", - members: { - DBSubnetGroupName: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBSubnetGroupsResult", - type: "structure", - members: { - Marker: {}, - DBSubnetGroups: { - type: "list", - member: { shape: "S1m", locationName: "DBSubnetGroup" }, - }, - }, - }, - }, - DescribeEngineDefaultClusterParameters: { - input: { - type: "structure", - required: ["DBParameterGroupFamily"], - members: { - DBParameterGroupFamily: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeEngineDefaultClusterParametersResult", - type: "structure", - members: { EngineDefaults: { shape: "S3s" } }, - }, - }, - DescribeEngineDefaultParameters: { - input: { - type: "structure", - required: ["DBParameterGroupFamily"], - members: { - DBParameterGroupFamily: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeEngineDefaultParametersResult", - type: "structure", - members: { EngineDefaults: { shape: "S3s" } }, - }, - }, - DescribeEventCategories: { - input: { - type: "structure", - members: { SourceType: {}, Filters: { shape: "S2j" } }, - }, - output: { - resultWrapper: "DescribeEventCategoriesResult", - type: "structure", - members: { - EventCategoriesMapList: { - type: "list", - member: { - locationName: "EventCategoriesMap", - type: "structure", - members: { - SourceType: {}, - EventCategories: { shape: "S7" }, - }, - wrapper: true, - }, - }, - }, - }, - }, - DescribeEventSubscriptions: { - input: { - type: "structure", - members: { - SubscriptionName: {}, - Filters: { shape: "S2j" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeEventSubscriptionsResult", - type: "structure", - members: { - Marker: {}, - EventSubscriptionsList: { - type: "list", - member: { shape: "S5", locationName: "EventSubscription" }, - }, - }, - }, - }, - DescribeEvents: { - input: { - type: "structure", - members: { - SourceIdentifier: {}, - SourceType: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Duration: { type: "integer" }, - EventCategories: { shape: "S7" }, - Filters: { shape: "S2j" }, - 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: "S7" }, - Date: { type: "timestamp" }, - SourceArn: {}, - }, - }, - }, - }, - }, - }, - DescribeOrderableDBInstanceOptions: { - input: { - type: "structure", - required: ["Engine"], - members: { - Engine: {}, - EngineVersion: {}, - DBInstanceClass: {}, - LicenseModel: {}, - Vpc: { type: "boolean" }, - Filters: { shape: "S2j" }, - 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: "S1p", - 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" }, - }, - wrapper: true, - }, - }, - Marker: {}, - }, - }, - }, - DescribePendingMaintenanceActions: { - input: { - type: "structure", - members: { - ResourceIdentifier: {}, - Filters: { shape: "S2j" }, - Marker: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribePendingMaintenanceActionsResult", - type: "structure", - members: { - PendingMaintenanceActions: { - type: "list", - member: { - shape: "Se", - locationName: "ResourcePendingMaintenanceActions", - }, - }, - Marker: {}, - }, - }, - }, - 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: "S4l" }, - ProvisionedIops: { shape: "S4l" }, - IopsToStorageRatio: { - type: "list", - member: { - locationName: "DoubleRange", - type: "structure", - members: { - From: { type: "double" }, - To: { type: "double" }, - }, - }, - }, - }, - }, - }, - }, - wrapper: true, - }, - }, - }, - }, - FailoverDBCluster: { - input: { - type: "structure", - members: { - DBClusterIdentifier: {}, - TargetDBInstanceIdentifier: {}, - }, - }, - output: { - resultWrapper: "FailoverDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceName"], - members: { ResourceName: {}, Filters: { shape: "S2j" } }, - }, - output: { - resultWrapper: "ListTagsForResourceResult", - type: "structure", - members: { TagList: { shape: "Sa" } }, - }, - }, - ModifyDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { - DBClusterIdentifier: {}, - NewDBClusterIdentifier: {}, - ApplyImmediately: { type: "boolean" }, - BackupRetentionPeriod: { type: "integer" }, - DBClusterParameterGroupName: {}, - VpcSecurityGroupIds: { shape: "Sw" }, - Port: { type: "integer" }, - MasterUserPassword: {}, - OptionGroupName: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - EnableIAMDatabaseAuthentication: { type: "boolean" }, - CloudwatchLogsExportConfiguration: { shape: "S4v" }, - EngineVersion: {}, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "ModifyDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - ModifyDBClusterParameterGroup: { - input: { - type: "structure", - required: ["DBClusterParameterGroupName", "Parameters"], - members: { - DBClusterParameterGroupName: {}, - Parameters: { shape: "S2q" }, - }, - }, - output: { - shape: "S4y", - resultWrapper: "ModifyDBClusterParameterGroupResult", - }, - }, - ModifyDBClusterSnapshotAttribute: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier", "AttributeName"], - members: { - DBClusterSnapshotIdentifier: {}, - AttributeName: {}, - ValuesToAdd: { shape: "S2y" }, - ValuesToRemove: { shape: "S2y" }, - }, - }, - output: { - resultWrapper: "ModifyDBClusterSnapshotAttributeResult", - type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S2v" } }, - }, - }, - ModifyDBInstance: { - input: { - type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - AllocatedStorage: { type: "integer" }, - DBInstanceClass: {}, - DBSubnetGroupName: {}, - DBSecurityGroups: { shape: "S1e" }, - VpcSecurityGroupIds: { shape: "Sw" }, - 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: { deprecated: true, type: "boolean" }, - MonitoringRoleArn: {}, - DomainIAMRoleName: {}, - PromotionTier: { type: "integer" }, - EnableIAMDatabaseAuthentication: { type: "boolean" }, - EnablePerformanceInsights: { type: "boolean" }, - PerformanceInsightsKMSKeyId: {}, - CloudwatchLogsExportConfiguration: { shape: "S4v" }, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "ModifyDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S1g" } }, - }, - }, - ModifyDBParameterGroup: { - input: { - type: "structure", - required: ["DBParameterGroupName", "Parameters"], - members: { - DBParameterGroupName: {}, - Parameters: { shape: "S2q" }, - }, - }, - output: { - shape: "S54", - resultWrapper: "ModifyDBParameterGroupResult", - }, - }, - ModifyDBSubnetGroup: { - input: { - type: "structure", - required: ["DBSubnetGroupName", "SubnetIds"], - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S23" }, - }, - }, - output: { - resultWrapper: "ModifyDBSubnetGroupResult", - type: "structure", - members: { DBSubnetGroup: { shape: "S1m" } }, - }, - }, - ModifyEventSubscription: { - input: { - type: "structure", - required: ["SubscriptionName"], - members: { - SubscriptionName: {}, - SnsTopicArn: {}, - SourceType: {}, - EventCategories: { shape: "S7" }, - Enabled: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "ModifyEventSubscriptionResult", - type: "structure", - members: { EventSubscription: { shape: "S5" } }, - }, - }, - PromoteReadReplicaDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { DBClusterIdentifier: {} }, - }, - output: { - resultWrapper: "PromoteReadReplicaDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - RebootDBInstance: { - input: { - type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - ForceFailover: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "RebootDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S1g" } }, - }, - }, - RemoveRoleFromDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier", "RoleArn"], - members: { DBClusterIdentifier: {}, RoleArn: {} }, - }, - }, - RemoveSourceIdentifierFromSubscription: { - input: { - type: "structure", - required: ["SubscriptionName", "SourceIdentifier"], - members: { SubscriptionName: {}, SourceIdentifier: {} }, - }, - output: { - resultWrapper: "RemoveSourceIdentifierFromSubscriptionResult", - type: "structure", - members: { EventSubscription: { shape: "S5" } }, - }, - }, - 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: "S2q" }, - }, - }, - output: { - shape: "S4y", - resultWrapper: "ResetDBClusterParameterGroupResult", - }, - }, - ResetDBParameterGroup: { - input: { - type: "structure", - required: ["DBParameterGroupName"], - members: { - DBParameterGroupName: {}, - ResetAllParameters: { type: "boolean" }, - Parameters: { shape: "S2q" }, - }, - }, - output: { - shape: "S54", - resultWrapper: "ResetDBParameterGroupResult", - }, - }, - RestoreDBClusterFromSnapshot: { - input: { - type: "structure", - required: ["DBClusterIdentifier", "SnapshotIdentifier", "Engine"], - members: { - AvailabilityZones: { shape: "Sp" }, - DBClusterIdentifier: {}, - SnapshotIdentifier: {}, - Engine: {}, - EngineVersion: {}, - Port: { type: "integer" }, - DBSubnetGroupName: {}, - DatabaseName: {}, - OptionGroupName: {}, - VpcSecurityGroupIds: { shape: "Sw" }, - Tags: { shape: "Sa" }, - KmsKeyId: {}, - EnableIAMDatabaseAuthentication: { type: "boolean" }, - EnableCloudwatchLogsExports: { shape: "Sx" }, - DBClusterParameterGroupName: {}, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "RestoreDBClusterFromSnapshotResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - RestoreDBClusterToPointInTime: { - input: { - type: "structure", - required: ["DBClusterIdentifier", "SourceDBClusterIdentifier"], - members: { - DBClusterIdentifier: {}, - RestoreType: {}, - SourceDBClusterIdentifier: {}, - RestoreToTime: { type: "timestamp" }, - UseLatestRestorableTime: { type: "boolean" }, - Port: { type: "integer" }, - DBSubnetGroupName: {}, - OptionGroupName: {}, - VpcSecurityGroupIds: { shape: "Sw" }, - Tags: { shape: "Sa" }, - KmsKeyId: {}, - EnableIAMDatabaseAuthentication: { type: "boolean" }, - EnableCloudwatchLogsExports: { shape: "Sx" }, - DBClusterParameterGroupName: {}, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "RestoreDBClusterToPointInTimeResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - StartDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { DBClusterIdentifier: {} }, - }, - output: { - resultWrapper: "StartDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - StopDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { DBClusterIdentifier: {} }, - }, - output: { - resultWrapper: "StopDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sz" } }, - }, - }, - }, - shapes: { - S5: { - type: "structure", - members: { - CustomerAwsId: {}, - CustSubscriptionId: {}, - SnsTopicArn: {}, - Status: {}, - SubscriptionCreationTime: {}, - SourceType: {}, - SourceIdsList: { shape: "S6" }, - EventCategoriesList: { shape: "S7" }, - Enabled: { type: "boolean" }, - EventSubscriptionArn: {}, - }, - wrapper: true, - }, - S6: { type: "list", member: { locationName: "SourceId" } }, - S7: { type: "list", member: { locationName: "EventCategory" } }, - Sa: { - type: "list", - member: { - locationName: "Tag", - type: "structure", - members: { Key: {}, Value: {} }, - }, - }, - Se: { - 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, - }, - Sk: { - type: "structure", - members: { - DBClusterParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - DBClusterParameterGroupArn: {}, - }, - wrapper: true, - }, - So: { - type: "structure", - members: { - AvailabilityZones: { shape: "Sp" }, - DBClusterSnapshotIdentifier: {}, - DBClusterIdentifier: {}, - SnapshotCreateTime: { type: "timestamp" }, - Engine: {}, - 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" }, - }, - wrapper: true, - }, - Sp: { type: "list", member: { locationName: "AvailabilityZone" } }, - St: { - type: "structure", - members: { - DBParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - DBParameterGroupArn: {}, - }, - wrapper: true, - }, - Sw: { type: "list", member: { locationName: "VpcSecurityGroupId" } }, - Sx: { type: "list", member: {} }, - Sz: { - type: "structure", - members: { - AllocatedStorage: { type: "integer" }, - AvailabilityZones: { shape: "Sp" }, - BackupRetentionPeriod: { type: "integer" }, - CharacterSetName: {}, - DatabaseName: {}, - DBClusterIdentifier: {}, - DBClusterParameterGroup: {}, - DBSubnetGroup: {}, - Status: {}, - PercentProgress: {}, - EarliestRestorableTime: { type: "timestamp" }, - Endpoint: {}, - ReaderEndpoint: {}, - 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: "S15" }, - HostedZoneId: {}, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - DbClusterResourceId: {}, - DBClusterArn: {}, - AssociatedRoles: { - type: "list", - member: { - locationName: "DBClusterRole", - type: "structure", - members: { RoleArn: {}, Status: {} }, - }, - }, - IAMDatabaseAuthenticationEnabled: { type: "boolean" }, - CloneGroupId: {}, - ClusterCreateTime: { type: "timestamp" }, - EnabledCloudwatchLogsExports: { shape: "Sx" }, - DeletionProtection: { type: "boolean" }, - }, - wrapper: true, - }, - S15: { - type: "list", - member: { - locationName: "VpcSecurityGroupMembership", - type: "structure", - members: { VpcSecurityGroupId: {}, Status: {} }, - }, - }, - S1e: { - type: "list", - member: { locationName: "DBSecurityGroupName" }, - }, - S1g: { - type: "structure", - members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - Engine: {}, - DBInstanceStatus: {}, - MasterUsername: {}, - DBName: {}, - Endpoint: { - type: "structure", - members: { - Address: {}, - Port: { type: "integer" }, - HostedZoneId: {}, - }, - }, - AllocatedStorage: { type: "integer" }, - InstanceCreateTime: { type: "timestamp" }, - PreferredBackupWindow: {}, - BackupRetentionPeriod: { type: "integer" }, - DBSecurityGroups: { - type: "list", - member: { - locationName: "DBSecurityGroup", - type: "structure", - members: { DBSecurityGroupName: {}, Status: {} }, - }, - }, - VpcSecurityGroups: { shape: "S15" }, - DBParameterGroups: { - type: "list", - member: { - locationName: "DBParameterGroup", - type: "structure", - members: { - DBParameterGroupName: {}, - ParameterApplyStatus: {}, - }, - }, - }, - AvailabilityZone: {}, - DBSubnetGroup: { shape: "S1m" }, - 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: "Sx" }, - LogTypesToDisable: { shape: "Sx" }, - }, - }, - }, - }, - LatestRestorableTime: { type: "timestamp" }, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - ReadReplicaSourceDBInstanceIdentifier: {}, - ReadReplicaDBInstanceIdentifiers: { - type: "list", - member: { locationName: "ReadReplicaDBInstanceIdentifier" }, - }, - ReadReplicaDBClusterIdentifiers: { - type: "list", - member: { locationName: "ReadReplicaDBClusterIdentifier" }, - }, - LicenseModel: {}, - Iops: { type: "integer" }, - OptionGroupMemberships: { - type: "list", - member: { - locationName: "OptionGroupMembership", - type: "structure", - members: { OptionGroupName: {}, Status: {} }, - }, - }, - CharacterSetName: {}, - SecondaryAvailabilityZone: {}, - PubliclyAccessible: { deprecated: true, 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: { - type: "list", - member: { - locationName: "DomainMembership", - type: "structure", - members: { - Domain: {}, - Status: {}, - FQDN: {}, - IAMRoleName: {}, - }, - }, - }, - CopyTagsToSnapshot: { type: "boolean" }, - MonitoringInterval: { type: "integer" }, - EnhancedMonitoringResourceArn: {}, - MonitoringRoleArn: {}, - PromotionTier: { type: "integer" }, - DBInstanceArn: {}, - Timezone: {}, - IAMDatabaseAuthenticationEnabled: { type: "boolean" }, - PerformanceInsightsEnabled: { type: "boolean" }, - PerformanceInsightsKMSKeyId: {}, - EnabledCloudwatchLogsExports: { shape: "Sx" }, - DeletionProtection: { type: "boolean" }, - }, - wrapper: true, - }, - S1m: { - type: "structure", - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - VpcId: {}, - SubnetGroupStatus: {}, - Subnets: { - type: "list", - member: { - locationName: "Subnet", - type: "structure", - members: { - SubnetIdentifier: {}, - SubnetAvailabilityZone: { shape: "S1p" }, - SubnetStatus: {}, - }, - }, - }, - DBSubnetGroupArn: {}, - }, - wrapper: true, - }, - S1p: { type: "structure", members: { Name: {} }, wrapper: true }, - S23: { type: "list", member: { locationName: "SubnetIdentifier" } }, - S2j: { - type: "list", - member: { - locationName: "Filter", - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { locationName: "Value" } }, - }, - }, - }, - S2q: { - type: "list", - member: { - locationName: "Parameter", - type: "structure", - members: { - ParameterName: {}, - ParameterValue: {}, - Description: {}, - Source: {}, - ApplyType: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: { type: "boolean" }, - MinimumEngineVersion: {}, - ApplyMethod: {}, - }, - }, - }, - S2v: { - type: "structure", - members: { - DBClusterSnapshotIdentifier: {}, - DBClusterSnapshotAttributes: { - type: "list", - member: { - locationName: "DBClusterSnapshotAttribute", - type: "structure", - members: { - AttributeName: {}, - AttributeValues: { shape: "S2y" }, - }, - }, - }, - }, - wrapper: true, - }, - S2y: { type: "list", member: { locationName: "AttributeValue" } }, - S39: { - type: "structure", - members: { CharacterSetName: {}, CharacterSetDescription: {} }, - }, - S3s: { - type: "structure", - members: { - DBParameterGroupFamily: {}, - Marker: {}, - Parameters: { shape: "S2q" }, - }, - wrapper: true, - }, - S4l: { - type: "list", - member: { - locationName: "Range", - type: "structure", - members: { - From: { type: "integer" }, - To: { type: "integer" }, - Step: { type: "integer" }, - }, - }, - }, - S4v: { - type: "structure", - members: { - EnableLogTypes: { shape: "Sx" }, - DisableLogTypes: { shape: "Sx" }, - }, - }, - S4y: { - type: "structure", - members: { DBClusterParameterGroupName: {} }, - }, - S54: { type: "structure", members: { DBParameterGroupName: {} } }, - }, - }; +function serializeHost(host) { + if (typeof host === "number") { + return serializeIPv4(host); + } - /***/ - }, + // IPv6 serializer + if (host instanceof Array) { + return "[" + serializeIPv6(host) + "]"; + } - /***/ 1413: /***/ function (module) { - module.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: true, - }, - }, - }, - }, - 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: true, - }, - }, - }, - }, - }, - 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: true, - }, - }, - 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: 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" }, - }, - }, - }, - 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: true, - }, - 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: true, - }, - Sk: { - type: "structure", - members: { - DBParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - }, - wrapper: true, - }, - 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: true, - }, - 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: true, - }, - 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: true, - }, - S1b: { - type: "structure", - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - VpcId: {}, - SubnetGroupStatus: {}, - Subnets: { - type: "list", - member: { - locationName: "Subnet", - type: "structure", - members: { - SubnetIdentifier: {}, - SubnetAvailabilityZone: { shape: "S1e" }, - SubnetStatus: {}, - }, - }, - }, - }, - wrapper: true, - }, - S1e: { type: "structure", members: { Name: {} }, wrapper: true }, - 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: true, - }, - S47: { - type: "list", - member: { - locationName: "RecurringCharge", - type: "structure", - members: { - RecurringChargeAmount: { type: "double" }, - RecurringChargeFrequency: {}, - }, - wrapper: true, - }, - }, - S4k: { type: "structure", members: { DBParameterGroupName: {} } }, - }, - }; + return host; +} - /***/ - }, +function trimControlChars(url) { + return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); +} - /***/ 1420: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["elbv2"] = {}; - AWS.ELBv2 = Service.defineService("elbv2", ["2015-12-01"]); - Object.defineProperty(apiLoader.services["elbv2"], "2015-12-01", { - get: function get() { - var model = __webpack_require__(9843); - model.paginators = __webpack_require__(956).pagination; - model.waiters = __webpack_require__(4303).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); +function trimTabAndNewline(url) { + return url.replace(/\u0009|\u000A|\u000D/g, ""); +} - module.exports = AWS.ELBv2; +function shortenPath(url) { + const path = url.path; + if (path.length === 0) { + return; + } + if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { + return; + } - /***/ - }, + path.pop(); +} + +function includesCredentials(url) { + return url.username !== "" || url.password !== ""; +} + +function cannotHaveAUsernamePasswordPort(url) { + return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; +} + +function isNormalizedWindowsDriveLetter(string) { + return /^[A-Za-z]:$/.test(string); +} + +function URLStateMachine(input, base, encodingOverride, url, stateOverride) { + this.pointer = 0; + this.input = input; + this.base = base || null; + this.encodingOverride = encodingOverride || "utf-8"; + this.stateOverride = stateOverride; + this.url = url; + this.failure = false; + this.parseError = false; + + if (!this.url) { + this.url = { + scheme: "", + username: "", + password: "", + host: null, + port: null, + path: [], + query: null, + fragment: null, + + cannotBeABaseURL: false + }; + + const res = trimControlChars(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + } - /***/ 1426: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-12-03", - endpointPrefix: "outposts", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Outposts", - serviceFullName: "AWS Outposts", - serviceId: "Outposts", - signatureVersion: "v4", - signingName: "outposts", - uid: "outposts-2019-12-03", - }, - operations: { - CreateOutpost: { - http: { requestUri: "/outposts" }, - input: { - type: "structure", - required: ["SiteId"], - members: { - Name: {}, - Description: {}, - SiteId: {}, - AvailabilityZone: {}, - AvailabilityZoneId: {}, - }, - }, - output: { - type: "structure", - members: { Outpost: { shape: "S8" } }, - }, - }, - DeleteOutpost: { - http: { method: "DELETE", requestUri: "/outposts/{OutpostId}" }, - input: { - type: "structure", - required: ["OutpostId"], - members: { - OutpostId: { location: "uri", locationName: "OutpostId" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteSite: { - http: { method: "DELETE", requestUri: "/sites/{SiteId}" }, - input: { - type: "structure", - required: ["SiteId"], - members: { SiteId: { location: "uri", locationName: "SiteId" } }, - }, - output: { type: "structure", members: {} }, - }, - GetOutpost: { - http: { method: "GET", requestUri: "/outposts/{OutpostId}" }, - input: { - type: "structure", - required: ["OutpostId"], - members: { - OutpostId: { location: "uri", locationName: "OutpostId" }, - }, - }, - output: { - type: "structure", - members: { Outpost: { shape: "S8" } }, - }, - }, - GetOutpostInstanceTypes: { - http: { - method: "GET", - requestUri: "/outposts/{OutpostId}/instanceTypes", - }, - input: { - type: "structure", - required: ["OutpostId"], - members: { - OutpostId: { location: "uri", locationName: "OutpostId" }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - InstanceTypes: { - type: "list", - member: { type: "structure", members: { InstanceType: {} } }, - }, - NextToken: {}, - OutpostId: {}, - OutpostArn: {}, - }, - }, - }, - ListOutposts: { - http: { method: "GET", requestUri: "/outposts" }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - Outposts: { type: "list", member: { shape: "S8" } }, - NextToken: {}, - }, - }, - }, - ListSites: { - http: { method: "GET", requestUri: "/sites" }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - Sites: { - type: "list", - member: { - type: "structure", - members: { - SiteId: {}, - AccountId: {}, - Name: {}, - Description: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - }, - shapes: { - S8: { - type: "structure", - members: { - OutpostId: {}, - OwnerId: {}, - OutpostArn: {}, - SiteId: {}, - Name: {}, - Description: {}, - LifeCycleStatus: {}, - AvailabilityZone: {}, - AvailabilityZoneId: {}, - }, - }, - }, - }; + const res = trimTabAndNewline(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; - /***/ - }, + this.state = stateOverride || "scheme start"; - /***/ 1429: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["eks"] = {}; - AWS.EKS = Service.defineService("eks", ["2017-11-01"]); - Object.defineProperty(apiLoader.services["eks"], "2017-11-01", { - get: function get() { - var model = __webpack_require__(3370); - model.paginators = __webpack_require__(6823).pagination; - model.waiters = __webpack_require__(912).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); + this.buffer = ""; + this.atFlag = false; + this.arrFlag = false; + this.passwordTokenSeenFlag = false; - module.exports = AWS.EKS; + this.input = punycode.ucs2.decode(this.input); - /***/ - }, + for (; this.pointer <= this.input.length; ++this.pointer) { + const c = this.input[this.pointer]; + const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); - /***/ 1437: /***/ function (module) { - module.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", - }, - ], - }, - }, - }; + // exec state machine + const ret = this["parse " + this.state](c, cStr); + if (!ret) { + break; // terminate algorithm + } else if (ret === failure) { + this.failure = true; + break; + } + } +} + +URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { + if (isASCIIAlpha(c)) { + this.buffer += cStr.toLowerCase(); + this.state = "scheme"; + } else if (!this.stateOverride) { + this.state = "no scheme"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } - /***/ - }, + return true; +}; - /***/ 1455: /***/ function (module) { - module.exports = { - pagination: { - ListCertificateAuthorities: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "CertificateAuthorities", - }, - ListPermissions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "Permissions", - }, - ListTags: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "Tags", - }, - }, - }; +URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { + if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { + this.buffer += cStr.toLowerCase(); + } else if (c === 58) { + if (this.stateOverride) { + if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { + return false; + } - /***/ - }, + if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { + return false; + } - /***/ 1459: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2013-11-01", - endpointPrefix: "cloudtrail", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "CloudTrail", - serviceFullName: "AWS CloudTrail", - serviceId: "CloudTrail", - signatureVersion: "v4", - targetPrefix: - "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101", - uid: "cloudtrail-2013-11-01", - }, - operations: { - AddTags: { - input: { - type: "structure", - required: ["ResourceId"], - members: { ResourceId: {}, TagsList: { shape: "S3" } }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - CreateTrail: { - input: { - type: "structure", - required: ["Name", "S3BucketName"], - members: { - Name: {}, - S3BucketName: {}, - S3KeyPrefix: {}, - SnsTopicName: {}, - IncludeGlobalServiceEvents: { type: "boolean" }, - IsMultiRegionTrail: { type: "boolean" }, - EnableLogFileValidation: { type: "boolean" }, - CloudWatchLogsLogGroupArn: {}, - CloudWatchLogsRoleArn: {}, - KmsKeyId: {}, - IsOrganizationTrail: { type: "boolean" }, - TagsList: { shape: "S3" }, - }, - }, - output: { - type: "structure", - members: { - Name: {}, - S3BucketName: {}, - S3KeyPrefix: {}, - SnsTopicName: { deprecated: true }, - SnsTopicARN: {}, - IncludeGlobalServiceEvents: { type: "boolean" }, - IsMultiRegionTrail: { type: "boolean" }, - TrailARN: {}, - LogFileValidationEnabled: { type: "boolean" }, - CloudWatchLogsLogGroupArn: {}, - CloudWatchLogsRoleArn: {}, - KmsKeyId: {}, - IsOrganizationTrail: { type: "boolean" }, - }, - }, - idempotent: true, - }, - DeleteTrail: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DescribeTrails: { - input: { - type: "structure", - members: { - trailNameList: { type: "list", member: {} }, - includeShadowTrails: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { trailList: { type: "list", member: { shape: "Sf" } } }, - }, - idempotent: true, - }, - GetEventSelectors: { - input: { - type: "structure", - required: ["TrailName"], - members: { TrailName: {} }, - }, - output: { - type: "structure", - members: { TrailARN: {}, EventSelectors: { shape: "Si" } }, - }, - idempotent: true, - }, - GetInsightSelectors: { - input: { - type: "structure", - required: ["TrailName"], - members: { TrailName: {} }, - }, - output: { - type: "structure", - members: { TrailARN: {}, InsightSelectors: { shape: "Sr" } }, - }, - idempotent: true, - }, - GetTrail: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: { Trail: { shape: "Sf" } } }, - idempotent: true, - }, - GetTrailStatus: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { - type: "structure", - members: { - IsLogging: { type: "boolean" }, - LatestDeliveryError: {}, - LatestNotificationError: {}, - LatestDeliveryTime: { type: "timestamp" }, - LatestNotificationTime: { type: "timestamp" }, - StartLoggingTime: { type: "timestamp" }, - StopLoggingTime: { type: "timestamp" }, - LatestCloudWatchLogsDeliveryError: {}, - LatestCloudWatchLogsDeliveryTime: { type: "timestamp" }, - LatestDigestDeliveryTime: { type: "timestamp" }, - LatestDigestDeliveryError: {}, - LatestDeliveryAttemptTime: {}, - LatestNotificationAttemptTime: {}, - LatestNotificationAttemptSucceeded: {}, - LatestDeliveryAttemptSucceeded: {}, - TimeLoggingStarted: {}, - TimeLoggingStopped: {}, - }, - }, - idempotent: true, - }, - ListPublicKeys: { - input: { - type: "structure", - members: { - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - PublicKeyList: { - type: "list", - member: { - type: "structure", - members: { - Value: { type: "blob" }, - ValidityStartTime: { type: "timestamp" }, - ValidityEndTime: { type: "timestamp" }, - Fingerprint: {}, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListTags: { - input: { - type: "structure", - required: ["ResourceIdList"], - members: { - ResourceIdList: { type: "list", member: {} }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - ResourceTagList: { - type: "list", - member: { - type: "structure", - members: { ResourceId: {}, TagsList: { shape: "S3" } }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListTrails: { - input: { type: "structure", members: { NextToken: {} } }, - output: { - type: "structure", - members: { - Trails: { - type: "list", - member: { - type: "structure", - members: { TrailARN: {}, Name: {}, HomeRegion: {} }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - LookupEvents: { - input: { - type: "structure", - members: { - LookupAttributes: { - type: "list", - member: { - type: "structure", - required: ["AttributeKey", "AttributeValue"], - members: { AttributeKey: {}, AttributeValue: {} }, - }, - }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - EventCategory: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - Events: { - type: "list", - member: { - type: "structure", - members: { - EventId: {}, - EventName: {}, - ReadOnly: {}, - AccessKeyId: {}, - EventTime: { type: "timestamp" }, - EventSource: {}, - Username: {}, - Resources: { - type: "list", - member: { - type: "structure", - members: { ResourceType: {}, ResourceName: {} }, - }, - }, - CloudTrailEvent: {}, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - PutEventSelectors: { - input: { - type: "structure", - required: ["TrailName", "EventSelectors"], - members: { TrailName: {}, EventSelectors: { shape: "Si" } }, - }, - output: { - type: "structure", - members: { TrailARN: {}, EventSelectors: { shape: "Si" } }, - }, - idempotent: true, - }, - PutInsightSelectors: { - input: { - type: "structure", - required: ["TrailName", "InsightSelectors"], - members: { TrailName: {}, InsightSelectors: { shape: "Sr" } }, - }, - output: { - type: "structure", - members: { TrailARN: {}, InsightSelectors: { shape: "Sr" } }, - }, - idempotent: true, - }, - RemoveTags: { - input: { - type: "structure", - required: ["ResourceId"], - members: { ResourceId: {}, TagsList: { shape: "S3" } }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - StartLogging: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - StopLogging: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - UpdateTrail: { - input: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - S3BucketName: {}, - S3KeyPrefix: {}, - SnsTopicName: {}, - IncludeGlobalServiceEvents: { type: "boolean" }, - IsMultiRegionTrail: { type: "boolean" }, - EnableLogFileValidation: { type: "boolean" }, - CloudWatchLogsLogGroupArn: {}, - CloudWatchLogsRoleArn: {}, - KmsKeyId: {}, - IsOrganizationTrail: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Name: {}, - S3BucketName: {}, - S3KeyPrefix: {}, - SnsTopicName: { deprecated: true }, - SnsTopicARN: {}, - IncludeGlobalServiceEvents: { type: "boolean" }, - IsMultiRegionTrail: { type: "boolean" }, - TrailARN: {}, - LogFileValidationEnabled: { type: "boolean" }, - CloudWatchLogsLogGroupArn: {}, - CloudWatchLogsRoleArn: {}, - KmsKeyId: {}, - IsOrganizationTrail: { type: "boolean" }, - }, - }, - idempotent: true, - }, - }, - shapes: { - S3: { - type: "list", - member: { - type: "structure", - required: ["Key"], - members: { Key: {}, Value: {} }, - }, - }, - Sf: { - type: "structure", - members: { - Name: {}, - S3BucketName: {}, - S3KeyPrefix: {}, - SnsTopicName: { deprecated: true }, - SnsTopicARN: {}, - IncludeGlobalServiceEvents: { type: "boolean" }, - IsMultiRegionTrail: { type: "boolean" }, - HomeRegion: {}, - TrailARN: {}, - LogFileValidationEnabled: { type: "boolean" }, - CloudWatchLogsLogGroupArn: {}, - CloudWatchLogsRoleArn: {}, - KmsKeyId: {}, - HasCustomEventSelectors: { type: "boolean" }, - HasInsightSelectors: { type: "boolean" }, - IsOrganizationTrail: { type: "boolean" }, - }, - }, - Si: { - type: "list", - member: { - type: "structure", - members: { - ReadWriteType: {}, - IncludeManagementEvents: { type: "boolean" }, - DataResources: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Values: { type: "list", member: {} } }, - }, - }, - ExcludeManagementEventSources: { type: "list", member: {} }, - }, - }, - }, - Sr: { - type: "list", - member: { type: "structure", members: { InsightType: {} } }, - }, - }, - }; + if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { + return false; + } - /***/ - }, + if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { + return false; + } + } + this.url.scheme = this.buffer; + this.buffer = ""; + if (this.stateOverride) { + return false; + } + if (this.url.scheme === "file") { + if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { + this.parseError = true; + } + this.state = "file"; + } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { + this.state = "special relative or authority"; + } else if (isSpecial(this.url)) { + this.state = "special authority slashes"; + } else if (this.input[this.pointer + 1] === 47) { + this.state = "path or authority"; + ++this.pointer; + } else { + this.url.cannotBeABaseURL = true; + this.url.path.push(""); + this.state = "cannot-be-a-base-URL path"; + } + } else if (!this.stateOverride) { + this.buffer = ""; + this.state = "no scheme"; + this.pointer = -1; + } else { + this.parseError = true; + return failure; + } - /***/ 1469: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - var __importStar = - (this && this.__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; - }; - Object.defineProperty(exports, "__esModule", { value: true }); - // Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts - const graphql_1 = __webpack_require__(4898); - const rest_1 = __webpack_require__(0); - const Context = __importStar(__webpack_require__(7262)); - const httpClient = __importStar(__webpack_require__(6539)); - // We need this in order to extend Octokit - rest_1.Octokit.prototype = new rest_1.Octokit(); - exports.context = new Context.Context(); - class GitHub extends rest_1.Octokit { - constructor(token, opts) { - super(GitHub.getOctokitOptions(GitHub.disambiguate(token, opts))); - this.graphql = GitHub.getGraphQL(GitHub.disambiguate(token, opts)); - } - /** - * Disambiguates the constructor overload parameters - */ - static disambiguate(token, opts) { - return [ - typeof token === "string" ? token : "", - typeof token === "object" ? token : opts || {}, - ]; - } - static getOctokitOptions(args) { - const token = args[0]; - const options = Object.assign({}, args[1]); // Shallow clone - don't mutate the object provided by the caller - // Auth - const auth = GitHub.getAuthString(token, options); - if (auth) { - options.auth = auth; - } - // Proxy - const agent = GitHub.getProxyAgent(options); - if (agent) { - // Shallow clone - don't mutate the object provided by the caller - options.request = options.request - ? Object.assign({}, options.request) - : {}; - // Set the agent - options.request.agent = agent; - } - return options; - } - static getGraphQL(args) { - const defaults = {}; - const token = args[0]; - const options = args[1]; - // Authorization - const auth = this.getAuthString(token, options); - if (auth) { - defaults.headers = { - authorization: auth, - }; - } - // Proxy - const agent = GitHub.getProxyAgent(options); - if (agent) { - defaults.request = { agent }; - } - return graphql_1.graphql.defaults(defaults); - } - static getAuthString(token, options) { - // Validate args - if (!token && !options.auth) { - throw new Error("Parameter token or opts.auth is required"); - } else if (token && options.auth) { - throw new Error( - "Parameters token and opts.auth may not both be specified" - ); - } - return typeof options.auth === "string" - ? options.auth - : `token ${token}`; - } - static getProxyAgent(options) { - var _a; - if ( - !((_a = options.request) === null || _a === void 0 - ? void 0 - : _a.agent) - ) { - const serverUrl = "https://api.github.com"; - if (httpClient.getProxyUrl(serverUrl)) { - const hc = new httpClient.HttpClient(); - return hc.getAgent(serverUrl); - } - } - return undefined; - } + return true; +}; + +URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { + return failure; + } else if (this.base.cannotBeABaseURL && c === 35) { + this.url.scheme = this.base.scheme; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.url.cannotBeABaseURL = true; + this.state = "fragment"; + } else if (this.base.scheme === "file") { + this.state = "file"; + --this.pointer; + } else { + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { + if (c === 47) { + this.state = "authority"; + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + this.url.scheme = this.base.scheme; + if (isNaN(c)) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 47) { + this.state = "relative slash"; + } else if (c === 63) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else if (isSpecial(this.url) && c === 92) { + this.parseError = true; + this.state = "relative slash"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(0, this.base.path.length - 1); + + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { + if (isSpecial(this.url) && (c === 47 || c === 92)) { + if (c === 92) { + this.parseError = true; + } + this.state = "special authority ignore slashes"; + } else if (c === 47) { + this.state = "authority"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "special authority ignore slashes"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = "authority"; + --this.pointer; + } else { + this.parseError = true; + } + + return true; +}; + +URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { + if (c === 64) { + this.parseError = true; + if (this.atFlag) { + this.buffer = "%40" + this.buffer; + } + this.atFlag = true; + + // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars + const len = countSymbols(this.buffer); + for (let pointer = 0; pointer < len; ++pointer) { + const codePoint = this.buffer.codePointAt(pointer); + + if (codePoint === 58 && !this.passwordTokenSeenFlag) { + this.passwordTokenSeenFlag = true; + continue; + } + const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); + if (this.passwordTokenSeenFlag) { + this.url.password += encodedCodePoints; + } else { + this.url.username += encodedCodePoints; + } + } + this.buffer = ""; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + if (this.atFlag && this.buffer === "") { + this.parseError = true; + return failure; + } + this.pointer -= countSymbols(this.buffer) + 1; + this.buffer = ""; + this.state = "host"; + } else { + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse hostname"] = +URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === "file") { + --this.pointer; + this.state = "file host"; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === "") { + this.parseError = true; + return failure; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "port"; + if (this.stateOverride === "hostname") { + return false; + } + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === "") { + this.parseError = true; + return failure; + } else if (this.stateOverride && this.buffer === "" && + (includesCredentials(this.url) || this.url.port !== null)) { + this.parseError = true; + return false; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "path start"; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + if (isASCIIDigit(c)) { + this.buffer += cStr; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride) { + if (this.buffer !== "") { + const port = parseInt(this.buffer); + if (port > Math.pow(2, 16) - 1) { + this.parseError = true; + return failure; + } + this.url.port = port === defaultPort(this.url.scheme) ? null : port; + this.buffer = ""; + } + if (this.stateOverride) { + return false; + } + this.state = "path start"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + +URLStateMachine.prototype["parse file"] = function parseFile(c) { + this.url.scheme = "file"; + + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file slash"; + } else if (this.base !== null && this.base.scheme === "file") { + if (isNaN(c)) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 63) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else { + if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points + !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + shortenPath(this.url); + } else { + this.parseError = true; } - exports.GitHub = GitHub; - //# sourceMappingURL=github.js.map - /***/ - }, + this.state = "path"; + --this.pointer; + } + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file host"; + } else { + if (this.base !== null && this.base.scheme === "file") { + if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { + this.url.path.push(this.base.path[0]); + } else { + this.url.host = this.base.host; + } + } + this.state = "path"; + --this.pointer; + } - /***/ 1471: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = authenticationBeforeRequest; + return true; +}; + +URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { + if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { + --this.pointer; + if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { + this.parseError = true; + this.state = "path"; + } else if (this.buffer === "") { + this.url.host = ""; + if (this.stateOverride) { + return false; + } + this.state = "path start"; + } else { + let host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + if (host === "localhost") { + host = ""; + } + this.url.host = host; - const btoa = __webpack_require__(4675); - const uniq = __webpack_require__(126); + if (this.stateOverride) { + return false; + } - function authenticationBeforeRequest(state, options) { - if (!state.auth.type) { - return; - } + this.buffer = ""; + this.state = "path start"; + } + } else { + this.buffer += cStr; + } - if (state.auth.type === "basic") { - const hash = btoa(`${state.auth.username}:${state.auth.password}`); - options.headers.authorization = `Basic ${hash}`; - return; - } + return true; +}; + +URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { + if (isSpecial(this.url)) { + if (c === 92) { + this.parseError = true; + } + this.state = "path"; + + if (c !== 47 && c !== 92) { + --this.pointer; + } + } else if (!this.stateOverride && c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (!this.stateOverride && c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else if (c !== undefined) { + this.state = "path"; + if (c !== 47) { + --this.pointer; + } + } - if (state.auth.type === "token") { - options.headers.authorization = `token ${state.auth.token}`; - return; - } + return true; +}; + +URLStateMachine.prototype["parse path"] = function parsePath(c) { + if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35))) { + if (isSpecial(this.url) && c === 92) { + this.parseError = true; + } + + if (isDoubleDot(this.buffer)) { + shortenPath(this.url); + if (c !== 47 && !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } + } else if (isSingleDot(this.buffer) && c !== 47 && + !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } else if (!isSingleDot(this.buffer)) { + if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { + if (this.url.host !== "" && this.url.host !== null) { + this.parseError = true; + this.url.host = ""; + } + this.buffer = this.buffer[0] + ":"; + } + this.url.path.push(this.buffer); + } + this.buffer = ""; + if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { + while (this.url.path.length > 1 && this.url.path[0] === "") { + this.parseError = true; + this.url.path.shift(); + } + } + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += percentEncodeChar(c, isPathPercentEncode); + } - if (state.auth.type === "app") { - options.headers.authorization = `Bearer ${state.auth.token}`; - const acceptHeaders = options.headers.accept - .split(",") - .concat("application/vnd.github.machine-man-preview+json"); - options.headers.accept = uniq(acceptHeaders) - .filter(Boolean) - .join(","); - return; - } + return true; +}; + +URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else { + // TODO: Add: not a URL code point + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + if (!isNaN(c)) { + this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } + } - options.url += options.url.indexOf("?") === -1 ? "?" : "&"; + return true; +}; - if (state.auth.token) { - options.url += `access_token=${encodeURIComponent(state.auth.token)}`; - return; - } +URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { + this.encodingOverride = "utf-8"; + } + + const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead + for (let i = 0; i < buffer.length; ++i) { + if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || + buffer[i] === 0x3C || buffer[i] === 0x3E) { + this.url.query += percentEncode(buffer[i]); + } else { + this.url.query += String.fromCodePoint(buffer[i]); + } + } + + this.buffer = ""; + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + if (isNaN(c)) { // do nothing + } else if (c === 0x0) { + this.parseError = true; + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); + } + + return true; +}; - const key = encodeURIComponent(state.auth.key); - const secret = encodeURIComponent(state.auth.secret); - options.url += `client_id=${key}&client_secret=${secret}`; +function serializeURL(url, excludeFragment) { + let output = url.scheme + ":"; + if (url.host !== null) { + output += "//"; + + if (url.username !== "" || url.password !== "") { + output += url.username; + if (url.password !== "") { + output += ":" + url.password; } + output += "@"; + } - /***/ - }, + output += serializeHost(url.host); - /***/ 1479: /***/ function (module) { - module.exports = { - pagination: { - GetCurrentMetricData: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetMetricData: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListContactFlows: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "ContactFlowSummaryList", - }, - ListHoursOfOperations: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "HoursOfOperationSummaryList", - }, - ListPhoneNumbers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "PhoneNumberSummaryList", - }, - ListQueues: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "QueueSummaryList", - }, - ListRoutingProfiles: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "RoutingProfileSummaryList", - }, - ListSecurityProfiles: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "SecurityProfileSummaryList", - }, - 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", - }, - }, - }; + if (url.port !== null) { + output += ":" + url.port; + } + } else if (url.host === null && url.scheme === "file") { + output += "//"; + } - /***/ - }, + if (url.cannotBeABaseURL) { + output += url.path[0]; + } else { + for (const string of url.path) { + output += "/" + string; + } + } - /***/ 1489: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.S3Control.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("afterBuild", this.prependAccountId); - request.addListener("extractError", this.extractHostId); - request.addListener("extractData", this.extractHostId); - request.addListener("validate", this.validateAccountId); - }, - - /** - * @api private - */ - prependAccountId: function (request) { - var api = request.service.api; - var operationModel = api.operations[request.operation]; - var inputModel = operationModel.input; - var params = request.params; - if (inputModel.members.AccountId && params.AccountId) { - //customization needed - var accountId = params.AccountId; - var endpoint = request.httpRequest.endpoint; - var newHostname = String(accountId) + "." + endpoint.hostname; - endpoint.hostname = newHostname; - request.httpRequest.headers.Host = newHostname; - delete request.httpRequest.headers["x-amz-account-id"]; - } - }, + if (url.query !== null) { + output += "?" + url.query; + } - /** - * @api private - */ - extractHostId: function (response) { - var hostId = response.httpResponse.headers - ? response.httpResponse.headers["x-amz-id-2"] - : null; - response.extendedRequestId = hostId; - if (response.error) { - response.error.extendedRequestId = hostId; - } - }, + if (!excludeFragment && url.fragment !== null) { + output += "#" + url.fragment; + } - /** - * @api private - */ - validateAccountId: function (request) { - var params = request.params; - if (!Object.prototype.hasOwnProperty.call(params, "AccountId")) - return; - var accountId = params.AccountId; - //validate type - if (typeof accountId !== "string") { - throw AWS.util.error(new Error(), { - code: "ValidationError", - message: "AccountId must be a string.", - }); - } - //validate length - if (accountId.length < 1 || accountId.length > 63) { - throw AWS.util.error(new Error(), { - code: "ValidationError", - message: - "AccountId length should be between 1 to 63 characters, inclusive.", - }); - } - //validate pattern - var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/; - if (!hostPattern.test(accountId)) { - throw AWS.util.error(new Error(), { - code: "ValidationError", - message: - "AccountId should be hostname compatible. AccountId: " + - accountId, - }); - } - }, - }); + return output; +} - /***/ - }, +function serializeOrigin(tuple) { + let result = tuple.scheme + "://"; + result += serializeHost(tuple.host); - /***/ 1511: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - InstanceExists: { - delay: 5, - maxAttempts: 40, - operation: "DescribeInstances", - acceptors: [ - { - matcher: "path", - expected: true, - argument: "length(Reservations[]) > `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: true, - 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", - }, - ], - }, - KeyPairExists: { - operation: "DescribeKeyPairs", - delay: 5, - maxAttempts: 6, - acceptors: [ - { - expected: true, - 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: true, - }, - ], - }, - SnapshotCompleted: { - delay: 15, - operation: "DescribeSnapshots", - maxAttempts: 40, - acceptors: [ - { - expected: "completed", - matcher: "pathAll", - state: "success", - argument: "Snapshots[].State", - }, - ], - }, - SecurityGroupExists: { - operation: "DescribeSecurityGroups", - delay: 5, - maxAttempts: 6, - acceptors: [ - { - expected: true, - matcher: "path", - state: "success", - argument: "length(SecurityGroups[].GroupId) > `0`", - }, - { - expected: "InvalidGroupNotFound", - 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", - }, - ], - }, - }, - }; + if (tuple.port !== null) { + result += ":" + tuple.port; + } - /***/ - }, + return result; +} - /***/ 1514: /***/ function (__unusedmodule, exports) { - // Generated by CoffeeScript 1.12.7 - (function () { - exports.defaults = { - "0.1": { - explicitCharkey: false, - trim: true, - normalize: true, - normalizeTags: false, - attrkey: "@", - charkey: "#", - explicitArray: false, - ignoreAttrs: false, - mergeAttrs: false, - explicitRoot: false, - validator: null, - xmlns: false, - explicitChildren: false, - childkey: "@@", - charsAsChildren: false, - includeWhiteChars: false, - async: false, - strict: true, - attrNameProcessors: null, - attrValueProcessors: null, - tagNameProcessors: null, - valueProcessors: null, - emptyTag: "", - }, - "0.2": { - explicitCharkey: false, - trim: false, - normalize: false, - normalizeTags: false, - attrkey: "$", - charkey: "_", - explicitArray: true, - ignoreAttrs: false, - mergeAttrs: false, - explicitRoot: true, - validator: null, - xmlns: false, - explicitChildren: false, - preserveChildrenOrder: false, - childkey: "$$", - charsAsChildren: false, - includeWhiteChars: false, - async: false, - strict: true, - attrNameProcessors: null, - attrValueProcessors: null, - tagNameProcessors: null, - valueProcessors: null, - rootName: "root", - xmldec: { - version: "1.0", - encoding: "UTF-8", - standalone: true, - }, - doctype: null, - renderOpts: { - pretty: true, - indent: " ", - newline: "\n", - }, - headless: false, - chunkSize: 10000, - emptyTag: "", - cdata: false, - }, - }; - }.call(this)); +module.exports.serializeURL = serializeURL; - /***/ - }, +module.exports.serializeURLOrigin = function (url) { + // https://url.spec.whatwg.org/#concept-url-origin + switch (url.scheme) { + case "blob": + try { + return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); + } catch (e) { + // serializing an opaque origin returns "null" + return "null"; + } + case "ftp": + case "gopher": + case "http": + case "https": + case "ws": + case "wss": + return serializeOrigin({ + scheme: url.scheme, + host: url.host, + port: url.port + }); + case "file": + // spec says "exercise to the reader", chrome says "file://" + return "file://"; + default: + // serializing an opaque origin returns "null" + return "null"; + } +}; - /***/ 1520: /***/ function (module) { - module.exports = { - pagination: { - ListCloudFrontOriginAccessIdentities: { - input_token: "Marker", - output_token: "CloudFrontOriginAccessIdentityList.NextMarker", - limit_key: "MaxItems", - more_results: "CloudFrontOriginAccessIdentityList.IsTruncated", - result_key: "CloudFrontOriginAccessIdentityList.Items", - }, - ListDistributions: { - input_token: "Marker", - output_token: "DistributionList.NextMarker", - limit_key: "MaxItems", - more_results: "DistributionList.IsTruncated", - result_key: "DistributionList.Items", - }, - ListInvalidations: { - input_token: "Marker", - output_token: "InvalidationList.NextMarker", - limit_key: "MaxItems", - more_results: "InvalidationList.IsTruncated", - result_key: "InvalidationList.Items", - }, - ListStreamingDistributions: { - input_token: "Marker", - output_token: "StreamingDistributionList.NextMarker", - limit_key: "MaxItems", - more_results: "StreamingDistributionList.IsTruncated", - result_key: "StreamingDistributionList.Items", - }, - }, - }; +module.exports.basicURLParse = function (input, options) { + if (options === undefined) { + options = {}; + } - /***/ - }, + const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); + if (usm.failure) { + return "failure"; + } - /***/ 1527: /***/ function (module) { - module.exports = { - pagination: { - ListGraphs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListInvitations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; + return usm.url; +}; - /***/ - }, +module.exports.setTheUsername = function (url, username) { + url.username = ""; + const decoded = punycode.ucs2.decode(username); + for (let i = 0; i < decoded.length; ++i) { + url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; - /***/ 1529: /***/ function (module) { - module.exports = { pagination: {} }; +module.exports.setThePassword = function (url, password) { + url.password = ""; + const decoded = punycode.ucs2.decode(password); + for (let i = 0; i < decoded.length; ++i) { + url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; - /***/ - }, +module.exports.serializeHost = serializeHost; - /***/ 1530: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["computeoptimizer"] = {}; - AWS.ComputeOptimizer = Service.defineService("computeoptimizer", [ - "2019-11-01", - ]); - Object.defineProperty( - apiLoader.services["computeoptimizer"], - "2019-11-01", - { - get: function get() { - var model = __webpack_require__(3165); - model.paginators = __webpack_require__(9693).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; - module.exports = AWS.ComputeOptimizer; +module.exports.serializeInteger = function (integer) { + return String(integer); +}; - /***/ - }, +module.exports.parseURL = function (input, options) { + if (options === undefined) { + options = {}; + } - /***/ 1531: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - __webpack_require__(4281); + // We don't handle blobs, so this just delegates: + return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); +}; + + +/***/ }), + +/***/ 858: +/***/ (function(module) { + +module.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":{}}}}; + +/***/ }), + +/***/ 872: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +/** + * Represents credentials from the environment. + * + * By default, this class will look for the matching environment variables + * prefixed by a given {envPrefix}. The un-prefixed environment variable names + * for each credential value is listed below: + * + * ```javascript + * accessKeyId: ACCESS_KEY_ID + * secretAccessKey: SECRET_ACCESS_KEY + * sessionToken: SESSION_TOKEN + * ``` + * + * With the default prefix of 'AWS', the environment variables would be: + * + * AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN + * + * @!attribute envPrefix + * @readonly + * @return [String] the prefix for the environment variable names excluding + * the separating underscore ('_'). + */ +AWS.EnvironmentCredentials = AWS.util.inherit(AWS.Credentials, { + + /** + * Creates a new EnvironmentCredentials class with a given variable + * prefix {envPrefix}. For example, to load credentials using the 'AWS' + * prefix: + * + * ```javascript + * var creds = new AWS.EnvironmentCredentials('AWS'); + * creds.accessKeyId == 'AKID' // from AWS_ACCESS_KEY_ID env var + * ``` + * + * @param envPrefix [String] the prefix to use (e.g., 'AWS') for environment + * variables. Do not include the separating underscore. + */ + constructor: function EnvironmentCredentials(envPrefix) { + AWS.Credentials.call(this); + this.envPrefix = envPrefix; + this.get(function() {}); + }, + + /** + * Loads credentials from the environment using the prefixed + * environment variables. + * + * @callback callback function(err) + * Called after the (prefixed) ACCESS_KEY_ID, SECRET_ACCESS_KEY, and + * SESSION_TOKEN environment variables are read. When this callback is + * called with no error, it means that the credentials information has + * been loaded into the object (as the `accessKeyId`, `secretAccessKey`, + * and `sessionToken` properties). + * @param err [Error] if an error occurred, this value will be filled + * @see get + */ + refresh: function refresh(callback) { + if (!callback) callback = AWS.util.fn.callback; + + if (!process || !process.env) { + callback(AWS.util.error( + new Error('No process info or environment variables available'), + { code: 'EnvironmentCredentialsProviderFailure' } + )); + return; + } + + var keys = ['ACCESS_KEY_ID', 'SECRET_ACCESS_KEY', 'SESSION_TOKEN']; + var values = []; + + for (var i = 0; i < keys.length; i++) { + var prefix = ''; + if (this.envPrefix) prefix = this.envPrefix + '_'; + values[i] = process.env[prefix + keys[i]]; + if (!values[i] && keys[i] !== 'SESSION_TOKEN') { + callback(AWS.util.error( + new Error('Variable ' + prefix + keys[i] + ' not set.'), + { code: 'EnvironmentCredentialsProviderFailure' } + )); + return; + } + } + + this.expired = false; + AWS.Credentials.apply(this, values); + callback(); + } - /***/ - }, +}); + + +/***/ }), + +/***/ 877: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['cloud9'] = {}; +AWS.Cloud9 = Service.defineService('cloud9', ['2017-09-23']); +Object.defineProperty(apiLoader.services['cloud9'], '2017-09-23', { + get: function get() { + var model = __webpack_require__(8656); + model.paginators = __webpack_require__(590).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.Cloud9; + + +/***/ }), + +/***/ 887: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-10-07","endpointPrefix":"events","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon EventBridge","serviceId":"EventBridge","signatureVersion":"v4","targetPrefix":"AWSEvents","uid":"eventbridge-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":{}}}},"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"}}}},"CreateEventBus":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"EventSourceName":{},"Tags":{"shape":"Sm"}}},"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":{}}}},"DeleteArchive":{"input":{"type":"structure","required":["ArchiveName"],"members":{"ArchiveName":{}}},"output":{"type":"structure","members":{}}},"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"}}}},"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"}}}},"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":"S1h"},"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":{}}}},"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":{}}}},"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":"Sm"}}}},"ListTargetsByRule":{"input":{"type":"structure","required":["Rule"],"members":{"Rule":{},"EventBusName":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"Targets":{"shape":"S2y"},"NextToken":{}}}},"PutEvents":{"input":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","members":{"Time":{"type":"timestamp"},"Source":{},"Resources":{"shape":"S4g"},"DetailType":{},"Detail":{},"EventBusName":{}}}}}},"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":"S4g"},"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":"Sm"},"EventBusName":{}}},"output":{"type":"structure","members":{"RuleArn":{}}}},"PutTargets":{"input":{"type":"structure","required":["Rule","Targets"],"members":{"Rule":{},"EventBusName":{},"Targets":{"shape":"S2y"}}},"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":"S1h"}}},"output":{"type":"structure","members":{"ReplayArn":{},"State":{},"StateReason":{},"ReplayStartTime":{"type":"timestamp"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"Sm"}}},"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":{}}},"UpdateArchive":{"input":{"type":"structure","required":["ArchiveName"],"members":{"ArchiveName":{},"Description":{},"EventPattern":{},"RetentionDays":{"type":"integer"}}},"output":{"type":"structure","members":{"ArchiveArn":{},"State":{},"StateReason":{},"CreationTime":{"type":"timestamp"}}}}},"shapes":{"Sm":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S1h":{"type":"structure","required":["Arn"],"members":{"Arn":{},"FilterArns":{"type":"list","member":{}}}},"S2y":{"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":"S3k"},"SecurityGroups":{"shape":"S3k"},"AssignPublicIp":{}}}}},"PlatformVersion":{},"Group":{}}},"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"}}},"DeadLetterConfig":{"type":"structure","members":{"Arn":{}}},"RetryPolicy":{"type":"structure","members":{"MaximumRetryAttempts":{"type":"integer"},"MaximumEventAgeInSeconds":{"type":"integer"}}}}}},"S3k":{"type":"list","member":{}},"S4g":{"type":"list","member":{}}}}; + +/***/ }), + +/***/ 889: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +AWS.util.update(AWS.SQS.prototype, { + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + request.addListener('build', this.buildEndpoint); + + if (request.service.config.computeChecksums) { + if (request.operation === 'sendMessage') { + request.addListener('extractData', this.verifySendMessageChecksum); + } else if (request.operation === 'sendMessageBatch') { + request.addListener('extractData', this.verifySendMessageBatchChecksum); + } else if (request.operation === 'receiveMessage') { + request.addListener('extractData', this.verifyReceiveMessageChecksum); + } + } + }, + + /** + * @api private + */ + verifySendMessageChecksum: function verifySendMessageChecksum(response) { + if (!response.data) return; + + var md5 = response.data.MD5OfMessageBody; + var body = this.params.MessageBody; + var calculatedMd5 = this.service.calculateChecksum(body); + if (calculatedMd5 !== md5) { + var msg = 'Got "' + response.data.MD5OfMessageBody + + '", expecting "' + calculatedMd5 + '".'; + this.service.throwInvalidChecksumError(response, + [response.data.MessageId], msg); + } + }, + + /** + * @api private + */ + verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(response) { + if (!response.data) return; + + var service = this.service; + var entries = {}; + var errors = []; + var messageIds = []; + AWS.util.arrayEach(response.data.Successful, function (entry) { + entries[entry.Id] = entry; + }); + AWS.util.arrayEach(this.params.Entries, function (entry) { + if (entries[entry.Id]) { + var md5 = entries[entry.Id].MD5OfMessageBody; + var body = entry.MessageBody; + if (!service.isChecksumValid(md5, body)) { + errors.push(entry.Id); + messageIds.push(entries[entry.Id].MessageId); + } + } + }); + + if (errors.length > 0) { + service.throwInvalidChecksumError(response, messageIds, + 'Invalid messages: ' + errors.join(', ')); + } + }, + + /** + * @api private + */ + verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(response) { + if (!response.data) return; + + var service = this.service; + var messageIds = []; + AWS.util.arrayEach(response.data.Messages, function(message) { + var md5 = message.MD5OfBody; + var body = message.Body; + if (!service.isChecksumValid(md5, body)) { + messageIds.push(message.MessageId); + } + }); + + if (messageIds.length > 0) { + service.throwInvalidChecksumError(response, messageIds, + 'Invalid messages: ' + messageIds.join(', ')); + } + }, + + /** + * @api private + */ + throwInvalidChecksumError: function throwInvalidChecksumError(response, ids, message) { + response.error = AWS.util.error(new Error(), { + retryable: true, + code: 'InvalidChecksum', + messageIds: ids, + message: response.request.operation + + ' returned an invalid MD5 response. ' + message + }); + }, + + /** + * @api private + */ + isChecksumValid: function isChecksumValid(checksum, data) { + return this.calculateChecksum(data) === checksum; + }, + + /** + * @api private + */ + calculateChecksum: function calculateChecksum(data) { + return AWS.util.crypto.md5(data, 'hex'); + }, + + /** + * @api private + */ + buildEndpoint: function buildEndpoint(request) { + var url = request.httpRequest.params.QueueUrl; + if (url) { + request.httpRequest.endpoint = new AWS.Endpoint(url); + + // signature version 4 requires the region name to be set, + // sqs queue urls contain the region name + var matches = request.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./); + if (matches) request.httpRequest.region = matches[1]; + } + } +}); - /***/ 1536: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = hasFirstPage; - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); +/***/ }), - function hasFirstPage(link) { - deprecate( - `octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - return getPageLinks(link).first; - } +/***/ 890: +/***/ (function(module) { - /***/ - }, +module.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":{}}; - /***/ 1561: /***/ function (module) { - module.exports = { - pagination: { - GetExecutionHistory: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "events", - }, - ListActivities: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "activities", - }, - ListExecutions: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "executions", - }, - ListStateMachines: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "stateMachines", - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 904: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 1583: /***/ function (module, __unusedexports, __webpack_require__) { - var memoizedProperty = __webpack_require__(153).memoizedProperty; +var util = __webpack_require__(153); +var AWS = __webpack_require__(395); - function memoize(name, value, factory, nameTr) { - memoizedProperty(this, nameTr(name), function () { - return factory(name, value); +/** + * Prepend prefix defined by API model to endpoint that's already + * constructed. This feature does not apply to operations using + * endpoint discovery and can be disabled. + * @api private + */ +function populateHostPrefix(request) { + var enabled = request.service.config.hostPrefixEnabled; + if (!enabled) return request; + var operationModel = request.service.api.operations[request.operation]; + //don't marshal host prefix when operation has endpoint discovery traits + if (hasEndpointDiscover(request)) return request; + if (operationModel.endpoint && operationModel.endpoint.hostPrefix) { + var hostPrefixNotation = operationModel.endpoint.hostPrefix; + var hostPrefix = expandHostPrefix(hostPrefixNotation, request.params, operationModel.input); + prependEndpointPrefix(request.httpRequest.endpoint, hostPrefix); + validateHostname(request.httpRequest.endpoint.hostname); + } + return request; +} + +/** + * @api private + */ +function hasEndpointDiscover(request) { + var api = request.service.api; + var operationModel = api.operations[request.operation]; + var isEndpointOperation = api.endpointOperation && (api.endpointOperation === util.string.lowerFirst(operationModel.name)); + return (operationModel.endpointDiscoveryRequired !== 'NULL' || isEndpointOperation === true); +} + +/** + * @api private + */ +function expandHostPrefix(hostPrefixNotation, params, shape) { + util.each(shape.members, function(name, member) { + if (member.hostLabel === true) { + if (typeof params[name] !== 'string' || params[name] === '') { + throw util.error(new Error(), { + message: 'Parameter ' + name + ' should be a non-empty string.', + code: 'InvalidParameter' }); } + var regex = new RegExp('\\{' + name + '\\}', 'g'); + hostPrefixNotation = hostPrefixNotation.replace(regex, params[name]); + } + }); + return hostPrefixNotation; +} + +/** + * @api private + */ +function prependEndpointPrefix(endpoint, prefix) { + if (endpoint.host) { + endpoint.host = prefix + endpoint.host; + } + if (endpoint.hostname) { + endpoint.hostname = prefix + endpoint.hostname; + } +} + +/** + * @api private + */ +function validateHostname(hostname) { + var labels = hostname.split('.'); + //Reference: https://tools.ietf.org/html/rfc1123#section-2 + var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/; + util.arrayEach(labels, function(label) { + if (!label.length || label.length < 1 || label.length > 63) { + throw util.error(new Error(), { + code: 'ValidationError', + message: 'Hostname label length should be between 1 to 63 characters, inclusive.' + }); + } + if (!hostPattern.test(label)) { + throw AWS.util.error(new Error(), + {code: 'ValidationError', message: label + ' is not hostname compatible.'}); + } + }); +} - function Collection(iterable, options, factory, nameTr, callback) { - nameTr = nameTr || String; - var self = this; +module.exports = { + populateHostPrefix: populateHostPrefix +}; - for (var id in iterable) { - if (Object.prototype.hasOwnProperty.call(iterable, id)) { - memoize.call(self, id, iterable[id], factory, nameTr); - if (callback) callback(id, iterable[id]); - } - } - } - /** - * @api private - */ - module.exports = Collection; +/***/ }), - /***/ - }, +/***/ 910: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 1592: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - apiLoader.services["serverlessapplicationrepository"] = {}; - AWS.ServerlessApplicationRepository = Service.defineService( - "serverlessapplicationrepository", - ["2017-09-08"] - ); - Object.defineProperty( - apiLoader.services["serverlessapplicationrepository"], - "2017-09-08", - { - get: function get() { - var model = __webpack_require__(3252); - model.paginators = __webpack_require__(3080).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +apiLoader.services['storagegateway'] = {}; +AWS.StorageGateway = Service.defineService('storagegateway', ['2013-06-30']); +Object.defineProperty(apiLoader.services['storagegateway'], '2013-06-30', { + get: function get() { + var model = __webpack_require__(4540); + model.paginators = __webpack_require__(1009).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - module.exports = AWS.ServerlessApplicationRepository; +module.exports = AWS.StorageGateway; - /***/ - }, - /***/ 1595: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-07-25", - endpointPrefix: "elastic-inference", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Amazon Elastic Inference", - serviceFullName: "Amazon Elastic Inference", - serviceId: "Elastic Inference", - signatureVersion: "v4", - signingName: "elastic-inference", - uid: "elastic-inference-2017-07-25", - }, - operations: { - ListTagsForResource: { - http: { method: "GET", requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - }, - }, - output: { type: "structure", members: { tags: { shape: "S4" } } }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "S4" }, - }, - }, - 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: { S4: { type: "map", key: {}, value: {} } }, - }; +/***/ }), - /***/ - }, +/***/ 912: +/***/ (function(module) { - /***/ 1599: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.MachineLearning.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.operation === "predict") { - request.addListener("build", this.buildEndpoint); - } - }, +module.exports = {"version":2,"waiters":{"ClusterActive":{"delay":30,"operation":"DescribeCluster","maxAttempts":40,"acceptors":[{"expected":"DELETING","matcher":"path","state":"failure","argument":"cluster.status"},{"expected":"FAILED","matcher":"path","state":"failure","argument":"cluster.status"},{"expected":"ACTIVE","matcher":"path","state":"success","argument":"cluster.status"}]},"ClusterDeleted":{"delay":30,"operation":"DescribeCluster","maxAttempts":40,"acceptors":[{"expected":"ACTIVE","matcher":"path","state":"failure","argument":"cluster.status"},{"expected":"CREATING","matcher":"path","state":"failure","argument":"cluster.status"},{"expected":"ResourceNotFoundException","matcher":"error","state":"success"}]},"NodegroupActive":{"delay":30,"operation":"DescribeNodegroup","maxAttempts":80,"acceptors":[{"expected":"CREATE_FAILED","matcher":"path","state":"failure","argument":"nodegroup.status"},{"expected":"ACTIVE","matcher":"path","state":"success","argument":"nodegroup.status"}]},"NodegroupDeleted":{"delay":30,"operation":"DescribeNodegroup","maxAttempts":40,"acceptors":[{"expected":"DELETE_FAILED","matcher":"path","state":"failure","argument":"nodegroup.status"},{"expected":"ResourceNotFoundException","matcher":"error","state":"success"}]},"AddonActive":{"delay":10,"operation":"DescribeAddon","maxAttempts":60,"acceptors":[{"expected":"CREATE_FAILED","matcher":"path","state":"failure","argument":"addon.status"},{"expected":"ACTIVE","matcher":"path","state":"success","argument":"addon.status"}]},"AddonDeleted":{"delay":10,"operation":"DescribeAddon","maxAttempts":60,"acceptors":[{"expected":"DELETE_FAILED","matcher":"path","state":"failure","argument":"addon.status"},{"expected":"ResourceNotFoundException","matcher":"error","state":"success"}]}}}; - /** - * Updates request endpoint from PredictEndpoint - * @api private - */ - buildEndpoint: function buildEndpoint(request) { - var url = request.params.PredictEndpoint; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - } - }, - }); +/***/ }), - /***/ - }, +/***/ 918: +/***/ (function(module) { - /***/ 1602: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-06-27","endpointPrefix":"textract","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Textract","serviceId":"Textract","signatureVersion":"v4","targetPrefix":"Textract","uid":"textract-2018-06-27"},"operations":{"AnalyzeDocument":{"input":{"type":"structure","required":["Document","FeatureTypes"],"members":{"Document":{"shape":"S2"},"FeatureTypes":{"shape":"S8"},"HumanLoopConfig":{"type":"structure","required":["HumanLoopName","FlowDefinitionArn"],"members":{"HumanLoopName":{},"FlowDefinitionArn":{},"DataAttributes":{"type":"structure","members":{"ContentClassifiers":{"type":"list","member":{}}}}}}}},"output":{"type":"structure","members":{"DocumentMetadata":{"shape":"Sh"},"Blocks":{"shape":"Sj"},"HumanLoopActivationOutput":{"type":"structure","members":{"HumanLoopArn":{},"HumanLoopActivationReasons":{"type":"list","member":{}},"HumanLoopActivationConditionsEvaluationResults":{"jsonvalue":true}}},"AnalyzeDocumentModelVersion":{}}}},"DetectDocumentText":{"input":{"type":"structure","required":["Document"],"members":{"Document":{"shape":"S2"}}},"output":{"type":"structure","members":{"DocumentMetadata":{"shape":"Sh"},"Blocks":{"shape":"Sj"},"DetectDocumentTextModelVersion":{}}}},"GetDocumentAnalysis":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DocumentMetadata":{"shape":"Sh"},"JobStatus":{},"NextToken":{},"Blocks":{"shape":"Sj"},"Warnings":{"shape":"S1f"},"StatusMessage":{},"AnalyzeDocumentModelVersion":{}}}},"GetDocumentTextDetection":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DocumentMetadata":{"shape":"Sh"},"JobStatus":{},"NextToken":{},"Blocks":{"shape":"Sj"},"Warnings":{"shape":"S1f"},"StatusMessage":{},"DetectDocumentTextModelVersion":{}}}},"StartDocumentAnalysis":{"input":{"type":"structure","required":["DocumentLocation","FeatureTypes"],"members":{"DocumentLocation":{"shape":"S1n"},"FeatureTypes":{"shape":"S8"},"ClientRequestToken":{},"JobTag":{},"NotificationChannel":{"shape":"S1q"},"OutputConfig":{"shape":"S1t"},"KMSKeyId":{}}},"output":{"type":"structure","members":{"JobId":{}}}},"StartDocumentTextDetection":{"input":{"type":"structure","required":["DocumentLocation"],"members":{"DocumentLocation":{"shape":"S1n"},"ClientRequestToken":{},"JobTag":{},"NotificationChannel":{"shape":"S1q"},"OutputConfig":{"shape":"S1t"},"KMSKeyId":{}}},"output":{"type":"structure","members":{"JobId":{}}}}},"shapes":{"S2":{"type":"structure","members":{"Bytes":{"type":"blob"},"S3Object":{"shape":"S4"}}},"S4":{"type":"structure","members":{"Bucket":{},"Name":{},"Version":{}}},"S8":{"type":"list","member":{}},"Sh":{"type":"structure","members":{"Pages":{"type":"integer"}}},"Sj":{"type":"list","member":{"type":"structure","members":{"BlockType":{},"Confidence":{"type":"float"},"Text":{},"TextType":{},"RowIndex":{"type":"integer"},"ColumnIndex":{"type":"integer"},"RowSpan":{"type":"integer"},"ColumnSpan":{"type":"integer"},"Geometry":{"type":"structure","members":{"BoundingBox":{"type":"structure","members":{"Width":{"type":"float"},"Height":{"type":"float"},"Left":{"type":"float"},"Top":{"type":"float"}}},"Polygon":{"type":"list","member":{"type":"structure","members":{"X":{"type":"float"},"Y":{"type":"float"}}}}}},"Id":{},"Relationships":{"type":"list","member":{"type":"structure","members":{"Type":{},"Ids":{"type":"list","member":{}}}}},"EntityTypes":{"type":"list","member":{}},"SelectionStatus":{},"Page":{"type":"integer"}}}},"S1f":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"Pages":{"type":"list","member":{"type":"integer"}}}}},"S1n":{"type":"structure","members":{"S3Object":{"shape":"S4"}}},"S1q":{"type":"structure","required":["SNSTopicArn","RoleArn"],"members":{"SNSTopicArn":{},"RoleArn":{}}},"S1t":{"type":"structure","required":["S3Bucket"],"members":{"S3Bucket":{},"S3Prefix":{}}}}}; - apiLoader.services["translate"] = {}; - AWS.Translate = Service.defineService("translate", ["2017-07-01"]); - Object.defineProperty(apiLoader.services["translate"], "2017-07-01", { - get: function get() { - var model = __webpack_require__(5452); - model.paginators = __webpack_require__(324).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ }), - module.exports = AWS.Translate; +/***/ 925: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"ListEnvironments":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Environments"}}}; - /***/ 1626: /***/ function (module) { - module.exports = { - pagination: { - GetQueryResults: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListNamedQueries: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListQueryExecutions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListWorkGroups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 948: +/***/ (function(module) { - /***/ 1627: /***/ function (module) { - module.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", - }, - }, - }; +"use strict"; - /***/ - }, - /***/ 1631: /***/ function (module) { - module.exports = require("net"); +/** + * Tries to execute a function and discards any error that occurs. + * @param {Function} fn - Function that might or might not throw an error. + * @returns {?*} Return-value of the function when no error occurred. + */ +module.exports = function(fn) { - /***/ - }, + try { return fn() } catch (e) {} - /***/ 1632: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - /** - * @api private - */ - var service = null; - - /** - * @api private - */ - var api = { - signatureVersion: "v4", - signingName: "rds-db", - operations: {}, - }; +} - /** - * @api private - */ - var requiredAuthTokenOptions = { - region: "string", - hostname: "string", - port: "number", - username: "string", - }; +/***/ }), - /** - * A signer object can be used to generate an auth token to a database. - */ - AWS.RDS.Signer = AWS.util.inherit({ - /** - * Creates a signer object can be used to generate an auth token. - * - * @option options credentials [AWS.Credentials] the AWS credentials - * to sign requests with. Uses the default credential provider chain - * if not specified. - * @option options hostname [String] the hostname of the database to connect to. - * @option options port [Number] the port number the database is listening on. - * @option options region [String] the region the database is located in. - * @option options username [String] the username to login as. - * @example Passing in options to constructor - * var signer = new AWS.RDS.Signer({ - * credentials: new AWS.SharedIniFileCredentials({profile: 'default'}), - * region: 'us-east-1', - * hostname: 'db.us-east-1.rds.amazonaws.com', - * port: 8000, - * username: 'name' - * }); - */ - constructor: function Signer(options) { - this.options = options || {}; - }, - - /** - * @api private - * Strips the protocol from a url. - */ - convertUrlToAuthToken: function convertUrlToAuthToken(url) { - // we are always using https as the protocol - var protocol = "https://"; - if (url.indexOf(protocol) === 0) { - return url.substring(protocol.length); - } - }, +/***/ 952: +/***/ (function(module) { - /** - * @overload getAuthToken(options = {}, [callback]) - * Generate an auth token to a database. - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * - * @param options [map] The fields to use when generating an auth token. - * Any options specified here will be merged on top of any options passed - * to AWS.RDS.Signer: - * - * * **credentials** (AWS.Credentials) — the AWS credentials - * to sign requests with. Uses the default credential provider chain - * if not specified. - * * **hostname** (String) — the hostname of the database to connect to. - * * **port** (Number) — the port number the database is listening on. - * * **region** (String) — the region the database is located in. - * * **username** (String) — the username to login as. - * @return [String] if called synchronously (with no callback), returns the - * auth token. - * @return [null] nothing is returned if a callback is provided. - * @callback callback function (err, token) - * If a callback is supplied, it is called when an auth token has been generated. - * @param err [Error] the error object returned from the signer. - * @param token [String] the auth token. - * - * @example Generating an auth token synchronously - * var signer = new AWS.RDS.Signer({ - * // configure options - * region: 'us-east-1', - * username: 'default', - * hostname: 'db.us-east-1.amazonaws.com', - * port: 8000 - * }); - * var token = signer.getAuthToken({ - * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option - * // credentials are not specified here or when creating the signer, so default credential provider will be used - * username: 'test' // overriding username - * }); - * @example Generating an auth token asynchronously - * var signer = new AWS.RDS.Signer({ - * // configure options - * region: 'us-east-1', - * username: 'default', - * hostname: 'db.us-east-1.amazonaws.com', - * port: 8000 - * }); - * signer.getAuthToken({ - * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option - * // credentials are not specified here or when creating the signer, so default credential provider will be used - * username: 'test' // overriding username - * }, function(err, token) { - * if (err) { - * // handle error - * } else { - * // use token - * } - * }); - * - */ - getAuthToken: function getAuthToken(options, callback) { - if (typeof options === "function" && callback === undefined) { - callback = options; - options = {}; - } - var self = this; - var hasCallback = typeof callback === "function"; - // merge options with existing options - options = AWS.util.merge(this.options, options); - // validate options - var optionsValidation = this.validateAuthTokenOptions(options); - if (optionsValidation !== true) { - if (hasCallback) { - return callback(optionsValidation, null); - } - throw optionsValidation; - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-03-25","endpointPrefix":"cloudfront","globalEndpoint":"cloudfront.amazonaws.com","protocol":"rest-xml","serviceAbbreviation":"CloudFront","serviceFullName":"Amazon CloudFront","serviceId":"CloudFront","signatureVersion":"v4","uid":"cloudfront-2017-03-25"},"operations":{"CreateCloudFrontOriginAccessIdentity":{"http":{"requestUri":"/2017-03-25/origin-access-identity/cloudfront","responseCode":201},"input":{"type":"structure","required":["CloudFrontOriginAccessIdentityConfig"],"members":{"CloudFrontOriginAccessIdentityConfig":{"shape":"S2","locationName":"CloudFrontOriginAccessIdentityConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}}},"payload":"CloudFrontOriginAccessIdentityConfig"},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentity":{"shape":"S5"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentity"}},"CreateDistribution":{"http":{"requestUri":"/2017-03-25/distribution","responseCode":201},"input":{"type":"structure","required":["DistributionConfig"],"members":{"DistributionConfig":{"shape":"S7","locationName":"DistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}}},"payload":"DistributionConfig"},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"CreateDistributionWithTags":{"http":{"requestUri":"/2017-03-25/distribution?WithTags","responseCode":201},"input":{"type":"structure","required":["DistributionConfigWithTags"],"members":{"DistributionConfigWithTags":{"locationName":"DistributionConfigWithTags","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"},"type":"structure","required":["DistributionConfig","Tags"],"members":{"DistributionConfig":{"shape":"S7"},"Tags":{"shape":"S21"}}}},"payload":"DistributionConfigWithTags"},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"CreateInvalidation":{"http":{"requestUri":"/2017-03-25/distribution/{DistributionId}/invalidation","responseCode":201},"input":{"type":"structure","required":["DistributionId","InvalidationBatch"],"members":{"DistributionId":{"location":"uri","locationName":"DistributionId"},"InvalidationBatch":{"shape":"S28","locationName":"InvalidationBatch","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}}},"payload":"InvalidationBatch"},"output":{"type":"structure","members":{"Location":{"location":"header","locationName":"Location"},"Invalidation":{"shape":"S2c"}},"payload":"Invalidation"}},"CreateStreamingDistribution":{"http":{"requestUri":"/2017-03-25/streaming-distribution","responseCode":201},"input":{"type":"structure","required":["StreamingDistributionConfig"],"members":{"StreamingDistributionConfig":{"shape":"S2e","locationName":"StreamingDistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}}},"payload":"StreamingDistributionConfig"},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}},"CreateStreamingDistributionWithTags":{"http":{"requestUri":"/2017-03-25/streaming-distribution?WithTags","responseCode":201},"input":{"type":"structure","required":["StreamingDistributionConfigWithTags"],"members":{"StreamingDistributionConfigWithTags":{"locationName":"StreamingDistributionConfigWithTags","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"},"type":"structure","required":["StreamingDistributionConfig","Tags"],"members":{"StreamingDistributionConfig":{"shape":"S2e"},"Tags":{"shape":"S21"}}}},"payload":"StreamingDistributionConfigWithTags"},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}},"DeleteCloudFrontOriginAccessIdentity":{"http":{"method":"DELETE","requestUri":"/2017-03-25/origin-access-identity/cloudfront/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}}}},"DeleteDistribution":{"http":{"method":"DELETE","requestUri":"/2017-03-25/distribution/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}}}},"DeleteServiceLinkedRole":{"http":{"method":"DELETE","requestUri":"/2017-03-25/service-linked-role/{RoleName}","responseCode":204},"input":{"type":"structure","required":["RoleName"],"members":{"RoleName":{"location":"uri","locationName":"RoleName"}}}},"DeleteStreamingDistribution":{"http":{"method":"DELETE","requestUri":"/2017-03-25/streaming-distribution/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}}}},"GetCloudFrontOriginAccessIdentity":{"http":{"method":"GET","requestUri":"/2017-03-25/origin-access-identity/cloudfront/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentity":{"shape":"S5"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentity"}},"GetCloudFrontOriginAccessIdentityConfig":{"http":{"method":"GET","requestUri":"/2017-03-25/origin-access-identity/cloudfront/{Id}/config"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentityConfig":{"shape":"S2"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentityConfig"}},"GetDistribution":{"http":{"method":"GET","requestUri":"/2017-03-25/distribution/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"GetDistributionConfig":{"http":{"method":"GET","requestUri":"/2017-03-25/distribution/{Id}/config"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"DistributionConfig":{"shape":"S7"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"DistributionConfig"}},"GetInvalidation":{"http":{"method":"GET","requestUri":"/2017-03-25/distribution/{DistributionId}/invalidation/{Id}"},"input":{"type":"structure","required":["DistributionId","Id"],"members":{"DistributionId":{"location":"uri","locationName":"DistributionId"},"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Invalidation":{"shape":"S2c"}},"payload":"Invalidation"}},"GetStreamingDistribution":{"http":{"method":"GET","requestUri":"/2017-03-25/streaming-distribution/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}},"GetStreamingDistributionConfig":{"http":{"method":"GET","requestUri":"/2017-03-25/streaming-distribution/{Id}/config"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"StreamingDistributionConfig":{"shape":"S2e"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistributionConfig"}},"ListCloudFrontOriginAccessIdentities":{"http":{"method":"GET","requestUri":"/2017-03-25/origin-access-identity/cloudfront"},"input":{"type":"structure","members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentityList":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CloudFrontOriginAccessIdentitySummary","type":"structure","required":["Id","S3CanonicalUserId","Comment"],"members":{"Id":{},"S3CanonicalUserId":{},"Comment":{}}}}}}},"payload":"CloudFrontOriginAccessIdentityList"}},"ListDistributions":{"http":{"method":"GET","requestUri":"/2017-03-25/distribution"},"input":{"type":"structure","members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"DistributionList":{"shape":"S3b"}},"payload":"DistributionList"}},"ListDistributionsByWebACLId":{"http":{"method":"GET","requestUri":"/2017-03-25/distributionsByWebACLId/{WebACLId}"},"input":{"type":"structure","required":["WebACLId"],"members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"},"WebACLId":{"location":"uri","locationName":"WebACLId"}}},"output":{"type":"structure","members":{"DistributionList":{"shape":"S3b"}},"payload":"DistributionList"}},"ListInvalidations":{"http":{"method":"GET","requestUri":"/2017-03-25/distribution/{DistributionId}/invalidation"},"input":{"type":"structure","required":["DistributionId"],"members":{"DistributionId":{"location":"uri","locationName":"DistributionId"},"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"InvalidationList":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"InvalidationSummary","type":"structure","required":["Id","CreateTime","Status"],"members":{"Id":{},"CreateTime":{"type":"timestamp"},"Status":{}}}}}}},"payload":"InvalidationList"}},"ListStreamingDistributions":{"http":{"method":"GET","requestUri":"/2017-03-25/streaming-distribution"},"input":{"type":"structure","members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"StreamingDistributionList":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"StreamingDistributionSummary","type":"structure","required":["Id","ARN","Status","LastModifiedTime","DomainName","S3Origin","Aliases","TrustedSigners","Comment","PriceClass","Enabled"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"DomainName":{},"S3Origin":{"shape":"S2f"},"Aliases":{"shape":"S8"},"TrustedSigners":{"shape":"Sy"},"Comment":{},"PriceClass":{},"Enabled":{"type":"boolean"}}}}}}},"payload":"StreamingDistributionList"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2017-03-25/tagging"},"input":{"type":"structure","required":["Resource"],"members":{"Resource":{"location":"querystring","locationName":"Resource"}}},"output":{"type":"structure","required":["Tags"],"members":{"Tags":{"shape":"S21"}},"payload":"Tags"}},"TagResource":{"http":{"requestUri":"/2017-03-25/tagging?Operation=Tag","responseCode":204},"input":{"type":"structure","required":["Resource","Tags"],"members":{"Resource":{"location":"querystring","locationName":"Resource"},"Tags":{"shape":"S21","locationName":"Tags","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}}},"payload":"Tags"}},"UntagResource":{"http":{"requestUri":"/2017-03-25/tagging?Operation=Untag","responseCode":204},"input":{"type":"structure","required":["Resource","TagKeys"],"members":{"Resource":{"location":"querystring","locationName":"Resource"},"TagKeys":{"locationName":"TagKeys","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"},"type":"structure","members":{"Items":{"type":"list","member":{"locationName":"Key"}}}}},"payload":"TagKeys"}},"UpdateCloudFrontOriginAccessIdentity":{"http":{"method":"PUT","requestUri":"/2017-03-25/origin-access-identity/cloudfront/{Id}/config"},"input":{"type":"structure","required":["CloudFrontOriginAccessIdentityConfig","Id"],"members":{"CloudFrontOriginAccessIdentityConfig":{"shape":"S2","locationName":"CloudFrontOriginAccessIdentityConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}},"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}},"payload":"CloudFrontOriginAccessIdentityConfig"},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentity":{"shape":"S5"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentity"}},"UpdateDistribution":{"http":{"method":"PUT","requestUri":"/2017-03-25/distribution/{Id}/config"},"input":{"type":"structure","required":["DistributionConfig","Id"],"members":{"DistributionConfig":{"shape":"S7","locationName":"DistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}},"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}},"payload":"DistributionConfig"},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"UpdateStreamingDistribution":{"http":{"method":"PUT","requestUri":"/2017-03-25/streaming-distribution/{Id}/config"},"input":{"type":"structure","required":["StreamingDistributionConfig","Id"],"members":{"StreamingDistributionConfig":{"shape":"S2e","locationName":"StreamingDistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2017-03-25/"}},"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}},"payload":"StreamingDistributionConfig"},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}}},"shapes":{"S2":{"type":"structure","required":["CallerReference","Comment"],"members":{"CallerReference":{},"Comment":{}}},"S5":{"type":"structure","required":["Id","S3CanonicalUserId"],"members":{"Id":{},"S3CanonicalUserId":{},"CloudFrontOriginAccessIdentityConfig":{"shape":"S2"}}},"S7":{"type":"structure","required":["CallerReference","Origins","DefaultCacheBehavior","Comment","Enabled"],"members":{"CallerReference":{},"Aliases":{"shape":"S8"},"DefaultRootObject":{},"Origins":{"shape":"Sb"},"DefaultCacheBehavior":{"shape":"Sn"},"CacheBehaviors":{"shape":"S1a"},"CustomErrorResponses":{"shape":"S1d"},"Comment":{},"Logging":{"type":"structure","required":["Enabled","IncludeCookies","Bucket","Prefix"],"members":{"Enabled":{"type":"boolean"},"IncludeCookies":{"type":"boolean"},"Bucket":{},"Prefix":{}}},"PriceClass":{},"Enabled":{"type":"boolean"},"ViewerCertificate":{"shape":"S1i"},"Restrictions":{"shape":"S1m"},"WebACLId":{},"HttpVersion":{},"IsIPV6Enabled":{"type":"boolean"}}},"S8":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CNAME"}}}},"Sb":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Origin","type":"structure","required":["Id","DomainName"],"members":{"Id":{},"DomainName":{},"OriginPath":{},"CustomHeaders":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"OriginCustomHeader","type":"structure","required":["HeaderName","HeaderValue"],"members":{"HeaderName":{},"HeaderValue":{}}}}}},"S3OriginConfig":{"type":"structure","required":["OriginAccessIdentity"],"members":{"OriginAccessIdentity":{}}},"CustomOriginConfig":{"type":"structure","required":["HTTPPort","HTTPSPort","OriginProtocolPolicy"],"members":{"HTTPPort":{"type":"integer"},"HTTPSPort":{"type":"integer"},"OriginProtocolPolicy":{},"OriginSslProtocols":{"type":"structure","required":["Quantity","Items"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"SslProtocol"}}}},"OriginReadTimeout":{"type":"integer"},"OriginKeepaliveTimeout":{"type":"integer"}}}}}}}},"Sn":{"type":"structure","required":["TargetOriginId","ForwardedValues","TrustedSigners","ViewerProtocolPolicy","MinTTL"],"members":{"TargetOriginId":{},"ForwardedValues":{"shape":"So"},"TrustedSigners":{"shape":"Sy"},"ViewerProtocolPolicy":{},"MinTTL":{"type":"long"},"AllowedMethods":{"shape":"S12"},"SmoothStreaming":{"type":"boolean"},"DefaultTTL":{"type":"long"},"MaxTTL":{"type":"long"},"Compress":{"type":"boolean"},"LambdaFunctionAssociations":{"shape":"S16"}}},"So":{"type":"structure","required":["QueryString","Cookies"],"members":{"QueryString":{"type":"boolean"},"Cookies":{"type":"structure","required":["Forward"],"members":{"Forward":{},"WhitelistedNames":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Name"}}}}}},"Headers":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Name"}}}},"QueryStringCacheKeys":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Name"}}}}}},"Sy":{"type":"structure","required":["Enabled","Quantity"],"members":{"Enabled":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"AwsAccountNumber"}}}},"S12":{"type":"structure","required":["Quantity","Items"],"members":{"Quantity":{"type":"integer"},"Items":{"shape":"S13"},"CachedMethods":{"type":"structure","required":["Quantity","Items"],"members":{"Quantity":{"type":"integer"},"Items":{"shape":"S13"}}}}},"S13":{"type":"list","member":{"locationName":"Method"}},"S16":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"LambdaFunctionAssociation","type":"structure","members":{"LambdaFunctionARN":{},"EventType":{}}}}}},"S1a":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CacheBehavior","type":"structure","required":["PathPattern","TargetOriginId","ForwardedValues","TrustedSigners","ViewerProtocolPolicy","MinTTL"],"members":{"PathPattern":{},"TargetOriginId":{},"ForwardedValues":{"shape":"So"},"TrustedSigners":{"shape":"Sy"},"ViewerProtocolPolicy":{},"MinTTL":{"type":"long"},"AllowedMethods":{"shape":"S12"},"SmoothStreaming":{"type":"boolean"},"DefaultTTL":{"type":"long"},"MaxTTL":{"type":"long"},"Compress":{"type":"boolean"},"LambdaFunctionAssociations":{"shape":"S16"}}}}}},"S1d":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CustomErrorResponse","type":"structure","required":["ErrorCode"],"members":{"ErrorCode":{"type":"integer"},"ResponsePagePath":{},"ResponseCode":{},"ErrorCachingMinTTL":{"type":"long"}}}}}},"S1i":{"type":"structure","members":{"CloudFrontDefaultCertificate":{"type":"boolean"},"IAMCertificateId":{},"ACMCertificateArn":{},"SSLSupportMethod":{},"MinimumProtocolVersion":{},"Certificate":{"deprecated":true},"CertificateSource":{"deprecated":true}}},"S1m":{"type":"structure","required":["GeoRestriction"],"members":{"GeoRestriction":{"type":"structure","required":["RestrictionType","Quantity"],"members":{"RestrictionType":{},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Location"}}}}}},"S1s":{"type":"structure","required":["Id","ARN","Status","LastModifiedTime","InProgressInvalidationBatches","DomainName","ActiveTrustedSigners","DistributionConfig"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"InProgressInvalidationBatches":{"type":"integer"},"DomainName":{},"ActiveTrustedSigners":{"shape":"S1u"},"DistributionConfig":{"shape":"S7"}}},"S1u":{"type":"structure","required":["Enabled","Quantity"],"members":{"Enabled":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Signer","type":"structure","members":{"AwsAccountNumber":{},"KeyPairIds":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"KeyPairId"}}}}}}}}},"S21":{"type":"structure","members":{"Items":{"type":"list","member":{"locationName":"Tag","type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}}}},"S28":{"type":"structure","required":["Paths","CallerReference"],"members":{"Paths":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Path"}}}},"CallerReference":{}}},"S2c":{"type":"structure","required":["Id","Status","CreateTime","InvalidationBatch"],"members":{"Id":{},"Status":{},"CreateTime":{"type":"timestamp"},"InvalidationBatch":{"shape":"S28"}}},"S2e":{"type":"structure","required":["CallerReference","S3Origin","Comment","TrustedSigners","Enabled"],"members":{"CallerReference":{},"S3Origin":{"shape":"S2f"},"Aliases":{"shape":"S8"},"Comment":{},"Logging":{"type":"structure","required":["Enabled","Bucket","Prefix"],"members":{"Enabled":{"type":"boolean"},"Bucket":{},"Prefix":{}}},"TrustedSigners":{"shape":"Sy"},"PriceClass":{},"Enabled":{"type":"boolean"}}},"S2f":{"type":"structure","required":["DomainName","OriginAccessIdentity"],"members":{"DomainName":{},"OriginAccessIdentity":{}}},"S2i":{"type":"structure","required":["Id","ARN","Status","DomainName","ActiveTrustedSigners","StreamingDistributionConfig"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"DomainName":{},"ActiveTrustedSigners":{"shape":"S1u"},"StreamingDistributionConfig":{"shape":"S2e"}}},"S3b":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"DistributionSummary","type":"structure","required":["Id","ARN","Status","LastModifiedTime","DomainName","Aliases","Origins","DefaultCacheBehavior","CacheBehaviors","CustomErrorResponses","Comment","PriceClass","Enabled","ViewerCertificate","Restrictions","WebACLId","HttpVersion","IsIPV6Enabled"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"DomainName":{},"Aliases":{"shape":"S8"},"Origins":{"shape":"Sb"},"DefaultCacheBehavior":{"shape":"Sn"},"CacheBehaviors":{"shape":"S1a"},"CustomErrorResponses":{"shape":"S1d"},"Comment":{},"PriceClass":{},"Enabled":{"type":"boolean"},"ViewerCertificate":{"shape":"S1i"},"Restrictions":{"shape":"S1m"},"WebACLId":{},"HttpVersion":{},"IsIPV6Enabled":{"type":"boolean"}}}}}}}}; - // 15 minutes - var expires = 900; - // create service to generate a request from - var serviceOptions = { - region: options.region, - endpoint: new AWS.Endpoint(options.hostname + ":" + options.port), - paramValidation: false, - signatureVersion: "v4", - }; - if (options.credentials) { - serviceOptions.credentials = options.credentials; - } - service = new AWS.Service(serviceOptions); - // ensure the SDK is using sigv4 signing (config is not enough) - service.api = api; - - var request = service.makeRequest(); - // add listeners to request to properly build auth token - this.modifyRequestForAuthToken(request, options); - - if (hasCallback) { - request.presign(expires, function (err, url) { - if (url) { - url = self.convertUrlToAuthToken(url); - } - callback(err, url); - }); - } else { - var url = request.presign(expires); - return this.convertUrlToAuthToken(url); - } - }, +/***/ }), - /** - * @api private - * Modifies a request to allow the presigner to generate an auth token. - */ - modifyRequestForAuthToken: function modifyRequestForAuthToken( - request, - options - ) { - request.on("build", request.buildAsGet); - var httpRequest = request.httpRequest; - httpRequest.body = AWS.util.queryParamsToString({ - Action: "connect", - DBUser: options.username, - }); - }, +/***/ 956: +/***/ (function(module) { - /** - * @api private - * Validates that the options passed in contain all the keys with values of the correct type that - * are needed to generate an auth token. - */ - validateAuthTokenOptions: function validateAuthTokenOptions(options) { - // iterate over all keys in options - var message = ""; - options = options || {}; - for (var key in requiredAuthTokenOptions) { - if ( - !Object.prototype.hasOwnProperty.call( - requiredAuthTokenOptions, - key - ) - ) { - continue; - } - if (typeof options[key] !== requiredAuthTokenOptions[key]) { - message += - "option '" + - key + - "' should have been type '" + - requiredAuthTokenOptions[key] + - "', was '" + - typeof options[key] + - "'.\n"; - } - } - if (message.length) { - return AWS.util.error(new Error(), { - code: "InvalidParameter", - message: message, - }); - } - return true; - }, - }); +module.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"}}}; - /***/ - }, +/***/ }), - /***/ 1636: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-01-02", - endpointPrefix: "qldb", - jsonVersion: "1.0", - protocol: "rest-json", - serviceAbbreviation: "QLDB", - serviceFullName: "Amazon QLDB", - serviceId: "QLDB", - signatureVersion: "v4", - signingName: "qldb", - uid: "qldb-2019-01-02", - }, - operations: { - CreateLedger: { - http: { requestUri: "/ledgers" }, - input: { - type: "structure", - required: ["Name", "PermissionsMode"], - members: { - Name: {}, - Tags: { shape: "S3" }, - PermissionsMode: {}, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Name: {}, - Arn: {}, - State: {}, - CreationDateTime: { type: "timestamp" }, - DeletionProtection: { type: "boolean" }, - }, - }, - }, - DeleteLedger: { - http: { method: "DELETE", requestUri: "/ledgers/{name}" }, - input: { - type: "structure", - required: ["Name"], - members: { Name: { location: "uri", locationName: "name" } }, - }, - }, - DescribeJournalS3Export: { - http: { - method: "GET", - requestUri: "/ledgers/{name}/journal-s3-exports/{exportId}", - }, - input: { - type: "structure", - required: ["Name", "ExportId"], - members: { - Name: { location: "uri", locationName: "name" }, - ExportId: { location: "uri", locationName: "exportId" }, - }, - }, - output: { - type: "structure", - required: ["ExportDescription"], - members: { ExportDescription: { shape: "Sg" } }, - }, - }, - DescribeLedger: { - http: { method: "GET", requestUri: "/ledgers/{name}" }, - input: { - type: "structure", - required: ["Name"], - members: { Name: { location: "uri", locationName: "name" } }, - }, - output: { - type: "structure", - members: { - Name: {}, - Arn: {}, - State: {}, - CreationDateTime: { type: "timestamp" }, - DeletionProtection: { type: "boolean" }, - }, - }, - }, - ExportJournalToS3: { - http: { requestUri: "/ledgers/{name}/journal-s3-exports" }, - input: { - type: "structure", - required: [ - "Name", - "InclusiveStartTime", - "ExclusiveEndTime", - "S3ExportConfiguration", - "RoleArn", - ], - members: { - Name: { location: "uri", locationName: "name" }, - InclusiveStartTime: { type: "timestamp" }, - ExclusiveEndTime: { type: "timestamp" }, - S3ExportConfiguration: { shape: "Si" }, - RoleArn: {}, - }, - }, - output: { - type: "structure", - required: ["ExportId"], - members: { ExportId: {} }, - }, - }, - GetBlock: { - http: { requestUri: "/ledgers/{name}/block" }, - input: { - type: "structure", - required: ["Name", "BlockAddress"], - members: { - Name: { location: "uri", locationName: "name" }, - BlockAddress: { shape: "Ss" }, - DigestTipAddress: { shape: "Ss" }, - }, - }, - output: { - type: "structure", - required: ["Block"], - members: { Block: { shape: "Ss" }, Proof: { shape: "Ss" } }, - }, - }, - GetDigest: { - http: { requestUri: "/ledgers/{name}/digest" }, - input: { - type: "structure", - required: ["Name"], - members: { Name: { location: "uri", locationName: "name" } }, - }, - output: { - type: "structure", - required: ["Digest", "DigestTipAddress"], - members: { - Digest: { type: "blob" }, - DigestTipAddress: { shape: "Ss" }, - }, - }, - }, - GetRevision: { - http: { requestUri: "/ledgers/{name}/revision" }, - input: { - type: "structure", - required: ["Name", "BlockAddress", "DocumentId"], - members: { - Name: { location: "uri", locationName: "name" }, - BlockAddress: { shape: "Ss" }, - DocumentId: {}, - DigestTipAddress: { shape: "Ss" }, - }, - }, - output: { - type: "structure", - required: ["Revision"], - members: { Proof: { shape: "Ss" }, Revision: { shape: "Ss" } }, - }, - }, - ListJournalS3Exports: { - http: { method: "GET", requestUri: "/journal-s3-exports" }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "max_results", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "next_token", - }, - }, - }, - output: { - type: "structure", - members: { JournalS3Exports: { shape: "S14" }, NextToken: {} }, - }, - }, - ListJournalS3ExportsForLedger: { - http: { - method: "GET", - requestUri: "/ledgers/{name}/journal-s3-exports", - }, - input: { - type: "structure", - required: ["Name"], - members: { - Name: { location: "uri", locationName: "name" }, - MaxResults: { - location: "querystring", - locationName: "max_results", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "next_token", - }, - }, - }, - output: { - type: "structure", - members: { JournalS3Exports: { shape: "S14" }, NextToken: {} }, - }, - }, - ListLedgers: { - http: { method: "GET", requestUri: "/ledgers" }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "max_results", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "next_token", - }, - }, - }, - output: { - type: "structure", - members: { - Ledgers: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - State: {}, - CreationDateTime: { type: "timestamp" }, - }, - }, - }, - 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: "S3" } } }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "S3" }, - }, - }, - 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: {} }, - }, - UpdateLedger: { - http: { method: "PATCH", requestUri: "/ledgers/{name}" }, - input: { - type: "structure", - required: ["Name"], - members: { - Name: { location: "uri", locationName: "name" }, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Name: {}, - Arn: {}, - State: {}, - CreationDateTime: { type: "timestamp" }, - DeletionProtection: { type: "boolean" }, - }, - }, - }, - }, - shapes: { - S3: { type: "map", key: {}, value: {} }, - Sg: { - type: "structure", - required: [ - "LedgerName", - "ExportId", - "ExportCreationTime", - "Status", - "InclusiveStartTime", - "ExclusiveEndTime", - "S3ExportConfiguration", - "RoleArn", - ], - members: { - LedgerName: {}, - ExportId: {}, - ExportCreationTime: { type: "timestamp" }, - Status: {}, - InclusiveStartTime: { type: "timestamp" }, - ExclusiveEndTime: { type: "timestamp" }, - S3ExportConfiguration: { shape: "Si" }, - RoleArn: {}, - }, - }, - Si: { - type: "structure", - required: ["Bucket", "Prefix", "EncryptionConfiguration"], - members: { - Bucket: {}, - Prefix: {}, - EncryptionConfiguration: { - type: "structure", - required: ["ObjectEncryptionType"], - members: { ObjectEncryptionType: {}, KmsKeyArn: {} }, - }, - }, - }, - Ss: { - type: "structure", - members: { IonText: { type: "string", sensitive: true } }, - sensitive: true, - }, - S14: { type: "list", member: { shape: "Sg" } }, - }, - }; +/***/ 985: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-06-15","endpointPrefix":"identitystore","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"IdentityStore","serviceFullName":"AWS SSO Identity Store","serviceId":"identitystore","signatureVersion":"v4","signingName":"identitystore","targetPrefix":"AWSIdentityStore","uid":"identitystore-2020-06-15"},"operations":{"DescribeGroup":{"input":{"type":"structure","required":["IdentityStoreId","GroupId"],"members":{"IdentityStoreId":{},"GroupId":{}}},"output":{"type":"structure","required":["GroupId","DisplayName"],"members":{"GroupId":{},"DisplayName":{}}}},"DescribeUser":{"input":{"type":"structure","required":["IdentityStoreId","UserId"],"members":{"IdentityStoreId":{},"UserId":{}}},"output":{"type":"structure","required":["UserName","UserId"],"members":{"UserName":{"shape":"S8"},"UserId":{}}}},"ListGroups":{"input":{"type":"structure","required":["IdentityStoreId"],"members":{"IdentityStoreId":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Sc"}}},"output":{"type":"structure","required":["Groups"],"members":{"Groups":{"type":"list","member":{"type":"structure","required":["GroupId","DisplayName"],"members":{"GroupId":{},"DisplayName":{}}}},"NextToken":{}}}},"ListUsers":{"input":{"type":"structure","required":["IdentityStoreId"],"members":{"IdentityStoreId":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Sc"}}},"output":{"type":"structure","required":["Users"],"members":{"Users":{"type":"list","member":{"type":"structure","required":["UserName","UserId"],"members":{"UserName":{"shape":"S8"},"UserId":{}}}},"NextToken":{}}}}},"shapes":{"S8":{"type":"string","sensitive":true},"Sc":{"type":"list","member":{"type":"structure","required":["AttributePath","AttributeValue"],"members":{"AttributePath":{},"AttributeValue":{"type":"string","sensitive":true}}}}}}; - /***/ 1647: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395), - url = AWS.util.url, - crypto = AWS.util.crypto.lib, - base64Encode = AWS.util.base64.encode, - inherit = AWS.util.inherit; - - var queryEncode = function (string) { - var replacements = { - "+": "-", - "=": "_", - "/": "~", - }; - return string.replace(/[\+=\/]/g, function (match) { - return replacements[match]; - }); - }; +/***/ }), - var signPolicy = function (policy, privateKey) { - var sign = crypto.createSign("RSA-SHA1"); - sign.write(policy); - return queryEncode(sign.sign(privateKey, "base64")); - }; +/***/ 988: +/***/ (function(module) { - var signWithCannedPolicy = function ( - url, - expires, - keyPairId, - privateKey - ) { - var policy = JSON.stringify({ - Statement: [ - { - Resource: url, - Condition: { DateLessThan: { "AWS:EpochTime": expires } }, - }, - ], - }); +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-12-01","endpointPrefix":"appstream2","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon AppStream","serviceId":"AppStream","signatureVersion":"v4","signingName":"appstream","targetPrefix":"PhotonAdminProxyService","uid":"appstream-2016-12-01"},"operations":{"AssociateFleet":{"input":{"type":"structure","required":["FleetName","StackName"],"members":{"FleetName":{},"StackName":{}}},"output":{"type":"structure","members":{}}},"BatchAssociateUserStack":{"input":{"type":"structure","required":["UserStackAssociations"],"members":{"UserStackAssociations":{"shape":"S5"}}},"output":{"type":"structure","members":{"errors":{"shape":"Sb"}}}},"BatchDisassociateUserStack":{"input":{"type":"structure","required":["UserStackAssociations"],"members":{"UserStackAssociations":{"shape":"S5"}}},"output":{"type":"structure","members":{"errors":{"shape":"Sb"}}}},"CopyImage":{"input":{"type":"structure","required":["SourceImageName","DestinationImageName","DestinationRegion"],"members":{"SourceImageName":{},"DestinationImageName":{},"DestinationRegion":{},"DestinationImageDescription":{}}},"output":{"type":"structure","members":{"DestinationImageName":{}}}},"CreateDirectoryConfig":{"input":{"type":"structure","required":["DirectoryName","OrganizationalUnitDistinguishedNames"],"members":{"DirectoryName":{},"OrganizationalUnitDistinguishedNames":{"shape":"Sn"},"ServiceAccountCredentials":{"shape":"Sp"}}},"output":{"type":"structure","members":{"DirectoryConfig":{"shape":"St"}}}},"CreateFleet":{"input":{"type":"structure","required":["Name","InstanceType","ComputeCapacity"],"members":{"Name":{},"ImageName":{},"ImageArn":{},"InstanceType":{},"FleetType":{},"ComputeCapacity":{"shape":"Sy"},"VpcConfig":{"shape":"S10"},"MaxUserDurationInSeconds":{"type":"integer"},"DisconnectTimeoutInSeconds":{"type":"integer"},"Description":{},"DisplayName":{},"EnableDefaultInternetAccess":{"type":"boolean"},"DomainJoinInfo":{"shape":"S15"},"Tags":{"shape":"S16"},"IdleDisconnectTimeoutInSeconds":{"type":"integer"},"IamRoleArn":{},"StreamView":{}}},"output":{"type":"structure","members":{"Fleet":{"shape":"S1b"}}}},"CreateImageBuilder":{"input":{"type":"structure","required":["Name","InstanceType"],"members":{"Name":{},"ImageName":{},"ImageArn":{},"InstanceType":{},"Description":{},"DisplayName":{},"VpcConfig":{"shape":"S10"},"IamRoleArn":{},"EnableDefaultInternetAccess":{"type":"boolean"},"DomainJoinInfo":{"shape":"S15"},"AppstreamAgentVersion":{},"Tags":{"shape":"S16"},"AccessEndpoints":{"shape":"S1j"}}},"output":{"type":"structure","members":{"ImageBuilder":{"shape":"S1n"}}}},"CreateImageBuilderStreamingURL":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Validity":{"type":"long"}}},"output":{"type":"structure","members":{"StreamingURL":{},"Expires":{"type":"timestamp"}}}},"CreateStack":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"DisplayName":{},"StorageConnectors":{"shape":"S1z"},"RedirectURL":{},"FeedbackURL":{},"UserSettings":{"shape":"S27"},"ApplicationSettings":{"shape":"S2b"},"Tags":{"shape":"S16"},"AccessEndpoints":{"shape":"S1j"},"EmbedHostDomains":{"shape":"S2d"}}},"output":{"type":"structure","members":{"Stack":{"shape":"S2g"}}}},"CreateStreamingURL":{"input":{"type":"structure","required":["StackName","FleetName","UserId"],"members":{"StackName":{},"FleetName":{},"UserId":{},"ApplicationId":{},"Validity":{"type":"long"},"SessionContext":{}}},"output":{"type":"structure","members":{"StreamingURL":{},"Expires":{"type":"timestamp"}}}},"CreateUsageReportSubscription":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"S3BucketName":{},"Schedule":{}}}},"CreateUser":{"input":{"type":"structure","required":["UserName","AuthenticationType"],"members":{"UserName":{"shape":"S7"},"MessageAction":{},"FirstName":{"shape":"S2t"},"LastName":{"shape":"S2t"},"AuthenticationType":{}}},"output":{"type":"structure","members":{}}},"DeleteDirectoryConfig":{"input":{"type":"structure","required":["DirectoryName"],"members":{"DirectoryName":{}}},"output":{"type":"structure","members":{}}},"DeleteFleet":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteImage":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Image":{"shape":"S31"}}}},"DeleteImageBuilder":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"ImageBuilder":{"shape":"S1n"}}}},"DeleteImagePermissions":{"input":{"type":"structure","required":["Name","SharedAccountId"],"members":{"Name":{},"SharedAccountId":{}}},"output":{"type":"structure","members":{}}},"DeleteStack":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteUsageReportSubscription":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DeleteUser":{"input":{"type":"structure","required":["UserName","AuthenticationType"],"members":{"UserName":{"shape":"S7"},"AuthenticationType":{}}},"output":{"type":"structure","members":{}}},"DescribeDirectoryConfigs":{"input":{"type":"structure","members":{"DirectoryNames":{"type":"list","member":{}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DirectoryConfigs":{"type":"list","member":{"shape":"St"}},"NextToken":{}}}},"DescribeFleets":{"input":{"type":"structure","members":{"Names":{"shape":"S3q"},"NextToken":{}}},"output":{"type":"structure","members":{"Fleets":{"type":"list","member":{"shape":"S1b"}},"NextToken":{}}}},"DescribeImageBuilders":{"input":{"type":"structure","members":{"Names":{"shape":"S3q"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ImageBuilders":{"type":"list","member":{"shape":"S1n"}},"NextToken":{}}}},"DescribeImagePermissions":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"MaxResults":{"type":"integer"},"SharedAwsAccountIds":{"type":"list","member":{}},"NextToken":{}}},"output":{"type":"structure","members":{"Name":{},"SharedImagePermissionsList":{"type":"list","member":{"type":"structure","required":["sharedAccountId","imagePermissions"],"members":{"sharedAccountId":{},"imagePermissions":{"shape":"S39"}}}},"NextToken":{}}}},"DescribeImages":{"input":{"type":"structure","members":{"Names":{"shape":"S3q"},"Arns":{"type":"list","member":{}},"Type":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Images":{"type":"list","member":{"shape":"S31"}},"NextToken":{}}}},"DescribeSessions":{"input":{"type":"structure","required":["StackName","FleetName"],"members":{"StackName":{},"FleetName":{},"UserId":{},"NextToken":{},"Limit":{"type":"integer"},"AuthenticationType":{}}},"output":{"type":"structure","members":{"Sessions":{"type":"list","member":{"type":"structure","required":["Id","UserId","StackName","FleetName","State"],"members":{"Id":{},"UserId":{},"StackName":{},"FleetName":{},"State":{},"ConnectionState":{},"StartTime":{"type":"timestamp"},"MaxExpirationTime":{"type":"timestamp"},"AuthenticationType":{},"NetworkAccessConfiguration":{"shape":"S1s"}}}},"NextToken":{}}}},"DescribeStacks":{"input":{"type":"structure","members":{"Names":{"shape":"S3q"},"NextToken":{}}},"output":{"type":"structure","members":{"Stacks":{"type":"list","member":{"shape":"S2g"}},"NextToken":{}}}},"DescribeUsageReportSubscriptions":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"UsageReportSubscriptions":{"type":"list","member":{"type":"structure","members":{"S3BucketName":{},"Schedule":{},"LastGeneratedReportDate":{"type":"timestamp"},"SubscriptionErrors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}}}}},"NextToken":{}}}},"DescribeUserStackAssociations":{"input":{"type":"structure","members":{"StackName":{},"UserName":{"shape":"S7"},"AuthenticationType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"UserStackAssociations":{"shape":"S5"},"NextToken":{}}}},"DescribeUsers":{"input":{"type":"structure","required":["AuthenticationType"],"members":{"AuthenticationType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Users":{"type":"list","member":{"type":"structure","required":["AuthenticationType"],"members":{"Arn":{},"UserName":{"shape":"S7"},"Enabled":{"type":"boolean"},"Status":{},"FirstName":{"shape":"S2t"},"LastName":{"shape":"S2t"},"CreatedTime":{"type":"timestamp"},"AuthenticationType":{}}}},"NextToken":{}}}},"DisableUser":{"input":{"type":"structure","required":["UserName","AuthenticationType"],"members":{"UserName":{"shape":"S7"},"AuthenticationType":{}}},"output":{"type":"structure","members":{}}},"DisassociateFleet":{"input":{"type":"structure","required":["FleetName","StackName"],"members":{"FleetName":{},"StackName":{}}},"output":{"type":"structure","members":{}}},"EnableUser":{"input":{"type":"structure","required":["UserName","AuthenticationType"],"members":{"UserName":{"shape":"S7"},"AuthenticationType":{}}},"output":{"type":"structure","members":{}}},"ExpireSession":{"input":{"type":"structure","required":["SessionId"],"members":{"SessionId":{}}},"output":{"type":"structure","members":{}}},"ListAssociatedFleets":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"NextToken":{}}},"output":{"type":"structure","members":{"Names":{"shape":"S3q"},"NextToken":{}}}},"ListAssociatedStacks":{"input":{"type":"structure","required":["FleetName"],"members":{"FleetName":{},"NextToken":{}}},"output":{"type":"structure","members":{"Names":{"shape":"S3q"},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S16"}}}},"StartFleet":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"StartImageBuilder":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"AppstreamAgentVersion":{}}},"output":{"type":"structure","members":{"ImageBuilder":{"shape":"S1n"}}}},"StopFleet":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"StopImageBuilder":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"ImageBuilder":{"shape":"S1n"}}}},"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":{}}},"UpdateDirectoryConfig":{"input":{"type":"structure","required":["DirectoryName"],"members":{"DirectoryName":{},"OrganizationalUnitDistinguishedNames":{"shape":"Sn"},"ServiceAccountCredentials":{"shape":"Sp"}}},"output":{"type":"structure","members":{"DirectoryConfig":{"shape":"St"}}}},"UpdateFleet":{"input":{"type":"structure","members":{"ImageName":{},"ImageArn":{},"Name":{},"InstanceType":{},"ComputeCapacity":{"shape":"Sy"},"VpcConfig":{"shape":"S10"},"MaxUserDurationInSeconds":{"type":"integer"},"DisconnectTimeoutInSeconds":{"type":"integer"},"DeleteVpcConfig":{"deprecated":true,"type":"boolean"},"Description":{},"DisplayName":{},"EnableDefaultInternetAccess":{"type":"boolean"},"DomainJoinInfo":{"shape":"S15"},"IdleDisconnectTimeoutInSeconds":{"type":"integer"},"AttributesToDelete":{"type":"list","member":{}},"IamRoleArn":{},"StreamView":{}}},"output":{"type":"structure","members":{"Fleet":{"shape":"S1b"}}}},"UpdateImagePermissions":{"input":{"type":"structure","required":["Name","SharedAccountId","ImagePermissions"],"members":{"Name":{},"SharedAccountId":{},"ImagePermissions":{"shape":"S39"}}},"output":{"type":"structure","members":{}}},"UpdateStack":{"input":{"type":"structure","required":["Name"],"members":{"DisplayName":{},"Description":{},"Name":{},"StorageConnectors":{"shape":"S1z"},"DeleteStorageConnectors":{"deprecated":true,"type":"boolean"},"RedirectURL":{},"FeedbackURL":{},"AttributesToDelete":{"type":"list","member":{}},"UserSettings":{"shape":"S27"},"ApplicationSettings":{"shape":"S2b"},"AccessEndpoints":{"shape":"S1j"},"EmbedHostDomains":{"shape":"S2d"}}},"output":{"type":"structure","members":{"Stack":{"shape":"S2g"}}}}},"shapes":{"S5":{"type":"list","member":{"shape":"S6"}},"S6":{"type":"structure","required":["StackName","UserName","AuthenticationType"],"members":{"StackName":{},"UserName":{"shape":"S7"},"AuthenticationType":{},"SendEmailNotification":{"type":"boolean"}}},"S7":{"type":"string","sensitive":true},"Sb":{"type":"list","member":{"type":"structure","members":{"UserStackAssociation":{"shape":"S6"},"ErrorCode":{},"ErrorMessage":{}}}},"Sn":{"type":"list","member":{}},"Sp":{"type":"structure","required":["AccountName","AccountPassword"],"members":{"AccountName":{"type":"string","sensitive":true},"AccountPassword":{"type":"string","sensitive":true}}},"St":{"type":"structure","required":["DirectoryName"],"members":{"DirectoryName":{},"OrganizationalUnitDistinguishedNames":{"shape":"Sn"},"ServiceAccountCredentials":{"shape":"Sp"},"CreatedTime":{"type":"timestamp"}}},"Sy":{"type":"structure","required":["DesiredInstances"],"members":{"DesiredInstances":{"type":"integer"}}},"S10":{"type":"structure","members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S15":{"type":"structure","members":{"DirectoryName":{},"OrganizationalUnitDistinguishedName":{}}},"S16":{"type":"map","key":{},"value":{}},"S1b":{"type":"structure","required":["Arn","Name","InstanceType","ComputeCapacityStatus","State"],"members":{"Arn":{},"Name":{},"DisplayName":{},"Description":{},"ImageName":{},"ImageArn":{},"InstanceType":{},"FleetType":{},"ComputeCapacityStatus":{"type":"structure","required":["Desired"],"members":{"Desired":{"type":"integer"},"Running":{"type":"integer"},"InUse":{"type":"integer"},"Available":{"type":"integer"}}},"MaxUserDurationInSeconds":{"type":"integer"},"DisconnectTimeoutInSeconds":{"type":"integer"},"State":{},"VpcConfig":{"shape":"S10"},"CreatedTime":{"type":"timestamp"},"FleetErrors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}},"EnableDefaultInternetAccess":{"type":"boolean"},"DomainJoinInfo":{"shape":"S15"},"IdleDisconnectTimeoutInSeconds":{"type":"integer"},"IamRoleArn":{},"StreamView":{}}},"S1j":{"type":"list","member":{"type":"structure","required":["EndpointType"],"members":{"EndpointType":{},"VpceId":{}}}},"S1n":{"type":"structure","required":["Name"],"members":{"Name":{},"Arn":{},"ImageArn":{},"Description":{},"DisplayName":{},"VpcConfig":{"shape":"S10"},"InstanceType":{},"Platform":{},"IamRoleArn":{},"State":{},"StateChangeReason":{"type":"structure","members":{"Code":{},"Message":{}}},"CreatedTime":{"type":"timestamp"},"EnableDefaultInternetAccess":{"type":"boolean"},"DomainJoinInfo":{"shape":"S15"},"NetworkAccessConfiguration":{"shape":"S1s"},"ImageBuilderErrors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{},"ErrorTimestamp":{"type":"timestamp"}}}},"AppstreamAgentVersion":{},"AccessEndpoints":{"shape":"S1j"}}},"S1s":{"type":"structure","members":{"EniPrivateIpAddress":{},"EniId":{}}},"S1z":{"type":"list","member":{"type":"structure","required":["ConnectorType"],"members":{"ConnectorType":{},"ResourceIdentifier":{},"Domains":{"type":"list","member":{}}}}},"S27":{"type":"list","member":{"type":"structure","required":["Action","Permission"],"members":{"Action":{},"Permission":{}}}},"S2b":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"},"SettingsGroup":{}}},"S2d":{"type":"list","member":{}},"S2g":{"type":"structure","required":["Name"],"members":{"Arn":{},"Name":{},"Description":{},"DisplayName":{},"CreatedTime":{"type":"timestamp"},"StorageConnectors":{"shape":"S1z"},"RedirectURL":{},"FeedbackURL":{},"StackErrors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}},"UserSettings":{"shape":"S27"},"ApplicationSettings":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SettingsGroup":{},"S3BucketName":{}}},"AccessEndpoints":{"shape":"S1j"},"EmbedHostDomains":{"shape":"S2d"}}},"S2t":{"type":"string","sensitive":true},"S31":{"type":"structure","required":["Name"],"members":{"Name":{},"Arn":{},"BaseImageArn":{},"DisplayName":{},"State":{},"Visibility":{},"ImageBuilderSupported":{"type":"boolean"},"ImageBuilderName":{},"Platform":{},"Description":{},"StateChangeReason":{"type":"structure","members":{"Code":{},"Message":{}}},"Applications":{"type":"list","member":{"type":"structure","members":{"Name":{},"DisplayName":{},"IconURL":{},"LaunchPath":{},"LaunchParameters":{},"Enabled":{"type":"boolean"},"Metadata":{"type":"map","key":{},"value":{}}}}},"CreatedTime":{"type":"timestamp"},"PublicBaseImageReleasedDate":{"type":"timestamp"},"AppstreamAgentVersion":{},"ImagePermissions":{"shape":"S39"}}},"S39":{"type":"structure","members":{"allowFleet":{"type":"boolean"},"allowImageBuilder":{"type":"boolean"}}},"S3q":{"type":"list","member":{}}}}; - return { - Expires: expires, - "Key-Pair-Id": keyPairId, - Signature: signPolicy(policy.toString(), privateKey), - }; - }; +/***/ }), - var signWithCustomPolicy = function (policy, keyPairId, privateKey) { - policy = policy.replace(/\s/gm, ""); +/***/ 997: +/***/ (function(module) { - return { - Policy: queryEncode(base64Encode(policy)), - "Key-Pair-Id": keyPairId, - Signature: signPolicy(policy, privateKey), - }; - }; +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":"S18"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"CreateEmailTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/email","responseCode":201},"input":{"type":"structure","members":{"EmailTemplateRequest":{"shape":"S1e"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1g"}},"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":"S1k"}},"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":"S1r"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"CreateJourney":{"http":{"requestUri":"/v1/apps/{application-id}/journeys","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteJourneyRequest":{"shape":"S1u"}},"required":["ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S32"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"CreatePushTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/push","responseCode":201},"input":{"type":"structure","members":{"PushNotificationTemplateRequest":{"shape":"S34"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1g"}},"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":"S3c"}},"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":"S3e"}},"required":["ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S3p"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"CreateSmsTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/sms","responseCode":201},"input":{"type":"structure","members":{"SMSTemplateRequest":{"shape":"S3u"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1g"}},"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":"S3x"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1g"}},"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":"S41"}},"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":"S44"}},"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":"S47"}},"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":"S4a"}},"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":"S4d"}},"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":"S4i"}},"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":"S18"}},"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":"S4n"}},"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":"S4q"}},"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":"S4t"}},"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":"S52"}},"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":"S55"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"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":"S32"}},"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":"S4q"}},"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":"S3c"}},"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":"S3p"}},"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":"S5g"}},"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":"S4q"}},"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":"S5l"}},"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":"S5p"}},"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":"S4q"}},"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":"S41"}},"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":"S44"}},"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":"S47"}},"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":"S4a"}},"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":"S4d"}},"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":"S2w","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":"S2w","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName"]},"output":{"type":"structure","members":{"ApplicationDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S2w"},"KpiName":{},"KpiResult":{"shape":"S67"},"NextToken":{},"StartTime":{"shape":"S2w"}},"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":"S6e"}},"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":"S4i"}},"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":"S18"}},"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":"S2w","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":"S2w","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName","CampaignId"]},"output":{"type":"structure","members":{"CampaignDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"EndTime":{"shape":"S2w"},"KpiName":{},"KpiResult":{"shape":"S67"},"NextToken":{},"StartTime":{"shape":"S2w"}},"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":"S18"}},"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":"S6z"}},"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":"S6z"}},"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":"S4n"}},"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":"S4t"}},"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":"S52"}},"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":"S1k"}},"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":"S7m"}},"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":"S55"}},"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":"S1r"}},"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":"S7u"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"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":"S32"}},"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":"S2w","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":"S2w","location":"querystring","locationName":"start-time"}},"required":["JourneyId","ApplicationId","KpiName"]},"output":{"type":"structure","members":{"JourneyDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S2w"},"JourneyId":{},"KpiName":{},"KpiResult":{"shape":"S67"},"NextToken":{},"StartTime":{"shape":"S2w"}},"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":"S35"},"APNS":{"shape":"S36"},"Arn":{},"Baidu":{"shape":"S35"},"CreationDate":{},"Default":{"shape":"S37"},"DefaultSubstitutions":{},"GCM":{"shape":"S35"},"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":"S3c"}},"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":"S3c"}},"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":"S3p"}},"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":"S7m"}},"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":"S7u"}},"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":"S3p"}},"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":"S8q"}},"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":"S8q"}},"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":"S5g"}},"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":"S5l"}},"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":"S5p"}},"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":"S32"}},"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":"S9c"}},"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":"S52"}},"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":"S4u"},"ChannelType":{},"Demographic":{"shape":"S4w"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S4x"},"Metrics":{"shape":"S4y"},"OptOut":{},"RequestId":{},"User":{"shape":"S4z"}}},"Events":{"type":"map","key":{},"value":{"type":"structure","members":{"AppPackageName":{},"AppTitle":{},"AppVersionCode":{},"Attributes":{"shape":"S4"},"ClientSdkVersion":{},"EventType":{},"Metrics":{"shape":"S4y"},"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":"St"}}}},"required":["AttributeType","ApplicationId","UpdateAttributesRequest"],"payload":"UpdateAttributesRequest"},"output":{"type":"structure","members":{"AttributesResource":{"type":"structure","members":{"ApplicationId":{},"AttributeType":{},"Attributes":{"shape":"St"}},"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":"S4u"},"TitleOverride":{}}}},"Context":{"shape":"S4"},"Endpoints":{"shape":"Sah"},"MessageConfiguration":{"shape":"Saj"},"TemplateConfiguration":{"shape":"S12"},"TraceId":{}},"required":["MessageConfiguration"]}},"required":["ApplicationId","MessageRequest"],"payload":"MessageRequest"},"output":{"type":"structure","members":{"MessageResponse":{"type":"structure","members":{"ApplicationId":{},"EndpointResult":{"shape":"Saz"},"RequestId":{},"Result":{"type":"map","key":{},"value":{"type":"structure","members":{"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}},"required":["ApplicationId"]}},"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":"Saj"},"TemplateConfiguration":{"shape":"S12"},"TraceId":{},"Users":{"shape":"Sah"}},"required":["MessageConfiguration","Users"]}},"required":["ApplicationId","SendUsersMessageRequest"],"payload":"SendUsersMessageRequest"},"output":{"type":"structure","members":{"SendUsersMessageResponse":{"type":"structure","members":{"ApplicationId":{},"RequestId":{},"Result":{"type":"map","key":{},"value":{"shape":"Saz"}}},"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":"S9c"}},"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":"St","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":"S41"}},"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":"S44"}},"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":"S47"}},"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":"S4a"}},"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":"S4d"}},"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":"S14"},"CloudWatchMetricsEnabled":{"type":"boolean"},"EventTaggingEnabled":{"type":"boolean"},"Limits":{"shape":"S16"},"QuietTime":{"shape":"S11"}}}},"required":["ApplicationId","WriteApplicationSettingsRequest"],"payload":"WriteApplicationSettingsRequest"},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6e"}},"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":"S4i"}},"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":"S18"}},"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":"S4n"}},"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":"S1e"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S4q"}},"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":"S4u"},"ChannelType":{},"Demographic":{"shape":"S4w"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S4x"},"Metrics":{"shape":"S4y"},"OptOut":{},"RequestId":{},"User":{"shape":"S4z"}}}},"required":["ApplicationId","EndpointId","EndpointRequest"],"payload":"EndpointRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S4q"}},"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":"S4u"},"ChannelType":{},"Demographic":{"shape":"S4w"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S4x"},"Metrics":{"shape":"S4y"},"OptOut":{},"RequestId":{},"User":{"shape":"S4z"}}}}},"required":["Item"]}},"required":["ApplicationId","EndpointBatchRequest"],"payload":"EndpointBatchRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S4q"}},"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":"S55"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"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":"S1u"}},"required":["JourneyId","ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S32"}},"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":"S32"}},"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":"S34"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S4q"}},"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":"S3c"}},"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":"S3e"}},"required":["SegmentId","ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S3p"}},"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":"S5g"}},"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":"S3u"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S4q"}},"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":"S4q"}},"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":"S5p"}},"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":"S3x"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S4q"}},"required":["MessageBody"],"payload":"MessageBody"}}},"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":"Sn"},"SizePercent":{"type":"integer"},"TemplateConfiguration":{"shape":"S12"},"TreatmentDescription":{},"TreatmentName":{}},"required":["SizePercent"]}},"CustomDeliveryConfiguration":{"shape":"Sb"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S14"},"IsPaused":{"type":"boolean"},"Limits":{"shape":"S16"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sn"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S12"},"TreatmentDescription":{},"TreatmentName":{}}},"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":{},"SenderId":{}}}}},"Sf":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageSmallIconUrl":{},"ImageUrl":{},"JsonBody":{},"MediaUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"Sn":{"type":"structure","members":{"EndTime":{},"EventFilter":{"type":"structure","members":{"Dimensions":{"shape":"Sp"},"FilterType":{}},"required":["FilterType","Dimensions"]},"Frequency":{},"IsLocalTime":{"type":"boolean"},"QuietTime":{"shape":"S11"},"StartTime":{},"Timezone":{}},"required":["StartTime"]},"Sp":{"type":"structure","members":{"Attributes":{"shape":"Sq"},"EventType":{"shape":"Su"},"Metrics":{"shape":"Sw"}}},"Sq":{"type":"map","key":{},"value":{"type":"structure","members":{"AttributeType":{},"Values":{"shape":"St"}},"required":["Values"]}},"St":{"type":"list","member":{}},"Su":{"type":"structure","members":{"DimensionType":{},"Values":{"shape":"St"}},"required":["Values"]},"Sw":{"type":"map","key":{},"value":{"type":"structure","members":{"ComparisonOperator":{},"Value":{"type":"double"}},"required":["ComparisonOperator","Value"]}},"S11":{"type":"structure","members":{"End":{},"Start":{}}},"S12":{"type":"structure","members":{"EmailTemplate":{"shape":"S13"},"PushTemplate":{"shape":"S13"},"SMSTemplate":{"shape":"S13"},"VoiceTemplate":{"shape":"S13"}}},"S13":{"type":"structure","members":{"Name":{},"Version":{}}},"S14":{"type":"structure","members":{"LambdaFunctionName":{},"Mode":{},"WebUrl":{}}},"S16":{"type":"structure","members":{"Daily":{"type":"integer"},"MaximumDuration":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"Total":{"type":"integer"}}},"S18":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"Id":{},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sn"},"SizePercent":{"type":"integer"},"State":{"shape":"S1b"},"TemplateConfiguration":{"shape":"S12"},"TreatmentDescription":{},"TreatmentName":{}},"required":["Id","SizePercent"]}},"ApplicationId":{},"Arn":{},"CreationDate":{},"CustomDeliveryConfiguration":{"shape":"Sb"},"DefaultState":{"shape":"S1b"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S14"},"Id":{},"IsPaused":{"type":"boolean"},"LastModifiedDate":{},"Limits":{"shape":"S16"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sn"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"State":{"shape":"S1b"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S12"},"TreatmentDescription":{},"TreatmentName":{},"Version":{"type":"integer"}},"required":["LastModifiedDate","CreationDate","SegmentId","SegmentVersion","Id","Arn","ApplicationId"]},"S1b":{"type":"structure","members":{"CampaignStatus":{}}},"S1e":{"type":"structure","members":{"DefaultSubstitutions":{},"HtmlPart":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TextPart":{}}},"S1g":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}},"S1k":{"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":"St"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S1r":{"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":"St"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S1u":{"type":"structure","members":{"Activities":{"shape":"S1v"},"CreationDate":{},"LastModifiedDate":{},"Limits":{"shape":"S2u"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S11"},"RefreshFrequency":{},"Schedule":{"shape":"S2v"},"StartActivity":{},"StartCondition":{"shape":"S2x"},"State":{}},"required":["Name"]},"S1v":{"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":"S22"}},"Operator":{}}},"EvaluationWaitTime":{"shape":"S2f"},"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":"S22"},"NextActivity":{}}}},"DefaultActivity":{},"EvaluationWaitTime":{"shape":"S2f"}}},"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":{},"SenderId":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Wait":{"type":"structure","members":{"NextActivity":{},"WaitTime":{"shape":"S2f"}}}}}},"S22":{"type":"structure","members":{"EventCondition":{"type":"structure","members":{"Dimensions":{"shape":"Sp"},"MessageActivity":{}}},"SegmentCondition":{"shape":"S24"},"SegmentDimensions":{"shape":"S25","locationName":"segmentDimensions"}}},"S24":{"type":"structure","members":{"SegmentId":{}},"required":["SegmentId"]},"S25":{"type":"structure","members":{"Attributes":{"shape":"Sq"},"Behavior":{"type":"structure","members":{"Recency":{"type":"structure","members":{"Duration":{},"RecencyType":{}},"required":["Duration","RecencyType"]}}},"Demographic":{"type":"structure","members":{"AppVersion":{"shape":"Su"},"Channel":{"shape":"Su"},"DeviceType":{"shape":"Su"},"Make":{"shape":"Su"},"Model":{"shape":"Su"},"Platform":{"shape":"Su"}}},"Location":{"type":"structure","members":{"Country":{"shape":"Su"},"GPSPoint":{"type":"structure","members":{"Coordinates":{"type":"structure","members":{"Latitude":{"type":"double"},"Longitude":{"type":"double"}},"required":["Latitude","Longitude"]},"RangeInKilometers":{"type":"double"}},"required":["Coordinates"]}}},"Metrics":{"shape":"Sw"},"UserAttributes":{"shape":"Sq"}}},"S2f":{"type":"structure","members":{"WaitFor":{},"WaitUntil":{}}},"S2u":{"type":"structure","members":{"DailyCap":{"type":"integer"},"EndpointReentryCap":{"type":"integer"},"MessagesPerSecond":{"type":"integer"}}},"S2v":{"type":"structure","members":{"EndTime":{"shape":"S2w"},"StartTime":{"shape":"S2w"},"Timezone":{}}},"S2w":{"type":"timestamp","timestampFormat":"iso8601"},"S2x":{"type":"structure","members":{"Description":{},"EventStartCondition":{"type":"structure","members":{"EventFilter":{"type":"structure","members":{"Dimensions":{"shape":"Sp"},"FilterType":{}},"required":["FilterType","Dimensions"]},"SegmentId":{}}},"SegmentStartCondition":{"shape":"S24"}}},"S32":{"type":"structure","members":{"Activities":{"shape":"S1v"},"ApplicationId":{},"CreationDate":{},"Id":{},"LastModifiedDate":{},"Limits":{"shape":"S2u"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S11"},"RefreshFrequency":{},"Schedule":{"shape":"S2v"},"StartActivity":{},"StartCondition":{"shape":"S2x"},"State":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Name","Id","ApplicationId"]},"S34":{"type":"structure","members":{"ADM":{"shape":"S35"},"APNS":{"shape":"S36"},"Baidu":{"shape":"S35"},"Default":{"shape":"S37"},"DefaultSubstitutions":{},"GCM":{"shape":"S35"},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S35":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SmallImageIconUrl":{},"Sound":{},"Title":{},"Url":{}}},"S36":{"type":"structure","members":{"Action":{},"Body":{},"MediaUrl":{},"RawContent":{},"Sound":{},"Title":{},"Url":{}}},"S37":{"type":"structure","members":{"Action":{},"Body":{},"Sound":{},"Title":{},"Url":{}}},"S3c":{"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"]},"S3e":{"type":"structure","members":{"Dimensions":{"shape":"S25"},"Name":{},"SegmentGroups":{"shape":"S3f"},"tags":{"shape":"S4","locationName":"tags"}}},"S3f":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"shape":"S25"}},"SourceSegments":{"type":"list","member":{"type":"structure","members":{"Id":{},"Version":{"type":"integer"}},"required":["Id"]}},"SourceType":{},"Type":{}}}},"Include":{}}},"S3p":{"type":"structure","members":{"ApplicationId":{},"Arn":{},"CreationDate":{},"Dimensions":{"shape":"S25"},"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":"S3f"},"SegmentType":{},"tags":{"shape":"S4","locationName":"tags"},"Version":{"type":"integer"}},"required":["SegmentType","CreationDate","Id","Arn","ApplicationId"]},"S3u":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S3x":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"LanguageCode":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"VoiceId":{}}},"S41":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S44":{"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"]},"S47":{"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"]},"S4a":{"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"]},"S4d":{"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"]},"S4i":{"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"]},"S4n":{"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"]},"S4q":{"type":"structure","members":{"Message":{},"RequestID":{}}},"S4t":{"type":"structure","members":{"Address":{},"ApplicationId":{},"Attributes":{"shape":"S4u"},"ChannelType":{},"CohortId":{},"CreationDate":{},"Demographic":{"shape":"S4w"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S4x"},"Metrics":{"shape":"S4y"},"OptOut":{},"RequestId":{},"User":{"shape":"S4z"}}},"S4u":{"type":"map","key":{},"value":{"shape":"St"}},"S4w":{"type":"structure","members":{"AppVersion":{},"Locale":{},"Make":{},"Model":{},"ModelVersion":{},"Platform":{},"PlatformVersion":{},"Timezone":{}}},"S4x":{"type":"structure","members":{"City":{},"Country":{},"Latitude":{"type":"double"},"Longitude":{"type":"double"},"PostalCode":{},"Region":{}}},"S4y":{"type":"map","key":{},"value":{"type":"double"}},"S4z":{"type":"structure","members":{"UserAttributes":{"shape":"S4u"},"UserId":{}}},"S52":{"type":"structure","members":{"ApplicationId":{},"DestinationStreamArn":{},"ExternalId":{},"LastModifiedDate":{},"LastUpdatedBy":{},"RoleArn":{}},"required":["ApplicationId","RoleArn","DestinationStreamArn"]},"S55":{"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"]},"S5g":{"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"]},"S5l":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S4t"}}},"required":["Item"]},"S5p":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S67":{"type":"structure","members":{"Rows":{"type":"list","member":{"type":"structure","members":{"GroupedBys":{"shape":"S6a"},"Values":{"shape":"S6a"}},"required":["GroupedBys","Values"]}}},"required":["Rows"]},"S6a":{"type":"list","member":{"type":"structure","members":{"Key":{},"Type":{},"Value":{}},"required":["Type","Value","Key"]}},"S6e":{"type":"structure","members":{"ApplicationId":{},"CampaignHook":{"shape":"S14"},"LastModifiedDate":{},"Limits":{"shape":"S16"},"QuietTime":{"shape":"S11"}},"required":["ApplicationId"]},"S6z":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S18"}},"NextToken":{}},"required":["Item"]},"S7m":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1k"}},"NextToken":{}},"required":["Item"]},"S7u":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1r"}},"NextToken":{}},"required":["Item"]},"S8q":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3p"}},"NextToken":{}},"required":["Item"]},"S9c":{"type":"structure","members":{"tags":{"shape":"S4","locationName":"tags"}},"required":["tags"]},"Sah":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S4u"},"TitleOverride":{}}}},"Saj":{"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":"S4u"},"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":"S4u"},"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":"S4u"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"DefaultMessage":{"type":"structure","members":{"Body":{},"Substitutions":{"shape":"S4u"}}},"DefaultPushNotificationMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"SilentPush":{"type":"boolean"},"Substitutions":{"shape":"S4u"},"Title":{},"Url":{}}},"EmailMessage":{"type":"structure","members":{"Body":{},"FeedbackForwardingAddress":{},"FromAddress":{},"RawEmail":{"type":"structure","members":{"Data":{"type":"blob"}}},"ReplyToAddresses":{"shape":"St"},"SimpleEmail":{"type":"structure","members":{"HtmlPart":{"shape":"Sat"},"Subject":{"shape":"Sat"},"TextPart":{"shape":"Sat"}}},"Substitutions":{"shape":"S4u"}}},"GCMMessage":{"type":"structure","members":{"Action":{},"Body":{},"CollapseKey":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"Priority":{},"RawContent":{},"RestrictedPackageName":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S4u"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"SMSMessage":{"type":"structure","members":{"Body":{},"Keyword":{},"MediaUrl":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"Substitutions":{"shape":"S4u"}}},"VoiceMessage":{"type":"structure","members":{"Body":{},"LanguageCode":{},"OriginationNumber":{},"Substitutions":{"shape":"S4u"},"VoiceId":{}}}}},"Sat":{"type":"structure","members":{"Charset":{},"Data":{}}},"Saz":{"type":"map","key":{},"value":{"type":"structure","members":{"Address":{},"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}}}; - var determineScheme = function (url) { - var parts = url.split("://"); - if (parts.length < 2) { - throw new Error("Invalid URL."); - } +/***/ }), - return parts[0].replace("*", ""); - }; +/***/ 1009: +/***/ (function(module) { - var getRtmpUrl = function (rtmpUrl) { - var parsed = url.parse(rtmpUrl); - return parsed.path.replace(/^\//, "") + (parsed.hash || ""); - }; +module.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"},"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"}}}; - var getResource = function (url) { - switch (determineScheme(url)) { - case "http": - case "https": - return url; - case "rtmp": - return getRtmpUrl(url); - default: - throw new Error( - "Invalid URI scheme. Scheme must be one of" + - " http, https, or rtmp" - ); - } - }; +/***/ }), - var handleError = function (err, callback) { - if (!callback || typeof callback !== "function") { - throw err; - } +/***/ 1010: +/***/ (function(module) { - callback(err); - }; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2013-04-15","endpointPrefix":"support","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Support","serviceId":"Support","signatureVersion":"v4","targetPrefix":"AWSSupport_20130415","uid":"support-2013-04-15"},"operations":{"AddAttachmentsToSet":{"input":{"type":"structure","required":["attachments"],"members":{"attachmentSetId":{},"attachments":{"type":"list","member":{"shape":"S4"}}}},"output":{"type":"structure","members":{"attachmentSetId":{},"expiryTime":{}}}},"AddCommunicationToCase":{"input":{"type":"structure","required":["communicationBody"],"members":{"caseId":{},"communicationBody":{},"ccEmailAddresses":{"shape":"Sc"},"attachmentSetId":{}}},"output":{"type":"structure","members":{"result":{"type":"boolean"}}}},"CreateCase":{"input":{"type":"structure","required":["subject","communicationBody"],"members":{"subject":{},"serviceCode":{},"severityCode":{},"categoryCode":{},"communicationBody":{},"ccEmailAddresses":{"shape":"Sc"},"language":{},"issueType":{},"attachmentSetId":{}}},"output":{"type":"structure","members":{"caseId":{}}}},"DescribeAttachment":{"input":{"type":"structure","required":["attachmentId"],"members":{"attachmentId":{}}},"output":{"type":"structure","members":{"attachment":{"shape":"S4"}}}},"DescribeCases":{"input":{"type":"structure","members":{"caseIdList":{"type":"list","member":{}},"displayId":{},"afterTime":{},"beforeTime":{},"includeResolvedCases":{"type":"boolean"},"nextToken":{},"maxResults":{"type":"integer"},"language":{},"includeCommunications":{"type":"boolean"}}},"output":{"type":"structure","members":{"cases":{"type":"list","member":{"type":"structure","members":{"caseId":{},"displayId":{},"subject":{},"status":{},"serviceCode":{},"categoryCode":{},"severityCode":{},"submittedBy":{},"timeCreated":{},"recentCommunications":{"type":"structure","members":{"communications":{"shape":"S17"},"nextToken":{}}},"ccEmailAddresses":{"shape":"Sc"},"language":{}}}},"nextToken":{}}}},"DescribeCommunications":{"input":{"type":"structure","required":["caseId"],"members":{"caseId":{},"beforeTime":{},"afterTime":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"communications":{"shape":"S17"},"nextToken":{}}}},"DescribeServices":{"input":{"type":"structure","members":{"serviceCodeList":{"type":"list","member":{}},"language":{}}},"output":{"type":"structure","members":{"services":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{},"categories":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{}}}}}}}}}},"DescribeSeverityLevels":{"input":{"type":"structure","members":{"language":{}}},"output":{"type":"structure","members":{"severityLevels":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{}}}}}}},"DescribeTrustedAdvisorCheckRefreshStatuses":{"input":{"type":"structure","required":["checkIds"],"members":{"checkIds":{"shape":"S1t"}}},"output":{"type":"structure","required":["statuses"],"members":{"statuses":{"type":"list","member":{"shape":"S1x"}}}}},"DescribeTrustedAdvisorCheckResult":{"input":{"type":"structure","required":["checkId"],"members":{"checkId":{},"language":{}}},"output":{"type":"structure","members":{"result":{"type":"structure","required":["checkId","timestamp","status","resourcesSummary","categorySpecificSummary","flaggedResources"],"members":{"checkId":{},"timestamp":{},"status":{},"resourcesSummary":{"shape":"S22"},"categorySpecificSummary":{"shape":"S23"},"flaggedResources":{"type":"list","member":{"type":"structure","required":["status","resourceId","metadata"],"members":{"status":{},"region":{},"resourceId":{},"isSuppressed":{"type":"boolean"},"metadata":{"shape":"S1t"}}}}}}}}},"DescribeTrustedAdvisorCheckSummaries":{"input":{"type":"structure","required":["checkIds"],"members":{"checkIds":{"shape":"S1t"}}},"output":{"type":"structure","required":["summaries"],"members":{"summaries":{"type":"list","member":{"type":"structure","required":["checkId","timestamp","status","resourcesSummary","categorySpecificSummary"],"members":{"checkId":{},"timestamp":{},"status":{},"hasFlaggedResources":{"type":"boolean"},"resourcesSummary":{"shape":"S22"},"categorySpecificSummary":{"shape":"S23"}}}}}}},"DescribeTrustedAdvisorChecks":{"input":{"type":"structure","required":["language"],"members":{"language":{}}},"output":{"type":"structure","required":["checks"],"members":{"checks":{"type":"list","member":{"type":"structure","required":["id","name","description","category","metadata"],"members":{"id":{},"name":{},"description":{},"category":{},"metadata":{"shape":"S1t"}}}}}}},"RefreshTrustedAdvisorCheck":{"input":{"type":"structure","required":["checkId"],"members":{"checkId":{}}},"output":{"type":"structure","required":["status"],"members":{"status":{"shape":"S1x"}}}},"ResolveCase":{"input":{"type":"structure","members":{"caseId":{}}},"output":{"type":"structure","members":{"initialCaseStatus":{},"finalCaseStatus":{}}}}},"shapes":{"S4":{"type":"structure","members":{"fileName":{},"data":{"type":"blob"}}},"Sc":{"type":"list","member":{}},"S17":{"type":"list","member":{"type":"structure","members":{"caseId":{},"body":{},"submittedBy":{},"timeCreated":{},"attachmentSet":{"type":"list","member":{"type":"structure","members":{"attachmentId":{},"fileName":{}}}}}}},"S1t":{"type":"list","member":{}},"S1x":{"type":"structure","required":["checkId","status","millisUntilNextRefreshable"],"members":{"checkId":{},"status":{},"millisUntilNextRefreshable":{"type":"long"}}},"S22":{"type":"structure","required":["resourcesProcessed","resourcesFlagged","resourcesIgnored","resourcesSuppressed"],"members":{"resourcesProcessed":{"type":"long"},"resourcesFlagged":{"type":"long"},"resourcesIgnored":{"type":"long"},"resourcesSuppressed":{"type":"long"}}},"S23":{"type":"structure","members":{"costOptimizing":{"type":"structure","required":["estimatedMonthlySavings","estimatedPercentMonthlySavings"],"members":{"estimatedMonthlySavings":{"type":"double"},"estimatedPercentMonthlySavings":{"type":"double"}}}}}}}; - var handleSuccess = function (result, callback) { - if (!callback || typeof callback !== "function") { - return result; - } +/***/ }), - callback(null, result); - }; +/***/ 1015: +/***/ (function(module, __unusedexports, __webpack_require__) { - AWS.CloudFront.Signer = inherit({ - /** - * A signer object can be used to generate signed URLs and cookies for granting - * access to content on restricted CloudFront distributions. - * - * @see http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html - * - * @param keyPairId [String] (Required) The ID of the CloudFront key pair - * being used. - * @param privateKey [String] (Required) A private key in RSA format. - */ - constructor: function Signer(keyPairId, privateKey) { - if (keyPairId === void 0 || privateKey === void 0) { - throw new Error("A key pair ID and private key are required"); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - this.keyPairId = keyPairId; - this.privateKey = privateKey; - }, - - /** - * Create a signed Amazon CloudFront Cookie. - * - * @param options [Object] The options to create a signed cookie. - * @option options url [String] The URL to which the signature will grant - * access. Required unless you pass in a full - * policy. - * @option options expires [Number] A Unix UTC timestamp indicating when the - * signature should expire. Required unless you - * pass in a full policy. - * @option options policy [String] A CloudFront JSON policy. Required unless - * you pass in a url and an expiry time. - * - * @param cb [Function] if a callback is provided, this function will - * pass the hash as the second parameter (after the error parameter) to - * the callback function. - * - * @return [Object] if called synchronously (with no callback), returns the - * signed cookie parameters. - * @return [null] nothing is returned if a callback is provided. - */ - getSignedCookie: function (options, cb) { - var signatureHash = - "policy" in options - ? signWithCustomPolicy( - options.policy, - this.keyPairId, - this.privateKey - ) - : signWithCannedPolicy( - options.url, - options.expires, - this.keyPairId, - this.privateKey - ); - - var cookieHash = {}; - for (var key in signatureHash) { - if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { - cookieHash["CloudFront-" + key] = signatureHash[key]; - } - } +apiLoader.services['xray'] = {}; +AWS.XRay = Service.defineService('xray', ['2016-04-12']); +Object.defineProperty(apiLoader.services['xray'], '2016-04-12', { + get: function get() { + var model = __webpack_require__(5840); + model.paginators = __webpack_require__(5093).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - return handleSuccess(cookieHash, cb); - }, - - /** - * Create a signed Amazon CloudFront URL. - * - * Keep in mind that URLs meant for use in media/flash players may have - * different requirements for URL formats (e.g. some require that the - * extension be removed, some require the file name to be prefixed - * - mp4:, some require you to add "/cfx/st" into your URL). - * - * @param options [Object] The options to create a signed URL. - * @option options url [String] The URL to which the signature will grant - * access. Any query params included with - * the URL should be encoded. Required. - * @option options expires [Number] A Unix UTC timestamp indicating when the - * signature should expire. Required unless you - * pass in a full policy. - * @option options policy [String] A CloudFront JSON policy. Required unless - * you pass in a url and an expiry time. - * - * @param cb [Function] if a callback is provided, this function will - * pass the URL as the second parameter (after the error parameter) to - * the callback function. - * - * @return [String] if called synchronously (with no callback), returns the - * signed URL. - * @return [null] nothing is returned if a callback is provided. - */ - getSignedUrl: function (options, cb) { - try { - var resource = getResource(options.url); - } catch (err) { - return handleError(err, cb); - } +module.exports = AWS.XRay; - var parsedUrl = url.parse(options.url, true), - signatureHash = Object.prototype.hasOwnProperty.call( - options, - "policy" - ) - ? signWithCustomPolicy( - options.policy, - this.keyPairId, - this.privateKey - ) - : signWithCannedPolicy( - resource, - options.expires, - this.keyPairId, - this.privateKey - ); - - parsedUrl.search = null; - for (var key in signatureHash) { - if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { - parsedUrl.query[key] = signatureHash[key]; - } - } - try { - var signedUrl = - determineScheme(options.url) === "rtmp" - ? getRtmpUrl(url.format(parsedUrl)) - : url.format(parsedUrl); - } catch (err) { - return handleError(err, cb); - } +/***/ }), - return handleSuccess(signedUrl, cb); - }, - }); +/***/ 1018: +/***/ (function() { - /** - * @api private - */ - module.exports = AWS.CloudFront.Signer; +eval("require")("encoding"); - /***/ - }, - /***/ 1656: /***/ function (module) { - module.exports = { - pagination: { - 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", - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1032: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 1657: /***/ function (module) { - module.exports = { pagination: {} }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['pi'] = {}; +AWS.PI = Service.defineService('pi', ['2018-02-27']); +Object.defineProperty(apiLoader.services['pi'], '2018-02-27', { + get: function get() { + var model = __webpack_require__(2490); + model.paginators = __webpack_require__(6202).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 1659: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-11-25", - endpointPrefix: "cloudfront", - globalEndpoint: "cloudfront.amazonaws.com", - protocol: "rest-xml", - serviceAbbreviation: "CloudFront", - serviceFullName: "Amazon CloudFront", - serviceId: "CloudFront", - signatureVersion: "v4", - uid: "cloudfront-2016-11-25", - }, - operations: { - CreateCloudFrontOriginAccessIdentity: { - http: { - requestUri: "/2016-11-25/origin-access-identity/cloudfront", - responseCode: 201, - }, - input: { - type: "structure", - required: ["CloudFrontOriginAccessIdentityConfig"], - members: { - CloudFrontOriginAccessIdentityConfig: { - shape: "S2", - locationName: "CloudFrontOriginAccessIdentityConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - }, - payload: "CloudFrontOriginAccessIdentityConfig", - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentity: { shape: "S5" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentity", - }, - }, - CreateDistribution: { - http: { requestUri: "/2016-11-25/distribution", responseCode: 201 }, - input: { - type: "structure", - required: ["DistributionConfig"], - members: { - DistributionConfig: { - shape: "S7", - locationName: "DistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - }, - payload: "DistributionConfig", - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - CreateDistributionWithTags: { - http: { - requestUri: "/2016-11-25/distribution?WithTags", - responseCode: 201, - }, - input: { - type: "structure", - required: ["DistributionConfigWithTags"], - members: { - DistributionConfigWithTags: { - locationName: "DistributionConfigWithTags", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - type: "structure", - required: ["DistributionConfig", "Tags"], - members: { - DistributionConfig: { shape: "S7" }, - Tags: { shape: "S21" }, - }, - }, - }, - payload: "DistributionConfigWithTags", - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - CreateInvalidation: { - http: { - requestUri: - "/2016-11-25/distribution/{DistributionId}/invalidation", - responseCode: 201, - }, - input: { - type: "structure", - required: ["DistributionId", "InvalidationBatch"], - members: { - DistributionId: { - location: "uri", - locationName: "DistributionId", - }, - InvalidationBatch: { - shape: "S28", - locationName: "InvalidationBatch", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - }, - payload: "InvalidationBatch", - }, - output: { - type: "structure", - members: { - Location: { location: "header", locationName: "Location" }, - Invalidation: { shape: "S2c" }, - }, - payload: "Invalidation", - }, - }, - CreateStreamingDistribution: { - http: { - requestUri: "/2016-11-25/streaming-distribution", - responseCode: 201, - }, - input: { - type: "structure", - required: ["StreamingDistributionConfig"], - members: { - StreamingDistributionConfig: { - shape: "S2e", - locationName: "StreamingDistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - }, - payload: "StreamingDistributionConfig", - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, - CreateStreamingDistributionWithTags: { - http: { - requestUri: "/2016-11-25/streaming-distribution?WithTags", - responseCode: 201, - }, - input: { - type: "structure", - required: ["StreamingDistributionConfigWithTags"], - members: { - StreamingDistributionConfigWithTags: { - locationName: "StreamingDistributionConfigWithTags", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - type: "structure", - required: ["StreamingDistributionConfig", "Tags"], - members: { - StreamingDistributionConfig: { shape: "S2e" }, - Tags: { shape: "S21" }, - }, - }, - }, - payload: "StreamingDistributionConfigWithTags", - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - Location: { location: "header", locationName: "Location" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, - DeleteCloudFrontOriginAccessIdentity: { - http: { - method: "DELETE", - requestUri: "/2016-11-25/origin-access-identity/cloudfront/{Id}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Id"], - members: { - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - }, - }, - DeleteDistribution: { - http: { - method: "DELETE", - requestUri: "/2016-11-25/distribution/{Id}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Id"], - members: { - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - }, - }, - DeleteStreamingDistribution: { - http: { - method: "DELETE", - requestUri: "/2016-11-25/streaming-distribution/{Id}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Id"], - members: { - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - }, - }, - GetCloudFrontOriginAccessIdentity: { - http: { - method: "GET", - requestUri: "/2016-11-25/origin-access-identity/cloudfront/{Id}", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentity: { shape: "S5" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentity", - }, - }, - GetCloudFrontOriginAccessIdentityConfig: { - http: { - method: "GET", - requestUri: - "/2016-11-25/origin-access-identity/cloudfront/{Id}/config", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentityConfig: { shape: "S2" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentityConfig", - }, - }, - GetDistribution: { - http: { - method: "GET", - requestUri: "/2016-11-25/distribution/{Id}", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - GetDistributionConfig: { - http: { - method: "GET", - requestUri: "/2016-11-25/distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - DistributionConfig: { shape: "S7" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "DistributionConfig", - }, - }, - GetInvalidation: { - http: { - method: "GET", - requestUri: - "/2016-11-25/distribution/{DistributionId}/invalidation/{Id}", - }, - input: { - type: "structure", - required: ["DistributionId", "Id"], - members: { - DistributionId: { - location: "uri", - locationName: "DistributionId", - }, - Id: { location: "uri", locationName: "Id" }, - }, - }, - output: { - type: "structure", - members: { Invalidation: { shape: "S2c" } }, - payload: "Invalidation", - }, - }, - GetStreamingDistribution: { - http: { - method: "GET", - requestUri: "/2016-11-25/streaming-distribution/{Id}", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, - GetStreamingDistributionConfig: { - http: { - method: "GET", - requestUri: "/2016-11-25/streaming-distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["Id"], - members: { Id: { location: "uri", locationName: "Id" } }, - }, - output: { - type: "structure", - members: { - StreamingDistributionConfig: { shape: "S2e" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistributionConfig", - }, - }, - ListCloudFrontOriginAccessIdentities: { - http: { - method: "GET", - requestUri: "/2016-11-25/origin-access-identity/cloudfront", - }, - input: { - type: "structure", - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentityList: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "CloudFrontOriginAccessIdentitySummary", - type: "structure", - required: ["Id", "S3CanonicalUserId", "Comment"], - members: { Id: {}, S3CanonicalUserId: {}, Comment: {} }, - }, - }, - }, - }, - }, - payload: "CloudFrontOriginAccessIdentityList", - }, - }, - ListDistributions: { - http: { method: "GET", requestUri: "/2016-11-25/distribution" }, - input: { - type: "structure", - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { DistributionList: { shape: "S3a" } }, - payload: "DistributionList", - }, - }, - ListDistributionsByWebACLId: { - http: { - method: "GET", - requestUri: "/2016-11-25/distributionsByWebACLId/{WebACLId}", - }, - input: { - type: "structure", - required: ["WebACLId"], - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - WebACLId: { location: "uri", locationName: "WebACLId" }, - }, - }, - output: { - type: "structure", - members: { DistributionList: { shape: "S3a" } }, - payload: "DistributionList", - }, - }, - ListInvalidations: { - http: { - method: "GET", - requestUri: - "/2016-11-25/distribution/{DistributionId}/invalidation", - }, - input: { - type: "structure", - required: ["DistributionId"], - members: { - DistributionId: { - location: "uri", - locationName: "DistributionId", - }, - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { - InvalidationList: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "InvalidationSummary", - type: "structure", - required: ["Id", "CreateTime", "Status"], - members: { - Id: {}, - CreateTime: { type: "timestamp" }, - Status: {}, - }, - }, - }, - }, - }, - }, - payload: "InvalidationList", - }, - }, - ListStreamingDistributions: { - http: { - method: "GET", - requestUri: "/2016-11-25/streaming-distribution", - }, - input: { - type: "structure", - members: { - Marker: { location: "querystring", locationName: "Marker" }, - MaxItems: { location: "querystring", locationName: "MaxItems" }, - }, - }, - output: { - type: "structure", - members: { - StreamingDistributionList: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "StreamingDistributionSummary", - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "S3Origin", - "Aliases", - "TrustedSigners", - "Comment", - "PriceClass", - "Enabled", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - DomainName: {}, - S3Origin: { shape: "S2f" }, - Aliases: { shape: "S8" }, - TrustedSigners: { shape: "Sy" }, - Comment: {}, - PriceClass: {}, - Enabled: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - payload: "StreamingDistributionList", - }, - }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/2016-11-25/tagging" }, - input: { - type: "structure", - required: ["Resource"], - members: { - Resource: { location: "querystring", locationName: "Resource" }, - }, - }, - output: { - type: "structure", - required: ["Tags"], - members: { Tags: { shape: "S21" } }, - payload: "Tags", - }, - }, - TagResource: { - http: { - requestUri: "/2016-11-25/tagging?Operation=Tag", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Resource", "Tags"], - members: { - Resource: { location: "querystring", locationName: "Resource" }, - Tags: { - shape: "S21", - locationName: "Tags", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - }, - payload: "Tags", - }, - }, - UntagResource: { - http: { - requestUri: "/2016-11-25/tagging?Operation=Untag", - responseCode: 204, - }, - input: { - type: "structure", - required: ["Resource", "TagKeys"], - members: { - Resource: { location: "querystring", locationName: "Resource" }, - TagKeys: { - locationName: "TagKeys", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - type: "structure", - members: { - Items: { type: "list", member: { locationName: "Key" } }, - }, - }, - }, - payload: "TagKeys", - }, - }, - UpdateCloudFrontOriginAccessIdentity: { - http: { - method: "PUT", - requestUri: - "/2016-11-25/origin-access-identity/cloudfront/{Id}/config", - }, - input: { - type: "structure", - required: ["CloudFrontOriginAccessIdentityConfig", "Id"], - members: { - CloudFrontOriginAccessIdentityConfig: { - shape: "S2", - locationName: "CloudFrontOriginAccessIdentityConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - payload: "CloudFrontOriginAccessIdentityConfig", - }, - output: { - type: "structure", - members: { - CloudFrontOriginAccessIdentity: { shape: "S5" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "CloudFrontOriginAccessIdentity", - }, - }, - UpdateDistribution: { - http: { - method: "PUT", - requestUri: "/2016-11-25/distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["DistributionConfig", "Id"], - members: { - DistributionConfig: { - shape: "S7", - locationName: "DistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - payload: "DistributionConfig", - }, - output: { - type: "structure", - members: { - Distribution: { shape: "S1s" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "Distribution", - }, - }, - UpdateStreamingDistribution: { - http: { - method: "PUT", - requestUri: "/2016-11-25/streaming-distribution/{Id}/config", - }, - input: { - type: "structure", - required: ["StreamingDistributionConfig", "Id"], - members: { - StreamingDistributionConfig: { - shape: "S2e", - locationName: "StreamingDistributionConfig", - xmlNamespace: { - uri: "http://cloudfront.amazonaws.com/doc/2016-11-25/", - }, - }, - Id: { location: "uri", locationName: "Id" }, - IfMatch: { location: "header", locationName: "If-Match" }, - }, - payload: "StreamingDistributionConfig", - }, - output: { - type: "structure", - members: { - StreamingDistribution: { shape: "S2i" }, - ETag: { location: "header", locationName: "ETag" }, - }, - payload: "StreamingDistribution", - }, - }, - }, - shapes: { - S2: { - type: "structure", - required: ["CallerReference", "Comment"], - members: { CallerReference: {}, Comment: {} }, - }, - S5: { - type: "structure", - required: ["Id", "S3CanonicalUserId"], - members: { - Id: {}, - S3CanonicalUserId: {}, - CloudFrontOriginAccessIdentityConfig: { shape: "S2" }, - }, - }, - S7: { - type: "structure", - required: [ - "CallerReference", - "Origins", - "DefaultCacheBehavior", - "Comment", - "Enabled", - ], - members: { - CallerReference: {}, - Aliases: { shape: "S8" }, - DefaultRootObject: {}, - Origins: { shape: "Sb" }, - DefaultCacheBehavior: { shape: "Sn" }, - CacheBehaviors: { shape: "S1a" }, - CustomErrorResponses: { shape: "S1d" }, - Comment: {}, - Logging: { - type: "structure", - required: ["Enabled", "IncludeCookies", "Bucket", "Prefix"], - members: { - Enabled: { type: "boolean" }, - IncludeCookies: { type: "boolean" }, - Bucket: {}, - Prefix: {}, - }, - }, - PriceClass: {}, - Enabled: { type: "boolean" }, - ViewerCertificate: { shape: "S1i" }, - Restrictions: { shape: "S1m" }, - WebACLId: {}, - HttpVersion: {}, - IsIPV6Enabled: { type: "boolean" }, - }, - }, - S8: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "CNAME" } }, - }, - }, - Sb: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "Origin", - type: "structure", - required: ["Id", "DomainName"], - members: { - Id: {}, - DomainName: {}, - OriginPath: {}, - CustomHeaders: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "OriginCustomHeader", - type: "structure", - required: ["HeaderName", "HeaderValue"], - members: { HeaderName: {}, HeaderValue: {} }, - }, - }, - }, - }, - S3OriginConfig: { - type: "structure", - required: ["OriginAccessIdentity"], - members: { OriginAccessIdentity: {} }, - }, - CustomOriginConfig: { - type: "structure", - required: [ - "HTTPPort", - "HTTPSPort", - "OriginProtocolPolicy", - ], - members: { - HTTPPort: { type: "integer" }, - HTTPSPort: { type: "integer" }, - OriginProtocolPolicy: {}, - OriginSslProtocols: { - type: "structure", - required: ["Quantity", "Items"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { locationName: "SslProtocol" }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - Sn: { - type: "structure", - required: [ - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL", - ], - members: { - TargetOriginId: {}, - ForwardedValues: { shape: "So" }, - TrustedSigners: { shape: "Sy" }, - ViewerProtocolPolicy: {}, - MinTTL: { type: "long" }, - AllowedMethods: { shape: "S12" }, - SmoothStreaming: { type: "boolean" }, - DefaultTTL: { type: "long" }, - MaxTTL: { type: "long" }, - Compress: { type: "boolean" }, - LambdaFunctionAssociations: { shape: "S16" }, - }, - }, - So: { - type: "structure", - required: ["QueryString", "Cookies"], - members: { - QueryString: { type: "boolean" }, - Cookies: { - type: "structure", - required: ["Forward"], - members: { - Forward: {}, - WhitelistedNames: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Name" } }, - }, - }, - }, - }, - Headers: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Name" } }, - }, - }, - QueryStringCacheKeys: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Name" } }, - }, - }, - }, - }, - Sy: { - type: "structure", - required: ["Enabled", "Quantity"], - members: { - Enabled: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { locationName: "AwsAccountNumber" }, - }, - }, - }, - S12: { - type: "structure", - required: ["Quantity", "Items"], - members: { - Quantity: { type: "integer" }, - Items: { shape: "S13" }, - CachedMethods: { - type: "structure", - required: ["Quantity", "Items"], - members: { - Quantity: { type: "integer" }, - Items: { shape: "S13" }, - }, - }, - }, - }, - S13: { type: "list", member: { locationName: "Method" } }, - S16: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "LambdaFunctionAssociation", - type: "structure", - members: { LambdaFunctionARN: {}, EventType: {} }, - }, - }, - }, - }, - S1a: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "CacheBehavior", - type: "structure", - required: [ - "PathPattern", - "TargetOriginId", - "ForwardedValues", - "TrustedSigners", - "ViewerProtocolPolicy", - "MinTTL", - ], - members: { - PathPattern: {}, - TargetOriginId: {}, - ForwardedValues: { shape: "So" }, - TrustedSigners: { shape: "Sy" }, - ViewerProtocolPolicy: {}, - MinTTL: { type: "long" }, - AllowedMethods: { shape: "S12" }, - SmoothStreaming: { type: "boolean" }, - DefaultTTL: { type: "long" }, - MaxTTL: { type: "long" }, - Compress: { type: "boolean" }, - LambdaFunctionAssociations: { shape: "S16" }, - }, - }, - }, - }, - }, - S1d: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "CustomErrorResponse", - type: "structure", - required: ["ErrorCode"], - members: { - ErrorCode: { type: "integer" }, - ResponsePagePath: {}, - ResponseCode: {}, - ErrorCachingMinTTL: { type: "long" }, - }, - }, - }, - }, - }, - S1i: { - type: "structure", - members: { - CloudFrontDefaultCertificate: { type: "boolean" }, - IAMCertificateId: {}, - ACMCertificateArn: {}, - SSLSupportMethod: {}, - MinimumProtocolVersion: {}, - Certificate: { deprecated: true }, - CertificateSource: { deprecated: true }, - }, - }, - S1m: { - type: "structure", - required: ["GeoRestriction"], - members: { - GeoRestriction: { - type: "structure", - required: ["RestrictionType", "Quantity"], - members: { - RestrictionType: {}, - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Location" } }, - }, - }, - }, - }, - S1s: { - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "InProgressInvalidationBatches", - "DomainName", - "ActiveTrustedSigners", - "DistributionConfig", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - InProgressInvalidationBatches: { type: "integer" }, - DomainName: {}, - ActiveTrustedSigners: { shape: "S1u" }, - DistributionConfig: { shape: "S7" }, - }, - }, - S1u: { - type: "structure", - required: ["Enabled", "Quantity"], - members: { - Enabled: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "Signer", - type: "structure", - members: { - AwsAccountNumber: {}, - KeyPairIds: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { locationName: "KeyPairId" }, - }, - }, - }, - }, - }, - }, - }, - }, - S21: { - type: "structure", - members: { - Items: { - type: "list", - member: { - locationName: "Tag", - type: "structure", - required: ["Key"], - members: { Key: {}, Value: {} }, - }, - }, - }, - }, - S28: { - type: "structure", - required: ["Paths", "CallerReference"], - members: { - Paths: { - type: "structure", - required: ["Quantity"], - members: { - Quantity: { type: "integer" }, - Items: { type: "list", member: { locationName: "Path" } }, - }, - }, - CallerReference: {}, - }, - }, - S2c: { - type: "structure", - required: ["Id", "Status", "CreateTime", "InvalidationBatch"], - members: { - Id: {}, - Status: {}, - CreateTime: { type: "timestamp" }, - InvalidationBatch: { shape: "S28" }, - }, - }, - S2e: { - type: "structure", - required: [ - "CallerReference", - "S3Origin", - "Comment", - "TrustedSigners", - "Enabled", - ], - members: { - CallerReference: {}, - S3Origin: { shape: "S2f" }, - Aliases: { shape: "S8" }, - Comment: {}, - Logging: { - type: "structure", - required: ["Enabled", "Bucket", "Prefix"], - members: { - Enabled: { type: "boolean" }, - Bucket: {}, - Prefix: {}, - }, - }, - TrustedSigners: { shape: "Sy" }, - PriceClass: {}, - Enabled: { type: "boolean" }, - }, - }, - S2f: { - type: "structure", - required: ["DomainName", "OriginAccessIdentity"], - members: { DomainName: {}, OriginAccessIdentity: {} }, - }, - S2i: { - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "DomainName", - "ActiveTrustedSigners", - "StreamingDistributionConfig", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - DomainName: {}, - ActiveTrustedSigners: { shape: "S1u" }, - StreamingDistributionConfig: { shape: "S2e" }, - }, - }, - S3a: { - type: "structure", - required: ["Marker", "MaxItems", "IsTruncated", "Quantity"], - members: { - Marker: {}, - NextMarker: {}, - MaxItems: { type: "integer" }, - IsTruncated: { type: "boolean" }, - Quantity: { type: "integer" }, - Items: { - type: "list", - member: { - locationName: "DistributionSummary", - type: "structure", - required: [ - "Id", - "ARN", - "Status", - "LastModifiedTime", - "DomainName", - "Aliases", - "Origins", - "DefaultCacheBehavior", - "CacheBehaviors", - "CustomErrorResponses", - "Comment", - "PriceClass", - "Enabled", - "ViewerCertificate", - "Restrictions", - "WebACLId", - "HttpVersion", - "IsIPV6Enabled", - ], - members: { - Id: {}, - ARN: {}, - Status: {}, - LastModifiedTime: { type: "timestamp" }, - DomainName: {}, - Aliases: { shape: "S8" }, - Origins: { shape: "Sb" }, - DefaultCacheBehavior: { shape: "Sn" }, - CacheBehaviors: { shape: "S1a" }, - CustomErrorResponses: { shape: "S1d" }, - Comment: {}, - PriceClass: {}, - Enabled: { type: "boolean" }, - ViewerCertificate: { shape: "S1i" }, - Restrictions: { shape: "S1m" }, - WebACLId: {}, - HttpVersion: {}, - IsIPV6Enabled: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - }; +module.exports = AWS.PI; - /***/ - }, - /***/ 1661: /***/ function (module, __unusedexports, __webpack_require__) { - var eventMessageChunker = __webpack_require__(625).eventMessageChunker; - var parseEvent = __webpack_require__(4657).parseEvent; +/***/ }), - function createEventStream(body, parser, model) { - var eventMessages = eventMessageChunker(body); +/***/ 1033: +/***/ (function(module) { - var events = []; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-01-01","endpointPrefix":"dms","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Database Migration Service","serviceId":"Database Migration Service","signatureVersion":"v4","targetPrefix":"AmazonDMSv20160101","uid":"dms-2016-01-01"},"operations":{"AddTagsToResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"ApplyPendingMaintenanceAction":{"input":{"type":"structure","required":["ReplicationInstanceArn","ApplyAction","OptInType"],"members":{"ReplicationInstanceArn":{},"ApplyAction":{},"OptInType":{}}},"output":{"type":"structure","members":{"ResourcePendingMaintenanceActions":{"shape":"S8"}}}},"CancelReplicationTaskAssessmentRun":{"input":{"type":"structure","required":["ReplicationTaskAssessmentRunArn"],"members":{"ReplicationTaskAssessmentRunArn":{}}},"output":{"type":"structure","members":{"ReplicationTaskAssessmentRun":{"shape":"Se"}}}},"CreateEndpoint":{"input":{"type":"structure","required":["EndpointIdentifier","EndpointType","EngineName"],"members":{"EndpointIdentifier":{},"EndpointType":{},"EngineName":{},"Username":{},"Password":{"shape":"Sj"},"ServerName":{},"Port":{"type":"integer"},"DatabaseName":{},"ExtraConnectionAttributes":{},"KmsKeyId":{},"Tags":{"shape":"S3"},"CertificateArn":{},"SslMode":{},"ServiceAccessRoleArn":{},"ExternalTableDefinition":{},"DynamoDbSettings":{"shape":"Sm"},"S3Settings":{"shape":"Sn"},"DmsTransferSettings":{"shape":"Sw"},"MongoDbSettings":{"shape":"Sx"},"KinesisSettings":{"shape":"S11"},"KafkaSettings":{"shape":"S13"},"ElasticsearchSettings":{"shape":"S14"},"NeptuneSettings":{"shape":"S15"},"RedshiftSettings":{"shape":"S16"},"PostgreSQLSettings":{"shape":"S17"},"MySQLSettings":{"shape":"S18"},"OracleSettings":{"shape":"S1a"},"SybaseSettings":{"shape":"S1c"},"MicrosoftSQLServerSettings":{"shape":"S1d"},"IBMDb2Settings":{"shape":"S1f"},"ResourceIdentifier":{},"DocDbSettings":{"shape":"S1g"}}},"output":{"type":"structure","members":{"Endpoint":{"shape":"S1i"}}}},"CreateEventSubscription":{"input":{"type":"structure","required":["SubscriptionName","SnsTopicArn"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S1k"},"SourceIds":{"shape":"S1l"},"Enabled":{"type":"boolean"},"Tags":{"shape":"S3"}}},"output":{"type":"structure","members":{"EventSubscription":{"shape":"S1n"}}}},"CreateReplicationInstance":{"input":{"type":"structure","required":["ReplicationInstanceIdentifier","ReplicationInstanceClass"],"members":{"ReplicationInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"ReplicationInstanceClass":{},"VpcSecurityGroupIds":{"shape":"S1q"},"AvailabilityZone":{},"ReplicationSubnetGroupIdentifier":{},"PreferredMaintenanceWindow":{},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"Tags":{"shape":"S3"},"KmsKeyId":{},"PubliclyAccessible":{"type":"boolean"},"DnsNameServers":{},"ResourceIdentifier":{}}},"output":{"type":"structure","members":{"ReplicationInstance":{"shape":"S1s"}}}},"CreateReplicationSubnetGroup":{"input":{"type":"structure","required":["ReplicationSubnetGroupIdentifier","ReplicationSubnetGroupDescription","SubnetIds"],"members":{"ReplicationSubnetGroupIdentifier":{},"ReplicationSubnetGroupDescription":{},"SubnetIds":{"shape":"S23"},"Tags":{"shape":"S3"}}},"output":{"type":"structure","members":{"ReplicationSubnetGroup":{"shape":"S1v"}}}},"CreateReplicationTask":{"input":{"type":"structure","required":["ReplicationTaskIdentifier","SourceEndpointArn","TargetEndpointArn","ReplicationInstanceArn","MigrationType","TableMappings"],"members":{"ReplicationTaskIdentifier":{},"SourceEndpointArn":{},"TargetEndpointArn":{},"ReplicationInstanceArn":{},"MigrationType":{},"TableMappings":{},"ReplicationTaskSettings":{},"CdcStartTime":{"type":"timestamp"},"CdcStartPosition":{},"CdcStopPosition":{},"Tags":{"shape":"S3"},"TaskData":{},"ResourceIdentifier":{}}},"output":{"type":"structure","members":{"ReplicationTask":{"shape":"S28"}}}},"DeleteCertificate":{"input":{"type":"structure","required":["CertificateArn"],"members":{"CertificateArn":{}}},"output":{"type":"structure","members":{"Certificate":{"shape":"S2d"}}}},"DeleteConnection":{"input":{"type":"structure","required":["EndpointArn","ReplicationInstanceArn"],"members":{"EndpointArn":{},"ReplicationInstanceArn":{}}},"output":{"type":"structure","members":{"Connection":{"shape":"S2h"}}}},"DeleteEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}},"output":{"type":"structure","members":{"Endpoint":{"shape":"S1i"}}}},"DeleteEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{}}},"output":{"type":"structure","members":{"EventSubscription":{"shape":"S1n"}}}},"DeleteReplicationInstance":{"input":{"type":"structure","required":["ReplicationInstanceArn"],"members":{"ReplicationInstanceArn":{}}},"output":{"type":"structure","members":{"ReplicationInstance":{"shape":"S1s"}}}},"DeleteReplicationSubnetGroup":{"input":{"type":"structure","required":["ReplicationSubnetGroupIdentifier"],"members":{"ReplicationSubnetGroupIdentifier":{}}},"output":{"type":"structure","members":{}}},"DeleteReplicationTask":{"input":{"type":"structure","required":["ReplicationTaskArn"],"members":{"ReplicationTaskArn":{}}},"output":{"type":"structure","members":{"ReplicationTask":{"shape":"S28"}}}},"DeleteReplicationTaskAssessmentRun":{"input":{"type":"structure","required":["ReplicationTaskAssessmentRunArn"],"members":{"ReplicationTaskAssessmentRunArn":{}}},"output":{"type":"structure","members":{"ReplicationTaskAssessmentRun":{"shape":"Se"}}}},"DescribeAccountAttributes":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"AccountQuotas":{"type":"list","member":{"type":"structure","members":{"AccountQuotaName":{},"Used":{"type":"long"},"Max":{"type":"long"}}}},"UniqueAccountIdentifier":{}}}},"DescribeApplicableIndividualAssessments":{"input":{"type":"structure","members":{"ReplicationTaskArn":{},"ReplicationInstanceArn":{},"SourceEngineName":{},"TargetEngineName":{},"MigrationType":{},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"IndividualAssessmentNames":{"type":"list","member":{}},"Marker":{}}}},"DescribeCertificates":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"Certificates":{"type":"list","member":{"shape":"S2d"}}}}},"DescribeConnections":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"Connections":{"type":"list","member":{"shape":"S2h"}}}}},"DescribeEndpointTypes":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"SupportedEndpointTypes":{"type":"list","member":{"type":"structure","members":{"EngineName":{},"SupportsCDC":{"type":"boolean"},"EndpointType":{},"ReplicationInstanceEngineMinimumVersion":{},"EngineDisplayName":{}}}}}}},"DescribeEndpoints":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"Endpoints":{"type":"list","member":{"shape":"S1i"}}}}},"DescribeEventCategories":{"input":{"type":"structure","members":{"SourceType":{},"Filters":{"shape":"S32"}}},"output":{"type":"structure","members":{"EventCategoryGroupList":{"type":"list","member":{"type":"structure","members":{"SourceType":{},"EventCategories":{"shape":"S1k"}}}}}}},"DescribeEventSubscriptions":{"input":{"type":"structure","members":{"SubscriptionName":{},"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"EventSubscriptionsList":{"type":"list","member":{"shape":"S1n"}}}}},"DescribeEvents":{"input":{"type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Duration":{"type":"integer"},"EventCategories":{"shape":"S1k"},"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"Events":{"type":"list","member":{"type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"Message":{},"EventCategories":{"shape":"S1k"},"Date":{"type":"timestamp"}}}}}}},"DescribeOrderableReplicationInstances":{"input":{"type":"structure","members":{"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"OrderableReplicationInstances":{"type":"list","member":{"type":"structure","members":{"EngineVersion":{},"ReplicationInstanceClass":{},"StorageType":{},"MinAllocatedStorage":{"type":"integer"},"MaxAllocatedStorage":{"type":"integer"},"DefaultAllocatedStorage":{"type":"integer"},"IncludedAllocatedStorage":{"type":"integer"},"AvailabilityZones":{"type":"list","member":{}},"ReleaseStatus":{}}}},"Marker":{}}}},"DescribePendingMaintenanceActions":{"input":{"type":"structure","members":{"ReplicationInstanceArn":{},"Filters":{"shape":"S32"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"type":"structure","members":{"PendingMaintenanceActions":{"type":"list","member":{"shape":"S8"}},"Marker":{}}}},"DescribeRefreshSchemasStatus":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}},"output":{"type":"structure","members":{"RefreshSchemasStatus":{"shape":"S44"}}}},"DescribeReplicationInstanceTaskLogs":{"input":{"type":"structure","required":["ReplicationInstanceArn"],"members":{"ReplicationInstanceArn":{},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"ReplicationInstanceArn":{},"ReplicationInstanceTaskLogs":{"type":"list","member":{"type":"structure","members":{"ReplicationTaskName":{},"ReplicationTaskArn":{},"ReplicationInstanceTaskLogSize":{"type":"long"}}}},"Marker":{}}}},"DescribeReplicationInstances":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"ReplicationInstances":{"type":"list","member":{"shape":"S1s"}}}}},"DescribeReplicationSubnetGroups":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"ReplicationSubnetGroups":{"type":"list","member":{"shape":"S1v"}}}}},"DescribeReplicationTaskAssessmentResults":{"input":{"type":"structure","members":{"ReplicationTaskArn":{},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"BucketName":{},"ReplicationTaskAssessmentResults":{"type":"list","member":{"type":"structure","members":{"ReplicationTaskIdentifier":{},"ReplicationTaskArn":{},"ReplicationTaskLastAssessmentDate":{"type":"timestamp"},"AssessmentStatus":{},"AssessmentResultsFile":{},"AssessmentResults":{},"S3ObjectUrl":{}}}}}}},"DescribeReplicationTaskAssessmentRuns":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"ReplicationTaskAssessmentRuns":{"type":"list","member":{"shape":"Se"}}}}},"DescribeReplicationTaskIndividualAssessments":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"ReplicationTaskIndividualAssessments":{"type":"list","member":{"type":"structure","members":{"ReplicationTaskIndividualAssessmentArn":{},"ReplicationTaskAssessmentRunArn":{},"IndividualAssessmentName":{},"Status":{},"ReplicationTaskIndividualAssessmentStartDate":{"type":"timestamp"}}}}}}},"DescribeReplicationTasks":{"input":{"type":"structure","members":{"Filters":{"shape":"S32"},"MaxRecords":{"type":"integer"},"Marker":{},"WithoutSettings":{"type":"boolean"}}},"output":{"type":"structure","members":{"Marker":{},"ReplicationTasks":{"type":"list","member":{"shape":"S28"}}}}},"DescribeSchemas":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"type":"structure","members":{"Marker":{},"Schemas":{"type":"list","member":{}}}}},"DescribeTableStatistics":{"input":{"type":"structure","required":["ReplicationTaskArn"],"members":{"ReplicationTaskArn":{},"MaxRecords":{"type":"integer"},"Marker":{},"Filters":{"shape":"S32"}}},"output":{"type":"structure","members":{"ReplicationTaskArn":{},"TableStatistics":{"type":"list","member":{"type":"structure","members":{"SchemaName":{},"TableName":{},"Inserts":{"type":"long"},"Deletes":{"type":"long"},"Updates":{"type":"long"},"Ddls":{"type":"long"},"FullLoadRows":{"type":"long"},"FullLoadCondtnlChkFailedRows":{"type":"long"},"FullLoadErrorRows":{"type":"long"},"FullLoadStartTime":{"type":"timestamp"},"FullLoadEndTime":{"type":"timestamp"},"FullLoadReloaded":{"type":"boolean"},"LastUpdateTime":{"type":"timestamp"},"TableState":{},"ValidationPendingRecords":{"type":"long"},"ValidationFailedRecords":{"type":"long"},"ValidationSuspendedRecords":{"type":"long"},"ValidationState":{},"ValidationStateDetails":{}}}},"Marker":{}}}},"ImportCertificate":{"input":{"type":"structure","required":["CertificateIdentifier"],"members":{"CertificateIdentifier":{},"CertificatePem":{},"CertificateWallet":{"type":"blob"},"Tags":{"shape":"S3"}}},"output":{"type":"structure","members":{"Certificate":{"shape":"S2d"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"TagList":{"shape":"S3"}}}},"ModifyEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{},"EndpointIdentifier":{},"EndpointType":{},"EngineName":{},"Username":{},"Password":{"shape":"Sj"},"ServerName":{},"Port":{"type":"integer"},"DatabaseName":{},"ExtraConnectionAttributes":{},"CertificateArn":{},"SslMode":{},"ServiceAccessRoleArn":{},"ExternalTableDefinition":{},"DynamoDbSettings":{"shape":"Sm"},"S3Settings":{"shape":"Sn"},"DmsTransferSettings":{"shape":"Sw"},"MongoDbSettings":{"shape":"Sx"},"KinesisSettings":{"shape":"S11"},"KafkaSettings":{"shape":"S13"},"ElasticsearchSettings":{"shape":"S14"},"NeptuneSettings":{"shape":"S15"},"RedshiftSettings":{"shape":"S16"},"PostgreSQLSettings":{"shape":"S17"},"MySQLSettings":{"shape":"S18"},"OracleSettings":{"shape":"S1a"},"SybaseSettings":{"shape":"S1c"},"MicrosoftSQLServerSettings":{"shape":"S1d"},"IBMDb2Settings":{"shape":"S1f"},"DocDbSettings":{"shape":"S1g"}}},"output":{"type":"structure","members":{"Endpoint":{"shape":"S1i"}}}},"ModifyEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S1k"},"Enabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"EventSubscription":{"shape":"S1n"}}}},"ModifyReplicationInstance":{"input":{"type":"structure","required":["ReplicationInstanceArn"],"members":{"ReplicationInstanceArn":{},"AllocatedStorage":{"type":"integer"},"ApplyImmediately":{"type":"boolean"},"ReplicationInstanceClass":{},"VpcSecurityGroupIds":{"shape":"S1q"},"PreferredMaintenanceWindow":{},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AllowMajorVersionUpgrade":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"ReplicationInstanceIdentifier":{}}},"output":{"type":"structure","members":{"ReplicationInstance":{"shape":"S1s"}}}},"ModifyReplicationSubnetGroup":{"input":{"type":"structure","required":["ReplicationSubnetGroupIdentifier","SubnetIds"],"members":{"ReplicationSubnetGroupIdentifier":{},"ReplicationSubnetGroupDescription":{},"SubnetIds":{"shape":"S23"}}},"output":{"type":"structure","members":{"ReplicationSubnetGroup":{"shape":"S1v"}}}},"ModifyReplicationTask":{"input":{"type":"structure","required":["ReplicationTaskArn"],"members":{"ReplicationTaskArn":{},"ReplicationTaskIdentifier":{},"MigrationType":{},"TableMappings":{},"ReplicationTaskSettings":{},"CdcStartTime":{"type":"timestamp"},"CdcStartPosition":{},"CdcStopPosition":{},"TaskData":{}}},"output":{"type":"structure","members":{"ReplicationTask":{"shape":"S28"}}}},"MoveReplicationTask":{"input":{"type":"structure","required":["ReplicationTaskArn","TargetReplicationInstanceArn"],"members":{"ReplicationTaskArn":{},"TargetReplicationInstanceArn":{}}},"output":{"type":"structure","members":{"ReplicationTask":{"shape":"S28"}}}},"RebootReplicationInstance":{"input":{"type":"structure","required":["ReplicationInstanceArn"],"members":{"ReplicationInstanceArn":{},"ForceFailover":{"type":"boolean"}}},"output":{"type":"structure","members":{"ReplicationInstance":{"shape":"S1s"}}}},"RefreshSchemas":{"input":{"type":"structure","required":["EndpointArn","ReplicationInstanceArn"],"members":{"EndpointArn":{},"ReplicationInstanceArn":{}}},"output":{"type":"structure","members":{"RefreshSchemasStatus":{"shape":"S44"}}}},"ReloadTables":{"input":{"type":"structure","required":["ReplicationTaskArn","TablesToReload"],"members":{"ReplicationTaskArn":{},"TablesToReload":{"type":"list","member":{"type":"structure","required":["SchemaName","TableName"],"members":{"SchemaName":{},"TableName":{}}}},"ReloadOption":{}}},"output":{"type":"structure","members":{"ReplicationTaskArn":{}}}},"RemoveTagsFromResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"StartReplicationTask":{"input":{"type":"structure","required":["ReplicationTaskArn","StartReplicationTaskType"],"members":{"ReplicationTaskArn":{},"StartReplicationTaskType":{},"CdcStartTime":{"type":"timestamp"},"CdcStartPosition":{},"CdcStopPosition":{}}},"output":{"type":"structure","members":{"ReplicationTask":{"shape":"S28"}}}},"StartReplicationTaskAssessment":{"input":{"type":"structure","required":["ReplicationTaskArn"],"members":{"ReplicationTaskArn":{}}},"output":{"type":"structure","members":{"ReplicationTask":{"shape":"S28"}}}},"StartReplicationTaskAssessmentRun":{"input":{"type":"structure","required":["ReplicationTaskArn","ServiceAccessRoleArn","ResultLocationBucket","AssessmentRunName"],"members":{"ReplicationTaskArn":{},"ServiceAccessRoleArn":{},"ResultLocationBucket":{},"ResultLocationFolder":{},"ResultEncryptionMode":{},"ResultKmsKeyArn":{},"AssessmentRunName":{},"IncludeOnly":{"type":"list","member":{}},"Exclude":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ReplicationTaskAssessmentRun":{"shape":"Se"}}}},"StopReplicationTask":{"input":{"type":"structure","required":["ReplicationTaskArn"],"members":{"ReplicationTaskArn":{}}},"output":{"type":"structure","members":{"ReplicationTask":{"shape":"S28"}}}},"TestConnection":{"input":{"type":"structure","required":["ReplicationInstanceArn","EndpointArn"],"members":{"ReplicationInstanceArn":{},"EndpointArn":{}}},"output":{"type":"structure","members":{"Connection":{"shape":"S2h"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"S8":{"type":"structure","members":{"ResourceIdentifier":{},"PendingMaintenanceActionDetails":{"type":"list","member":{"type":"structure","members":{"Action":{},"AutoAppliedAfterDate":{"type":"timestamp"},"ForcedApplyDate":{"type":"timestamp"},"OptInStatus":{},"CurrentApplyDate":{"type":"timestamp"},"Description":{}}}}}},"Se":{"type":"structure","members":{"ReplicationTaskAssessmentRunArn":{},"ReplicationTaskArn":{},"Status":{},"ReplicationTaskAssessmentRunCreationDate":{"type":"timestamp"},"AssessmentProgress":{"type":"structure","members":{"IndividualAssessmentCount":{"type":"integer"},"IndividualAssessmentCompletedCount":{"type":"integer"}}},"LastFailureMessage":{},"ServiceAccessRoleArn":{},"ResultLocationBucket":{},"ResultLocationFolder":{},"ResultEncryptionMode":{},"ResultKmsKeyArn":{},"AssessmentRunName":{}}},"Sj":{"type":"string","sensitive":true},"Sm":{"type":"structure","required":["ServiceAccessRoleArn"],"members":{"ServiceAccessRoleArn":{}}},"Sn":{"type":"structure","members":{"ServiceAccessRoleArn":{},"ExternalTableDefinition":{},"CsvRowDelimiter":{},"CsvDelimiter":{},"BucketFolder":{},"BucketName":{},"CompressionType":{},"EncryptionMode":{},"ServerSideEncryptionKmsKeyId":{},"DataFormat":{},"EncodingType":{},"DictPageSizeLimit":{"type":"integer"},"RowGroupLength":{"type":"integer"},"DataPageSize":{"type":"integer"},"ParquetVersion":{},"EnableStatistics":{"type":"boolean"},"IncludeOpForFullLoad":{"type":"boolean"},"CdcInsertsOnly":{"type":"boolean"},"TimestampColumnName":{},"ParquetTimestampInMillisecond":{"type":"boolean"},"CdcInsertsAndUpdates":{"type":"boolean"},"DatePartitionEnabled":{"type":"boolean"},"DatePartitionSequence":{},"DatePartitionDelimiter":{},"UseCsvNoSupValue":{"type":"boolean"},"CsvNoSupValue":{},"PreserveTransactions":{"type":"boolean"},"CdcPath":{}}},"Sw":{"type":"structure","members":{"ServiceAccessRoleArn":{},"BucketName":{}}},"Sx":{"type":"structure","members":{"Username":{},"Password":{"shape":"Sj"},"ServerName":{},"Port":{"type":"integer"},"DatabaseName":{},"AuthType":{},"AuthMechanism":{},"NestingLevel":{},"ExtractDocId":{},"DocsToInvestigate":{},"AuthSource":{},"KmsKeyId":{}}},"S11":{"type":"structure","members":{"StreamArn":{},"MessageFormat":{},"ServiceAccessRoleArn":{},"IncludeTransactionDetails":{"type":"boolean"},"IncludePartitionValue":{"type":"boolean"},"PartitionIncludeSchemaTable":{"type":"boolean"},"IncludeTableAlterOperations":{"type":"boolean"},"IncludeControlDetails":{"type":"boolean"},"IncludeNullAndEmpty":{"type":"boolean"}}},"S13":{"type":"structure","members":{"Broker":{},"Topic":{},"MessageFormat":{},"IncludeTransactionDetails":{"type":"boolean"},"IncludePartitionValue":{"type":"boolean"},"PartitionIncludeSchemaTable":{"type":"boolean"},"IncludeTableAlterOperations":{"type":"boolean"},"IncludeControlDetails":{"type":"boolean"},"MessageMaxBytes":{"type":"integer"},"IncludeNullAndEmpty":{"type":"boolean"}}},"S14":{"type":"structure","required":["ServiceAccessRoleArn","EndpointUri"],"members":{"ServiceAccessRoleArn":{},"EndpointUri":{},"FullLoadErrorPercentage":{"type":"integer"},"ErrorRetryDuration":{"type":"integer"}}},"S15":{"type":"structure","required":["S3BucketName","S3BucketFolder"],"members":{"ServiceAccessRoleArn":{},"S3BucketName":{},"S3BucketFolder":{},"ErrorRetryDuration":{"type":"integer"},"MaxFileSize":{"type":"integer"},"MaxRetryCount":{"type":"integer"},"IamAuthEnabled":{"type":"boolean"}}},"S16":{"type":"structure","members":{"AcceptAnyDate":{"type":"boolean"},"AfterConnectScript":{},"BucketFolder":{},"BucketName":{},"CaseSensitiveNames":{"type":"boolean"},"CompUpdate":{"type":"boolean"},"ConnectionTimeout":{"type":"integer"},"DatabaseName":{},"DateFormat":{},"EmptyAsNull":{"type":"boolean"},"EncryptionMode":{},"ExplicitIds":{"type":"boolean"},"FileTransferUploadStreams":{"type":"integer"},"LoadTimeout":{"type":"integer"},"MaxFileSize":{"type":"integer"},"Password":{"shape":"Sj"},"Port":{"type":"integer"},"RemoveQuotes":{"type":"boolean"},"ReplaceInvalidChars":{},"ReplaceChars":{},"ServerName":{},"ServiceAccessRoleArn":{},"ServerSideEncryptionKmsKeyId":{},"TimeFormat":{},"TrimBlanks":{"type":"boolean"},"TruncateColumns":{"type":"boolean"},"Username":{},"WriteBufferSize":{"type":"integer"}}},"S17":{"type":"structure","members":{"AfterConnectScript":{},"CaptureDdls":{"type":"boolean"},"MaxFileSize":{"type":"integer"},"DatabaseName":{},"DdlArtifactsSchema":{},"ExecuteTimeout":{"type":"integer"},"FailTasksOnLobTruncation":{"type":"boolean"},"Password":{"shape":"Sj"},"Port":{"type":"integer"},"ServerName":{},"Username":{},"SlotName":{}}},"S18":{"type":"structure","members":{"AfterConnectScript":{},"DatabaseName":{},"EventsPollInterval":{"type":"integer"},"TargetDbType":{},"MaxFileSize":{"type":"integer"},"ParallelLoadThreads":{"type":"integer"},"Password":{"shape":"Sj"},"Port":{"type":"integer"},"ServerName":{},"ServerTimezone":{},"Username":{}}},"S1a":{"type":"structure","members":{"AddSupplementalLogging":{"type":"boolean"},"ArchivedLogDestId":{"type":"integer"},"AdditionalArchivedLogDestId":{"type":"integer"},"AllowSelectNestedTables":{"type":"boolean"},"ParallelAsmReadThreads":{"type":"integer"},"ReadAheadBlocks":{"type":"integer"},"AccessAlternateDirectly":{"type":"boolean"},"UseAlternateFolderForOnline":{"type":"boolean"},"OraclePathPrefix":{},"UsePathPrefix":{},"ReplacePathPrefix":{"type":"boolean"},"EnableHomogenousTablespace":{"type":"boolean"},"DirectPathNoLog":{"type":"boolean"},"ArchivedLogsOnly":{"type":"boolean"},"AsmPassword":{"shape":"Sj"},"AsmServer":{},"AsmUser":{},"CharLengthSemantics":{},"DatabaseName":{},"DirectPathParallelLoad":{"type":"boolean"},"FailTasksOnLobTruncation":{"type":"boolean"},"NumberDatatypeScale":{"type":"integer"},"Password":{"shape":"Sj"},"Port":{"type":"integer"},"ReadTableSpaceName":{"type":"boolean"},"RetryInterval":{"type":"integer"},"SecurityDbEncryption":{"shape":"Sj"},"SecurityDbEncryptionName":{},"ServerName":{},"Username":{}}},"S1c":{"type":"structure","members":{"DatabaseName":{},"Password":{"shape":"Sj"},"Port":{"type":"integer"},"ServerName":{},"Username":{}}},"S1d":{"type":"structure","members":{"Port":{"type":"integer"},"BcpPacketSize":{"type":"integer"},"DatabaseName":{},"ControlTablesFileGroup":{},"Password":{"shape":"Sj"},"ReadBackupOnly":{"type":"boolean"},"SafeguardPolicy":{},"ServerName":{},"Username":{},"UseBcpFullLoad":{"type":"boolean"}}},"S1f":{"type":"structure","members":{"DatabaseName":{},"Password":{"shape":"Sj"},"Port":{"type":"integer"},"ServerName":{},"SetDataCaptureChanges":{"type":"boolean"},"CurrentLsn":{},"MaxKBytesPerRead":{"type":"integer"},"Username":{}}},"S1g":{"type":"structure","members":{"Username":{},"Password":{"shape":"Sj"},"ServerName":{},"Port":{"type":"integer"},"DatabaseName":{},"NestingLevel":{},"ExtractDocId":{"type":"boolean"},"DocsToInvestigate":{"type":"integer"},"KmsKeyId":{}}},"S1i":{"type":"structure","members":{"EndpointIdentifier":{},"EndpointType":{},"EngineName":{},"EngineDisplayName":{},"Username":{},"ServerName":{},"Port":{"type":"integer"},"DatabaseName":{},"ExtraConnectionAttributes":{},"Status":{},"KmsKeyId":{},"EndpointArn":{},"CertificateArn":{},"SslMode":{},"ServiceAccessRoleArn":{},"ExternalTableDefinition":{},"ExternalId":{},"DynamoDbSettings":{"shape":"Sm"},"S3Settings":{"shape":"Sn"},"DmsTransferSettings":{"shape":"Sw"},"MongoDbSettings":{"shape":"Sx"},"KinesisSettings":{"shape":"S11"},"KafkaSettings":{"shape":"S13"},"ElasticsearchSettings":{"shape":"S14"},"NeptuneSettings":{"shape":"S15"},"RedshiftSettings":{"shape":"S16"},"PostgreSQLSettings":{"shape":"S17"},"MySQLSettings":{"shape":"S18"},"OracleSettings":{"shape":"S1a"},"SybaseSettings":{"shape":"S1c"},"MicrosoftSQLServerSettings":{"shape":"S1d"},"IBMDb2Settings":{"shape":"S1f"},"DocDbSettings":{"shape":"S1g"}}},"S1k":{"type":"list","member":{}},"S1l":{"type":"list","member":{}},"S1n":{"type":"structure","members":{"CustomerAwsId":{},"CustSubscriptionId":{},"SnsTopicArn":{},"Status":{},"SubscriptionCreationTime":{},"SourceType":{},"SourceIdsList":{"shape":"S1l"},"EventCategoriesList":{"shape":"S1k"},"Enabled":{"type":"boolean"}}},"S1q":{"type":"list","member":{}},"S1s":{"type":"structure","members":{"ReplicationInstanceIdentifier":{},"ReplicationInstanceClass":{},"ReplicationInstanceStatus":{},"AllocatedStorage":{"type":"integer"},"InstanceCreateTime":{"type":"timestamp"},"VpcSecurityGroups":{"type":"list","member":{"type":"structure","members":{"VpcSecurityGroupId":{},"Status":{}}}},"AvailabilityZone":{},"ReplicationSubnetGroup":{"shape":"S1v"},"PreferredMaintenanceWindow":{},"PendingModifiedValues":{"type":"structure","members":{"ReplicationInstanceClass":{},"AllocatedStorage":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{}}},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"KmsKeyId":{},"ReplicationInstanceArn":{},"ReplicationInstancePublicIpAddress":{"deprecated":true},"ReplicationInstancePrivateIpAddress":{"deprecated":true},"ReplicationInstancePublicIpAddresses":{"type":"list","member":{}},"ReplicationInstancePrivateIpAddresses":{"type":"list","member":{}},"PubliclyAccessible":{"type":"boolean"},"SecondaryAvailabilityZone":{},"FreeUntil":{"type":"timestamp"},"DnsNameServers":{}}},"S1v":{"type":"structure","members":{"ReplicationSubnetGroupIdentifier":{},"ReplicationSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"type":"structure","members":{"Name":{}}},"SubnetStatus":{}}}}}},"S23":{"type":"list","member":{}},"S28":{"type":"structure","members":{"ReplicationTaskIdentifier":{},"SourceEndpointArn":{},"TargetEndpointArn":{},"ReplicationInstanceArn":{},"MigrationType":{},"TableMappings":{},"ReplicationTaskSettings":{},"Status":{},"LastFailureMessage":{},"StopReason":{},"ReplicationTaskCreationDate":{"type":"timestamp"},"ReplicationTaskStartDate":{"type":"timestamp"},"CdcStartPosition":{},"CdcStopPosition":{},"RecoveryCheckpoint":{},"ReplicationTaskArn":{},"ReplicationTaskStats":{"type":"structure","members":{"FullLoadProgressPercent":{"type":"integer"},"ElapsedTimeMillis":{"type":"long"},"TablesLoaded":{"type":"integer"},"TablesLoading":{"type":"integer"},"TablesQueued":{"type":"integer"},"TablesErrored":{"type":"integer"},"FreshStartDate":{"type":"timestamp"},"StartDate":{"type":"timestamp"},"StopDate":{"type":"timestamp"},"FullLoadStartDate":{"type":"timestamp"},"FullLoadFinishDate":{"type":"timestamp"}}},"TaskData":{},"TargetReplicationInstanceArn":{}}},"S2d":{"type":"structure","members":{"CertificateIdentifier":{},"CertificateCreationDate":{"type":"timestamp"},"CertificatePem":{},"CertificateWallet":{"type":"blob"},"CertificateArn":{},"CertificateOwner":{},"ValidFromDate":{"type":"timestamp"},"ValidToDate":{"type":"timestamp"},"SigningAlgorithm":{},"KeyLength":{"type":"integer"}}},"S2h":{"type":"structure","members":{"ReplicationInstanceArn":{},"EndpointArn":{},"Status":{},"LastFailureMessage":{},"EndpointIdentifier":{},"ReplicationInstanceIdentifier":{}}},"S32":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S44":{"type":"structure","members":{"EndpointArn":{},"ReplicationInstanceArn":{},"Status":{},"LastRefreshDate":{"type":"timestamp"},"LastFailureMessage":{}}}}}; - for (var i = 0; i < eventMessages.length; i++) { - events.push(parseEvent(parser, eventMessages[i], model)); - } +/***/ }), - return events; - } +/***/ 1035: +/***/ (function(module) { - /** - * @api private - */ - module.exports = { - createEventStream: createEventStream, - }; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-21","endpointPrefix":"contact-lens","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon Connect Contact Lens","serviceFullName":"Amazon Connect Contact Lens","serviceId":"Connect Contact Lens","signatureVersion":"v4","signingName":"connect","uid":"connect-contact-lens-2020-08-21"},"operations":{"ListRealtimeContactAnalysisSegments":{"http":{"requestUri":"/realtime-contact-analysis/analysis-segments"},"input":{"type":"structure","required":["InstanceId","ContactId"],"members":{"InstanceId":{},"ContactId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Segments"],"members":{"Segments":{"type":"list","member":{"type":"structure","members":{"Transcript":{"type":"structure","required":["Id","ParticipantId","ParticipantRole","Content","BeginOffsetMillis","EndOffsetMillis","Sentiment"],"members":{"Id":{},"ParticipantId":{},"ParticipantRole":{},"Content":{},"BeginOffsetMillis":{"type":"integer"},"EndOffsetMillis":{"type":"integer"},"Sentiment":{},"IssuesDetected":{"type":"list","member":{"type":"structure","required":["CharacterOffsets"],"members":{"CharacterOffsets":{"type":"structure","required":["BeginOffsetChar","EndOffsetChar"],"members":{"BeginOffsetChar":{"type":"integer"},"EndOffsetChar":{"type":"integer"}}}}}}}},"Categories":{"type":"structure","required":["MatchedCategories","MatchedDetails"],"members":{"MatchedCategories":{"type":"list","member":{}},"MatchedDetails":{"type":"map","key":{},"value":{"type":"structure","required":["PointsOfInterest"],"members":{"PointsOfInterest":{"type":"list","member":{"type":"structure","required":["BeginOffsetMillis","EndOffsetMillis"],"members":{"BeginOffsetMillis":{"type":"integer"},"EndOffsetMillis":{"type":"integer"}}}}}}}}}}}},"NextToken":{}}}}},"shapes":{}}; - /***/ - }, +/***/ }), - /***/ 1669: /***/ function (module) { - module.exports = require("util"); +/***/ 1037: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"ListAWSServiceAccessForOrganization":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListAccounts":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListAccountsForParent":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListChildren":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListCreateAccountStatus":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListDelegatedAdministrators":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"DelegatedAdministrators"},"ListDelegatedServicesForAccount":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"DelegatedServices"},"ListHandshakesForAccount":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListHandshakesForOrganization":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListOrganizationalUnitsForParent":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListParents":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListPolicies":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListPoliciesForTarget":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListRoots":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListTagsForResource":{"input_token":"NextToken","output_token":"NextToken","result_key":"Tags"},"ListTargetsForPolicy":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"}}}; - /***/ 1677: /***/ function (module) { - module.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", - }, - ListResourceRecordSets: { - input_token: [ - "StartRecordName", - "StartRecordType", - "StartRecordIdentifier", - ], - limit_key: "MaxItems", - more_results: "IsTruncated", - output_token: [ - "NextRecordName", - "NextRecordType", - "NextRecordIdentifier", - ], - result_key: "ResourceRecordSets", - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1039: +/***/ (function(module) { - /***/ 1694: /***/ function (module) { - module.exports = { - acm: { name: "ACM", cors: true }, - apigateway: { name: "APIGateway", cors: true }, - applicationautoscaling: { - prefix: "application-autoscaling", - name: "ApplicationAutoScaling", - cors: true, - }, - appstream: { name: "AppStream" }, - autoscaling: { name: "AutoScaling", cors: true }, - batch: { name: "Batch" }, - budgets: { name: "Budgets" }, - clouddirectory: { name: "CloudDirectory", versions: ["2016-05-10*"] }, - cloudformation: { name: "CloudFormation", cors: true }, - 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*", - ], - cors: true, - }, - cloudhsm: { name: "CloudHSM", cors: true }, - cloudsearch: { name: "CloudSearch" }, - cloudsearchdomain: { name: "CloudSearchDomain" }, - cloudtrail: { name: "CloudTrail", cors: true }, - cloudwatch: { prefix: "monitoring", name: "CloudWatch", cors: true }, - cloudwatchevents: { - prefix: "events", - name: "CloudWatchEvents", - versions: ["2014-02-03*"], - cors: true, - }, - cloudwatchlogs: { prefix: "logs", name: "CloudWatchLogs", cors: true }, - codebuild: { name: "CodeBuild", cors: true }, - codecommit: { name: "CodeCommit", cors: true }, - codedeploy: { name: "CodeDeploy", cors: true }, - codepipeline: { name: "CodePipeline", cors: true }, - cognitoidentity: { - prefix: "cognito-identity", - name: "CognitoIdentity", - cors: true, - }, - cognitoidentityserviceprovider: { - prefix: "cognito-idp", - name: "CognitoIdentityServiceProvider", - cors: true, - }, - cognitosync: { - prefix: "cognito-sync", - name: "CognitoSync", - cors: true, - }, - configservice: { prefix: "config", name: "ConfigService", cors: true }, - cur: { name: "CUR", cors: true }, - datapipeline: { name: "DataPipeline" }, - devicefarm: { name: "DeviceFarm", cors: true }, - directconnect: { name: "DirectConnect", cors: true }, - directoryservice: { prefix: "ds", name: "DirectoryService" }, - discovery: { name: "Discovery" }, - dms: { name: "DMS" }, - dynamodb: { name: "DynamoDB", cors: true }, - dynamodbstreams: { - prefix: "streams.dynamodb", - name: "DynamoDBStreams", - cors: true, - }, - 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: true, - }, - ecr: { name: "ECR", cors: true }, - ecs: { name: "ECS", cors: true }, - efs: { prefix: "elasticfilesystem", name: "EFS", cors: true }, - elasticache: { - name: "ElastiCache", - versions: [ - "2012-11-15*", - "2014-03-24*", - "2014-07-15*", - "2014-09-30*", - ], - cors: true, - }, - elasticbeanstalk: { name: "ElasticBeanstalk", cors: true }, - elb: { prefix: "elasticloadbalancing", name: "ELB", cors: true }, - elbv2: { prefix: "elasticloadbalancingv2", name: "ELBv2", cors: true }, - emr: { prefix: "elasticmapreduce", name: "EMR", cors: true }, - es: { name: "ES" }, - elastictranscoder: { name: "ElasticTranscoder", cors: true }, - firehose: { name: "Firehose", cors: true }, - gamelift: { name: "GameLift", cors: true }, - glacier: { name: "Glacier" }, - health: { name: "Health" }, - iam: { name: "IAM", cors: true }, - importexport: { name: "ImportExport" }, - inspector: { name: "Inspector", versions: ["2015-08-18*"], cors: true }, - iot: { name: "Iot", cors: true }, - iotdata: { prefix: "iot-data", name: "IotData", cors: true }, - kinesis: { name: "Kinesis", cors: true }, - kinesisanalytics: { name: "KinesisAnalytics" }, - kms: { name: "KMS", cors: true }, - lambda: { name: "Lambda", cors: true }, - lexruntime: { prefix: "runtime.lex", name: "LexRuntime", cors: true }, - lightsail: { name: "Lightsail" }, - machinelearning: { name: "MachineLearning", cors: true }, - marketplacecommerceanalytics: { - name: "MarketplaceCommerceAnalytics", - cors: true, - }, - marketplacemetering: { - prefix: "meteringmarketplace", - name: "MarketplaceMetering", - }, - mturk: { prefix: "mturk-requester", name: "MTurk", cors: true }, - mobileanalytics: { name: "MobileAnalytics", cors: true }, - opsworks: { name: "OpsWorks", cors: true }, - opsworkscm: { name: "OpsWorksCM" }, - organizations: { name: "Organizations" }, - pinpoint: { name: "Pinpoint" }, - polly: { name: "Polly", cors: true }, - rds: { name: "RDS", versions: ["2014-09-01*"], cors: true }, - redshift: { name: "Redshift", cors: true }, - rekognition: { name: "Rekognition", cors: true }, - resourcegroupstaggingapi: { name: "ResourceGroupsTaggingAPI" }, - route53: { name: "Route53", cors: true }, - route53domains: { name: "Route53Domains", cors: true }, - s3: { name: "S3", dualstackAvailable: true, cors: true }, - s3control: { - name: "S3Control", - dualstackAvailable: true, - xmlNoDefaultLists: true, - }, - servicecatalog: { name: "ServiceCatalog", cors: true }, - ses: { prefix: "email", name: "SES", cors: true }, - shield: { name: "Shield" }, - simpledb: { prefix: "sdb", name: "SimpleDB" }, - sms: { name: "SMS" }, - snowball: { name: "Snowball" }, - sns: { name: "SNS", cors: true }, - sqs: { name: "SQS", cors: true }, - ssm: { name: "SSM", cors: true }, - storagegateway: { name: "StorageGateway", cors: true }, - stepfunctions: { prefix: "states", name: "StepFunctions" }, - sts: { name: "STS", cors: true }, - support: { name: "Support" }, - swf: { name: "SWF" }, - xray: { name: "XRay", cors: true }, - waf: { name: "WAF", cors: true }, - wafregional: { prefix: "waf-regional", name: "WAFRegional" }, - workdocs: { name: "WorkDocs", cors: true }, - workspaces: { name: "WorkSpaces" }, - codestar: { name: "CodeStar" }, - lexmodelbuildingservice: { - prefix: "lex-models", - name: "LexModelBuildingService", - cors: true, - }, - marketplaceentitlementservice: { - prefix: "entitlement.marketplace", - name: "MarketplaceEntitlementService", - }, - athena: { name: "Athena" }, - greengrass: { name: "Greengrass" }, - dax: { name: "DAX" }, - migrationhub: { prefix: "AWSMigrationHub", name: "MigrationHub" }, - cloudhsmv2: { name: "CloudHSMV2" }, - glue: { name: "Glue" }, - mobile: { name: "Mobile" }, - pricing: { name: "Pricing", cors: true }, - costexplorer: { prefix: "ce", name: "CostExplorer", cors: true }, - mediaconvert: { name: "MediaConvert" }, - medialive: { name: "MediaLive" }, - mediapackage: { name: "MediaPackage" }, - mediastore: { name: "MediaStore" }, - mediastoredata: { - prefix: "mediastore-data", - name: "MediaStoreData", - cors: true, - }, - appsync: { name: "AppSync" }, - guardduty: { name: "GuardDuty" }, - mq: { name: "MQ" }, - comprehend: { name: "Comprehend", cors: true }, - iotjobsdataplane: { prefix: "iot-jobs-data", name: "IoTJobsDataPlane" }, - kinesisvideoarchivedmedia: { - prefix: "kinesis-video-archived-media", - name: "KinesisVideoArchivedMedia", - cors: true, - }, - kinesisvideomedia: { - prefix: "kinesis-video-media", - name: "KinesisVideoMedia", - cors: true, - }, - kinesisvideo: { name: "KinesisVideo", cors: true }, - sagemakerruntime: { - prefix: "runtime.sagemaker", - name: "SageMakerRuntime", - }, - sagemaker: { name: "SageMaker" }, - translate: { name: "Translate", cors: true }, - resourcegroups: { - prefix: "resource-groups", - name: "ResourceGroups", - cors: true, - }, - 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: true }, - acmpca: { prefix: "acm-pca", name: "ACMPCA" }, - fms: { name: "FMS" }, - secretsmanager: { name: "SecretsManager", cors: true }, - iotanalytics: { name: "IoTAnalytics", cors: true }, - 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: true }, - 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: true }, - personalizeevents: { - prefix: "personalize-events", - name: "PersonalizeEvents", - cors: true, - }, - personalizeruntime: { - prefix: "personalize-runtime", - name: "PersonalizeRuntime", - cors: true, - }, - 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: true, - }, - forecastqueryservice: { - prefix: "forecastquery", - name: "ForecastQueryService", - cors: true, - }, - 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: true, - }, - detective: { name: "Detective" }, - codestarconnections: { - prefix: "codestar-connections", - name: "CodeStarconnections", - }, - }; +"use strict"; - /***/ - }, +module.exports = opts => { + opts = opts || {}; - /***/ 1701: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(395).util; - var dgram = __webpack_require__(6200); - var stringToBuffer = util.buffer.toBuffer; - - var MAX_MESSAGE_SIZE = 1024 * 8; // 8 KB - - /** - * Publishes metrics via udp. - * @param {object} options Paramters for Publisher constructor - * @param {number} [options.port = 31000] Port number - * @param {string} [options.clientId = ''] Client Identifier - * @param {boolean} [options.enabled = false] enable sending metrics datagram - * @api private - */ - function Publisher(options) { - // handle configuration - options = options || {}; - this.enabled = options.enabled || false; - this.port = options.port || 31000; - this.clientId = options.clientId || ""; - this.address = options.host || "127.0.0.1"; - if (this.clientId.length > 255) { - // ClientId has a max length of 255 - this.clientId = this.clientId.substr(0, 255); - } - this.messagesInFlight = 0; - } + const env = opts.env || process.env; + const platform = opts.platform || process.platform; - Publisher.prototype.fieldsToTrim = { - UserAgent: 256, - SdkException: 128, - SdkExceptionMessage: 512, - AwsException: 128, - AwsExceptionMessage: 512, - FinalSdkException: 128, - FinalSdkExceptionMessage: 512, - FinalAwsException: 128, - FinalAwsExceptionMessage: 512, - }; + if (platform !== 'win32') { + return 'PATH'; + } + + return Object.keys(env).find(x => x.toUpperCase() === 'PATH') || 'Path'; +}; - /** - * Trims fields that have a specified max length. - * @param {object} event ApiCall or ApiCallAttempt event. - * @returns {object} - * @api private - */ - Publisher.prototype.trimFields = function (event) { - var trimmableFields = Object.keys(this.fieldsToTrim); - for (var i = 0, iLen = trimmableFields.length; i < iLen; i++) { - var field = trimmableFields[i]; - if (event.hasOwnProperty(field)) { - var maxLength = this.fieldsToTrim[field]; - var value = event[field]; - if (value && value.length > maxLength) { - event[field] = value.substr(0, maxLength); - } - } - } - return event; - }; - /** - * Handles ApiCall and ApiCallAttempt events. - * @param {Object} event apiCall or apiCallAttempt event. - * @api private - */ - Publisher.prototype.eventHandler = function (event) { - // set the clientId - event.ClientId = this.clientId; +/***/ }), - this.trimFields(event); +/***/ 1056: +/***/ (function(module) { - var message = stringToBuffer(JSON.stringify(event)); - if (!this.enabled || message.length > MAX_MESSAGE_SIZE) { - // drop the message if publisher not enabled or it is too large - return; - } +module.exports = {"pagination":{"DescribeApplicableIndividualAssessments":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeCertificates":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeConnections":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeEndpointTypes":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeEndpoints":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeEventSubscriptions":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeEvents":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeOrderableReplicationInstances":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribePendingMaintenanceActions":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeReplicationInstanceTaskLogs":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeReplicationInstances":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeReplicationSubnetGroups":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeReplicationTaskAssessmentResults":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeReplicationTaskAssessmentRuns":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeReplicationTaskIndividualAssessments":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeReplicationTasks":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeSchemas":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"},"DescribeTableStatistics":{"input_token":"Marker","output_token":"Marker","limit_key":"MaxRecords"}}}; - this.publishDatagram(message); - }; +/***/ }), - /** - * Publishes message to an agent. - * @param {Buffer} message JSON message to send to agent. - * @api private - */ - Publisher.prototype.publishDatagram = function (message) { - var self = this; - var client = this.getClient(); - - this.messagesInFlight++; - this.client.send( - message, - 0, - message.length, - this.port, - this.address, - function (err, bytes) { - if (--self.messagesInFlight <= 0) { - // destroy existing client so the event loop isn't kept open - self.destroyClient(); - } - } - ); - }; +/***/ 1065: +/***/ (function(module) { - /** - * Returns an existing udp socket, or creates one if it doesn't already exist. - * @api private - */ - Publisher.prototype.getClient = function () { - if (!this.client) { - this.client = dgram.createSocket("udp4"); - } - return this.client; - }; +module.exports = {"pagination":{"ListHumanLoops":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"HumanLoopSummaries"}}}; - /** - * Destroys the udp socket. - * @api private - */ - Publisher.prototype.destroyClient = function () { - if (this.client) { - this.client.close(); - this.client = void 0; - } - }; +/***/ }), - module.exports = { - Publisher: Publisher, - }; +/***/ 1068: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 1711: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +apiLoader.services['detective'] = {}; +AWS.Detective = Service.defineService('detective', ['2018-10-26']); +Object.defineProperty(apiLoader.services['detective'], '2018-10-26', { + get: function get() { + var model = __webpack_require__(9130); + model.paginators = __webpack_require__(1527).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.Detective; + + +/***/ }), - apiLoader.services["glue"] = {}; - AWS.Glue = Service.defineService("glue", ["2017-03-31"]); - Object.defineProperty(apiLoader.services["glue"], "2017-03-31", { - get: function get() { - var model = __webpack_require__(6063); - model.paginators = __webpack_require__(2911).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 1071: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.Glue; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['rds'] = {}; +AWS.RDS = Service.defineService('rds', ['2013-01-10', '2013-02-12', '2013-09-09', '2014-09-01', '2014-09-01*', '2014-10-31']); +__webpack_require__(7978); +Object.defineProperty(apiLoader.services['rds'], '2013-01-10', { + get: function get() { + var model = __webpack_require__(5017); + model.paginators = __webpack_require__(2904).pagination; + return model; + }, + enumerable: true, + configurable: true +}); +Object.defineProperty(apiLoader.services['rds'], '2013-02-12', { + get: function get() { + var model = __webpack_require__(4237); + model.paginators = __webpack_require__(3756).pagination; + return model; + }, + enumerable: true, + configurable: true +}); +Object.defineProperty(apiLoader.services['rds'], '2013-09-09', { + get: function get() { + var model = __webpack_require__(6928); + model.paginators = __webpack_require__(1318).pagination; + model.waiters = __webpack_require__(5945).waiters; + return model; + }, + enumerable: true, + configurable: true +}); +Object.defineProperty(apiLoader.services['rds'], '2014-09-01', { + get: function get() { + var model = __webpack_require__(1413); + model.paginators = __webpack_require__(2323).pagination; + return model; + }, + enumerable: true, + configurable: true +}); +Object.defineProperty(apiLoader.services['rds'], '2014-10-31', { + get: function get() { + var model = __webpack_require__(8713); + model.paginators = __webpack_require__(4798).pagination; + model.waiters = __webpack_require__(4525).waiters; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 1713: /***/ function (module) { - module.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: {}, - }; +module.exports = AWS.RDS; - /***/ - }, - /***/ 1724: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-04-19", - endpointPrefix: "codestar", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "CodeStar", - serviceFullName: "AWS CodeStar", - serviceId: "CodeStar", - signatureVersion: "v4", - targetPrefix: "CodeStar_20170419", - uid: "codestar-2017-04-19", - }, - operations: { - AssociateTeamMember: { - input: { - type: "structure", - required: ["projectId", "userArn", "projectRole"], - members: { - projectId: {}, - clientRequestToken: {}, - userArn: {}, - projectRole: {}, - remoteAccessAllowed: { type: "boolean" }, - }, - }, - output: { type: "structure", members: { clientRequestToken: {} } }, - }, - CreateProject: { - input: { - type: "structure", - required: ["name", "id"], - members: { - name: { shape: "S9" }, - id: {}, - description: { shape: "Sa" }, - clientRequestToken: {}, - sourceCode: { - type: "list", - member: { - type: "structure", - required: ["source", "destination"], - members: { - source: { - type: "structure", - required: ["s3"], - members: { s3: { shape: "Se" } }, - }, - destination: { - type: "structure", - members: { - codeCommit: { - type: "structure", - required: ["name"], - members: { name: {} }, - }, - gitHub: { - type: "structure", - required: [ - "name", - "type", - "owner", - "privateRepository", - "issuesEnabled", - "token", - ], - members: { - name: {}, - description: {}, - type: {}, - owner: {}, - privateRepository: { type: "boolean" }, - issuesEnabled: { type: "boolean" }, - token: { type: "string", sensitive: true }, - }, - }, - }, - }, - }, - }, - }, - toolchain: { - type: "structure", - required: ["source"], - members: { - source: { - type: "structure", - required: ["s3"], - members: { s3: { shape: "Se" } }, - }, - roleArn: {}, - stackParameters: { - type: "map", - key: {}, - value: { type: "string", sensitive: true }, - }, - }, - }, - tags: { shape: "Sx" }, - }, - }, - output: { - type: "structure", - required: ["id", "arn"], - members: { - id: {}, - arn: {}, - clientRequestToken: {}, - projectTemplateId: {}, - }, - }, - }, - CreateUserProfile: { - input: { - type: "structure", - required: ["userArn", "displayName", "emailAddress"], - members: { - userArn: {}, - displayName: { shape: "S14" }, - emailAddress: { shape: "S15" }, - sshPublicKey: {}, - }, - }, - output: { - type: "structure", - required: ["userArn"], - members: { - userArn: {}, - displayName: { shape: "S14" }, - emailAddress: { shape: "S15" }, - sshPublicKey: {}, - createdTimestamp: { type: "timestamp" }, - lastModifiedTimestamp: { type: "timestamp" }, - }, - }, - }, - DeleteProject: { - input: { - type: "structure", - required: ["id"], - members: { - id: {}, - clientRequestToken: {}, - deleteStack: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { stackId: {}, projectArn: {} }, - }, - }, - DeleteUserProfile: { - input: { - type: "structure", - required: ["userArn"], - members: { userArn: {} }, - }, - output: { - type: "structure", - required: ["userArn"], - members: { userArn: {} }, - }, - }, - DescribeProject: { - input: { type: "structure", required: ["id"], members: { id: {} } }, - output: { - type: "structure", - members: { - name: { shape: "S9" }, - id: {}, - arn: {}, - description: { shape: "Sa" }, - clientRequestToken: {}, - createdTimeStamp: { type: "timestamp" }, - stackId: {}, - projectTemplateId: {}, - status: { - type: "structure", - required: ["state"], - members: { state: {}, reason: {} }, - }, - }, - }, - }, - DescribeUserProfile: { - input: { - type: "structure", - required: ["userArn"], - members: { userArn: {} }, - }, - output: { - type: "structure", - required: [ - "userArn", - "createdTimestamp", - "lastModifiedTimestamp", - ], - members: { - userArn: {}, - displayName: { shape: "S14" }, - emailAddress: { shape: "S15" }, - sshPublicKey: {}, - createdTimestamp: { type: "timestamp" }, - lastModifiedTimestamp: { type: "timestamp" }, - }, - }, - }, - DisassociateTeamMember: { - input: { - type: "structure", - required: ["projectId", "userArn"], - members: { projectId: {}, userArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - ListProjects: { - input: { - type: "structure", - members: { nextToken: {}, maxResults: { type: "integer" } }, - }, - output: { - type: "structure", - required: ["projects"], - members: { - projects: { - type: "list", - member: { - type: "structure", - members: { projectId: {}, projectArn: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListResources: { - input: { - type: "structure", - required: ["projectId"], - members: { - projectId: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - resources: { - type: "list", - member: { - type: "structure", - required: ["id"], - members: { id: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListTagsForProject: { - input: { - type: "structure", - required: ["id"], - members: { - id: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { tags: { shape: "Sx" }, nextToken: {} }, - }, - }, - ListTeamMembers: { - input: { - type: "structure", - required: ["projectId"], - members: { - projectId: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - required: ["teamMembers"], - members: { - teamMembers: { - type: "list", - member: { - type: "structure", - required: ["userArn", "projectRole"], - members: { - userArn: {}, - projectRole: {}, - remoteAccessAllowed: { type: "boolean" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListUserProfiles: { - input: { - type: "structure", - members: { nextToken: {}, maxResults: { type: "integer" } }, - }, - output: { - type: "structure", - required: ["userProfiles"], - members: { - userProfiles: { - type: "list", - member: { - type: "structure", - members: { - userArn: {}, - displayName: { shape: "S14" }, - emailAddress: { shape: "S15" }, - sshPublicKey: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - TagProject: { - input: { - type: "structure", - required: ["id", "tags"], - members: { id: {}, tags: { shape: "Sx" } }, - }, - output: { type: "structure", members: { tags: { shape: "Sx" } } }, - }, - UntagProject: { - input: { - type: "structure", - required: ["id", "tags"], - members: { id: {}, tags: { type: "list", member: {} } }, - }, - output: { type: "structure", members: {} }, - }, - UpdateProject: { - input: { - type: "structure", - required: ["id"], - members: { - id: {}, - name: { shape: "S9" }, - description: { shape: "Sa" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateTeamMember: { - input: { - type: "structure", - required: ["projectId", "userArn"], - members: { - projectId: {}, - userArn: {}, - projectRole: {}, - remoteAccessAllowed: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - userArn: {}, - projectRole: {}, - remoteAccessAllowed: { type: "boolean" }, - }, - }, - }, - UpdateUserProfile: { - input: { - type: "structure", - required: ["userArn"], - members: { - userArn: {}, - displayName: { shape: "S14" }, - emailAddress: { shape: "S15" }, - sshPublicKey: {}, - }, - }, - output: { - type: "structure", - required: ["userArn"], - members: { - userArn: {}, - displayName: { shape: "S14" }, - emailAddress: { shape: "S15" }, - sshPublicKey: {}, - createdTimestamp: { type: "timestamp" }, - lastModifiedTimestamp: { type: "timestamp" }, - }, - }, - }, - }, - shapes: { - S9: { type: "string", sensitive: true }, - Sa: { type: "string", sensitive: true }, - Se: { type: "structure", members: { bucketName: {}, bucketKey: {} } }, - Sx: { type: "map", key: {}, value: {} }, - S14: { type: "string", sensitive: true }, - S15: { type: "string", sensitive: true }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1073: +/***/ (function(module) { - /***/ 1729: /***/ function (module) { - module.exports = { - pagination: { - GetDedicatedIps: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListConfigurationSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListDedicatedIpPools: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListDeliverabilityTestReports: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListDomainDeliverabilityCampaigns: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListEmailIdentities: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - }, - }; +module.exports = {"pagination":{"ListChangedBlocks":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListSnapshotBlocks":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - /***/ - }, +/***/ }), - /***/ 1733: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["sts"] = {}; - AWS.STS = Service.defineService("sts", ["2011-06-15"]); - __webpack_require__(3861); - Object.defineProperty(apiLoader.services["sts"], "2011-06-15", { - get: function get() { - var model = __webpack_require__(9715); - model.paginators = __webpack_require__(7270).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 1079: +/***/ (function(module) { - module.exports = AWS.STS; +module.exports = {"pagination":{"ListCloudFrontOriginAccessIdentities":{"input_token":"Marker","limit_key":"MaxItems","more_results":"CloudFrontOriginAccessIdentityList.IsTruncated","output_token":"CloudFrontOriginAccessIdentityList.NextMarker","result_key":"CloudFrontOriginAccessIdentityList.Items"},"ListDistributions":{"input_token":"Marker","limit_key":"MaxItems","more_results":"DistributionList.IsTruncated","output_token":"DistributionList.NextMarker","result_key":"DistributionList.Items"},"ListInvalidations":{"input_token":"Marker","limit_key":"MaxItems","more_results":"InvalidationList.IsTruncated","output_token":"InvalidationList.NextMarker","result_key":"InvalidationList.Items"},"ListStreamingDistributions":{"input_token":"Marker","limit_key":"MaxItems","more_results":"StreamingDistributionList.IsTruncated","output_token":"StreamingDistributionList.NextMarker","result_key":"StreamingDistributionList.Items"}}}; - /***/ - }, +/***/ }), - /***/ 1740: /***/ function (module, __unusedexports, __webpack_require__) { - var rng = __webpack_require__(1881); - var bytesToUuid = __webpack_require__(2390); +/***/ 1096: +/***/ (function(module, __unusedexports, __webpack_require__) { - function v4(options, buf, offset) { - var i = (buf && offset) || 0; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - if (typeof options == "string") { - buf = options === "binary" ? new Array(16) : null; - options = null; - } - options = options || {}; +apiLoader.services['codestarconnections'] = {}; +AWS.CodeStarconnections = Service.defineService('codestarconnections', ['2019-12-01']); +Object.defineProperty(apiLoader.services['codestarconnections'], '2019-12-01', { + get: function get() { + var model = __webpack_require__(4664); + model.paginators = __webpack_require__(7572).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - var rnds = options.random || (options.rng || rng)(); +module.exports = AWS.CodeStarconnections; - // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` - rnds[6] = (rnds[6] & 0x0f) | 0x40; - rnds[8] = (rnds[8] & 0x3f) | 0x80; - // Copy bytes to buffer, if provided - if (buf) { - for (var ii = 0; ii < 16; ++ii) { - buf[i + ii] = rnds[ii]; - } - } +/***/ }), - return buf || bytesToUuid(rnds); - } +/***/ 1098: +/***/ (function(module) { - module.exports = v4; +module.exports = {"pagination":{"ListJobs":{"input_token":"marker","limit_key":"limit","output_token":"Marker","result_key":"JobList"},"ListMultipartUploads":{"input_token":"marker","limit_key":"limit","output_token":"Marker","result_key":"UploadsList"},"ListParts":{"input_token":"marker","limit_key":"limit","output_token":"Marker","result_key":"Parts"},"ListVaults":{"input_token":"marker","limit_key":"limit","output_token":"Marker","result_key":"VaultList"}}}; - /***/ - }, +/***/ }), - /***/ 1753: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; +/***/ 1115: +/***/ (function(module) { - Object.defineProperty(exports, "__esModule", { value: true }); +module.exports = {"version":"2.0","metadata":{"uid":"machinelearning-2014-12-12","apiVersion":"2014-12-12","endpointPrefix":"machinelearning","jsonVersion":"1.1","serviceFullName":"Amazon Machine Learning","serviceId":"Machine Learning","signatureVersion":"v4","targetPrefix":"AmazonML_20141212","protocol":"json"},"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":{}}}}},"examples":{}}; - function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex - ? ex["default"] - : ex; - } +/***/ }), - var endpoint = __webpack_require__(9385); - var universalUserAgent = __webpack_require__(5211); - var isPlainObject = _interopDefault(__webpack_require__(2696)); - var nodeFetch = _interopDefault(__webpack_require__(4454)); - var requestError = __webpack_require__(7463); +/***/ 1116: +/***/ (function(module) { - const VERSION = "5.3.4"; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-12-19","endpointPrefix":"macie","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Macie","serviceId":"Macie","signatureVersion":"v4","targetPrefix":"MacieService","uid":"macie-2017-12-19"},"operations":{"AssociateMemberAccount":{"input":{"type":"structure","required":["memberAccountId"],"members":{"memberAccountId":{}}}},"AssociateS3Resources":{"input":{"type":"structure","required":["s3Resources"],"members":{"memberAccountId":{},"s3Resources":{"shape":"S4"}}},"output":{"type":"structure","members":{"failedS3Resources":{"shape":"Sc"}}}},"DisassociateMemberAccount":{"input":{"type":"structure","required":["memberAccountId"],"members":{"memberAccountId":{}}}},"DisassociateS3Resources":{"input":{"type":"structure","required":["associatedS3Resources"],"members":{"memberAccountId":{},"associatedS3Resources":{"type":"list","member":{"shape":"Se"}}}},"output":{"type":"structure","members":{"failedS3Resources":{"shape":"Sc"}}}},"ListMemberAccounts":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"memberAccounts":{"type":"list","member":{"type":"structure","members":{"accountId":{}}}},"nextToken":{}}}},"ListS3Resources":{"input":{"type":"structure","members":{"memberAccountId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"s3Resources":{"shape":"S4"},"nextToken":{}}}},"UpdateS3Resources":{"input":{"type":"structure","required":["s3ResourcesUpdate"],"members":{"memberAccountId":{},"s3ResourcesUpdate":{"type":"list","member":{"type":"structure","required":["bucketName","classificationTypeUpdate"],"members":{"bucketName":{},"prefix":{},"classificationTypeUpdate":{"type":"structure","members":{"oneTime":{},"continuous":{}}}}}}}},"output":{"type":"structure","members":{"failedS3Resources":{"shape":"Sc"}}}}},"shapes":{"S4":{"type":"list","member":{"type":"structure","required":["bucketName","classificationType"],"members":{"bucketName":{},"prefix":{},"classificationType":{"type":"structure","required":["oneTime","continuous"],"members":{"oneTime":{},"continuous":{}}}}}},"Sc":{"type":"list","member":{"type":"structure","members":{"failedItem":{"shape":"Se"},"errorCode":{},"errorMessage":{}}}},"Se":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"prefix":{}}}}}; - function getBufferResponse(response) { - return response.arrayBuffer(); - } +/***/ }), - function fetchWrapper(requestOptions) { - if ( - isPlainObject(requestOptions.body) || - Array.isArray(requestOptions.body) - ) { - requestOptions.body = JSON.stringify(requestOptions.body); - } +/***/ 1130: +/***/ (function(module) { - let headers = {}; - let status; - let url; - const fetch = - (requestOptions.request && requestOptions.request.fetch) || nodeFetch; - return fetch( - requestOptions.url, - Object.assign( - { - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - redirect: requestOptions.redirect, - }, - requestOptions.request - ) - ) - .then((response) => { - url = response.url; - status = response.status; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-11-23","endpointPrefix":"states","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"AWS SFN","serviceFullName":"AWS Step Functions","serviceId":"SFN","signatureVersion":"v4","targetPrefix":"AWSStepFunctions","uid":"states-2016-11-23"},"operations":{"CreateActivity":{"input":{"type":"structure","required":["name"],"members":{"name":{},"tags":{"shape":"S3"}}},"output":{"type":"structure","required":["activityArn","creationDate"],"members":{"activityArn":{},"creationDate":{"type":"timestamp"}}},"idempotent":true},"CreateStateMachine":{"input":{"type":"structure","required":["name","definition","roleArn"],"members":{"name":{},"definition":{"shape":"Sb"},"roleArn":{},"type":{},"loggingConfiguration":{"shape":"Sd"},"tags":{"shape":"S3"},"tracingConfiguration":{"shape":"Sj"}}},"output":{"type":"structure","required":["stateMachineArn","creationDate"],"members":{"stateMachineArn":{},"creationDate":{"type":"timestamp"}}},"idempotent":true},"DeleteActivity":{"input":{"type":"structure","required":["activityArn"],"members":{"activityArn":{}}},"output":{"type":"structure","members":{}}},"DeleteStateMachine":{"input":{"type":"structure","required":["stateMachineArn"],"members":{"stateMachineArn":{}}},"output":{"type":"structure","members":{}}},"DescribeActivity":{"input":{"type":"structure","required":["activityArn"],"members":{"activityArn":{}}},"output":{"type":"structure","required":["activityArn","name","creationDate"],"members":{"activityArn":{},"name":{},"creationDate":{"type":"timestamp"}}}},"DescribeExecution":{"input":{"type":"structure","required":["executionArn"],"members":{"executionArn":{}}},"output":{"type":"structure","required":["executionArn","stateMachineArn","status","startDate"],"members":{"executionArn":{},"stateMachineArn":{},"name":{},"status":{},"startDate":{"type":"timestamp"},"stopDate":{"type":"timestamp"},"input":{"shape":"Sv"},"inputDetails":{"shape":"Sw"},"output":{"shape":"Sv"},"outputDetails":{"shape":"Sw"},"traceHeader":{}}}},"DescribeStateMachine":{"input":{"type":"structure","required":["stateMachineArn"],"members":{"stateMachineArn":{}}},"output":{"type":"structure","required":["stateMachineArn","name","definition","roleArn","type","creationDate"],"members":{"stateMachineArn":{},"name":{},"status":{},"definition":{"shape":"Sb"},"roleArn":{},"type":{},"creationDate":{"type":"timestamp"},"loggingConfiguration":{"shape":"Sd"},"tracingConfiguration":{"shape":"Sj"}}}},"DescribeStateMachineForExecution":{"input":{"type":"structure","required":["executionArn"],"members":{"executionArn":{}}},"output":{"type":"structure","required":["stateMachineArn","name","definition","roleArn","updateDate"],"members":{"stateMachineArn":{},"name":{},"definition":{"shape":"Sb"},"roleArn":{},"updateDate":{"type":"timestamp"},"loggingConfiguration":{"shape":"Sd"},"tracingConfiguration":{"shape":"Sj"}}}},"GetActivityTask":{"input":{"type":"structure","required":["activityArn"],"members":{"activityArn":{},"workerName":{}}},"output":{"type":"structure","members":{"taskToken":{},"input":{"type":"string","sensitive":true}}}},"GetExecutionHistory":{"input":{"type":"structure","required":["executionArn"],"members":{"executionArn":{},"maxResults":{"type":"integer"},"reverseOrder":{"type":"boolean"},"nextToken":{},"includeExecutionData":{"type":"boolean"}}},"output":{"type":"structure","required":["events"],"members":{"events":{"type":"list","member":{"type":"structure","required":["timestamp","type","id"],"members":{"timestamp":{"type":"timestamp"},"type":{},"id":{"type":"long"},"previousEventId":{"type":"long"},"activityFailedEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"activityScheduleFailedEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"activityScheduledEventDetails":{"type":"structure","required":["resource"],"members":{"resource":{},"input":{"shape":"Sv"},"inputDetails":{"shape":"S1n"},"timeoutInSeconds":{"type":"long"},"heartbeatInSeconds":{"type":"long"}}},"activityStartedEventDetails":{"type":"structure","members":{"workerName":{}}},"activitySucceededEventDetails":{"type":"structure","members":{"output":{"shape":"Sv"},"outputDetails":{"shape":"S1n"}}},"activityTimedOutEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"taskFailedEventDetails":{"type":"structure","required":["resourceType","resource"],"members":{"resourceType":{},"resource":{},"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"taskScheduledEventDetails":{"type":"structure","required":["resourceType","resource","region","parameters"],"members":{"resourceType":{},"resource":{},"region":{},"parameters":{"type":"string","sensitive":true},"timeoutInSeconds":{"type":"long"},"heartbeatInSeconds":{"type":"long"}}},"taskStartFailedEventDetails":{"type":"structure","required":["resourceType","resource"],"members":{"resourceType":{},"resource":{},"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"taskStartedEventDetails":{"type":"structure","required":["resourceType","resource"],"members":{"resourceType":{},"resource":{}}},"taskSubmitFailedEventDetails":{"type":"structure","required":["resourceType","resource"],"members":{"resourceType":{},"resource":{},"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"taskSubmittedEventDetails":{"type":"structure","required":["resourceType","resource"],"members":{"resourceType":{},"resource":{},"output":{"shape":"Sv"},"outputDetails":{"shape":"S1n"}}},"taskSucceededEventDetails":{"type":"structure","required":["resourceType","resource"],"members":{"resourceType":{},"resource":{},"output":{"shape":"Sv"},"outputDetails":{"shape":"S1n"}}},"taskTimedOutEventDetails":{"type":"structure","required":["resourceType","resource"],"members":{"resourceType":{},"resource":{},"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"executionFailedEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"executionStartedEventDetails":{"type":"structure","members":{"input":{"shape":"Sv"},"inputDetails":{"shape":"S1n"},"roleArn":{}}},"executionSucceededEventDetails":{"type":"structure","members":{"output":{"shape":"Sv"},"outputDetails":{"shape":"S1n"}}},"executionAbortedEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"executionTimedOutEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"mapStateStartedEventDetails":{"type":"structure","members":{"length":{"type":"integer"}}},"mapIterationStartedEventDetails":{"shape":"S2a"},"mapIterationSucceededEventDetails":{"shape":"S2a"},"mapIterationFailedEventDetails":{"shape":"S2a"},"mapIterationAbortedEventDetails":{"shape":"S2a"},"lambdaFunctionFailedEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"lambdaFunctionScheduleFailedEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"lambdaFunctionScheduledEventDetails":{"type":"structure","required":["resource"],"members":{"resource":{},"input":{"shape":"Sv"},"inputDetails":{"shape":"S1n"},"timeoutInSeconds":{"type":"long"}}},"lambdaFunctionStartFailedEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"lambdaFunctionSucceededEventDetails":{"type":"structure","members":{"output":{"shape":"Sv"},"outputDetails":{"shape":"S1n"}}},"lambdaFunctionTimedOutEventDetails":{"type":"structure","members":{"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"stateEnteredEventDetails":{"type":"structure","required":["name"],"members":{"name":{},"input":{"shape":"Sv"},"inputDetails":{"shape":"S1n"}}},"stateExitedEventDetails":{"type":"structure","required":["name"],"members":{"name":{},"output":{"shape":"Sv"},"outputDetails":{"shape":"S1n"}}}}}},"nextToken":{}}}},"ListActivities":{"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["activities"],"members":{"activities":{"type":"list","member":{"type":"structure","required":["activityArn","name","creationDate"],"members":{"activityArn":{},"name":{},"creationDate":{"type":"timestamp"}}}},"nextToken":{}}}},"ListExecutions":{"input":{"type":"structure","required":["stateMachineArn"],"members":{"stateMachineArn":{},"statusFilter":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["executions"],"members":{"executions":{"type":"list","member":{"type":"structure","required":["executionArn","stateMachineArn","name","status","startDate"],"members":{"executionArn":{},"stateMachineArn":{},"name":{},"status":{},"startDate":{"type":"timestamp"},"stopDate":{"type":"timestamp"}}}},"nextToken":{}}}},"ListStateMachines":{"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["stateMachines"],"members":{"stateMachines":{"type":"list","member":{"type":"structure","required":["stateMachineArn","name","type","creationDate"],"members":{"stateMachineArn":{},"name":{},"type":{},"creationDate":{"type":"timestamp"}}}},"nextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{}}},"output":{"type":"structure","members":{"tags":{"shape":"S3"}}}},"SendTaskFailure":{"input":{"type":"structure","required":["taskToken"],"members":{"taskToken":{},"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"output":{"type":"structure","members":{}}},"SendTaskHeartbeat":{"input":{"type":"structure","required":["taskToken"],"members":{"taskToken":{}}},"output":{"type":"structure","members":{}}},"SendTaskSuccess":{"input":{"type":"structure","required":["taskToken","output"],"members":{"taskToken":{},"output":{"shape":"Sv"}}},"output":{"type":"structure","members":{}}},"StartExecution":{"input":{"type":"structure","required":["stateMachineArn"],"members":{"stateMachineArn":{},"name":{},"input":{"shape":"Sv"},"traceHeader":{}}},"output":{"type":"structure","required":["executionArn","startDate"],"members":{"executionArn":{},"startDate":{"type":"timestamp"}}},"idempotent":true},"StartSyncExecution":{"input":{"type":"structure","required":["stateMachineArn"],"members":{"stateMachineArn":{},"name":{},"input":{"shape":"Sv"},"traceHeader":{}}},"output":{"type":"structure","required":["executionArn","startDate","stopDate","status"],"members":{"executionArn":{},"stateMachineArn":{},"name":{},"startDate":{"type":"timestamp"},"stopDate":{"type":"timestamp"},"status":{},"error":{"shape":"S1j"},"cause":{"shape":"S1k"},"input":{"shape":"Sv"},"inputDetails":{"shape":"Sw"},"output":{"shape":"Sv"},"outputDetails":{"shape":"Sw"},"traceHeader":{},"billingDetails":{"type":"structure","members":{"billedMemoryUsedInMB":{"type":"long"},"billedDurationInMilliseconds":{"type":"long"}}}}},"endpoint":{"hostPrefix":"sync-"}},"StopExecution":{"input":{"type":"structure","required":["executionArn"],"members":{"executionArn":{},"error":{"shape":"S1j"},"cause":{"shape":"S1k"}}},"output":{"type":"structure","required":["stopDate"],"members":{"stopDate":{"type":"timestamp"}}}},"TagResource":{"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{},"tags":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateStateMachine":{"input":{"type":"structure","required":["stateMachineArn"],"members":{"stateMachineArn":{},"definition":{"shape":"Sb"},"roleArn":{},"loggingConfiguration":{"shape":"Sd"},"tracingConfiguration":{"shape":"Sj"}}},"output":{"type":"structure","required":["updateDate"],"members":{"updateDate":{"type":"timestamp"}}},"idempotent":true}},"shapes":{"S3":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}}},"Sb":{"type":"string","sensitive":true},"Sd":{"type":"structure","members":{"level":{},"includeExecutionData":{"type":"boolean"},"destinations":{"type":"list","member":{"type":"structure","members":{"cloudWatchLogsLogGroup":{"type":"structure","members":{"logGroupArn":{}}}}}}}},"Sj":{"type":"structure","members":{"enabled":{"type":"boolean"}}},"Sv":{"type":"string","sensitive":true},"Sw":{"type":"structure","members":{"included":{"type":"boolean"}}},"S1j":{"type":"string","sensitive":true},"S1k":{"type":"string","sensitive":true},"S1n":{"type":"structure","members":{"truncated":{"type":"boolean"}}},"S2a":{"type":"structure","members":{"name":{},"index":{"type":"integer"}}}}}; - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } +/***/ }), - if (status === 204 || status === 205) { - return; - } // GitHub API returns 200 for HEAD requests +/***/ 1152: +/***/ (function(module) { - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-08-08","endpointPrefix":"globalaccelerator","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Global Accelerator","serviceId":"Global Accelerator","signatureVersion":"v4","signingName":"globalaccelerator","targetPrefix":"GlobalAccelerator_V20180706","uid":"globalaccelerator-2018-08-08"},"operations":{"AddCustomRoutingEndpoints":{"input":{"type":"structure","required":["EndpointConfigurations","EndpointGroupArn"],"members":{"EndpointConfigurations":{"type":"list","member":{"type":"structure","members":{"EndpointId":{}}}},"EndpointGroupArn":{}}},"output":{"type":"structure","members":{"EndpointDescriptions":{"shape":"S6"},"EndpointGroupArn":{}}}},"AdvertiseByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"Sa"}}}},"AllowCustomRoutingTraffic":{"input":{"type":"structure","required":["EndpointGroupArn","EndpointId"],"members":{"EndpointGroupArn":{},"EndpointId":{},"DestinationAddresses":{"shape":"Sg"},"DestinationPorts":{"shape":"Si"},"AllowAllTrafficToEndpoint":{"type":"boolean"}}}},"CreateAccelerator":{"input":{"type":"structure","required":["Name","IdempotencyToken"],"members":{"Name":{},"IpAddressType":{},"IpAddresses":{"shape":"Sn"},"Enabled":{"type":"boolean"},"IdempotencyToken":{"idempotencyToken":true},"Tags":{"shape":"Sp"}}},"output":{"type":"structure","members":{"Accelerator":{"shape":"Su"}}}},"CreateCustomRoutingAccelerator":{"input":{"type":"structure","required":["Name","IdempotencyToken"],"members":{"Name":{},"IpAddressType":{},"Enabled":{"type":"boolean"},"IdempotencyToken":{"idempotencyToken":true},"Tags":{"shape":"Sp"}}},"output":{"type":"structure","members":{"Accelerator":{"shape":"S10"}}}},"CreateCustomRoutingEndpointGroup":{"input":{"type":"structure","required":["ListenerArn","EndpointGroupRegion","DestinationConfigurations","IdempotencyToken"],"members":{"ListenerArn":{},"EndpointGroupRegion":{},"DestinationConfigurations":{"type":"list","member":{"type":"structure","required":["FromPort","ToPort","Protocols"],"members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"},"Protocols":{"shape":"S15"}}}},"IdempotencyToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"EndpointGroup":{"shape":"S18"}}}},"CreateCustomRoutingListener":{"input":{"type":"structure","required":["AcceleratorArn","PortRanges","IdempotencyToken"],"members":{"AcceleratorArn":{},"PortRanges":{"shape":"S1e"},"IdempotencyToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Listener":{"shape":"S1h"}}}},"CreateEndpointGroup":{"input":{"type":"structure","required":["ListenerArn","EndpointGroupRegion","IdempotencyToken"],"members":{"ListenerArn":{},"EndpointGroupRegion":{},"EndpointConfigurations":{"shape":"S1j"},"TrafficDialPercentage":{"type":"float"},"HealthCheckPort":{"type":"integer"},"HealthCheckProtocol":{},"HealthCheckPath":{},"HealthCheckIntervalSeconds":{"type":"integer"},"ThresholdCount":{"type":"integer"},"IdempotencyToken":{"idempotencyToken":true},"PortOverrides":{"shape":"S1s"}}},"output":{"type":"structure","members":{"EndpointGroup":{"shape":"S1v"}}}},"CreateListener":{"input":{"type":"structure","required":["AcceleratorArn","PortRanges","Protocol","IdempotencyToken"],"members":{"AcceleratorArn":{},"PortRanges":{"shape":"S1e"},"Protocol":{},"ClientAffinity":{},"IdempotencyToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Listener":{"shape":"S22"}}}},"DeleteAccelerator":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{}}}},"DeleteCustomRoutingAccelerator":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{}}}},"DeleteCustomRoutingEndpointGroup":{"input":{"type":"structure","required":["EndpointGroupArn"],"members":{"EndpointGroupArn":{}}}},"DeleteCustomRoutingListener":{"input":{"type":"structure","required":["ListenerArn"],"members":{"ListenerArn":{}}}},"DeleteEndpointGroup":{"input":{"type":"structure","required":["EndpointGroupArn"],"members":{"EndpointGroupArn":{}}}},"DeleteListener":{"input":{"type":"structure","required":["ListenerArn"],"members":{"ListenerArn":{}}}},"DenyCustomRoutingTraffic":{"input":{"type":"structure","required":["EndpointGroupArn","EndpointId"],"members":{"EndpointGroupArn":{},"EndpointId":{},"DestinationAddresses":{"shape":"Sg"},"DestinationPorts":{"shape":"Si"},"DenyAllTrafficToEndpoint":{"type":"boolean"}}}},"DeprovisionByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"Sa"}}}},"DescribeAccelerator":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{}}},"output":{"type":"structure","members":{"Accelerator":{"shape":"Su"}}}},"DescribeAcceleratorAttributes":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{}}},"output":{"type":"structure","members":{"AcceleratorAttributes":{"shape":"S2g"}}}},"DescribeCustomRoutingAccelerator":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{}}},"output":{"type":"structure","members":{"Accelerator":{"shape":"S10"}}}},"DescribeCustomRoutingAcceleratorAttributes":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{}}},"output":{"type":"structure","members":{"AcceleratorAttributes":{"shape":"S2l"}}}},"DescribeCustomRoutingEndpointGroup":{"input":{"type":"structure","required":["EndpointGroupArn"],"members":{"EndpointGroupArn":{}}},"output":{"type":"structure","members":{"EndpointGroup":{"shape":"S18"}}}},"DescribeCustomRoutingListener":{"input":{"type":"structure","required":["ListenerArn"],"members":{"ListenerArn":{}}},"output":{"type":"structure","members":{"Listener":{"shape":"S1h"}}}},"DescribeEndpointGroup":{"input":{"type":"structure","required":["EndpointGroupArn"],"members":{"EndpointGroupArn":{}}},"output":{"type":"structure","members":{"EndpointGroup":{"shape":"S1v"}}}},"DescribeListener":{"input":{"type":"structure","required":["ListenerArn"],"members":{"ListenerArn":{}}},"output":{"type":"structure","members":{"Listener":{"shape":"S22"}}}},"ListAccelerators":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Accelerators":{"type":"list","member":{"shape":"Su"}},"NextToken":{}}}},"ListByoipCidrs":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ByoipCidrs":{"type":"list","member":{"shape":"Sa"}},"NextToken":{}}}},"ListCustomRoutingAccelerators":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Accelerators":{"type":"list","member":{"shape":"S10"}},"NextToken":{}}}},"ListCustomRoutingEndpointGroups":{"input":{"type":"structure","required":["ListenerArn"],"members":{"ListenerArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"EndpointGroups":{"type":"list","member":{"shape":"S18"}},"NextToken":{}}}},"ListCustomRoutingListeners":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Listeners":{"type":"list","member":{"shape":"S1h"}},"NextToken":{}}}},"ListCustomRoutingPortMappings":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{},"EndpointGroupArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PortMappings":{"type":"list","member":{"type":"structure","members":{"AcceleratorPort":{"type":"integer"},"EndpointGroupArn":{},"EndpointId":{},"DestinationSocketAddress":{"shape":"S3f"},"Protocols":{"shape":"S15"},"DestinationTrafficState":{}}}},"NextToken":{}}}},"ListCustomRoutingPortMappingsByDestination":{"input":{"type":"structure","required":["EndpointId","DestinationAddress"],"members":{"EndpointId":{},"DestinationAddress":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DestinationPortMappings":{"type":"list","member":{"type":"structure","members":{"AcceleratorArn":{},"AcceleratorSocketAddresses":{"type":"list","member":{"shape":"S3f"}},"EndpointGroupArn":{},"EndpointId":{},"EndpointGroupRegion":{},"DestinationSocketAddress":{"shape":"S3f"},"IpAddressType":{},"DestinationTrafficState":{}}}},"NextToken":{}}}},"ListEndpointGroups":{"input":{"type":"structure","required":["ListenerArn"],"members":{"ListenerArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"EndpointGroups":{"type":"list","member":{"shape":"S1v"}},"NextToken":{}}}},"ListListeners":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Listeners":{"type":"list","member":{"shape":"S22"}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sp"}}}},"ProvisionByoipCidr":{"input":{"type":"structure","required":["Cidr","CidrAuthorizationContext"],"members":{"Cidr":{},"CidrAuthorizationContext":{"type":"structure","required":["Message","Signature"],"members":{"Message":{},"Signature":{}}}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"Sa"}}}},"RemoveCustomRoutingEndpoints":{"input":{"type":"structure","required":["EndpointIds","EndpointGroupArn"],"members":{"EndpointIds":{"type":"list","member":{}},"EndpointGroupArn":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sp"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAccelerator":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{},"Name":{},"IpAddressType":{},"Enabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Accelerator":{"shape":"Su"}}}},"UpdateAcceleratorAttributes":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{},"FlowLogsEnabled":{"type":"boolean"},"FlowLogsS3Bucket":{},"FlowLogsS3Prefix":{}}},"output":{"type":"structure","members":{"AcceleratorAttributes":{"shape":"S2g"}}}},"UpdateCustomRoutingAccelerator":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{},"Name":{},"IpAddressType":{},"Enabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Accelerator":{"shape":"S10"}}}},"UpdateCustomRoutingAcceleratorAttributes":{"input":{"type":"structure","required":["AcceleratorArn"],"members":{"AcceleratorArn":{},"FlowLogsEnabled":{"type":"boolean"},"FlowLogsS3Bucket":{},"FlowLogsS3Prefix":{}}},"output":{"type":"structure","members":{"AcceleratorAttributes":{"shape":"S2l"}}}},"UpdateCustomRoutingListener":{"input":{"type":"structure","required":["ListenerArn","PortRanges"],"members":{"ListenerArn":{},"PortRanges":{"shape":"S1e"}}},"output":{"type":"structure","members":{"Listener":{"shape":"S1h"}}}},"UpdateEndpointGroup":{"input":{"type":"structure","required":["EndpointGroupArn"],"members":{"EndpointGroupArn":{},"EndpointConfigurations":{"shape":"S1j"},"TrafficDialPercentage":{"type":"float"},"HealthCheckPort":{"type":"integer"},"HealthCheckProtocol":{},"HealthCheckPath":{},"HealthCheckIntervalSeconds":{"type":"integer"},"ThresholdCount":{"type":"integer"},"PortOverrides":{"shape":"S1s"}}},"output":{"type":"structure","members":{"EndpointGroup":{"shape":"S1v"}}}},"UpdateListener":{"input":{"type":"structure","required":["ListenerArn"],"members":{"ListenerArn":{},"PortRanges":{"shape":"S1e"},"Protocol":{},"ClientAffinity":{}}},"output":{"type":"structure","members":{"Listener":{"shape":"S22"}}}},"WithdrawByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"Sa"}}}}},"shapes":{"S6":{"type":"list","member":{"type":"structure","members":{"EndpointId":{}}}},"Sa":{"type":"structure","members":{"Cidr":{},"State":{},"Events":{"type":"list","member":{"type":"structure","members":{"Message":{},"Timestamp":{"type":"timestamp"}}}}}},"Sg":{"type":"list","member":{}},"Si":{"type":"list","member":{"type":"integer"}},"Sn":{"type":"list","member":{}},"Sp":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Su":{"type":"structure","members":{"AcceleratorArn":{},"Name":{},"IpAddressType":{},"Enabled":{"type":"boolean"},"IpSets":{"shape":"Sv"},"DnsName":{},"Status":{},"CreatedTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}},"Sv":{"type":"list","member":{"type":"structure","members":{"IpFamily":{},"IpAddresses":{"shape":"Sn"}}}},"S10":{"type":"structure","members":{"AcceleratorArn":{},"Name":{},"IpAddressType":{},"Enabled":{"type":"boolean"},"IpSets":{"shape":"Sv"},"DnsName":{},"Status":{},"CreatedTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}},"S15":{"type":"list","member":{}},"S18":{"type":"structure","members":{"EndpointGroupArn":{},"EndpointGroupRegion":{},"DestinationDescriptions":{"type":"list","member":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"},"Protocols":{"type":"list","member":{}}}}},"EndpointDescriptions":{"shape":"S6"}}},"S1e":{"type":"list","member":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"S1h":{"type":"structure","members":{"ListenerArn":{},"PortRanges":{"shape":"S1e"}}},"S1j":{"type":"list","member":{"type":"structure","members":{"EndpointId":{},"Weight":{"type":"integer"},"ClientIPPreservationEnabled":{"type":"boolean"}}}},"S1s":{"type":"list","member":{"type":"structure","members":{"ListenerPort":{"type":"integer"},"EndpointPort":{"type":"integer"}}}},"S1v":{"type":"structure","members":{"EndpointGroupArn":{},"EndpointGroupRegion":{},"EndpointDescriptions":{"type":"list","member":{"type":"structure","members":{"EndpointId":{},"Weight":{"type":"integer"},"HealthState":{},"HealthReason":{},"ClientIPPreservationEnabled":{"type":"boolean"}}}},"TrafficDialPercentage":{"type":"float"},"HealthCheckPort":{"type":"integer"},"HealthCheckProtocol":{},"HealthCheckPath":{},"HealthCheckIntervalSeconds":{"type":"integer"},"ThresholdCount":{"type":"integer"},"PortOverrides":{"shape":"S1s"}}},"S22":{"type":"structure","members":{"ListenerArn":{},"PortRanges":{"shape":"S1e"},"Protocol":{},"ClientAffinity":{}}},"S2g":{"type":"structure","members":{"FlowLogsEnabled":{"type":"boolean"},"FlowLogsS3Bucket":{},"FlowLogsS3Prefix":{}}},"S2l":{"type":"structure","members":{"FlowLogsEnabled":{"type":"boolean"},"FlowLogsS3Bucket":{},"FlowLogsS3Prefix":{}}},"S3f":{"type":"structure","members":{"IpAddress":{},"Port":{"type":"integer"}}}}}; - throw new requestError.RequestError(response.statusText, status, { - headers, - request: requestOptions, - }); - } +/***/ }), - if (status === 304) { - throw new requestError.RequestError("Not modified", status, { - headers, - request: requestOptions, - }); - } +/***/ 1154: +/***/ (function(module) { - if (status >= 400) { - return response.text().then((message) => { - const error = new requestError.RequestError(message, status, { - headers, - request: requestOptions, - }); - - try { - let responseBody = JSON.parse(error.message); - Object.assign(error, responseBody); - let errors = responseBody.errors; // Assumption `errors` would always be in Array format - - error.message = - error.message + - ": " + - errors.map(JSON.stringify).join(", "); - } catch (e) { - // ignore, see octokit/rest.js#684 - } +module.exports = {"version":2,"waiters":{"DeploymentSuccessful":{"delay":15,"operation":"GetDeployment","maxAttempts":120,"acceptors":[{"expected":"Succeeded","matcher":"path","state":"success","argument":"deploymentInfo.status"},{"expected":"Failed","matcher":"path","state":"failure","argument":"deploymentInfo.status"},{"expected":"Stopped","matcher":"path","state":"failure","argument":"deploymentInfo.status"}]}}}; - throw error; - }); - } +/***/ }), - const contentType = response.headers.get("content-type"); +/***/ 1163: +/***/ (function(module) { - if (/application\/json/.test(contentType)) { - return response.json(); - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2011-12-05","endpointPrefix":"dynamodb","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"DynamoDB","serviceFullName":"Amazon DynamoDB","serviceId":"DynamoDB","signatureVersion":"v4","targetPrefix":"DynamoDB_20111205","uid":"dynamodb-2011-12-05"},"operations":{"BatchGetItem":{"input":{"type":"structure","required":["RequestItems"],"members":{"RequestItems":{"shape":"S2"}}},"output":{"type":"structure","members":{"Responses":{"type":"map","key":{},"value":{"type":"structure","members":{"Items":{"shape":"Sk"},"ConsumedCapacityUnits":{"type":"double"}}}},"UnprocessedKeys":{"shape":"S2"}}}},"BatchWriteItem":{"input":{"type":"structure","required":["RequestItems"],"members":{"RequestItems":{"shape":"So"}}},"output":{"type":"structure","members":{"Responses":{"type":"map","key":{},"value":{"type":"structure","members":{"ConsumedCapacityUnits":{"type":"double"}}}},"UnprocessedItems":{"shape":"So"}}}},"CreateTable":{"input":{"type":"structure","required":["TableName","KeySchema","ProvisionedThroughput"],"members":{"TableName":{},"KeySchema":{"shape":"Sy"},"ProvisionedThroughput":{"shape":"S12"}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S15"}}}},"DeleteItem":{"input":{"type":"structure","required":["TableName","Key"],"members":{"TableName":{},"Key":{"shape":"S6"},"Expected":{"shape":"S1b"},"ReturnValues":{}}},"output":{"type":"structure","members":{"Attributes":{"shape":"Sl"},"ConsumedCapacityUnits":{"type":"double"}}}},"DeleteTable":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S15"}}}},"DescribeTable":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"Table":{"shape":"S15"}}}},"GetItem":{"input":{"type":"structure","required":["TableName","Key"],"members":{"TableName":{},"Key":{"shape":"S6"},"AttributesToGet":{"shape":"Se"},"ConsistentRead":{"type":"boolean"}}},"output":{"type":"structure","members":{"Item":{"shape":"Sl"},"ConsumedCapacityUnits":{"type":"double"}}}},"ListTables":{"input":{"type":"structure","members":{"ExclusiveStartTableName":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"TableNames":{"type":"list","member":{}},"LastEvaluatedTableName":{}}}},"PutItem":{"input":{"type":"structure","required":["TableName","Item"],"members":{"TableName":{},"Item":{"shape":"Ss"},"Expected":{"shape":"S1b"},"ReturnValues":{}}},"output":{"type":"structure","members":{"Attributes":{"shape":"Sl"},"ConsumedCapacityUnits":{"type":"double"}}}},"Query":{"input":{"type":"structure","required":["TableName","HashKeyValue"],"members":{"TableName":{},"AttributesToGet":{"shape":"Se"},"Limit":{"type":"integer"},"ConsistentRead":{"type":"boolean"},"Count":{"type":"boolean"},"HashKeyValue":{"shape":"S7"},"RangeKeyCondition":{"shape":"S1u"},"ScanIndexForward":{"type":"boolean"},"ExclusiveStartKey":{"shape":"S6"}}},"output":{"type":"structure","members":{"Items":{"shape":"Sk"},"Count":{"type":"integer"},"LastEvaluatedKey":{"shape":"S6"},"ConsumedCapacityUnits":{"type":"double"}}}},"Scan":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{},"AttributesToGet":{"shape":"Se"},"Limit":{"type":"integer"},"Count":{"type":"boolean"},"ScanFilter":{"type":"map","key":{},"value":{"shape":"S1u"}},"ExclusiveStartKey":{"shape":"S6"}}},"output":{"type":"structure","members":{"Items":{"shape":"Sk"},"Count":{"type":"integer"},"ScannedCount":{"type":"integer"},"LastEvaluatedKey":{"shape":"S6"},"ConsumedCapacityUnits":{"type":"double"}}}},"UpdateItem":{"input":{"type":"structure","required":["TableName","Key","AttributeUpdates"],"members":{"TableName":{},"Key":{"shape":"S6"},"AttributeUpdates":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{"shape":"S7"},"Action":{}}}},"Expected":{"shape":"S1b"},"ReturnValues":{}}},"output":{"type":"structure","members":{"Attributes":{"shape":"Sl"},"ConsumedCapacityUnits":{"type":"double"}}}},"UpdateTable":{"input":{"type":"structure","required":["TableName","ProvisionedThroughput"],"members":{"TableName":{},"ProvisionedThroughput":{"shape":"S12"}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S15"}}}}},"shapes":{"S2":{"type":"map","key":{},"value":{"type":"structure","required":["Keys"],"members":{"Keys":{"type":"list","member":{"shape":"S6"}},"AttributesToGet":{"shape":"Se"},"ConsistentRead":{"type":"boolean"}}}},"S6":{"type":"structure","required":["HashKeyElement"],"members":{"HashKeyElement":{"shape":"S7"},"RangeKeyElement":{"shape":"S7"}}},"S7":{"type":"structure","members":{"S":{},"N":{},"B":{"type":"blob"},"SS":{"type":"list","member":{}},"NS":{"type":"list","member":{}},"BS":{"type":"list","member":{"type":"blob"}}}},"Se":{"type":"list","member":{}},"Sk":{"type":"list","member":{"shape":"Sl"}},"Sl":{"type":"map","key":{},"value":{"shape":"S7"}},"So":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","members":{"PutRequest":{"type":"structure","required":["Item"],"members":{"Item":{"shape":"Ss"}}},"DeleteRequest":{"type":"structure","required":["Key"],"members":{"Key":{"shape":"S6"}}}}}}},"Ss":{"type":"map","key":{},"value":{"shape":"S7"}},"Sy":{"type":"structure","required":["HashKeyElement"],"members":{"HashKeyElement":{"shape":"Sz"},"RangeKeyElement":{"shape":"Sz"}}},"Sz":{"type":"structure","required":["AttributeName","AttributeType"],"members":{"AttributeName":{},"AttributeType":{}}},"S12":{"type":"structure","required":["ReadCapacityUnits","WriteCapacityUnits"],"members":{"ReadCapacityUnits":{"type":"long"},"WriteCapacityUnits":{"type":"long"}}},"S15":{"type":"structure","members":{"TableName":{},"KeySchema":{"shape":"Sy"},"TableStatus":{},"CreationDateTime":{"type":"timestamp"},"ProvisionedThroughput":{"type":"structure","members":{"LastIncreaseDateTime":{"type":"timestamp"},"LastDecreaseDateTime":{"type":"timestamp"},"NumberOfDecreasesToday":{"type":"long"},"ReadCapacityUnits":{"type":"long"},"WriteCapacityUnits":{"type":"long"}}},"TableSizeBytes":{"type":"long"},"ItemCount":{"type":"long"}}},"S1b":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{"shape":"S7"},"Exists":{"type":"boolean"}}}},"S1u":{"type":"structure","required":["ComparisonOperator"],"members":{"AttributeValueList":{"type":"list","member":{"shape":"S7"}},"ComparisonOperator":{}}}}}; - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } +/***/ }), - return getBufferResponse(response); - }) - .then((data) => { - return { - status, - url, - headers, - data, - }; - }) - .catch((error) => { - if (error instanceof requestError.RequestError) { - throw error; - } +/***/ 1168: +/***/ (function(module) { - throw new requestError.RequestError(error.message, 500, { - headers, - request: requestOptions, - }); - }); - } +"use strict"; - function withDefaults(oldEndpoint, newDefaults) { - const endpoint = oldEndpoint.defaults(newDefaults); +const alias = ['stdin', 'stdout', 'stderr']; - const newApi = function (route, parameters) { - const endpointOptions = endpoint.merge(route, parameters); +const hasAlias = opts => alias.some(x => Boolean(opts[x])); - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint.parse(endpointOptions)); - } +module.exports = opts => { + if (!opts) { + return null; + } - const request = (route, parameters) => { - return fetchWrapper( - endpoint.parse(endpoint.merge(route, parameters)) - ); - }; + if (opts.stdio && hasAlias(opts)) { + throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${alias.map(x => `\`${x}\``).join(', ')}`); + } - Object.assign(request, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); - return endpointOptions.request.hook(request, endpointOptions); - }; + if (typeof opts.stdio === 'string') { + return opts.stdio; + } - return Object.assign(newApi, { - endpoint, - defaults: withDefaults.bind(null, endpoint), - }); - } + const stdio = opts.stdio || []; - const request = withDefaults(endpoint.endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}`, - }, - }); + if (!Array.isArray(stdio)) { + throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof stdio}\``); + } - exports.request = request; - //# sourceMappingURL=index.js.map + const result = []; + const len = Math.max(stdio.length, alias.length); - /***/ - }, + for (let i = 0; i < len; i++) { + let value = null; - /***/ 1762: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - - /** - * Resolve client-side monitoring configuration from either environmental variables - * or shared config file. Configurations from environmental variables have higher priority - * than those from shared config file. The resolver will try to read the shared config file - * no matter whether the AWS_SDK_LOAD_CONFIG variable is set. - * @api private - */ - function resolveMonitoringConfig() { - var config = { - port: undefined, - clientId: undefined, - enabled: undefined, - host: undefined, - }; - if (fromEnvironment(config) || fromConfigFile(config)) - return toJSType(config); - return toJSType(config); - } + if (stdio[i] !== undefined) { + value = stdio[i]; + } else if (opts[alias[i]] !== undefined) { + value = opts[alias[i]]; + } - /** - * Resolve configurations from environmental variables. - * @param {object} client side monitoring config object needs to be resolved - * @returns {boolean} whether resolving configurations is done - * @api private - */ - function fromEnvironment(config) { - config.port = config.port || process.env.AWS_CSM_PORT; - config.enabled = config.enabled || process.env.AWS_CSM_ENABLED; - config.clientId = config.clientId || process.env.AWS_CSM_CLIENT_ID; - config.host = config.host || process.env.AWS_CSM_HOST; - return ( - (config.port && config.enabled && config.clientId && config.host) || - ["false", "0"].indexOf(config.enabled) >= 0 - ); //no need to read shared config file if explicitely disabled - } + result[i] = value; + } - /** - * Resolve cofigurations from shared config file with specified role name - * @param {object} client side monitoring config object needs to be resolved - * @returns {boolean} whether resolving configurations is done - * @api private - */ - function fromConfigFile(config) { - var sharedFileConfig; - try { - var configFile = AWS.util.iniLoader.loadFrom({ - isConfig: true, - filename: process.env[AWS.util.sharedConfigFileEnv], - }); - var sharedFileConfig = - configFile[process.env.AWS_PROFILE || AWS.util.defaultProfile]; - } catch (err) { - return false; - } - if (!sharedFileConfig) return config; - config.port = config.port || sharedFileConfig.csm_port; - config.enabled = config.enabled || sharedFileConfig.csm_enabled; - config.clientId = config.clientId || sharedFileConfig.csm_client_id; - config.host = config.host || sharedFileConfig.csm_host; - return config.port && config.enabled && config.clientId && config.host; - } + return result; +}; - /** - * Transfer the resolved configuration value to proper types: port as number, enabled - * as boolean and clientId as string. The 'enabled' flag is valued to false when set - * to 'false' or '0'. - * @param {object} resolved client side monitoring config - * @api private - */ - function toJSType(config) { - //config.XXX is either undefined or string - var falsyNotations = ["false", "0", undefined]; - if ( - !config.enabled || - falsyNotations.indexOf(config.enabled.toLowerCase()) >= 0 - ) { - config.enabled = false; - } else { - config.enabled = true; - } - config.port = config.port ? parseInt(config.port, 10) : undefined; - return config; - } - module.exports = resolveMonitoringConfig; +/***/ }), - /***/ - }, +/***/ 1175: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 1764: /***/ function (module) { - module.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", - required: ["Namespace", "MetricName", "Stat"], - members: { - Namespace: {}, - MetricName: {}, - Dimensions: { shape: "S7" }, - Stat: {}, - }, - }, - 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: "Si" } }, - }, - output: { - resultWrapper: "DeleteInsightRulesResult", - type: "structure", - members: { Failures: { shape: "Sl" } }, - }, - }, - DescribeAlarmHistory: { - input: { - type: "structure", - members: { - AlarmName: {}, - AlarmTypes: { shape: "Ss" }, - 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: "Ss" }, - 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: "S1c" }, - AlarmArn: {}, - AlarmConfigurationUpdatedTimestamp: { type: "timestamp" }, - AlarmDescription: {}, - AlarmName: {}, - AlarmRule: {}, - InsufficientDataActions: { shape: "S1c" }, - OKActions: { shape: "S1c" }, - StateReason: {}, - StateReasonData: {}, - StateUpdatedTimestamp: { type: "timestamp" }, - StateValue: {}, - }, - xmlOrder: [ - "ActionsEnabled", - "AlarmActions", - "AlarmArn", - "AlarmConfigurationUpdatedTimestamp", - "AlarmDescription", - "AlarmName", - "AlarmRule", - "InsufficientDataActions", - "OKActions", - "StateReason", - "StateReasonData", - "StateUpdatedTimestamp", - "StateValue", - ], - }, - }, - MetricAlarms: { shape: "S1j" }, - 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: "S1j" } }, - }, - }, - DescribeAnomalyDetectors: { - input: { - type: "structure", - members: { - NextToken: {}, - MaxResults: { type: "integer" }, - Namespace: {}, - MetricName: {}, - Dimensions: { shape: "S7" }, - }, - }, - output: { - resultWrapper: "DescribeAnomalyDetectorsResult", - type: "structure", - members: { - AnomalyDetectors: { - type: "list", - member: { - type: "structure", - members: { - Namespace: {}, - MetricName: {}, - Dimensions: { shape: "S7" }, - Stat: {}, - Configuration: { shape: "S2b" }, - StateValue: {}, - }, - }, - }, - 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: "Si" } }, - }, - output: { - resultWrapper: "DisableInsightRulesResult", - type: "structure", - members: { Failures: { shape: "Sl" } }, - }, - }, - EnableAlarmActions: { - input: { - type: "structure", - required: ["AlarmNames"], - members: { AlarmNames: { shape: "S2" } }, - }, - }, - EnableInsightRules: { - input: { - type: "structure", - required: ["RuleNames"], - members: { RuleNames: { shape: "Si" } }, - }, - output: { - resultWrapper: "EnableInsightRulesResult", - type: "structure", - members: { Failures: { shape: "Sl" } }, - }, - }, - 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: "S1v" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - NextToken: {}, - ScanBy: {}, - MaxDatapoints: { type: "integer" }, - }, - }, - 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: "S3q" }, - }, - }, - }, - NextToken: {}, - Messages: { shape: "S3q" }, - }, - }, - }, - 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", - ], - }, - }, - }, - }, - }, - 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: {}, - }, - }, - }, - ListMetrics: { - input: { - type: "structure", - members: { - Namespace: {}, - MetricName: {}, - Dimensions: { - type: "list", - member: { - type: "structure", - required: ["Name"], - members: { Name: {}, Value: {} }, - }, - }, - NextToken: {}, - }, - }, - output: { - resultWrapper: "ListMetricsResult", - type: "structure", - members: { - Metrics: { type: "list", member: { shape: "S1z" } }, - NextToken: {}, - }, - xmlOrder: ["Metrics", "NextToken"], - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceARN"], - members: { ResourceARN: {} }, - }, - output: { - resultWrapper: "ListTagsForResourceResult", - type: "structure", - members: { Tags: { shape: "S4l" } }, - }, - }, - PutAnomalyDetector: { - input: { - type: "structure", - required: ["Namespace", "MetricName", "Stat"], - members: { - Namespace: {}, - MetricName: {}, - Dimensions: { shape: "S7" }, - Stat: {}, - Configuration: { shape: "S2b" }, - }, - }, - output: { - resultWrapper: "PutAnomalyDetectorResult", - type: "structure", - members: {}, - }, - }, - PutCompositeAlarm: { - input: { - type: "structure", - required: ["AlarmName", "AlarmRule"], - members: { - ActionsEnabled: { type: "boolean" }, - AlarmActions: { shape: "S1c" }, - AlarmDescription: {}, - AlarmName: {}, - AlarmRule: {}, - InsufficientDataActions: { shape: "S1c" }, - OKActions: { shape: "S1c" }, - Tags: { shape: "S4l" }, - }, - }, - }, - 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: "S4l" }, - }, - }, - output: { - resultWrapper: "PutInsightRuleResult", - type: "structure", - members: {}, - }, - }, - PutMetricAlarm: { - input: { - type: "structure", - required: [ - "AlarmName", - "EvaluationPeriods", - "ComparisonOperator", - ], - members: { - AlarmName: {}, - AlarmDescription: {}, - ActionsEnabled: { type: "boolean" }, - OKActions: { shape: "S1c" }, - AlarmActions: { shape: "S1c" }, - InsufficientDataActions: { shape: "S1c" }, - 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: "S1v" }, - Tags: { shape: "S4l" }, - 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" }, - }, - }, - }, - }, - }, - }, - SetAlarmState: { - input: { - type: "structure", - required: ["AlarmName", "StateValue", "StateReason"], - members: { - AlarmName: {}, - StateValue: {}, - StateReason: {}, - StateReasonData: {}, - }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S4l" } }, - }, - 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"], - }, - }, - Si: { type: "list", member: {} }, - Sl: { - type: "list", - member: { - type: "structure", - members: { - FailureResource: {}, - ExceptionType: {}, - FailureCode: {}, - FailureDescription: {}, - }, - }, - }, - Ss: { type: "list", member: {} }, - S1c: { type: "list", member: {} }, - S1j: { - type: "list", - member: { - type: "structure", - members: { - AlarmName: {}, - AlarmArn: {}, - AlarmDescription: {}, - AlarmConfigurationUpdatedTimestamp: { type: "timestamp" }, - ActionsEnabled: { type: "boolean" }, - OKActions: { shape: "S1c" }, - AlarmActions: { shape: "S1c" }, - InsufficientDataActions: { shape: "S1c" }, - 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: "S1v" }, - 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", - ], - }, - }, - S1v: { - type: "list", - member: { - type: "structure", - required: ["Id"], - members: { - Id: {}, - MetricStat: { - type: "structure", - required: ["Metric", "Period", "Stat"], - members: { - Metric: { shape: "S1z" }, - Period: { type: "integer" }, - Stat: {}, - Unit: {}, - }, - }, - Expression: {}, - Label: {}, - ReturnData: { type: "boolean" }, - Period: { type: "integer" }, - }, - }, - }, - S1z: { - type: "structure", - members: { - Namespace: {}, - MetricName: {}, - Dimensions: { shape: "S7" }, - }, - xmlOrder: ["Namespace", "MetricName", "Dimensions"], - }, - S2b: { - type: "structure", - members: { - ExcludedTimeRanges: { - type: "list", - member: { - type: "structure", - required: ["StartTime", "EndTime"], - members: { - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - }, - xmlOrder: ["StartTime", "EndTime"], - }, - }, - MetricTimezone: {}, - }, - }, - S3q: { - type: "list", - member: { type: "structure", members: { Code: {}, Value: {} } }, - }, - S4l: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - }, - }; +var util = __webpack_require__(395).util; +var toBuffer = util.buffer.toBuffer; - /***/ - }, +// All prelude components are unsigned, 32-bit integers +var PRELUDE_MEMBER_LENGTH = 4; +// The prelude consists of two components +var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2; +// Checksums are always CRC32 hashes. +var CHECKSUM_LENGTH = 4; +// Messages must include a full prelude, a prelude checksum, and a message checksum +var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2; - /***/ 1777: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["s3"] = {}; - AWS.S3 = Service.defineService("s3", ["2006-03-01"]); - __webpack_require__(6016); - Object.defineProperty(apiLoader.services["s3"], "2006-03-01", { - get: function get() { - var model = __webpack_require__(7696); - model.paginators = __webpack_require__(707).pagination; - model.waiters = __webpack_require__(1306).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); +/** + * @api private + * + * @param {Buffer} message + */ +function splitMessage(message) { + if (!util.Buffer.isBuffer(message)) message = toBuffer(message); - module.exports = AWS.S3; + if (message.length < MINIMUM_MESSAGE_LENGTH) { + throw new Error('Provided message too short to accommodate event stream message overhead'); + } - /***/ - }, + if (message.length !== message.readUInt32BE(0)) { + throw new Error('Reported message length does not match received message length'); + } - /***/ 1786: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + var expectedPreludeChecksum = message.readUInt32BE(PRELUDE_LENGTH); - apiLoader.services["ssooidc"] = {}; - AWS.SSOOIDC = Service.defineService("ssooidc", ["2019-06-10"]); - Object.defineProperty(apiLoader.services["ssooidc"], "2019-06-10", { - get: function get() { - var model = __webpack_require__(1802); - model.paginators = __webpack_require__(9468).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + if ( + expectedPreludeChecksum !== util.crypto.crc32( + message.slice(0, PRELUDE_LENGTH) + ) + ) { + throw new Error( + 'The prelude checksum specified in the message (' + + expectedPreludeChecksum + + ') does not match the calculated CRC32 checksum.' + ); + } - module.exports = AWS.SSOOIDC; + var expectedMessageChecksum = message.readUInt32BE(message.length - CHECKSUM_LENGTH); - /***/ - }, + if ( + expectedMessageChecksum !== util.crypto.crc32( + message.slice(0, message.length - CHECKSUM_LENGTH) + ) + ) { + throw new Error( + 'The message checksum did not match the expected value of ' + + expectedMessageChecksum + ); + } - /***/ 1791: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var inherit = AWS.util.inherit; + var headersStart = PRELUDE_LENGTH + CHECKSUM_LENGTH; + var headersEnd = headersStart + message.readUInt32BE(PRELUDE_MEMBER_LENGTH); - /** - * @api private - */ - AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date.rfc822(date); + return { + headers: message.slice(headersStart, headersEnd), + body: message.slice(headersEnd, message.length - CHECKSUM_LENGTH), + }; +} - this.request.headers["X-Amz-Date"] = datetime; +/** + * @api private + */ +module.exports = { + splitMessage: splitMessage +}; - if (credentials.sessionToken) { - this.request.headers["x-amz-security-token"] = - credentials.sessionToken; - } - this.request.headers["X-Amzn-Authorization"] = this.authorization( - credentials, - datetime - ); - }, +/***/ }), - authorization: function authorization(credentials) { - return ( - "AWS3 " + - "AWSAccessKeyId=" + - credentials.accessKeyId + - "," + - "Algorithm=HmacSHA256," + - "SignedHeaders=" + - this.signedHeaders() + - "," + - "Signature=" + - this.signature(credentials) - ); - }, +/***/ 1176: +/***/ (function(module) { - signedHeaders: function signedHeaders() { - var headers = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - headers.push(h.toLowerCase()); - }); - return headers.sort().join(";"); - }, +module.exports = {"metadata":{"apiVersion":"2019-12-02","endpointPrefix":"schemas","signingName":"schemas","serviceFullName":"Schemas","serviceId":"schemas","protocol":"rest-json","jsonVersion":"1.1","uid":"schemas-2019-12-02","signatureVersion":"v4"},"operations":{"CreateDiscoverer":{"http":{"requestUri":"/v1/discoverers","responseCode":201},"input":{"type":"structure","members":{"Description":{},"SourceArn":{},"Tags":{"shape":"S4","locationName":"tags"}},"required":["SourceArn"]},"output":{"type":"structure","members":{"Description":{},"DiscovererArn":{},"DiscovererId":{},"SourceArn":{},"State":{},"Tags":{"shape":"S4","locationName":"tags"}}}},"CreateRegistry":{"http":{"requestUri":"/v1/registries/name/{registryName}","responseCode":201},"input":{"type":"structure","members":{"Description":{},"RegistryName":{"location":"uri","locationName":"registryName"},"Tags":{"shape":"S4","locationName":"tags"}},"required":["RegistryName"]},"output":{"type":"structure","members":{"Description":{},"RegistryArn":{},"RegistryName":{},"Tags":{"shape":"S4","locationName":"tags"}}}},"CreateSchema":{"http":{"requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}","responseCode":201},"input":{"type":"structure","members":{"Content":{},"Description":{},"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"Tags":{"shape":"S4","locationName":"tags"},"Type":{}},"required":["RegistryName","SchemaName","Type","Content"]},"output":{"type":"structure","members":{"Description":{},"LastModified":{"shape":"Se"},"SchemaArn":{},"SchemaName":{},"SchemaVersion":{},"Tags":{"shape":"S4","locationName":"tags"},"Type":{},"VersionCreatedDate":{"shape":"Se"}}}},"DeleteDiscoverer":{"http":{"method":"DELETE","requestUri":"/v1/discoverers/id/{discovererId}","responseCode":204},"input":{"type":"structure","members":{"DiscovererId":{"location":"uri","locationName":"discovererId"}},"required":["DiscovererId"]}},"DeleteRegistry":{"http":{"method":"DELETE","requestUri":"/v1/registries/name/{registryName}","responseCode":204},"input":{"type":"structure","members":{"RegistryName":{"location":"uri","locationName":"registryName"}},"required":["RegistryName"]}},"DeleteResourcePolicy":{"http":{"method":"DELETE","requestUri":"/v1/policy","responseCode":204},"input":{"type":"structure","members":{"RegistryName":{"location":"querystring","locationName":"registryName"}}}},"DeleteSchema":{"http":{"method":"DELETE","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}","responseCode":204},"input":{"type":"structure","members":{"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"}},"required":["RegistryName","SchemaName"]}},"DeleteSchemaVersion":{"http":{"method":"DELETE","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}/version/{schemaVersion}","responseCode":204},"input":{"type":"structure","members":{"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"SchemaVersion":{"location":"uri","locationName":"schemaVersion"}},"required":["SchemaVersion","RegistryName","SchemaName"]}},"DescribeCodeBinding":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}","responseCode":200},"input":{"type":"structure","members":{"Language":{"location":"uri","locationName":"language"},"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"SchemaVersion":{"location":"querystring","locationName":"schemaVersion"}},"required":["RegistryName","SchemaName","Language"]},"output":{"type":"structure","members":{"CreationDate":{"shape":"Se"},"LastModified":{"shape":"Se"},"SchemaVersion":{},"Status":{}}}},"DescribeDiscoverer":{"http":{"method":"GET","requestUri":"/v1/discoverers/id/{discovererId}","responseCode":200},"input":{"type":"structure","members":{"DiscovererId":{"location":"uri","locationName":"discovererId"}},"required":["DiscovererId"]},"output":{"type":"structure","members":{"Description":{},"DiscovererArn":{},"DiscovererId":{},"SourceArn":{},"State":{},"Tags":{"shape":"S4","locationName":"tags"}}}},"DescribeRegistry":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}","responseCode":200},"input":{"type":"structure","members":{"RegistryName":{"location":"uri","locationName":"registryName"}},"required":["RegistryName"]},"output":{"type":"structure","members":{"Description":{},"RegistryArn":{},"RegistryName":{},"Tags":{"shape":"S4","locationName":"tags"}}}},"DescribeSchema":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}","responseCode":200},"input":{"type":"structure","members":{"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"SchemaVersion":{"location":"querystring","locationName":"schemaVersion"}},"required":["RegistryName","SchemaName"]},"output":{"type":"structure","members":{"Content":{},"Description":{},"LastModified":{"shape":"Se"},"SchemaArn":{},"SchemaName":{},"SchemaVersion":{},"Tags":{"shape":"S4","locationName":"tags"},"Type":{},"VersionCreatedDate":{"shape":"Se"}}}},"ExportSchema":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}/export","responseCode":200},"input":{"type":"structure","members":{"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"SchemaVersion":{"location":"querystring","locationName":"schemaVersion"},"Type":{"location":"querystring","locationName":"type"}},"required":["RegistryName","SchemaName","Type"]},"output":{"type":"structure","members":{"Content":{},"SchemaArn":{},"SchemaName":{},"SchemaVersion":{},"Type":{}}}},"GetCodeBindingSource":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}/source","responseCode":200},"input":{"type":"structure","members":{"Language":{"location":"uri","locationName":"language"},"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"SchemaVersion":{"location":"querystring","locationName":"schemaVersion"}},"required":["RegistryName","SchemaName","Language"]},"output":{"type":"structure","members":{"Body":{"type":"blob"}},"payload":"Body"}},"GetDiscoveredSchema":{"http":{"requestUri":"/v1/discover","responseCode":200},"input":{"type":"structure","members":{"Events":{"type":"list","member":{}},"Type":{}},"required":["Type","Events"]},"output":{"type":"structure","members":{"Content":{}}}},"GetResourcePolicy":{"http":{"method":"GET","requestUri":"/v1/policy","responseCode":200},"input":{"type":"structure","members":{"RegistryName":{"location":"querystring","locationName":"registryName"}}},"output":{"type":"structure","members":{"Policy":{"jsonvalue":true},"RevisionId":{}}}},"ListDiscoverers":{"http":{"method":"GET","requestUri":"/v1/discoverers","responseCode":200},"input":{"type":"structure","members":{"DiscovererIdPrefix":{"location":"querystring","locationName":"discovererIdPrefix"},"Limit":{"location":"querystring","locationName":"limit","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"SourceArnPrefix":{"location":"querystring","locationName":"sourceArnPrefix"}}},"output":{"type":"structure","members":{"Discoverers":{"type":"list","member":{"type":"structure","members":{"DiscovererArn":{},"DiscovererId":{},"SourceArn":{},"State":{},"Tags":{"shape":"S4","locationName":"tags"}}}},"NextToken":{}}}},"ListRegistries":{"http":{"method":"GET","requestUri":"/v1/registries","responseCode":200},"input":{"type":"structure","members":{"Limit":{"location":"querystring","locationName":"limit","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RegistryNamePrefix":{"location":"querystring","locationName":"registryNamePrefix"},"Scope":{"location":"querystring","locationName":"scope"}}},"output":{"type":"structure","members":{"NextToken":{},"Registries":{"type":"list","member":{"type":"structure","members":{"RegistryArn":{},"RegistryName":{},"Tags":{"shape":"S4","locationName":"tags"}}}}}}},"ListSchemaVersions":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}/versions","responseCode":200},"input":{"type":"structure","members":{"Limit":{"location":"querystring","locationName":"limit","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"}},"required":["RegistryName","SchemaName"]},"output":{"type":"structure","members":{"NextToken":{},"SchemaVersions":{"type":"list","member":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"SchemaVersion":{},"Type":{}}}}}}},"ListSchemas":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}/schemas","responseCode":200},"input":{"type":"structure","members":{"Limit":{"location":"querystring","locationName":"limit","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaNamePrefix":{"location":"querystring","locationName":"schemaNamePrefix"}},"required":["RegistryName"]},"output":{"type":"structure","members":{"NextToken":{},"Schemas":{"type":"list","member":{"type":"structure","members":{"LastModified":{"shape":"Se"},"SchemaArn":{},"SchemaName":{},"Tags":{"shape":"S4","locationName":"tags"},"VersionCount":{"type":"long"}}}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"Tags":{"shape":"S4","locationName":"tags"}}}},"PutCodeBinding":{"http":{"requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}/language/{language}","responseCode":202},"input":{"type":"structure","members":{"Language":{"location":"uri","locationName":"language"},"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"SchemaVersion":{"location":"querystring","locationName":"schemaVersion"}},"required":["RegistryName","SchemaName","Language"]},"output":{"type":"structure","members":{"CreationDate":{"shape":"Se"},"LastModified":{"shape":"Se"},"SchemaVersion":{},"Status":{}}}},"PutResourcePolicy":{"http":{"method":"PUT","requestUri":"/v1/policy","responseCode":200},"input":{"type":"structure","members":{"Policy":{"jsonvalue":true},"RegistryName":{"location":"querystring","locationName":"registryName"},"RevisionId":{}},"required":["Policy"]},"output":{"type":"structure","members":{"Policy":{"jsonvalue":true},"RevisionId":{}}}},"SearchSchemas":{"http":{"method":"GET","requestUri":"/v1/registries/name/{registryName}/schemas/search","responseCode":200},"input":{"type":"structure","members":{"Keywords":{"location":"querystring","locationName":"keywords"},"Limit":{"location":"querystring","locationName":"limit","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RegistryName":{"location":"uri","locationName":"registryName"}},"required":["RegistryName","Keywords"]},"output":{"type":"structure","members":{"NextToken":{},"Schemas":{"type":"list","member":{"type":"structure","members":{"RegistryName":{},"SchemaArn":{},"SchemaName":{},"SchemaVersions":{"type":"list","member":{"type":"structure","members":{"CreatedDate":{"shape":"Se"},"SchemaVersion":{},"Type":{}}}}}}}}}},"StartDiscoverer":{"http":{"requestUri":"/v1/discoverers/id/{discovererId}/start","responseCode":200},"input":{"type":"structure","members":{"DiscovererId":{"location":"uri","locationName":"discovererId"}},"required":["DiscovererId"]},"output":{"type":"structure","members":{"DiscovererId":{},"State":{}}}},"StopDiscoverer":{"http":{"requestUri":"/v1/discoverers/id/{discovererId}/stop","responseCode":200},"input":{"type":"structure","members":{"DiscovererId":{"location":"uri","locationName":"discovererId"}},"required":["DiscovererId"]},"output":{"type":"structure","members":{"DiscovererId":{},"State":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"shape":"S4","locationName":"tags"}},"required":["ResourceArn","Tags"]}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}},"required":["TagKeys","ResourceArn"]}},"UpdateDiscoverer":{"http":{"method":"PUT","requestUri":"/v1/discoverers/id/{discovererId}","responseCode":200},"input":{"type":"structure","members":{"Description":{},"DiscovererId":{"location":"uri","locationName":"discovererId"}},"required":["DiscovererId"]},"output":{"type":"structure","members":{"Description":{},"DiscovererArn":{},"DiscovererId":{},"SourceArn":{},"State":{},"Tags":{"shape":"S4","locationName":"tags"}}}},"UpdateRegistry":{"http":{"method":"PUT","requestUri":"/v1/registries/name/{registryName}","responseCode":200},"input":{"type":"structure","members":{"Description":{},"RegistryName":{"location":"uri","locationName":"registryName"}},"required":["RegistryName"]},"output":{"type":"structure","members":{"Description":{},"RegistryArn":{},"RegistryName":{},"Tags":{"shape":"S4","locationName":"tags"}}}},"UpdateSchema":{"http":{"method":"PUT","requestUri":"/v1/registries/name/{registryName}/schemas/name/{schemaName}","responseCode":200},"input":{"type":"structure","members":{"ClientTokenId":{"idempotencyToken":true},"Content":{},"Description":{},"RegistryName":{"location":"uri","locationName":"registryName"},"SchemaName":{"location":"uri","locationName":"schemaName"},"Type":{}},"required":["RegistryName","SchemaName"]},"output":{"type":"structure","members":{"Description":{},"LastModified":{"shape":"Se"},"SchemaArn":{},"SchemaName":{},"SchemaVersion":{},"Tags":{"shape":"S4","locationName":"tags"},"Type":{},"VersionCreatedDate":{"shape":"Se"}}}}},"shapes":{"S4":{"type":"map","key":{},"value":{}},"Se":{"type":"timestamp","timestampFormat":"iso8601"}}}; - canonicalHeaders: function canonicalHeaders() { - var headers = this.request.headers; - var parts = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - parts.push( - h.toLowerCase().trim() + ":" + String(headers[h]).trim() - ); - }); - return parts.sort().join("\n") + "\n"; - }, - - headersToSign: function headersToSign() { - var headers = []; - AWS.util.each(this.request.headers, function iterator(k) { - if ( - k === "Host" || - k === "Content-Encoding" || - k.match(/^X-Amz/i) - ) { - headers.push(k); - } - }); - return headers; - }, +/***/ }), - signature: function signature(credentials) { - return AWS.util.crypto.hmac( - credentials.secretAccessKey, - this.stringToSign(), - "base64" - ); - }, +/***/ 1186: +/***/ (function(module, __unusedexports, __webpack_require__) { - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push("/"); - parts.push(""); - parts.push(this.canonicalHeaders()); - parts.push(this.request.body); - return AWS.util.crypto.sha256(parts.join("\n")); - }, - }); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /** - * @api private - */ - module.exports = AWS.Signers.V3; +apiLoader.services['cognitosync'] = {}; +AWS.CognitoSync = Service.defineService('cognitosync', ['2014-06-30']); +Object.defineProperty(apiLoader.services['cognitosync'], '2014-06-30', { + get: function get() { + var model = __webpack_require__(7422); + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.CognitoSync; - /***/ 1797: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-03-31", - endpointPrefix: "lakeformation", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Lake Formation", - serviceId: "LakeFormation", - signatureVersion: "v4", - signingName: "lakeformation", - targetPrefix: "AWSLakeFormation", - uid: "lakeformation-2017-03-31", - }, - operations: { - BatchGrantPermissions: { - input: { - type: "structure", - required: ["Entries"], - members: { CatalogId: {}, Entries: { shape: "S3" } }, - }, - output: { - type: "structure", - members: { Failures: { shape: "Sl" } }, - }, - }, - BatchRevokePermissions: { - input: { - type: "structure", - required: ["Entries"], - members: { CatalogId: {}, Entries: { shape: "S3" } }, - }, - output: { - type: "structure", - members: { Failures: { shape: "Sl" } }, - }, - }, - DeregisterResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { - type: "structure", - members: { ResourceInfo: { shape: "Sv" } }, - }, - }, - GetDataLakeSettings: { - input: { type: "structure", members: { CatalogId: {} } }, - output: { - type: "structure", - members: { DataLakeSettings: { shape: "S10" } }, - }, - }, - GetEffectivePermissionsForPath: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { - CatalogId: {}, - ResourceArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Permissions: { shape: "S18" }, NextToken: {} }, - }, - }, - GrantPermissions: { - input: { - type: "structure", - required: ["Principal", "Resource", "Permissions"], - members: { - CatalogId: {}, - Principal: { shape: "S6" }, - Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, - }, - }, - output: { type: "structure", members: {} }, - }, - ListPermissions: { - input: { - type: "structure", - members: { - CatalogId: {}, - Principal: { shape: "S6" }, - ResourceType: {}, - Resource: { shape: "S8" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - PrincipalResourcePermissions: { shape: "S18" }, - NextToken: {}, - }, - }, - }, - 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: "Sv" } }, - NextToken: {}, - }, - }, - }, - PutDataLakeSettings: { - input: { - type: "structure", - required: ["DataLakeSettings"], - members: { CatalogId: {}, DataLakeSettings: { shape: "S10" } }, - }, - output: { type: "structure", members: {} }, - }, - RegisterResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: {}, - UseServiceLinkedRole: { type: "boolean" }, - RoleArn: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - RevokePermissions: { - input: { - type: "structure", - required: ["Principal", "Resource", "Permissions"], - members: { - CatalogId: {}, - Principal: { shape: "S6" }, - Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateResource: { - input: { - type: "structure", - required: ["RoleArn", "ResourceArn"], - members: { RoleArn: {}, ResourceArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S3: { type: "list", member: { shape: "S4" } }, - S4: { - type: "structure", - required: ["Id"], - members: { - Id: {}, - Principal: { shape: "S6" }, - Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, - }, - }, - S6: { - type: "structure", - members: { DataLakePrincipalIdentifier: {} }, - }, - S8: { - type: "structure", - members: { - Catalog: { type: "structure", members: {} }, - Database: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - Table: { - type: "structure", - required: ["DatabaseName", "Name"], - members: { DatabaseName: {}, Name: {} }, - }, - TableWithColumns: { - type: "structure", - members: { - DatabaseName: {}, - Name: {}, - ColumnNames: { shape: "Se" }, - ColumnWildcard: { - type: "structure", - members: { ExcludedColumnNames: { shape: "Se" } }, - }, - }, - }, - DataLocation: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - }, - }, - Se: { type: "list", member: {} }, - Si: { type: "list", member: {} }, - Sl: { - type: "list", - member: { - type: "structure", - members: { - RequestEntry: { shape: "S4" }, - Error: { - type: "structure", - members: { ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - Sv: { - type: "structure", - members: { - ResourceArn: {}, - RoleArn: {}, - LastModified: { type: "timestamp" }, - }, - }, - S10: { - type: "structure", - members: { - DataLakeAdmins: { type: "list", member: { shape: "S6" } }, - CreateDatabaseDefaultPermissions: { shape: "S12" }, - CreateTableDefaultPermissions: { shape: "S12" }, - }, - }, - S12: { - type: "list", - member: { - type: "structure", - members: { - Principal: { shape: "S6" }, - Permissions: { shape: "Si" }, - }, - }, - }, - S18: { - type: "list", - member: { - type: "structure", - members: { - Principal: { shape: "S6" }, - Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, - }, - }, - }, - }, - }; - /***/ - }, +/***/ }), - /***/ 1798: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["forecastservice"] = {}; - AWS.ForecastService = Service.defineService("forecastservice", [ - "2018-06-26", - ]); - Object.defineProperty( - apiLoader.services["forecastservice"], - "2018-06-26", - { - get: function get() { - var model = __webpack_require__(5723); - model.paginators = __webpack_require__(5532).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/***/ 1187: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.ForecastService; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['pinpointsmsvoice'] = {}; +AWS.PinpointSMSVoice = Service.defineService('pinpointsmsvoice', ['2018-09-05']); +Object.defineProperty(apiLoader.services['pinpointsmsvoice'], '2018-09-05', { + get: function get() { + var model = __webpack_require__(2241); + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 1802: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-06-10", - endpointPrefix: "oidc", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "SSO OIDC", - serviceFullName: "AWS SSO OIDC", - serviceId: "SSO OIDC", - signatureVersion: "v4", - signingName: "awsssooidc", - uid: "sso-oidc-2019-06-10", - }, - operations: { - CreateToken: { - http: { requestUri: "/token" }, - input: { - type: "structure", - required: ["clientId", "clientSecret", "grantType", "deviceCode"], - members: { - clientId: {}, - clientSecret: {}, - grantType: {}, - deviceCode: {}, - code: {}, - refreshToken: {}, - scope: { shape: "S8" }, - redirectUri: {}, - }, - }, - output: { - type: "structure", - members: { - accessToken: {}, - tokenType: {}, - expiresIn: { type: "integer" }, - refreshToken: {}, - idToken: {}, - }, - }, - authtype: "none", - }, - RegisterClient: { - http: { requestUri: "/client/register" }, - input: { - type: "structure", - required: ["clientName", "clientType"], - members: { - clientName: {}, - clientType: {}, - scopes: { shape: "S8" }, - }, - }, - output: { - type: "structure", - members: { - clientId: {}, - clientSecret: {}, - clientIdIssuedAt: { type: "long" }, - clientSecretExpiresAt: { type: "long" }, - authorizationEndpoint: {}, - tokenEndpoint: {}, - }, - }, - authtype: "none", - }, - StartDeviceAuthorization: { - http: { requestUri: "/device_authorization" }, - input: { - type: "structure", - required: ["clientId", "clientSecret", "startUrl"], - members: { clientId: {}, clientSecret: {}, startUrl: {} }, - }, - output: { - type: "structure", - members: { - deviceCode: {}, - userCode: {}, - verificationUri: {}, - verificationUriComplete: {}, - expiresIn: { type: "integer" }, - interval: { type: "integer" }, - }, - }, - authtype: "none", - }, - }, - shapes: { S8: { type: "list", member: {} } }, - }; +module.exports = AWS.PinpointSMSVoice; - /***/ - }, - /***/ 1818: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = isexe; - isexe.sync = sync; +/***/ }), - var fs = __webpack_require__(5747); +/***/ 1191: +/***/ (function(module) { - function checkPathExt(path, options) { - var pathext = - options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT; +module.exports = require("querystring"); - if (!pathext) { - return true; - } +/***/ }), - pathext = pathext.split(";"); - if (pathext.indexOf("") !== -1) { - return true; - } - for (var i = 0; i < pathext.length; i++) { - var p = pathext[i].toLowerCase(); - if (p && path.substr(-p.length).toLowerCase() === p) { - return true; - } - } - return false; - } +/***/ 1200: +/***/ (function(module) { - function checkStat(stat, path, options) { - if (!stat.isSymbolicLink() && !stat.isFile()) { - return false; - } - return checkPathExt(path, options); - } +module.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"}},"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"}}}},"Publish":{"http":{"requestUri":"/topics/{topic}"},"input":{"type":"structure","required":["topic"],"members":{"topic":{"location":"uri","locationName":"topic"},"qos":{"location":"querystring","locationName":"qos","type":"integer"},"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":{}}; - function isexe(path, options, cb) { - fs.stat(path, function (er, stat) { - cb(er, er ? false : checkStat(stat, path, options)); - }); - } +/***/ }), - function sync(path, options) { - return checkStat(fs.statSync(path), path, options); - } +/***/ 1201: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-11-28","endpointPrefix":"lightsail","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Lightsail","serviceId":"Lightsail","signatureVersion":"v4","targetPrefix":"Lightsail_20161128","uid":"lightsail-2016-11-28"},"operations":{"AllocateStaticIp":{"input":{"type":"structure","required":["staticIpName"],"members":{"staticIpName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"AttachCertificateToDistribution":{"input":{"type":"structure","required":["distributionName","certificateName"],"members":{"distributionName":{},"certificateName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"AttachDisk":{"input":{"type":"structure","required":["diskName","instanceName","diskPath"],"members":{"diskName":{},"instanceName":{},"diskPath":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"AttachInstancesToLoadBalancer":{"input":{"type":"structure","required":["loadBalancerName","instanceNames"],"members":{"loadBalancerName":{},"instanceNames":{"shape":"Sk"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"AttachLoadBalancerTlsCertificate":{"input":{"type":"structure","required":["loadBalancerName","certificateName"],"members":{"loadBalancerName":{},"certificateName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"AttachStaticIp":{"input":{"type":"structure","required":["staticIpName","instanceName"],"members":{"staticIpName":{},"instanceName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CloseInstancePublicPorts":{"input":{"type":"structure","required":["portInfo","instanceName"],"members":{"portInfo":{"shape":"Sr"},"instanceName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"CopySnapshot":{"input":{"type":"structure","required":["targetSnapshotName","sourceRegion"],"members":{"sourceSnapshotName":{},"sourceResourceName":{},"restoreDate":{},"useLatestRestorableAutoSnapshot":{"type":"boolean"},"targetSnapshotName":{},"sourceRegion":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateCertificate":{"input":{"type":"structure","required":["certificateName","domainName"],"members":{"certificateName":{},"domainName":{},"subjectAlternativeNames":{"shape":"S11"},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"certificate":{"shape":"S17"},"operations":{"shape":"S4"}}}},"CreateCloudFormationStack":{"input":{"type":"structure","required":["instances"],"members":{"instances":{"type":"list","member":{"type":"structure","required":["sourceName","instanceType","portInfoSource","availabilityZone"],"members":{"sourceName":{},"instanceType":{},"portInfoSource":{},"userData":{},"availabilityZone":{}}}}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateContactMethod":{"input":{"type":"structure","required":["protocol","contactEndpoint"],"members":{"protocol":{},"contactEndpoint":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateContainerService":{"input":{"type":"structure","required":["serviceName","power","scale"],"members":{"serviceName":{},"power":{},"scale":{"type":"integer"},"tags":{"shape":"S12"},"publicDomainNames":{"shape":"S20"},"deployment":{"type":"structure","members":{"containers":{"shape":"S23"},"publicEndpoint":{"shape":"S29"}}}}},"output":{"type":"structure","members":{"containerService":{"shape":"S2d"}}}},"CreateContainerServiceDeployment":{"input":{"type":"structure","required":["serviceName"],"members":{"serviceName":{},"containers":{"shape":"S23"},"publicEndpoint":{"shape":"S29"}}},"output":{"type":"structure","members":{"containerService":{"shape":"S2d"}}}},"CreateContainerServiceRegistryLogin":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"registryLogin":{"type":"structure","members":{"username":{},"password":{},"expiresAt":{"type":"timestamp"},"registry":{}}}}}},"CreateDisk":{"input":{"type":"structure","required":["diskName","availabilityZone","sizeInGb"],"members":{"diskName":{},"availabilityZone":{},"sizeInGb":{"type":"integer"},"tags":{"shape":"S12"},"addOns":{"shape":"S2o"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateDiskFromSnapshot":{"input":{"type":"structure","required":["diskName","availabilityZone","sizeInGb"],"members":{"diskName":{},"diskSnapshotName":{},"availabilityZone":{},"sizeInGb":{"type":"integer"},"tags":{"shape":"S12"},"addOns":{"shape":"S2o"},"sourceDiskName":{},"restoreDate":{},"useLatestRestorableAutoSnapshot":{"type":"boolean"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateDiskSnapshot":{"input":{"type":"structure","required":["diskSnapshotName"],"members":{"diskName":{},"diskSnapshotName":{},"instanceName":{},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateDistribution":{"input":{"type":"structure","required":["distributionName","origin","defaultCacheBehavior","bundleId"],"members":{"distributionName":{},"origin":{"shape":"S2z"},"defaultCacheBehavior":{"shape":"S31"},"cacheBehaviorSettings":{"shape":"S33"},"cacheBehaviors":{"shape":"S3b"},"bundleId":{},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"distribution":{"shape":"S3e"},"operation":{"shape":"S5"}}}},"CreateDomain":{"input":{"type":"structure","required":["domainName"],"members":{"domainName":{},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"CreateDomainEntry":{"input":{"type":"structure","required":["domainName","domainEntry"],"members":{"domainName":{},"domainEntry":{"shape":"S3j"}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"CreateInstanceSnapshot":{"input":{"type":"structure","required":["instanceSnapshotName","instanceName"],"members":{"instanceSnapshotName":{},"instanceName":{},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateInstances":{"input":{"type":"structure","required":["instanceNames","availabilityZone","blueprintId","bundleId"],"members":{"instanceNames":{"shape":"Su"},"availabilityZone":{},"customImageName":{"deprecated":true},"blueprintId":{},"bundleId":{},"userData":{},"keyPairName":{},"tags":{"shape":"S12"},"addOns":{"shape":"S2o"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateInstancesFromSnapshot":{"input":{"type":"structure","required":["instanceNames","availabilityZone","bundleId"],"members":{"instanceNames":{"shape":"Su"},"attachedDiskMapping":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","members":{"originalDiskPath":{},"newDiskName":{}}}}},"availabilityZone":{},"instanceSnapshotName":{},"bundleId":{},"userData":{},"keyPairName":{},"tags":{"shape":"S12"},"addOns":{"shape":"S2o"},"sourceInstanceName":{},"restoreDate":{},"useLatestRestorableAutoSnapshot":{"type":"boolean"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateKeyPair":{"input":{"type":"structure","required":["keyPairName"],"members":{"keyPairName":{},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"keyPair":{"shape":"S3z"},"publicKeyBase64":{},"privateKeyBase64":{},"operation":{"shape":"S5"}}}},"CreateLoadBalancer":{"input":{"type":"structure","required":["loadBalancerName","instancePort"],"members":{"loadBalancerName":{},"instancePort":{"type":"integer"},"healthCheckPath":{},"certificateName":{},"certificateDomainName":{},"certificateAlternativeNames":{"shape":"S42"},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateLoadBalancerTlsCertificate":{"input":{"type":"structure","required":["loadBalancerName","certificateName","certificateDomainName"],"members":{"loadBalancerName":{},"certificateName":{},"certificateDomainName":{},"certificateAlternativeNames":{"shape":"S42"},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateRelationalDatabase":{"input":{"type":"structure","required":["relationalDatabaseName","relationalDatabaseBlueprintId","relationalDatabaseBundleId","masterDatabaseName","masterUsername"],"members":{"relationalDatabaseName":{},"availabilityZone":{},"relationalDatabaseBlueprintId":{},"relationalDatabaseBundleId":{},"masterDatabaseName":{},"masterUsername":{},"masterUserPassword":{"shape":"S47"},"preferredBackupWindow":{},"preferredMaintenanceWindow":{},"publiclyAccessible":{"type":"boolean"},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateRelationalDatabaseFromSnapshot":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{},"availabilityZone":{},"publiclyAccessible":{"type":"boolean"},"relationalDatabaseSnapshotName":{},"relationalDatabaseBundleId":{},"sourceRelationalDatabaseName":{},"restoreTime":{"type":"timestamp"},"useLatestRestorableTime":{"type":"boolean"},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"CreateRelationalDatabaseSnapshot":{"input":{"type":"structure","required":["relationalDatabaseName","relationalDatabaseSnapshotName"],"members":{"relationalDatabaseName":{},"relationalDatabaseSnapshotName":{},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteAlarm":{"input":{"type":"structure","required":["alarmName"],"members":{"alarmName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteAutoSnapshot":{"input":{"type":"structure","required":["resourceName","date"],"members":{"resourceName":{},"date":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteCertificate":{"input":{"type":"structure","required":["certificateName"],"members":{"certificateName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteContactMethod":{"input":{"type":"structure","required":["protocol"],"members":{"protocol":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteContainerImage":{"input":{"type":"structure","required":["serviceName","image"],"members":{"serviceName":{},"image":{}}},"output":{"type":"structure","members":{}}},"DeleteContainerService":{"input":{"type":"structure","required":["serviceName"],"members":{"serviceName":{}}},"output":{"type":"structure","members":{}}},"DeleteDisk":{"input":{"type":"structure","required":["diskName"],"members":{"diskName":{},"forceDeleteAddOns":{"type":"boolean"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteDiskSnapshot":{"input":{"type":"structure","required":["diskSnapshotName"],"members":{"diskSnapshotName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteDistribution":{"input":{"type":"structure","members":{"distributionName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"DeleteDomain":{"input":{"type":"structure","required":["domainName"],"members":{"domainName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"DeleteDomainEntry":{"input":{"type":"structure","required":["domainName","domainEntry"],"members":{"domainName":{},"domainEntry":{"shape":"S3j"}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"DeleteInstance":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{},"forceDeleteAddOns":{"type":"boolean"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteInstanceSnapshot":{"input":{"type":"structure","required":["instanceSnapshotName"],"members":{"instanceSnapshotName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteKeyPair":{"input":{"type":"structure","required":["keyPairName"],"members":{"keyPairName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"DeleteKnownHostKeys":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteLoadBalancer":{"input":{"type":"structure","required":["loadBalancerName"],"members":{"loadBalancerName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteLoadBalancerTlsCertificate":{"input":{"type":"structure","required":["loadBalancerName","certificateName"],"members":{"loadBalancerName":{},"certificateName":{},"force":{"type":"boolean"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteRelationalDatabase":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{},"skipFinalSnapshot":{"type":"boolean"},"finalRelationalDatabaseSnapshotName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DeleteRelationalDatabaseSnapshot":{"input":{"type":"structure","required":["relationalDatabaseSnapshotName"],"members":{"relationalDatabaseSnapshotName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DetachCertificateFromDistribution":{"input":{"type":"structure","required":["distributionName"],"members":{"distributionName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"DetachDisk":{"input":{"type":"structure","required":["diskName"],"members":{"diskName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DetachInstancesFromLoadBalancer":{"input":{"type":"structure","required":["loadBalancerName","instanceNames"],"members":{"loadBalancerName":{},"instanceNames":{"shape":"Sk"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DetachStaticIp":{"input":{"type":"structure","required":["staticIpName"],"members":{"staticIpName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DisableAddOn":{"input":{"type":"structure","required":["addOnType","resourceName"],"members":{"addOnType":{},"resourceName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"DownloadDefaultKeyPair":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"publicKeyBase64":{},"privateKeyBase64":{}}}},"EnableAddOn":{"input":{"type":"structure","required":["resourceName","addOnRequest"],"members":{"resourceName":{},"addOnRequest":{"shape":"S2p"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"ExportSnapshot":{"input":{"type":"structure","required":["sourceSnapshotName"],"members":{"sourceSnapshotName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"GetActiveNames":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"activeNames":{"shape":"Su"},"nextPageToken":{}}}},"GetAlarms":{"input":{"type":"structure","members":{"alarmName":{},"pageToken":{},"monitoredResourceName":{}}},"output":{"type":"structure","members":{"alarms":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"supportCode":{},"monitoredResourceInfo":{"type":"structure","members":{"arn":{},"name":{},"resourceType":{}}},"comparisonOperator":{},"evaluationPeriods":{"type":"integer"},"period":{"type":"integer"},"threshold":{"type":"double"},"datapointsToAlarm":{"type":"integer"},"treatMissingData":{},"statistic":{},"metricName":{},"state":{},"unit":{},"contactProtocols":{"shape":"S6c"},"notificationTriggers":{"shape":"S6d"},"notificationEnabled":{"type":"boolean"}}}},"nextPageToken":{}}}},"GetAutoSnapshots":{"input":{"type":"structure","required":["resourceName"],"members":{"resourceName":{}}},"output":{"type":"structure","members":{"resourceName":{},"resourceType":{},"autoSnapshots":{"type":"list","member":{"type":"structure","members":{"date":{},"createdAt":{"type":"timestamp"},"status":{},"fromAttachedDisks":{"type":"list","member":{"type":"structure","members":{"path":{},"sizeInGb":{"type":"integer"}}}}}}}}}},"GetBlueprints":{"input":{"type":"structure","members":{"includeInactive":{"type":"boolean"},"pageToken":{}}},"output":{"type":"structure","members":{"blueprints":{"type":"list","member":{"type":"structure","members":{"blueprintId":{},"name":{},"group":{},"type":{},"description":{},"isActive":{"type":"boolean"},"minPower":{"type":"integer"},"version":{},"versionCode":{},"productUrl":{},"licenseUrl":{},"platform":{}}}},"nextPageToken":{}}}},"GetBundles":{"input":{"type":"structure","members":{"includeInactive":{"type":"boolean"},"pageToken":{}}},"output":{"type":"structure","members":{"bundles":{"type":"list","member":{"type":"structure","members":{"price":{"type":"float"},"cpuCount":{"type":"integer"},"diskSizeInGb":{"type":"integer"},"bundleId":{},"instanceType":{},"isActive":{"type":"boolean"},"name":{},"power":{"type":"integer"},"ramSizeInGb":{"type":"float"},"transferPerMonthInGb":{"type":"integer"},"supportedPlatforms":{"type":"list","member":{}}}}},"nextPageToken":{}}}},"GetCertificates":{"input":{"type":"structure","members":{"certificateStatuses":{"type":"list","member":{}},"includeCertificateDetails":{"type":"boolean"},"certificateName":{}}},"output":{"type":"structure","members":{"certificates":{"type":"list","member":{"shape":"S17"}}}}},"GetCloudFormationStackRecords":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"cloudFormationStackRecords":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"state":{},"sourceInfo":{"type":"list","member":{"type":"structure","members":{"resourceType":{},"name":{},"arn":{}}}},"destinationInfo":{"shape":"S7a"}}}},"nextPageToken":{}}}},"GetContactMethods":{"input":{"type":"structure","members":{"protocols":{"shape":"S6c"}}},"output":{"type":"structure","members":{"contactMethods":{"type":"list","member":{"type":"structure","members":{"contactEndpoint":{},"status":{},"protocol":{},"name":{},"arn":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"supportCode":{}}}}}}},"GetContainerAPIMetadata":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"metadata":{"type":"list","member":{"type":"map","key":{},"value":{}}}}}},"GetContainerImages":{"input":{"type":"structure","required":["serviceName"],"members":{"serviceName":{}}},"output":{"type":"structure","members":{"containerImages":{"type":"list","member":{"shape":"S7n"}}}}},"GetContainerLog":{"input":{"type":"structure","required":["serviceName","containerName"],"members":{"serviceName":{},"containerName":{},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"filterPattern":{},"pageToken":{}}},"output":{"type":"structure","members":{"logEvents":{"type":"list","member":{"type":"structure","members":{"createdAt":{"type":"timestamp"},"message":{}}}},"nextPageToken":{}}}},"GetContainerServiceDeployments":{"input":{"type":"structure","required":["serviceName"],"members":{"serviceName":{}}},"output":{"type":"structure","members":{"deployments":{"type":"list","member":{"shape":"S2f"}}}}},"GetContainerServiceMetricData":{"input":{"type":"structure","required":["serviceName","metricName","startTime","endTime","period","statistics"],"members":{"serviceName":{},"metricName":{},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"period":{"type":"integer"},"statistics":{"shape":"S7x"}}},"output":{"type":"structure","members":{"metricName":{},"metricData":{"shape":"S7z"}}}},"GetContainerServicePowers":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"powers":{"type":"list","member":{"type":"structure","members":{"powerId":{},"price":{"type":"float"},"cpuCount":{"type":"float"},"ramSizeInGb":{"type":"float"},"name":{},"isActive":{"type":"boolean"}}}}}}},"GetContainerServices":{"input":{"type":"structure","members":{"serviceName":{}}},"output":{"type":"structure","members":{"containerServices":{"type":"list","member":{"shape":"S2d"}}}}},"GetDisk":{"input":{"type":"structure","required":["diskName"],"members":{"diskName":{}}},"output":{"type":"structure","members":{"disk":{"shape":"S8b"}}}},"GetDiskSnapshot":{"input":{"type":"structure","required":["diskSnapshotName"],"members":{"diskSnapshotName":{}}},"output":{"type":"structure","members":{"diskSnapshot":{"shape":"S8h"}}}},"GetDiskSnapshots":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"diskSnapshots":{"type":"list","member":{"shape":"S8h"}},"nextPageToken":{}}}},"GetDisks":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"disks":{"shape":"S8o"},"nextPageToken":{}}}},"GetDistributionBundles":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"bundles":{"type":"list","member":{"type":"structure","members":{"bundleId":{},"name":{},"price":{"type":"float"},"transferPerMonthInGb":{"type":"integer"},"isActive":{"type":"boolean"}}}}}}},"GetDistributionLatestCacheReset":{"input":{"type":"structure","members":{"distributionName":{}}},"output":{"type":"structure","members":{"status":{},"createTime":{"type":"timestamp"}}}},"GetDistributionMetricData":{"input":{"type":"structure","required":["distributionName","metricName","startTime","endTime","period","unit","statistics"],"members":{"distributionName":{},"metricName":{},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"period":{"type":"integer"},"unit":{},"statistics":{"shape":"S7x"}}},"output":{"type":"structure","members":{"metricName":{},"metricData":{"shape":"S7z"}}}},"GetDistributions":{"input":{"type":"structure","members":{"distributionName":{},"pageToken":{}}},"output":{"type":"structure","members":{"distributions":{"type":"list","member":{"shape":"S3e"}},"nextPageToken":{}}}},"GetDomain":{"input":{"type":"structure","required":["domainName"],"members":{"domainName":{}}},"output":{"type":"structure","members":{"domain":{"shape":"S93"}}}},"GetDomains":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"domains":{"type":"list","member":{"shape":"S93"}},"nextPageToken":{}}}},"GetExportSnapshotRecords":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"exportSnapshotRecords":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"state":{},"sourceInfo":{"type":"structure","members":{"resourceType":{},"createdAt":{"type":"timestamp"},"name":{},"arn":{},"fromResourceName":{},"fromResourceArn":{},"instanceSnapshotInfo":{"type":"structure","members":{"fromBundleId":{},"fromBlueprintId":{},"fromDiskInfo":{"type":"list","member":{"type":"structure","members":{"name":{},"path":{},"sizeInGb":{"type":"integer"},"isSystemDisk":{"type":"boolean"}}}}}},"diskSnapshotInfo":{"type":"structure","members":{"sizeInGb":{"type":"integer"}}}}},"destinationInfo":{"shape":"S7a"}}}},"nextPageToken":{}}}},"GetInstance":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{}}},"output":{"type":"structure","members":{"instance":{"shape":"S9k"}}}},"GetInstanceAccessDetails":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{},"protocol":{}}},"output":{"type":"structure","members":{"accessDetails":{"type":"structure","members":{"certKey":{},"expiresAt":{"type":"timestamp"},"ipAddress":{},"password":{},"passwordData":{"type":"structure","members":{"ciphertext":{},"keyPairName":{}}},"privateKey":{},"protocol":{},"instanceName":{},"username":{},"hostKeys":{"type":"list","member":{"type":"structure","members":{"algorithm":{},"publicKey":{},"witnessedAt":{"type":"timestamp"},"fingerprintSHA1":{},"fingerprintSHA256":{},"notValidBefore":{"type":"timestamp"},"notValidAfter":{"type":"timestamp"}}}}}}}}},"GetInstanceMetricData":{"input":{"type":"structure","required":["instanceName","metricName","period","startTime","endTime","unit","statistics"],"members":{"instanceName":{},"metricName":{},"period":{"type":"integer"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"unit":{},"statistics":{"shape":"S7x"}}},"output":{"type":"structure","members":{"metricName":{},"metricData":{"shape":"S7z"}}}},"GetInstancePortStates":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{}}},"output":{"type":"structure","members":{"portStates":{"type":"list","member":{"type":"structure","members":{"fromPort":{"type":"integer"},"toPort":{"type":"integer"},"protocol":{},"state":{},"cidrs":{"shape":"Su"},"cidrListAliases":{"shape":"Su"}}}}}}},"GetInstanceSnapshot":{"input":{"type":"structure","required":["instanceSnapshotName"],"members":{"instanceSnapshotName":{}}},"output":{"type":"structure","members":{"instanceSnapshot":{"shape":"Sac"}}}},"GetInstanceSnapshots":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"instanceSnapshots":{"type":"list","member":{"shape":"Sac"}},"nextPageToken":{}}}},"GetInstanceState":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{}}},"output":{"type":"structure","members":{"state":{"shape":"S9u"}}}},"GetInstances":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"instances":{"type":"list","member":{"shape":"S9k"}},"nextPageToken":{}}}},"GetKeyPair":{"input":{"type":"structure","required":["keyPairName"],"members":{"keyPairName":{}}},"output":{"type":"structure","members":{"keyPair":{"shape":"S3z"}}}},"GetKeyPairs":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"keyPairs":{"type":"list","member":{"shape":"S3z"}},"nextPageToken":{}}}},"GetLoadBalancer":{"input":{"type":"structure","required":["loadBalancerName"],"members":{"loadBalancerName":{}}},"output":{"type":"structure","members":{"loadBalancer":{"shape":"Sat"}}}},"GetLoadBalancerMetricData":{"input":{"type":"structure","required":["loadBalancerName","metricName","period","startTime","endTime","unit","statistics"],"members":{"loadBalancerName":{},"metricName":{},"period":{"type":"integer"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"unit":{},"statistics":{"shape":"S7x"}}},"output":{"type":"structure","members":{"metricName":{},"metricData":{"shape":"S7z"}}}},"GetLoadBalancerTlsCertificates":{"input":{"type":"structure","required":["loadBalancerName"],"members":{"loadBalancerName":{}}},"output":{"type":"structure","members":{"tlsCertificates":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"loadBalancerName":{},"isAttached":{"type":"boolean"},"status":{},"domainName":{},"domainValidationRecords":{"type":"list","member":{"type":"structure","members":{"name":{},"type":{},"value":{},"validationStatus":{},"domainName":{}}}},"failureReason":{},"issuedAt":{"type":"timestamp"},"issuer":{},"keyAlgorithm":{},"notAfter":{"type":"timestamp"},"notBefore":{"type":"timestamp"},"renewalSummary":{"type":"structure","members":{"renewalStatus":{},"domainValidationOptions":{"type":"list","member":{"type":"structure","members":{"domainName":{},"validationStatus":{}}}}}},"revocationReason":{},"revokedAt":{"type":"timestamp"},"serial":{},"signatureAlgorithm":{},"subject":{},"subjectAlternativeNames":{"shape":"Su"}}}}}}},"GetLoadBalancers":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"loadBalancers":{"type":"list","member":{"shape":"Sat"}},"nextPageToken":{}}}},"GetOperation":{"input":{"type":"structure","required":["operationId"],"members":{"operationId":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"GetOperations":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"},"nextPageToken":{}}}},"GetOperationsForResource":{"input":{"type":"structure","required":["resourceName"],"members":{"resourceName":{},"pageToken":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"},"nextPageCount":{"deprecated":true},"nextPageToken":{}}}},"GetRegions":{"input":{"type":"structure","members":{"includeAvailabilityZones":{"type":"boolean"},"includeRelationalDatabaseAvailabilityZones":{"type":"boolean"}}},"output":{"type":"structure","members":{"regions":{"type":"list","member":{"type":"structure","members":{"continentCode":{},"description":{},"displayName":{},"name":{},"availabilityZones":{"shape":"Sbz"},"relationalDatabaseAvailabilityZones":{"shape":"Sbz"}}}}}}},"GetRelationalDatabase":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{}}},"output":{"type":"structure","members":{"relationalDatabase":{"shape":"Sc3"}}}},"GetRelationalDatabaseBlueprints":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"blueprints":{"type":"list","member":{"type":"structure","members":{"blueprintId":{},"engine":{},"engineVersion":{},"engineDescription":{},"engineVersionDescription":{},"isEngineDefault":{"type":"boolean"}}}},"nextPageToken":{}}}},"GetRelationalDatabaseBundles":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"bundles":{"type":"list","member":{"type":"structure","members":{"bundleId":{},"name":{},"price":{"type":"float"},"ramSizeInGb":{"type":"float"},"diskSizeInGb":{"type":"integer"},"transferPerMonthInGb":{"type":"integer"},"cpuCount":{"type":"integer"},"isEncrypted":{"type":"boolean"},"isActive":{"type":"boolean"}}}},"nextPageToken":{}}}},"GetRelationalDatabaseEvents":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{},"durationInMinutes":{"type":"integer"},"pageToken":{}}},"output":{"type":"structure","members":{"relationalDatabaseEvents":{"type":"list","member":{"type":"structure","members":{"resource":{},"createdAt":{"type":"timestamp"},"message":{},"eventCategories":{"shape":"Su"}}}},"nextPageToken":{}}}},"GetRelationalDatabaseLogEvents":{"input":{"type":"structure","required":["relationalDatabaseName","logStreamName"],"members":{"relationalDatabaseName":{},"logStreamName":{},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"startFromHead":{"type":"boolean"},"pageToken":{}}},"output":{"type":"structure","members":{"resourceLogEvents":{"type":"list","member":{"type":"structure","members":{"createdAt":{"type":"timestamp"},"message":{}}}},"nextBackwardToken":{},"nextForwardToken":{}}}},"GetRelationalDatabaseLogStreams":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{}}},"output":{"type":"structure","members":{"logStreams":{"shape":"Su"}}}},"GetRelationalDatabaseMasterUserPassword":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{},"passwordVersion":{}}},"output":{"type":"structure","members":{"masterUserPassword":{"shape":"S47"},"createdAt":{"type":"timestamp"}}}},"GetRelationalDatabaseMetricData":{"input":{"type":"structure","required":["relationalDatabaseName","metricName","period","startTime","endTime","unit","statistics"],"members":{"relationalDatabaseName":{},"metricName":{},"period":{"type":"integer"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"unit":{},"statistics":{"shape":"S7x"}}},"output":{"type":"structure","members":{"metricName":{},"metricData":{"shape":"S7z"}}}},"GetRelationalDatabaseParameters":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{},"pageToken":{}}},"output":{"type":"structure","members":{"parameters":{"shape":"Sd0"},"nextPageToken":{}}}},"GetRelationalDatabaseSnapshot":{"input":{"type":"structure","required":["relationalDatabaseSnapshotName"],"members":{"relationalDatabaseSnapshotName":{}}},"output":{"type":"structure","members":{"relationalDatabaseSnapshot":{"shape":"Sd4"}}}},"GetRelationalDatabaseSnapshots":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"relationalDatabaseSnapshots":{"type":"list","member":{"shape":"Sd4"}},"nextPageToken":{}}}},"GetRelationalDatabases":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"relationalDatabases":{"type":"list","member":{"shape":"Sc3"}},"nextPageToken":{}}}},"GetStaticIp":{"input":{"type":"structure","required":["staticIpName"],"members":{"staticIpName":{}}},"output":{"type":"structure","members":{"staticIp":{"shape":"Sdd"}}}},"GetStaticIps":{"input":{"type":"structure","members":{"pageToken":{}}},"output":{"type":"structure","members":{"staticIps":{"type":"list","member":{"shape":"Sdd"}},"nextPageToken":{}}}},"ImportKeyPair":{"input":{"type":"structure","required":["keyPairName","publicKeyBase64"],"members":{"keyPairName":{},"publicKeyBase64":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"IsVpcPeered":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"isPeered":{"type":"boolean"}}}},"OpenInstancePublicPorts":{"input":{"type":"structure","required":["portInfo","instanceName"],"members":{"portInfo":{"shape":"Sr"},"instanceName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"PeerVpc":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"PutAlarm":{"input":{"type":"structure","required":["alarmName","metricName","monitoredResourceName","comparisonOperator","threshold","evaluationPeriods"],"members":{"alarmName":{},"metricName":{},"monitoredResourceName":{},"comparisonOperator":{},"threshold":{"type":"double"},"evaluationPeriods":{"type":"integer"},"datapointsToAlarm":{"type":"integer"},"treatMissingData":{},"contactProtocols":{"shape":"S6c"},"notificationTriggers":{"shape":"S6d"},"notificationEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"PutInstancePublicPorts":{"input":{"type":"structure","required":["portInfos","instanceName"],"members":{"portInfos":{"type":"list","member":{"shape":"Sr"}},"instanceName":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"RebootInstance":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"RebootRelationalDatabase":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"RegisterContainerImage":{"input":{"type":"structure","required":["serviceName","label","digest"],"members":{"serviceName":{},"label":{},"digest":{}}},"output":{"type":"structure","members":{"containerImage":{"shape":"S7n"}}}},"ReleaseStaticIp":{"input":{"type":"structure","required":["staticIpName"],"members":{"staticIpName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"ResetDistributionCache":{"input":{"type":"structure","members":{"distributionName":{}}},"output":{"type":"structure","members":{"status":{},"createTime":{"type":"timestamp"},"operation":{"shape":"S5"}}}},"SendContactMethodVerification":{"input":{"type":"structure","required":["protocol"],"members":{"protocol":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"StartInstance":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"StartRelationalDatabase":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"StopInstance":{"input":{"type":"structure","required":["instanceName"],"members":{"instanceName":{},"force":{"type":"boolean"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"StopRelationalDatabase":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{},"relationalDatabaseSnapshotName":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"TagResource":{"input":{"type":"structure","required":["resourceName","tags"],"members":{"resourceName":{},"resourceArn":{},"tags":{"shape":"S12"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"TestAlarm":{"input":{"type":"structure","required":["alarmName","state"],"members":{"alarmName":{},"state":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"UnpeerVpc":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"UntagResource":{"input":{"type":"structure","required":["resourceName","tagKeys"],"members":{"resourceName":{},"resourceArn":{},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"UpdateContainerService":{"input":{"type":"structure","required":["serviceName"],"members":{"serviceName":{},"power":{},"scale":{"type":"integer"},"isDisabled":{"type":"boolean"},"publicDomainNames":{"shape":"S20"}}},"output":{"type":"structure","members":{"containerService":{"shape":"S2d"}}}},"UpdateDistribution":{"input":{"type":"structure","required":["distributionName"],"members":{"distributionName":{},"origin":{"shape":"S2z"},"defaultCacheBehavior":{"shape":"S31"},"cacheBehaviorSettings":{"shape":"S33"},"cacheBehaviors":{"shape":"S3b"},"isEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"UpdateDistributionBundle":{"input":{"type":"structure","members":{"distributionName":{},"bundleId":{}}},"output":{"type":"structure","members":{"operation":{"shape":"S5"}}}},"UpdateDomainEntry":{"input":{"type":"structure","required":["domainName","domainEntry"],"members":{"domainName":{},"domainEntry":{"shape":"S3j"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"UpdateLoadBalancerAttribute":{"input":{"type":"structure","required":["loadBalancerName","attributeName","attributeValue"],"members":{"loadBalancerName":{},"attributeName":{},"attributeValue":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"UpdateRelationalDatabase":{"input":{"type":"structure","required":["relationalDatabaseName"],"members":{"relationalDatabaseName":{},"masterUserPassword":{"shape":"S47"},"rotateMasterUserPassword":{"type":"boolean"},"preferredBackupWindow":{},"preferredMaintenanceWindow":{},"enableBackupRetention":{"type":"boolean"},"disableBackupRetention":{"type":"boolean"},"publiclyAccessible":{"type":"boolean"},"applyImmediately":{"type":"boolean"},"caCertificateIdentifier":{}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}},"UpdateRelationalDatabaseParameters":{"input":{"type":"structure","required":["relationalDatabaseName","parameters"],"members":{"relationalDatabaseName":{},"parameters":{"shape":"Sd0"}}},"output":{"type":"structure","members":{"operations":{"shape":"S4"}}}}},"shapes":{"S4":{"type":"list","member":{"shape":"S5"}},"S5":{"type":"structure","members":{"id":{},"resourceName":{},"resourceType":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"isTerminal":{"type":"boolean"},"operationDetails":{},"operationType":{},"status":{},"statusChangedAt":{"type":"timestamp"},"errorCode":{},"errorDetails":{}}},"S9":{"type":"structure","members":{"availabilityZone":{},"regionName":{}}},"Sk":{"type":"list","member":{}},"Sr":{"type":"structure","members":{"fromPort":{"type":"integer"},"toPort":{"type":"integer"},"protocol":{},"cidrs":{"shape":"Su"},"cidrListAliases":{"shape":"Su"}}},"Su":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S12":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}}},"S17":{"type":"structure","members":{"certificateArn":{},"certificateName":{},"domainName":{},"certificateDetail":{"type":"structure","members":{"arn":{},"name":{},"domainName":{},"status":{},"serialNumber":{},"subjectAlternativeNames":{"shape":"S11"},"domainValidationRecords":{"shape":"S1b"},"requestFailureReason":{},"inUseResourceCount":{"type":"integer"},"keyAlgorithm":{},"createdAt":{"type":"timestamp"},"issuedAt":{"type":"timestamp"},"issuerCA":{},"notBefore":{"type":"timestamp"},"notAfter":{"type":"timestamp"},"eligibleToRenew":{},"renewalSummary":{"type":"structure","members":{"domainValidationRecords":{"shape":"S1b"},"renewalStatus":{},"renewalStatusReason":{},"updatedAt":{"type":"timestamp"}}},"revokedAt":{"type":"timestamp"},"revocationReason":{},"tags":{"shape":"S12"},"supportCode":{}}},"tags":{"shape":"S12"}}},"S1b":{"type":"list","member":{"type":"structure","members":{"domainName":{},"resourceRecord":{"type":"structure","members":{"name":{},"type":{},"value":{}}}}}},"S20":{"type":"map","key":{},"value":{"type":"list","member":{}}},"S23":{"type":"map","key":{},"value":{"type":"structure","members":{"image":{},"command":{"shape":"Su"},"environment":{"type":"map","key":{},"value":{}},"ports":{"type":"map","key":{},"value":{}}}}},"S29":{"type":"structure","required":["containerName","containerPort"],"members":{"containerName":{},"containerPort":{"type":"integer"},"healthCheck":{"shape":"S2b"}}},"S2b":{"type":"structure","members":{"healthyThreshold":{"type":"integer"},"unhealthyThreshold":{"type":"integer"},"timeoutSeconds":{"type":"integer"},"intervalSeconds":{"type":"integer"},"path":{},"successCodes":{}}},"S2d":{"type":"structure","members":{"containerServiceName":{},"arn":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"power":{},"powerId":{},"state":{},"scale":{"type":"integer"},"currentDeployment":{"shape":"S2f"},"nextDeployment":{"shape":"S2f"},"isDisabled":{"type":"boolean"},"principalArn":{},"privateDomainName":{},"publicDomainNames":{"shape":"S20"},"url":{}}},"S2f":{"type":"structure","members":{"version":{"type":"integer"},"state":{},"containers":{"shape":"S23"},"publicEndpoint":{"type":"structure","members":{"containerName":{},"containerPort":{"type":"integer"},"healthCheck":{"shape":"S2b"}}},"createdAt":{"type":"timestamp"}}},"S2o":{"type":"list","member":{"shape":"S2p"}},"S2p":{"type":"structure","required":["addOnType"],"members":{"addOnType":{},"autoSnapshotAddOnRequest":{"type":"structure","members":{"snapshotTimeOfDay":{}}}}},"S2z":{"type":"structure","members":{"name":{},"regionName":{},"protocolPolicy":{}}},"S31":{"type":"structure","members":{"behavior":{}}},"S33":{"type":"structure","members":{"defaultTTL":{"type":"long"},"minimumTTL":{"type":"long"},"maximumTTL":{"type":"long"},"allowedHTTPMethods":{},"cachedHTTPMethods":{},"forwardedCookies":{"type":"structure","members":{"option":{},"cookiesAllowList":{"shape":"Su"}}},"forwardedHeaders":{"type":"structure","members":{"option":{},"headersAllowList":{"type":"list","member":{}}}},"forwardedQueryStrings":{"type":"structure","members":{"option":{"type":"boolean"},"queryStringsAllowList":{"shape":"Su"}}}}},"S3b":{"type":"list","member":{"type":"structure","members":{"path":{},"behavior":{}}}},"S3e":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"alternativeDomainNames":{"shape":"Su"},"status":{},"isEnabled":{"type":"boolean"},"domainName":{},"bundleId":{},"certificateName":{},"origin":{"type":"structure","members":{"name":{},"resourceType":{},"regionName":{},"protocolPolicy":{}}},"originPublicDNS":{},"defaultCacheBehavior":{"shape":"S31"},"cacheBehaviorSettings":{"shape":"S33"},"cacheBehaviors":{"shape":"S3b"},"ableToUpdateBundle":{"type":"boolean"},"tags":{"shape":"S12"}}},"S3j":{"type":"structure","members":{"id":{},"name":{},"target":{},"isAlias":{"type":"boolean"},"type":{},"options":{"deprecated":true,"type":"map","key":{},"value":{}}}},"S3z":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"fingerprint":{}}},"S42":{"type":"list","member":{}},"S47":{"type":"string","sensitive":true},"S6c":{"type":"list","member":{}},"S6d":{"type":"list","member":{}},"S7a":{"type":"structure","members":{"id":{},"service":{}}},"S7n":{"type":"structure","members":{"image":{},"digest":{},"createdAt":{"type":"timestamp"}}},"S7x":{"type":"list","member":{}},"S7z":{"type":"list","member":{"type":"structure","members":{"average":{"type":"double"},"maximum":{"type":"double"},"minimum":{"type":"double"},"sampleCount":{"type":"double"},"sum":{"type":"double"},"timestamp":{"type":"timestamp"},"unit":{}}}},"S8b":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"addOns":{"shape":"S8c"},"sizeInGb":{"type":"integer"},"isSystemDisk":{"type":"boolean"},"iops":{"type":"integer"},"path":{},"state":{},"attachedTo":{},"isAttached":{"type":"boolean"},"attachmentState":{"deprecated":true},"gbInUse":{"deprecated":true,"type":"integer"}}},"S8c":{"type":"list","member":{"type":"structure","members":{"name":{},"status":{},"snapshotTimeOfDay":{},"nextSnapshotTimeOfDay":{}}}},"S8h":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"sizeInGb":{"type":"integer"},"state":{},"progress":{},"fromDiskName":{},"fromDiskArn":{},"fromInstanceName":{},"fromInstanceArn":{},"isFromAutoSnapshot":{"type":"boolean"}}},"S8o":{"type":"list","member":{"shape":"S8b"}},"S93":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"domainEntries":{"type":"list","member":{"shape":"S3j"}}}},"S9k":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"blueprintId":{},"blueprintName":{},"bundleId":{},"addOns":{"shape":"S8c"},"isStaticIp":{"type":"boolean"},"privateIpAddress":{},"publicIpAddress":{},"ipv6Address":{},"hardware":{"type":"structure","members":{"cpuCount":{"type":"integer"},"disks":{"shape":"S8o"},"ramSizeInGb":{"type":"float"}}},"networking":{"type":"structure","members":{"monthlyTransfer":{"type":"structure","members":{"gbPerMonthAllocated":{"type":"integer"}}},"ports":{"type":"list","member":{"type":"structure","members":{"fromPort":{"type":"integer"},"toPort":{"type":"integer"},"protocol":{},"accessFrom":{},"accessType":{},"commonName":{},"accessDirection":{},"cidrs":{"shape":"Su"},"cidrListAliases":{"shape":"Su"}}}}}},"state":{"shape":"S9u"},"username":{},"sshKeyName":{}}},"S9u":{"type":"structure","members":{"code":{"type":"integer"},"name":{}}},"Sac":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"state":{},"progress":{},"fromAttachedDisks":{"shape":"S8o"},"fromInstanceName":{},"fromInstanceArn":{},"fromBlueprintId":{},"fromBundleId":{},"isFromAutoSnapshot":{"type":"boolean"},"sizeInGb":{"type":"integer"}}},"Sat":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"dnsName":{},"state":{},"protocol":{},"publicPorts":{"type":"list","member":{"type":"integer"}},"healthCheckPath":{},"instancePort":{"type":"integer"},"instanceHealthSummary":{"type":"list","member":{"type":"structure","members":{"instanceName":{},"instanceHealth":{},"instanceHealthReason":{}}}},"tlsCertificateSummaries":{"type":"list","member":{"type":"structure","members":{"name":{},"isAttached":{"type":"boolean"}}}},"configurationOptions":{"type":"map","key":{},"value":{}}}},"Sbz":{"type":"list","member":{"type":"structure","members":{"zoneName":{},"state":{}}}},"Sc3":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"relationalDatabaseBlueprintId":{},"relationalDatabaseBundleId":{},"masterDatabaseName":{},"hardware":{"type":"structure","members":{"cpuCount":{"type":"integer"},"diskSizeInGb":{"type":"integer"},"ramSizeInGb":{"type":"float"}}},"state":{},"secondaryAvailabilityZone":{},"backupRetentionEnabled":{"type":"boolean"},"pendingModifiedValues":{"type":"structure","members":{"masterUserPassword":{},"engineVersion":{},"backupRetentionEnabled":{"type":"boolean"}}},"engine":{},"engineVersion":{},"latestRestorableTime":{"type":"timestamp"},"masterUsername":{},"parameterApplyStatus":{},"preferredBackupWindow":{},"preferredMaintenanceWindow":{},"publiclyAccessible":{"type":"boolean"},"masterEndpoint":{"type":"structure","members":{"port":{"type":"integer"},"address":{}}},"pendingMaintenanceActions":{"type":"list","member":{"type":"structure","members":{"action":{},"description":{},"currentApplyDate":{"type":"timestamp"}}}},"caCertificateIdentifier":{}}},"Sd0":{"type":"list","member":{"type":"structure","members":{"allowedValues":{},"applyMethod":{},"applyType":{},"dataType":{},"description":{},"isModifiable":{"type":"boolean"},"parameterName":{},"parameterValue":{}}}},"Sd4":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"tags":{"shape":"S12"},"engine":{},"engineVersion":{},"sizeInGb":{"type":"integer"},"state":{},"fromRelationalDatabaseName":{},"fromRelationalDatabaseArn":{},"fromRelationalDatabaseBundleId":{},"fromRelationalDatabaseBlueprintId":{}}},"Sdd":{"type":"structure","members":{"name":{},"arn":{},"supportCode":{},"createdAt":{"type":"timestamp"},"location":{"shape":"S9"},"resourceType":{},"ipAddress":{},"attachedTo":{},"isAttached":{"type":"boolean"}}}}}; - /***/ 1836: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["budgets"] = {}; - AWS.Budgets = Service.defineService("budgets", ["2016-10-20"]); - Object.defineProperty(apiLoader.services["budgets"], "2016-10-20", { - get: function get() { - var model = __webpack_require__(2261); - model.paginators = __webpack_require__(422).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 1209: +/***/ (function(module) { - module.exports = AWS.Budgets; +module.exports = {"metadata":{"apiVersion":"2017-07-25","endpointPrefix":"dataexchange","signingName":"dataexchange","serviceFullName":"AWS Data Exchange","serviceId":"DataExchange","protocol":"rest-json","jsonVersion":"1.1","uid":"dataexchange-2017-07-25","signatureVersion":"v4"},"operations":{"CancelJob":{"http":{"method":"DELETE","requestUri":"/v1/jobs/{JobId}","responseCode":204},"input":{"type":"structure","members":{"JobId":{"location":"uri","locationName":"JobId"}},"required":["JobId"]}},"CreateDataSet":{"http":{"requestUri":"/v1/data-sets","responseCode":201},"input":{"type":"structure","members":{"AssetType":{},"Description":{},"Name":{},"Tags":{"shape":"S7"}},"required":["AssetType","Description","Name"]},"output":{"type":"structure","members":{"Arn":{},"AssetType":{},"CreatedAt":{"shape":"Sa"},"Description":{},"Id":{},"Name":{},"Origin":{},"OriginDetails":{"shape":"Sd"},"SourceId":{},"Tags":{"shape":"S7"},"UpdatedAt":{"shape":"Sa"}}}},"CreateJob":{"http":{"requestUri":"/v1/jobs","responseCode":201},"input":{"type":"structure","members":{"Details":{"type":"structure","members":{"ExportAssetToSignedUrl":{"type":"structure","members":{"AssetId":{},"DataSetId":{},"RevisionId":{}},"required":["DataSetId","AssetId","RevisionId"]},"ExportAssetsToS3":{"type":"structure","members":{"AssetDestinations":{"shape":"Si"},"DataSetId":{},"Encryption":{"shape":"Sk"},"RevisionId":{}},"required":["AssetDestinations","DataSetId","RevisionId"]},"ImportAssetFromSignedUrl":{"type":"structure","members":{"AssetName":{},"DataSetId":{},"Md5Hash":{},"RevisionId":{}},"required":["DataSetId","Md5Hash","RevisionId","AssetName"]},"ImportAssetsFromS3":{"type":"structure","members":{"AssetSources":{"shape":"Sq"},"DataSetId":{},"RevisionId":{}},"required":["DataSetId","AssetSources","RevisionId"]}}},"Type":{}},"required":["Type","Details"]},"output":{"type":"structure","members":{"Arn":{},"CreatedAt":{"shape":"Sa"},"Details":{"shape":"Su"},"Errors":{"shape":"Sz"},"Id":{},"State":{},"Type":{},"UpdatedAt":{"shape":"Sa"}}}},"CreateRevision":{"http":{"requestUri":"/v1/data-sets/{DataSetId}/revisions","responseCode":201},"input":{"type":"structure","members":{"Comment":{},"DataSetId":{"location":"uri","locationName":"DataSetId"},"Tags":{"shape":"S7"}},"required":["DataSetId"]},"output":{"type":"structure","members":{"Arn":{},"Comment":{},"CreatedAt":{"shape":"Sa"},"DataSetId":{},"Finalized":{"type":"boolean"},"Id":{},"SourceId":{},"Tags":{"shape":"S7"},"UpdatedAt":{"shape":"Sa"}}}},"DeleteAsset":{"http":{"method":"DELETE","requestUri":"/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}","responseCode":204},"input":{"type":"structure","members":{"AssetId":{"location":"uri","locationName":"AssetId"},"DataSetId":{"location":"uri","locationName":"DataSetId"},"RevisionId":{"location":"uri","locationName":"RevisionId"}},"required":["RevisionId","AssetId","DataSetId"]}},"DeleteDataSet":{"http":{"method":"DELETE","requestUri":"/v1/data-sets/{DataSetId}","responseCode":204},"input":{"type":"structure","members":{"DataSetId":{"location":"uri","locationName":"DataSetId"}},"required":["DataSetId"]}},"DeleteRevision":{"http":{"method":"DELETE","requestUri":"/v1/data-sets/{DataSetId}/revisions/{RevisionId}","responseCode":204},"input":{"type":"structure","members":{"DataSetId":{"location":"uri","locationName":"DataSetId"},"RevisionId":{"location":"uri","locationName":"RevisionId"}},"required":["RevisionId","DataSetId"]}},"GetAsset":{"http":{"method":"GET","requestUri":"/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}","responseCode":200},"input":{"type":"structure","members":{"AssetId":{"location":"uri","locationName":"AssetId"},"DataSetId":{"location":"uri","locationName":"DataSetId"},"RevisionId":{"location":"uri","locationName":"RevisionId"}},"required":["RevisionId","AssetId","DataSetId"]},"output":{"type":"structure","members":{"Arn":{},"AssetDetails":{"shape":"S1h"},"AssetType":{},"CreatedAt":{"shape":"Sa"},"DataSetId":{},"Id":{},"Name":{},"RevisionId":{},"SourceId":{},"UpdatedAt":{"shape":"Sa"}}}},"GetDataSet":{"http":{"method":"GET","requestUri":"/v1/data-sets/{DataSetId}","responseCode":200},"input":{"type":"structure","members":{"DataSetId":{"location":"uri","locationName":"DataSetId"}},"required":["DataSetId"]},"output":{"type":"structure","members":{"Arn":{},"AssetType":{},"CreatedAt":{"shape":"Sa"},"Description":{},"Id":{},"Name":{},"Origin":{},"OriginDetails":{"shape":"Sd"},"SourceId":{},"Tags":{"shape":"S7"},"UpdatedAt":{"shape":"Sa"}}}},"GetJob":{"http":{"method":"GET","requestUri":"/v1/jobs/{JobId}","responseCode":200},"input":{"type":"structure","members":{"JobId":{"location":"uri","locationName":"JobId"}},"required":["JobId"]},"output":{"type":"structure","members":{"Arn":{},"CreatedAt":{"shape":"Sa"},"Details":{"shape":"Su"},"Errors":{"shape":"Sz"},"Id":{},"State":{},"Type":{},"UpdatedAt":{"shape":"Sa"}}}},"GetRevision":{"http":{"method":"GET","requestUri":"/v1/data-sets/{DataSetId}/revisions/{RevisionId}","responseCode":200},"input":{"type":"structure","members":{"DataSetId":{"location":"uri","locationName":"DataSetId"},"RevisionId":{"location":"uri","locationName":"RevisionId"}},"required":["RevisionId","DataSetId"]},"output":{"type":"structure","members":{"Arn":{},"Comment":{},"CreatedAt":{"shape":"Sa"},"DataSetId":{},"Finalized":{"type":"boolean"},"Id":{},"SourceId":{},"Tags":{"shape":"S7"},"UpdatedAt":{"shape":"Sa"}}}},"ListDataSetRevisions":{"http":{"method":"GET","requestUri":"/v1/data-sets/{DataSetId}/revisions","responseCode":200},"input":{"type":"structure","members":{"DataSetId":{"location":"uri","locationName":"DataSetId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["DataSetId"]},"output":{"type":"structure","members":{"NextToken":{},"Revisions":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Comment":{},"CreatedAt":{"shape":"Sa"},"DataSetId":{},"Finalized":{"type":"boolean"},"Id":{},"SourceId":{},"UpdatedAt":{"shape":"Sa"}},"required":["CreatedAt","DataSetId","Id","Arn","UpdatedAt"]}}}}},"ListDataSets":{"http":{"method":"GET","requestUri":"/v1/data-sets","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"Origin":{"location":"querystring","locationName":"origin"}}},"output":{"type":"structure","members":{"DataSets":{"type":"list","member":{"type":"structure","members":{"Arn":{},"AssetType":{},"CreatedAt":{"shape":"Sa"},"Description":{},"Id":{},"Name":{},"Origin":{},"OriginDetails":{"shape":"Sd"},"SourceId":{},"UpdatedAt":{"shape":"Sa"}},"required":["Origin","AssetType","Description","CreatedAt","Id","Arn","UpdatedAt","Name"]}},"NextToken":{}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/v1/jobs","responseCode":200},"input":{"type":"structure","members":{"DataSetId":{"location":"querystring","locationName":"dataSetId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RevisionId":{"location":"querystring","locationName":"revisionId"}}},"output":{"type":"structure","members":{"Jobs":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreatedAt":{"shape":"Sa"},"Details":{"shape":"Su"},"Errors":{"shape":"Sz"},"Id":{},"State":{},"Type":{},"UpdatedAt":{"shape":"Sa"}},"required":["Type","Details","State","CreatedAt","Id","Arn","UpdatedAt"]}},"NextToken":{}}}},"ListRevisionAssets":{"http":{"method":"GET","requestUri":"/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets","responseCode":200},"input":{"type":"structure","members":{"DataSetId":{"location":"uri","locationName":"DataSetId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RevisionId":{"location":"uri","locationName":"RevisionId"}},"required":["RevisionId","DataSetId"]},"output":{"type":"structure","members":{"Assets":{"type":"list","member":{"type":"structure","members":{"Arn":{},"AssetDetails":{"shape":"S1h"},"AssetType":{},"CreatedAt":{"shape":"Sa"},"DataSetId":{},"Id":{},"Name":{},"RevisionId":{},"SourceId":{},"UpdatedAt":{"shape":"Sa"}},"required":["AssetType","CreatedAt","DataSetId","Id","Arn","AssetDetails","UpdatedAt","RevisionId","Name"]}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"Tags":{"shape":"S7","locationName":"tags"}}}},"StartJob":{"http":{"method":"PATCH","requestUri":"/v1/jobs/{JobId}","responseCode":202},"input":{"type":"structure","members":{"JobId":{"location":"uri","locationName":"JobId"}},"required":["JobId"]},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"shape":"S7","locationName":"tags"}},"required":["ResourceArn","Tags"]}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}},"required":["TagKeys","ResourceArn"]}},"UpdateAsset":{"http":{"method":"PATCH","requestUri":"/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}","responseCode":200},"input":{"type":"structure","members":{"AssetId":{"location":"uri","locationName":"AssetId"},"DataSetId":{"location":"uri","locationName":"DataSetId"},"Name":{},"RevisionId":{"location":"uri","locationName":"RevisionId"}},"required":["RevisionId","AssetId","DataSetId","Name"]},"output":{"type":"structure","members":{"Arn":{},"AssetDetails":{"shape":"S1h"},"AssetType":{},"CreatedAt":{"shape":"Sa"},"DataSetId":{},"Id":{},"Name":{},"RevisionId":{},"SourceId":{},"UpdatedAt":{"shape":"Sa"}}}},"UpdateDataSet":{"http":{"method":"PATCH","requestUri":"/v1/data-sets/{DataSetId}","responseCode":200},"input":{"type":"structure","members":{"DataSetId":{"location":"uri","locationName":"DataSetId"},"Description":{},"Name":{}},"required":["DataSetId"]},"output":{"type":"structure","members":{"Arn":{},"AssetType":{},"CreatedAt":{"shape":"Sa"},"Description":{},"Id":{},"Name":{},"Origin":{},"OriginDetails":{"shape":"Sd"},"SourceId":{},"UpdatedAt":{"shape":"Sa"}}}},"UpdateRevision":{"http":{"method":"PATCH","requestUri":"/v1/data-sets/{DataSetId}/revisions/{RevisionId}","responseCode":200},"input":{"type":"structure","members":{"Comment":{},"DataSetId":{"location":"uri","locationName":"DataSetId"},"Finalized":{"type":"boolean"},"RevisionId":{"location":"uri","locationName":"RevisionId"}},"required":["RevisionId","DataSetId"]},"output":{"type":"structure","members":{"Arn":{},"Comment":{},"CreatedAt":{"shape":"Sa"},"DataSetId":{},"Finalized":{"type":"boolean"},"Id":{},"SourceId":{},"UpdatedAt":{"shape":"Sa"}}}}},"shapes":{"S7":{"type":"map","key":{},"value":{}},"Sa":{"type":"timestamp","timestampFormat":"iso8601"},"Sd":{"type":"structure","members":{"ProductId":{}},"required":["ProductId"]},"Si":{"type":"list","member":{"type":"structure","members":{"AssetId":{},"Bucket":{},"Key":{}},"required":["Bucket","AssetId"]}},"Sk":{"type":"structure","members":{"KmsKeyArn":{},"Type":{}},"required":["Type"]},"Sq":{"type":"list","member":{"type":"structure","members":{"Bucket":{},"Key":{}},"required":["Bucket","Key"]}},"Su":{"type":"structure","members":{"ExportAssetToSignedUrl":{"type":"structure","members":{"AssetId":{},"DataSetId":{},"RevisionId":{},"SignedUrl":{},"SignedUrlExpiresAt":{"shape":"Sa"}},"required":["DataSetId","AssetId","RevisionId"]},"ExportAssetsToS3":{"type":"structure","members":{"AssetDestinations":{"shape":"Si"},"DataSetId":{},"Encryption":{"shape":"Sk"},"RevisionId":{}},"required":["AssetDestinations","DataSetId","RevisionId"]},"ImportAssetFromSignedUrl":{"type":"structure","members":{"AssetName":{},"DataSetId":{},"Md5Hash":{},"RevisionId":{},"SignedUrl":{},"SignedUrlExpiresAt":{"shape":"Sa"}},"required":["DataSetId","AssetName","RevisionId"]},"ImportAssetsFromS3":{"type":"structure","members":{"AssetSources":{"shape":"Sq"},"DataSetId":{},"RevisionId":{}},"required":["DataSetId","AssetSources","RevisionId"]}}},"Sz":{"type":"list","member":{"type":"structure","members":{"Code":{},"Details":{"type":"structure","members":{"ImportAssetFromSignedUrlJobErrorDetails":{"type":"structure","members":{"AssetName":{}},"required":["AssetName"]},"ImportAssetsFromS3JobErrorDetails":{"shape":"Sq"}}},"LimitName":{},"LimitValue":{"type":"double"},"Message":{},"ResourceId":{},"ResourceType":{}},"required":["Message","Code"]}},"S1h":{"type":"structure","members":{"S3SnapshotAsset":{"type":"structure","members":{"Size":{"type":"double"}},"required":["Size"]}}}}}; - /***/ - }, +/***/ }), - /***/ 1841: /***/ function (module) { - module.exports = { - pagination: { - GetApiKeys: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetBasePathMappings: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetClientCertificates: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetDeployments: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetDomainNames: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetModels: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetResources: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetRestApis: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetUsage: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetUsagePlanKeys: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetUsagePlans: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - GetVpcLinks: { - input_token: "position", - limit_key: "limit", - output_token: "position", - result_key: "items", - }, - }, - }; +/***/ 1220: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"GetEffectivePermissionsForPath":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListPermissions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListResources":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - /***/ 1854: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-12-02", - endpointPrefix: "imagebuilder", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "imagebuilder", - serviceFullName: "EC2 Image Builder", - serviceId: "imagebuilder", - signatureVersion: "v4", - signingName: "imagebuilder", - uid: "imagebuilder-2019-12-02", - }, - operations: { - CancelImageCreation: { - http: { method: "PUT", requestUri: "/CancelImageCreation" }, - input: { - type: "structure", - required: ["imageBuildVersionArn", "clientToken"], - members: { - imageBuildVersionArn: {}, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - imageBuildVersionArn: {}, - }, - }, - }, - CreateComponent: { - http: { method: "PUT", requestUri: "/CreateComponent" }, - input: { - type: "structure", - required: ["name", "semanticVersion", "platform", "clientToken"], - members: { - name: {}, - semanticVersion: {}, - description: {}, - changeDescription: {}, - platform: {}, - data: {}, - uri: {}, - kmsKeyId: {}, - tags: { shape: "Sc" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - componentBuildVersionArn: {}, - }, - }, - }, - CreateDistributionConfiguration: { - http: { - method: "PUT", - requestUri: "/CreateDistributionConfiguration", - }, - input: { - type: "structure", - required: ["name", "distributions", "clientToken"], - members: { - name: {}, - description: {}, - distributions: { shape: "Si" }, - tags: { shape: "Sc" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - distributionConfigurationArn: {}, - }, - }, - }, - CreateImage: { - http: { method: "PUT", requestUri: "/CreateImage" }, - input: { - type: "structure", - required: [ - "imageRecipeArn", - "infrastructureConfigurationArn", - "clientToken", - ], - members: { - imageRecipeArn: {}, - distributionConfigurationArn: {}, - infrastructureConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - tags: { shape: "Sc" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - imageBuildVersionArn: {}, - }, - }, - }, - CreateImagePipeline: { - http: { method: "PUT", requestUri: "/CreateImagePipeline" }, - input: { - type: "structure", - required: [ - "name", - "imageRecipeArn", - "infrastructureConfigurationArn", - "clientToken", - ], - members: { - name: {}, - description: {}, - imageRecipeArn: {}, - infrastructureConfigurationArn: {}, - distributionConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - schedule: { shape: "S11" }, - status: {}, - tags: { shape: "Sc" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, clientToken: {}, imagePipelineArn: {} }, - }, - }, - CreateImageRecipe: { - http: { method: "PUT", requestUri: "/CreateImageRecipe" }, - input: { - type: "structure", - required: [ - "name", - "semanticVersion", - "components", - "parentImage", - "clientToken", - ], - members: { - name: {}, - description: {}, - semanticVersion: {}, - components: { shape: "S17" }, - parentImage: {}, - blockDeviceMappings: { shape: "S1a" }, - tags: { shape: "Sc" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, clientToken: {}, imageRecipeArn: {} }, - }, - }, - CreateInfrastructureConfiguration: { - http: { - method: "PUT", - requestUri: "/CreateInfrastructureConfiguration", - }, - input: { - type: "structure", - required: ["name", "instanceProfileName", "clientToken"], - members: { - name: {}, - description: {}, - instanceTypes: { shape: "S1j" }, - instanceProfileName: {}, - securityGroupIds: { shape: "S1l" }, - subnetId: {}, - logging: { shape: "S1m" }, - keyPair: {}, - terminateInstanceOnFailure: { type: "boolean" }, - snsTopicArn: {}, - tags: { shape: "Sc" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - infrastructureConfigurationArn: {}, - }, - }, - }, - DeleteComponent: { - http: { method: "DELETE", requestUri: "/DeleteComponent" }, - input: { - type: "structure", - required: ["componentBuildVersionArn"], - members: { - componentBuildVersionArn: { - location: "querystring", - locationName: "componentBuildVersionArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, componentBuildVersionArn: {} }, - }, - }, - DeleteDistributionConfiguration: { - http: { - method: "DELETE", - requestUri: "/DeleteDistributionConfiguration", - }, - input: { - type: "structure", - required: ["distributionConfigurationArn"], - members: { - distributionConfigurationArn: { - location: "querystring", - locationName: "distributionConfigurationArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, distributionConfigurationArn: {} }, - }, - }, - DeleteImage: { - http: { method: "DELETE", requestUri: "/DeleteImage" }, - input: { - type: "structure", - required: ["imageBuildVersionArn"], - members: { - imageBuildVersionArn: { - location: "querystring", - locationName: "imageBuildVersionArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, imageBuildVersionArn: {} }, - }, - }, - DeleteImagePipeline: { - http: { method: "DELETE", requestUri: "/DeleteImagePipeline" }, - input: { - type: "structure", - required: ["imagePipelineArn"], - members: { - imagePipelineArn: { - location: "querystring", - locationName: "imagePipelineArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, imagePipelineArn: {} }, - }, - }, - DeleteImageRecipe: { - http: { method: "DELETE", requestUri: "/DeleteImageRecipe" }, - input: { - type: "structure", - required: ["imageRecipeArn"], - members: { - imageRecipeArn: { - location: "querystring", - locationName: "imageRecipeArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, imageRecipeArn: {} }, - }, - }, - DeleteInfrastructureConfiguration: { - http: { - method: "DELETE", - requestUri: "/DeleteInfrastructureConfiguration", - }, - input: { - type: "structure", - required: ["infrastructureConfigurationArn"], - members: { - infrastructureConfigurationArn: { - location: "querystring", - locationName: "infrastructureConfigurationArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, infrastructureConfigurationArn: {} }, - }, - }, - GetComponent: { - http: { method: "GET", requestUri: "/GetComponent" }, - input: { - type: "structure", - required: ["componentBuildVersionArn"], - members: { - componentBuildVersionArn: { - location: "querystring", - locationName: "componentBuildVersionArn", - }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - component: { - type: "structure", - members: { - arn: {}, - name: {}, - version: {}, - description: {}, - changeDescription: {}, - type: {}, - platform: {}, - owner: {}, - data: {}, - kmsKeyId: {}, - encrypted: { type: "boolean" }, - dateCreated: {}, - tags: { shape: "Sc" }, - }, - }, - }, - }, - }, - GetComponentPolicy: { - http: { method: "GET", requestUri: "/GetComponentPolicy" }, - input: { - type: "structure", - required: ["componentArn"], - members: { - componentArn: { - location: "querystring", - locationName: "componentArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, policy: {} }, - }, - }, - GetDistributionConfiguration: { - http: { - method: "GET", - requestUri: "/GetDistributionConfiguration", - }, - input: { - type: "structure", - required: ["distributionConfigurationArn"], - members: { - distributionConfigurationArn: { - location: "querystring", - locationName: "distributionConfigurationArn", - }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - distributionConfiguration: { shape: "S2e" }, - }, - }, - }, - GetImage: { - http: { method: "GET", requestUri: "/GetImage" }, - input: { - type: "structure", - required: ["imageBuildVersionArn"], - members: { - imageBuildVersionArn: { - location: "querystring", - locationName: "imageBuildVersionArn", - }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - image: { - type: "structure", - members: { - arn: {}, - name: {}, - version: {}, - platform: {}, - state: { shape: "S2j" }, - imageRecipe: { shape: "S2l" }, - sourcePipelineName: {}, - sourcePipelineArn: {}, - infrastructureConfiguration: { shape: "S2m" }, - distributionConfiguration: { shape: "S2e" }, - imageTestsConfiguration: { shape: "Sw" }, - dateCreated: {}, - outputResources: { shape: "S2n" }, - tags: { shape: "Sc" }, - }, - }, - }, - }, - }, - GetImagePipeline: { - http: { method: "GET", requestUri: "/GetImagePipeline" }, - input: { - type: "structure", - required: ["imagePipelineArn"], - members: { - imagePipelineArn: { - location: "querystring", - locationName: "imagePipelineArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, imagePipeline: { shape: "S2s" } }, - }, - }, - GetImagePolicy: { - http: { method: "GET", requestUri: "/GetImagePolicy" }, - input: { - type: "structure", - required: ["imageArn"], - members: { - imageArn: { location: "querystring", locationName: "imageArn" }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, policy: {} }, - }, - }, - GetImageRecipe: { - http: { method: "GET", requestUri: "/GetImageRecipe" }, - input: { - type: "structure", - required: ["imageRecipeArn"], - members: { - imageRecipeArn: { - location: "querystring", - locationName: "imageRecipeArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, imageRecipe: { shape: "S2l" } }, - }, - }, - GetImageRecipePolicy: { - http: { method: "GET", requestUri: "/GetImageRecipePolicy" }, - input: { - type: "structure", - required: ["imageRecipeArn"], - members: { - imageRecipeArn: { - location: "querystring", - locationName: "imageRecipeArn", - }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, policy: {} }, - }, - }, - GetInfrastructureConfiguration: { - http: { - method: "GET", - requestUri: "/GetInfrastructureConfiguration", - }, - input: { - type: "structure", - required: ["infrastructureConfigurationArn"], - members: { - infrastructureConfigurationArn: { - location: "querystring", - locationName: "infrastructureConfigurationArn", - }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - infrastructureConfiguration: { shape: "S2m" }, - }, - }, - }, - ImportComponent: { - http: { method: "PUT", requestUri: "/ImportComponent" }, - input: { - type: "structure", - required: [ - "name", - "semanticVersion", - "type", - "format", - "platform", - "clientToken", - ], - members: { - name: {}, - semanticVersion: {}, - description: {}, - changeDescription: {}, - type: {}, - format: {}, - platform: {}, - data: {}, - uri: {}, - kmsKeyId: {}, - tags: { shape: "Sc" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - componentBuildVersionArn: {}, - }, - }, - }, - ListComponentBuildVersions: { - http: { requestUri: "/ListComponentBuildVersions" }, - input: { - type: "structure", - required: ["componentVersionArn"], - members: { - componentVersionArn: {}, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - componentSummaryList: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - version: {}, - platform: {}, - type: {}, - owner: {}, - description: {}, - changeDescription: {}, - dateCreated: {}, - tags: { shape: "Sc" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListComponents: { - http: { requestUri: "/ListComponents" }, - input: { - type: "structure", - members: { - owner: {}, - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - componentVersionList: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - version: {}, - description: {}, - platform: {}, - type: {}, - owner: {}, - dateCreated: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListDistributionConfigurations: { - http: { requestUri: "/ListDistributionConfigurations" }, - input: { - type: "structure", - members: { - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - distributionConfigurationSummaryList: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - dateCreated: {}, - dateUpdated: {}, - tags: { shape: "Sc" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListImageBuildVersions: { - http: { requestUri: "/ListImageBuildVersions" }, - input: { - type: "structure", - required: ["imageVersionArn"], - members: { - imageVersionArn: {}, - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - imageSummaryList: { shape: "S3r" }, - nextToken: {}, - }, - }, - }, - ListImagePipelineImages: { - http: { requestUri: "/ListImagePipelineImages" }, - input: { - type: "structure", - required: ["imagePipelineArn"], - members: { - imagePipelineArn: {}, - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - imageSummaryList: { shape: "S3r" }, - nextToken: {}, - }, - }, - }, - ListImagePipelines: { - http: { requestUri: "/ListImagePipelines" }, - input: { - type: "structure", - members: { - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - imagePipelineList: { type: "list", member: { shape: "S2s" } }, - nextToken: {}, - }, - }, - }, - ListImageRecipes: { - http: { requestUri: "/ListImageRecipes" }, - input: { - type: "structure", - members: { - owner: {}, - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - imageRecipeSummaryList: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - platform: {}, - owner: {}, - parentImage: {}, - dateCreated: {}, - tags: { shape: "Sc" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListImages: { - http: { requestUri: "/ListImages" }, - input: { - type: "structure", - members: { - owner: {}, - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - imageVersionList: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - version: {}, - platform: {}, - owner: {}, - dateCreated: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListInfrastructureConfigurations: { - http: { requestUri: "/ListInfrastructureConfigurations" }, - input: { - type: "structure", - members: { - filters: { shape: "S3c" }, - maxResults: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - infrastructureConfigurationSummaryList: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - dateCreated: {}, - dateUpdated: {}, - tags: { shape: "Sc" }, - }, - }, - }, - 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: "Sc" } } }, - }, - PutComponentPolicy: { - http: { method: "PUT", requestUri: "/PutComponentPolicy" }, - input: { - type: "structure", - required: ["componentArn", "policy"], - members: { componentArn: {}, policy: {} }, - }, - output: { - type: "structure", - members: { requestId: {}, componentArn: {} }, - }, - }, - PutImagePolicy: { - http: { method: "PUT", requestUri: "/PutImagePolicy" }, - input: { - type: "structure", - required: ["imageArn", "policy"], - members: { imageArn: {}, policy: {} }, - }, - output: { - type: "structure", - members: { requestId: {}, imageArn: {} }, - }, - }, - PutImageRecipePolicy: { - http: { method: "PUT", requestUri: "/PutImageRecipePolicy" }, - input: { - type: "structure", - required: ["imageRecipeArn", "policy"], - members: { imageRecipeArn: {}, policy: {} }, - }, - output: { - type: "structure", - members: { requestId: {}, imageRecipeArn: {} }, - }, - }, - StartImagePipelineExecution: { - http: { method: "PUT", requestUri: "/StartImagePipelineExecution" }, - input: { - type: "structure", - required: ["imagePipelineArn", "clientToken"], - members: { - imagePipelineArn: {}, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - imageBuildVersionArn: {}, - }, - }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sc" }, - }, - }, - 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: {} }, - }, - UpdateDistributionConfiguration: { - http: { - method: "PUT", - requestUri: "/UpdateDistributionConfiguration", - }, - input: { - type: "structure", - required: [ - "distributionConfigurationArn", - "distributions", - "clientToken", - ], - members: { - distributionConfigurationArn: {}, - description: {}, - distributions: { shape: "Si" }, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - distributionConfigurationArn: {}, - }, - }, - }, - UpdateImagePipeline: { - http: { method: "PUT", requestUri: "/UpdateImagePipeline" }, - input: { - type: "structure", - required: [ - "imagePipelineArn", - "imageRecipeArn", - "infrastructureConfigurationArn", - "clientToken", - ], - members: { - imagePipelineArn: {}, - description: {}, - imageRecipeArn: {}, - infrastructureConfigurationArn: {}, - distributionConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - schedule: { shape: "S11" }, - status: {}, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { requestId: {}, clientToken: {}, imagePipelineArn: {} }, - }, - }, - UpdateInfrastructureConfiguration: { - http: { - method: "PUT", - requestUri: "/UpdateInfrastructureConfiguration", - }, - input: { - type: "structure", - required: [ - "infrastructureConfigurationArn", - "instanceProfileName", - "clientToken", - ], - members: { - infrastructureConfigurationArn: {}, - description: {}, - instanceTypes: { shape: "S1j" }, - instanceProfileName: {}, - securityGroupIds: { shape: "S1l" }, - subnetId: {}, - logging: { shape: "S1m" }, - keyPair: {}, - terminateInstanceOnFailure: { type: "boolean" }, - snsTopicArn: {}, - clientToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - requestId: {}, - clientToken: {}, - infrastructureConfigurationArn: {}, - }, - }, - }, - }, - shapes: { - Sc: { type: "map", key: {}, value: {} }, - Si: { - type: "list", - member: { - type: "structure", - required: ["region"], - members: { - region: {}, - amiDistributionConfiguration: { - type: "structure", - members: { - name: {}, - description: {}, - amiTags: { shape: "Sc" }, - launchPermission: { - type: "structure", - members: { - userIds: { type: "list", member: {} }, - userGroups: { type: "list", member: {} }, - }, - }, - }, - }, - licenseConfigurationArns: { type: "list", member: {} }, - }, - }, - }, - Sw: { - type: "structure", - members: { - imageTestsEnabled: { type: "boolean" }, - timeoutMinutes: { type: "integer" }, - }, - }, - S11: { - type: "structure", - members: { - scheduleExpression: {}, - pipelineExecutionStartCondition: {}, - }, - }, - S17: { - type: "list", - member: { - type: "structure", - required: ["componentArn"], - members: { componentArn: {} }, - }, - }, - S1a: { - type: "list", - member: { - type: "structure", - members: { - deviceName: {}, - ebs: { - type: "structure", - members: { - encrypted: { type: "boolean" }, - deleteOnTermination: { type: "boolean" }, - iops: { type: "integer" }, - kmsKeyId: {}, - snapshotId: {}, - volumeSize: { type: "integer" }, - volumeType: {}, - }, - }, - virtualName: {}, - noDevice: {}, - }, - }, - }, - S1j: { type: "list", member: {} }, - S1l: { type: "list", member: {} }, - S1m: { - type: "structure", - members: { - s3Logs: { - type: "structure", - members: { s3BucketName: {}, s3KeyPrefix: {} }, - }, - }, - }, - S2e: { - type: "structure", - required: ["timeoutMinutes"], - members: { - arn: {}, - name: {}, - description: {}, - distributions: { shape: "Si" }, - timeoutMinutes: { type: "integer" }, - dateCreated: {}, - dateUpdated: {}, - tags: { shape: "Sc" }, - }, - }, - S2j: { type: "structure", members: { status: {}, reason: {} } }, - S2l: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - platform: {}, - owner: {}, - version: {}, - components: { shape: "S17" }, - parentImage: {}, - blockDeviceMappings: { shape: "S1a" }, - dateCreated: {}, - tags: { shape: "Sc" }, - }, - }, - S2m: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - instanceTypes: { shape: "S1j" }, - instanceProfileName: {}, - securityGroupIds: { shape: "S1l" }, - subnetId: {}, - logging: { shape: "S1m" }, - keyPair: {}, - terminateInstanceOnFailure: { type: "boolean" }, - snsTopicArn: {}, - dateCreated: {}, - dateUpdated: {}, - tags: { shape: "Sc" }, - }, - }, - S2n: { - type: "structure", - members: { - amis: { - type: "list", - member: { - type: "structure", - members: { - region: {}, - image: {}, - name: {}, - description: {}, - state: { shape: "S2j" }, - }, - }, - }, - }, - }, - S2s: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - platform: {}, - imageRecipeArn: {}, - infrastructureConfigurationArn: {}, - distributionConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - schedule: { shape: "S11" }, - status: {}, - dateCreated: {}, - dateUpdated: {}, - dateLastRun: {}, - dateNextRun: {}, - tags: { shape: "Sc" }, - }, - }, - S3c: { - type: "list", - member: { - type: "structure", - members: { name: {}, values: { type: "list", member: {} } }, - }, - }, - S3r: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - version: {}, - platform: {}, - state: { shape: "S2j" }, - owner: {}, - dateCreated: {}, - outputResources: { shape: "S2n" }, - tags: { shape: "Sc" }, - }, - }, - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1250: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 1855: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = registerPlugin; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - const factory = __webpack_require__(9047); +apiLoader.services['worklink'] = {}; +AWS.WorkLink = Service.defineService('worklink', ['2018-09-25']); +Object.defineProperty(apiLoader.services['worklink'], '2018-09-25', { + get: function get() { + var model = __webpack_require__(7040); + model.paginators = __webpack_require__(3413).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function registerPlugin(plugins, pluginFunction) { - return factory( - plugins.includes(pluginFunction) - ? plugins - : plugins.concat(pluginFunction) - ); - } +module.exports = AWS.WorkLink; - /***/ - }, - /***/ 1879: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["lexruntime"] = {}; - AWS.LexRuntime = Service.defineService("lexruntime", ["2016-11-28"]); - Object.defineProperty(apiLoader.services["lexruntime"], "2016-11-28", { - get: function get() { - var model = __webpack_require__(1352); - model.paginators = __webpack_require__(2681).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 1256: +/***/ (function(module) { - module.exports = AWS.LexRuntime; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-07-26","endpointPrefix":"email","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Pinpoint Email","serviceFullName":"Amazon Pinpoint Email Service","serviceId":"Pinpoint Email","signatureVersion":"v4","signingName":"ses","uid":"pinpoint-email-2018-07-26"},"operations":{"CreateConfigurationSet":{"http":{"requestUri":"/v1/email/configuration-sets"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{},"TrackingOptions":{"shape":"S3"},"DeliveryOptions":{"shape":"S5"},"ReputationOptions":{"shape":"S8"},"SendingOptions":{"shape":"Sb"},"Tags":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"CreateConfigurationSetEventDestination":{"http":{"requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations"},"input":{"type":"structure","required":["ConfigurationSetName","EventDestinationName","EventDestination"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"EventDestinationName":{},"EventDestination":{"shape":"Sj"}}},"output":{"type":"structure","members":{}}},"CreateDedicatedIpPool":{"http":{"requestUri":"/v1/email/dedicated-ip-pools"},"input":{"type":"structure","required":["PoolName"],"members":{"PoolName":{},"Tags":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"CreateDeliverabilityTestReport":{"http":{"requestUri":"/v1/email/deliverability-dashboard/test"},"input":{"type":"structure","required":["FromEmailAddress","Content"],"members":{"ReportName":{},"FromEmailAddress":{},"Content":{"shape":"S12"},"Tags":{"shape":"Sc"}}},"output":{"type":"structure","required":["ReportId","DeliverabilityTestStatus"],"members":{"ReportId":{},"DeliverabilityTestStatus":{}}}},"CreateEmailIdentity":{"http":{"requestUri":"/v1/email/identities"},"input":{"type":"structure","required":["EmailIdentity"],"members":{"EmailIdentity":{},"Tags":{"shape":"Sc"}}},"output":{"type":"structure","members":{"IdentityType":{},"VerifiedForSendingStatus":{"type":"boolean"},"DkimAttributes":{"shape":"S1k"}}}},"DeleteConfigurationSet":{"http":{"method":"DELETE","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"}}},"output":{"type":"structure","members":{}}},"DeleteConfigurationSetEventDestination":{"http":{"method":"DELETE","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}"},"input":{"type":"structure","required":["ConfigurationSetName","EventDestinationName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"EventDestinationName":{"location":"uri","locationName":"EventDestinationName"}}},"output":{"type":"structure","members":{}}},"DeleteDedicatedIpPool":{"http":{"method":"DELETE","requestUri":"/v1/email/dedicated-ip-pools/{PoolName}"},"input":{"type":"structure","required":["PoolName"],"members":{"PoolName":{"location":"uri","locationName":"PoolName"}}},"output":{"type":"structure","members":{}}},"DeleteEmailIdentity":{"http":{"method":"DELETE","requestUri":"/v1/email/identities/{EmailIdentity}"},"input":{"type":"structure","required":["EmailIdentity"],"members":{"EmailIdentity":{"location":"uri","locationName":"EmailIdentity"}}},"output":{"type":"structure","members":{}}},"GetAccount":{"http":{"method":"GET","requestUri":"/v1/email/account"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"SendQuota":{"type":"structure","members":{"Max24HourSend":{"type":"double"},"MaxSendRate":{"type":"double"},"SentLast24Hours":{"type":"double"}}},"SendingEnabled":{"type":"boolean"},"DedicatedIpAutoWarmupEnabled":{"type":"boolean"},"EnforcementStatus":{},"ProductionAccessEnabled":{"type":"boolean"}}}},"GetBlacklistReports":{"http":{"method":"GET","requestUri":"/v1/email/deliverability-dashboard/blacklist-report"},"input":{"type":"structure","required":["BlacklistItemNames"],"members":{"BlacklistItemNames":{"location":"querystring","locationName":"BlacklistItemNames","type":"list","member":{}}}},"output":{"type":"structure","required":["BlacklistReport"],"members":{"BlacklistReport":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","members":{"RblName":{},"ListingTime":{"type":"timestamp"},"Description":{}}}}}}}},"GetConfigurationSet":{"http":{"method":"GET","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"}}},"output":{"type":"structure","members":{"ConfigurationSetName":{},"TrackingOptions":{"shape":"S3"},"DeliveryOptions":{"shape":"S5"},"ReputationOptions":{"shape":"S8"},"SendingOptions":{"shape":"Sb"},"Tags":{"shape":"Sc"}}}},"GetConfigurationSetEventDestinations":{"http":{"method":"GET","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"}}},"output":{"type":"structure","members":{"EventDestinations":{"type":"list","member":{"type":"structure","required":["Name","MatchingEventTypes"],"members":{"Name":{},"Enabled":{"type":"boolean"},"MatchingEventTypes":{"shape":"Sk"},"KinesisFirehoseDestination":{"shape":"Sm"},"CloudWatchDestination":{"shape":"So"},"SnsDestination":{"shape":"Su"},"PinpointDestination":{"shape":"Sv"}}}}}}},"GetDedicatedIp":{"http":{"method":"GET","requestUri":"/v1/email/dedicated-ips/{IP}"},"input":{"type":"structure","required":["Ip"],"members":{"Ip":{"location":"uri","locationName":"IP"}}},"output":{"type":"structure","members":{"DedicatedIp":{"shape":"S2m"}}}},"GetDedicatedIps":{"http":{"method":"GET","requestUri":"/v1/email/dedicated-ips"},"input":{"type":"structure","members":{"PoolName":{"location":"querystring","locationName":"PoolName"},"NextToken":{"location":"querystring","locationName":"NextToken"},"PageSize":{"location":"querystring","locationName":"PageSize","type":"integer"}}},"output":{"type":"structure","members":{"DedicatedIps":{"type":"list","member":{"shape":"S2m"}},"NextToken":{}}}},"GetDeliverabilityDashboardOptions":{"http":{"method":"GET","requestUri":"/v1/email/deliverability-dashboard"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["DashboardEnabled"],"members":{"DashboardEnabled":{"type":"boolean"},"SubscriptionExpiryDate":{"type":"timestamp"},"AccountStatus":{},"ActiveSubscribedDomains":{"shape":"S2x"},"PendingExpirationSubscribedDomains":{"shape":"S2x"}}}},"GetDeliverabilityTestReport":{"http":{"method":"GET","requestUri":"/v1/email/deliverability-dashboard/test-reports/{ReportId}"},"input":{"type":"structure","required":["ReportId"],"members":{"ReportId":{"location":"uri","locationName":"ReportId"}}},"output":{"type":"structure","required":["DeliverabilityTestReport","OverallPlacement","IspPlacements"],"members":{"DeliverabilityTestReport":{"shape":"S35"},"OverallPlacement":{"shape":"S37"},"IspPlacements":{"type":"list","member":{"type":"structure","members":{"IspName":{},"PlacementStatistics":{"shape":"S37"}}}},"Message":{},"Tags":{"shape":"Sc"}}}},"GetDomainDeliverabilityCampaign":{"http":{"method":"GET","requestUri":"/v1/email/deliverability-dashboard/campaigns/{CampaignId}"},"input":{"type":"structure","required":["CampaignId"],"members":{"CampaignId":{"location":"uri","locationName":"CampaignId"}}},"output":{"type":"structure","required":["DomainDeliverabilityCampaign"],"members":{"DomainDeliverabilityCampaign":{"shape":"S3f"}}}},"GetDomainStatisticsReport":{"http":{"method":"GET","requestUri":"/v1/email/deliverability-dashboard/statistics-report/{Domain}"},"input":{"type":"structure","required":["Domain","StartDate","EndDate"],"members":{"Domain":{"location":"uri","locationName":"Domain"},"StartDate":{"location":"querystring","locationName":"StartDate","type":"timestamp"},"EndDate":{"location":"querystring","locationName":"EndDate","type":"timestamp"}}},"output":{"type":"structure","required":["OverallVolume","DailyVolumes"],"members":{"OverallVolume":{"type":"structure","members":{"VolumeStatistics":{"shape":"S3p"},"ReadRatePercent":{"type":"double"},"DomainIspPlacements":{"shape":"S3q"}}},"DailyVolumes":{"type":"list","member":{"type":"structure","members":{"StartDate":{"type":"timestamp"},"VolumeStatistics":{"shape":"S3p"},"DomainIspPlacements":{"shape":"S3q"}}}}}}},"GetEmailIdentity":{"http":{"method":"GET","requestUri":"/v1/email/identities/{EmailIdentity}"},"input":{"type":"structure","required":["EmailIdentity"],"members":{"EmailIdentity":{"location":"uri","locationName":"EmailIdentity"}}},"output":{"type":"structure","members":{"IdentityType":{},"FeedbackForwardingStatus":{"type":"boolean"},"VerifiedForSendingStatus":{"type":"boolean"},"DkimAttributes":{"shape":"S1k"},"MailFromAttributes":{"type":"structure","required":["MailFromDomain","MailFromDomainStatus","BehaviorOnMxFailure"],"members":{"MailFromDomain":{},"MailFromDomainStatus":{},"BehaviorOnMxFailure":{}}},"Tags":{"shape":"Sc"}}}},"ListConfigurationSets":{"http":{"method":"GET","requestUri":"/v1/email/configuration-sets"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"PageSize":{"location":"querystring","locationName":"PageSize","type":"integer"}}},"output":{"type":"structure","members":{"ConfigurationSets":{"type":"list","member":{}},"NextToken":{}}}},"ListDedicatedIpPools":{"http":{"method":"GET","requestUri":"/v1/email/dedicated-ip-pools"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"PageSize":{"location":"querystring","locationName":"PageSize","type":"integer"}}},"output":{"type":"structure","members":{"DedicatedIpPools":{"type":"list","member":{}},"NextToken":{}}}},"ListDeliverabilityTestReports":{"http":{"method":"GET","requestUri":"/v1/email/deliverability-dashboard/test-reports"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"PageSize":{"location":"querystring","locationName":"PageSize","type":"integer"}}},"output":{"type":"structure","required":["DeliverabilityTestReports"],"members":{"DeliverabilityTestReports":{"type":"list","member":{"shape":"S35"}},"NextToken":{}}}},"ListDomainDeliverabilityCampaigns":{"http":{"method":"GET","requestUri":"/v1/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns"},"input":{"type":"structure","required":["StartDate","EndDate","SubscribedDomain"],"members":{"StartDate":{"location":"querystring","locationName":"StartDate","type":"timestamp"},"EndDate":{"location":"querystring","locationName":"EndDate","type":"timestamp"},"SubscribedDomain":{"location":"uri","locationName":"SubscribedDomain"},"NextToken":{"location":"querystring","locationName":"NextToken"},"PageSize":{"location":"querystring","locationName":"PageSize","type":"integer"}}},"output":{"type":"structure","required":["DomainDeliverabilityCampaigns"],"members":{"DomainDeliverabilityCampaigns":{"type":"list","member":{"shape":"S3f"}},"NextToken":{}}}},"ListEmailIdentities":{"http":{"method":"GET","requestUri":"/v1/email/identities"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"PageSize":{"location":"querystring","locationName":"PageSize","type":"integer"}}},"output":{"type":"structure","members":{"EmailIdentities":{"type":"list","member":{"type":"structure","members":{"IdentityType":{},"IdentityName":{},"SendingEnabled":{"type":"boolean"}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/email/tags"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"querystring","locationName":"ResourceArn"}}},"output":{"type":"structure","required":["Tags"],"members":{"Tags":{"shape":"Sc"}}}},"PutAccountDedicatedIpWarmupAttributes":{"http":{"method":"PUT","requestUri":"/v1/email/account/dedicated-ips/warmup"},"input":{"type":"structure","members":{"AutoWarmupEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"PutAccountSendingAttributes":{"http":{"method":"PUT","requestUri":"/v1/email/account/sending"},"input":{"type":"structure","members":{"SendingEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"PutConfigurationSetDeliveryOptions":{"http":{"method":"PUT","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/delivery-options"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"TlsPolicy":{},"SendingPoolName":{}}},"output":{"type":"structure","members":{}}},"PutConfigurationSetReputationOptions":{"http":{"method":"PUT","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/reputation-options"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"ReputationMetricsEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"PutConfigurationSetSendingOptions":{"http":{"method":"PUT","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/sending"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"SendingEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"PutConfigurationSetTrackingOptions":{"http":{"method":"PUT","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/tracking-options"},"input":{"type":"structure","required":["ConfigurationSetName"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"CustomRedirectDomain":{}}},"output":{"type":"structure","members":{}}},"PutDedicatedIpInPool":{"http":{"method":"PUT","requestUri":"/v1/email/dedicated-ips/{IP}/pool"},"input":{"type":"structure","required":["Ip","DestinationPoolName"],"members":{"Ip":{"location":"uri","locationName":"IP"},"DestinationPoolName":{}}},"output":{"type":"structure","members":{}}},"PutDedicatedIpWarmupAttributes":{"http":{"method":"PUT","requestUri":"/v1/email/dedicated-ips/{IP}/warmup"},"input":{"type":"structure","required":["Ip","WarmupPercentage"],"members":{"Ip":{"location":"uri","locationName":"IP"},"WarmupPercentage":{"type":"integer"}}},"output":{"type":"structure","members":{}}},"PutDeliverabilityDashboardOption":{"http":{"method":"PUT","requestUri":"/v1/email/deliverability-dashboard"},"input":{"type":"structure","required":["DashboardEnabled"],"members":{"DashboardEnabled":{"type":"boolean"},"SubscribedDomains":{"shape":"S2x"}}},"output":{"type":"structure","members":{}}},"PutEmailIdentityDkimAttributes":{"http":{"method":"PUT","requestUri":"/v1/email/identities/{EmailIdentity}/dkim"},"input":{"type":"structure","required":["EmailIdentity"],"members":{"EmailIdentity":{"location":"uri","locationName":"EmailIdentity"},"SigningEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"PutEmailIdentityFeedbackAttributes":{"http":{"method":"PUT","requestUri":"/v1/email/identities/{EmailIdentity}/feedback"},"input":{"type":"structure","required":["EmailIdentity"],"members":{"EmailIdentity":{"location":"uri","locationName":"EmailIdentity"},"EmailForwardingEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"PutEmailIdentityMailFromAttributes":{"http":{"method":"PUT","requestUri":"/v1/email/identities/{EmailIdentity}/mail-from"},"input":{"type":"structure","required":["EmailIdentity"],"members":{"EmailIdentity":{"location":"uri","locationName":"EmailIdentity"},"MailFromDomain":{},"BehaviorOnMxFailure":{}}},"output":{"type":"structure","members":{}}},"SendEmail":{"http":{"requestUri":"/v1/email/outbound-emails"},"input":{"type":"structure","required":["Destination","Content"],"members":{"FromEmailAddress":{},"Destination":{"type":"structure","members":{"ToAddresses":{"shape":"S59"},"CcAddresses":{"shape":"S59"},"BccAddresses":{"shape":"S59"}}},"ReplyToAddresses":{"shape":"S59"},"FeedbackForwardingEmailAddress":{},"Content":{"shape":"S12"},"EmailTags":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"ConfigurationSetName":{}}},"output":{"type":"structure","members":{"MessageId":{}}}},"TagResource":{"http":{"requestUri":"/v1/email/tags"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/email/tags"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"querystring","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"TagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateConfigurationSetEventDestination":{"http":{"method":"PUT","requestUri":"/v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}"},"input":{"type":"structure","required":["ConfigurationSetName","EventDestinationName","EventDestination"],"members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"EventDestinationName":{"location":"uri","locationName":"EventDestinationName"},"EventDestination":{"shape":"Sj"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"structure","required":["CustomRedirectDomain"],"members":{"CustomRedirectDomain":{}}},"S5":{"type":"structure","members":{"TlsPolicy":{},"SendingPoolName":{}}},"S8":{"type":"structure","members":{"ReputationMetricsEnabled":{"type":"boolean"},"LastFreshStart":{"type":"timestamp"}}},"Sb":{"type":"structure","members":{"SendingEnabled":{"type":"boolean"}}},"Sc":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sj":{"type":"structure","members":{"Enabled":{"type":"boolean"},"MatchingEventTypes":{"shape":"Sk"},"KinesisFirehoseDestination":{"shape":"Sm"},"CloudWatchDestination":{"shape":"So"},"SnsDestination":{"shape":"Su"},"PinpointDestination":{"shape":"Sv"}}},"Sk":{"type":"list","member":{}},"Sm":{"type":"structure","required":["IamRoleArn","DeliveryStreamArn"],"members":{"IamRoleArn":{},"DeliveryStreamArn":{}}},"So":{"type":"structure","required":["DimensionConfigurations"],"members":{"DimensionConfigurations":{"type":"list","member":{"type":"structure","required":["DimensionName","DimensionValueSource","DefaultDimensionValue"],"members":{"DimensionName":{},"DimensionValueSource":{},"DefaultDimensionValue":{}}}}}},"Su":{"type":"structure","required":["TopicArn"],"members":{"TopicArn":{}}},"Sv":{"type":"structure","members":{"ApplicationArn":{}}},"S12":{"type":"structure","members":{"Simple":{"type":"structure","required":["Subject","Body"],"members":{"Subject":{"shape":"S14"},"Body":{"type":"structure","members":{"Text":{"shape":"S14"},"Html":{"shape":"S14"}}}}},"Raw":{"type":"structure","required":["Data"],"members":{"Data":{"type":"blob"}}},"Template":{"type":"structure","members":{"TemplateArn":{},"TemplateData":{}}}}},"S14":{"type":"structure","required":["Data"],"members":{"Data":{},"Charset":{}}},"S1k":{"type":"structure","members":{"SigningEnabled":{"type":"boolean"},"Status":{},"Tokens":{"type":"list","member":{}}}},"S2m":{"type":"structure","required":["Ip","WarmupStatus","WarmupPercentage"],"members":{"Ip":{},"WarmupStatus":{},"WarmupPercentage":{"type":"integer"},"PoolName":{}}},"S2x":{"type":"list","member":{"type":"structure","members":{"Domain":{},"SubscriptionStartDate":{"type":"timestamp"},"InboxPlacementTrackingOption":{"type":"structure","members":{"Global":{"type":"boolean"},"TrackedIsps":{"type":"list","member":{}}}}}}},"S35":{"type":"structure","members":{"ReportId":{},"ReportName":{},"Subject":{},"FromEmailAddress":{},"CreateDate":{"type":"timestamp"},"DeliverabilityTestStatus":{}}},"S37":{"type":"structure","members":{"InboxPercentage":{"type":"double"},"SpamPercentage":{"type":"double"},"MissingPercentage":{"type":"double"},"SpfPercentage":{"type":"double"},"DkimPercentage":{"type":"double"}}},"S3f":{"type":"structure","members":{"CampaignId":{},"ImageUrl":{},"Subject":{},"FromAddress":{},"SendingIps":{"type":"list","member":{}},"FirstSeenDateTime":{"type":"timestamp"},"LastSeenDateTime":{"type":"timestamp"},"InboxCount":{"type":"long"},"SpamCount":{"type":"long"},"ReadRate":{"type":"double"},"DeleteRate":{"type":"double"},"ReadDeleteRate":{"type":"double"},"ProjectedVolume":{"type":"long"},"Esps":{"type":"list","member":{}}}},"S3p":{"type":"structure","members":{"InboxRawCount":{"type":"long"},"SpamRawCount":{"type":"long"},"ProjectedInbox":{"type":"long"},"ProjectedSpam":{"type":"long"}}},"S3q":{"type":"list","member":{"type":"structure","members":{"IspName":{},"InboxRawCount":{"type":"long"},"SpamRawCount":{"type":"long"},"InboxPercentage":{"type":"double"},"SpamPercentage":{"type":"double"}}}},"S59":{"type":"list","member":{}}}}; - /***/ - }, +/***/ }), - /***/ 1881: /***/ function (module, __unusedexports, __webpack_require__) { - // Unique ID creation requires a high quality random # generator. In node.js - // this is pretty straight-forward - we use the crypto API. +/***/ 1273: +/***/ (function(module) { - var crypto = __webpack_require__(6417); +module.exports = {"version":2,"waiters":{"CertificateAuthorityCSRCreated":{"description":"Wait until a Certificate Authority CSR is created","operation":"GetCertificateAuthorityCsr","delay":3,"maxAttempts":60,"acceptors":[{"state":"success","matcher":"status","expected":200},{"state":"retry","matcher":"error","expected":"RequestInProgressException"}]},"CertificateIssued":{"description":"Wait until a certificate is issued","operation":"GetCertificate","delay":3,"maxAttempts":60,"acceptors":[{"state":"success","matcher":"status","expected":200},{"state":"retry","matcher":"error","expected":"RequestInProgressException"}]},"AuditReportCreated":{"description":"Wait until a Audit Report is created","operation":"DescribeCertificateAuthorityAuditReport","delay":3,"maxAttempts":60,"acceptors":[{"state":"success","matcher":"path","argument":"AuditReportStatus","expected":"SUCCESS"},{"state":"failure","matcher":"path","argument":"AuditReportStatus","expected":"FAILED"}]}}}; - module.exports = function nodeRNG() { - return crypto.randomBytes(16); - }; +/***/ }), - /***/ - }, +/***/ 1275: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 1885: /***/ function (__unusedmodule, exports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - "use strict"; - var bom, - defaults, - events, - isEmpty, - processItem, - processors, - sax, - setImmediate, - bind = function (fn, me) { - return function () { - return fn.apply(me, arguments); - }; - }, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - sax = __webpack_require__(4645); +apiLoader.services['kafka'] = {}; +AWS.Kafka = Service.defineService('kafka', ['2018-11-14']); +Object.defineProperty(apiLoader.services['kafka'], '2018-11-14', { + get: function get() { + var model = __webpack_require__(2304); + model.paginators = __webpack_require__(1957).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - events = __webpack_require__(8614); +module.exports = AWS.Kafka; - bom = __webpack_require__(6210); - processors = __webpack_require__(5350); +/***/ }), - setImmediate = __webpack_require__(8213).setImmediate; +/***/ 1283: +/***/ (function(module) { - defaults = __webpack_require__(1514).defaults; +module.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"}}}; - isEmpty = function (thing) { - return ( - typeof thing === "object" && - thing != null && - Object.keys(thing).length === 0 - ); - }; +/***/ }), - processItem = function (processors, item, key) { - var i, len, process; - for (i = 0, len = processors.length; i < len; i++) { - process = processors[i]; - item = process(item, key); - } - return item; - }; +/***/ 1287: +/***/ (function(module) { - exports.Parser = (function (superClass) { - extend(Parser, superClass); - - function Parser(opts) { - this.parseString = bind(this.parseString, this); - this.reset = bind(this.reset, this); - this.assignOrPush = bind(this.assignOrPush, this); - this.processAsync = bind(this.processAsync, this); - var key, ref, value; - if (!(this instanceof exports.Parser)) { - return new exports.Parser(opts); - } - this.options = {}; - ref = defaults["0.2"]; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this.options[key] = value; - } - for (key in opts) { - if (!hasProp.call(opts, key)) continue; - value = opts[key]; - this.options[key] = value; - } - if (this.options.xmlns) { - this.options.xmlnskey = this.options.attrkey + "ns"; - } - if (this.options.normalizeTags) { - if (!this.options.tagNameProcessors) { - this.options.tagNameProcessors = []; - } - this.options.tagNameProcessors.unshift(processors.normalize); - } - this.reset(); - } - - Parser.prototype.processAsync = function () { - var chunk, err; - try { - if (this.remaining.length <= this.options.chunkSize) { - chunk = this.remaining; - this.remaining = ""; - this.saxParser = this.saxParser.write(chunk); - return this.saxParser.close(); - } else { - chunk = this.remaining.substr(0, this.options.chunkSize); - this.remaining = this.remaining.substr( - this.options.chunkSize, - this.remaining.length - ); - this.saxParser = this.saxParser.write(chunk); - return setImmediate(this.processAsync); - } - } catch (error1) { - err = error1; - if (!this.saxParser.errThrown) { - this.saxParser.errThrown = true; - return this.emit(err); - } - } - }; +module.exports = {"pagination":{"ListAppliedSchemaArns":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListAttachedIndices":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDevelopmentSchemaArns":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDirectories":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListFacetAttributes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListFacetNames":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListIndex":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListObjectAttributes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListObjectChildren":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListObjectParentPaths":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListObjectParents":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListObjectPolicies":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListPolicyAttachments":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListPublishedSchemaArns":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListTagsForResource":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListTypedLinkFacetAttributes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListTypedLinkFacetNames":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"LookupPolicy":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - Parser.prototype.assignOrPush = function (obj, key, newValue) { - if (!(key in obj)) { - if (!this.options.explicitArray) { - return (obj[key] = newValue); - } else { - return (obj[key] = [newValue]); - } - } else { - if (!(obj[key] instanceof Array)) { - obj[key] = [obj[key]]; - } - return obj[key].push(newValue); - } - }; +/***/ }), - Parser.prototype.reset = function () { - var attrkey, charkey, ontext, stack; - this.removeAllListeners(); - this.saxParser = sax.parser(this.options.strict, { - trim: false, - normalize: false, - xmlns: this.options.xmlns, - }); - this.saxParser.errThrown = false; - this.saxParser.onerror = (function (_this) { - return function (error) { - _this.saxParser.resume(); - if (!_this.saxParser.errThrown) { - _this.saxParser.errThrown = true; - return _this.emit("error", error); - } - }; - })(this); - this.saxParser.onend = (function (_this) { - return function () { - if (!_this.saxParser.ended) { - _this.saxParser.ended = true; - return _this.emit("end", _this.resultObject); - } - }; - })(this); - this.saxParser.ended = false; - this.EXPLICIT_CHARKEY = this.options.explicitCharkey; - this.resultObject = null; - stack = []; - attrkey = this.options.attrkey; - charkey = this.options.charkey; - this.saxParser.onopentag = (function (_this) { - return function (node) { - var key, newValue, obj, processedKey, ref; - obj = {}; - obj[charkey] = ""; - if (!_this.options.ignoreAttrs) { - ref = node.attributes; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - if (!(attrkey in obj) && !_this.options.mergeAttrs) { - obj[attrkey] = {}; - } - newValue = _this.options.attrValueProcessors - ? processItem( - _this.options.attrValueProcessors, - node.attributes[key], - key - ) - : node.attributes[key]; - processedKey = _this.options.attrNameProcessors - ? processItem(_this.options.attrNameProcessors, key) - : key; - if (_this.options.mergeAttrs) { - _this.assignOrPush(obj, processedKey, newValue); - } else { - obj[attrkey][processedKey] = newValue; - } - } - } - obj["#name"] = _this.options.tagNameProcessors - ? processItem(_this.options.tagNameProcessors, node.name) - : node.name; - if (_this.options.xmlns) { - obj[_this.options.xmlnskey] = { - uri: node.uri, - local: node.local, - }; - } - return stack.push(obj); - }; - })(this); - this.saxParser.onclosetag = (function (_this) { - return function () { - var cdata, - emptyStr, - key, - node, - nodeName, - obj, - objClone, - old, - s, - xpath; - obj = stack.pop(); - nodeName = obj["#name"]; - if ( - !_this.options.explicitChildren || - !_this.options.preserveChildrenOrder - ) { - delete obj["#name"]; - } - if (obj.cdata === true) { - cdata = obj.cdata; - delete obj.cdata; - } - s = stack[stack.length - 1]; - if (obj[charkey].match(/^\s*$/) && !cdata) { - emptyStr = obj[charkey]; - delete obj[charkey]; - } else { - if (_this.options.trim) { - obj[charkey] = obj[charkey].trim(); - } - if (_this.options.normalize) { - obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim(); - } - obj[charkey] = _this.options.valueProcessors - ? processItem( - _this.options.valueProcessors, - obj[charkey], - nodeName - ) - : obj[charkey]; - if ( - Object.keys(obj).length === 1 && - charkey in obj && - !_this.EXPLICIT_CHARKEY - ) { - obj = obj[charkey]; - } - } - if (isEmpty(obj)) { - obj = - _this.options.emptyTag !== "" - ? _this.options.emptyTag - : emptyStr; - } - if (_this.options.validator != null) { - xpath = - "/" + - (function () { - var i, len, results; - results = []; - for (i = 0, len = stack.length; i < len; i++) { - node = stack[i]; - results.push(node["#name"]); - } - return results; - })() - .concat(nodeName) - .join("/"); - (function () { - var err; - try { - return (obj = _this.options.validator( - xpath, - s && s[nodeName], - obj - )); - } catch (error1) { - err = error1; - return _this.emit("error", err); - } - })(); - } - if ( - _this.options.explicitChildren && - !_this.options.mergeAttrs && - typeof obj === "object" - ) { - if (!_this.options.preserveChildrenOrder) { - node = {}; - if (_this.options.attrkey in obj) { - node[_this.options.attrkey] = obj[_this.options.attrkey]; - delete obj[_this.options.attrkey]; - } - if ( - !_this.options.charsAsChildren && - _this.options.charkey in obj - ) { - node[_this.options.charkey] = obj[_this.options.charkey]; - delete obj[_this.options.charkey]; - } - if (Object.getOwnPropertyNames(obj).length > 0) { - node[_this.options.childkey] = obj; - } - obj = node; - } else if (s) { - s[_this.options.childkey] = s[_this.options.childkey] || []; - objClone = {}; - for (key in obj) { - if (!hasProp.call(obj, key)) continue; - objClone[key] = obj[key]; - } - s[_this.options.childkey].push(objClone); - delete obj["#name"]; - if ( - Object.keys(obj).length === 1 && - charkey in obj && - !_this.EXPLICIT_CHARKEY - ) { - obj = obj[charkey]; - } - } - } - if (stack.length > 0) { - return _this.assignOrPush(s, nodeName, obj); - } else { - if (_this.options.explicitRoot) { - old = obj; - obj = {}; - obj[nodeName] = old; - } - _this.resultObject = obj; - _this.saxParser.ended = true; - return _this.emit("end", _this.resultObject); - } - }; - })(this); - ontext = (function (_this) { - return function (text) { - var charChild, s; - s = stack[stack.length - 1]; - if (s) { - s[charkey] += text; - if ( - _this.options.explicitChildren && - _this.options.preserveChildrenOrder && - _this.options.charsAsChildren && - (_this.options.includeWhiteChars || - text.replace(/\\n/g, "").trim() !== "") - ) { - s[_this.options.childkey] = s[_this.options.childkey] || []; - charChild = { - "#name": "__text__", - }; - charChild[charkey] = text; - if (_this.options.normalize) { - charChild[charkey] = charChild[charkey] - .replace(/\s{2,}/g, " ") - .trim(); - } - s[_this.options.childkey].push(charChild); - } - return s; - } - }; - })(this); - this.saxParser.ontext = ontext; - return (this.saxParser.oncdata = (function (_this) { - return function (text) { - var s; - s = ontext(text); - if (s) { - return (s.cdata = true); - } - }; - })(this)); - }; +/***/ 1291: +/***/ (function(module, __unusedexports, __webpack_require__) { - Parser.prototype.parseString = function (str, cb) { - var err; - if (cb != null && typeof cb === "function") { - this.on("end", function (result) { - this.reset(); - return cb(null, result); - }); - this.on("error", function (err) { - this.reset(); - return cb(err); - }); - } - try { - str = str.toString(); - if (str.trim() === "") { - this.emit("end", null); - return true; - } - str = bom.stripBOM(str); - if (this.options.async) { - this.remaining = str; - setImmediate(this.processAsync); - return this.saxParser; - } - return this.saxParser.write(str).close(); - } catch (error1) { - err = error1; - if (!(this.saxParser.errThrown || this.saxParser.ended)) { - this.emit("error", err); - return (this.saxParser.errThrown = true); - } else if (this.saxParser.ended) { - throw err; - } - } - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - return Parser; - })(events.EventEmitter); +apiLoader.services['iotdata'] = {}; +AWS.IotData = Service.defineService('iotdata', ['2015-05-28']); +__webpack_require__(2873); +Object.defineProperty(apiLoader.services['iotdata'], '2015-05-28', { + get: function get() { + var model = __webpack_require__(1200); + model.paginators = __webpack_require__(6010).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - exports.parseString = function (str, a, b) { - var cb, options, parser; - if (b != null) { - if (typeof b === "function") { - cb = b; - } - if (typeof a === "object") { - options = a; - } - } else { - if (typeof a === "function") { - cb = a; - } - options = {}; - } - parser = new exports.Parser(options); - return parser.parseString(str, cb); - }; - }.call(this)); +module.exports = AWS.IotData; - /***/ - }, - /***/ 1890: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-01-12", - endpointPrefix: "dlm", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Amazon DLM", - serviceFullName: "Amazon Data Lifecycle Manager", - serviceId: "DLM", - signatureVersion: "v4", - signingName: "dlm", - uid: "dlm-2018-01-12", - }, - operations: { - CreateLifecyclePolicy: { - http: { requestUri: "/policies" }, - input: { - type: "structure", - required: [ - "ExecutionRoleArn", - "Description", - "State", - "PolicyDetails", - ], - members: { - ExecutionRoleArn: {}, - Description: {}, - State: {}, - PolicyDetails: { shape: "S5" }, - Tags: { shape: "S12" }, - }, - }, - output: { type: "structure", members: { PolicyId: {} } }, - }, - DeleteLifecyclePolicy: { - http: { method: "DELETE", requestUri: "/policies/{policyId}/" }, - input: { - type: "structure", - required: ["PolicyId"], - members: { - PolicyId: { location: "uri", locationName: "policyId" }, - }, - }, - output: { type: "structure", members: {} }, - }, - GetLifecyclePolicies: { - http: { method: "GET", requestUri: "/policies" }, - input: { - type: "structure", - members: { - PolicyIds: { - location: "querystring", - locationName: "policyIds", - type: "list", - member: {}, - }, - State: { location: "querystring", locationName: "state" }, - ResourceTypes: { - shape: "S7", - location: "querystring", - locationName: "resourceTypes", - }, - TargetTags: { - location: "querystring", - locationName: "targetTags", - type: "list", - member: {}, - }, - TagsToAdd: { - location: "querystring", - locationName: "tagsToAdd", - type: "list", - member: {}, - }, - }, - }, - output: { - type: "structure", - members: { - Policies: { - type: "list", - member: { - type: "structure", - members: { - PolicyId: {}, - Description: {}, - State: {}, - Tags: { shape: "S12" }, - }, - }, - }, - }, - }, - }, - GetLifecyclePolicy: { - http: { method: "GET", requestUri: "/policies/{policyId}/" }, - input: { - type: "structure", - required: ["PolicyId"], - members: { - PolicyId: { location: "uri", locationName: "policyId" }, - }, - }, - output: { - type: "structure", - members: { - Policy: { - type: "structure", - members: { - PolicyId: {}, - Description: {}, - State: {}, - StatusMessage: {}, - ExecutionRoleArn: {}, - DateCreated: { shape: "S1m" }, - DateModified: { shape: "S1m" }, - PolicyDetails: { shape: "S5" }, - Tags: { shape: "S12" }, - PolicyArn: {}, - }, - }, - }, - }, - }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - }, - }, - output: { type: "structure", members: { Tags: { shape: "S12" } } }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "S12" }, - }, - }, - 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: {} }, - }, - UpdateLifecyclePolicy: { - http: { method: "PATCH", requestUri: "/policies/{policyId}" }, - input: { - type: "structure", - required: ["PolicyId"], - members: { - PolicyId: { location: "uri", locationName: "policyId" }, - ExecutionRoleArn: {}, - State: {}, - Description: {}, - PolicyDetails: { shape: "S5" }, - }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S5: { - type: "structure", - members: { - PolicyType: {}, - ResourceTypes: { shape: "S7" }, - TargetTags: { type: "list", member: { shape: "Sa" } }, - Schedules: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - CopyTags: { type: "boolean" }, - TagsToAdd: { type: "list", member: { shape: "Sa" } }, - VariableTags: { type: "list", member: { shape: "Sa" } }, - CreateRule: { - type: "structure", - required: ["Interval", "IntervalUnit"], - members: { - Interval: { type: "integer" }, - IntervalUnit: {}, - Times: { type: "list", member: {} }, - }, - }, - RetainRule: { - type: "structure", - members: { - Count: { type: "integer" }, - Interval: { type: "integer" }, - IntervalUnit: {}, - }, - }, - FastRestoreRule: { - type: "structure", - required: ["AvailabilityZones"], - members: { - Count: { type: "integer" }, - Interval: { type: "integer" }, - IntervalUnit: {}, - AvailabilityZones: { type: "list", member: {} }, - }, - }, - CrossRegionCopyRules: { - type: "list", - member: { - type: "structure", - required: ["TargetRegion", "Encrypted"], - members: { - TargetRegion: {}, - Encrypted: { type: "boolean" }, - CmkArn: {}, - CopyTags: { type: "boolean" }, - RetainRule: { - type: "structure", - members: { - Interval: { type: "integer" }, - IntervalUnit: {}, - }, - }, - }, - }, - }, - }, - }, - }, - Parameters: { - type: "structure", - members: { ExcludeBootVolume: { type: "boolean" } }, - }, - }, - }, - S7: { type: "list", member: {} }, - Sa: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - S12: { type: "map", key: {}, value: {} }, - S1m: { type: "timestamp", timestampFormat: "iso8601" }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1306: +/***/ (function(module) { - /***/ 1894: /***/ function (module) { - 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: { - CancelDataRepositoryTask: { - input: { - type: "structure", - required: ["TaskId"], - members: { TaskId: {} }, - }, - output: { - type: "structure", - members: { Lifecycle: {}, TaskId: {} }, - }, - idempotent: true, - }, - CreateBackup: { - input: { - type: "structure", - required: ["FileSystemId"], - members: { - FileSystemId: {}, - ClientRequestToken: { idempotencyToken: true }, - Tags: { shape: "S8" }, - }, - }, - output: { type: "structure", members: { Backup: { shape: "Sd" } } }, - idempotent: true, - }, - CreateDataRepositoryTask: { - input: { - type: "structure", - required: ["Type", "FileSystemId", "Report"], - members: { - Type: {}, - Paths: { shape: "S1r" }, - FileSystemId: {}, - Report: { shape: "S1t" }, - ClientRequestToken: { idempotencyToken: true }, - Tags: { shape: "S8" }, - }, - }, - output: { - type: "structure", - members: { DataRepositoryTask: { shape: "S1x" } }, - }, - idempotent: true, - }, - CreateFileSystem: { - input: { - type: "structure", - required: ["FileSystemType", "StorageCapacity", "SubnetIds"], - members: { - ClientRequestToken: { idempotencyToken: true }, - FileSystemType: {}, - StorageCapacity: { type: "integer" }, - StorageType: {}, - SubnetIds: { shape: "Sv" }, - SecurityGroupIds: { shape: "S27" }, - Tags: { shape: "S8" }, - KmsKeyId: {}, - WindowsConfiguration: { shape: "S29" }, - LustreConfiguration: { - type: "structure", - members: { - WeeklyMaintenanceStartTime: {}, - ImportPath: {}, - ExportPath: {}, - ImportedFileChunkSize: { type: "integer" }, - DeploymentType: {}, - PerUnitStorageThroughput: { type: "integer" }, - }, - }, - }, - }, - output: { - type: "structure", - members: { FileSystem: { shape: "Sn" } }, - }, - }, - CreateFileSystemFromBackup: { - input: { - type: "structure", - required: ["BackupId", "SubnetIds"], - members: { - BackupId: {}, - ClientRequestToken: { idempotencyToken: true }, - SubnetIds: { shape: "Sv" }, - SecurityGroupIds: { shape: "S27" }, - Tags: { shape: "S8" }, - WindowsConfiguration: { shape: "S29" }, - StorageType: {}, - }, - }, - output: { - type: "structure", - members: { FileSystem: { shape: "Sn" } }, - }, - }, - DeleteBackup: { - input: { - type: "structure", - required: ["BackupId"], - members: { - BackupId: {}, - ClientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { BackupId: {}, Lifecycle: {} }, - }, - idempotent: true, - }, - DeleteFileSystem: { - input: { - type: "structure", - required: ["FileSystemId"], - members: { - FileSystemId: {}, - ClientRequestToken: { idempotencyToken: true }, - WindowsConfiguration: { - type: "structure", - members: { - SkipFinalBackup: { type: "boolean" }, - FinalBackupTags: { shape: "S8" }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - FileSystemId: {}, - Lifecycle: {}, - WindowsResponse: { - type: "structure", - members: { - FinalBackupId: {}, - FinalBackupTags: { shape: "S8" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeBackups: { - input: { - type: "structure", - members: { - BackupIds: { type: "list", member: {} }, - Filters: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Values: { type: "list", member: {} } }, - }, - }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - Backups: { type: "list", member: { shape: "Sd" } }, - NextToken: {}, - }, - }, - }, - 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: "S1x" } }, - NextToken: {}, - }, - }, - }, - DescribeFileSystems: { - input: { - type: "structure", - members: { - FileSystemIds: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - FileSystems: { type: "list", member: { shape: "Sn" } }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceARN"], - members: { - ResourceARN: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "S8" }, NextToken: {} }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S8" } }, - }, - 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, - }, - UpdateFileSystem: { - input: { - type: "structure", - required: ["FileSystemId"], - members: { - FileSystemId: {}, - ClientRequestToken: { idempotencyToken: true }, - WindowsConfiguration: { - type: "structure", - members: { - WeeklyMaintenanceStartTime: {}, - DailyAutomaticBackupStartTime: {}, - AutomaticBackupRetentionDays: { type: "integer" }, - SelfManagedActiveDirectoryConfiguration: { - type: "structure", - members: { - UserName: {}, - Password: { shape: "S2b" }, - DnsIps: { shape: "S17" }, - }, - }, - }, - }, - LustreConfiguration: { - type: "structure", - members: { WeeklyMaintenanceStartTime: {} }, - }, - }, - }, - output: { - type: "structure", - members: { FileSystem: { shape: "Sn" } }, - }, - }, - }, - shapes: { - S8: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - Sd: { - 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: "S8" }, - FileSystem: { shape: "Sn" }, - DirectoryInformation: { - type: "structure", - members: { DomainName: {}, ActiveDirectoryId: {} }, - }, - }, - }, - Sn: { - type: "structure", - members: { - OwnerId: {}, - CreationTime: { type: "timestamp" }, - FileSystemId: {}, - FileSystemType: {}, - Lifecycle: {}, - FailureDetails: { type: "structure", members: { Message: {} } }, - StorageCapacity: { type: "integer" }, - StorageType: {}, - VpcId: {}, - SubnetIds: { shape: "Sv" }, - NetworkInterfaceIds: { type: "list", member: {} }, - DNSName: {}, - KmsKeyId: {}, - ResourceARN: {}, - Tags: { shape: "S8" }, - WindowsConfiguration: { - type: "structure", - members: { - ActiveDirectoryId: {}, - SelfManagedActiveDirectoryConfiguration: { - type: "structure", - members: { - DomainName: {}, - OrganizationalUnitDistinguishedName: {}, - FileSystemAdministratorsGroup: {}, - UserName: {}, - DnsIps: { shape: "S17" }, - }, - }, - DeploymentType: {}, - RemoteAdministrationEndpoint: {}, - PreferredSubnetId: {}, - PreferredFileServerIp: {}, - ThroughputCapacity: { type: "integer" }, - MaintenanceOperationsInProgress: { type: "list", member: {} }, - WeeklyMaintenanceStartTime: {}, - DailyAutomaticBackupStartTime: {}, - AutomaticBackupRetentionDays: { type: "integer" }, - CopyTagsToBackups: { type: "boolean" }, - }, - }, - LustreConfiguration: { - type: "structure", - members: { - WeeklyMaintenanceStartTime: {}, - DataRepositoryConfiguration: { - type: "structure", - members: { - ImportPath: {}, - ExportPath: {}, - ImportedFileChunkSize: { type: "integer" }, - }, - }, - DeploymentType: {}, - PerUnitStorageThroughput: { type: "integer" }, - MountName: {}, - }, - }, - }, - }, - Sv: { type: "list", member: {} }, - S17: { type: "list", member: {} }, - S1r: { type: "list", member: {} }, - S1t: { - type: "structure", - required: ["Enabled"], - members: { - Enabled: { type: "boolean" }, - Path: {}, - Format: {}, - Scope: {}, - }, - }, - S1x: { - type: "structure", - required: [ - "TaskId", - "Lifecycle", - "Type", - "CreationTime", - "FileSystemId", - ], - members: { - TaskId: {}, - Lifecycle: {}, - Type: {}, - CreationTime: { type: "timestamp" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - ResourceARN: {}, - Tags: { shape: "S8" }, - FileSystemId: {}, - Paths: { shape: "S1r" }, - FailureDetails: { type: "structure", members: { Message: {} } }, - Status: { - type: "structure", - members: { - TotalCount: { type: "long" }, - SucceededCount: { type: "long" }, - FailedCount: { type: "long" }, - LastUpdatedTime: { type: "timestamp" }, - }, - }, - Report: { shape: "S1t" }, - }, - }, - S27: { type: "list", member: {} }, - S29: { - type: "structure", - required: ["ThroughputCapacity"], - members: { - ActiveDirectoryId: {}, - SelfManagedActiveDirectoryConfiguration: { - type: "structure", - required: ["DomainName", "UserName", "Password", "DnsIps"], - members: { - DomainName: {}, - OrganizationalUnitDistinguishedName: {}, - FileSystemAdministratorsGroup: {}, - UserName: {}, - Password: { shape: "S2b" }, - DnsIps: { shape: "S17" }, - }, - }, - DeploymentType: {}, - PreferredSubnetId: {}, - ThroughputCapacity: { type: "integer" }, - WeeklyMaintenanceStartTime: {}, - DailyAutomaticBackupStartTime: {}, - AutomaticBackupRetentionDays: { type: "integer" }, - CopyTagsToBackups: { type: "boolean" }, - }, - }, - S2b: { type: "string", sensitive: true }, - }, - }; +module.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"}]}}}; - /***/ - }, +/***/ }), - /***/ 1904: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2012-08-10", - endpointPrefix: "dynamodb", - jsonVersion: "1.0", - protocol: "json", - serviceAbbreviation: "DynamoDB", - serviceFullName: "Amazon DynamoDB", - serviceId: "DynamoDB", - signatureVersion: "v4", - targetPrefix: "DynamoDB_20120810", - uid: "dynamodb-2012-08-10", - }, - operations: { - BatchGetItem: { - input: { - type: "structure", - required: ["RequestItems"], - members: { - RequestItems: { shape: "S2" }, - ReturnConsumedCapacity: {}, - }, - }, - output: { - type: "structure", - members: { - Responses: { type: "map", key: {}, value: { shape: "Sr" } }, - UnprocessedKeys: { shape: "S2" }, - ConsumedCapacity: { shape: "St" }, - }, - }, - endpointdiscovery: {}, - }, - BatchWriteItem: { - input: { - type: "structure", - required: ["RequestItems"], - members: { - RequestItems: { shape: "S10" }, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - }, - }, - output: { - type: "structure", - members: { - UnprocessedItems: { shape: "S10" }, - ItemCollectionMetrics: { shape: "S18" }, - ConsumedCapacity: { shape: "St" }, - }, - }, - endpointdiscovery: {}, - }, - CreateBackup: { - input: { - type: "structure", - required: ["TableName", "BackupName"], - members: { TableName: {}, BackupName: {} }, - }, - output: { - type: "structure", - members: { BackupDetails: { shape: "S1h" } }, - }, - endpointdiscovery: {}, - }, - CreateGlobalTable: { - input: { - type: "structure", - required: ["GlobalTableName", "ReplicationGroup"], - members: { - GlobalTableName: {}, - ReplicationGroup: { shape: "S1p" }, - }, - }, - output: { - type: "structure", - members: { GlobalTableDescription: { shape: "S1t" } }, - }, - endpointdiscovery: {}, - }, - CreateTable: { - input: { - type: "structure", - required: ["AttributeDefinitions", "TableName", "KeySchema"], - members: { - AttributeDefinitions: { shape: "S27" }, - TableName: {}, - KeySchema: { shape: "S2b" }, - LocalSecondaryIndexes: { shape: "S2e" }, - GlobalSecondaryIndexes: { shape: "S2k" }, - BillingMode: {}, - ProvisionedThroughput: { shape: "S2m" }, - StreamSpecification: { shape: "S2o" }, - SSESpecification: { shape: "S2r" }, - Tags: { shape: "S2u" }, - }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, - }, - DeleteBackup: { - input: { - type: "structure", - required: ["BackupArn"], - members: { BackupArn: {} }, - }, - output: { - type: "structure", - members: { BackupDescription: { shape: "S3o" } }, - }, - endpointdiscovery: {}, - }, - DeleteItem: { - input: { - type: "structure", - required: ["TableName", "Key"], - members: { - TableName: {}, - Key: { shape: "S6" }, - Expected: { shape: "S41" }, - ConditionalOperator: {}, - ReturnValues: {}, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - }, - }, - output: { - type: "structure", - members: { - Attributes: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, - ItemCollectionMetrics: { shape: "S1a" }, - }, - }, - endpointdiscovery: {}, - }, - DeleteTable: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, - }, - DescribeBackup: { - input: { - type: "structure", - required: ["BackupArn"], - members: { BackupArn: {} }, - }, - output: { - type: "structure", - members: { BackupDescription: { shape: "S3o" } }, - }, - endpointdiscovery: {}, - }, - DescribeContinuousBackups: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { - type: "structure", - members: { ContinuousBackupsDescription: { shape: "S4i" } }, - }, - endpointdiscovery: {}, - }, - DescribeContributorInsights: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {}, IndexName: {} }, - }, - output: { - type: "structure", - members: { - TableName: {}, - IndexName: {}, - ContributorInsightsRuleList: { type: "list", member: {} }, - ContributorInsightsStatus: {}, - LastUpdateDateTime: { type: "timestamp" }, - FailureException: { - type: "structure", - members: { ExceptionName: {}, ExceptionDescription: {} }, - }, - }, - }, - }, - DescribeEndpoints: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - required: ["Endpoints"], - members: { - Endpoints: { - type: "list", - member: { - type: "structure", - required: ["Address", "CachePeriodInMinutes"], - members: { - Address: {}, - CachePeriodInMinutes: { type: "long" }, - }, - }, - }, - }, - }, - endpointoperation: true, - }, - DescribeGlobalTable: { - input: { - type: "structure", - required: ["GlobalTableName"], - members: { GlobalTableName: {} }, - }, - output: { - type: "structure", - members: { GlobalTableDescription: { shape: "S1t" } }, - }, - endpointdiscovery: {}, - }, - DescribeGlobalTableSettings: { - input: { - type: "structure", - required: ["GlobalTableName"], - members: { GlobalTableName: {} }, - }, - output: { - type: "structure", - members: { - GlobalTableName: {}, - ReplicaSettings: { shape: "S53" }, - }, - }, - endpointdiscovery: {}, - }, - DescribeLimits: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - AccountMaxReadCapacityUnits: { type: "long" }, - AccountMaxWriteCapacityUnits: { type: "long" }, - TableMaxReadCapacityUnits: { type: "long" }, - TableMaxWriteCapacityUnits: { type: "long" }, - }, - }, - endpointdiscovery: {}, - }, - DescribeTable: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { type: "structure", members: { Table: { shape: "S2z" } } }, - endpointdiscovery: {}, - }, - DescribeTableReplicaAutoScaling: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { - type: "structure", - members: { TableAutoScalingDescription: { shape: "S5k" } }, - }, - }, - DescribeTimeToLive: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { - type: "structure", - members: { TimeToLiveDescription: { shape: "S3x" } }, - }, - endpointdiscovery: {}, - }, - GetItem: { - input: { - type: "structure", - required: ["TableName", "Key"], - members: { - TableName: {}, - Key: { shape: "S6" }, - AttributesToGet: { shape: "Sj" }, - ConsistentRead: { type: "boolean" }, - ReturnConsumedCapacity: {}, - ProjectionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - }, - }, - output: { - type: "structure", - members: { - Item: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, - }, - }, - endpointdiscovery: {}, - }, - ListBackups: { - input: { - type: "structure", - members: { - TableName: {}, - Limit: { type: "integer" }, - TimeRangeLowerBound: { type: "timestamp" }, - TimeRangeUpperBound: { type: "timestamp" }, - ExclusiveStartBackupArn: {}, - BackupType: {}, - }, - }, - output: { - type: "structure", - members: { - BackupSummaries: { - type: "list", - member: { - type: "structure", - members: { - TableName: {}, - TableId: {}, - TableArn: {}, - BackupArn: {}, - BackupName: {}, - BackupCreationDateTime: { type: "timestamp" }, - BackupExpiryDateTime: { type: "timestamp" }, - BackupStatus: {}, - BackupType: {}, - BackupSizeBytes: { type: "long" }, - }, - }, - }, - LastEvaluatedBackupArn: {}, - }, - }, - endpointdiscovery: {}, - }, - ListContributorInsights: { - input: { - type: "structure", - members: { - TableName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - ContributorInsightsSummaries: { - type: "list", - member: { - type: "structure", - members: { - TableName: {}, - IndexName: {}, - ContributorInsightsStatus: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListGlobalTables: { - input: { - type: "structure", - members: { - ExclusiveStartGlobalTableName: {}, - Limit: { type: "integer" }, - RegionName: {}, - }, - }, - output: { - type: "structure", - members: { - GlobalTables: { - type: "list", - member: { - type: "structure", - members: { - GlobalTableName: {}, - ReplicationGroup: { shape: "S1p" }, - }, - }, - }, - LastEvaluatedGlobalTableName: {}, - }, - }, - endpointdiscovery: {}, - }, - ListTables: { - input: { - type: "structure", - members: { - ExclusiveStartTableName: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - TableNames: { type: "list", member: {} }, - LastEvaluatedTableName: {}, - }, - }, - endpointdiscovery: {}, - }, - ListTagsOfResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {}, NextToken: {} }, - }, - output: { - type: "structure", - members: { Tags: { shape: "S2u" }, NextToken: {} }, - }, - endpointdiscovery: {}, - }, - PutItem: { - input: { - type: "structure", - required: ["TableName", "Item"], - members: { - TableName: {}, - Item: { shape: "S14" }, - Expected: { shape: "S41" }, - ReturnValues: {}, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - ConditionalOperator: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - }, - }, - output: { - type: "structure", - members: { - Attributes: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, - ItemCollectionMetrics: { shape: "S1a" }, - }, - }, - endpointdiscovery: {}, - }, - Query: { - input: { - type: "structure", - required: ["TableName"], - members: { - TableName: {}, - IndexName: {}, - Select: {}, - AttributesToGet: { shape: "Sj" }, - Limit: { type: "integer" }, - ConsistentRead: { type: "boolean" }, - KeyConditions: { - type: "map", - key: {}, - value: { shape: "S6o" }, - }, - QueryFilter: { shape: "S6p" }, - ConditionalOperator: {}, - ScanIndexForward: { type: "boolean" }, - ExclusiveStartKey: { shape: "S6" }, - ReturnConsumedCapacity: {}, - ProjectionExpression: {}, - FilterExpression: {}, - KeyConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - }, - }, - output: { - type: "structure", - members: { - Items: { shape: "Sr" }, - Count: { type: "integer" }, - ScannedCount: { type: "integer" }, - LastEvaluatedKey: { shape: "S6" }, - ConsumedCapacity: { shape: "Su" }, - }, - }, - endpointdiscovery: {}, - }, - RestoreTableFromBackup: { - input: { - type: "structure", - required: ["TargetTableName", "BackupArn"], - members: { - TargetTableName: {}, - BackupArn: {}, - BillingModeOverride: {}, - GlobalSecondaryIndexOverride: { shape: "S2k" }, - LocalSecondaryIndexOverride: { shape: "S2e" }, - ProvisionedThroughputOverride: { shape: "S2m" }, - SSESpecificationOverride: { shape: "S2r" }, - }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, - }, - RestoreTableToPointInTime: { - input: { - type: "structure", - required: ["TargetTableName"], - members: { - SourceTableArn: {}, - SourceTableName: {}, - TargetTableName: {}, - UseLatestRestorableTime: { type: "boolean" }, - RestoreDateTime: { type: "timestamp" }, - BillingModeOverride: {}, - GlobalSecondaryIndexOverride: { shape: "S2k" }, - LocalSecondaryIndexOverride: { shape: "S2e" }, - ProvisionedThroughputOverride: { shape: "S2m" }, - SSESpecificationOverride: { shape: "S2r" }, - }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, - }, - Scan: { - input: { - type: "structure", - required: ["TableName"], - members: { - TableName: {}, - IndexName: {}, - AttributesToGet: { shape: "Sj" }, - Limit: { type: "integer" }, - Select: {}, - ScanFilter: { shape: "S6p" }, - ConditionalOperator: {}, - ExclusiveStartKey: { shape: "S6" }, - ReturnConsumedCapacity: {}, - TotalSegments: { type: "integer" }, - Segment: { type: "integer" }, - ProjectionExpression: {}, - FilterExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ConsistentRead: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Items: { shape: "Sr" }, - Count: { type: "integer" }, - ScannedCount: { type: "integer" }, - LastEvaluatedKey: { shape: "S6" }, - ConsumedCapacity: { shape: "Su" }, - }, - }, - endpointdiscovery: {}, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "S2u" } }, - }, - endpointdiscovery: {}, - }, - TransactGetItems: { - input: { - type: "structure", - required: ["TransactItems"], - members: { - TransactItems: { - type: "list", - member: { - type: "structure", - required: ["Get"], - members: { - Get: { - type: "structure", - required: ["Key", "TableName"], - members: { - Key: { shape: "S6" }, - TableName: {}, - ProjectionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - }, - }, - }, - }, - }, - ReturnConsumedCapacity: {}, - }, - }, - output: { - type: "structure", - members: { - ConsumedCapacity: { shape: "St" }, - Responses: { - type: "list", - member: { - type: "structure", - members: { Item: { shape: "Ss" } }, - }, - }, - }, - }, - endpointdiscovery: {}, - }, - TransactWriteItems: { - input: { - type: "structure", - required: ["TransactItems"], - members: { - TransactItems: { - type: "list", - member: { - type: "structure", - members: { - ConditionCheck: { - type: "structure", - required: ["Key", "TableName", "ConditionExpression"], - members: { - Key: { shape: "S6" }, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - Put: { - type: "structure", - required: ["Item", "TableName"], - members: { - Item: { shape: "S14" }, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - Delete: { - type: "structure", - required: ["Key", "TableName"], - members: { - Key: { shape: "S6" }, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - Update: { - type: "structure", - required: ["Key", "UpdateExpression", "TableName"], - members: { - Key: { shape: "S6" }, - UpdateExpression: {}, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - }, - }, - }, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - ClientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - ConsumedCapacity: { shape: "St" }, - ItemCollectionMetrics: { shape: "S18" }, - }, - }, - endpointdiscovery: {}, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - endpointdiscovery: {}, - }, - UpdateContinuousBackups: { - input: { - type: "structure", - required: ["TableName", "PointInTimeRecoverySpecification"], - members: { - TableName: {}, - PointInTimeRecoverySpecification: { - type: "structure", - required: ["PointInTimeRecoveryEnabled"], - members: { PointInTimeRecoveryEnabled: { type: "boolean" } }, - }, - }, - }, - output: { - type: "structure", - members: { ContinuousBackupsDescription: { shape: "S4i" } }, - }, - endpointdiscovery: {}, - }, - UpdateContributorInsights: { - input: { - type: "structure", - required: ["TableName", "ContributorInsightsAction"], - members: { - TableName: {}, - IndexName: {}, - ContributorInsightsAction: {}, - }, - }, - output: { - type: "structure", - members: { - TableName: {}, - IndexName: {}, - ContributorInsightsStatus: {}, - }, - }, - }, - UpdateGlobalTable: { - input: { - type: "structure", - required: ["GlobalTableName", "ReplicaUpdates"], - members: { - GlobalTableName: {}, - ReplicaUpdates: { - type: "list", - member: { - type: "structure", - members: { - Create: { - type: "structure", - required: ["RegionName"], - members: { RegionName: {} }, - }, - Delete: { - type: "structure", - required: ["RegionName"], - members: { RegionName: {} }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { GlobalTableDescription: { shape: "S1t" } }, - }, - endpointdiscovery: {}, - }, - UpdateGlobalTableSettings: { - input: { - type: "structure", - required: ["GlobalTableName"], - members: { - GlobalTableName: {}, - GlobalTableBillingMode: {}, - GlobalTableProvisionedWriteCapacityUnits: { type: "long" }, - GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - GlobalTableGlobalSecondaryIndexSettingsUpdate: { - type: "list", - member: { - type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - ProvisionedWriteCapacityUnits: { type: "long" }, - ProvisionedWriteCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - }, - }, - }, - ReplicaSettingsUpdate: { - type: "list", - member: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - ReplicaProvisionedReadCapacityUnits: { type: "long" }, - ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - ReplicaGlobalSecondaryIndexSettingsUpdate: { - type: "list", - member: { - type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - ProvisionedReadCapacityUnits: { type: "long" }, - ProvisionedReadCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - }, - }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - GlobalTableName: {}, - ReplicaSettings: { shape: "S53" }, - }, - }, - endpointdiscovery: {}, - }, - UpdateItem: { - input: { - type: "structure", - required: ["TableName", "Key"], - members: { - TableName: {}, - Key: { shape: "S6" }, - AttributeUpdates: { - type: "map", - key: {}, - value: { - type: "structure", - members: { Value: { shape: "S8" }, Action: {} }, - }, - }, - Expected: { shape: "S41" }, - ConditionalOperator: {}, - ReturnValues: {}, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - UpdateExpression: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - }, - }, - output: { - type: "structure", - members: { - Attributes: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, - ItemCollectionMetrics: { shape: "S1a" }, - }, - }, - endpointdiscovery: {}, - }, - UpdateTable: { - input: { - type: "structure", - required: ["TableName"], - members: { - AttributeDefinitions: { shape: "S27" }, - TableName: {}, - BillingMode: {}, - ProvisionedThroughput: { shape: "S2m" }, - GlobalSecondaryIndexUpdates: { - type: "list", - member: { - type: "structure", - members: { - Update: { - type: "structure", - required: ["IndexName", "ProvisionedThroughput"], - members: { - IndexName: {}, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - Create: { - type: "structure", - required: ["IndexName", "KeySchema", "Projection"], - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - Delete: { - type: "structure", - required: ["IndexName"], - members: { IndexName: {} }, - }, - }, - }, - }, - StreamSpecification: { shape: "S2o" }, - SSESpecification: { shape: "S2r" }, - ReplicaUpdates: { - type: "list", - member: { - type: "structure", - members: { - Create: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - KMSMasterKeyId: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - GlobalSecondaryIndexes: { shape: "S8o" }, - }, - }, - Update: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - KMSMasterKeyId: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - GlobalSecondaryIndexes: { shape: "S8o" }, - }, - }, - Delete: { - type: "structure", - required: ["RegionName"], - members: { RegionName: {} }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, - }, - UpdateTableReplicaAutoScaling: { - input: { - type: "structure", - required: ["TableName"], - members: { - GlobalSecondaryIndexUpdates: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - ProvisionedWriteCapacityAutoScalingUpdate: { - shape: "S7z", - }, - }, - }, - }, - TableName: {}, - ProvisionedWriteCapacityAutoScalingUpdate: { shape: "S7z" }, - ReplicaUpdates: { - type: "list", - member: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - ReplicaGlobalSecondaryIndexUpdates: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - ProvisionedReadCapacityAutoScalingUpdate: { - shape: "S7z", - }, - }, - }, - }, - ReplicaProvisionedReadCapacityAutoScalingUpdate: { - shape: "S7z", - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { TableAutoScalingDescription: { shape: "S5k" } }, - }, - }, - UpdateTimeToLive: { - input: { - type: "structure", - required: ["TableName", "TimeToLiveSpecification"], - members: { - TableName: {}, - TimeToLiveSpecification: { shape: "S92" }, - }, - }, - output: { - type: "structure", - members: { TimeToLiveSpecification: { shape: "S92" } }, - }, - endpointdiscovery: {}, - }, - }, - shapes: { - S2: { - type: "map", - key: {}, - value: { - type: "structure", - required: ["Keys"], - members: { - Keys: { type: "list", member: { shape: "S6" } }, - AttributesToGet: { shape: "Sj" }, - ConsistentRead: { type: "boolean" }, - ProjectionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - }, - }, - }, - S6: { type: "map", key: {}, value: { shape: "S8" } }, - S8: { - 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: "S8" } }, - L: { type: "list", member: { shape: "S8" } }, - NULL: { type: "boolean" }, - BOOL: { type: "boolean" }, - }, - }, - Sj: { type: "list", member: {} }, - Sm: { type: "map", key: {}, value: {} }, - Sr: { type: "list", member: { shape: "Ss" } }, - Ss: { type: "map", key: {}, value: { shape: "S8" } }, - St: { type: "list", member: { shape: "Su" } }, - Su: { - type: "structure", - members: { - TableName: {}, - CapacityUnits: { type: "double" }, - ReadCapacityUnits: { type: "double" }, - WriteCapacityUnits: { type: "double" }, - Table: { shape: "Sw" }, - LocalSecondaryIndexes: { shape: "Sx" }, - GlobalSecondaryIndexes: { shape: "Sx" }, - }, - }, - Sw: { - type: "structure", - members: { - ReadCapacityUnits: { type: "double" }, - WriteCapacityUnits: { type: "double" }, - CapacityUnits: { type: "double" }, - }, - }, - Sx: { type: "map", key: {}, value: { shape: "Sw" } }, - S10: { - type: "map", - key: {}, - value: { - type: "list", - member: { - type: "structure", - members: { - PutRequest: { - type: "structure", - required: ["Item"], - members: { Item: { shape: "S14" } }, - }, - DeleteRequest: { - type: "structure", - required: ["Key"], - members: { Key: { shape: "S6" } }, - }, - }, - }, - }, - }, - S14: { type: "map", key: {}, value: { shape: "S8" } }, - S18: { - type: "map", - key: {}, - value: { type: "list", member: { shape: "S1a" } }, - }, - S1a: { - type: "structure", - members: { - ItemCollectionKey: { - type: "map", - key: {}, - value: { shape: "S8" }, - }, - SizeEstimateRangeGB: { type: "list", member: { type: "double" } }, - }, - }, - S1h: { - type: "structure", - required: [ - "BackupArn", - "BackupName", - "BackupStatus", - "BackupType", - "BackupCreationDateTime", - ], - members: { - BackupArn: {}, - BackupName: {}, - BackupSizeBytes: { type: "long" }, - BackupStatus: {}, - BackupType: {}, - BackupCreationDateTime: { type: "timestamp" }, - BackupExpiryDateTime: { type: "timestamp" }, - }, - }, - S1p: { - type: "list", - member: { type: "structure", members: { RegionName: {} } }, - }, - S1t: { - type: "structure", - members: { - ReplicationGroup: { shape: "S1u" }, - GlobalTableArn: {}, - CreationDateTime: { type: "timestamp" }, - GlobalTableStatus: {}, - GlobalTableName: {}, - }, - }, - S1u: { - type: "list", - member: { - type: "structure", - members: { - RegionName: {}, - ReplicaStatus: {}, - ReplicaStatusDescription: {}, - ReplicaStatusPercentProgress: {}, - KMSMasterKeyId: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - GlobalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - }, - }, - }, - }, - }, - }, - S20: { - type: "structure", - members: { ReadCapacityUnits: { type: "long" } }, - }, - S27: { - type: "list", - member: { - type: "structure", - required: ["AttributeName", "AttributeType"], - members: { AttributeName: {}, AttributeType: {} }, - }, - }, - S2b: { - type: "list", - member: { - type: "structure", - required: ["AttributeName", "KeyType"], - members: { AttributeName: {}, KeyType: {} }, - }, - }, - S2e: { - type: "list", - member: { - type: "structure", - required: ["IndexName", "KeySchema", "Projection"], - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - }, - }, - }, - S2g: { - type: "structure", - members: { - ProjectionType: {}, - NonKeyAttributes: { type: "list", member: {} }, - }, - }, - S2k: { - type: "list", - member: { - type: "structure", - required: ["IndexName", "KeySchema", "Projection"], - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - }, - S2m: { - type: "structure", - required: ["ReadCapacityUnits", "WriteCapacityUnits"], - members: { - ReadCapacityUnits: { type: "long" }, - WriteCapacityUnits: { type: "long" }, - }, - }, - S2o: { - type: "structure", - required: ["StreamEnabled"], - members: { StreamEnabled: { type: "boolean" }, StreamViewType: {} }, - }, - S2r: { - type: "structure", - members: { - Enabled: { type: "boolean" }, - SSEType: {}, - KMSMasterKeyId: {}, - }, - }, - S2u: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S2z: { - type: "structure", - members: { - AttributeDefinitions: { shape: "S27" }, - TableName: {}, - KeySchema: { shape: "S2b" }, - TableStatus: {}, - CreationDateTime: { type: "timestamp" }, - ProvisionedThroughput: { shape: "S31" }, - TableSizeBytes: { type: "long" }, - ItemCount: { type: "long" }, - TableArn: {}, - TableId: {}, - BillingModeSummary: { shape: "S36" }, - LocalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - IndexSizeBytes: { type: "long" }, - ItemCount: { type: "long" }, - IndexArn: {}, - }, - }, - }, - GlobalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - IndexStatus: {}, - Backfilling: { type: "boolean" }, - ProvisionedThroughput: { shape: "S31" }, - IndexSizeBytes: { type: "long" }, - ItemCount: { type: "long" }, - IndexArn: {}, - }, - }, - }, - StreamSpecification: { shape: "S2o" }, - LatestStreamLabel: {}, - LatestStreamArn: {}, - GlobalTableVersion: {}, - Replicas: { shape: "S1u" }, - RestoreSummary: { - type: "structure", - required: ["RestoreDateTime", "RestoreInProgress"], - members: { - SourceBackupArn: {}, - SourceTableArn: {}, - RestoreDateTime: { type: "timestamp" }, - RestoreInProgress: { type: "boolean" }, - }, - }, - SSEDescription: { shape: "S3h" }, - ArchivalSummary: { - type: "structure", - members: { - ArchivalDateTime: { type: "timestamp" }, - ArchivalReason: {}, - ArchivalBackupArn: {}, - }, - }, - }, - }, - S31: { - type: "structure", - members: { - LastIncreaseDateTime: { type: "timestamp" }, - LastDecreaseDateTime: { type: "timestamp" }, - NumberOfDecreasesToday: { type: "long" }, - ReadCapacityUnits: { type: "long" }, - WriteCapacityUnits: { type: "long" }, - }, - }, - S36: { - type: "structure", - members: { - BillingMode: {}, - LastUpdateToPayPerRequestDateTime: { type: "timestamp" }, - }, - }, - S3h: { - type: "structure", - members: { - Status: {}, - SSEType: {}, - KMSMasterKeyArn: {}, - InaccessibleEncryptionDateTime: { type: "timestamp" }, - }, - }, - S3o: { - type: "structure", - members: { - BackupDetails: { shape: "S1h" }, - SourceTableDetails: { - type: "structure", - required: [ - "TableName", - "TableId", - "KeySchema", - "TableCreationDateTime", - "ProvisionedThroughput", - ], - members: { - TableName: {}, - TableId: {}, - TableArn: {}, - TableSizeBytes: { type: "long" }, - KeySchema: { shape: "S2b" }, - TableCreationDateTime: { type: "timestamp" }, - ProvisionedThroughput: { shape: "S2m" }, - ItemCount: { type: "long" }, - BillingMode: {}, - }, - }, - SourceTableFeatureDetails: { - type: "structure", - members: { - LocalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - }, - }, - }, - GlobalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - }, - StreamDescription: { shape: "S2o" }, - TimeToLiveDescription: { shape: "S3x" }, - SSEDescription: { shape: "S3h" }, - }, - }, - }, - }, - S3x: { - type: "structure", - members: { TimeToLiveStatus: {}, AttributeName: {} }, - }, - S41: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - Value: { shape: "S8" }, - Exists: { type: "boolean" }, - ComparisonOperator: {}, - AttributeValueList: { shape: "S45" }, - }, - }, - }, - S45: { type: "list", member: { shape: "S8" } }, - S49: { type: "map", key: {}, value: { shape: "S8" } }, - S4i: { - type: "structure", - required: ["ContinuousBackupsStatus"], - members: { - ContinuousBackupsStatus: {}, - PointInTimeRecoveryDescription: { - type: "structure", - members: { - PointInTimeRecoveryStatus: {}, - EarliestRestorableDateTime: { type: "timestamp" }, - LatestRestorableDateTime: { type: "timestamp" }, - }, - }, - }, - }, - S53: { - type: "list", - member: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - ReplicaStatus: {}, - ReplicaBillingModeSummary: { shape: "S36" }, - ReplicaProvisionedReadCapacityUnits: { type: "long" }, - ReplicaProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaProvisionedWriteCapacityUnits: { type: "long" }, - ReplicaProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaGlobalSecondaryIndexSettings: { - type: "list", - member: { - type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - IndexStatus: {}, - ProvisionedReadCapacityUnits: { type: "long" }, - ProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ProvisionedWriteCapacityUnits: { type: "long" }, - ProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - }, - }, - }, - }, - }, - }, - S55: { - type: "structure", - members: { - MinimumUnits: { type: "long" }, - MaximumUnits: { type: "long" }, - AutoScalingDisabled: { type: "boolean" }, - AutoScalingRoleArn: {}, - ScalingPolicies: { - type: "list", - member: { - type: "structure", - members: { - PolicyName: {}, - TargetTrackingScalingPolicyConfiguration: { - type: "structure", - required: ["TargetValue"], - members: { - DisableScaleIn: { type: "boolean" }, - ScaleInCooldown: { type: "integer" }, - ScaleOutCooldown: { type: "integer" }, - TargetValue: { type: "double" }, - }, - }, - }, - }, - }, - }, - }, - S5k: { - type: "structure", - members: { - TableName: {}, - TableStatus: {}, - Replicas: { - type: "list", - member: { - type: "structure", - members: { - RegionName: {}, - GlobalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - IndexStatus: {}, - ProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - }, - }, - }, - ReplicaProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaStatus: {}, - }, - }, - }, - }, - }, - S6o: { - type: "structure", - required: ["ComparisonOperator"], - members: { - AttributeValueList: { shape: "S45" }, - ComparisonOperator: {}, - }, - }, - S6p: { type: "map", key: {}, value: { shape: "S6o" } }, - S7z: { - type: "structure", - members: { - MinimumUnits: { type: "long" }, - MaximumUnits: { type: "long" }, - AutoScalingDisabled: { type: "boolean" }, - AutoScalingRoleArn: {}, - ScalingPolicyUpdate: { - type: "structure", - required: ["TargetTrackingScalingPolicyConfiguration"], - members: { - PolicyName: {}, - TargetTrackingScalingPolicyConfiguration: { - type: "structure", - required: ["TargetValue"], - members: { - DisableScaleIn: { type: "boolean" }, - ScaleInCooldown: { type: "integer" }, - ScaleOutCooldown: { type: "integer" }, - TargetValue: { type: "double" }, - }, - }, - }, - }, - }, - }, - S8o: { - type: "list", - member: { - type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - }, - }, - }, - S92: { - type: "structure", - required: ["Enabled", "AttributeName"], - members: { Enabled: { type: "boolean" }, AttributeName: {} }, - }, - }, - }; +/***/ 1318: +/***/ (function(module) { - /***/ - }, +module.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"}}}; - /***/ 1917: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codegurureviewer"] = {}; - AWS.CodeGuruReviewer = Service.defineService("codegurureviewer", [ - "2019-09-19", - ]); - Object.defineProperty( - apiLoader.services["codegurureviewer"], - "2019-09-19", - { - get: function get() { - var model = __webpack_require__(4912); - model.paginators = __webpack_require__(5388).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/***/ }), - module.exports = AWS.CodeGuruReviewer; +/***/ 1327: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"DescribeMergeConflicts":{"input_token":"nextToken","limit_key":"maxMergeHunks","output_token":"nextToken"},"DescribePullRequestEvents":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"},"GetCommentReactions":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"},"GetCommentsForComparedCommit":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"},"GetCommentsForPullRequest":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"},"GetDifferences":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetMergeConflicts":{"input_token":"nextToken","limit_key":"maxConflictFiles","output_token":"nextToken"},"ListApprovalRuleTemplates":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"},"ListAssociatedApprovalRuleTemplatesForRepository":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"},"ListBranches":{"input_token":"nextToken","output_token":"nextToken","result_key":"branches"},"ListPullRequests":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"},"ListRepositories":{"input_token":"nextToken","output_token":"nextToken","result_key":"repositories"},"ListRepositoriesForApprovalRuleTemplate":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken"}}}; - /***/ 1920: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["es"] = {}; - AWS.ES = Service.defineService("es", ["2015-01-01"]); - Object.defineProperty(apiLoader.services["es"], "2015-01-01", { - get: function get() { - var model = __webpack_require__(9307); - model.paginators = __webpack_require__(9743).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 1328: +/***/ (function(module) { - module.exports = AWS.ES; +module.exports = {"version":2,"waiters":{"TableExists":{"delay":20,"operation":"DescribeTable","maxAttempts":25,"acceptors":[{"expected":"ACTIVE","matcher":"path","state":"success","argument":"Table.TableStatus"},{"expected":"ResourceNotFoundException","matcher":"error","state":"retry"}]},"TableNotExists":{"delay":20,"operation":"DescribeTable","maxAttempts":25,"acceptors":[{"expected":"ResourceNotFoundException","matcher":"error","state":"success"}]}}}; - /***/ - }, +/***/ }), - /***/ 1928: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["emr"] = {}; - AWS.EMR = Service.defineService("emr", ["2009-03-31"]); - Object.defineProperty(apiLoader.services["emr"], "2009-03-31", { - get: function get() { - var model = __webpack_require__(437); - model.paginators = __webpack_require__(240).pagination; - model.waiters = __webpack_require__(6023).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 1340: +/***/ (function(module) { - module.exports = AWS.EMR; +module.exports = {"pagination":{"DescribeCanaries":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"DescribeCanariesLastRun":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"DescribeRuntimeVersions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetCanaryRuns":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"}}}; - /***/ - }, +/***/ }), - /***/ 1944: /***/ function (module) { - module.exports = { - pagination: { - ListConfigs: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "configList", - }, - ListContacts: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "contactList", - }, - ListDataflowEndpointGroups: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "dataflowEndpointGroupList", - }, - ListGroundStations: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "groundStationList", - }, - ListMissionProfiles: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "missionProfileList", - }, - ListSatellites: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "satellites", - }, - }, - }; +/***/ 1341: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-20","endpointPrefix":"redshift-data","jsonVersion":"1.1","protocol":"json","serviceFullName":"Redshift Data API Service","serviceId":"Redshift Data","signatureVersion":"v4","signingName":"redshift-data","targetPrefix":"RedshiftData","uid":"redshift-data-2019-12-20"},"operations":{"CancelStatement":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Status":{"type":"boolean"}}}},"DescribeStatement":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","required":["Id"],"members":{"ClusterIdentifier":{},"CreatedAt":{"type":"timestamp"},"Database":{},"DbUser":{},"Duration":{"type":"long"},"Error":{},"Id":{},"QueryString":{},"RedshiftPid":{"type":"long"},"RedshiftQueryId":{"type":"long"},"ResultRows":{"type":"long"},"ResultSize":{"type":"long"},"SecretArn":{},"Status":{},"UpdatedAt":{"type":"timestamp"}}}},"DescribeTable":{"input":{"type":"structure","required":["ClusterIdentifier"],"members":{"ClusterIdentifier":{},"Database":{},"DbUser":{},"MaxResults":{"type":"integer"},"NextToken":{},"Schema":{},"SecretArn":{},"Table":{}}},"output":{"type":"structure","members":{"ColumnList":{"type":"list","member":{"shape":"Si"}},"NextToken":{},"TableName":{}}}},"ExecuteStatement":{"input":{"type":"structure","required":["ClusterIdentifier","Sql"],"members":{"ClusterIdentifier":{},"Database":{},"DbUser":{},"SecretArn":{},"Sql":{},"StatementName":{},"WithEvent":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClusterIdentifier":{},"CreatedAt":{"type":"timestamp"},"Database":{},"DbUser":{},"Id":{},"SecretArn":{}}}},"GetStatementResult":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"NextToken":{}}},"output":{"type":"structure","required":["Records"],"members":{"ColumnMetadata":{"type":"list","member":{"shape":"Si"}},"NextToken":{},"Records":{"type":"list","member":{"type":"list","member":{"type":"structure","members":{"blobValue":{"type":"blob"},"booleanValue":{"type":"boolean"},"doubleValue":{"type":"double"},"isNull":{"type":"boolean"},"longValue":{"type":"long"},"stringValue":{}}}}},"TotalNumRows":{"type":"long"}}}},"ListDatabases":{"input":{"type":"structure","required":["ClusterIdentifier"],"members":{"ClusterIdentifier":{},"Database":{},"DbUser":{},"MaxResults":{"type":"integer"},"NextToken":{},"SecretArn":{}}},"output":{"type":"structure","members":{"Databases":{"type":"list","member":{}},"NextToken":{}}}},"ListSchemas":{"input":{"type":"structure","required":["ClusterIdentifier","Database"],"members":{"ClusterIdentifier":{},"Database":{},"DbUser":{},"MaxResults":{"type":"integer"},"NextToken":{},"SchemaPattern":{},"SecretArn":{}}},"output":{"type":"structure","members":{"NextToken":{},"Schemas":{"type":"list","member":{}}}}},"ListStatements":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"StatementName":{},"Status":{}}},"output":{"type":"structure","required":["Statements"],"members":{"NextToken":{},"Statements":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"CreatedAt":{"type":"timestamp"},"Id":{},"QueryString":{},"SecretArn":{},"StatementName":{},"Status":{},"UpdatedAt":{"type":"timestamp"}}}}}}},"ListTables":{"input":{"type":"structure","required":["ClusterIdentifier","Database"],"members":{"ClusterIdentifier":{},"Database":{},"DbUser":{},"MaxResults":{"type":"integer"},"NextToken":{},"SchemaPattern":{},"SecretArn":{},"TablePattern":{}}},"output":{"type":"structure","members":{"NextToken":{},"Tables":{"type":"list","member":{"type":"structure","members":{"name":{},"schema":{},"type":{}}}}}}}},"shapes":{"Si":{"type":"structure","members":{"columnDefault":{},"isCaseSensitive":{"type":"boolean"},"isCurrency":{"type":"boolean"},"isSigned":{"type":"boolean"},"label":{},"length":{"type":"integer"},"name":{},"nullable":{"type":"integer"},"precision":{"type":"integer"},"scale":{"type":"integer"},"schemaName":{},"tableName":{},"typeName":{}}}}}; - /***/ 1955: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; +/***/ }), - const path = __webpack_require__(5622); - const childProcess = __webpack_require__(3129); - const crossSpawn = __webpack_require__(20); - const stripEof = __webpack_require__(3768); - const npmRunPath = __webpack_require__(4621); - const isStream = __webpack_require__(323); - const _getStream = __webpack_require__(145); - const pFinally = __webpack_require__(8697); - const onExit = __webpack_require__(5260); - const errname = __webpack_require__(4427); - const stdio = __webpack_require__(1168); +/***/ 1344: +/***/ (function(module) { - const TEN_MEGABYTES = 1000 * 1000 * 10; +module.exports = {"pagination":{"ListCloudFrontOriginAccessIdentities":{"input_token":"Marker","limit_key":"MaxItems","more_results":"CloudFrontOriginAccessIdentityList.IsTruncated","output_token":"CloudFrontOriginAccessIdentityList.NextMarker","result_key":"CloudFrontOriginAccessIdentityList.Items"},"ListDistributions":{"input_token":"Marker","limit_key":"MaxItems","more_results":"DistributionList.IsTruncated","output_token":"DistributionList.NextMarker","result_key":"DistributionList.Items"},"ListInvalidations":{"input_token":"Marker","limit_key":"MaxItems","more_results":"InvalidationList.IsTruncated","output_token":"InvalidationList.NextMarker","result_key":"InvalidationList.Items"},"ListStreamingDistributions":{"input_token":"Marker","limit_key":"MaxItems","more_results":"StreamingDistributionList.IsTruncated","output_token":"StreamingDistributionList.NextMarker","result_key":"StreamingDistributionList.Items"}}}; - function handleArgs(cmd, args, opts) { - let parsed; +/***/ }), - opts = Object.assign( - { - extendEnv: true, - env: {}, - }, - opts - ); +/***/ 1346: +/***/ (function(module) { - if (opts.extendEnv) { - opts.env = Object.assign({}, process.env, opts.env); - } +module.exports = {"pagination":{"ListTableColumns":{"input_token":"nextToken","output_token":"nextToken","result_key":"tableColumns"},"ListTableRows":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"rows"},"ListTables":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"tables"},"QueryTableRows":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"rows"}}}; - if (opts.__winShell === true) { - delete opts.__winShell; - parsed = { - command: cmd, - args, - options: opts, - file: cmd, - original: { - cmd, - args, - }, - }; - } else { - parsed = crossSpawn._parse(cmd, args, opts); - } +/***/ }), - opts = Object.assign( - { - maxBuffer: TEN_MEGABYTES, - buffer: true, - stripEof: true, - preferLocal: true, - localDir: parsed.options.cwd || process.cwd(), - encoding: "utf8", - reject: true, - cleanup: true, - }, - parsed.options - ); +/***/ 1348: +/***/ (function(module, __unusedexports, __webpack_require__) { - opts.stdio = stdio(opts); +"use strict"; - if (opts.preferLocal) { - opts.env = npmRunPath.env( - Object.assign({}, opts, { cwd: opts.localDir }) - ); - } - if (opts.detached) { - // #115 - opts.cleanup = false; - } +module.exports = validate; - if ( - process.platform === "win32" && - path.basename(parsed.command) === "cmd.exe" - ) { - // #116 - parsed.args.unshift("/q"); - } +const { RequestError } = __webpack_require__(3497); +const get = __webpack_require__(9854); +const set = __webpack_require__(7883); - return { - cmd: parsed.command, - args: parsed.args, - opts, - parsed, - }; - } +function validate(octokit, options) { + if (!options.request.validate) { + return; + } + const { validate: params } = options.request; + + Object.keys(params).forEach(parameterName => { + const parameter = get(params, parameterName); + + const expectedType = parameter.type; + let parentParameterName; + let parentValue; + let parentParamIsPresent = true; + let parentParameterIsArray = false; + + if (/\./.test(parameterName)) { + parentParameterName = parameterName.replace(/\.[^.]+$/, ""); + parentParameterIsArray = parentParameterName.slice(-2) === "[]"; + if (parentParameterIsArray) { + parentParameterName = parentParameterName.slice(0, -2); + } + parentValue = get(options, parentParameterName); + parentParamIsPresent = + parentParameterName === "headers" || + (typeof parentValue === "object" && parentValue !== null); + } + + const values = parentParameterIsArray + ? (get(options, parentParameterName) || []).map( + value => value[parameterName.split(/\./).pop()] + ) + : [get(options, parameterName)]; - function handleInput(spawned, input) { - if (input === null || input === undefined) { - return; - } + values.forEach((value, i) => { + const valueIsPresent = typeof value !== "undefined"; + const valueIsNull = value === null; + const currentParameterName = parentParameterIsArray + ? parameterName.replace(/\[\]/, `[${i}]`) + : parameterName; - if (isStream(input)) { - input.pipe(spawned.stdin); - } else { - spawned.stdin.end(input); - } + if (!parameter.required && !valueIsPresent) { + return; } - function handleOutput(opts, val) { - if (val && opts.stripEof) { - val = stripEof(val); - } - - return val; + // if the parent parameter is of type object but allows null + // then the child parameters can be ignored + if (!parentParamIsPresent) { + return; } - function handleShell(fn, cmd, opts) { - let file = "/bin/sh"; - let args = ["-c", cmd]; + if (parameter.allowNull && valueIsNull) { + return; + } - opts = Object.assign({}, opts); + if (!parameter.allowNull && valueIsNull) { + throw new RequestError( + `'${currentParameterName}' cannot be null`, + 400, + { + request: options + } + ); + } - if (process.platform === "win32") { - opts.__winShell = true; - file = process.env.comspec || "cmd.exe"; - args = ["/s", "/c", `"${cmd}"`]; - opts.windowsVerbatimArguments = true; - } + if (parameter.required && !valueIsPresent) { + throw new RequestError( + `Empty value for parameter '${currentParameterName}': ${JSON.stringify( + value + )}`, + 400, + { + request: options + } + ); + } - if (opts.shell) { - file = opts.shell; - delete opts.shell; + // parse to integer before checking for enum + // so that string "1" will match enum with number 1 + if (expectedType === "integer") { + const unparsedValue = value; + value = parseInt(value, 10); + if (isNaN(value)) { + throw new RequestError( + `Invalid value for parameter '${currentParameterName}': ${JSON.stringify( + unparsedValue + )} is NaN`, + 400, + { + request: options + } + ); } + } - return fn(file, args, opts); + if (parameter.enum && parameter.enum.indexOf(String(value)) === -1) { + throw new RequestError( + `Invalid value for parameter '${currentParameterName}': ${JSON.stringify( + value + )}`, + 400, + { + request: options + } + ); } - function getStream(process, stream, { encoding, buffer, maxBuffer }) { - if (!process[stream]) { - return null; + if (parameter.validation) { + const regex = new RegExp(parameter.validation); + if (!regex.test(value)) { + throw new RequestError( + `Invalid value for parameter '${currentParameterName}': ${JSON.stringify( + value + )}`, + 400, + { + request: options + } + ); } + } - let ret; - - if (!buffer) { - // TODO: Use `ret = util.promisify(stream.finished)(process[stream]);` when targeting Node.js 10 - ret = new Promise((resolve, reject) => { - process[stream].once("end", resolve).once("error", reject); - }); - } else if (encoding) { - ret = _getStream(process[stream], { - encoding, - maxBuffer, - }); - } else { - ret = _getStream.buffer(process[stream], { maxBuffer }); + if (expectedType === "object" && typeof value === "string") { + try { + value = JSON.parse(value); + } catch (exception) { + throw new RequestError( + `JSON parse error of value for parameter '${currentParameterName}': ${JSON.stringify( + value + )}`, + 400, + { + request: options + } + ); } - - return ret.catch((err) => { - err.stream = stream; - err.message = `${stream} ${err.message}`; - throw err; - }); } - function makeError(result, options) { - const { stdout, stderr } = result; + set(options, parameter.mapTo || currentParameterName, value); + }); + }); - let err = result.error; - const { code, signal } = result; + return options; +} - const { parsed, joinedCmd } = options; - const timedOut = options.timedOut || false; - if (!err) { - let output = ""; +/***/ }), - if (Array.isArray(parsed.opts.stdio)) { - if (parsed.opts.stdio[2] !== "inherit") { - output += output.length > 0 ? stderr : `\n${stderr}`; - } +/***/ 1349: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['personalizeruntime'] = {}; +AWS.PersonalizeRuntime = Service.defineService('personalizeruntime', ['2018-05-22']); +Object.defineProperty(apiLoader.services['personalizeruntime'], '2018-05-22', { + get: function get() { + var model = __webpack_require__(9370); + model.paginators = __webpack_require__(8367).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.PersonalizeRuntime; + + +/***/ }), + +/***/ 1352: +/***/ (function(module) { + +module.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":true,"location":"header","locationName":"x-amz-lex-session-attributes"},"requestAttributes":{"shape":"St","jsonvalue":true,"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":true,"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":true,"location":"header","locationName":"x-amz-lex-nlu-intent-confidence"},"alternativeIntents":{"jsonvalue":true,"location":"header","locationName":"x-amz-lex-alternative-intents"},"slots":{"jsonvalue":true,"location":"header","locationName":"x-amz-lex-slots"},"sessionAttributes":{"jsonvalue":true,"location":"header","locationName":"x-amz-lex-session-attributes"},"sentimentResponse":{"location":"header","locationName":"x-amz-lex-sentiment"},"message":{"shape":"Si","location":"header","locationName":"x-amz-lex-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":{"location":"header","locationName":"x-amz-lex-input-transcript"},"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":true,"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":"S13"},"alternativeIntents":{"type":"list","member":{"type":"structure","members":{"intentName":{},"nluIntentConfidence":{"shape":"S13"},"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":true,"location":"header","locationName":"x-amz-lex-slots"},"sessionAttributes":{"jsonvalue":true,"location":"header","locationName":"x-amz-lex-session-attributes"},"message":{"shape":"Si","location":"header","locationName":"x-amz-lex-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":true,"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":true},"Sh":{"type":"structure","required":["type"],"members":{"type":{},"intentName":{},"slots":{"shape":"Sd"},"slotToElicit":{},"fulfillmentState":{},"message":{"shape":"Si"},"messageFormat":{}}},"Si":{"type":"string","sensitive":true},"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":true},"St":{"type":"string","sensitive":true},"Sw":{"type":"blob","streaming":true},"Sx":{"type":"string","sensitive":true},"S13":{"type":"structure","members":{"score":{"type":"double"}}}}}; + +/***/ }), + +/***/ 1353: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['securityhub'] = {}; +AWS.SecurityHub = Service.defineService('securityhub', ['2018-10-26']); +Object.defineProperty(apiLoader.services['securityhub'], '2018-10-26', { + get: function get() { + var model = __webpack_require__(5642); + model.paginators = __webpack_require__(3998).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.SecurityHub; + + +/***/ }), + +/***/ 1368: +/***/ (function(module) { + +module.exports = function atob(str) { + return Buffer.from(str, 'base64').toString('binary') +} + + +/***/ }), + +/***/ 1371: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var Translator = __webpack_require__(109); +var DynamoDBSet = __webpack_require__(3815); + +/** + * The document client simplifies working with items in Amazon DynamoDB + * by abstracting away the notion of attribute values. This abstraction + * annotates native JavaScript types supplied as input parameters, as well + * as converts annotated response data to native JavaScript types. + * + * ## Marshalling Input and Unmarshalling Response Data + * + * The document client affords developers the use of native JavaScript types + * instead of `AttributeValue`s to simplify the JavaScript development + * experience with Amazon DynamoDB. JavaScript objects passed in as parameters + * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. + * Responses from DynamoDB are unmarshalled into plain JavaScript objects + * by the `DocumentClient`. The `DocumentClient`, does not accept + * `AttributeValue`s in favor of native JavaScript types. + * + * | JavaScript Type | DynamoDB AttributeValue | + * |:----------------------------------------------------------------------:|-------------------------| + * | String | S | + * | Number | N | + * | Boolean | BOOL | + * | null | NULL | + * | Array | L | + * | Object | M | + * | Buffer, File, Blob, ArrayBuffer, DataView, and JavaScript typed arrays | B | + * + * ## Support for Sets + * + * The `DocumentClient` offers a convenient way to create sets from + * JavaScript Arrays. The type of set is inferred from the first element + * in the array. DynamoDB supports string, number, and binary sets. To + * learn more about supported types see the + * [Amazon DynamoDB Data Model Documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) + * For more information see {AWS.DynamoDB.DocumentClient.createSet} + * + */ +AWS.DynamoDB.DocumentClient = AWS.util.inherit({ + + /** + * Creates a DynamoDB document client with a set of configuration options. + * + * @option options params [map] An optional map of parameters to bind to every + * request sent by this service object. + * @option options service [AWS.DynamoDB] An optional pre-configured instance + * of the AWS.DynamoDB service object to use for requests. The object may + * bound parameters used by the document client. + * @option options convertEmptyValues [Boolean] set to true if you would like + * the document client to convert empty values (0-length strings, binary + * buffers, and sets) to be converted to NULL types when persisting to + * DynamoDB. + * @option options wrapNumbers [Boolean] Set to true to return numbers as a + * NumberValue object instead of converting them to native JavaScript numbers. + * This allows for the safe round-trip transport of numbers of arbitrary size. + * @see AWS.DynamoDB.constructor + * + */ + constructor: function DocumentClient(options) { + var self = this; + self.options = options || {}; + self.configure(self.options); + }, + + /** + * @api private + */ + configure: function configure(options) { + var self = this; + self.service = options.service; + self.bindServiceObject(options); + self.attrValue = options.attrValue = + self.service.api.operations.putItem.input.members.Item.value.shape; + }, + + /** + * @api private + */ + bindServiceObject: function bindServiceObject(options) { + var self = this; + options = options || {}; + + if (!self.service) { + self.service = new AWS.DynamoDB(options); + } else { + var config = AWS.util.copy(self.service.config); + self.service = new self.service.constructor.__super__(config); + self.service.config.params = + AWS.util.merge(self.service.config.params || {}, options.params); + } + }, + + /** + * @api private + */ + makeServiceRequest: function(operation, params, callback) { + var self = this; + var request = self.service[operation](params); + self.setupRequest(request); + self.setupResponse(request); + if (typeof callback === 'function') { + request.send(callback); + } + return request; + }, + + /** + * @api private + */ + serviceClientOperationsMap: { + batchGet: 'batchGetItem', + batchWrite: 'batchWriteItem', + delete: 'deleteItem', + get: 'getItem', + put: 'putItem', + query: 'query', + scan: 'scan', + update: 'updateItem', + transactGet: 'transactGetItems', + transactWrite: 'transactWriteItems' + }, + + /** + * Returns the attributes of one or more items from one or more tables + * by delegating to `AWS.DynamoDB.batchGetItem()`. + * + * Supply the same parameters as {AWS.DynamoDB.batchGetItem} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.batchGetItem + * @example Get items from multiple tables + * var params = { + * RequestItems: { + * 'Table-1': { + * Keys: [ + * { + * HashKey: 'haskey', + * NumberRangeKey: 1 + * } + * ] + * }, + * 'Table-2': { + * Keys: [ + * { foo: 'bar' }, + * ] + * } + * } + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.batchGet(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + batchGet: function(params, callback) { + var operation = this.serviceClientOperationsMap['batchGet']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Puts or deletes multiple items in one or more tables by delegating + * to `AWS.DynamoDB.batchWriteItem()`. + * + * Supply the same parameters as {AWS.DynamoDB.batchWriteItem} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.batchWriteItem + * @example Write to and delete from a table + * var params = { + * RequestItems: { + * 'Table-1': [ + * { + * DeleteRequest: { + * Key: { HashKey: 'someKey' } + * } + * }, + * { + * PutRequest: { + * Item: { + * HashKey: 'anotherKey', + * NumAttribute: 1, + * BoolAttribute: true, + * ListAttribute: [1, 'two', false], + * MapAttribute: { foo: 'bar' } + * } + * } + * } + * ] + * } + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.batchWrite(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + batchWrite: function(params, callback) { + var operation = this.serviceClientOperationsMap['batchWrite']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Deletes a single item in a table by primary key by delegating to + * `AWS.DynamoDB.deleteItem()` + * + * Supply the same parameters as {AWS.DynamoDB.deleteItem} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.deleteItem + * @example Delete an item from a table + * var params = { + * TableName : 'Table', + * Key: { + * HashKey: 'hashkey', + * NumberRangeKey: 1 + * } + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.delete(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + delete: function(params, callback) { + var operation = this.serviceClientOperationsMap['delete']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Returns a set of attributes for the item with the given primary key + * by delegating to `AWS.DynamoDB.getItem()`. + * + * Supply the same parameters as {AWS.DynamoDB.getItem} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.getItem + * @example Get an item from a table + * var params = { + * TableName : 'Table', + * Key: { + * HashKey: 'hashkey' + * } + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.get(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + get: function(params, callback) { + var operation = this.serviceClientOperationsMap['get']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Creates a new item, or replaces an old item with a new item by + * delegating to `AWS.DynamoDB.putItem()`. + * + * Supply the same parameters as {AWS.DynamoDB.putItem} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.putItem + * @example Create a new item in a table + * var params = { + * TableName : 'Table', + * Item: { + * HashKey: 'haskey', + * NumAttribute: 1, + * BoolAttribute: true, + * ListAttribute: [1, 'two', false], + * MapAttribute: { foo: 'bar'}, + * NullAttribute: null + * } + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.put(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + put: function(params, callback) { + var operation = this.serviceClientOperationsMap['put']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Edits an existing item's attributes, or adds a new item to the table if + * it does not already exist by delegating to `AWS.DynamoDB.updateItem()`. + * + * Supply the same parameters as {AWS.DynamoDB.updateItem} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.updateItem + * @example Update an item with expressions + * var params = { + * TableName: 'Table', + * Key: { HashKey : 'hashkey' }, + * UpdateExpression: 'set #a = :x + :y', + * ConditionExpression: '#a < :MAX', + * ExpressionAttributeNames: {'#a' : 'Sum'}, + * ExpressionAttributeValues: { + * ':x' : 20, + * ':y' : 45, + * ':MAX' : 100, + * } + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.update(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + update: function(params, callback) { + var operation = this.serviceClientOperationsMap['update']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Returns one or more items and item attributes by accessing every item + * in a table or a secondary index. + * + * Supply the same parameters as {AWS.DynamoDB.scan} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.scan + * @example Scan the table with a filter expression + * var params = { + * TableName : 'Table', + * FilterExpression : 'Year = :this_year', + * ExpressionAttributeValues : {':this_year' : 2015} + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.scan(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + scan: function(params, callback) { + var operation = this.serviceClientOperationsMap['scan']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Directly access items from a table by primary key or a secondary index. + * + * Supply the same parameters as {AWS.DynamoDB.query} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.query + * @example Query an index + * var params = { + * TableName: 'Table', + * IndexName: 'Index', + * KeyConditionExpression: 'HashKey = :hkey and RangeKey > :rkey', + * ExpressionAttributeValues: { + * ':hkey': 'key', + * ':rkey': 2015 + * } + * }; + * + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * documentClient.query(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + query: function(params, callback) { + var operation = this.serviceClientOperationsMap['query']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Synchronous write operation that groups up to 10 action requests + * + * Supply the same parameters as {AWS.DynamoDB.transactWriteItems} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.transactWriteItems + * @example Get items from multiple tables + * var params = { + * TransactItems: [{ + * Put: { + * TableName : 'Table0', + * Item: { + * HashKey: 'haskey', + * NumAttribute: 1, + * BoolAttribute: true, + * ListAttribute: [1, 'two', false], + * MapAttribute: { foo: 'bar'}, + * NullAttribute: null + * } + * } + * }, { + * Update: { + * TableName: 'Table1', + * Key: { HashKey : 'hashkey' }, + * UpdateExpression: 'set #a = :x + :y', + * ConditionExpression: '#a < :MAX', + * ExpressionAttributeNames: {'#a' : 'Sum'}, + * ExpressionAttributeValues: { + * ':x' : 20, + * ':y' : 45, + * ':MAX' : 100, + * } + * } + * }] + * }; + * + * documentClient.transactWrite(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + */ + transactWrite: function(params, callback) { + var operation = this.serviceClientOperationsMap['transactWrite']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Atomically retrieves multiple items from one or more tables (but not from indexes) + * in a single account and region. + * + * Supply the same parameters as {AWS.DynamoDB.transactGetItems} with + * `AttributeValue`s substituted by native JavaScript types. + * + * @see AWS.DynamoDB.transactGetItems + * @example Get items from multiple tables + * var params = { + * TransactItems: [{ + * Get: { + * TableName : 'Table0', + * Key: { + * HashKey: 'hashkey0' + * } + * } + * }, { + * Get: { + * TableName : 'Table1', + * Key: { + * HashKey: 'hashkey1' + * } + * } + * }] + * }; + * + * documentClient.transactGet(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + */ + transactGet: function(params, callback) { + var operation = this.serviceClientOperationsMap['transactGet']; + return this.makeServiceRequest(operation, params, callback); + }, + + /** + * Creates a set of elements inferring the type of set from + * the type of the first element. Amazon DynamoDB currently supports + * the number sets, string sets, and binary sets. For more information + * about DynamoDB data types see the documentation on the + * [Amazon DynamoDB Data Model](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModel.DataTypes). + * + * @param list [Array] Collection to represent your DynamoDB Set + * @param options [map] + * * **validate** [Boolean] set to true if you want to validate the type + * of each element in the set. Defaults to `false`. + * @example Creating a number set + * var documentClient = new AWS.DynamoDB.DocumentClient(); + * + * var params = { + * Item: { + * hashkey: 'hashkey' + * numbers: documentClient.createSet([1, 2, 3]); + * } + * }; + * + * documentClient.put(params, function(err, data) { + * if (err) console.log(err); + * else console.log(data); + * }); + * + */ + createSet: function(list, options) { + options = options || {}; + return new DynamoDBSet(list, options); + }, + + /** + * @api private + */ + getTranslator: function() { + return new Translator(this.options); + }, + + /** + * @api private + */ + setupRequest: function setupRequest(request) { + var self = this; + var translator = self.getTranslator(); + var operation = request.operation; + var inputShape = request.service.api.operations[operation].input; + request._events.validate.unshift(function(req) { + req.rawParams = AWS.util.copy(req.params); + req.params = translator.translateInput(req.rawParams, inputShape); + }); + }, + + /** + * @api private + */ + setupResponse: function setupResponse(request) { + var self = this; + var translator = self.getTranslator(); + var outputShape = self.service.api.operations[request.operation].output; + request.on('extractData', function(response) { + response.data = translator.translateOutput(response.data, outputShape); + }); + + var response = request.response; + response.nextPage = function(cb) { + var resp = this; + var req = resp.request; + var config; + var service = req.service; + var operation = req.operation; + try { + config = service.paginationConfig(operation, true); + } catch (e) { resp.error = e; } - if (parsed.opts.stdio[1] !== "inherit") { - output += `\n${stdout}`; - } - } else if (parsed.opts.stdio !== "inherit") { - output = `\n${stderr}${stdout}`; - } + if (!resp.hasNextPage()) { + if (cb) cb(resp.error, null); + else if (resp.error) throw resp.error; + return null; + } - err = new Error(`Command failed: ${joinedCmd}${output}`); - err.code = code < 0 ? errname(code) : code; + var params = AWS.util.copy(req.rawParams); + if (!resp.nextPageTokens) { + return cb ? cb(null, null) : null; + } else { + var inputTokens = config.inputToken; + if (typeof inputTokens === 'string') inputTokens = [inputTokens]; + for (var i = 0; i < inputTokens.length; i++) { + params[inputTokens[i]] = resp.nextPageTokens[i]; } + return self[operation](params, cb); + } + }; + } - err.stdout = stdout; - err.stderr = stderr; - err.failed = true; - err.signal = signal || null; - err.cmd = joinedCmd; - err.timedOut = timedOut; +}); - return err; - } +/** + * @api private + */ +module.exports = AWS.DynamoDB.DocumentClient; - function joinCmd(cmd, args) { - let joinedCmd = cmd; - if (Array.isArray(args) && args.length > 0) { - joinedCmd += " " + args.join(" "); - } +/***/ }), - return joinedCmd; - } +/***/ 1372: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = (cmd, args, opts) => { - const parsed = handleArgs(cmd, args, opts); - const { encoding, buffer, maxBuffer } = parsed.opts; - const joinedCmd = joinCmd(cmd, args); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - let spawned; - try { - spawned = childProcess.spawn(parsed.cmd, parsed.args, parsed.opts); - } catch (err) { - return Promise.reject(err); - } +apiLoader.services['devicefarm'] = {}; +AWS.DeviceFarm = Service.defineService('devicefarm', ['2015-06-23']); +Object.defineProperty(apiLoader.services['devicefarm'], '2015-06-23', { + get: function get() { + var model = __webpack_require__(4622); + model.paginators = __webpack_require__(2522).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - let removeExitHandler; - if (parsed.opts.cleanup) { - removeExitHandler = onExit(() => { - spawned.kill(); - }); - } +module.exports = AWS.DeviceFarm; - let timeoutId = null; - let timedOut = false; - const cleanup = () => { - if (timeoutId) { - clearTimeout(timeoutId); - timeoutId = null; - } +/***/ }), - if (removeExitHandler) { - removeExitHandler(); - } - }; +/***/ 1395: +/***/ (function(module) { - if (parsed.opts.timeout > 0) { - timeoutId = setTimeout(() => { - timeoutId = null; - timedOut = true; - spawned.kill(parsed.opts.killSignal); - }, parsed.opts.timeout); - } +module.exports = {"pagination":{"ListBusinessReportSchedules":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListConferenceProviders":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDeviceEvents":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListGatewayGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListGateways":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListSkills":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListSkillsStoreCategories":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListSkillsStoreSkillsByCategory":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListSmartHomeAppliances":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListTags":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchAddressBooks":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchContacts":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchDevices":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchNetworkProfiles":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchProfiles":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchRooms":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchSkillGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"SearchUsers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - const processDone = new Promise((resolve) => { - spawned.on("exit", (code, signal) => { - cleanup(); - resolve({ code, signal }); - }); +/***/ }), - spawned.on("error", (err) => { - cleanup(); - resolve({ error: err }); - }); +/***/ 1401: +/***/ (function(module, __unusedexports, __webpack_require__) { - if (spawned.stdin) { - spawned.stdin.on("error", (err) => { - cleanup(); - resolve({ error: err }); - }); - } - }); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function destroy() { - if (spawned.stdout) { - spawned.stdout.destroy(); - } +apiLoader.services['mediastore'] = {}; +AWS.MediaStore = Service.defineService('mediastore', ['2017-09-01']); +Object.defineProperty(apiLoader.services['mediastore'], '2017-09-01', { + get: function get() { + var model = __webpack_require__(5296); + model.paginators = __webpack_require__(6423).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - if (spawned.stderr) { - spawned.stderr.destroy(); - } - } +module.exports = AWS.MediaStore; - const handlePromise = () => - pFinally( - Promise.all([ - processDone, - getStream(spawned, "stdout", { encoding, buffer, maxBuffer }), - getStream(spawned, "stderr", { encoding, buffer, maxBuffer }), - ]).then((arr) => { - const result = arr[0]; - result.stdout = arr[1]; - result.stderr = arr[2]; - - if (result.error || result.code !== 0 || result.signal !== null) { - const err = makeError(result, { - joinedCmd, - parsed, - timedOut, - }); - - // TODO: missing some timeout logic for killed - // https://github.com/nodejs/node/blob/master/lib/child_process.js#L203 - // err.killed = spawned.killed || killed; - err.killed = err.killed || spawned.killed; - - if (!parsed.opts.reject) { - return err; - } - throw err; - } +/***/ }), - return { - stdout: handleOutput(parsed.opts, result.stdout), - stderr: handleOutput(parsed.opts, result.stderr), - code: 0, - failed: false, - killed: false, - signal: null, - cmd: joinedCmd, - timedOut: false, - }; - }), - destroy - ); +/***/ 1406: +/***/ (function(module) { - crossSpawn._enoent.hookChildProcess(spawned, parsed.parsed); +module.exports = {"pagination":{"ListBatchInferenceJobs":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"batchInferenceJobs"},"ListCampaigns":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"campaigns"},"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"},"ListRecipes":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"recipes"},"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"}}}; - handleInput(spawned, parsed.opts.input); +/***/ }), - spawned.then = (onfulfilled, onrejected) => - handlePromise().then(onfulfilled, onrejected); - spawned.catch = (onrejected) => handlePromise().catch(onrejected); +/***/ 1407: +/***/ (function(module) { - return spawned; - }; +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":{"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":"S8"}}}},"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":"Sc"}}}},"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":"Sg"},"lambdaConfig":{"shape":"Si"},"elasticsearchConfig":{"shape":"Sj"},"httpConfig":{"shape":"Sk"},"relationalDatabaseConfig":{"shape":"So"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Ss"}}}},"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":{}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"Sw"}}}},"CreateGraphqlApi":{"http":{"requestUri":"/v1/apis"},"input":{"type":"structure","required":["name","authenticationType"],"members":{"name":{},"logConfig":{"shape":"Sy"},"authenticationType":{},"userPoolConfig":{"shape":"S11"},"openIDConnectConfig":{"shape":"S13"},"tags":{"shape":"S14"},"additionalAuthenticationProviders":{"shape":"S17"},"xrayEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1b"}}}},"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":"S1f"},"syncConfig":{"shape":"S1h"},"cachingConfig":{"shape":"S1l"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S1o"}}}},"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":"S1s"}}}},"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":{}}},"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":{}}},"FlushApiCache":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/FlushCache"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{}}},"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":"S8"}}}},"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":"Ss"}}}},"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":"Sw"}}}},"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":"S1b"}}}},"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":"S1o"}}}},"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":"S1s"}}}},"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":"Sc"}},"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":"Ss"}},"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":"Sw"}},"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":"S1b"}},"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":"S39"},"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":"S39"},"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":"S14"}}}},"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":"S1s"}},"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":"S14"}}},"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":"S8"}}}},"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":"Sc"}}}},"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":"Sg"},"lambdaConfig":{"shape":"Si"},"elasticsearchConfig":{"shape":"Sj"},"httpConfig":{"shape":"Sk"},"relationalDatabaseConfig":{"shape":"So"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Ss"}}}},"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":{}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"Sw"}}}},"UpdateGraphqlApi":{"http":{"requestUri":"/v1/apis/{apiId}"},"input":{"type":"structure","required":["apiId","name"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"logConfig":{"shape":"Sy"},"authenticationType":{},"userPoolConfig":{"shape":"S11"},"openIDConnectConfig":{"shape":"S13"},"additionalAuthenticationProviders":{"shape":"S17"},"xrayEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1b"}}}},"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":"S1f"},"syncConfig":{"shape":"S1h"},"cachingConfig":{"shape":"S1l"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S1o"}}}},"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":"S1s"}}}}},"shapes":{"S8":{"type":"structure","members":{"ttl":{"type":"long"},"apiCachingBehavior":{},"transitEncryptionEnabled":{"type":"boolean"},"atRestEncryptionEnabled":{"type":"boolean"},"type":{},"status":{}}},"Sc":{"type":"structure","members":{"id":{},"description":{},"expires":{"type":"long"},"deletes":{"type":"long"}}},"Sg":{"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"}}},"Si":{"type":"structure","required":["lambdaFunctionArn"],"members":{"lambdaFunctionArn":{}}},"Sj":{"type":"structure","required":["endpoint","awsRegion"],"members":{"endpoint":{},"awsRegion":{}}},"Sk":{"type":"structure","members":{"endpoint":{},"authorizationConfig":{"type":"structure","required":["authorizationType"],"members":{"authorizationType":{},"awsIamConfig":{"type":"structure","members":{"signingRegion":{},"signingServiceName":{}}}}}}},"So":{"type":"structure","members":{"relationalDatabaseSourceType":{},"rdsHttpEndpointConfig":{"type":"structure","members":{"awsRegion":{},"dbClusterIdentifier":{},"databaseName":{},"schema":{},"awsSecretStoreArn":{}}}}},"Ss":{"type":"structure","members":{"dataSourceArn":{},"name":{},"description":{},"type":{},"serviceRoleArn":{},"dynamodbConfig":{"shape":"Sg"},"lambdaConfig":{"shape":"Si"},"elasticsearchConfig":{"shape":"Sj"},"httpConfig":{"shape":"Sk"},"relationalDatabaseConfig":{"shape":"So"}}},"Sw":{"type":"structure","members":{"functionId":{},"functionArn":{},"name":{},"description":{},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"functionVersion":{}}},"Sy":{"type":"structure","required":["fieldLogLevel","cloudWatchLogsRoleArn"],"members":{"fieldLogLevel":{},"cloudWatchLogsRoleArn":{},"excludeVerboseContent":{"type":"boolean"}}},"S11":{"type":"structure","required":["userPoolId","awsRegion","defaultAction"],"members":{"userPoolId":{},"awsRegion":{},"defaultAction":{},"appIdClientRegex":{}}},"S13":{"type":"structure","required":["issuer"],"members":{"issuer":{},"clientId":{},"iatTTL":{"type":"long"},"authTTL":{"type":"long"}}},"S14":{"type":"map","key":{},"value":{}},"S17":{"type":"list","member":{"type":"structure","members":{"authenticationType":{},"openIDConnectConfig":{"shape":"S13"},"userPoolConfig":{"type":"structure","required":["userPoolId","awsRegion"],"members":{"userPoolId":{},"awsRegion":{},"appIdClientRegex":{}}}}}},"S1b":{"type":"structure","members":{"name":{},"apiId":{},"authenticationType":{},"logConfig":{"shape":"Sy"},"userPoolConfig":{"shape":"S11"},"openIDConnectConfig":{"shape":"S13"},"arn":{},"uris":{"type":"map","key":{},"value":{}},"tags":{"shape":"S14"},"additionalAuthenticationProviders":{"shape":"S17"},"xrayEnabled":{"type":"boolean"},"wafWebAclArn":{}}},"S1f":{"type":"structure","members":{"functions":{"type":"list","member":{}}}},"S1h":{"type":"structure","members":{"conflictHandler":{},"conflictDetection":{},"lambdaConflictHandlerConfig":{"type":"structure","members":{"lambdaConflictHandlerArn":{}}}}},"S1l":{"type":"structure","members":{"ttl":{"type":"long"},"cachingKeys":{"type":"list","member":{}}}},"S1o":{"type":"structure","members":{"typeName":{},"fieldName":{},"dataSourceName":{},"resolverArn":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"kind":{},"pipelineConfig":{"shape":"S1f"},"syncConfig":{"shape":"S1h"},"cachingConfig":{"shape":"S1l"}}},"S1s":{"type":"structure","members":{"name":{},"description":{},"arn":{},"definition":{},"format":{}}},"S39":{"type":"list","member":{"shape":"S1o"}}}}; - // TODO: set `stderr: 'ignore'` when that option is implemented - module.exports.stdout = (...args) => - module.exports(...args).then((x) => x.stdout); +/***/ }), - // TODO: set `stdout: 'ignore'` when that option is implemented - module.exports.stderr = (...args) => - module.exports(...args).then((x) => x.stderr); +/***/ 1411: +/***/ (function(module) { - module.exports.shell = (cmd, opts) => - handleShell(module.exports, cmd, opts); +module.exports = {"version":"2.0","metadata":{"apiVersion":"2014-10-31","endpointPrefix":"rds","protocol":"query","serviceAbbreviation":"Amazon Neptune","serviceFullName":"Amazon Neptune","serviceId":"Neptune","signatureVersion":"v4","signingName":"rds","uid":"neptune-2014-10-31","xmlNamespace":"http://rds.amazonaws.com/doc/2014-10-31/"},"operations":{"AddRoleToDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","RoleArn"],"members":{"DBClusterIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"AddSourceIdentifierToSubscription":{"input":{"type":"structure","required":["SubscriptionName","SourceIdentifier"],"members":{"SubscriptionName":{},"SourceIdentifier":{}}},"output":{"resultWrapper":"AddSourceIdentifierToSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S5"}}}},"AddTagsToResource":{"input":{"type":"structure","required":["ResourceName","Tags"],"members":{"ResourceName":{},"Tags":{"shape":"Sa"}}}},"ApplyPendingMaintenanceAction":{"input":{"type":"structure","required":["ResourceIdentifier","ApplyAction","OptInType"],"members":{"ResourceIdentifier":{},"ApplyAction":{},"OptInType":{}}},"output":{"resultWrapper":"ApplyPendingMaintenanceActionResult","type":"structure","members":{"ResourcePendingMaintenanceActions":{"shape":"Se"}}}},"CopyDBClusterParameterGroup":{"input":{"type":"structure","required":["SourceDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupDescription"],"members":{"SourceDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupDescription":{},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CopyDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sk"}}}},"CopyDBClusterSnapshot":{"input":{"type":"structure","required":["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],"members":{"SourceDBClusterSnapshotIdentifier":{},"TargetDBClusterSnapshotIdentifier":{},"KmsKeyId":{},"PreSignedUrl":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CopyDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"So"}}}},"CopyDBParameterGroup":{"input":{"type":"structure","required":["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],"members":{"SourceDBParameterGroupIdentifier":{},"TargetDBParameterGroupIdentifier":{},"TargetDBParameterGroupDescription":{},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CopyDBParameterGroupResult","type":"structure","members":{"DBParameterGroup":{"shape":"St"}}}},"CreateDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","Engine"],"members":{"AvailabilityZones":{"shape":"Sp"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"Sw"},"DBSubnetGroupName":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"ReplicationSourceIdentifier":{},"Tags":{"shape":"Sa"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"PreSignedUrl":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnableCloudwatchLogsExports":{"shape":"Sx"},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"CreateDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"CreateDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterIdentifier","DBClusterEndpointIdentifier","EndpointType"],"members":{"DBClusterIdentifier":{},"DBClusterEndpointIdentifier":{},"EndpointType":{},"StaticMembers":{"shape":"S1a"},"ExcludedMembers":{"shape":"S1a"},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CreateDBClusterEndpointResult","type":"structure","members":{"DBClusterEndpointIdentifier":{},"DBClusterIdentifier":{},"DBClusterEndpointResourceIdentifier":{},"Endpoint":{},"Status":{},"EndpointType":{},"CustomEndpointType":{},"StaticMembers":{"shape":"S1a"},"ExcludedMembers":{"shape":"S1a"},"DBClusterEndpointArn":{}}}},"CreateDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],"members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CreateDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sk"}}}},"CreateDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","DBClusterIdentifier"],"members":{"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CreateDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"So"}}}},"CreateDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBInstanceClass","Engine"],"members":{"DBName":{},"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"Engine":{},"MasterUsername":{},"MasterUserPassword":{},"DBSecurityGroups":{"shape":"S1h"},"VpcSecurityGroupIds":{"shape":"Sw"},"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":{"deprecated":true,"type":"boolean"},"Tags":{"shape":"Sa"},"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":{},"EnableCloudwatchLogsExports":{"shape":"Sx"},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"CreateDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S1j"}}}},"CreateDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName","DBParameterGroupFamily","Description"],"members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CreateDBParameterGroupResult","type":"structure","members":{"DBParameterGroup":{"shape":"St"}}}},"CreateDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S26"},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CreateDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S1p"}}}},"CreateEventSubscription":{"input":{"type":"structure","required":["SubscriptionName","SnsTopicArn"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S7"},"SourceIds":{"shape":"S6"},"Enabled":{"type":"boolean"},"Tags":{"shape":"Sa"}}},"output":{"resultWrapper":"CreateEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S5"}}}},"DeleteDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"SkipFinalSnapshot":{"type":"boolean"},"FinalDBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"DeleteDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterEndpointIdentifier"],"members":{"DBClusterEndpointIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterEndpointResult","type":"structure","members":{"DBClusterEndpointIdentifier":{},"DBClusterIdentifier":{},"DBClusterEndpointResourceIdentifier":{},"Endpoint":{},"Status":{},"EndpointType":{},"CustomEndpointType":{},"StaticMembers":{"shape":"S1a"},"ExcludedMembers":{"shape":"S1a"},"DBClusterEndpointArn":{}}}},"DeleteDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{}}}},"DeleteDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"So"}}}},"DeleteDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"SkipFinalSnapshot":{"type":"boolean"},"FinalDBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S1j"}}}},"DeleteDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{}}}},"DeleteDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName"],"members":{"DBSubnetGroupName":{}}}},"DeleteEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{}}},"output":{"resultWrapper":"DeleteEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S5"}}}},"DescribeDBClusterEndpoints":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"DBClusterEndpointIdentifier":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterEndpointsResult","type":"structure","members":{"Marker":{},"DBClusterEndpoints":{"type":"list","member":{"locationName":"DBClusterEndpointList","type":"structure","members":{"DBClusterEndpointIdentifier":{},"DBClusterIdentifier":{},"DBClusterEndpointResourceIdentifier":{},"Endpoint":{},"Status":{},"EndpointType":{},"CustomEndpointType":{},"StaticMembers":{"shape":"S1a"},"ExcludedMembers":{"shape":"S1a"},"DBClusterEndpointArn":{}}}}}}},"DescribeDBClusterParameterGroups":{"input":{"type":"structure","members":{"DBClusterParameterGroupName":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParameterGroupsResult","type":"structure","members":{"Marker":{},"DBClusterParameterGroups":{"type":"list","member":{"shape":"Sk","locationName":"DBClusterParameterGroup"}}}}},"DescribeDBClusterParameters":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{},"Source":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParametersResult","type":"structure","members":{"Parameters":{"shape":"S2z"},"Marker":{}}}},"DescribeDBClusterSnapshotAttributes":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotAttributesResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S34"}}}},"DescribeDBClusterSnapshots":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"DBClusterSnapshotIdentifier":{},"SnapshotType":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"},"IncludePublic":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotsResult","type":"structure","members":{"Marker":{},"DBClusterSnapshots":{"type":"list","member":{"shape":"So","locationName":"DBClusterSnapshot"}}}}},"DescribeDBClusters":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClustersResult","type":"structure","members":{"Marker":{},"DBClusters":{"type":"list","member":{"shape":"Sz","locationName":"DBCluster"}}}}},"DescribeDBEngineVersions":{"input":{"type":"structure","members":{"Engine":{},"EngineVersion":{},"DBParameterGroupFamily":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{},"DefaultOnly":{"type":"boolean"},"ListSupportedCharacterSets":{"type":"boolean"},"ListSupportedTimezones":{"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":"S3i"},"SupportedCharacterSets":{"type":"list","member":{"shape":"S3i","locationName":"CharacterSet"}},"ValidUpgradeTarget":{"type":"list","member":{"locationName":"UpgradeTarget","type":"structure","members":{"Engine":{},"EngineVersion":{},"Description":{},"AutoUpgrade":{"type":"boolean"},"IsMajorVersionUpgrade":{"type":"boolean"}}}},"SupportedTimezones":{"type":"list","member":{"locationName":"Timezone","type":"structure","members":{"TimezoneName":{}}}},"ExportableLogTypes":{"shape":"Sx"},"SupportsLogExportsToCloudwatchLogs":{"type":"boolean"},"SupportsReadReplica":{"type":"boolean"}}}}}}},"DescribeDBInstances":{"input":{"type":"structure","members":{"DBInstanceIdentifier":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBInstancesResult","type":"structure","members":{"Marker":{},"DBInstances":{"type":"list","member":{"shape":"S1j","locationName":"DBInstance"}}}}},"DescribeDBParameterGroups":{"input":{"type":"structure","members":{"DBParameterGroupName":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBParameterGroupsResult","type":"structure","members":{"Marker":{},"DBParameterGroups":{"type":"list","member":{"shape":"St","locationName":"DBParameterGroup"}}}}},"DescribeDBParameters":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{},"Source":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBParametersResult","type":"structure","members":{"Parameters":{"shape":"S2z"},"Marker":{}}}},"DescribeDBSubnetGroups":{"input":{"type":"structure","members":{"DBSubnetGroupName":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBSubnetGroupsResult","type":"structure","members":{"Marker":{},"DBSubnetGroups":{"type":"list","member":{"shape":"S1p","locationName":"DBSubnetGroup"}}}}},"DescribeEngineDefaultClusterParameters":{"input":{"type":"structure","required":["DBParameterGroupFamily"],"members":{"DBParameterGroupFamily":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEngineDefaultClusterParametersResult","type":"structure","members":{"EngineDefaults":{"shape":"S41"}}}},"DescribeEngineDefaultParameters":{"input":{"type":"structure","required":["DBParameterGroupFamily"],"members":{"DBParameterGroupFamily":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEngineDefaultParametersResult","type":"structure","members":{"EngineDefaults":{"shape":"S41"}}}},"DescribeEventCategories":{"input":{"type":"structure","members":{"SourceType":{},"Filters":{"shape":"S2o"}}},"output":{"resultWrapper":"DescribeEventCategoriesResult","type":"structure","members":{"EventCategoriesMapList":{"type":"list","member":{"locationName":"EventCategoriesMap","type":"structure","members":{"SourceType":{},"EventCategories":{"shape":"S7"}},"wrapper":true}}}}},"DescribeEventSubscriptions":{"input":{"type":"structure","members":{"SubscriptionName":{},"Filters":{"shape":"S2o"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEventSubscriptionsResult","type":"structure","members":{"Marker":{},"EventSubscriptionsList":{"type":"list","member":{"shape":"S5","locationName":"EventSubscription"}}}}},"DescribeEvents":{"input":{"type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Duration":{"type":"integer"},"EventCategories":{"shape":"S7"},"Filters":{"shape":"S2o"},"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":"S7"},"Date":{"type":"timestamp"},"SourceArn":{}}}}}}},"DescribeOrderableDBInstanceOptions":{"input":{"type":"structure","required":["Engine"],"members":{"Engine":{},"EngineVersion":{},"DBInstanceClass":{},"LicenseModel":{},"Vpc":{"type":"boolean"},"Filters":{"shape":"S2o"},"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":"S1s","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"}},"wrapper":true}},"Marker":{}}}},"DescribePendingMaintenanceActions":{"input":{"type":"structure","members":{"ResourceIdentifier":{},"Filters":{"shape":"S2o"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribePendingMaintenanceActionsResult","type":"structure","members":{"PendingMaintenanceActions":{"type":"list","member":{"shape":"Se","locationName":"ResourcePendingMaintenanceActions"}},"Marker":{}}}},"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":"S4u"},"ProvisionedIops":{"shape":"S4u"},"IopsToStorageRatio":{"type":"list","member":{"locationName":"DoubleRange","type":"structure","members":{"From":{"type":"double"},"To":{"type":"double"}}}}}}}},"wrapper":true}}}},"FailoverDBCluster":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"TargetDBInstanceIdentifier":{}}},"output":{"resultWrapper":"FailoverDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceName"],"members":{"ResourceName":{},"Filters":{"shape":"S2o"}}},"output":{"resultWrapper":"ListTagsForResourceResult","type":"structure","members":{"TagList":{"shape":"Sa"}}}},"ModifyDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"NewDBClusterIdentifier":{},"ApplyImmediately":{"type":"boolean"},"BackupRetentionPeriod":{"type":"integer"},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"Sw"},"Port":{"type":"integer"},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"CloudwatchLogsExportConfiguration":{"shape":"S54"},"EngineVersion":{},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"ModifyDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterEndpointIdentifier"],"members":{"DBClusterEndpointIdentifier":{},"EndpointType":{},"StaticMembers":{"shape":"S1a"},"ExcludedMembers":{"shape":"S1a"}}},"output":{"resultWrapper":"ModifyDBClusterEndpointResult","type":"structure","members":{"DBClusterEndpointIdentifier":{},"DBClusterIdentifier":{},"DBClusterEndpointResourceIdentifier":{},"Endpoint":{},"Status":{},"EndpointType":{},"CustomEndpointType":{},"StaticMembers":{"shape":"S1a"},"ExcludedMembers":{"shape":"S1a"},"DBClusterEndpointArn":{}}}},"ModifyDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","Parameters"],"members":{"DBClusterParameterGroupName":{},"Parameters":{"shape":"S2z"}}},"output":{"shape":"S59","resultWrapper":"ModifyDBClusterParameterGroupResult"}},"ModifyDBClusterSnapshotAttribute":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","AttributeName"],"members":{"DBClusterSnapshotIdentifier":{},"AttributeName":{},"ValuesToAdd":{"shape":"S37"},"ValuesToRemove":{"shape":"S37"}}},"output":{"resultWrapper":"ModifyDBClusterSnapshotAttributeResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S34"}}}},"ModifyDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"DBSubnetGroupName":{},"DBSecurityGroups":{"shape":"S1h"},"VpcSecurityGroupIds":{"shape":"Sw"},"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":{"deprecated":true,"type":"boolean"},"MonitoringRoleArn":{},"DomainIAMRoleName":{},"PromotionTier":{"type":"integer"},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"CloudwatchLogsExportConfiguration":{"shape":"S54"},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S1j"}}}},"ModifyDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName","Parameters"],"members":{"DBParameterGroupName":{},"Parameters":{"shape":"S2z"}}},"output":{"shape":"S5f","resultWrapper":"ModifyDBParameterGroupResult"}},"ModifyDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S26"}}},"output":{"resultWrapper":"ModifyDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S1p"}}}},"ModifyEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S7"},"Enabled":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S5"}}}},"PromoteReadReplicaDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"PromoteReadReplicaDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"RebootDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"ForceFailover":{"type":"boolean"}}},"output":{"resultWrapper":"RebootDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S1j"}}}},"RemoveRoleFromDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","RoleArn"],"members":{"DBClusterIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"RemoveSourceIdentifierFromSubscription":{"input":{"type":"structure","required":["SubscriptionName","SourceIdentifier"],"members":{"SubscriptionName":{},"SourceIdentifier":{}}},"output":{"resultWrapper":"RemoveSourceIdentifierFromSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S5"}}}},"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":"S2z"}}},"output":{"shape":"S59","resultWrapper":"ResetDBClusterParameterGroupResult"}},"ResetDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{},"ResetAllParameters":{"type":"boolean"},"Parameters":{"shape":"S2z"}}},"output":{"shape":"S5f","resultWrapper":"ResetDBParameterGroupResult"}},"RestoreDBClusterFromSnapshot":{"input":{"type":"structure","required":["DBClusterIdentifier","SnapshotIdentifier","Engine"],"members":{"AvailabilityZones":{"shape":"Sp"},"DBClusterIdentifier":{},"SnapshotIdentifier":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"DBSubnetGroupName":{},"DatabaseName":{},"OptionGroupName":{},"VpcSecurityGroupIds":{"shape":"Sw"},"Tags":{"shape":"Sa"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnableCloudwatchLogsExports":{"shape":"Sx"},"DBClusterParameterGroupName":{},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"RestoreDBClusterFromSnapshotResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"RestoreDBClusterToPointInTime":{"input":{"type":"structure","required":["DBClusterIdentifier","SourceDBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"RestoreType":{},"SourceDBClusterIdentifier":{},"RestoreToTime":{"type":"timestamp"},"UseLatestRestorableTime":{"type":"boolean"},"Port":{"type":"integer"},"DBSubnetGroupName":{},"OptionGroupName":{},"VpcSecurityGroupIds":{"shape":"Sw"},"Tags":{"shape":"Sa"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnableCloudwatchLogsExports":{"shape":"Sx"},"DBClusterParameterGroupName":{},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"RestoreDBClusterToPointInTimeResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"StartDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StartDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}},"StopDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StopDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sz"}}}}},"shapes":{"S5":{"type":"structure","members":{"CustomerAwsId":{},"CustSubscriptionId":{},"SnsTopicArn":{},"Status":{},"SubscriptionCreationTime":{},"SourceType":{},"SourceIdsList":{"shape":"S6"},"EventCategoriesList":{"shape":"S7"},"Enabled":{"type":"boolean"},"EventSubscriptionArn":{}},"wrapper":true},"S6":{"type":"list","member":{"locationName":"SourceId"}},"S7":{"type":"list","member":{"locationName":"EventCategory"}},"Sa":{"type":"list","member":{"locationName":"Tag","type":"structure","members":{"Key":{},"Value":{}}}},"Se":{"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},"Sk":{"type":"structure","members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"DBClusterParameterGroupArn":{}},"wrapper":true},"So":{"type":"structure","members":{"AvailabilityZones":{"shape":"Sp"},"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"SnapshotCreateTime":{"type":"timestamp"},"Engine":{},"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"}},"wrapper":true},"Sp":{"type":"list","member":{"locationName":"AvailabilityZone"}},"St":{"type":"structure","members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"DBParameterGroupArn":{}},"wrapper":true},"Sw":{"type":"list","member":{"locationName":"VpcSecurityGroupId"}},"Sx":{"type":"list","member":{}},"Sz":{"type":"structure","members":{"AllocatedStorage":{"type":"integer"},"AvailabilityZones":{"shape":"Sp"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroup":{},"DBSubnetGroup":{},"Status":{},"PercentProgress":{},"EarliestRestorableTime":{"type":"timestamp"},"Endpoint":{},"ReaderEndpoint":{},"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":"S15"},"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"},"EnabledCloudwatchLogsExports":{"shape":"Sx"},"DeletionProtection":{"type":"boolean"}},"wrapper":true},"S15":{"type":"list","member":{"locationName":"VpcSecurityGroupMembership","type":"structure","members":{"VpcSecurityGroupId":{},"Status":{}}}},"S1a":{"type":"list","member":{}},"S1h":{"type":"list","member":{"locationName":"DBSecurityGroupName"}},"S1j":{"type":"structure","members":{"DBInstanceIdentifier":{},"DBInstanceClass":{},"Engine":{},"DBInstanceStatus":{},"MasterUsername":{},"DBName":{},"Endpoint":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"},"HostedZoneId":{}}},"AllocatedStorage":{"type":"integer"},"InstanceCreateTime":{"type":"timestamp"},"PreferredBackupWindow":{},"BackupRetentionPeriod":{"type":"integer"},"DBSecurityGroups":{"type":"list","member":{"locationName":"DBSecurityGroup","type":"structure","members":{"DBSecurityGroupName":{},"Status":{}}}},"VpcSecurityGroups":{"shape":"S15"},"DBParameterGroups":{"type":"list","member":{"locationName":"DBParameterGroup","type":"structure","members":{"DBParameterGroupName":{},"ParameterApplyStatus":{}}}},"AvailabilityZone":{},"DBSubnetGroup":{"shape":"S1p"},"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":"Sx"},"LogTypesToDisable":{"shape":"Sx"}}}}},"LatestRestorableTime":{"type":"timestamp"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"ReadReplicaSourceDBInstanceIdentifier":{},"ReadReplicaDBInstanceIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaDBInstanceIdentifier"}},"ReadReplicaDBClusterIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaDBClusterIdentifier"}},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupMemberships":{"type":"list","member":{"locationName":"OptionGroupMembership","type":"structure","members":{"OptionGroupName":{},"Status":{}}}},"CharacterSetName":{},"SecondaryAvailabilityZone":{},"PubliclyAccessible":{"deprecated":true,"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":{"type":"list","member":{"locationName":"DomainMembership","type":"structure","members":{"Domain":{},"Status":{},"FQDN":{},"IAMRoleName":{}}}},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"EnhancedMonitoringResourceArn":{},"MonitoringRoleArn":{},"PromotionTier":{"type":"integer"},"DBInstanceArn":{},"Timezone":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"PerformanceInsightsEnabled":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"EnabledCloudwatchLogsExports":{"shape":"Sx"},"DeletionProtection":{"type":"boolean"}},"wrapper":true},"S1p":{"type":"structure","members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"locationName":"Subnet","type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"shape":"S1s"},"SubnetStatus":{}}}},"DBSubnetGroupArn":{}},"wrapper":true},"S1s":{"type":"structure","members":{"Name":{}},"wrapper":true},"S26":{"type":"list","member":{"locationName":"SubnetIdentifier"}},"S2o":{"type":"list","member":{"locationName":"Filter","type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{"locationName":"Value"}}}}},"S2z":{"type":"list","member":{"locationName":"Parameter","type":"structure","members":{"ParameterName":{},"ParameterValue":{},"Description":{},"Source":{},"ApplyType":{},"DataType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"MinimumEngineVersion":{},"ApplyMethod":{}}}},"S34":{"type":"structure","members":{"DBClusterSnapshotIdentifier":{},"DBClusterSnapshotAttributes":{"type":"list","member":{"locationName":"DBClusterSnapshotAttribute","type":"structure","members":{"AttributeName":{},"AttributeValues":{"shape":"S37"}}}}},"wrapper":true},"S37":{"type":"list","member":{"locationName":"AttributeValue"}},"S3i":{"type":"structure","members":{"CharacterSetName":{},"CharacterSetDescription":{}}},"S41":{"type":"structure","members":{"DBParameterGroupFamily":{},"Marker":{},"Parameters":{"shape":"S2z"}},"wrapper":true},"S4u":{"type":"list","member":{"locationName":"Range","type":"structure","members":{"From":{"type":"integer"},"To":{"type":"integer"},"Step":{"type":"integer"}}}},"S54":{"type":"structure","members":{"EnableLogTypes":{"shape":"Sx"},"DisableLogTypes":{"shape":"Sx"}}},"S59":{"type":"structure","members":{"DBClusterParameterGroupName":{}}},"S5f":{"type":"structure","members":{"DBParameterGroupName":{}}}}}; - module.exports.sync = (cmd, args, opts) => { - const parsed = handleArgs(cmd, args, opts); - const joinedCmd = joinCmd(cmd, args); +/***/ }), - if (isStream(parsed.opts.input)) { - throw new TypeError( - "The `input` option cannot be a stream in sync mode" - ); - } +/***/ 1413: +/***/ (function(module) { - const result = childProcess.spawnSync( - parsed.cmd, - parsed.args, - parsed.opts - ); - result.code = result.status; +module.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":true}}}},"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":true}}}}},"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":true}},"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":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"}}}},"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":true},"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":true},"Sk":{"type":"structure","members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{}},"wrapper":true},"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":true},"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":true},"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":true},"S1b":{"type":"structure","members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"locationName":"Subnet","type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"shape":"S1e"},"SubnetStatus":{}}}}},"wrapper":true},"S1e":{"type":"structure","members":{"Name":{}},"wrapper":true},"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":true},"S47":{"type":"list","member":{"locationName":"RecurringCharge","type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}},"wrapper":true}},"S4k":{"type":"structure","members":{"DBParameterGroupName":{}}}}}; - if (result.error || result.status !== 0 || result.signal !== null) { - const err = makeError(result, { - joinedCmd, - parsed, - }); +/***/ }), - if (!parsed.opts.reject) { - return err; - } +/***/ 1418: +/***/ (function(module) { - throw err; +module.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"}]}}}; + +/***/ }), + +/***/ 1420: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['elbv2'] = {}; +AWS.ELBv2 = Service.defineService('elbv2', ['2015-12-01']); +Object.defineProperty(apiLoader.services['elbv2'], '2015-12-01', { + get: function get() { + var model = __webpack_require__(9843); + model.paginators = __webpack_require__(956).pagination; + model.waiters = __webpack_require__(4303).waiters; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.ELBv2; + + +/***/ }), + +/***/ 1426: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-03","endpointPrefix":"outposts","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Outposts","serviceFullName":"AWS Outposts","serviceId":"Outposts","signatureVersion":"v4","signingName":"outposts","uid":"outposts-2019-12-03"},"operations":{"CreateOutpost":{"http":{"requestUri":"/outposts"},"input":{"type":"structure","required":["Name","SiteId"],"members":{"Name":{},"Description":{},"SiteId":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"Outpost":{"shape":"Sb"}}}},"DeleteOutpost":{"http":{"method":"DELETE","requestUri":"/outposts/{OutpostId}"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"}}},"output":{"type":"structure","members":{}}},"DeleteSite":{"http":{"method":"DELETE","requestUri":"/sites/{SiteId}"},"input":{"type":"structure","required":["SiteId"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"}}},"output":{"type":"structure","members":{}}},"GetOutpost":{"http":{"method":"GET","requestUri":"/outposts/{OutpostId}"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"}}},"output":{"type":"structure","members":{"Outpost":{"shape":"Sb"}}}},"GetOutpostInstanceTypes":{"http":{"method":"GET","requestUri":"/outposts/{OutpostId}/instanceTypes"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"},"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"InstanceTypes":{"type":"list","member":{"type":"structure","members":{"InstanceType":{}}}},"NextToken":{},"OutpostId":{},"OutpostArn":{}}}},"ListOutposts":{"http":{"method":"GET","requestUri":"/outposts"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Outposts":{"type":"list","member":{"shape":"Sb"}},"NextToken":{}}}},"ListSites":{"http":{"method":"GET","requestUri":"/sites"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Sites":{"type":"list","member":{"type":"structure","members":{"SiteId":{},"AccountId":{},"Name":{},"Description":{},"Tags":{"shape":"S7"}}}},"NextToken":{}}}}},"shapes":{"S7":{"type":"map","key":{},"value":{}},"Sb":{"type":"structure","members":{"OutpostId":{},"OwnerId":{},"OutpostArn":{},"SiteId":{},"Name":{},"Description":{},"LifeCycleStatus":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tags":{"shape":"S7"}}}}}; + +/***/ }), + +/***/ 1429: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['eks'] = {}; +AWS.EKS = Service.defineService('eks', ['2017-11-01']); +Object.defineProperty(apiLoader.services['eks'], '2017-11-01', { + get: function get() { + var model = __webpack_require__(3370); + model.paginators = __webpack_require__(6823).pagination; + model.waiters = __webpack_require__(912).waiters; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.EKS; + + +/***/ }), + +/***/ 1437: +/***/ (function(module) { + +module.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"}]}}}; + +/***/ }), + +/***/ 1455: +/***/ (function(module) { + +module.exports = {"pagination":{"ListCertificateAuthorities":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CertificateAuthorities"},"ListPermissions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Permissions"},"ListTags":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Tags"}}}; + +/***/ }), + +/***/ 1459: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2013-11-01","endpointPrefix":"cloudtrail","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"CloudTrail","serviceFullName":"AWS CloudTrail","serviceId":"CloudTrail","signatureVersion":"v4","targetPrefix":"com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101","uid":"cloudtrail-2013-11-01"},"operations":{"AddTags":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"TagsList":{"shape":"S3"}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateTrail":{"input":{"type":"structure","required":["Name","S3BucketName"],"members":{"Name":{},"S3BucketName":{},"S3KeyPrefix":{},"SnsTopicName":{},"IncludeGlobalServiceEvents":{"type":"boolean"},"IsMultiRegionTrail":{"type":"boolean"},"EnableLogFileValidation":{"type":"boolean"},"CloudWatchLogsLogGroupArn":{},"CloudWatchLogsRoleArn":{},"KmsKeyId":{},"IsOrganizationTrail":{"type":"boolean"},"TagsList":{"shape":"S3"}}},"output":{"type":"structure","members":{"Name":{},"S3BucketName":{},"S3KeyPrefix":{},"SnsTopicName":{"deprecated":true},"SnsTopicARN":{},"IncludeGlobalServiceEvents":{"type":"boolean"},"IsMultiRegionTrail":{"type":"boolean"},"TrailARN":{},"LogFileValidationEnabled":{"type":"boolean"},"CloudWatchLogsLogGroupArn":{},"CloudWatchLogsRoleArn":{},"KmsKeyId":{},"IsOrganizationTrail":{"type":"boolean"}}},"idempotent":true},"DeleteTrail":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DescribeTrails":{"input":{"type":"structure","members":{"trailNameList":{"type":"list","member":{}},"includeShadowTrails":{"type":"boolean"}}},"output":{"type":"structure","members":{"trailList":{"type":"list","member":{"shape":"Sf"}}}},"idempotent":true},"GetEventSelectors":{"input":{"type":"structure","required":["TrailName"],"members":{"TrailName":{}}},"output":{"type":"structure","members":{"TrailARN":{},"EventSelectors":{"shape":"Si"},"AdvancedEventSelectors":{"shape":"Sp"}}},"idempotent":true},"GetInsightSelectors":{"input":{"type":"structure","required":["TrailName"],"members":{"TrailName":{}}},"output":{"type":"structure","members":{"TrailARN":{},"InsightSelectors":{"shape":"Sz"}}},"idempotent":true},"GetTrail":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Trail":{"shape":"Sf"}}},"idempotent":true},"GetTrailStatus":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"IsLogging":{"type":"boolean"},"LatestDeliveryError":{},"LatestNotificationError":{},"LatestDeliveryTime":{"type":"timestamp"},"LatestNotificationTime":{"type":"timestamp"},"StartLoggingTime":{"type":"timestamp"},"StopLoggingTime":{"type":"timestamp"},"LatestCloudWatchLogsDeliveryError":{},"LatestCloudWatchLogsDeliveryTime":{"type":"timestamp"},"LatestDigestDeliveryTime":{"type":"timestamp"},"LatestDigestDeliveryError":{},"LatestDeliveryAttemptTime":{},"LatestNotificationAttemptTime":{},"LatestNotificationAttemptSucceeded":{},"LatestDeliveryAttemptSucceeded":{},"TimeLoggingStarted":{},"TimeLoggingStopped":{}}},"idempotent":true},"ListPublicKeys":{"input":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"NextToken":{}}},"output":{"type":"structure","members":{"PublicKeyList":{"type":"list","member":{"type":"structure","members":{"Value":{"type":"blob"},"ValidityStartTime":{"type":"timestamp"},"ValidityEndTime":{"type":"timestamp"},"Fingerprint":{}}}},"NextToken":{}}},"idempotent":true},"ListTags":{"input":{"type":"structure","required":["ResourceIdList"],"members":{"ResourceIdList":{"type":"list","member":{}},"NextToken":{}}},"output":{"type":"structure","members":{"ResourceTagList":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"TagsList":{"shape":"S3"}}}},"NextToken":{}}},"idempotent":true},"ListTrails":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","members":{"Trails":{"type":"list","member":{"type":"structure","members":{"TrailARN":{},"Name":{},"HomeRegion":{}}}},"NextToken":{}}},"idempotent":true},"LookupEvents":{"input":{"type":"structure","members":{"LookupAttributes":{"type":"list","member":{"type":"structure","required":["AttributeKey","AttributeValue"],"members":{"AttributeKey":{},"AttributeValue":{}}}},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"EventCategory":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Events":{"type":"list","member":{"type":"structure","members":{"EventId":{},"EventName":{},"ReadOnly":{},"AccessKeyId":{},"EventTime":{"type":"timestamp"},"EventSource":{},"Username":{},"Resources":{"type":"list","member":{"type":"structure","members":{"ResourceType":{},"ResourceName":{}}}},"CloudTrailEvent":{}}}},"NextToken":{}}},"idempotent":true},"PutEventSelectors":{"input":{"type":"structure","required":["TrailName"],"members":{"TrailName":{},"EventSelectors":{"shape":"Si"},"AdvancedEventSelectors":{"shape":"Sp"}}},"output":{"type":"structure","members":{"TrailARN":{},"EventSelectors":{"shape":"Si"},"AdvancedEventSelectors":{"shape":"Sp"}}},"idempotent":true},"PutInsightSelectors":{"input":{"type":"structure","required":["TrailName","InsightSelectors"],"members":{"TrailName":{},"InsightSelectors":{"shape":"Sz"}}},"output":{"type":"structure","members":{"TrailARN":{},"InsightSelectors":{"shape":"Sz"}}},"idempotent":true},"RemoveTags":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"TagsList":{"shape":"S3"}}},"output":{"type":"structure","members":{}},"idempotent":true},"StartLogging":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"StopLogging":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateTrail":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"S3BucketName":{},"S3KeyPrefix":{},"SnsTopicName":{},"IncludeGlobalServiceEvents":{"type":"boolean"},"IsMultiRegionTrail":{"type":"boolean"},"EnableLogFileValidation":{"type":"boolean"},"CloudWatchLogsLogGroupArn":{},"CloudWatchLogsRoleArn":{},"KmsKeyId":{},"IsOrganizationTrail":{"type":"boolean"}}},"output":{"type":"structure","members":{"Name":{},"S3BucketName":{},"S3KeyPrefix":{},"SnsTopicName":{"deprecated":true},"SnsTopicARN":{},"IncludeGlobalServiceEvents":{"type":"boolean"},"IsMultiRegionTrail":{"type":"boolean"},"TrailARN":{},"LogFileValidationEnabled":{"type":"boolean"},"CloudWatchLogsLogGroupArn":{},"CloudWatchLogsRoleArn":{},"KmsKeyId":{},"IsOrganizationTrail":{"type":"boolean"}}},"idempotent":true}},"shapes":{"S3":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"Sf":{"type":"structure","members":{"Name":{},"S3BucketName":{},"S3KeyPrefix":{},"SnsTopicName":{"deprecated":true},"SnsTopicARN":{},"IncludeGlobalServiceEvents":{"type":"boolean"},"IsMultiRegionTrail":{"type":"boolean"},"HomeRegion":{},"TrailARN":{},"LogFileValidationEnabled":{"type":"boolean"},"CloudWatchLogsLogGroupArn":{},"CloudWatchLogsRoleArn":{},"KmsKeyId":{},"HasCustomEventSelectors":{"type":"boolean"},"HasInsightSelectors":{"type":"boolean"},"IsOrganizationTrail":{"type":"boolean"}}},"Si":{"type":"list","member":{"type":"structure","members":{"ReadWriteType":{},"IncludeManagementEvents":{"type":"boolean"},"DataResources":{"type":"list","member":{"type":"structure","members":{"Type":{},"Values":{"type":"list","member":{}}}}},"ExcludeManagementEventSources":{"type":"list","member":{}}}}},"Sp":{"type":"list","member":{"type":"structure","required":["FieldSelectors"],"members":{"Name":{},"FieldSelectors":{"type":"list","member":{"type":"structure","required":["Field"],"members":{"Field":{},"Equals":{"shape":"Sv"},"StartsWith":{"shape":"Sv"},"EndsWith":{"shape":"Sv"},"NotEquals":{"shape":"Sv"},"NotStartsWith":{"shape":"Sv"},"NotEndsWith":{"shape":"Sv"}}}}}}},"Sv":{"type":"list","member":{}},"Sz":{"type":"list","member":{"type":"structure","members":{"InsightType":{}}}}}}; + +/***/ }), + +/***/ 1469: +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + +var __importStar = (this && this.__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; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +// Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts +const graphql_1 = __webpack_require__(4898); +const rest_1 = __webpack_require__(0); +const Context = __importStar(__webpack_require__(7262)); +const httpClient = __importStar(__webpack_require__(6539)); +// We need this in order to extend Octokit +rest_1.Octokit.prototype = new rest_1.Octokit(); +exports.context = new Context.Context(); +class GitHub extends rest_1.Octokit { + constructor(token, opts) { + super(GitHub.getOctokitOptions(GitHub.disambiguate(token, opts))); + this.graphql = GitHub.getGraphQL(GitHub.disambiguate(token, opts)); + } + /** + * Disambiguates the constructor overload parameters + */ + static disambiguate(token, opts) { + return [ + typeof token === 'string' ? token : '', + typeof token === 'object' ? token : opts || {} + ]; + } + static getOctokitOptions(args) { + const token = args[0]; + const options = Object.assign({}, args[1]); // Shallow clone - don't mutate the object provided by the caller + // Auth + const auth = GitHub.getAuthString(token, options); + if (auth) { + options.auth = auth; + } + // Proxy + const agent = GitHub.getProxyAgent(options); + if (agent) { + // Shallow clone - don't mutate the object provided by the caller + options.request = options.request ? Object.assign({}, options.request) : {}; + // Set the agent + options.request.agent = agent; + } + return options; + } + static getGraphQL(args) { + const defaults = {}; + const token = args[0]; + const options = args[1]; + // Authorization + const auth = this.getAuthString(token, options); + if (auth) { + defaults.headers = { + authorization: auth + }; + } + // Proxy + const agent = GitHub.getProxyAgent(options); + if (agent) { + defaults.request = { agent }; } + return graphql_1.graphql.defaults(defaults); + } + static getAuthString(token, options) { + // Validate args + if (!token && !options.auth) { + throw new Error('Parameter token or opts.auth is required'); + } + else if (token && options.auth) { + throw new Error('Parameters token and opts.auth may not both be specified'); + } + return typeof options.auth === 'string' ? options.auth : `token ${token}`; + } + static getProxyAgent(options) { + var _a; + if (!((_a = options.request) === null || _a === void 0 ? void 0 : _a.agent)) { + const serverUrl = 'https://api.github.com'; + if (httpClient.getProxyUrl(serverUrl)) { + const hc = new httpClient.HttpClient(); + return hc.getAgent(serverUrl); + } + } + return undefined; + } +} +exports.GitHub = GitHub; +//# sourceMappingURL=github.js.map - return { - stdout: handleOutput(parsed.opts, result.stdout), - stderr: handleOutput(parsed.opts, result.stderr), - code: 0, - failed: false, - signal: null, - cmd: joinedCmd, - timedOut: false, - }; - }; +/***/ }), - module.exports.shellSync = (cmd, opts) => - handleShell(module.exports.sync, cmd, opts); +/***/ 1471: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +module.exports = authenticationBeforeRequest; - /***/ 1957: /***/ function (module) { - module.exports = { - pagination: { - ListClusters: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "ClusterInfoList", - }, - ListConfigurations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Configurations", - }, - ListKafkaVersions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "KafkaVersions", - }, - ListNodes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "NodeInfoList", - }, - ListClusterOperations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "ClusterOperationInfoList", - }, - ListConfigurationRevisions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Revisions", - }, - }, - }; +const btoa = __webpack_require__(4675); +const uniq = __webpack_require__(126); - /***/ - }, +function authenticationBeforeRequest(state, options) { + if (!state.auth.type) { + return; + } - /***/ 1969: /***/ function (module) { - module.exports = { pagination: {} }; + if (state.auth.type === "basic") { + const hash = btoa(`${state.auth.username}:${state.auth.password}`); + options.headers.authorization = `Basic ${hash}`; + return; + } - /***/ - }, + if (state.auth.type === "token") { + options.headers.authorization = `token ${state.auth.token}`; + return; + } - /***/ 1971: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-11-01", - endpointPrefix: "opsworks-cm", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "OpsWorksCM", - serviceFullName: "AWS OpsWorks CM", - serviceId: "OpsWorksCM", - signatureVersion: "v4", - signingName: "opsworks-cm", - targetPrefix: "OpsWorksCM_V2016_11_01", - uid: "opsworkscm-2016-11-01", - }, - operations: { - AssociateNode: { - input: { - type: "structure", - required: ["ServerName", "NodeName", "EngineAttributes"], - members: { - ServerName: {}, - NodeName: {}, - EngineAttributes: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { NodeAssociationStatusToken: {} }, - }, - }, - CreateBackup: { - input: { - type: "structure", - required: ["ServerName"], - members: { - ServerName: {}, - Description: {}, - Tags: { shape: "Sc" }, - }, - }, - output: { type: "structure", members: { Backup: { shape: "Sh" } } }, - }, - CreateServer: { - input: { - type: "structure", - required: [ - "ServerName", - "InstanceProfileArn", - "InstanceType", - "ServiceRoleArn", - ], - members: { - AssociatePublicIpAddress: { type: "boolean" }, - CustomDomain: {}, - CustomCertificate: {}, - CustomPrivateKey: { type: "string", sensitive: true }, - DisableAutomatedBackup: { type: "boolean" }, - Engine: {}, - EngineModel: {}, - EngineVersion: {}, - EngineAttributes: { shape: "S4" }, - BackupRetentionCount: { type: "integer" }, - ServerName: {}, - InstanceProfileArn: {}, - InstanceType: {}, - KeyPair: {}, - PreferredMaintenanceWindow: {}, - PreferredBackupWindow: {}, - SecurityGroupIds: { shape: "Sn" }, - ServiceRoleArn: {}, - SubnetIds: { shape: "Sn" }, - Tags: { shape: "Sc" }, - BackupId: {}, - }, - }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, - }, - DeleteBackup: { - input: { - type: "structure", - required: ["BackupId"], - members: { BackupId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteServer: { - input: { - type: "structure", - required: ["ServerName"], - members: { ServerName: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeAccountAttributes: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - Attributes: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Maximum: { type: "integer" }, - Used: { type: "integer" }, - }, - }, - }, - }, - }, - }, - DescribeBackups: { - input: { - type: "structure", - members: { - BackupId: {}, - ServerName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Backups: { type: "list", member: { shape: "Sh" } }, - NextToken: {}, - }, - }, - }, - DescribeEvents: { - input: { - type: "structure", - required: ["ServerName"], - members: { - ServerName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - ServerEvents: { - type: "list", - member: { - type: "structure", - members: { - CreatedAt: { type: "timestamp" }, - ServerName: {}, - Message: {}, - LogUrl: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeNodeAssociationStatus: { - input: { - type: "structure", - required: ["NodeAssociationStatusToken", "ServerName"], - members: { NodeAssociationStatusToken: {}, ServerName: {} }, - }, - output: { - type: "structure", - members: { - NodeAssociationStatus: {}, - EngineAttributes: { shape: "S4" }, - }, - }, - }, - DescribeServers: { - input: { - type: "structure", - members: { - ServerName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Servers: { type: "list", member: { shape: "Sz" } }, - NextToken: {}, - }, - }, - }, - DisassociateNode: { - input: { - type: "structure", - required: ["ServerName", "NodeName"], - members: { - ServerName: {}, - NodeName: {}, - EngineAttributes: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { NodeAssociationStatusToken: {} }, - }, - }, - ExportServerEngineAttribute: { - input: { - type: "structure", - required: ["ExportAttributeName", "ServerName"], - members: { - ExportAttributeName: {}, - ServerName: {}, - InputAttributes: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { EngineAttribute: { shape: "S5" }, ServerName: {} }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "Sc" }, NextToken: {} }, - }, - }, - RestoreServer: { - input: { - type: "structure", - required: ["BackupId", "ServerName"], - members: { - BackupId: {}, - ServerName: {}, - InstanceType: {}, - KeyPair: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - StartMaintenance: { - input: { - type: "structure", - required: ["ServerName"], - members: { ServerName: {}, EngineAttributes: { shape: "S4" } }, - }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "Sc" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateServer: { - input: { - type: "structure", - required: ["ServerName"], - members: { - DisableAutomatedBackup: { type: "boolean" }, - BackupRetentionCount: { type: "integer" }, - ServerName: {}, - PreferredMaintenanceWindow: {}, - PreferredBackupWindow: {}, - }, - }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, - }, - UpdateServerEngineAttributes: { - input: { - type: "structure", - required: ["ServerName", "AttributeName"], - members: { - ServerName: {}, - AttributeName: {}, - AttributeValue: {}, - }, - }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, - }, - }, - shapes: { - S4: { type: "list", member: { shape: "S5" } }, - S5: { - type: "structure", - members: { Name: {}, Value: { type: "string", sensitive: true } }, - }, - Sc: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sh: { - type: "structure", - members: { - BackupArn: {}, - BackupId: {}, - BackupType: {}, - CreatedAt: { type: "timestamp" }, - Description: {}, - Engine: {}, - EngineModel: {}, - EngineVersion: {}, - InstanceProfileArn: {}, - InstanceType: {}, - KeyPair: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - S3DataSize: { deprecated: true, type: "integer" }, - S3DataUrl: { deprecated: true }, - S3LogUrl: {}, - SecurityGroupIds: { shape: "Sn" }, - ServerName: {}, - ServiceRoleArn: {}, - Status: {}, - StatusDescription: {}, - SubnetIds: { shape: "Sn" }, - ToolsVersion: {}, - UserArn: {}, - }, - }, - Sn: { type: "list", member: {} }, - Sz: { - type: "structure", - members: { - AssociatePublicIpAddress: { type: "boolean" }, - BackupRetentionCount: { type: "integer" }, - ServerName: {}, - CreatedAt: { type: "timestamp" }, - CloudFormationStackArn: {}, - CustomDomain: {}, - DisableAutomatedBackup: { type: "boolean" }, - Endpoint: {}, - Engine: {}, - EngineModel: {}, - EngineAttributes: { shape: "S4" }, - EngineVersion: {}, - InstanceProfileArn: {}, - InstanceType: {}, - KeyPair: {}, - MaintenanceStatus: {}, - PreferredMaintenanceWindow: {}, - PreferredBackupWindow: {}, - SecurityGroupIds: { shape: "Sn" }, - ServiceRoleArn: {}, - Status: {}, - StatusReason: {}, - SubnetIds: { shape: "Sn" }, - ServerArn: {}, - }, - }, - }, - }; + if (state.auth.type === "app") { + options.headers.authorization = `Bearer ${state.auth.token}`; + const acceptHeaders = options.headers.accept + .split(",") + .concat("application/vnd.github.machine-man-preview+json"); + options.headers.accept = uniq(acceptHeaders) + .filter(Boolean) + .join(","); + return; + } - /***/ - }, + options.url += options.url.indexOf("?") === -1 ? "?" : "&"; - /***/ 1986: /***/ function (module) { - module.exports = { - pagination: { - DescribeHomeRegionControls: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; + if (state.auth.token) { + options.url += `access_token=${encodeURIComponent(state.auth.token)}`; + return; + } - /***/ - }, + const key = encodeURIComponent(state.auth.key); + const secret = encodeURIComponent(state.auth.secret); + options.url += `client_id=${key}&client_secret=${secret}`; +} + + +/***/ }), + +/***/ 1479: +/***/ (function(module) { + +module.exports = {"pagination":{"GetCurrentMetricData":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetMetricData":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListApprovedOrigins":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Origins"},"ListContactFlows":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ContactFlowSummaryList"},"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"},"ListQueues":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"QueueSummaryList"},"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"},"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"}}}; + +/***/ }), + +/***/ 1487: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['s3outposts'] = {}; +AWS.S3Outposts = Service.defineService('s3outposts', ['2017-07-25']); +Object.defineProperty(apiLoader.services['s3outposts'], '2017-07-25', { + get: function get() { + var model = __webpack_require__(9492); + model.paginators = __webpack_require__(124).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.S3Outposts; + + +/***/ }), + +/***/ 1489: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var s3util = __webpack_require__(9338); +var regionUtil = __webpack_require__(3546); + +AWS.util.update(AWS.S3Control.prototype, { + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + request.addListener('extractError', this.extractHostId); + request.addListener('extractData', this.extractHostId); + request.addListener('validate', this.validateAccountId); + + var isArnInBucket = s3util.isArnInParam(request, 'Bucket'); + var isArnInName = s3util.isArnInParam(request, 'Name'); + + if (isArnInBucket) { + request.service._parsedArn = AWS.util.ARN.parse(request.params['Bucket']); + request.service.signingName = request.service._parsedArn.service; + request.addListener('validate', this.validateOutpostsBucketArn); + request.addListener('validate', s3util.validateOutpostsArn); + request.addListener('afterBuild', this.addOutpostIdHeader); + } else if (isArnInName) { + request.service._parsedArn = AWS.util.ARN.parse(request.params['Name']); + request.service.signingName = request.service._parsedArn.service; + request.addListener('validate', s3util.validateOutpostsAccessPointArn); + request.addListener('validate', s3util.validateOutpostsArn); + request.addListener('afterBuild', this.addOutpostIdHeader); + } + + if (isArnInBucket || isArnInName) { + request.addListener('validate', s3util.validateArnRegion); + request.addListener('validate', this.validateArnAccountWithParams, true); + request.addListener('validate', s3util.validateArnAccount); + request.addListener('validate', s3util.validateArnService); + request.addListener('build', this.populateParamFromArn, true); + request.addListener('build', this.populateUriFromArn); + request.addListener('build', s3util.validatePopulateUriFromArn); + } + + if (request.params.OutpostId && + (request.operation === 'createBucket' || + request.operation === 'listRegionalBuckets')) { + request.service.signingName = 's3-outposts'; + request.addListener('build', this.populateEndpointForOutpostId); + } + }, + + /** + * Adds outpostId header + */ + addOutpostIdHeader: function addOutpostIdHeader(req) { + req.httpRequest.headers['x-amz-outpost-id'] = req.service._parsedArn.outpostId; + }, + + /** + * Validate Outposts ARN supplied in Bucket parameter is a valid bucket name + */ + validateOutpostsBucketArn: function validateOutpostsBucketArn(req) { + var parsedArn = req.service._parsedArn; + + //can be ':' or '/' + var delimiter = parsedArn.resource['outpost'.length]; + + if (parsedArn.resource.split(delimiter).length !== 4) { + throw AWS.util.error(new Error(), { + code: 'InvalidARN', + message: 'Bucket ARN should have two resources outpost/{outpostId}/bucket/{accesspointName}' + }); + } - /***/ 2007: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - __webpack_require__(1371); - - AWS.util.update(AWS.DynamoDB.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.service.config.dynamoDbCrc32) { - request.removeListener( - "extractData", - AWS.EventListeners.Json.EXTRACT_DATA - ); - request.addListener("extractData", this.checkCrc32); - request.addListener( - "extractData", - AWS.EventListeners.Json.EXTRACT_DATA + var bucket = parsedArn.resource.split(delimiter)[3]; + if (!s3util.dnsCompatibleBucketName(bucket) || bucket.match(/\./)) { + throw AWS.util.error(new Error(), { + code: 'InvalidARN', + message: 'Bucket ARN is not DNS compatible. Got ' + bucket + }); + } + + //set parsed valid bucket + req.service._parsedArn.bucket = bucket; + }, + + /** + * @api private + */ + populateParamFromArn: function populateParamFromArn(req) { + var parsedArn = req.service._parsedArn; + if (s3util.isArnInParam(req, 'Bucket')) { + req.params.Bucket = parsedArn.bucket; + } else if (s3util.isArnInParam(req, 'Name')) { + req.params.Name = parsedArn.accessPoint; + } + }, + + /** + * Populate URI according to the ARN + */ + populateUriFromArn: function populateUriFromArn(req) { + var parsedArn = req.service._parsedArn; + + var endpoint = req.httpRequest.endpoint; + var useArnRegion = req.service.config.s3UseArnRegion; + + endpoint.hostname = [ + 's3-outposts', + useArnRegion ? parsedArn.region : req.service.config.region, + 'amazonaws.com' + ].join('.'); + endpoint.host = endpoint.hostname; + }, + + /** + * @api private + */ + populateEndpointForOutpostId: function populateEndpointForOutpostId(req) { + var endpoint = req.httpRequest.endpoint; + endpoint.hostname = [ + 's3-outposts', + req.service.config.region, + 'amazonaws.com' + ].join('.'); + endpoint.host = endpoint.hostname; + }, + + /** + * @api private + */ + extractHostId: function(response) { + var hostId = response.httpResponse.headers ? response.httpResponse.headers['x-amz-id-2'] : null; + response.extendedRequestId = hostId; + if (response.error) { + response.error.extendedRequestId = hostId; + } + }, + + /** + * @api private + */ + validateArnAccountWithParams: function validateArnAccountWithParams(req) { + var params = req.params; + var inputModel = req.service.api.operations[req.operation].input; + if (inputModel.members.AccountId) { + var parsedArn = req.service._parsedArn; + if (parsedArn.accountId) { + if (params.AccountId) { + if (params.AccountId !== parsedArn.accountId) { + throw AWS.util.error( + new Error(), + {code: 'ValidationError', message: 'AccountId in ARN and request params should be same.'} ); } - }, + } else { + // Store accountId from ARN in params + params.AccountId = parsedArn.accountId; + } + } + } + }, + + /** + * @api private + */ + validateAccountId: function(request) { + var params = request.params; + if (!Object.prototype.hasOwnProperty.call(params, 'AccountId')) return; + var accountId = params.AccountId; + //validate type + if (typeof accountId !== 'string') { + throw AWS.util.error( + new Error(), + {code: 'ValidationError', message: 'AccountId must be a string.'} + ); + } + //validate length + if (accountId.length < 1 || accountId.length > 63) { + throw AWS.util.error( + new Error(), + {code: 'ValidationError', message: 'AccountId length should be between 1 to 63 characters, inclusive.'} + ); + } + //validate pattern + var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/; + if (!hostPattern.test(accountId)) { + throw AWS.util.error(new Error(), + {code: 'ValidationError', message: 'AccountId should be hostname compatible. AccountId: ' + accountId}); + } + }, + + /** + * @api private + */ + getSigningName: function getSigningName() { + var _super = AWS.Service.prototype.getSigningName; + return (this.signingName) + ? this.signingName + : _super.call(this); + }, +}); + + +/***/ }), + +/***/ 1498: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-10-30","endpointPrefix":"api.ecr-public","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"Amazon ECR Public","serviceFullName":"Amazon Elastic Container Registry Public","serviceId":"ECR PUBLIC","signatureVersion":"v4","signingName":"ecr-public","targetPrefix":"SpencerFrontendService","uid":"ecr-public-2020-10-30"},"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":"Sj"}}},"output":{"type":"structure","members":{"imageIds":{"shape":"Sj"},"failures":{"type":"list","member":{"type":"structure","members":{"imageId":{"shape":"Sk"},"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":{}}}},"CreateRepository":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{},"catalogData":{"shape":"Sx"}}},"output":{"type":"structure","members":{"repository":{"shape":"S17"},"catalogData":{"shape":"S1b"}}}},"DeleteRepository":{"input":{"type":"structure","required":["repositoryName"],"members":{"registryId":{},"repositoryName":{},"force":{"type":"boolean"}}},"output":{"type":"structure","members":{"repository":{"shape":"S17"}}}},"DeleteRepositoryPolicy":{"input":{"type":"structure","required":["repositoryName"],"members":{"registryId":{},"repositoryName":{}}},"output":{"type":"structure","members":{"registryId":{},"repositoryName":{},"policyText":{}}}},"DescribeImageTags":{"input":{"type":"structure","required":["repositoryName"],"members":{"registryId":{},"repositoryName":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"imageTagDetails":{"type":"list","member":{"type":"structure","members":{"imageTag":{},"createdAt":{"type":"timestamp"},"imageDetail":{"type":"structure","members":{"imageDigest":{},"imageSizeInBytes":{"type":"long"},"imagePushedAt":{"type":"timestamp"},"imageManifestMediaType":{},"artifactMediaType":{}}}}}},"nextToken":{}}}},"DescribeImages":{"input":{"type":"structure","required":["repositoryName"],"members":{"registryId":{},"repositoryName":{},"imageIds":{"shape":"Sj"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"imageDetails":{"type":"list","member":{"type":"structure","members":{"registryId":{},"repositoryName":{},"imageDigest":{},"imageTags":{"type":"list","member":{}},"imageSizeInBytes":{"type":"long"},"imagePushedAt":{"type":"timestamp"},"imageManifestMediaType":{},"artifactMediaType":{}}}},"nextToken":{}}}},"DescribeRegistries":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["registries"],"members":{"registries":{"type":"list","member":{"type":"structure","required":["registryId","registryArn","registryUri","verified","aliases"],"members":{"registryId":{},"registryArn":{},"registryUri":{},"verified":{"type":"boolean"},"aliases":{"type":"list","member":{"type":"structure","required":["name","status","primaryRegistryAlias","defaultRegistryAlias"],"members":{"name":{},"status":{},"primaryRegistryAlias":{"type":"boolean"},"defaultRegistryAlias":{"type":"boolean"}}}}}}},"nextToken":{}}}},"DescribeRepositories":{"input":{"type":"structure","members":{"registryId":{},"repositoryNames":{"type":"list","member":{}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"repositories":{"type":"list","member":{"shape":"S17"}},"nextToken":{}}}},"GetAuthorizationToken":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"authorizationData":{"type":"structure","members":{"authorizationToken":{},"expiresAt":{"type":"timestamp"}}}}}},"GetRegistryCatalogData":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["registryCatalogData"],"members":{"registryCatalogData":{"shape":"S2k"}}}},"GetRepositoryCatalogData":{"input":{"type":"structure","required":["repositoryName"],"members":{"registryId":{},"repositoryName":{}}},"output":{"type":"structure","members":{"catalogData":{"shape":"S1b"}}}},"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"}}}},"PutImage":{"input":{"type":"structure","required":["repositoryName","imageManifest"],"members":{"registryId":{},"repositoryName":{},"imageManifest":{},"imageManifestMediaType":{},"imageTag":{},"imageDigest":{}}},"output":{"type":"structure","members":{"image":{"type":"structure","members":{"registryId":{},"repositoryName":{},"imageId":{"shape":"Sk"},"imageManifest":{},"imageManifestMediaType":{}}}}}},"PutRegistryCatalogData":{"input":{"type":"structure","members":{"displayName":{}}},"output":{"type":"structure","required":["registryCatalogData"],"members":{"registryCatalogData":{"shape":"S2k"}}}},"PutRepositoryCatalogData":{"input":{"type":"structure","required":["repositoryName","catalogData"],"members":{"registryId":{},"repositoryName":{},"catalogData":{"shape":"Sx"}}},"output":{"type":"structure","members":{"catalogData":{"shape":"S1b"}}}},"SetRepositoryPolicy":{"input":{"type":"structure","required":["repositoryName","policyText"],"members":{"registryId":{},"repositoryName":{},"policyText":{},"force":{"type":"boolean"}}},"output":{"type":"structure","members":{"registryId":{},"repositoryName":{},"policyText":{}}}},"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":{"Sj":{"type":"list","member":{"shape":"Sk"}},"Sk":{"type":"structure","members":{"imageDigest":{},"imageTag":{}}},"Sx":{"type":"structure","members":{"description":{},"architectures":{"shape":"Sz"},"operatingSystems":{"shape":"S11"},"logoImageBlob":{"type":"blob"},"aboutText":{},"usageText":{}}},"Sz":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S17":{"type":"structure","members":{"repositoryArn":{},"registryId":{},"repositoryName":{},"repositoryUri":{},"createdAt":{"type":"timestamp"}}},"S1b":{"type":"structure","members":{"description":{},"architectures":{"shape":"Sz"},"operatingSystems":{"shape":"S11"},"logoUrl":{},"aboutText":{},"usageText":{},"marketplaceCertified":{"type":"boolean"}}},"S2k":{"type":"structure","members":{"displayName":{}}}}}; + +/***/ }), + +/***/ 1511: +/***/ (function(module) { + +module.exports = {"version":2,"waiters":{"InstanceExists":{"delay":5,"maxAttempts":40,"operation":"DescribeInstances","acceptors":[{"matcher":"path","expected":true,"argument":"length(Reservations[]) > `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":true,"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"}]},"KeyPairExists":{"operation":"DescribeKeyPairs","delay":5,"maxAttempts":6,"acceptors":[{"expected":true,"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":true}]},"SnapshotCompleted":{"delay":15,"operation":"DescribeSnapshots","maxAttempts":40,"acceptors":[{"expected":"completed","matcher":"pathAll","state":"success","argument":"Snapshots[].State"}]},"SecurityGroupExists":{"operation":"DescribeSecurityGroups","delay":5,"maxAttempts":6,"acceptors":[{"expected":true,"matcher":"path","state":"success","argument":"length(SecurityGroups[].GroupId) > `0`"},{"expected":"InvalidGroupNotFound","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"}]}}}; + +/***/ }), + +/***/ 1514: +/***/ (function(__unusedmodule, exports) { + +// Generated by CoffeeScript 1.12.7 +(function() { + exports.defaults = { + "0.1": { + explicitCharkey: false, + trim: true, + normalize: true, + normalizeTags: false, + attrkey: "@", + charkey: "#", + explicitArray: false, + ignoreAttrs: false, + mergeAttrs: false, + explicitRoot: false, + validator: null, + xmlns: false, + explicitChildren: false, + childkey: '@@', + charsAsChildren: false, + includeWhiteChars: false, + async: false, + strict: true, + attrNameProcessors: null, + attrValueProcessors: null, + tagNameProcessors: null, + valueProcessors: null, + emptyTag: '' + }, + "0.2": { + explicitCharkey: false, + trim: false, + normalize: false, + normalizeTags: false, + attrkey: "$", + charkey: "_", + explicitArray: true, + ignoreAttrs: false, + mergeAttrs: false, + explicitRoot: true, + validator: null, + xmlns: false, + explicitChildren: false, + preserveChildrenOrder: false, + childkey: '$$', + charsAsChildren: false, + includeWhiteChars: false, + async: false, + strict: true, + attrNameProcessors: null, + attrValueProcessors: null, + tagNameProcessors: null, + valueProcessors: null, + rootName: 'root', + xmldec: { + 'version': '1.0', + 'encoding': 'UTF-8', + 'standalone': true + }, + doctype: null, + renderOpts: { + 'pretty': true, + 'indent': ' ', + 'newline': '\n' + }, + headless: false, + chunkSize: 10000, + emptyTag: '', + cdata: false + } + }; + +}).call(this); + + +/***/ }), + +/***/ 1520: +/***/ (function(module) { + +module.exports = {"pagination":{"ListCloudFrontOriginAccessIdentities":{"input_token":"Marker","output_token":"CloudFrontOriginAccessIdentityList.NextMarker","limit_key":"MaxItems","more_results":"CloudFrontOriginAccessIdentityList.IsTruncated","result_key":"CloudFrontOriginAccessIdentityList.Items"},"ListDistributions":{"input_token":"Marker","output_token":"DistributionList.NextMarker","limit_key":"MaxItems","more_results":"DistributionList.IsTruncated","result_key":"DistributionList.Items"},"ListInvalidations":{"input_token":"Marker","output_token":"InvalidationList.NextMarker","limit_key":"MaxItems","more_results":"InvalidationList.IsTruncated","result_key":"InvalidationList.Items"},"ListStreamingDistributions":{"input_token":"Marker","output_token":"StreamingDistributionList.NextMarker","limit_key":"MaxItems","more_results":"StreamingDistributionList.IsTruncated","result_key":"StreamingDistributionList.Items"}}}; + +/***/ }), + +/***/ 1527: +/***/ (function(module) { + +module.exports = {"pagination":{"ListGraphs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListInvitations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMembers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; + +/***/ }), + +/***/ 1529: +/***/ (function(module) { + +module.exports = {"pagination":{}}; + +/***/ }), + +/***/ 1530: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['computeoptimizer'] = {}; +AWS.ComputeOptimizer = Service.defineService('computeoptimizer', ['2019-11-01']); +Object.defineProperty(apiLoader.services['computeoptimizer'], '2019-11-01', { + get: function get() { + var model = __webpack_require__(3165); + model.paginators = __webpack_require__(9693).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.ComputeOptimizer; + + +/***/ }), + +/***/ 1531: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { - /** - * @api private - */ - checkCrc32: function checkCrc32(resp) { - if ( - !resp.httpResponse.streaming && - !resp.request.service.crc32IsValid(resp) - ) { - resp.data = null; - resp.error = AWS.util.error(new Error(), { - code: "CRC32CheckFailed", - message: "CRC32 integrity check failed", - retryable: true, - }); - resp.request.haltHandlersOnError(); - throw resp.error; - } - }, +__webpack_require__(4281); - /** - * @api private - */ - crc32IsValid: function crc32IsValid(resp) { - var crc = resp.httpResponse.headers["x-amz-crc32"]; - if (!crc) return true; // no (valid) CRC32 header - return ( - parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body) - ); - }, - /** - * @api private - */ - defaultRetryCount: 10, +/***/ }), - /** - * @api private - */ - retryDelays: function retryDelays(retryCount, err) { - var retryDelayOptions = AWS.util.copy(this.config.retryDelayOptions); +/***/ 1536: +/***/ (function(module, __unusedexports, __webpack_require__) { - if (typeof retryDelayOptions.base !== "number") { - retryDelayOptions.base = 50; // default for dynamodb - } - var delay = AWS.util.calculateRetryDelay( - retryCount, - retryDelayOptions, - err - ); - return delay; - }, - }); +module.exports = hasFirstPage - /***/ - }, +const deprecate = __webpack_require__(6370) +const getPageLinks = __webpack_require__(4577) - /***/ 2020: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +function hasFirstPage (link) { + deprecate(`octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) + return getPageLinks(link).first +} - apiLoader.services["apigatewayv2"] = {}; - AWS.ApiGatewayV2 = Service.defineService("apigatewayv2", ["2018-11-29"]); - Object.defineProperty(apiLoader.services["apigatewayv2"], "2018-11-29", { - get: function get() { - var model = __webpack_require__(5687); - model.paginators = __webpack_require__(4725).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - module.exports = AWS.ApiGatewayV2; +/***/ }), - /***/ - }, +/***/ 1561: +/***/ (function(module) { + +module.exports = {"pagination":{"GetExecutionHistory":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"events"},"ListActivities":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"activities"},"ListExecutions":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"executions"},"ListStateMachines":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"stateMachines"}}}; + +/***/ }), + +/***/ 1583: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var memoizedProperty = __webpack_require__(153).memoizedProperty; + +function memoize(name, value, factory, nameTr) { + memoizedProperty(this, nameTr(name), function() { + return factory(name, value); + }); +} + +function Collection(iterable, options, factory, nameTr, callback) { + nameTr = nameTr || String; + var self = this; + + for (var id in iterable) { + if (Object.prototype.hasOwnProperty.call(iterable, id)) { + memoize.call(self, id, iterable[id], factory, nameTr); + if (callback) callback(id, iterable[id]); + } + } +} + +/** + * @api private + */ +module.exports = Collection; + + +/***/ }), + +/***/ 1592: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['serverlessapplicationrepository'] = {}; +AWS.ServerlessApplicationRepository = Service.defineService('serverlessapplicationrepository', ['2017-09-08']); +Object.defineProperty(apiLoader.services['serverlessapplicationrepository'], '2017-09-08', { + get: function get() { + var model = __webpack_require__(3252); + model.paginators = __webpack_require__(3080).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.ServerlessApplicationRepository; + + +/***/ }), + +/***/ 1595: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"api.elastic-inference","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon Elastic Inference","serviceFullName":"Amazon Elastic Inference","serviceId":"Elastic Inference","signatureVersion":"v4","signingName":"elastic-inference","uid":"elastic-inference-2017-07-25"},"operations":{"DescribeAcceleratorOfferings":{"http":{"requestUri":"/describe-accelerator-offerings"},"input":{"type":"structure","required":["locationType"],"members":{"locationType":{},"acceleratorTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"acceleratorTypeOfferings":{"type":"list","member":{"type":"structure","members":{"acceleratorType":{},"locationType":{},"location":{}}}}}}},"DescribeAcceleratorTypes":{"http":{"method":"GET","requestUri":"/describe-accelerator-types"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"acceleratorTypes":{"type":"list","member":{"type":"structure","members":{"acceleratorTypeName":{},"memoryInfo":{"type":"structure","members":{"sizeInMiB":{"type":"integer"}}},"throughputInfo":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{"type":"integer"}}}}}}}}}},"DescribeAccelerators":{"http":{"requestUri":"/describe-accelerators"},"input":{"type":"structure","members":{"acceleratorIds":{"type":"list","member":{}},"filters":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"acceleratorSet":{"type":"list","member":{"type":"structure","members":{"acceleratorHealth":{"type":"structure","members":{"status":{}}},"acceleratorType":{},"acceleratorId":{},"availabilityZone":{},"attachedResource":{}}}},"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":"S13"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S13"}}},"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":{"S13":{"type":"map","key":{},"value":{}}}}; + +/***/ }), + +/***/ 1596: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-11-01","endpointPrefix":"ingest.timestream","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"Timestream Write","serviceFullName":"Amazon Timestream Write","serviceId":"Timestream Write","signatureVersion":"v4","signingName":"timestream","targetPrefix":"Timestream_20181101","uid":"timestream-write-2018-11-01"},"operations":{"CreateDatabase":{"input":{"type":"structure","required":["DatabaseName"],"members":{"DatabaseName":{},"KmsKeyId":{},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"Database":{"shape":"S9"}}},"endpointdiscovery":{"required":true}},"CreateTable":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"DatabaseName":{},"TableName":{},"RetentionProperties":{"shape":"Se"},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"Table":{"shape":"Si"}}},"endpointdiscovery":{"required":true}},"DeleteDatabase":{"input":{"type":"structure","required":["DatabaseName"],"members":{"DatabaseName":{}}},"endpointdiscovery":{"required":true}},"DeleteTable":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"DatabaseName":{},"TableName":{}}},"endpointdiscovery":{"required":true}},"DescribeDatabase":{"input":{"type":"structure","required":["DatabaseName"],"members":{"DatabaseName":{}}},"output":{"type":"structure","members":{"Database":{"shape":"S9"}}},"endpointdiscovery":{"required":true}},"DescribeEndpoints":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["Endpoints"],"members":{"Endpoints":{"type":"list","member":{"type":"structure","required":["Address","CachePeriodInMinutes"],"members":{"Address":{},"CachePeriodInMinutes":{"type":"long"}}}}}},"endpointoperation":true},"DescribeTable":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"DatabaseName":{},"TableName":{}}},"output":{"type":"structure","members":{"Table":{"shape":"Si"}}},"endpointdiscovery":{"required":true}},"ListDatabases":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Databases":{"type":"list","member":{"shape":"S9"}},"NextToken":{}}},"endpointdiscovery":{"required":true}},"ListTables":{"input":{"type":"structure","members":{"DatabaseName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tables":{"type":"list","member":{"shape":"Si"}},"NextToken":{}}},"endpointdiscovery":{"required":true}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S4"}}},"endpointdiscovery":{"required":true}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{}},"endpointdiscovery":{"required":true}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}},"endpointdiscovery":{"required":true}},"UpdateDatabase":{"input":{"type":"structure","required":["DatabaseName","KmsKeyId"],"members":{"DatabaseName":{},"KmsKeyId":{}}},"output":{"type":"structure","members":{"Database":{"shape":"S9"}}},"endpointdiscovery":{"required":true}},"UpdateTable":{"input":{"type":"structure","required":["DatabaseName","TableName","RetentionProperties"],"members":{"DatabaseName":{},"TableName":{},"RetentionProperties":{"shape":"Se"}}},"output":{"type":"structure","members":{"Table":{"shape":"Si"}}},"endpointdiscovery":{"required":true}},"WriteRecords":{"input":{"type":"structure","required":["DatabaseName","TableName","Records"],"members":{"DatabaseName":{},"TableName":{},"CommonAttributes":{"shape":"S1e"},"Records":{"type":"list","member":{"shape":"S1e"}}}},"endpointdiscovery":{"required":true}}},"shapes":{"S4":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S9":{"type":"structure","members":{"Arn":{},"DatabaseName":{},"TableCount":{"type":"long"},"KmsKeyId":{},"CreationTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"}}},"Se":{"type":"structure","required":["MemoryStoreRetentionPeriodInHours","MagneticStoreRetentionPeriodInDays"],"members":{"MemoryStoreRetentionPeriodInHours":{"type":"long"},"MagneticStoreRetentionPeriodInDays":{"type":"long"}}},"Si":{"type":"structure","members":{"Arn":{},"TableName":{},"DatabaseName":{},"TableStatus":{},"RetentionProperties":{"shape":"Se"},"CreationTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"}}},"S1e":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{},"DimensionValueType":{}}}},"MeasureName":{},"MeasureValue":{},"MeasureValueType":{},"Time":{},"TimeUnit":{},"Version":{"type":"long"}}}}}; + +/***/ }), + +/***/ 1599: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +AWS.util.update(AWS.MachineLearning.prototype, { + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + if (request.operation === 'predict') { + request.addListener('build', this.buildEndpoint); + } + }, + + /** + * Updates request endpoint from PredictEndpoint + * @api private + */ + buildEndpoint: function buildEndpoint(request) { + var url = request.params.PredictEndpoint; + if (url) { + request.httpRequest.endpoint = new AWS.Endpoint(url); + } + } + +}); - /***/ 2028: /***/ function (module) { - module.exports = { pagination: {} }; - /***/ +/***/ }), + +/***/ 1602: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['translate'] = {}; +AWS.Translate = Service.defineService('translate', ['2017-07-01']); +Object.defineProperty(apiLoader.services['translate'], '2017-07-01', { + get: function get() { + var model = __webpack_require__(5452); + model.paginators = __webpack_require__(324).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.Translate; + + +/***/ }), + +/***/ 1607: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['amp'] = {}; +AWS.Amp = Service.defineService('amp', ['2020-08-01']); +Object.defineProperty(apiLoader.services['amp'], '2020-08-01', { + get: function get() { + var model = __webpack_require__(4616); + model.paginators = __webpack_require__(541).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.Amp; + + +/***/ }), + +/***/ 1626: +/***/ (function(module) { + +module.exports = {"pagination":{"GetQueryResults":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListDataCatalogs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"DataCatalogsSummary"},"ListDatabases":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"DatabaseList"},"ListNamedQueries":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListQueryExecutions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListTableMetadata":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TableMetadataList"},"ListTagsForResource":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Tags"},"ListWorkGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"}}}; + +/***/ }), + +/***/ 1627: +/***/ (function(module) { + +module.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"}}}; + +/***/ }), + +/***/ 1631: +/***/ (function(module) { + +module.exports = require("net"); + +/***/ }), + +/***/ 1632: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +/** + * @api private + */ +var service = null; + +/** + * @api private + */ +var api = { + signatureVersion: 'v4', + signingName: 'rds-db', + operations: {} +}; + +/** + * @api private + */ +var requiredAuthTokenOptions = { + region: 'string', + hostname: 'string', + port: 'number', + username: 'string' +}; + +/** + * A signer object can be used to generate an auth token to a database. + */ +AWS.RDS.Signer = AWS.util.inherit({ + /** + * Creates a signer object can be used to generate an auth token. + * + * @option options credentials [AWS.Credentials] the AWS credentials + * to sign requests with. Uses the default credential provider chain + * if not specified. + * @option options hostname [String] the hostname of the database to connect to. + * @option options port [Number] the port number the database is listening on. + * @option options region [String] the region the database is located in. + * @option options username [String] the username to login as. + * @example Passing in options to constructor + * var signer = new AWS.RDS.Signer({ + * credentials: new AWS.SharedIniFileCredentials({profile: 'default'}), + * region: 'us-east-1', + * hostname: 'db.us-east-1.rds.amazonaws.com', + * port: 8000, + * username: 'name' + * }); + */ + constructor: function Signer(options) { + this.options = options || {}; + }, + + /** + * @api private + * Strips the protocol from a url. + */ + convertUrlToAuthToken: function convertUrlToAuthToken(url) { + // we are always using https as the protocol + var protocol = 'https://'; + if (url.indexOf(protocol) === 0) { + return url.substring(protocol.length); + } }, - /***/ 2046: /***/ function (module) { - module.exports = { pagination: {} }; + /** + * @overload getAuthToken(options = {}, [callback]) + * Generate an auth token to a database. + * @note You must ensure that you have static or previously resolved + * credentials if you call this method synchronously (with no callback), + * otherwise it may not properly sign the request. If you cannot guarantee + * this (you are using an asynchronous credential provider, i.e., EC2 + * IAM roles), you should always call this method with an asynchronous + * callback. + * + * @param options [map] The fields to use when generating an auth token. + * Any options specified here will be merged on top of any options passed + * to AWS.RDS.Signer: + * + * * **credentials** (AWS.Credentials) — the AWS credentials + * to sign requests with. Uses the default credential provider chain + * if not specified. + * * **hostname** (String) — the hostname of the database to connect to. + * * **port** (Number) — the port number the database is listening on. + * * **region** (String) — the region the database is located in. + * * **username** (String) — the username to login as. + * @return [String] if called synchronously (with no callback), returns the + * auth token. + * @return [null] nothing is returned if a callback is provided. + * @callback callback function (err, token) + * If a callback is supplied, it is called when an auth token has been generated. + * @param err [Error] the error object returned from the signer. + * @param token [String] the auth token. + * + * @example Generating an auth token synchronously + * var signer = new AWS.RDS.Signer({ + * // configure options + * region: 'us-east-1', + * username: 'default', + * hostname: 'db.us-east-1.amazonaws.com', + * port: 8000 + * }); + * var token = signer.getAuthToken({ + * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option + * // credentials are not specified here or when creating the signer, so default credential provider will be used + * username: 'test' // overriding username + * }); + * @example Generating an auth token asynchronously + * var signer = new AWS.RDS.Signer({ + * // configure options + * region: 'us-east-1', + * username: 'default', + * hostname: 'db.us-east-1.amazonaws.com', + * port: 8000 + * }); + * signer.getAuthToken({ + * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option + * // credentials are not specified here or when creating the signer, so default credential provider will be used + * username: 'test' // overriding username + * }, function(err, token) { + * if (err) { + * // handle error + * } else { + * // use token + * } + * }); + * + */ + getAuthToken: function getAuthToken(options, callback) { + if (typeof options === 'function' && callback === undefined) { + callback = options; + options = {}; + } + var self = this; + var hasCallback = typeof callback === 'function'; + // merge options with existing options + options = AWS.util.merge(this.options, options); + // validate options + var optionsValidation = this.validateAuthTokenOptions(options); + if (optionsValidation !== true) { + if (hasCallback) { + return callback(optionsValidation, null); + } + throw optionsValidation; + } + + // 15 minutes + var expires = 900; + // create service to generate a request from + var serviceOptions = { + region: options.region, + endpoint: new AWS.Endpoint(options.hostname + ':' + options.port), + paramValidation: false, + signatureVersion: 'v4' + }; + if (options.credentials) { + serviceOptions.credentials = options.credentials; + } + service = new AWS.Service(serviceOptions); + // ensure the SDK is using sigv4 signing (config is not enough) + service.api = api; + + var request = service.makeRequest(); + // add listeners to request to properly build auth token + this.modifyRequestForAuthToken(request, options); - /***/ + if (hasCallback) { + request.presign(expires, function(err, url) { + if (url) { + url = self.convertUrlToAuthToken(url); + } + callback(err, url); + }); + } else { + var url = request.presign(expires); + return this.convertUrlToAuthToken(url); + } }, - /***/ 2053: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2017-06-07", - endpointPrefix: "greengrass", - signingName: "greengrass", - serviceFullName: "AWS Greengrass", - serviceId: "Greengrass", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "greengrass-2017-06-07", - signatureVersion: "v4", - }, - operations: { - AssociateRoleToGroup: { - http: { - method: "PUT", - requestUri: "/greengrass/groups/{GroupId}/role", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - RoleArn: {}, - }, - required: ["GroupId", "RoleArn"], - }, - output: { type: "structure", members: { AssociatedAt: {} } }, - }, - AssociateServiceRoleToAccount: { - http: { - method: "PUT", - requestUri: "/greengrass/servicerole", - responseCode: 200, - }, - input: { - type: "structure", - members: { RoleArn: {} }, - required: ["RoleArn"], - }, - output: { type: "structure", members: { AssociatedAt: {} } }, - }, - CreateConnectorDefinition: { - http: { - requestUri: "/greengrass/definition/connectors", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S7" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateConnectorDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - Connectors: { shape: "S8" }, - }, - required: ["ConnectorDefinitionId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - CreateCoreDefinition: { - http: { - requestUri: "/greengrass/definition/cores", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "Sg" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateCoreDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/cores/{CoreDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - Cores: { shape: "Sh" }, - }, - required: ["CoreDefinitionId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - CreateDeployment: { - http: { - requestUri: "/greengrass/groups/{GroupId}/deployments", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - DeploymentId: {}, - DeploymentType: {}, - GroupId: { location: "uri", locationName: "GroupId" }, - GroupVersionId: {}, - }, - required: ["GroupId", "DeploymentType"], - }, - output: { - type: "structure", - members: { DeploymentArn: {}, DeploymentId: {} }, - }, - }, - CreateDeviceDefinition: { - http: { - requestUri: "/greengrass/definition/devices", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "Sr" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateDeviceDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/devices/{DeviceDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - Devices: { shape: "Ss" }, - }, - required: ["DeviceDefinitionId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - CreateFunctionDefinition: { - http: { - requestUri: "/greengrass/definition/functions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "Sy" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateFunctionDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - DefaultConfig: { shape: "Sz" }, - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - Functions: { shape: "S14" }, - }, - required: ["FunctionDefinitionId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - CreateGroup: { - http: { requestUri: "/greengrass/groups", responseCode: 200 }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S1h" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateGroupCertificateAuthority: { - http: { - requestUri: "/greengrass/groups/{GroupId}/certificateauthorities", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { GroupCertificateAuthorityArn: {} }, - }, - }, - CreateGroupVersion: { - http: { - requestUri: "/greengrass/groups/{GroupId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - ConnectorDefinitionVersionArn: {}, - CoreDefinitionVersionArn: {}, - DeviceDefinitionVersionArn: {}, - FunctionDefinitionVersionArn: {}, - GroupId: { location: "uri", locationName: "GroupId" }, - LoggerDefinitionVersionArn: {}, - ResourceDefinitionVersionArn: {}, - SubscriptionDefinitionVersionArn: {}, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - CreateLoggerDefinition: { - http: { - requestUri: "/greengrass/definition/loggers", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S1o" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateLoggerDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - Loggers: { shape: "S1p" }, - }, - required: ["LoggerDefinitionId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - CreateResourceDefinition: { - http: { - requestUri: "/greengrass/definition/resources", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S1y" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateResourceDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - Resources: { shape: "S1z" }, - }, - required: ["ResourceDefinitionId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - CreateSoftwareUpdateJob: { - http: { requestUri: "/greengrass/updates", responseCode: 200 }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - S3UrlSignerRole: {}, - SoftwareToUpdate: {}, - UpdateAgentLogLevel: {}, - UpdateTargets: { type: "list", member: {} }, - UpdateTargetsArchitecture: {}, - UpdateTargetsOperatingSystem: {}, - }, - required: [ - "S3UrlSignerRole", - "UpdateTargetsArchitecture", - "SoftwareToUpdate", - "UpdateTargets", - "UpdateTargetsOperatingSystem", - ], - }, - output: { - type: "structure", - members: { - IotJobArn: {}, - IotJobId: {}, - PlatformSoftwareVersion: {}, - }, - }, - }, - CreateSubscriptionDefinition: { - http: { - requestUri: "/greengrass/definition/subscriptions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S2m" }, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - CreateSubscriptionDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - Subscriptions: { shape: "S2n" }, - }, - required: ["SubscriptionDefinitionId"], - }, - output: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - DeleteConnectorDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - }, - required: ["ConnectorDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteCoreDefinition: { - http: { - method: "DELETE", - requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - }, - required: ["CoreDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteDeviceDefinition: { - http: { - method: "DELETE", - requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - }, - required: ["DeviceDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteFunctionDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - }, - required: ["FunctionDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteGroup: { - http: { - method: "DELETE", - requestUri: "/greengrass/groups/{GroupId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteLoggerDefinition: { - http: { - method: "DELETE", - requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - }, - required: ["LoggerDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteResourceDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - }, - required: ["ResourceDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteSubscriptionDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - }, - required: ["SubscriptionDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DisassociateRoleFromGroup: { - http: { - method: "DELETE", - requestUri: "/greengrass/groups/{GroupId}/role", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { type: "structure", members: { DisassociatedAt: {} } }, - }, - DisassociateServiceRoleFromAccount: { - http: { - method: "DELETE", - requestUri: "/greengrass/servicerole", - responseCode: 200, - }, - input: { type: "structure", members: {} }, - output: { type: "structure", members: { DisassociatedAt: {} } }, - }, - GetAssociatedRole: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/role", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { AssociatedAt: {}, RoleArn: {} }, - }, - }, - GetBulkDeploymentStatus: { - http: { - method: "GET", - requestUri: - "/greengrass/bulk/deployments/{BulkDeploymentId}/status", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BulkDeploymentId: { - location: "uri", - locationName: "BulkDeploymentId", - }, - }, - required: ["BulkDeploymentId"], - }, - output: { - type: "structure", - members: { - BulkDeploymentMetrics: { - type: "structure", - members: { - InvalidInputRecords: { type: "integer" }, - RecordsProcessed: { type: "integer" }, - RetryAttempts: { type: "integer" }, - }, - }, - BulkDeploymentStatus: {}, - CreatedAt: {}, - ErrorDetails: { shape: "S3i" }, - ErrorMessage: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetConnectivityInfo: { - http: { - method: "GET", - requestUri: "/greengrass/things/{ThingName}/connectivityInfo", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ThingName: { location: "uri", locationName: "ThingName" }, - }, - required: ["ThingName"], - }, - output: { - type: "structure", - members: { - ConnectivityInfo: { shape: "S3m" }, - Message: { locationName: "message" }, - }, - }, - }, - GetConnectorDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - }, - required: ["ConnectorDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetConnectorDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - ConnectorDefinitionVersionId: { - location: "uri", - locationName: "ConnectorDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: [ - "ConnectorDefinitionId", - "ConnectorDefinitionVersionId", - ], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S7" }, - Id: {}, - NextToken: {}, - Version: {}, - }, - }, - }, - GetCoreDefinition: { - http: { - method: "GET", - requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - }, - required: ["CoreDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetCoreDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - CoreDefinitionVersionId: { - location: "uri", - locationName: "CoreDefinitionVersionId", - }, - }, - required: ["CoreDefinitionId", "CoreDefinitionVersionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "Sg" }, - Id: {}, - NextToken: {}, - Version: {}, - }, - }, - }, - GetDeploymentStatus: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeploymentId: { location: "uri", locationName: "DeploymentId" }, - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId", "DeploymentId"], - }, - output: { - type: "structure", - members: { - DeploymentStatus: {}, - DeploymentType: {}, - ErrorDetails: { shape: "S3i" }, - ErrorMessage: {}, - UpdatedAt: {}, - }, - }, - }, - GetDeviceDefinition: { - http: { - method: "GET", - requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - }, - required: ["DeviceDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetDeviceDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - DeviceDefinitionVersionId: { - location: "uri", - locationName: "DeviceDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["DeviceDefinitionVersionId", "DeviceDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "Sr" }, - Id: {}, - NextToken: {}, - Version: {}, - }, - }, - }, - GetFunctionDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - }, - required: ["FunctionDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetFunctionDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - FunctionDefinitionVersionId: { - location: "uri", - locationName: "FunctionDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["FunctionDefinitionId", "FunctionDefinitionVersionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "Sy" }, - Id: {}, - NextToken: {}, - Version: {}, - }, - }, - }, - GetGroup: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetGroupCertificateAuthority: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CertificateAuthorityId: { - location: "uri", - locationName: "CertificateAuthorityId", - }, - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["CertificateAuthorityId", "GroupId"], - }, - output: { - type: "structure", - members: { - GroupCertificateAuthorityArn: {}, - GroupCertificateAuthorityId: {}, - PemEncodedCertificate: {}, - }, - }, - }, - GetGroupCertificateConfiguration: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { - CertificateAuthorityExpiryInMilliseconds: {}, - CertificateExpiryInMilliseconds: {}, - GroupId: {}, - }, - }, - }, - GetGroupVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/versions/{GroupVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - GroupVersionId: { - location: "uri", - locationName: "GroupVersionId", - }, - }, - required: ["GroupVersionId", "GroupId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S1h" }, - Id: {}, - Version: {}, - }, - }, - }, - GetLoggerDefinition: { - http: { - method: "GET", - requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - }, - required: ["LoggerDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetLoggerDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - LoggerDefinitionVersionId: { - location: "uri", - locationName: "LoggerDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["LoggerDefinitionVersionId", "LoggerDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S1o" }, - Id: {}, - Version: {}, - }, - }, - }, - GetResourceDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - }, - required: ["ResourceDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetResourceDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - ResourceDefinitionVersionId: { - location: "uri", - locationName: "ResourceDefinitionVersionId", - }, - }, - required: ["ResourceDefinitionVersionId", "ResourceDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S1y" }, - Id: {}, - Version: {}, - }, - }, - }, - GetServiceRoleForAccount: { - http: { - method: "GET", - requestUri: "/greengrass/servicerole", - responseCode: 200, - }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { AssociatedAt: {}, RoleArn: {} }, - }, - }, - GetSubscriptionDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - }, - required: ["SubscriptionDefinitionId"], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, - }, - }, - GetSubscriptionDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - SubscriptionDefinitionVersionId: { - location: "uri", - locationName: "SubscriptionDefinitionVersionId", - }, - }, - required: [ - "SubscriptionDefinitionId", - "SubscriptionDefinitionVersionId", - ], - }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S2m" }, - Id: {}, - NextToken: {}, - Version: {}, - }, - }, - }, - ListBulkDeploymentDetailedReports: { - http: { - method: "GET", - requestUri: - "/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BulkDeploymentId: { - location: "uri", - locationName: "BulkDeploymentId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["BulkDeploymentId"], - }, - output: { - type: "structure", - members: { - Deployments: { - type: "list", - member: { - type: "structure", - members: { - CreatedAt: {}, - DeploymentArn: {}, - DeploymentId: {}, - DeploymentStatus: {}, - DeploymentType: {}, - ErrorDetails: { shape: "S3i" }, - ErrorMessage: {}, - GroupArn: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListBulkDeployments: { - http: { - method: "GET", - requestUri: "/greengrass/bulk/deployments", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { - BulkDeployments: { - type: "list", - member: { - type: "structure", - members: { - BulkDeploymentArn: {}, - BulkDeploymentId: {}, - CreatedAt: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListConnectorDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["ConnectorDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListConnectorDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/connectors", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListCoreDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/cores/{CoreDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["CoreDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListCoreDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/cores", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListDeployments: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/deployments", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { - Deployments: { - type: "list", - member: { - type: "structure", - members: { - CreatedAt: {}, - DeploymentArn: {}, - DeploymentId: {}, - DeploymentType: {}, - GroupArn: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListDeviceDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/devices/{DeviceDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["DeviceDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListDeviceDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/devices", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListFunctionDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["FunctionDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListFunctionDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/functions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListGroupCertificateAuthorities: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/certificateauthorities", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { - GroupCertificateAuthorities: { - type: "list", - member: { - type: "structure", - members: { - GroupCertificateAuthorityArn: {}, - GroupCertificateAuthorityId: {}, - }, - }, - }, - }, - }, - }, - ListGroupVersions: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListGroups: { - http: { - method: "GET", - requestUri: "/greengrass/groups", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Groups: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListLoggerDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["LoggerDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListLoggerDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/loggers", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListResourceDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - }, - required: ["ResourceDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListResourceDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/resources", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListSubscriptionDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - }, - required: ["SubscriptionDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, - }, - }, - ListSubscriptionDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/subscriptions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/tags/{resource-arn}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - }, - required: ["ResourceArn"], - }, - output: { type: "structure", members: { tags: { shape: "Sb" } } }, - }, - ResetDeployments: { - http: { - requestUri: "/greengrass/groups/{GroupId}/deployments/$reset", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - Force: { type: "boolean" }, - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { DeploymentArn: {}, DeploymentId: {} }, - }, - }, - StartBulkDeployment: { - http: { - requestUri: "/greengrass/bulk/deployments", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - ExecutionRoleArn: {}, - InputFileUri: {}, - tags: { shape: "Sb" }, - }, - required: ["ExecutionRoleArn", "InputFileUri"], - }, - output: { - type: "structure", - members: { BulkDeploymentArn: {}, BulkDeploymentId: {} }, - }, - }, - StopBulkDeployment: { - http: { - method: "PUT", - requestUri: - "/greengrass/bulk/deployments/{BulkDeploymentId}/$stop", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BulkDeploymentId: { - location: "uri", - locationName: "BulkDeploymentId", - }, - }, - required: ["BulkDeploymentId"], - }, - output: { type: "structure", members: {} }, - }, - TagResource: { - http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - tags: { shape: "Sb" }, - }, - required: ["ResourceArn"], - }, - }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - shape: "S29", - location: "querystring", - locationName: "tagKeys", - }, - }, - required: ["TagKeys", "ResourceArn"], - }, - }, - UpdateConnectivityInfo: { - http: { - method: "PUT", - requestUri: "/greengrass/things/{ThingName}/connectivityInfo", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectivityInfo: { shape: "S3m" }, - ThingName: { location: "uri", locationName: "ThingName" }, - }, - required: ["ThingName"], - }, - output: { - type: "structure", - members: { Message: { locationName: "message" }, Version: {} }, - }, - }, - UpdateConnectorDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - Name: {}, - }, - required: ["ConnectorDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateCoreDefinition: { - http: { - method: "PUT", - requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - Name: {}, - }, - required: ["CoreDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateDeviceDefinition: { - http: { - method: "PUT", - requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - Name: {}, - }, - required: ["DeviceDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateFunctionDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - Name: {}, - }, - required: ["FunctionDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateGroup: { - http: { - method: "PUT", - requestUri: "/greengrass/groups/{GroupId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - Name: {}, - }, - required: ["GroupId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateGroupCertificateConfiguration: { - http: { - method: "PUT", - requestUri: - "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CertificateExpiryInMilliseconds: {}, - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { - CertificateAuthorityExpiryInMilliseconds: {}, - CertificateExpiryInMilliseconds: {}, - GroupId: {}, - }, - }, - }, - UpdateLoggerDefinition: { - http: { - method: "PUT", - requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - Name: {}, - }, - required: ["LoggerDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateResourceDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Name: {}, - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - }, - required: ["ResourceDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateSubscriptionDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Name: {}, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - }, - required: ["SubscriptionDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S7: { type: "structure", members: { Connectors: { shape: "S8" } } }, - S8: { - type: "list", - member: { - type: "structure", - members: { - ConnectorArn: {}, - Id: {}, - Parameters: { shape: "Sa" }, - }, - required: ["ConnectorArn", "Id"], - }, - }, - Sa: { type: "map", key: {}, value: {} }, - Sb: { type: "map", key: {}, value: {} }, - Sg: { type: "structure", members: { Cores: { shape: "Sh" } } }, - Sh: { - type: "list", - member: { - type: "structure", - members: { - CertificateArn: {}, - Id: {}, - SyncShadow: { type: "boolean" }, - ThingArn: {}, - }, - required: ["ThingArn", "Id", "CertificateArn"], - }, - }, - Sr: { type: "structure", members: { Devices: { shape: "Ss" } } }, - Ss: { - type: "list", - member: { - type: "structure", - members: { - CertificateArn: {}, - Id: {}, - SyncShadow: { type: "boolean" }, - ThingArn: {}, - }, - required: ["ThingArn", "Id", "CertificateArn"], - }, - }, - Sy: { - type: "structure", - members: { - DefaultConfig: { shape: "Sz" }, - Functions: { shape: "S14" }, - }, - }, - Sz: { - type: "structure", - members: { - Execution: { - type: "structure", - members: { IsolationMode: {}, RunAs: { shape: "S12" } }, - }, - }, - }, - S12: { - type: "structure", - members: { Gid: { type: "integer" }, Uid: { type: "integer" } }, - }, - S14: { - type: "list", - member: { - type: "structure", - members: { - FunctionArn: {}, - FunctionConfiguration: { - type: "structure", - members: { - EncodingType: {}, - Environment: { - type: "structure", - members: { - AccessSysfs: { type: "boolean" }, - Execution: { - type: "structure", - members: { - IsolationMode: {}, - RunAs: { shape: "S12" }, - }, - }, - ResourceAccessPolicies: { - type: "list", - member: { - type: "structure", - members: { Permission: {}, ResourceId: {} }, - required: ["ResourceId"], - }, - }, - Variables: { shape: "Sa" }, - }, - }, - ExecArgs: {}, - Executable: {}, - MemorySize: { type: "integer" }, - Pinned: { type: "boolean" }, - Timeout: { type: "integer" }, - }, - }, - Id: {}, - }, - required: ["Id"], - }, - }, - S1h: { - type: "structure", - members: { - ConnectorDefinitionVersionArn: {}, - CoreDefinitionVersionArn: {}, - DeviceDefinitionVersionArn: {}, - FunctionDefinitionVersionArn: {}, - LoggerDefinitionVersionArn: {}, - ResourceDefinitionVersionArn: {}, - SubscriptionDefinitionVersionArn: {}, - }, - }, - S1o: { type: "structure", members: { Loggers: { shape: "S1p" } } }, - S1p: { - type: "list", - member: { - type: "structure", - members: { - Component: {}, - Id: {}, - Level: {}, - Space: { type: "integer" }, - Type: {}, - }, - required: ["Type", "Level", "Id", "Component"], - }, - }, - S1y: { type: "structure", members: { Resources: { shape: "S1z" } } }, - S1z: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - ResourceDataContainer: { - type: "structure", - members: { - LocalDeviceResourceData: { - type: "structure", - members: { - GroupOwnerSetting: { shape: "S23" }, - SourcePath: {}, - }, - }, - LocalVolumeResourceData: { - type: "structure", - members: { - DestinationPath: {}, - GroupOwnerSetting: { shape: "S23" }, - SourcePath: {}, - }, - }, - S3MachineLearningModelResourceData: { - type: "structure", - members: { - DestinationPath: {}, - OwnerSetting: { shape: "S26" }, - S3Uri: {}, - }, - }, - SageMakerMachineLearningModelResourceData: { - type: "structure", - members: { - DestinationPath: {}, - OwnerSetting: { shape: "S26" }, - SageMakerJobArn: {}, - }, - }, - SecretsManagerSecretResourceData: { - type: "structure", - members: { - ARN: {}, - AdditionalStagingLabelsToDownload: { shape: "S29" }, - }, - }, - }, - }, - }, - required: ["ResourceDataContainer", "Id", "Name"], - }, - }, - S23: { - type: "structure", - members: { AutoAddGroupOwner: { type: "boolean" }, GroupOwner: {} }, - }, - S26: { - type: "structure", - members: { GroupOwner: {}, GroupPermission: {} }, - required: ["GroupOwner", "GroupPermission"], - }, - S29: { type: "list", member: {} }, - S2m: { - type: "structure", - members: { Subscriptions: { shape: "S2n" } }, - }, - S2n: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Source: {}, Subject: {}, Target: {} }, - required: ["Target", "Id", "Subject", "Source"], - }, - }, - S3i: { - type: "list", - member: { - type: "structure", - members: { DetailedErrorCode: {}, DetailedErrorMessage: {} }, - }, - }, - S3m: { - type: "list", - member: { - type: "structure", - members: { - HostAddress: {}, - Id: {}, - Metadata: {}, - PortNumber: { type: "integer" }, - }, - }, - }, - S52: { - type: "list", - member: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - S56: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - Tags: { shape: "Sb", locationName: "tags" }, - }, - }, - }, - }, - }; - - /***/ + /** + * @api private + * Modifies a request to allow the presigner to generate an auth token. + */ + modifyRequestForAuthToken: function modifyRequestForAuthToken(request, options) { + request.on('build', request.buildAsGet); + var httpRequest = request.httpRequest; + httpRequest.body = AWS.util.queryParamsToString({ + Action: 'connect', + DBUser: options.username + }); }, - /***/ 2077: /***/ function (module) { - module.exports = { pagination: {} }; + /** + * @api private + * Validates that the options passed in contain all the keys with values of the correct type that + * are needed to generate an auth token. + */ + validateAuthTokenOptions: function validateAuthTokenOptions(options) { + // iterate over all keys in options + var message = ''; + options = options || {}; + for (var key in requiredAuthTokenOptions) { + if (!Object.prototype.hasOwnProperty.call(requiredAuthTokenOptions, key)) { + continue; + } + if (typeof options[key] !== requiredAuthTokenOptions[key]) { + message += 'option \'' + key + '\' should have been type \'' + requiredAuthTokenOptions[key] + '\', was \'' + typeof options[key] + '\'.\n'; + } + } + if (message.length) { + return AWS.util.error(new Error(), { + code: 'InvalidParameter', + message: message + }); + } + return true; + } +}); - /***/ - }, - /***/ 2087: /***/ function (module) { - module.exports = require("os"); +/***/ }), - /***/ - }, +/***/ 1636: +/***/ (function(module) { - /***/ 2091: /***/ function (module) { - 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: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - Bucket: {}, - VpcConfiguration: { shape: "S5" }, - PublicAccessBlockConfiguration: { shape: "S7" }, - }, - }, - }, - 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: { - location: "header", - locationName: "x-amz-account-id", - }, - ConfirmationRequired: { type: "boolean" }, - Operation: { shape: "Sb" }, - Report: { shape: "S19" }, - ClientRequestToken: { idempotencyToken: true }, - Manifest: { shape: "S1e" }, - Description: {}, - Priority: { type: "integer" }, - RoleArn: {}, - Tags: { shape: "Su" }, - }, - }, - output: { type: "structure", members: { JobId: {} } }, - }, - DeleteAccessPoint: { - http: { - method: "DELETE", - requestUri: "/v20180820/accesspoint/{name}", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - }, - DeleteAccessPointPolicy: { - http: { - method: "DELETE", - requestUri: "/v20180820/accesspoint/{name}/policy", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - }, - DeleteJobTagging: { - http: { - method: "DELETE", - requestUri: "/v20180820/jobs/{id}/tagging", - }, - input: { - type: "structure", - required: ["AccountId", "JobId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeletePublicAccessBlock: { - http: { - method: "DELETE", - requestUri: "/v20180820/configuration/publicAccessBlock", - }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - }, - }, - }, - DescribeJob: { - http: { method: "GET", requestUri: "/v20180820/jobs/{id}" }, - input: { - type: "structure", - required: ["AccountId", "JobId"], - members: { - AccountId: { - 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: "S1e" }, - Operation: { shape: "Sb" }, - Priority: { type: "integer" }, - ProgressSummary: { shape: "S21" }, - StatusUpdateReason: {}, - FailureReasons: { - type: "list", - member: { - type: "structure", - members: { FailureCode: {}, FailureReason: {} }, - }, - }, - Report: { shape: "S19" }, - CreationTime: { type: "timestamp" }, - TerminationDate: { type: "timestamp" }, - RoleArn: {}, - SuspendedDate: { type: "timestamp" }, - SuspendedCause: {}, - }, - }, - }, - }, - }, - GetAccessPoint: { - http: { - method: "GET", - requestUri: "/v20180820/accesspoint/{name}", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - 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" }, - }, - }, - }, - GetAccessPointPolicy: { - http: { - method: "GET", - requestUri: "/v20180820/accesspoint/{name}/policy", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - output: { type: "structure", members: { Policy: {} } }, - }, - GetAccessPointPolicyStatus: { - http: { - method: "GET", - requestUri: "/v20180820/accesspoint/{name}/policyStatus", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - output: { - type: "structure", - members: { - PolicyStatus: { - type: "structure", - members: { - IsPublic: { locationName: "IsPublic", type: "boolean" }, - }, - }, - }, - }, - }, - GetJobTagging: { - http: { method: "GET", requestUri: "/v20180820/jobs/{id}/tagging" }, - input: { - type: "structure", - required: ["AccountId", "JobId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - }, - }, - output: { type: "structure", members: { Tags: { shape: "Su" } } }, - }, - GetPublicAccessBlock: { - http: { - method: "GET", - requestUri: "/v20180820/configuration/publicAccessBlock", - }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - }, - }, - output: { - type: "structure", - members: { PublicAccessBlockConfiguration: { shape: "S7" } }, - payload: "PublicAccessBlockConfiguration", - }, - }, - ListAccessPoints: { - http: { method: "GET", requestUri: "/v20180820/accesspoint" }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - 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: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListJobs: { - http: { method: "GET", requestUri: "/v20180820/jobs" }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - 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: "S21" }, - }, - }, - }, - }, - }, - }, - 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: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - Policy: {}, - }, - }, - }, - 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: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - Tags: { shape: "Su" }, - }, - }, - output: { type: "structure", members: {} }, - }, - 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: { - location: "header", - locationName: "x-amz-account-id", - }, - }, - payload: "PublicAccessBlockConfiguration", - }, - }, - UpdateJobPriority: { - http: { requestUri: "/v20180820/jobs/{id}/priority" }, - input: { - type: "structure", - required: ["AccountId", "JobId", "Priority"], - members: { - AccountId: { - 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" } }, - }, - }, - UpdateJobStatus: { - http: { requestUri: "/v20180820/jobs/{id}/status" }, - input: { - type: "structure", - required: ["AccountId", "JobId", "RequestedJobStatus"], - members: { - AccountId: { - 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: {} }, - }, - }, - }, - 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", - }, - }, - }, - Sb: { - type: "structure", - members: { - LambdaInvoke: { type: "structure", members: { FunctionArn: {} } }, - S3PutObjectCopy: { - type: "structure", - members: { - TargetResource: {}, - CannedAccessControlList: {}, - AccessControlGrants: { shape: "Sh" }, - 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: "Su" }, - RedirectLocation: {}, - RequesterPays: { type: "boolean" }, - StorageClass: {}, - UnModifiedSinceConstraint: { type: "timestamp" }, - SSEAwsKmsKeyId: {}, - TargetKeyPrefix: {}, - ObjectLockLegalHoldStatus: {}, - ObjectLockMode: {}, - ObjectLockRetainUntilDate: { type: "timestamp" }, - }, - }, - S3PutObjectAcl: { - type: "structure", - members: { - AccessControlPolicy: { - type: "structure", - members: { - AccessControlList: { - type: "structure", - required: ["Owner"], - members: { - Owner: { - type: "structure", - members: { ID: {}, DisplayName: {} }, - }, - Grants: { shape: "Sh" }, - }, - }, - CannedAccessControlList: {}, - }, - }, - }, - }, - S3PutObjectTagging: { - type: "structure", - members: { TagSet: { shape: "Su" } }, - }, - S3InitiateRestoreObject: { - type: "structure", - members: { - ExpirationInDays: { type: "integer" }, - GlacierJobTier: {}, - }, - }, - }, - }, - Sh: { - type: "list", - member: { - type: "structure", - members: { - Grantee: { - type: "structure", - members: { - TypeIdentifier: {}, - Identifier: {}, - DisplayName: {}, - }, - }, - Permission: {}, - }, - }, - }, - Su: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S19: { - type: "structure", - required: ["Enabled"], - members: { - Bucket: {}, - Format: {}, - Enabled: { type: "boolean" }, - Prefix: {}, - ReportScope: {}, - }, - }, - S1e: { - 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: {} }, - }, - }, - }, - S21: { - type: "structure", - members: { - TotalNumberOfTasks: { type: "long" }, - NumberOfTasksSucceeded: { type: "long" }, - NumberOfTasksFailed: { type: "long" }, - }, - }, - }, - }; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-01-02","endpointPrefix":"qldb","jsonVersion":"1.0","protocol":"rest-json","serviceAbbreviation":"QLDB","serviceFullName":"Amazon QLDB","serviceId":"QLDB","signatureVersion":"v4","signingName":"qldb","uid":"qldb-2019-01-02"},"operations":{"CancelJournalKinesisStream":{"http":{"method":"DELETE","requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}"},"input":{"type":"structure","required":["LedgerName","StreamId"],"members":{"LedgerName":{"location":"uri","locationName":"name"},"StreamId":{"location":"uri","locationName":"streamId"}}},"output":{"type":"structure","members":{"StreamId":{}}}},"CreateLedger":{"http":{"requestUri":"/ledgers"},"input":{"type":"structure","required":["Name","PermissionsMode"],"members":{"Name":{},"Tags":{"shape":"S6"},"PermissionsMode":{},"DeletionProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"Name":{},"Arn":{},"State":{},"CreationDateTime":{"type":"timestamp"},"DeletionProtection":{"type":"boolean"}}}},"DeleteLedger":{"http":{"method":"DELETE","requestUri":"/ledgers/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}}},"DescribeJournalKinesisStream":{"http":{"method":"GET","requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}"},"input":{"type":"structure","required":["LedgerName","StreamId"],"members":{"LedgerName":{"location":"uri","locationName":"name"},"StreamId":{"location":"uri","locationName":"streamId"}}},"output":{"type":"structure","members":{"Stream":{"shape":"Si"}}}},"DescribeJournalS3Export":{"http":{"method":"GET","requestUri":"/ledgers/{name}/journal-s3-exports/{exportId}"},"input":{"type":"structure","required":["Name","ExportId"],"members":{"Name":{"location":"uri","locationName":"name"},"ExportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","required":["ExportDescription"],"members":{"ExportDescription":{"shape":"Sq"}}}},"DescribeLedger":{"http":{"method":"GET","requestUri":"/ledgers/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"Arn":{},"State":{},"CreationDateTime":{"type":"timestamp"},"DeletionProtection":{"type":"boolean"}}}},"ExportJournalToS3":{"http":{"requestUri":"/ledgers/{name}/journal-s3-exports"},"input":{"type":"structure","required":["Name","InclusiveStartTime","ExclusiveEndTime","S3ExportConfiguration","RoleArn"],"members":{"Name":{"location":"uri","locationName":"name"},"InclusiveStartTime":{"type":"timestamp"},"ExclusiveEndTime":{"type":"timestamp"},"S3ExportConfiguration":{"shape":"Ss"},"RoleArn":{}}},"output":{"type":"structure","required":["ExportId"],"members":{"ExportId":{}}}},"GetBlock":{"http":{"requestUri":"/ledgers/{name}/block"},"input":{"type":"structure","required":["Name","BlockAddress"],"members":{"Name":{"location":"uri","locationName":"name"},"BlockAddress":{"shape":"S12"},"DigestTipAddress":{"shape":"S12"}}},"output":{"type":"structure","required":["Block"],"members":{"Block":{"shape":"S12"},"Proof":{"shape":"S12"}}}},"GetDigest":{"http":{"requestUri":"/ledgers/{name}/digest"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Digest","DigestTipAddress"],"members":{"Digest":{"type":"blob"},"DigestTipAddress":{"shape":"S12"}}}},"GetRevision":{"http":{"requestUri":"/ledgers/{name}/revision"},"input":{"type":"structure","required":["Name","BlockAddress","DocumentId"],"members":{"Name":{"location":"uri","locationName":"name"},"BlockAddress":{"shape":"S12"},"DocumentId":{},"DigestTipAddress":{"shape":"S12"}}},"output":{"type":"structure","required":["Revision"],"members":{"Proof":{"shape":"S12"},"Revision":{"shape":"S12"}}}},"ListJournalKinesisStreamsForLedger":{"http":{"method":"GET","requestUri":"/ledgers/{name}/journal-kinesis-streams"},"input":{"type":"structure","required":["LedgerName"],"members":{"LedgerName":{"location":"uri","locationName":"name"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Streams":{"type":"list","member":{"shape":"Si"}},"NextToken":{}}}},"ListJournalS3Exports":{"http":{"method":"GET","requestUri":"/journal-s3-exports"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"JournalS3Exports":{"shape":"S1h"},"NextToken":{}}}},"ListJournalS3ExportsForLedger":{"http":{"method":"GET","requestUri":"/ledgers/{name}/journal-s3-exports"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"JournalS3Exports":{"shape":"S1h"},"NextToken":{}}}},"ListLedgers":{"http":{"method":"GET","requestUri":"/ledgers"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Ledgers":{"type":"list","member":{"type":"structure","members":{"Name":{},"State":{},"CreationDateTime":{"type":"timestamp"}}}},"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":"S6"}}}},"StreamJournalToKinesis":{"http":{"requestUri":"/ledgers/{name}/journal-kinesis-streams"},"input":{"type":"structure","required":["LedgerName","RoleArn","InclusiveStartTime","KinesisConfiguration","StreamName"],"members":{"LedgerName":{"location":"uri","locationName":"name"},"RoleArn":{},"Tags":{"shape":"S6"},"InclusiveStartTime":{"type":"timestamp"},"ExclusiveEndTime":{"type":"timestamp"},"KinesisConfiguration":{"shape":"Sk"},"StreamName":{}}},"output":{"type":"structure","members":{"StreamId":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"S6"}}},"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":{}}},"UpdateLedger":{"http":{"method":"PATCH","requestUri":"/ledgers/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"DeletionProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"Name":{},"Arn":{},"State":{},"CreationDateTime":{"type":"timestamp"},"DeletionProtection":{"type":"boolean"}}}}},"shapes":{"S6":{"type":"map","key":{},"value":{}},"Si":{"type":"structure","required":["LedgerName","RoleArn","StreamId","Status","KinesisConfiguration","StreamName"],"members":{"LedgerName":{},"CreationTime":{"type":"timestamp"},"InclusiveStartTime":{"type":"timestamp"},"ExclusiveEndTime":{"type":"timestamp"},"RoleArn":{},"StreamId":{},"Arn":{},"Status":{},"KinesisConfiguration":{"shape":"Sk"},"ErrorCause":{},"StreamName":{}}},"Sk":{"type":"structure","required":["StreamArn"],"members":{"StreamArn":{},"AggregationEnabled":{"type":"boolean"}}},"Sq":{"type":"structure","required":["LedgerName","ExportId","ExportCreationTime","Status","InclusiveStartTime","ExclusiveEndTime","S3ExportConfiguration","RoleArn"],"members":{"LedgerName":{},"ExportId":{},"ExportCreationTime":{"type":"timestamp"},"Status":{},"InclusiveStartTime":{"type":"timestamp"},"ExclusiveEndTime":{"type":"timestamp"},"S3ExportConfiguration":{"shape":"Ss"},"RoleArn":{}}},"Ss":{"type":"structure","required":["Bucket","Prefix","EncryptionConfiguration"],"members":{"Bucket":{},"Prefix":{},"EncryptionConfiguration":{"type":"structure","required":["ObjectEncryptionType"],"members":{"ObjectEncryptionType":{},"KmsKeyArn":{}}}}},"S12":{"type":"structure","members":{"IonText":{"type":"string","sensitive":true}},"sensitive":true},"S1h":{"type":"list","member":{"shape":"Sq"}}}}; - /***/ - }, +/***/ }), - /***/ 2102: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - // For internal use, subject to change. - var __importStar = - (this && this.__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; - }; - Object.defineProperty(exports, "__esModule", { value: true }); - // We use any as a valid input type - /* eslint-disable @typescript-eslint/no-explicit-any */ - const fs = __importStar(__webpack_require__(5747)); - const os = __importStar(__webpack_require__(2087)); - const utils_1 = __webpack_require__(5082); - function issueCommand(command, message) { - const filePath = process.env[`GITHUB_${command}`]; - if (!filePath) { - throw new Error( - `Unable to find environment variable for file command ${command}` - ); - } - if (!fs.existsSync(filePath)) { - throw new Error(`Missing file at path: ${filePath}`); - } - fs.appendFileSync( - filePath, - `${utils_1.toCommandValue(message)}${os.EOL}`, - { - encoding: "utf8", - } - ); - } - exports.issueCommand = issueCommand; - //# sourceMappingURL=file-command.js.map +/***/ 1642: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-12","endpointPrefix":"network-firewall","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"Network Firewall","serviceFullName":"AWS Network Firewall","serviceId":"Network Firewall","signatureVersion":"v4","signingName":"network-firewall","targetPrefix":"NetworkFirewall_20201112","uid":"network-firewall-2020-11-12"},"operations":{"AssociateFirewallPolicy":{"input":{"type":"structure","required":["FirewallPolicyArn"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"FirewallPolicyArn":{},"UpdateToken":{}}}},"AssociateSubnets":{"input":{"type":"structure","required":["SubnetMappings"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"},"UpdateToken":{}}}},"CreateFirewall":{"input":{"type":"structure","required":["FirewallName","FirewallPolicyArn","VpcId","SubnetMappings"],"members":{"FirewallName":{},"FirewallPolicyArn":{},"VpcId":{},"SubnetMappings":{"shape":"S7"},"DeleteProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"FirewallPolicyChangeProtection":{"type":"boolean"},"Description":{},"Tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"Firewall":{"shape":"Sk"},"FirewallStatus":{"shape":"Sm"}}}},"CreateFirewallPolicy":{"input":{"type":"structure","required":["FirewallPolicyName","FirewallPolicy"],"members":{"FirewallPolicyName":{},"FirewallPolicy":{"shape":"S10"},"Description":{},"Tags":{"shape":"Sf"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1g"}}}},"CreateRuleGroup":{"input":{"type":"structure","required":["RuleGroupName","Type","Capacity"],"members":{"RuleGroupName":{},"RuleGroup":{"shape":"S1j"},"Rules":{},"Type":{},"Description":{},"Capacity":{"type":"integer"},"Tags":{"shape":"Sf"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroupResponse":{"shape":"S2x"}}}},"DeleteFirewall":{"input":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}},"output":{"type":"structure","members":{"Firewall":{"shape":"Sk"},"FirewallStatus":{"shape":"Sm"}}}},"DeleteFirewallPolicy":{"input":{"type":"structure","members":{"FirewallPolicyName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","required":["FirewallPolicyResponse"],"members":{"FirewallPolicyResponse":{"shape":"S1g"}}}},"DeleteResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeleteRuleGroup":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["RuleGroupResponse"],"members":{"RuleGroupResponse":{"shape":"S2x"}}}},"DescribeFirewall":{"input":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}},"output":{"type":"structure","members":{"UpdateToken":{},"Firewall":{"shape":"Sk"},"FirewallStatus":{"shape":"Sm"}}}},"DescribeFirewallPolicy":{"input":{"type":"structure","members":{"FirewallPolicyName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1g"},"FirewallPolicy":{"shape":"S10"}}}},"DescribeLoggingConfiguration":{"input":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"LoggingConfiguration":{"shape":"S3c"}}}},"DescribeResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Policy":{}}}},"DescribeRuleGroup":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroup":{"shape":"S1j"},"RuleGroupResponse":{"shape":"S2x"}}}},"DisassociateSubnets":{"input":{"type":"structure","required":["SubnetIds"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"},"UpdateToken":{}}}},"ListFirewallPolicies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FirewallPolicies":{"type":"list","member":{"type":"structure","members":{"Name":{},"Arn":{}}}}}}},"ListFirewalls":{"input":{"type":"structure","members":{"NextToken":{},"VpcIds":{"type":"list","member":{}},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Firewalls":{"type":"list","member":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}}}}}},"ListRuleGroups":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"RuleGroups":{"type":"list","member":{"type":"structure","members":{"Name":{},"Arn":{}}}}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"NextToken":{},"MaxResults":{"type":"integer"},"ResourceArn":{}}},"output":{"type":"structure","members":{"NextToken":{},"Tags":{"shape":"Sf"}}}},"PutResourcePolicy":{"input":{"type":"structure","required":["ResourceArn","Policy"],"members":{"ResourceArn":{},"Policy":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateFirewallDeleteProtection":{"input":{"type":"structure","required":["DeleteProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"DeleteProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"DeleteProtection":{"type":"boolean"},"UpdateToken":{}}}},"UpdateFirewallDescription":{"input":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"Description":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"Description":{},"UpdateToken":{}}}},"UpdateFirewallPolicy":{"input":{"type":"structure","required":["UpdateToken","FirewallPolicy"],"members":{"UpdateToken":{},"FirewallPolicyArn":{},"FirewallPolicyName":{},"FirewallPolicy":{"shape":"S10"},"Description":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1g"}}}},"UpdateFirewallPolicyChangeProtection":{"input":{"type":"structure","required":["FirewallPolicyChangeProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyChangeProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyChangeProtection":{"type":"boolean"}}}},"UpdateLoggingConfiguration":{"input":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"LoggingConfiguration":{"shape":"S3c"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"LoggingConfiguration":{"shape":"S3c"}}}},"UpdateRuleGroup":{"input":{"type":"structure","required":["UpdateToken"],"members":{"UpdateToken":{},"RuleGroupArn":{},"RuleGroupName":{},"RuleGroup":{"shape":"S1j"},"Rules":{},"Type":{},"Description":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroupResponse":{"shape":"S2x"}}}},"UpdateSubnetChangeProtection":{"input":{"type":"structure","required":["SubnetChangeProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetChangeProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetChangeProtection":{"type":"boolean"}}}}},"shapes":{"S7":{"type":"list","member":{"type":"structure","required":["SubnetId"],"members":{"SubnetId":{}}}},"Sf":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sk":{"type":"structure","required":["FirewallPolicyArn","VpcId","SubnetMappings","FirewallId"],"members":{"FirewallName":{},"FirewallArn":{},"FirewallPolicyArn":{},"VpcId":{},"SubnetMappings":{"shape":"S7"},"DeleteProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"FirewallPolicyChangeProtection":{"type":"boolean"},"Description":{},"FirewallId":{},"Tags":{"shape":"Sf"}}},"Sm":{"type":"structure","required":["Status","ConfigurationSyncStateSummary"],"members":{"Status":{},"ConfigurationSyncStateSummary":{},"SyncStates":{"type":"map","key":{},"value":{"type":"structure","members":{"Attachment":{"type":"structure","members":{"SubnetId":{},"EndpointId":{},"Status":{}}},"Config":{"type":"map","key":{},"value":{"type":"structure","members":{"SyncStatus":{}}}}}}}}},"S10":{"type":"structure","required":["StatelessDefaultActions","StatelessFragmentDefaultActions"],"members":{"StatelessRuleGroupReferences":{"type":"list","member":{"type":"structure","required":["ResourceArn","Priority"],"members":{"ResourceArn":{},"Priority":{"type":"integer"}}}},"StatelessDefaultActions":{"shape":"S14"},"StatelessFragmentDefaultActions":{"shape":"S14"},"StatelessCustomActions":{"shape":"S15"},"StatefulRuleGroupReferences":{"type":"list","member":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}}}}},"S14":{"type":"list","member":{}},"S15":{"type":"list","member":{"type":"structure","required":["ActionName","ActionDefinition"],"members":{"ActionName":{},"ActionDefinition":{"type":"structure","members":{"PublishMetricAction":{"type":"structure","required":["Dimensions"],"members":{"Dimensions":{"type":"list","member":{"type":"structure","required":["Value"],"members":{"Value":{}}}}}}}}}}},"S1g":{"type":"structure","required":["FirewallPolicyName","FirewallPolicyArn","FirewallPolicyId"],"members":{"FirewallPolicyName":{},"FirewallPolicyArn":{},"FirewallPolicyId":{},"Description":{},"FirewallPolicyStatus":{},"Tags":{"shape":"Sf"}}},"S1j":{"type":"structure","required":["RulesSource"],"members":{"RuleVariables":{"type":"structure","members":{"IPSets":{"type":"map","key":{},"value":{"type":"structure","required":["Definition"],"members":{"Definition":{"shape":"S1o"}}}},"PortSets":{"type":"map","key":{},"value":{"type":"structure","members":{"Definition":{"shape":"S1o"}}}}}},"RulesSource":{"type":"structure","members":{"RulesString":{},"RulesSourceList":{"type":"structure","required":["Targets","TargetTypes","GeneratedRulesType"],"members":{"Targets":{"type":"list","member":{}},"TargetTypes":{"type":"list","member":{}},"GeneratedRulesType":{}}},"StatefulRules":{"type":"list","member":{"type":"structure","required":["Action","Header","RuleOptions"],"members":{"Action":{},"Header":{"type":"structure","required":["Protocol","Source","SourcePort","Direction","Destination","DestinationPort"],"members":{"Protocol":{},"Source":{},"SourcePort":{},"Direction":{},"Destination":{},"DestinationPort":{}}},"RuleOptions":{"type":"list","member":{"type":"structure","required":["Keyword"],"members":{"Keyword":{},"Settings":{"type":"list","member":{}}}}}}}},"StatelessRulesAndCustomActions":{"type":"structure","required":["StatelessRules"],"members":{"StatelessRules":{"type":"list","member":{"type":"structure","required":["RuleDefinition","Priority"],"members":{"RuleDefinition":{"type":"structure","required":["MatchAttributes","Actions"],"members":{"MatchAttributes":{"type":"structure","members":{"Sources":{"shape":"S2i"},"Destinations":{"shape":"S2i"},"SourcePorts":{"shape":"S2l"},"DestinationPorts":{"shape":"S2l"},"Protocols":{"type":"list","member":{"type":"integer"}},"TCPFlags":{"type":"list","member":{"type":"structure","required":["Flags"],"members":{"Flags":{"shape":"S2s"},"Masks":{"shape":"S2s"}}}}}},"Actions":{"shape":"S14"}}},"Priority":{"type":"integer"}}}},"CustomActions":{"shape":"S15"}}}}}}},"S1o":{"type":"list","member":{}},"S2i":{"type":"list","member":{"type":"structure","required":["AddressDefinition"],"members":{"AddressDefinition":{}}}},"S2l":{"type":"list","member":{"type":"structure","required":["FromPort","ToPort"],"members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"S2s":{"type":"list","member":{}},"S2x":{"type":"structure","required":["RuleGroupArn","RuleGroupName","RuleGroupId"],"members":{"RuleGroupArn":{},"RuleGroupName":{},"RuleGroupId":{},"Description":{},"Type":{},"Capacity":{"type":"integer"},"RuleGroupStatus":{},"Tags":{"shape":"Sf"}}},"S3c":{"type":"structure","required":["LogDestinationConfigs"],"members":{"LogDestinationConfigs":{"type":"list","member":{"type":"structure","required":["LogType","LogDestinationType","LogDestination"],"members":{"LogType":{},"LogDestinationType":{},"LogDestination":{"type":"map","key":{},"value":{}}}}}}}}}; - /***/ 2106: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["migrationhub"] = {}; - AWS.MigrationHub = Service.defineService("migrationhub", ["2017-05-31"]); - Object.defineProperty(apiLoader.services["migrationhub"], "2017-05-31", { - get: function get() { - var model = __webpack_require__(6686); - model.paginators = __webpack_require__(370).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 1647: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.MigrationHub; +var AWS = __webpack_require__(395), + url = AWS.util.url, + crypto = AWS.util.crypto.lib, + base64Encode = AWS.util.base64.encode, + inherit = AWS.util.inherit; - /***/ - }, +var queryEncode = function (string) { + var replacements = { + '+': '-', + '=': '_', + '/': '~' + }; + return string.replace(/[\+=\/]/g, function (match) { + return replacements[match]; + }); +}; - /***/ 2120: /***/ function (module) { - module.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", - }, - GetSlotTypeVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetSlotTypes: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; +var signPolicy = function (policy, privateKey) { + var sign = crypto.createSign('RSA-SHA1'); + sign.write(policy); + return queryEncode(sign.sign(privateKey, 'base64')); +}; - /***/ - }, +var signWithCannedPolicy = function (url, expires, keyPairId, privateKey) { + var policy = JSON.stringify({ + Statement: [ + { + Resource: url, + Condition: { DateLessThan: { 'AWS:EpochTime': expires } } + } + ] + }); + + return { + Expires: expires, + 'Key-Pair-Id': keyPairId, + Signature: signPolicy(policy.toString(), privateKey) + }; +}; + +var signWithCustomPolicy = function (policy, keyPairId, privateKey) { + policy = policy.replace(/\s/mg, ''); + + return { + Policy: queryEncode(base64Encode(policy)), + 'Key-Pair-Id': keyPairId, + Signature: signPolicy(policy, privateKey) + }; +}; + +var determineScheme = function (url) { + var parts = url.split('://'); + if (parts.length < 2) { + throw new Error('Invalid URL.'); + } + + return parts[0].replace('*', ''); +}; + +var getRtmpUrl = function (rtmpUrl) { + var parsed = url.parse(rtmpUrl); + return parsed.path.replace(/^\//, '') + (parsed.hash || ''); +}; + +var getResource = function (url) { + switch (determineScheme(url)) { + case 'http': + case 'https': + return url; + case 'rtmp': + return getRtmpUrl(url); + default: + throw new Error('Invalid URI scheme. Scheme must be one of' + + ' http, https, or rtmp'); + } +}; + +var handleError = function (err, callback) { + if (!callback || typeof callback !== 'function') { + throw err; + } + + callback(err); +}; + +var handleSuccess = function (result, callback) { + if (!callback || typeof callback !== 'function') { + return result; + } + + callback(null, result); +}; + +AWS.CloudFront.Signer = inherit({ + /** + * A signer object can be used to generate signed URLs and cookies for granting + * access to content on restricted CloudFront distributions. + * + * @see http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html + * + * @param keyPairId [String] (Required) The ID of the CloudFront key pair + * being used. + * @param privateKey [String] (Required) A private key in RSA format. + */ + constructor: function Signer(keyPairId, privateKey) { + if (keyPairId === void 0 || privateKey === void 0) { + throw new Error('A key pair ID and private key are required'); + } + + this.keyPairId = keyPairId; + this.privateKey = privateKey; + }, + + /** + * Create a signed Amazon CloudFront Cookie. + * + * @param options [Object] The options to create a signed cookie. + * @option options url [String] The URL to which the signature will grant + * access. Required unless you pass in a full + * policy. + * @option options expires [Number] A Unix UTC timestamp indicating when the + * signature should expire. Required unless you + * pass in a full policy. + * @option options policy [String] A CloudFront JSON policy. Required unless + * you pass in a url and an expiry time. + * + * @param cb [Function] if a callback is provided, this function will + * pass the hash as the second parameter (after the error parameter) to + * the callback function. + * + * @return [Object] if called synchronously (with no callback), returns the + * signed cookie parameters. + * @return [null] nothing is returned if a callback is provided. + */ + getSignedCookie: function (options, cb) { + var signatureHash = 'policy' in options + ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) + : signWithCannedPolicy(options.url, options.expires, this.keyPairId, this.privateKey); - /***/ 2145: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["workmailmessageflow"] = {}; - AWS.WorkMailMessageFlow = Service.defineService("workmailmessageflow", [ - "2019-05-01", - ]); - Object.defineProperty( - apiLoader.services["workmailmessageflow"], - "2019-05-01", - { - get: function get() { - var model = __webpack_require__(3642); - model.paginators = __webpack_require__(2028).pagination; - return model; - }, - enumerable: true, - configurable: true, + var cookieHash = {}; + for (var key in signatureHash) { + if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { + cookieHash['CloudFront-' + key] = signatureHash[key]; + } + } + + return handleSuccess(cookieHash, cb); + }, + + /** + * Create a signed Amazon CloudFront URL. + * + * Keep in mind that URLs meant for use in media/flash players may have + * different requirements for URL formats (e.g. some require that the + * extension be removed, some require the file name to be prefixed + * - mp4:, some require you to add "/cfx/st" into your URL). + * + * @param options [Object] The options to create a signed URL. + * @option options url [String] The URL to which the signature will grant + * access. Any query params included with + * the URL should be encoded. Required. + * @option options expires [Number] A Unix UTC timestamp indicating when the + * signature should expire. Required unless you + * pass in a full policy. + * @option options policy [String] A CloudFront JSON policy. Required unless + * you pass in a url and an expiry time. + * + * @param cb [Function] if a callback is provided, this function will + * pass the URL as the second parameter (after the error parameter) to + * the callback function. + * + * @return [String] if called synchronously (with no callback), returns the + * signed URL. + * @return [null] nothing is returned if a callback is provided. + */ + getSignedUrl: function (options, cb) { + try { + var resource = getResource(options.url); + } catch (err) { + return handleError(err, cb); } - ); - module.exports = AWS.WorkMailMessageFlow; + var parsedUrl = url.parse(options.url, true), + signatureHash = Object.prototype.hasOwnProperty.call(options, 'policy') + ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) + : signWithCannedPolicy(resource, options.expires, this.keyPairId, this.privateKey); - /***/ - }, + parsedUrl.search = null; + for (var key in signatureHash) { + if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { + parsedUrl.query[key] = signatureHash[key]; + } + } - /***/ 2189: /***/ function (module) { - module.exports = { - pagination: { - GetDedicatedIps: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListConfigurationSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListDedicatedIpPools: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListDeliverabilityTestReports: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListDomainDeliverabilityCampaigns: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListEmailIdentities: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - ListSuppressedDestinations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "PageSize", - }, - }, - }; + try { + var signedUrl = determineScheme(options.url) === 'rtmp' + ? getRtmpUrl(url.format(parsedUrl)) + : url.format(parsedUrl); + } catch (err) { + return handleError(err, cb); + } - /***/ - }, + return handleSuccess(signedUrl, cb); + } +}); - /***/ 2214: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["cognitoidentity"] = {}; - AWS.CognitoIdentity = Service.defineService("cognitoidentity", [ - "2014-06-30", - ]); - __webpack_require__(2382); - Object.defineProperty( - apiLoader.services["cognitoidentity"], - "2014-06-30", - { - get: function get() { - var model = __webpack_require__(7056); - model.paginators = __webpack_require__(7280).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/** + * @api private + */ +module.exports = AWS.CloudFront.Signer; - module.exports = AWS.CognitoIdentity; - /***/ - }, +/***/ }), - /***/ 2225: /***/ function (module) { - module.exports = { pagination: {} }; +/***/ 1656: +/***/ (function(module) { - /***/ - }, +module.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"}}}; - /***/ 2230: /***/ function (module) { - module.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", - }, - ], - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1657: +/***/ (function(module) { - /***/ 2241: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2018-09-05", - endpointPrefix: "sms-voice.pinpoint", - signingName: "sms-voice", - serviceAbbreviation: "Pinpoint SMS Voice", - serviceFullName: "Amazon Pinpoint SMS and Voice Service", - serviceId: "Pinpoint SMS Voice", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "pinpoint-sms-voice-2018-09-05", - signatureVersion: "v4", - }, - operations: { - CreateConfigurationSet: { - http: { - requestUri: "/v1/sms-voice/configuration-sets", - responseCode: 200, - }, - input: { type: "structure", members: { ConfigurationSetName: {} } }, - output: { type: "structure", members: {} }, - }, - CreateConfigurationSetEventDestination: { - http: { - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestination: { shape: "S6" }, - EventDestinationName: {}, - }, - required: ["ConfigurationSetName"], - }, - output: { type: "structure", members: {} }, - }, - DeleteConfigurationSet: { - http: { - method: "DELETE", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - }, - required: ["ConfigurationSetName"], - }, - output: { type: "structure", members: {} }, - }, - DeleteConfigurationSetEventDestination: { - http: { - method: "DELETE", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestinationName: { - location: "uri", - locationName: "EventDestinationName", - }, - }, - required: ["EventDestinationName", "ConfigurationSetName"], - }, - output: { type: "structure", members: {} }, - }, - GetConfigurationSetEventDestinations: { - http: { - method: "GET", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - }, - required: ["ConfigurationSetName"], - }, - output: { - type: "structure", - members: { - EventDestinations: { - type: "list", - member: { - type: "structure", - members: { - CloudWatchLogsDestination: { shape: "S7" }, - Enabled: { type: "boolean" }, - KinesisFirehoseDestination: { shape: "Sa" }, - MatchingEventTypes: { shape: "Sb" }, - Name: {}, - SnsDestination: { shape: "Sd" }, - }, - }, - }, - }, - }, - }, - ListConfigurationSets: { - http: { - method: "GET", - requestUri: "/v1/sms-voice/configuration-sets", - responseCode: 200, - }, - input: { - type: "structure", - members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { location: "querystring", locationName: "PageSize" }, - }, - }, - output: { - type: "structure", - members: { - ConfigurationSets: { type: "list", member: {} }, - NextToken: {}, - }, - }, - }, - SendVoiceMessage: { - http: { - requestUri: "/v1/sms-voice/voice/message", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CallerId: {}, - ConfigurationSetName: {}, - Content: { - type: "structure", - members: { - CallInstructionsMessage: { - type: "structure", - members: { Text: {} }, - required: [], - }, - PlainTextMessage: { - type: "structure", - members: { LanguageCode: {}, Text: {}, VoiceId: {} }, - required: [], - }, - SSMLMessage: { - type: "structure", - members: { LanguageCode: {}, Text: {}, VoiceId: {} }, - required: [], - }, - }, - }, - DestinationPhoneNumber: {}, - OriginationPhoneNumber: {}, - }, - }, - output: { type: "structure", members: { MessageId: {} } }, - }, - UpdateConfigurationSetEventDestination: { - http: { - method: "PUT", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestination: { shape: "S6" }, - EventDestinationName: { - location: "uri", - locationName: "EventDestinationName", - }, - }, - required: ["EventDestinationName", "ConfigurationSetName"], - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S6: { - type: "structure", - members: { - CloudWatchLogsDestination: { shape: "S7" }, - Enabled: { type: "boolean" }, - KinesisFirehoseDestination: { shape: "Sa" }, - MatchingEventTypes: { shape: "Sb" }, - SnsDestination: { shape: "Sd" }, - }, - required: [], - }, - S7: { - type: "structure", - members: { IamRoleArn: {}, LogGroupArn: {} }, - required: [], - }, - Sa: { - type: "structure", - members: { DeliveryStreamArn: {}, IamRoleArn: {} }, - required: [], - }, - Sb: { type: "list", member: {} }, - Sd: { type: "structure", members: { TopicArn: {} }, required: [] }, - }, - }; +module.exports = {"pagination":{}}; - /***/ - }, +/***/ }), - /***/ 2259: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ 1659: +/***/ (function(module) { - apiLoader.services["snowball"] = {}; - AWS.Snowball = Service.defineService("snowball", ["2016-06-30"]); - Object.defineProperty(apiLoader.services["snowball"], "2016-06-30", { - get: function get() { - var model = __webpack_require__(4887); - model.paginators = __webpack_require__(184).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-11-25","endpointPrefix":"cloudfront","globalEndpoint":"cloudfront.amazonaws.com","protocol":"rest-xml","serviceAbbreviation":"CloudFront","serviceFullName":"Amazon CloudFront","serviceId":"CloudFront","signatureVersion":"v4","uid":"cloudfront-2016-11-25"},"operations":{"CreateCloudFrontOriginAccessIdentity":{"http":{"requestUri":"/2016-11-25/origin-access-identity/cloudfront","responseCode":201},"input":{"type":"structure","required":["CloudFrontOriginAccessIdentityConfig"],"members":{"CloudFrontOriginAccessIdentityConfig":{"shape":"S2","locationName":"CloudFrontOriginAccessIdentityConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}},"payload":"CloudFrontOriginAccessIdentityConfig"},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentity":{"shape":"S5"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentity"}},"CreateDistribution":{"http":{"requestUri":"/2016-11-25/distribution","responseCode":201},"input":{"type":"structure","required":["DistributionConfig"],"members":{"DistributionConfig":{"shape":"S7","locationName":"DistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}},"payload":"DistributionConfig"},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"CreateDistributionWithTags":{"http":{"requestUri":"/2016-11-25/distribution?WithTags","responseCode":201},"input":{"type":"structure","required":["DistributionConfigWithTags"],"members":{"DistributionConfigWithTags":{"locationName":"DistributionConfigWithTags","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"},"type":"structure","required":["DistributionConfig","Tags"],"members":{"DistributionConfig":{"shape":"S7"},"Tags":{"shape":"S21"}}}},"payload":"DistributionConfigWithTags"},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"CreateInvalidation":{"http":{"requestUri":"/2016-11-25/distribution/{DistributionId}/invalidation","responseCode":201},"input":{"type":"structure","required":["DistributionId","InvalidationBatch"],"members":{"DistributionId":{"location":"uri","locationName":"DistributionId"},"InvalidationBatch":{"shape":"S28","locationName":"InvalidationBatch","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}},"payload":"InvalidationBatch"},"output":{"type":"structure","members":{"Location":{"location":"header","locationName":"Location"},"Invalidation":{"shape":"S2c"}},"payload":"Invalidation"}},"CreateStreamingDistribution":{"http":{"requestUri":"/2016-11-25/streaming-distribution","responseCode":201},"input":{"type":"structure","required":["StreamingDistributionConfig"],"members":{"StreamingDistributionConfig":{"shape":"S2e","locationName":"StreamingDistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}},"payload":"StreamingDistributionConfig"},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}},"CreateStreamingDistributionWithTags":{"http":{"requestUri":"/2016-11-25/streaming-distribution?WithTags","responseCode":201},"input":{"type":"structure","required":["StreamingDistributionConfigWithTags"],"members":{"StreamingDistributionConfigWithTags":{"locationName":"StreamingDistributionConfigWithTags","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"},"type":"structure","required":["StreamingDistributionConfig","Tags"],"members":{"StreamingDistributionConfig":{"shape":"S2e"},"Tags":{"shape":"S21"}}}},"payload":"StreamingDistributionConfigWithTags"},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"Location":{"location":"header","locationName":"Location"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}},"DeleteCloudFrontOriginAccessIdentity":{"http":{"method":"DELETE","requestUri":"/2016-11-25/origin-access-identity/cloudfront/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}}}},"DeleteDistribution":{"http":{"method":"DELETE","requestUri":"/2016-11-25/distribution/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}}}},"DeleteStreamingDistribution":{"http":{"method":"DELETE","requestUri":"/2016-11-25/streaming-distribution/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}}}},"GetCloudFrontOriginAccessIdentity":{"http":{"method":"GET","requestUri":"/2016-11-25/origin-access-identity/cloudfront/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentity":{"shape":"S5"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentity"}},"GetCloudFrontOriginAccessIdentityConfig":{"http":{"method":"GET","requestUri":"/2016-11-25/origin-access-identity/cloudfront/{Id}/config"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentityConfig":{"shape":"S2"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentityConfig"}},"GetDistribution":{"http":{"method":"GET","requestUri":"/2016-11-25/distribution/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"GetDistributionConfig":{"http":{"method":"GET","requestUri":"/2016-11-25/distribution/{Id}/config"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"DistributionConfig":{"shape":"S7"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"DistributionConfig"}},"GetInvalidation":{"http":{"method":"GET","requestUri":"/2016-11-25/distribution/{DistributionId}/invalidation/{Id}"},"input":{"type":"structure","required":["DistributionId","Id"],"members":{"DistributionId":{"location":"uri","locationName":"DistributionId"},"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Invalidation":{"shape":"S2c"}},"payload":"Invalidation"}},"GetStreamingDistribution":{"http":{"method":"GET","requestUri":"/2016-11-25/streaming-distribution/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}},"GetStreamingDistributionConfig":{"http":{"method":"GET","requestUri":"/2016-11-25/streaming-distribution/{Id}/config"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"StreamingDistributionConfig":{"shape":"S2e"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistributionConfig"}},"ListCloudFrontOriginAccessIdentities":{"http":{"method":"GET","requestUri":"/2016-11-25/origin-access-identity/cloudfront"},"input":{"type":"structure","members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentityList":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CloudFrontOriginAccessIdentitySummary","type":"structure","required":["Id","S3CanonicalUserId","Comment"],"members":{"Id":{},"S3CanonicalUserId":{},"Comment":{}}}}}}},"payload":"CloudFrontOriginAccessIdentityList"}},"ListDistributions":{"http":{"method":"GET","requestUri":"/2016-11-25/distribution"},"input":{"type":"structure","members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"DistributionList":{"shape":"S3a"}},"payload":"DistributionList"}},"ListDistributionsByWebACLId":{"http":{"method":"GET","requestUri":"/2016-11-25/distributionsByWebACLId/{WebACLId}"},"input":{"type":"structure","required":["WebACLId"],"members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"},"WebACLId":{"location":"uri","locationName":"WebACLId"}}},"output":{"type":"structure","members":{"DistributionList":{"shape":"S3a"}},"payload":"DistributionList"}},"ListInvalidations":{"http":{"method":"GET","requestUri":"/2016-11-25/distribution/{DistributionId}/invalidation"},"input":{"type":"structure","required":["DistributionId"],"members":{"DistributionId":{"location":"uri","locationName":"DistributionId"},"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"InvalidationList":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"InvalidationSummary","type":"structure","required":["Id","CreateTime","Status"],"members":{"Id":{},"CreateTime":{"type":"timestamp"},"Status":{}}}}}}},"payload":"InvalidationList"}},"ListStreamingDistributions":{"http":{"method":"GET","requestUri":"/2016-11-25/streaming-distribution"},"input":{"type":"structure","members":{"Marker":{"location":"querystring","locationName":"Marker"},"MaxItems":{"location":"querystring","locationName":"MaxItems"}}},"output":{"type":"structure","members":{"StreamingDistributionList":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"StreamingDistributionSummary","type":"structure","required":["Id","ARN","Status","LastModifiedTime","DomainName","S3Origin","Aliases","TrustedSigners","Comment","PriceClass","Enabled"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"DomainName":{},"S3Origin":{"shape":"S2f"},"Aliases":{"shape":"S8"},"TrustedSigners":{"shape":"Sy"},"Comment":{},"PriceClass":{},"Enabled":{"type":"boolean"}}}}}}},"payload":"StreamingDistributionList"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2016-11-25/tagging"},"input":{"type":"structure","required":["Resource"],"members":{"Resource":{"location":"querystring","locationName":"Resource"}}},"output":{"type":"structure","required":["Tags"],"members":{"Tags":{"shape":"S21"}},"payload":"Tags"}},"TagResource":{"http":{"requestUri":"/2016-11-25/tagging?Operation=Tag","responseCode":204},"input":{"type":"structure","required":["Resource","Tags"],"members":{"Resource":{"location":"querystring","locationName":"Resource"},"Tags":{"shape":"S21","locationName":"Tags","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}}},"payload":"Tags"}},"UntagResource":{"http":{"requestUri":"/2016-11-25/tagging?Operation=Untag","responseCode":204},"input":{"type":"structure","required":["Resource","TagKeys"],"members":{"Resource":{"location":"querystring","locationName":"Resource"},"TagKeys":{"locationName":"TagKeys","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"},"type":"structure","members":{"Items":{"type":"list","member":{"locationName":"Key"}}}}},"payload":"TagKeys"}},"UpdateCloudFrontOriginAccessIdentity":{"http":{"method":"PUT","requestUri":"/2016-11-25/origin-access-identity/cloudfront/{Id}/config"},"input":{"type":"structure","required":["CloudFrontOriginAccessIdentityConfig","Id"],"members":{"CloudFrontOriginAccessIdentityConfig":{"shape":"S2","locationName":"CloudFrontOriginAccessIdentityConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}},"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}},"payload":"CloudFrontOriginAccessIdentityConfig"},"output":{"type":"structure","members":{"CloudFrontOriginAccessIdentity":{"shape":"S5"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"CloudFrontOriginAccessIdentity"}},"UpdateDistribution":{"http":{"method":"PUT","requestUri":"/2016-11-25/distribution/{Id}/config"},"input":{"type":"structure","required":["DistributionConfig","Id"],"members":{"DistributionConfig":{"shape":"S7","locationName":"DistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}},"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}},"payload":"DistributionConfig"},"output":{"type":"structure","members":{"Distribution":{"shape":"S1s"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"Distribution"}},"UpdateStreamingDistribution":{"http":{"method":"PUT","requestUri":"/2016-11-25/streaming-distribution/{Id}/config"},"input":{"type":"structure","required":["StreamingDistributionConfig","Id"],"members":{"StreamingDistributionConfig":{"shape":"S2e","locationName":"StreamingDistributionConfig","xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2016-11-25/"}},"Id":{"location":"uri","locationName":"Id"},"IfMatch":{"location":"header","locationName":"If-Match"}},"payload":"StreamingDistributionConfig"},"output":{"type":"structure","members":{"StreamingDistribution":{"shape":"S2i"},"ETag":{"location":"header","locationName":"ETag"}},"payload":"StreamingDistribution"}}},"shapes":{"S2":{"type":"structure","required":["CallerReference","Comment"],"members":{"CallerReference":{},"Comment":{}}},"S5":{"type":"structure","required":["Id","S3CanonicalUserId"],"members":{"Id":{},"S3CanonicalUserId":{},"CloudFrontOriginAccessIdentityConfig":{"shape":"S2"}}},"S7":{"type":"structure","required":["CallerReference","Origins","DefaultCacheBehavior","Comment","Enabled"],"members":{"CallerReference":{},"Aliases":{"shape":"S8"},"DefaultRootObject":{},"Origins":{"shape":"Sb"},"DefaultCacheBehavior":{"shape":"Sn"},"CacheBehaviors":{"shape":"S1a"},"CustomErrorResponses":{"shape":"S1d"},"Comment":{},"Logging":{"type":"structure","required":["Enabled","IncludeCookies","Bucket","Prefix"],"members":{"Enabled":{"type":"boolean"},"IncludeCookies":{"type":"boolean"},"Bucket":{},"Prefix":{}}},"PriceClass":{},"Enabled":{"type":"boolean"},"ViewerCertificate":{"shape":"S1i"},"Restrictions":{"shape":"S1m"},"WebACLId":{},"HttpVersion":{},"IsIPV6Enabled":{"type":"boolean"}}},"S8":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CNAME"}}}},"Sb":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Origin","type":"structure","required":["Id","DomainName"],"members":{"Id":{},"DomainName":{},"OriginPath":{},"CustomHeaders":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"OriginCustomHeader","type":"structure","required":["HeaderName","HeaderValue"],"members":{"HeaderName":{},"HeaderValue":{}}}}}},"S3OriginConfig":{"type":"structure","required":["OriginAccessIdentity"],"members":{"OriginAccessIdentity":{}}},"CustomOriginConfig":{"type":"structure","required":["HTTPPort","HTTPSPort","OriginProtocolPolicy"],"members":{"HTTPPort":{"type":"integer"},"HTTPSPort":{"type":"integer"},"OriginProtocolPolicy":{},"OriginSslProtocols":{"type":"structure","required":["Quantity","Items"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"SslProtocol"}}}}}}}}}}},"Sn":{"type":"structure","required":["TargetOriginId","ForwardedValues","TrustedSigners","ViewerProtocolPolicy","MinTTL"],"members":{"TargetOriginId":{},"ForwardedValues":{"shape":"So"},"TrustedSigners":{"shape":"Sy"},"ViewerProtocolPolicy":{},"MinTTL":{"type":"long"},"AllowedMethods":{"shape":"S12"},"SmoothStreaming":{"type":"boolean"},"DefaultTTL":{"type":"long"},"MaxTTL":{"type":"long"},"Compress":{"type":"boolean"},"LambdaFunctionAssociations":{"shape":"S16"}}},"So":{"type":"structure","required":["QueryString","Cookies"],"members":{"QueryString":{"type":"boolean"},"Cookies":{"type":"structure","required":["Forward"],"members":{"Forward":{},"WhitelistedNames":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Name"}}}}}},"Headers":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Name"}}}},"QueryStringCacheKeys":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Name"}}}}}},"Sy":{"type":"structure","required":["Enabled","Quantity"],"members":{"Enabled":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"AwsAccountNumber"}}}},"S12":{"type":"structure","required":["Quantity","Items"],"members":{"Quantity":{"type":"integer"},"Items":{"shape":"S13"},"CachedMethods":{"type":"structure","required":["Quantity","Items"],"members":{"Quantity":{"type":"integer"},"Items":{"shape":"S13"}}}}},"S13":{"type":"list","member":{"locationName":"Method"}},"S16":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"LambdaFunctionAssociation","type":"structure","members":{"LambdaFunctionARN":{},"EventType":{}}}}}},"S1a":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CacheBehavior","type":"structure","required":["PathPattern","TargetOriginId","ForwardedValues","TrustedSigners","ViewerProtocolPolicy","MinTTL"],"members":{"PathPattern":{},"TargetOriginId":{},"ForwardedValues":{"shape":"So"},"TrustedSigners":{"shape":"Sy"},"ViewerProtocolPolicy":{},"MinTTL":{"type":"long"},"AllowedMethods":{"shape":"S12"},"SmoothStreaming":{"type":"boolean"},"DefaultTTL":{"type":"long"},"MaxTTL":{"type":"long"},"Compress":{"type":"boolean"},"LambdaFunctionAssociations":{"shape":"S16"}}}}}},"S1d":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"CustomErrorResponse","type":"structure","required":["ErrorCode"],"members":{"ErrorCode":{"type":"integer"},"ResponsePagePath":{},"ResponseCode":{},"ErrorCachingMinTTL":{"type":"long"}}}}}},"S1i":{"type":"structure","members":{"CloudFrontDefaultCertificate":{"type":"boolean"},"IAMCertificateId":{},"ACMCertificateArn":{},"SSLSupportMethod":{},"MinimumProtocolVersion":{},"Certificate":{"deprecated":true},"CertificateSource":{"deprecated":true}}},"S1m":{"type":"structure","required":["GeoRestriction"],"members":{"GeoRestriction":{"type":"structure","required":["RestrictionType","Quantity"],"members":{"RestrictionType":{},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Location"}}}}}},"S1s":{"type":"structure","required":["Id","ARN","Status","LastModifiedTime","InProgressInvalidationBatches","DomainName","ActiveTrustedSigners","DistributionConfig"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"InProgressInvalidationBatches":{"type":"integer"},"DomainName":{},"ActiveTrustedSigners":{"shape":"S1u"},"DistributionConfig":{"shape":"S7"}}},"S1u":{"type":"structure","required":["Enabled","Quantity"],"members":{"Enabled":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Signer","type":"structure","members":{"AwsAccountNumber":{},"KeyPairIds":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"KeyPairId"}}}}}}}}},"S21":{"type":"structure","members":{"Items":{"type":"list","member":{"locationName":"Tag","type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}}}},"S28":{"type":"structure","required":["Paths","CallerReference"],"members":{"Paths":{"type":"structure","required":["Quantity"],"members":{"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"Path"}}}},"CallerReference":{}}},"S2c":{"type":"structure","required":["Id","Status","CreateTime","InvalidationBatch"],"members":{"Id":{},"Status":{},"CreateTime":{"type":"timestamp"},"InvalidationBatch":{"shape":"S28"}}},"S2e":{"type":"structure","required":["CallerReference","S3Origin","Comment","TrustedSigners","Enabled"],"members":{"CallerReference":{},"S3Origin":{"shape":"S2f"},"Aliases":{"shape":"S8"},"Comment":{},"Logging":{"type":"structure","required":["Enabled","Bucket","Prefix"],"members":{"Enabled":{"type":"boolean"},"Bucket":{},"Prefix":{}}},"TrustedSigners":{"shape":"Sy"},"PriceClass":{},"Enabled":{"type":"boolean"}}},"S2f":{"type":"structure","required":["DomainName","OriginAccessIdentity"],"members":{"DomainName":{},"OriginAccessIdentity":{}}},"S2i":{"type":"structure","required":["Id","ARN","Status","DomainName","ActiveTrustedSigners","StreamingDistributionConfig"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"DomainName":{},"ActiveTrustedSigners":{"shape":"S1u"},"StreamingDistributionConfig":{"shape":"S2e"}}},"S3a":{"type":"structure","required":["Marker","MaxItems","IsTruncated","Quantity"],"members":{"Marker":{},"NextMarker":{},"MaxItems":{"type":"integer"},"IsTruncated":{"type":"boolean"},"Quantity":{"type":"integer"},"Items":{"type":"list","member":{"locationName":"DistributionSummary","type":"structure","required":["Id","ARN","Status","LastModifiedTime","DomainName","Aliases","Origins","DefaultCacheBehavior","CacheBehaviors","CustomErrorResponses","Comment","PriceClass","Enabled","ViewerCertificate","Restrictions","WebACLId","HttpVersion","IsIPV6Enabled"],"members":{"Id":{},"ARN":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"DomainName":{},"Aliases":{"shape":"S8"},"Origins":{"shape":"Sb"},"DefaultCacheBehavior":{"shape":"Sn"},"CacheBehaviors":{"shape":"S1a"},"CustomErrorResponses":{"shape":"S1d"},"Comment":{},"PriceClass":{},"Enabled":{"type":"boolean"},"ViewerCertificate":{"shape":"S1i"},"Restrictions":{"shape":"S1m"},"WebACLId":{},"HttpVersion":{},"IsIPV6Enabled":{"type":"boolean"}}}}}}}}; - module.exports = AWS.Snowball; +/***/ }), - /***/ - }, +/***/ 1661: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2261: /***/ function (module) { - 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: {} }, - }, - 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: {} }, - }, - 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" } } }, - }, - 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: {} }, - }, - }, - UpdateBudget: { - input: { - type: "structure", - required: ["AccountId", "NewBudget"], - members: { AccountId: {}, NewBudget: { shape: "S3" } }, - }, - output: { type: "structure", members: {} }, - }, - 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 }, - }, - }, - }, - }; +var eventMessageChunker = __webpack_require__(625).eventMessageChunker; +var parseEvent = __webpack_require__(4657).parseEvent; - /***/ - }, +function createEventStream(body, parser, model) { + var eventMessages = eventMessageChunker(body); - /***/ 2269: /***/ function (module) { - module.exports = { - pagination: { - 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", - }, - DescribeDBInstances: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBInstances", - }, - DescribeDBSubnetGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSubnetGroups", - }, - DescribeEvents: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Events", - }, - DescribeOrderableDBInstanceOptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OrderableDBInstanceOptions", - }, - ListTagsForResource: { result_key: "TagList" }, - }, - }; + var events = []; - /***/ - }, + for (var i = 0; i < eventMessages.length; i++) { + events.push(parseEvent(parser, eventMessages[i], model)); + } - /***/ 2271: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["mediastoredata"] = {}; - AWS.MediaStoreData = Service.defineService("mediastoredata", [ - "2017-09-01", - ]); - Object.defineProperty( - apiLoader.services["mediastoredata"], - "2017-09-01", - { - get: function get() { - var model = __webpack_require__(8825); - model.paginators = __webpack_require__(4483).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); + return events; +} - module.exports = AWS.MediaStoreData; +/** + * @api private + */ +module.exports = { + createEventStream: createEventStream +}; - /***/ - }, - /***/ 2297: /***/ function (module) { - module.exports = class HttpError extends Error { - constructor(message, code, headers) { - super(message); +/***/ }), - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } +/***/ 1669: +/***/ (function(module) { - this.name = "HttpError"; - this.code = code; - this.headers = headers; - } - }; +module.exports = require("util"); - /***/ - }, +/***/ }), - /***/ 2304: /***/ function (module) { - 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: { - CreateCluster: { - http: { requestUri: "/v1/clusters", responseCode: 200 }, - input: { - type: "structure", - members: { - BrokerNodeGroupInfo: { - shape: "S2", - locationName: "brokerNodeGroupInfo", - }, - ClientAuthentication: { - shape: "Sa", - locationName: "clientAuthentication", - }, - ClusterName: { locationName: "clusterName" }, - ConfigurationInfo: { - shape: "Sd", - locationName: "configurationInfo", - }, - EncryptionInfo: { shape: "Sf", locationName: "encryptionInfo" }, - EnhancedMonitoring: { locationName: "enhancedMonitoring" }, - OpenMonitoring: { shape: "Sl", locationName: "openMonitoring" }, - KafkaVersion: { locationName: "kafkaVersion" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, - NumberOfBrokerNodes: { - locationName: "numberOfBrokerNodes", - type: "integer", - }, - Tags: { shape: "Sw", locationName: "tags" }, - }, - required: [ - "BrokerNodeGroupInfo", - "KafkaVersion", - "NumberOfBrokerNodes", - "ClusterName", - ], - }, - output: { - type: "structure", - members: { - ClusterArn: { locationName: "clusterArn" }, - ClusterName: { locationName: "clusterName" }, - State: { locationName: "state" }, - }, - }, - }, - CreateConfiguration: { - http: { requestUri: "/v1/configurations", responseCode: 200 }, - input: { - type: "structure", - members: { - Description: { locationName: "description" }, - KafkaVersions: { shape: "S4", locationName: "kafkaVersions" }, - Name: { locationName: "name" }, - ServerProperties: { - locationName: "serverProperties", - type: "blob", - }, - }, - required: ["ServerProperties", "KafkaVersions", "Name"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - LatestRevision: { - shape: "S13", - locationName: "latestRevision", - }, - Name: { locationName: "name" }, - }, - }, - }, - 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" }, - }, - }, - }, - 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: "S18", 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: "S1i", - 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: "S12", locationName: "creationTime" }, - Description: { locationName: "description" }, - KafkaVersions: { shape: "S4", locationName: "kafkaVersions" }, - LatestRevision: { - shape: "S13", - locationName: "latestRevision", - }, - Name: { locationName: "name" }, - }, - }, - }, - 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: "S12", locationName: "creationTime" }, - Description: { locationName: "description" }, - Revision: { locationName: "revision", type: "long" }, - ServerProperties: { - locationName: "serverProperties", - type: "blob", - }, - }, - }, - }, - 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", - }, - }, - }, - }, - 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: "S1i" }, - }, - 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: "S18" }, - }, - 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: "S13" }, - }, - }, - }, - }, - 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: "S12", - locationName: "creationTime", - }, - Description: { locationName: "description" }, - KafkaVersions: { - shape: "S4", - locationName: "kafkaVersions", - }, - LatestRevision: { - shape: "S13", - locationName: "latestRevision", - }, - Name: { locationName: "name" }, - }, - required: [ - "Description", - "LatestRevision", - "CreationTime", - "KafkaVersions", - "Arn", - "Name", - ], - }, - }, - 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: "S19", - locationName: "currentBrokerSoftwareInfo", - }, - Endpoints: { shape: "S4", 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: "S4", locationName: "endpoints" }, - ZookeeperId: { - locationName: "zookeeperId", - type: "double", - }, - ZookeeperVersion: { - locationName: "zookeeperVersion", - }, - }, - }, - }, - }, - }, - }, - }, - }, - 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: "Sw", locationName: "tags" } }, - }, - }, - TagResource: { - http: { requestUri: "/v1/tags/{resourceArn}", responseCode: 204 }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "Sw", 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: "S4", - 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" }, - }, - }, - }, - 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: "S1l", - locationName: "targetBrokerEBSVolumeInfo", - }, - }, - required: [ - "ClusterArn", - "TargetBrokerEBSVolumeInfo", - "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: "Sd", - locationName: "configurationInfo", - }, - CurrentVersion: { locationName: "currentVersion" }, - }, - required: ["ClusterArn", "CurrentVersion", "ConfigurationInfo"], - }, - 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: "Sl", locationName: "openMonitoring" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, - }, - required: ["ClusterArn", "CurrentVersion"], - }, - output: { - type: "structure", - members: { - ClusterArn: { locationName: "clusterArn" }, - ClusterOperationArn: { locationName: "clusterOperationArn" }, - }, - }, - }, - }, - shapes: { - S2: { - type: "structure", - members: { - BrokerAZDistribution: { locationName: "brokerAZDistribution" }, - ClientSubnets: { shape: "S4", locationName: "clientSubnets" }, - InstanceType: { locationName: "instanceType" }, - SecurityGroups: { shape: "S4", locationName: "securityGroups" }, - StorageInfo: { - locationName: "storageInfo", - type: "structure", - members: { - EbsStorageInfo: { - locationName: "ebsStorageInfo", - type: "structure", - members: { - VolumeSize: { - locationName: "volumeSize", - type: "integer", - }, - }, - }, - }, - }, - }, - required: ["ClientSubnets", "InstanceType"], - }, - S4: { type: "list", member: {} }, - Sa: { - type: "structure", - members: { - Tls: { - locationName: "tls", - type: "structure", - members: { - CertificateAuthorityArnList: { - shape: "S4", - locationName: "certificateAuthorityArnList", - }, - }, - }, - }, - }, - Sd: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Revision: { locationName: "revision", type: "long" }, - }, - required: ["Revision", "Arn"], - }, - Sf: { - 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" }, - }, - }, - }, - }, - Sl: { - 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"], - }, - Sq: { - 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"], - }, - Sw: { type: "map", key: {}, value: {} }, - S12: { type: "timestamp", timestampFormat: "iso8601" }, - S13: { - type: "structure", - members: { - CreationTime: { shape: "S12", locationName: "creationTime" }, - Description: { locationName: "description" }, - Revision: { locationName: "revision", type: "long" }, - }, - required: ["Revision", "CreationTime"], - }, - S18: { - type: "structure", - members: { - ActiveOperationArn: { locationName: "activeOperationArn" }, - BrokerNodeGroupInfo: { - shape: "S2", - locationName: "brokerNodeGroupInfo", - }, - ClientAuthentication: { - shape: "Sa", - locationName: "clientAuthentication", - }, - ClusterArn: { locationName: "clusterArn" }, - ClusterName: { locationName: "clusterName" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - CurrentBrokerSoftwareInfo: { - shape: "S19", - locationName: "currentBrokerSoftwareInfo", - }, - CurrentVersion: { locationName: "currentVersion" }, - EncryptionInfo: { shape: "Sf", locationName: "encryptionInfo" }, - EnhancedMonitoring: { locationName: "enhancedMonitoring" }, - OpenMonitoring: { shape: "S1a", locationName: "openMonitoring" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, - NumberOfBrokerNodes: { - locationName: "numberOfBrokerNodes", - type: "integer", - }, - State: { locationName: "state" }, - StateInfo: { - locationName: "stateInfo", - type: "structure", - members: { - Code: { locationName: "code" }, - Message: { locationName: "message" }, - }, - }, - Tags: { shape: "Sw", locationName: "tags" }, - ZookeeperConnectString: { - locationName: "zookeeperConnectString", - }, - }, - }, - S19: { - type: "structure", - members: { - ConfigurationArn: { locationName: "configurationArn" }, - ConfigurationRevision: { - locationName: "configurationRevision", - type: "long", - }, - KafkaVersion: { locationName: "kafkaVersion" }, - }, - }, - S1a: { - 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"], - }, - S1i: { - type: "structure", - members: { - ClientRequestId: { locationName: "clientRequestId" }, - ClusterArn: { locationName: "clusterArn" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - EndTime: { shape: "S12", locationName: "endTime" }, - ErrorInfo: { - locationName: "errorInfo", - type: "structure", - members: { - ErrorCode: { locationName: "errorCode" }, - ErrorString: { locationName: "errorString" }, - }, - }, - OperationArn: { locationName: "operationArn" }, - OperationState: { locationName: "operationState" }, - OperationType: { locationName: "operationType" }, - SourceClusterInfo: { - shape: "S1k", - locationName: "sourceClusterInfo", - }, - TargetClusterInfo: { - shape: "S1k", - locationName: "targetClusterInfo", - }, - }, - }, - S1k: { - type: "structure", - members: { - BrokerEBSVolumeInfo: { - shape: "S1l", - locationName: "brokerEBSVolumeInfo", - }, - ConfigurationInfo: { - shape: "Sd", - locationName: "configurationInfo", - }, - NumberOfBrokerNodes: { - locationName: "numberOfBrokerNodes", - type: "integer", - }, - EnhancedMonitoring: { locationName: "enhancedMonitoring" }, - OpenMonitoring: { shape: "S1a", locationName: "openMonitoring" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, - }, - }, - S1l: { - type: "list", - member: { - type: "structure", - members: { - KafkaBrokerNodeId: { locationName: "kafkaBrokerNodeId" }, - VolumeSizeGB: { locationName: "volumeSizeGB", type: "integer" }, - }, - required: ["VolumeSizeGB", "KafkaBrokerNodeId"], - }, - }, - }, - }; +/***/ 1677: +/***/ (function(module) { - /***/ - }, +module.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"}}}; - /***/ 2317: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codedeploy"] = {}; - AWS.CodeDeploy = Service.defineService("codedeploy", ["2014-10-06"]); - Object.defineProperty(apiLoader.services["codedeploy"], "2014-10-06", { - get: function get() { - var model = __webpack_require__(4721); - model.paginators = __webpack_require__(2971).pagination; - model.waiters = __webpack_require__(1154).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ }), - module.exports = AWS.CodeDeploy; +/***/ 1694: +/***/ (function(module) { - /***/ - }, +module.exports = {"acm":{"name":"ACM","cors":true},"apigateway":{"name":"APIGateway","cors":true},"applicationautoscaling":{"prefix":"application-autoscaling","name":"ApplicationAutoScaling","cors":true},"appstream":{"name":"AppStream"},"autoscaling":{"name":"AutoScaling","cors":true},"batch":{"name":"Batch"},"budgets":{"name":"Budgets"},"clouddirectory":{"name":"CloudDirectory","versions":["2016-05-10*"]},"cloudformation":{"name":"CloudFormation","cors":true},"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":true},"cloudhsm":{"name":"CloudHSM","cors":true},"cloudsearch":{"name":"CloudSearch"},"cloudsearchdomain":{"name":"CloudSearchDomain"},"cloudtrail":{"name":"CloudTrail","cors":true},"cloudwatch":{"prefix":"monitoring","name":"CloudWatch","cors":true},"cloudwatchevents":{"prefix":"events","name":"CloudWatchEvents","versions":["2014-02-03*"],"cors":true},"cloudwatchlogs":{"prefix":"logs","name":"CloudWatchLogs","cors":true},"codebuild":{"name":"CodeBuild","cors":true},"codecommit":{"name":"CodeCommit","cors":true},"codedeploy":{"name":"CodeDeploy","cors":true},"codepipeline":{"name":"CodePipeline","cors":true},"cognitoidentity":{"prefix":"cognito-identity","name":"CognitoIdentity","cors":true},"cognitoidentityserviceprovider":{"prefix":"cognito-idp","name":"CognitoIdentityServiceProvider","cors":true},"cognitosync":{"prefix":"cognito-sync","name":"CognitoSync","cors":true},"configservice":{"prefix":"config","name":"ConfigService","cors":true},"cur":{"name":"CUR","cors":true},"datapipeline":{"name":"DataPipeline"},"devicefarm":{"name":"DeviceFarm","cors":true},"directconnect":{"name":"DirectConnect","cors":true},"directoryservice":{"prefix":"ds","name":"DirectoryService"},"discovery":{"name":"Discovery"},"dms":{"name":"DMS"},"dynamodb":{"name":"DynamoDB","cors":true},"dynamodbstreams":{"prefix":"streams.dynamodb","name":"DynamoDBStreams","cors":true},"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":true},"ecr":{"name":"ECR","cors":true},"ecs":{"name":"ECS","cors":true},"efs":{"prefix":"elasticfilesystem","name":"EFS","cors":true},"elasticache":{"name":"ElastiCache","versions":["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*"],"cors":true},"elasticbeanstalk":{"name":"ElasticBeanstalk","cors":true},"elb":{"prefix":"elasticloadbalancing","name":"ELB","cors":true},"elbv2":{"prefix":"elasticloadbalancingv2","name":"ELBv2","cors":true},"emr":{"prefix":"elasticmapreduce","name":"EMR","cors":true},"es":{"name":"ES"},"elastictranscoder":{"name":"ElasticTranscoder","cors":true},"firehose":{"name":"Firehose","cors":true},"gamelift":{"name":"GameLift","cors":true},"glacier":{"name":"Glacier"},"health":{"name":"Health"},"iam":{"name":"IAM","cors":true},"importexport":{"name":"ImportExport"},"inspector":{"name":"Inspector","versions":["2015-08-18*"],"cors":true},"iot":{"name":"Iot","cors":true},"iotdata":{"prefix":"iot-data","name":"IotData","cors":true},"kinesis":{"name":"Kinesis","cors":true},"kinesisanalytics":{"name":"KinesisAnalytics"},"kms":{"name":"KMS","cors":true},"lambda":{"name":"Lambda","cors":true},"lexruntime":{"prefix":"runtime.lex","name":"LexRuntime","cors":true},"lightsail":{"name":"Lightsail"},"machinelearning":{"name":"MachineLearning","cors":true},"marketplacecommerceanalytics":{"name":"MarketplaceCommerceAnalytics","cors":true},"marketplacemetering":{"prefix":"meteringmarketplace","name":"MarketplaceMetering"},"mturk":{"prefix":"mturk-requester","name":"MTurk","cors":true},"mobileanalytics":{"name":"MobileAnalytics","cors":true},"opsworks":{"name":"OpsWorks","cors":true},"opsworkscm":{"name":"OpsWorksCM"},"organizations":{"name":"Organizations"},"pinpoint":{"name":"Pinpoint"},"polly":{"name":"Polly","cors":true},"rds":{"name":"RDS","versions":["2014-09-01*"],"cors":true},"redshift":{"name":"Redshift","cors":true},"rekognition":{"name":"Rekognition","cors":true},"resourcegroupstaggingapi":{"name":"ResourceGroupsTaggingAPI"},"route53":{"name":"Route53","cors":true},"route53domains":{"name":"Route53Domains","cors":true},"s3":{"name":"S3","dualstackAvailable":true,"cors":true},"s3control":{"name":"S3Control","dualstackAvailable":true,"xmlNoDefaultLists":true},"servicecatalog":{"name":"ServiceCatalog","cors":true},"ses":{"prefix":"email","name":"SES","cors":true},"shield":{"name":"Shield"},"simpledb":{"prefix":"sdb","name":"SimpleDB"},"sms":{"name":"SMS"},"snowball":{"name":"Snowball"},"sns":{"name":"SNS","cors":true},"sqs":{"name":"SQS","cors":true},"ssm":{"name":"SSM","cors":true},"storagegateway":{"name":"StorageGateway","cors":true},"stepfunctions":{"prefix":"states","name":"StepFunctions"},"sts":{"name":"STS","cors":true},"support":{"name":"Support"},"swf":{"name":"SWF"},"xray":{"name":"XRay","cors":true},"waf":{"name":"WAF","cors":true},"wafregional":{"prefix":"waf-regional","name":"WAFRegional"},"workdocs":{"name":"WorkDocs","cors":true},"workspaces":{"name":"WorkSpaces"},"codestar":{"name":"CodeStar"},"lexmodelbuildingservice":{"prefix":"lex-models","name":"LexModelBuildingService","cors":true},"marketplaceentitlementservice":{"prefix":"entitlement.marketplace","name":"MarketplaceEntitlementService"},"athena":{"name":"Athena"},"greengrass":{"name":"Greengrass"},"dax":{"name":"DAX"},"migrationhub":{"prefix":"AWSMigrationHub","name":"MigrationHub"},"cloudhsmv2":{"name":"CloudHSMV2"},"glue":{"name":"Glue"},"mobile":{"name":"Mobile"},"pricing":{"name":"Pricing","cors":true},"costexplorer":{"prefix":"ce","name":"CostExplorer","cors":true},"mediaconvert":{"name":"MediaConvert"},"medialive":{"name":"MediaLive"},"mediapackage":{"name":"MediaPackage"},"mediastore":{"name":"MediaStore"},"mediastoredata":{"prefix":"mediastore-data","name":"MediaStoreData","cors":true},"appsync":{"name":"AppSync"},"guardduty":{"name":"GuardDuty"},"mq":{"name":"MQ"},"comprehend":{"name":"Comprehend","cors":true},"iotjobsdataplane":{"prefix":"iot-jobs-data","name":"IoTJobsDataPlane"},"kinesisvideoarchivedmedia":{"prefix":"kinesis-video-archived-media","name":"KinesisVideoArchivedMedia","cors":true},"kinesisvideomedia":{"prefix":"kinesis-video-media","name":"KinesisVideoMedia","cors":true},"kinesisvideo":{"name":"KinesisVideo","cors":true},"sagemakerruntime":{"prefix":"runtime.sagemaker","name":"SageMakerRuntime"},"sagemaker":{"name":"SageMaker"},"translate":{"name":"Translate","cors":true},"resourcegroups":{"prefix":"resource-groups","name":"ResourceGroups","cors":true},"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":true},"acmpca":{"prefix":"acm-pca","name":"ACMPCA"},"fms":{"name":"FMS"},"secretsmanager":{"name":"SecretsManager","cors":true},"iotanalytics":{"name":"IoTAnalytics","cors":true},"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":true},"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":true},"personalizeevents":{"prefix":"personalize-events","name":"PersonalizeEvents","cors":true},"personalizeruntime":{"prefix":"personalize-runtime","name":"PersonalizeRuntime","cors":true},"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":true},"forecastqueryservice":{"prefix":"forecastquery","name":"ForecastQueryService","cors":true},"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":true},"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"},"wellarchitected":{"name":"WellArchitected"}}; - /***/ 2323: /***/ function (module) { - module.exports = { pagination: {} }; +/***/ }), - /***/ - }, +/***/ 1701: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2327: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["iotthingsgraph"] = {}; - AWS.IoTThingsGraph = Service.defineService("iotthingsgraph", [ - "2018-09-06", - ]); - Object.defineProperty( - apiLoader.services["iotthingsgraph"], - "2018-09-06", - { - get: function get() { - var model = __webpack_require__(9187); - model.paginators = __webpack_require__(6433).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +var util = __webpack_require__(395).util; +var dgram = __webpack_require__(6200); +var stringToBuffer = util.buffer.toBuffer; - module.exports = AWS.IoTThingsGraph; +var MAX_MESSAGE_SIZE = 1024 * 8; // 8 KB - /***/ - }, +/** + * Publishes metrics via udp. + * @param {object} options Paramters for Publisher constructor + * @param {number} [options.port = 31000] Port number + * @param {string} [options.clientId = ''] Client Identifier + * @param {boolean} [options.enabled = false] enable sending metrics datagram + * @api private + */ +function Publisher(options) { + // handle configuration + options = options || {}; + this.enabled = options.enabled || false; + this.port = options.port || 31000; + this.clientId = options.clientId || ''; + this.address = options.host || '127.0.0.1'; + if (this.clientId.length > 255) { + // ClientId has a max length of 255 + this.clientId = this.clientId.substr(0, 255); + } + this.messagesInFlight = 0; +} - /***/ 2336: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - ResourceRecordSetsChanged: { - delay: 30, - maxAttempts: 60, - operation: "GetChange", - acceptors: [ - { - matcher: "path", - expected: "INSYNC", - argument: "ChangeInfo.Status", - state: "success", - }, - ], - }, - }, - }; +Publisher.prototype.fieldsToTrim = { + UserAgent: 256, + SdkException: 128, + SdkExceptionMessage: 512, + AwsException: 128, + AwsExceptionMessage: 512, + FinalSdkException: 128, + FinalSdkExceptionMessage: 512, + FinalAwsException: 128, + FinalAwsExceptionMessage: 512 - /***/ - }, +}; - /***/ 2339: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["mediapackagevod"] = {}; - AWS.MediaPackageVod = Service.defineService("mediapackagevod", [ - "2018-11-07", - ]); - Object.defineProperty( - apiLoader.services["mediapackagevod"], - "2018-11-07", - { - get: function get() { - var model = __webpack_require__(5351); - model.paginators = __webpack_require__(5826).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/** + * Trims fields that have a specified max length. + * @param {object} event ApiCall or ApiCallAttempt event. + * @returns {object} + * @api private + */ +Publisher.prototype.trimFields = function(event) { + var trimmableFields = Object.keys(this.fieldsToTrim); + for (var i = 0, iLen = trimmableFields.length; i < iLen; i++) { + var field = trimmableFields[i]; + if (event.hasOwnProperty(field)) { + var maxLength = this.fieldsToTrim[field]; + var value = event[field]; + if (value && value.length > maxLength) { + event[field] = value.substr(0, maxLength); + } + } + } + return event; +}; + +/** + * Handles ApiCall and ApiCallAttempt events. + * @param {Object} event apiCall or apiCallAttempt event. + * @api private + */ +Publisher.prototype.eventHandler = function(event) { + // set the clientId + event.ClientId = this.clientId; + + this.trimFields(event); - module.exports = AWS.MediaPackageVod; + var message = stringToBuffer(JSON.stringify(event)); + if (!this.enabled || message.length > MAX_MESSAGE_SIZE) { + // drop the message if publisher not enabled or it is too large + return; + } - /***/ - }, + this.publishDatagram(message); +}; - /***/ 2349: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = authenticationRequestError; +/** + * Publishes message to an agent. + * @param {Buffer} message JSON message to send to agent. + * @api private + */ +Publisher.prototype.publishDatagram = function(message) { + var self = this; + var client = this.getClient(); + + this.messagesInFlight++; + this.client.send(message, 0, message.length, this.port, this.address, function(err, bytes) { + if (--self.messagesInFlight <= 0) { + // destroy existing client so the event loop isn't kept open + self.destroyClient(); + } + }); +}; + +/** + * Returns an existing udp socket, or creates one if it doesn't already exist. + * @api private + */ +Publisher.prototype.getClient = function() { + if (!this.client) { + this.client = dgram.createSocket('udp4'); + } + return this.client; +}; - const { RequestError } = __webpack_require__(3497); +/** + * Destroys the udp socket. + * @api private + */ +Publisher.prototype.destroyClient = function() { + if (this.client) { + this.client.close(); + this.client = void 0; + } +}; - function authenticationRequestError(state, error, options) { - /* istanbul ignore next */ - if (!error.headers) throw error; +module.exports = { + Publisher: Publisher +}; - const otpRequired = /required/.test( - error.headers["x-github-otp"] || "" - ); - // handle "2FA required" error only - if (error.status !== 401 || !otpRequired) { - throw error; - } - if ( - error.status === 401 && - otpRequired && - error.request && - error.request.headers["x-github-otp"] - ) { - throw new RequestError( - "Invalid one-time password for two-factor authentication", - 401, - { - headers: error.headers, - request: options, - } - ); - } +/***/ }), - if (typeof state.auth.on2fa !== "function") { - throw new RequestError( - "2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication", - 401, - { - headers: error.headers, - request: options, - } - ); - } +/***/ 1711: +/***/ (function(module, __unusedexports, __webpack_require__) { - return Promise.resolve() - .then(() => { - return state.auth.on2fa(); - }) - .then((oneTimePassword) => { - const newOptions = Object.assign(options, { - headers: Object.assign( - { "x-github-otp": oneTimePassword }, - options.headers - ), - }); - return state.octokit.request(newOptions); - }); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['glue'] = {}; +AWS.Glue = Service.defineService('glue', ['2017-03-31']); +Object.defineProperty(apiLoader.services['glue'], '2017-03-31', { + get: function get() { + var model = __webpack_require__(6063); + model.paginators = __webpack_require__(2911).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 2357: /***/ function (module) { - module.exports = require("assert"); +module.exports = AWS.Glue; - /***/ - }, - /***/ 2382: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.CognitoIdentity.prototype, { - getOpenIdToken: function getOpenIdToken(params, callback) { - return this.makeUnauthenticatedRequest( - "getOpenIdToken", - params, - callback - ); - }, +/***/ }), - getId: function getId(params, callback) { - return this.makeUnauthenticatedRequest("getId", params, callback); - }, +/***/ 1713: +/***/ (function(module) { - getCredentialsForIdentity: function getCredentialsForIdentity( - params, - callback - ) { - return this.makeUnauthenticatedRequest( - "getCredentialsForIdentity", - params, - callback - ); - }, - }); +module.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":{}}; + +/***/ }), + +/***/ 1724: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-04-19","endpointPrefix":"codestar","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"CodeStar","serviceFullName":"AWS CodeStar","serviceId":"CodeStar","signatureVersion":"v4","targetPrefix":"CodeStar_20170419","uid":"codestar-2017-04-19"},"operations":{"AssociateTeamMember":{"input":{"type":"structure","required":["projectId","userArn","projectRole"],"members":{"projectId":{},"clientRequestToken":{},"userArn":{},"projectRole":{},"remoteAccessAllowed":{"type":"boolean"}}},"output":{"type":"structure","members":{"clientRequestToken":{}}}},"CreateProject":{"input":{"type":"structure","required":["name","id"],"members":{"name":{"shape":"S9"},"id":{},"description":{"shape":"Sa"},"clientRequestToken":{},"sourceCode":{"type":"list","member":{"type":"structure","required":["source","destination"],"members":{"source":{"type":"structure","required":["s3"],"members":{"s3":{"shape":"Se"}}},"destination":{"type":"structure","members":{"codeCommit":{"type":"structure","required":["name"],"members":{"name":{}}},"gitHub":{"type":"structure","required":["name","type","owner","privateRepository","issuesEnabled","token"],"members":{"name":{},"description":{},"type":{},"owner":{},"privateRepository":{"type":"boolean"},"issuesEnabled":{"type":"boolean"},"token":{"type":"string","sensitive":true}}}}}}}},"toolchain":{"type":"structure","required":["source"],"members":{"source":{"type":"structure","required":["s3"],"members":{"s3":{"shape":"Se"}}},"roleArn":{},"stackParameters":{"type":"map","key":{},"value":{"type":"string","sensitive":true}}}},"tags":{"shape":"Sx"}}},"output":{"type":"structure","required":["id","arn"],"members":{"id":{},"arn":{},"clientRequestToken":{},"projectTemplateId":{}}}},"CreateUserProfile":{"input":{"type":"structure","required":["userArn","displayName","emailAddress"],"members":{"userArn":{},"displayName":{"shape":"S14"},"emailAddress":{"shape":"S15"},"sshPublicKey":{}}},"output":{"type":"structure","required":["userArn"],"members":{"userArn":{},"displayName":{"shape":"S14"},"emailAddress":{"shape":"S15"},"sshPublicKey":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"DeleteProject":{"input":{"type":"structure","required":["id"],"members":{"id":{},"clientRequestToken":{},"deleteStack":{"type":"boolean"}}},"output":{"type":"structure","members":{"stackId":{},"projectArn":{}}}},"DeleteUserProfile":{"input":{"type":"structure","required":["userArn"],"members":{"userArn":{}}},"output":{"type":"structure","required":["userArn"],"members":{"userArn":{}}}},"DescribeProject":{"input":{"type":"structure","required":["id"],"members":{"id":{}}},"output":{"type":"structure","members":{"name":{"shape":"S9"},"id":{},"arn":{},"description":{"shape":"Sa"},"clientRequestToken":{},"createdTimeStamp":{"type":"timestamp"},"stackId":{},"projectTemplateId":{},"status":{"type":"structure","required":["state"],"members":{"state":{},"reason":{}}}}}},"DescribeUserProfile":{"input":{"type":"structure","required":["userArn"],"members":{"userArn":{}}},"output":{"type":"structure","required":["userArn","createdTimestamp","lastModifiedTimestamp"],"members":{"userArn":{},"displayName":{"shape":"S14"},"emailAddress":{"shape":"S15"},"sshPublicKey":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}},"DisassociateTeamMember":{"input":{"type":"structure","required":["projectId","userArn"],"members":{"projectId":{},"userArn":{}}},"output":{"type":"structure","members":{}}},"ListProjects":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["projects"],"members":{"projects":{"type":"list","member":{"type":"structure","members":{"projectId":{},"projectArn":{}}}},"nextToken":{}}}},"ListResources":{"input":{"type":"structure","required":["projectId"],"members":{"projectId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resources":{"type":"list","member":{"type":"structure","required":["id"],"members":{"id":{}}}},"nextToken":{}}}},"ListTagsForProject":{"input":{"type":"structure","required":["id"],"members":{"id":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sx"},"nextToken":{}}}},"ListTeamMembers":{"input":{"type":"structure","required":["projectId"],"members":{"projectId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["teamMembers"],"members":{"teamMembers":{"type":"list","member":{"type":"structure","required":["userArn","projectRole"],"members":{"userArn":{},"projectRole":{},"remoteAccessAllowed":{"type":"boolean"}}}},"nextToken":{}}}},"ListUserProfiles":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["userProfiles"],"members":{"userProfiles":{"type":"list","member":{"type":"structure","members":{"userArn":{},"displayName":{"shape":"S14"},"emailAddress":{"shape":"S15"},"sshPublicKey":{}}}},"nextToken":{}}}},"TagProject":{"input":{"type":"structure","required":["id","tags"],"members":{"id":{},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sx"}}}},"UntagProject":{"input":{"type":"structure","required":["id","tags"],"members":{"id":{},"tags":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateProject":{"input":{"type":"structure","required":["id"],"members":{"id":{},"name":{"shape":"S9"},"description":{"shape":"Sa"}}},"output":{"type":"structure","members":{}}},"UpdateTeamMember":{"input":{"type":"structure","required":["projectId","userArn"],"members":{"projectId":{},"userArn":{},"projectRole":{},"remoteAccessAllowed":{"type":"boolean"}}},"output":{"type":"structure","members":{"userArn":{},"projectRole":{},"remoteAccessAllowed":{"type":"boolean"}}}},"UpdateUserProfile":{"input":{"type":"structure","required":["userArn"],"members":{"userArn":{},"displayName":{"shape":"S14"},"emailAddress":{"shape":"S15"},"sshPublicKey":{}}},"output":{"type":"structure","required":["userArn"],"members":{"userArn":{},"displayName":{"shape":"S14"},"emailAddress":{"shape":"S15"},"sshPublicKey":{},"createdTimestamp":{"type":"timestamp"},"lastModifiedTimestamp":{"type":"timestamp"}}}}},"shapes":{"S9":{"type":"string","sensitive":true},"Sa":{"type":"string","sensitive":true},"Se":{"type":"structure","members":{"bucketName":{},"bucketKey":{}}},"Sx":{"type":"map","key":{},"value":{}},"S14":{"type":"string","sensitive":true},"S15":{"type":"string","sensitive":true}}}; + +/***/ }), - /***/ - }, +/***/ 1729: +/***/ (function(module) { - /***/ 2386: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["acmpca"] = {}; - AWS.ACMPCA = Service.defineService("acmpca", ["2017-08-22"]); - Object.defineProperty(apiLoader.services["acmpca"], "2017-08-22", { - get: function get() { - var model = __webpack_require__(72); - model.paginators = __webpack_require__(1455).pagination; - model.waiters = __webpack_require__(1273).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); +module.exports = {"pagination":{"GetDedicatedIps":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListConfigurationSets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListDedicatedIpPools":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListDeliverabilityTestReports":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListDomainDeliverabilityCampaigns":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListEmailIdentities":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"}}}; - module.exports = AWS.ACMPCA; +/***/ }), - /***/ - }, +/***/ 1733: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2390: /***/ function (module) { - /** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ - var byteToHex = []; - for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; - // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 - return [ - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - ].join(""); - } +apiLoader.services['sts'] = {}; +AWS.STS = Service.defineService('sts', ['2011-06-15']); +__webpack_require__(3861); +Object.defineProperty(apiLoader.services['sts'], '2011-06-15', { + get: function get() { + var model = __webpack_require__(9715); + model.paginators = __webpack_require__(7270).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - module.exports = bytesToUuid; +module.exports = AWS.STS; - /***/ - }, - /***/ 2394: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - DistributionDeployed: { - delay: 60, - operation: "GetDistribution", - maxAttempts: 25, - description: "Wait until a distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "Distribution.Status", - }, - ], - }, - InvalidationCompleted: { - delay: 20, - operation: "GetInvalidation", - maxAttempts: 30, - description: "Wait until an invalidation has completed.", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "Invalidation.Status", - }, - ], - }, - StreamingDistributionDeployed: { - delay: 60, - operation: "GetStreamingDistribution", - maxAttempts: 25, - description: "Wait until a streaming distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "StreamingDistribution.Status", - }, - ], - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1740: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2413: /***/ function (module) { - module.exports = require("stream"); +var rng = __webpack_require__(1881); +var bytesToUuid = __webpack_require__(2390); - /***/ - }, +function v4(options, buf, offset) { + var i = buf && offset || 0; - /***/ 2421: /***/ function (module) { - module.exports = { - pagination: { - ListMeshes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "meshes", - }, - ListRoutes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "routes", - }, - ListTagsForResource: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "tags", - }, - ListVirtualNodes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualNodes", - }, - ListVirtualRouters: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualRouters", - }, - ListVirtualServices: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualServices", - }, - }, - }; + if (typeof(options) == 'string') { + buf = options === 'binary' ? new Array(16) : null; + options = null; + } + options = options || {}; - /***/ - }, + var rnds = options.random || (options.rng || rng)(); - /***/ 2447: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` + rnds[6] = (rnds[6] & 0x0f) | 0x40; + rnds[8] = (rnds[8] & 0x3f) | 0x80; - apiLoader.services["qldbsession"] = {}; - AWS.QLDBSession = Service.defineService("qldbsession", ["2019-07-11"]); - Object.defineProperty(apiLoader.services["qldbsession"], "2019-07-11", { - get: function get() { - var model = __webpack_require__(320); - model.paginators = __webpack_require__(8452).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + // Copy bytes to buffer, if provided + if (buf) { + for (var ii = 0; ii < 16; ++ii) { + buf[i + ii] = rnds[ii]; + } + } - module.exports = AWS.QLDBSession; + return buf || bytesToUuid(rnds); +} - /***/ - }, +module.exports = v4; - /***/ 2449: /***/ function (module) { - module.exports = { pagination: {} }; - /***/ - }, +/***/ }), - /***/ 2450: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.RDSDataService.prototype, { - /** - * @return [Boolean] whether the error can be retried - * @api private - */ - retryableError: function retryableError(error) { - if ( - error.code === "BadRequestException" && - error.message && - error.message.match(/^Communications link failure/) && - error.statusCode === 400 - ) { - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error); - } - }, - }); +/***/ 1753: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - /***/ - }, +"use strict"; - /***/ 2453: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var AcceptorStateMachine = __webpack_require__(3696); - var inherit = AWS.util.inherit; - var domain = AWS.util.domain; - var jmespath = __webpack_require__(2802); - - /** - * @api private - */ - var hardErrorStates = { success: 1, error: 1, complete: 1 }; - - function isTerminalState(machine) { - return Object.prototype.hasOwnProperty.call( - hardErrorStates, - machine._asm.currentState - ); - } - var fsm = new AcceptorStateMachine(); - fsm.setupStates = function () { - var transition = function (_, done) { - var self = this; - self._haltHandlersOnError = false; +Object.defineProperty(exports, '__esModule', { value: true }); - self.emit(self._asm.currentState, function (err) { - if (err) { - if (isTerminalState(self)) { - if (domain && self.domain instanceof domain.Domain) { - err.domainEmitter = self; - err.domain = self.domain; - err.domainThrown = false; - self.domain.emit("error", err); - } else { - throw err; - } - } else { - self.response.error = err; - done(err); - } - } else { - done(self.response.error); - } - }); - }; +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - this.addState("validate", "build", "error", transition); - this.addState("build", "afterBuild", "restart", transition); - this.addState("afterBuild", "sign", "restart", transition); - this.addState("sign", "send", "retry", transition); - this.addState("retry", "afterRetry", "afterRetry", transition); - this.addState("afterRetry", "sign", "error", transition); - this.addState("send", "validateResponse", "retry", transition); - this.addState( - "validateResponse", - "extractData", - "extractError", - transition - ); - this.addState("extractError", "extractData", "retry", transition); - this.addState("extractData", "success", "retry", transition); - this.addState("restart", "build", "error", transition); - this.addState("success", "complete", "complete", transition); - this.addState("error", "complete", "complete", transition); - this.addState("complete", null, null, transition); - }; - fsm.setupStates(); - - /** - * ## Asynchronous Requests - * - * All requests made through the SDK are asynchronous and use a - * callback interface. Each service method that kicks off a request - * returns an `AWS.Request` object that you can use to register - * callbacks. - * - * For example, the following service method returns the request - * object as "request", which can be used to register callbacks: - * - * ```javascript - * // request is an AWS.Request object - * var request = ec2.describeInstances(); - * - * // register callbacks on request to retrieve response data - * request.on('success', function(response) { - * console.log(response.data); - * }); - * ``` - * - * When a request is ready to be sent, the {send} method should - * be called: - * - * ```javascript - * request.send(); - * ``` - * - * Since registered callbacks may or may not be idempotent, requests should only - * be sent once. To perform the same operation multiple times, you will need to - * create multiple request objects, each with its own registered callbacks. - * - * ## Removing Default Listeners for Events - * - * Request objects are built with default listeners for the various events, - * depending on the service type. In some cases, you may want to remove - * some built-in listeners to customize behaviour. Doing this requires - * access to the built-in listener functions, which are exposed through - * the {AWS.EventListeners.Core} namespace. For instance, you may - * want to customize the HTTP handler used when sending a request. In this - * case, you can remove the built-in listener associated with the 'send' - * event, the {AWS.EventListeners.Core.SEND} listener and add your own. - * - * ## Multiple Callbacks and Chaining - * - * You can register multiple callbacks on any request object. The - * callbacks can be registered for different events, or all for the - * same event. In addition, you can chain callback registration, for - * example: - * - * ```javascript - * request. - * on('success', function(response) { - * console.log("Success!"); - * }). - * on('error', function(error, response) { - * console.log("Error!"); - * }). - * on('complete', function(response) { - * console.log("Always!"); - * }). - * send(); - * ``` - * - * The above example will print either "Success! Always!", or "Error! Always!", - * depending on whether the request succeeded or not. - * - * @!attribute httpRequest - * @readonly - * @!group HTTP Properties - * @return [AWS.HttpRequest] the raw HTTP request object - * containing request headers and body information - * sent by the service. - * - * @!attribute startTime - * @readonly - * @!group Operation Properties - * @return [Date] the time that the request started - * - * @!group Request Building Events - * - * @!event validate(request) - * Triggered when a request is being validated. Listeners - * should throw an error if the request should not be sent. - * @param request [Request] the request object being sent - * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS - * @see AWS.EventListeners.Core.VALIDATE_REGION - * @example Ensuring that a certain parameter is set before sending a request - * var req = s3.putObject(params); - * req.on('validate', function() { - * if (!req.params.Body.match(/^Hello\s/)) { - * throw new Error('Body must start with "Hello "'); - * } - * }); - * req.send(function(err, data) { ... }); - * - * @!event build(request) - * Triggered when the request payload is being built. Listeners - * should fill the necessary information to send the request - * over HTTP. - * @param (see AWS.Request~validate) - * @example Add a custom HTTP header to a request - * var req = s3.putObject(params); - * req.on('build', function() { - * req.httpRequest.headers['Custom-Header'] = 'value'; - * }); - * req.send(function(err, data) { ... }); - * - * @!event sign(request) - * Triggered when the request is being signed. Listeners should - * add the correct authentication headers and/or adjust the body, - * depending on the authentication mechanism being used. - * @param (see AWS.Request~validate) - * - * @!group Request Sending Events - * - * @!event send(response) - * Triggered when the request is ready to be sent. Listeners - * should call the underlying transport layer to initiate - * the sending of the request. - * @param response [Response] the response object - * @context [Request] the request object that was sent - * @see AWS.EventListeners.Core.SEND - * - * @!event retry(response) - * Triggered when a request failed and might need to be retried or redirected. - * If the response is retryable, the listener should set the - * `response.error.retryable` property to `true`, and optionally set - * `response.error.retryDelay` to the millisecond delay for the next attempt. - * In the case of a redirect, `response.error.redirect` should be set to - * `true` with `retryDelay` set to an optional delay on the next request. - * - * If a listener decides that a request should not be retried, - * it should set both `retryable` and `redirect` to false. - * - * Note that a retryable error will be retried at most - * {AWS.Config.maxRetries} times (based on the service object's config). - * Similarly, a request that is redirected will only redirect at most - * {AWS.Config.maxRedirects} times. - * - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @example Adding a custom retry for a 404 response - * request.on('retry', function(response) { - * // this resource is not yet available, wait 10 seconds to get it again - * if (response.httpResponse.statusCode === 404 && response.error) { - * response.error.retryable = true; // retry this error - * response.error.retryDelay = 10000; // wait 10 seconds - * } - * }); - * - * @!group Data Parsing Events - * - * @!event extractError(response) - * Triggered on all non-2xx requests so that listeners can extract - * error details from the response body. Listeners to this event - * should set the `response.error` property. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event extractData(response) - * Triggered in successful requests to allow listeners to - * de-serialize the response body into `response.data`. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group Completion Events - * - * @!event success(response) - * Triggered when the request completed successfully. - * `response.data` will contain the response data and - * `response.error` will be null. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event error(error, response) - * Triggered when an error occurs at any point during the - * request. `response.error` will contain details about the error - * that occurred. `response.data` will be null. - * @param error [Error] the error object containing details about - * the error that occurred. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event complete(response) - * Triggered whenever a request cycle completes. `response.error` - * should be checked, since the request may have failed. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group HTTP Events - * - * @!event httpHeaders(statusCode, headers, response, statusMessage) - * Triggered when headers are sent by the remote server - * @param statusCode [Integer] the HTTP response code - * @param headers [map] the response headers - * @param (see AWS.Request~send) - * @param statusMessage [String] A status message corresponding to the HTTP - * response code - * @context (see AWS.Request~send) - * - * @!event httpData(chunk, response) - * Triggered when data is sent by the remote server - * @param chunk [Buffer] the buffer data containing the next data chunk - * from the server - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @see AWS.EventListeners.Core.HTTP_DATA - * - * @!event httpUploadProgress(progress, response) - * Triggered when the HTTP request has uploaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpDownloadProgress(progress, response) - * Triggered when the HTTP request has downloaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpError(error, response) - * Triggered when the HTTP request failed - * @param error [Error] the error object that was thrown - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event httpDone(response) - * Triggered when the server is finished sending data - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @see AWS.Response - */ - AWS.Request = inherit({ - /** - * Creates a request for an operation on a given service with - * a set of input parameters. - * - * @param service [AWS.Service] the service to perform the operation on - * @param operation [String] the operation to perform on the service - * @param params [Object] parameters to send to the operation. - * See the operation's documentation for the format of the - * parameters. - */ - constructor: function Request(service, operation, params) { - var endpoint = service.endpoint; - var region = service.config.region; - var customUserAgent = service.config.customUserAgent; - - // global endpoints sign as us-east-1 - if (service.isGlobalEndpoint) region = "us-east-1"; - - this.domain = domain && domain.active; - this.service = service; - this.operation = operation; - this.params = params || {}; - this.httpRequest = new AWS.HttpRequest(endpoint, region); - this.httpRequest.appendToUserAgent(customUserAgent); - this.startTime = service.getSkewCorrectedDate(); - - this.response = new AWS.Response(this); - this._asm = new AcceptorStateMachine(fsm.states, "validate"); - this._haltHandlersOnError = false; - - AWS.SequentialExecutor.call(this); - this.emit = this.emitEvent; - }, - - /** - * @!group Sending a Request - */ - - /** - * @overload send(callback = null) - * Sends the request object. - * - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @context [AWS.Request] the request object being sent. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - * @example Sending a request with a callback - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.send(function(err, data) { console.log(err, data); }); - * @example Sending a request with no callback (using event handlers) - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.on('complete', function(response) { ... }); // register a callback - * request.send(); - */ - send: function send(callback) { - if (callback) { - // append to user agent - this.httpRequest.appendToUserAgent("callback"); - this.on("complete", function (resp) { - callback.call(resp, resp.error, resp.data); - }); - } - this.runTo(); - - return this.response; - }, - - /** - * @!method promise() - * Sends the request and returns a 'thenable' promise. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(data) - * Called if the promise is fulfilled. - * @param data [Object] the de-serialized data returned from the request. - * @callback rejectedCallback function(error) - * Called if the promise is rejected. - * @param error [Error] the error object returned from the request. - * @return [Promise] A promise that represents the state of the request. - * @example Sending a request using promises. - * var request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * var result = request.promise(); - * result.then(function(data) { ... }, function(error) { ... }); - */ - - /** - * @api private - */ - build: function build(callback) { - return this.runTo("send", callback); - }, - - /** - * @api private - */ - runTo: function runTo(state, done) { - this._asm.runTo(state, done, this); - return this; - }, - - /** - * Aborts a request, emitting the error and complete events. - * - * @!macro nobrowser - * @example Aborting a request after sending - * var params = { - * Bucket: 'bucket', Key: 'key', - * Body: Buffer.alloc(1024 * 1024 * 5) // 5MB payload - * }; - * var request = s3.putObject(params); - * request.send(function (err, data) { - * if (err) console.log("Error:", err.code, err.message); - * else console.log(data); - * }); - * - * // abort request in 1 second - * setTimeout(request.abort.bind(request), 1000); - * - * // prints "Error: RequestAbortedError Request aborted by user" - * @return [AWS.Request] the same request object, for chaining. - * @since v1.4.0 - */ - abort: function abort() { - this.removeAllListeners("validateResponse"); - this.removeAllListeners("extractError"); - this.on("validateResponse", function addAbortedError(resp) { - resp.error = AWS.util.error(new Error("Request aborted by user"), { - code: "RequestAbortedError", - retryable: false, - }); - }); +var endpoint = __webpack_require__(9385); +var universalUserAgent = __webpack_require__(5211); +var isPlainObject = _interopDefault(__webpack_require__(2696)); +var nodeFetch = _interopDefault(__webpack_require__(4454)); +var requestError = __webpack_require__(7463); - if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { - // abort HTTP stream - this.httpRequest.stream.abort(); - if (this.httpRequest._abortCallback) { - this.httpRequest._abortCallback(); - } else { - this.removeAllListeners("send"); // haven't sent yet, so let's not - } - } +const VERSION = "5.3.4"; - return this; - }, - - /** - * Iterates over each page of results given a pageable request, calling - * the provided callback with each page of data. After all pages have been - * retrieved, the callback is called with `null` data. - * - * @note This operation can generate multiple requests to a service. - * @example Iterating over multiple pages of objects in an S3 bucket - * var pages = 1; - * s3.listObjects().eachPage(function(err, data) { - * if (err) return; - * console.log("Page", pages++); - * console.log(data); - * }); - * @example Iterating over multiple pages with an asynchronous callback - * s3.listObjects(params).eachPage(function(err, data, done) { - * doSomethingAsyncAndOrExpensive(function() { - * // The next page of results isn't fetched until done is called - * done(); - * }); - * }); - * @callback callback function(err, data, [doneCallback]) - * Called with each page of resulting data from the request. If the - * optional `doneCallback` is provided in the function, it must be called - * when the callback is complete. - * - * @param err [Error] an error object, if an error occurred. - * @param data [Object] a single page of response data. If there is no - * more data, this object will be `null`. - * @param doneCallback [Function] an optional done callback. If this - * argument is defined in the function declaration, it should be called - * when the next page is ready to be retrieved. This is useful for - * controlling serial pagination across asynchronous operations. - * @return [Boolean] if the callback returns `false`, pagination will - * stop. - * - * @see AWS.Request.eachItem - * @see AWS.Response.nextPage - * @since v1.4.0 - */ - eachPage: function eachPage(callback) { - // Make all callbacks async-ish - callback = AWS.util.fn.makeAsync(callback, 3); - - function wrappedCallback(response) { - callback.call(response, response.error, response.data, function ( - result - ) { - if (result === false) return; - - if (response.hasNextPage()) { - response.nextPage().on("complete", wrappedCallback).send(); - } else { - callback.call(response, null, null, AWS.util.fn.noop); - } - }); - } +function getBufferResponse(response) { + return response.arrayBuffer(); +} - this.on("complete", wrappedCallback).send(); - }, - - /** - * Enumerates over individual items of a request, paging the responses if - * necessary. - * - * @api experimental - * @since v1.4.0 - */ - eachItem: function eachItem(callback) { - var self = this; - function wrappedCallback(err, data) { - if (err) return callback(err, null); - if (data === null) return callback(null, null); - - var config = self.service.paginationConfig(self.operation); - var resultKey = config.resultKey; - if (Array.isArray(resultKey)) resultKey = resultKey[0]; - var items = jmespath.search(data, resultKey); - var continueIteration = true; - AWS.util.arrayEach(items, function (item) { - continueIteration = callback(null, item); - if (continueIteration === false) { - return AWS.util.abort; - } - }); - return continueIteration; - } +function fetchWrapper(requestOptions) { + if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { + requestOptions.body = JSON.stringify(requestOptions.body); + } - this.eachPage(wrappedCallback); - }, - - /** - * @return [Boolean] whether the operation can return multiple pages of - * response data. - * @see AWS.Response.eachPage - * @since v1.4.0 - */ - isPageable: function isPageable() { - return this.service.paginationConfig(this.operation) ? true : false; - }, - - /** - * Sends the request and converts the request object into a readable stream - * that can be read from or piped into a writable stream. - * - * @note The data read from a readable stream contains only - * the raw HTTP body contents. - * @example Manually reading from a stream - * request.createReadStream().on('data', function(data) { - * console.log("Got data:", data.toString()); - * }); - * @example Piping a request body into a file - * var out = fs.createWriteStream('/path/to/outfile.jpg'); - * s3.service.getObject(params).createReadStream().pipe(out); - * @return [Stream] the readable stream object that can be piped - * or read from (by registering 'data' event listeners). - * @!macro nobrowser - */ - createReadStream: function createReadStream() { - var streams = AWS.util.stream; - var req = this; - var stream = null; - - if (AWS.HttpClient.streamsApiVersion === 2) { - stream = new streams.PassThrough(); - process.nextTick(function () { - req.send(); - }); - } else { - stream = new streams.Stream(); - stream.readable = true; - - stream.sent = false; - stream.on("newListener", function (event) { - if (!stream.sent && event === "data") { - stream.sent = true; - process.nextTick(function () { - req.send(); - }); - } - }); - } + let headers = {}; + let status; + let url; + const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch; + return fetch(requestOptions.url, Object.assign({ + method: requestOptions.method, + body: requestOptions.body, + headers: requestOptions.headers, + redirect: requestOptions.redirect + }, requestOptions.request)).then(response => { + url = response.url; + status = response.status; - this.on("error", function (err) { - stream.emit("error", err); - }); + for (const keyAndValue of response.headers) { + headers[keyAndValue[0]] = keyAndValue[1]; + } - this.on("httpHeaders", function streamHeaders( - statusCode, - headers, - resp - ) { - if (statusCode < 300) { - req.removeListener("httpData", AWS.EventListeners.Core.HTTP_DATA); - req.removeListener( - "httpError", - AWS.EventListeners.Core.HTTP_ERROR - ); - req.on("httpError", function streamHttpError(error) { - resp.error = error; - resp.error.retryable = false; - }); + if (status === 204 || status === 205) { + return; + } // GitHub API returns 200 for HEAD requests - var shouldCheckContentLength = false; - var expectedLen; - if (req.httpRequest.method !== "HEAD") { - expectedLen = parseInt(headers["content-length"], 10); - } - if ( - expectedLen !== undefined && - !isNaN(expectedLen) && - expectedLen >= 0 - ) { - shouldCheckContentLength = true; - var receivedLen = 0; - } - var checkContentLengthAndEmit = function checkContentLengthAndEmit() { - if (shouldCheckContentLength && receivedLen !== expectedLen) { - stream.emit( - "error", - AWS.util.error( - new Error( - "Stream content length mismatch. Received " + - receivedLen + - " of " + - expectedLen + - " bytes." - ), - { code: "StreamContentLengthMismatch" } - ) - ); - } else if (AWS.HttpClient.streamsApiVersion === 2) { - stream.end(); - } else { - stream.emit("end"); - } - }; + if (requestOptions.method === "HEAD") { + if (status < 400) { + return; + } - var httpStream = resp.httpResponse.createUnbufferedStream(); + throw new requestError.RequestError(response.statusText, status, { + headers, + request: requestOptions + }); + } - if (AWS.HttpClient.streamsApiVersion === 2) { - if (shouldCheckContentLength) { - var lengthAccumulator = new streams.PassThrough(); - lengthAccumulator._write = function (chunk) { - if (chunk && chunk.length) { - receivedLen += chunk.length; - } - return streams.PassThrough.prototype._write.apply( - this, - arguments - ); - }; - - lengthAccumulator.on("end", checkContentLengthAndEmit); - stream.on("error", function (err) { - shouldCheckContentLength = false; - httpStream.unpipe(lengthAccumulator); - lengthAccumulator.emit("end"); - lengthAccumulator.end(); - }); - httpStream - .pipe(lengthAccumulator) - .pipe(stream, { end: false }); - } else { - httpStream.pipe(stream); - } - } else { - if (shouldCheckContentLength) { - httpStream.on("data", function (arg) { - if (arg && arg.length) { - receivedLen += arg.length; - } - }); - } + if (status === 304) { + throw new requestError.RequestError("Not modified", status, { + headers, + request: requestOptions + }); + } - httpStream.on("data", function (arg) { - stream.emit("data", arg); - }); - httpStream.on("end", checkContentLengthAndEmit); - } + if (status >= 400) { + return response.text().then(message => { + const error = new requestError.RequestError(message, status, { + headers, + request: requestOptions + }); - httpStream.on("error", function (err) { - shouldCheckContentLength = false; - stream.emit("error", err); - }); - } - }); + try { + let responseBody = JSON.parse(error.message); + Object.assign(error, responseBody); + let errors = responseBody.errors; // Assumption `errors` would always be in Array format - return stream; - }, + error.message = error.message + ": " + errors.map(JSON.stringify).join(", "); + } catch (e) {// ignore, see octokit/rest.js#684 + } - /** - * @param [Array,Response] args This should be the response object, - * or an array of args to send to the event. - * @api private - */ - emitEvent: function emit(eventName, args, done) { - if (typeof args === "function") { - done = args; - args = null; - } - if (!done) done = function () {}; - if (!args) args = this.eventParameters(eventName, this.response); + throw error; + }); + } + + const contentType = response.headers.get("content-type"); + + if (/application\/json/.test(contentType)) { + return response.json(); + } + + if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { + return response.text(); + } + + return getBufferResponse(response); + }).then(data => { + return { + status, + url, + headers, + data + }; + }).catch(error => { + if (error instanceof requestError.RequestError) { + throw error; + } + + throw new requestError.RequestError(error.message, 500, { + headers, + request: requestOptions + }); + }); +} + +function withDefaults(oldEndpoint, newDefaults) { + const endpoint = oldEndpoint.defaults(newDefaults); + + const newApi = function (route, parameters) { + const endpointOptions = endpoint.merge(route, parameters); + + if (!endpointOptions.request || !endpointOptions.request.hook) { + return fetchWrapper(endpoint.parse(endpointOptions)); + } + + const request = (route, parameters) => { + return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); + }; + + Object.assign(request, { + endpoint, + defaults: withDefaults.bind(null, endpoint) + }); + return endpointOptions.request.hook(request, endpointOptions); + }; + + return Object.assign(newApi, { + endpoint, + defaults: withDefaults.bind(null, endpoint) + }); +} + +const request = withDefaults(endpoint.endpoint, { + headers: { + "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}` + } +}); + +exports.request = request; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 1762: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +/** + * Resolve client-side monitoring configuration from either environmental variables + * or shared config file. Configurations from environmental variables have higher priority + * than those from shared config file. The resolver will try to read the shared config file + * no matter whether the AWS_SDK_LOAD_CONFIG variable is set. + * @api private + */ +function resolveMonitoringConfig() { + var config = { + port: undefined, + clientId: undefined, + enabled: undefined, + host: undefined + }; + if (fromEnvironment(config) || fromConfigFile(config)) return toJSType(config); + return toJSType(config); +} + +/** + * Resolve configurations from environmental variables. + * @param {object} client side monitoring config object needs to be resolved + * @returns {boolean} whether resolving configurations is done + * @api private + */ +function fromEnvironment(config) { + config.port = config.port || process.env.AWS_CSM_PORT; + config.enabled = config.enabled || process.env.AWS_CSM_ENABLED; + config.clientId = config.clientId || process.env.AWS_CSM_CLIENT_ID; + config.host = config.host || process.env.AWS_CSM_HOST; + return config.port && config.enabled && config.clientId && config.host || + ['false', '0'].indexOf(config.enabled) >= 0; //no need to read shared config file if explicitely disabled +} + +/** + * Resolve cofigurations from shared config file with specified role name + * @param {object} client side monitoring config object needs to be resolved + * @returns {boolean} whether resolving configurations is done + * @api private + */ +function fromConfigFile(config) { + var sharedFileConfig; + try { + var configFile = AWS.util.iniLoader.loadFrom({ + isConfig: true, + filename: process.env[AWS.util.sharedConfigFileEnv] + }); + var sharedFileConfig = configFile[ + process.env.AWS_PROFILE || AWS.util.defaultProfile + ]; + } catch (err) { + return false; + } + if (!sharedFileConfig) return config; + config.port = config.port || sharedFileConfig.csm_port; + config.enabled = config.enabled || sharedFileConfig.csm_enabled; + config.clientId = config.clientId || sharedFileConfig.csm_client_id; + config.host = config.host || sharedFileConfig.csm_host; + return config.port && config.enabled && config.clientId && config.host; +} + +/** + * Transfer the resolved configuration value to proper types: port as number, enabled + * as boolean and clientId as string. The 'enabled' flag is valued to false when set + * to 'false' or '0'. + * @param {object} resolved client side monitoring config + * @api private + */ +function toJSType(config) { + //config.XXX is either undefined or string + var falsyNotations = ['false', '0', undefined]; + if (!config.enabled || falsyNotations.indexOf(config.enabled.toLowerCase()) >= 0) { + config.enabled = false; + } else { + config.enabled = true; + } + config.port = config.port ? parseInt(config.port, 10) : undefined; + return config; +} - var origEmit = AWS.SequentialExecutor.prototype.emit; - origEmit.call(this, eventName, args, function (err) { - if (err) this.response.error = err; - done.call(this, err); - }); - }, +module.exports = resolveMonitoringConfig; - /** - * @api private - */ - eventParameters: function eventParameters(eventName) { - switch (eventName) { - 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]; - } - }, - /** - * @api private - */ - presign: function presign(expires, callback) { - if (!callback && typeof expires === "function") { - callback = expires; - expires = null; - } - return new AWS.Signers.Presign().sign( - this.toGet(), - expires, - callback - ); - }, +/***/ }), - /** - * @api private - */ - isPresigned: function isPresigned() { - return Object.prototype.hasOwnProperty.call( - this.httpRequest.headers, - "presigned-expires" - ); - }, +/***/ 1764: +/***/ (function(module) { - /** - * @api private - */ - toUnauthenticated: function toUnauthenticated() { - this._unAuthenticated = true; - this.removeListener( - "validate", - AWS.EventListeners.Core.VALIDATE_CREDENTIALS - ); - this.removeListener("sign", AWS.EventListeners.Core.SIGN); - return this; - }, +module.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","required":["Namespace","MetricName","Stat"],"members":{"Namespace":{},"MetricName":{},"Dimensions":{"shape":"S7"},"Stat":{}}},"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":"Si"}}},"output":{"resultWrapper":"DeleteInsightRulesResult","type":"structure","members":{"Failures":{"shape":"Sl"}}}},"DescribeAlarmHistory":{"input":{"type":"structure","members":{"AlarmName":{},"AlarmTypes":{"shape":"Ss"},"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":"Ss"},"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":"S1c"},"AlarmArn":{},"AlarmConfigurationUpdatedTimestamp":{"type":"timestamp"},"AlarmDescription":{},"AlarmName":{},"AlarmRule":{},"InsufficientDataActions":{"shape":"S1c"},"OKActions":{"shape":"S1c"},"StateReason":{},"StateReasonData":{},"StateUpdatedTimestamp":{"type":"timestamp"},"StateValue":{}},"xmlOrder":["ActionsEnabled","AlarmActions","AlarmArn","AlarmConfigurationUpdatedTimestamp","AlarmDescription","AlarmName","AlarmRule","InsufficientDataActions","OKActions","StateReason","StateReasonData","StateUpdatedTimestamp","StateValue"]}},"MetricAlarms":{"shape":"S1j"},"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":"S1j"}}}},"DescribeAnomalyDetectors":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Namespace":{},"MetricName":{},"Dimensions":{"shape":"S7"}}},"output":{"resultWrapper":"DescribeAnomalyDetectorsResult","type":"structure","members":{"AnomalyDetectors":{"type":"list","member":{"type":"structure","members":{"Namespace":{},"MetricName":{},"Dimensions":{"shape":"S7"},"Stat":{},"Configuration":{"shape":"S2b"},"StateValue":{}}}},"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":"Si"}}},"output":{"resultWrapper":"DisableInsightRulesResult","type":"structure","members":{"Failures":{"shape":"Sl"}}}},"EnableAlarmActions":{"input":{"type":"structure","required":["AlarmNames"],"members":{"AlarmNames":{"shape":"S2"}}}},"EnableInsightRules":{"input":{"type":"structure","required":["RuleNames"],"members":{"RuleNames":{"shape":"Si"}}},"output":{"resultWrapper":"EnableInsightRulesResult","type":"structure","members":{"Failures":{"shape":"Sl"}}}},"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":"S1v"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"NextToken":{},"ScanBy":{},"MaxDatapoints":{"type":"integer"}}},"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":"S3q"}}}},"NextToken":{},"Messages":{"shape":"S3q"}}}},"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"]}}}}},"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":{}}}},"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":"S1z"}},"NextToken":{}},"xmlOrder":["Metrics","NextToken"]}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"resultWrapper":"ListTagsForResourceResult","type":"structure","members":{"Tags":{"shape":"S4m"}}}},"PutAnomalyDetector":{"input":{"type":"structure","required":["Namespace","MetricName","Stat"],"members":{"Namespace":{},"MetricName":{},"Dimensions":{"shape":"S7"},"Stat":{},"Configuration":{"shape":"S2b"}}},"output":{"resultWrapper":"PutAnomalyDetectorResult","type":"structure","members":{}}},"PutCompositeAlarm":{"input":{"type":"structure","required":["AlarmName","AlarmRule"],"members":{"ActionsEnabled":{"type":"boolean"},"AlarmActions":{"shape":"S1c"},"AlarmDescription":{},"AlarmName":{},"AlarmRule":{},"InsufficientDataActions":{"shape":"S1c"},"OKActions":{"shape":"S1c"},"Tags":{"shape":"S4m"}}}},"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":"S4m"}}},"output":{"resultWrapper":"PutInsightRuleResult","type":"structure","members":{}}},"PutMetricAlarm":{"input":{"type":"structure","required":["AlarmName","EvaluationPeriods","ComparisonOperator"],"members":{"AlarmName":{},"AlarmDescription":{},"ActionsEnabled":{"type":"boolean"},"OKActions":{"shape":"S1c"},"AlarmActions":{"shape":"S1c"},"InsufficientDataActions":{"shape":"S1c"},"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":"S1v"},"Tags":{"shape":"S4m"},"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"}}}}}}},"SetAlarmState":{"input":{"type":"structure","required":["AlarmName","StateValue","StateReason"],"members":{"AlarmName":{},"StateValue":{},"StateReason":{},"StateReasonData":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S4m"}}},"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"]}},"Si":{"type":"list","member":{}},"Sl":{"type":"list","member":{"type":"structure","members":{"FailureResource":{},"ExceptionType":{},"FailureCode":{},"FailureDescription":{}}}},"Ss":{"type":"list","member":{}},"S1c":{"type":"list","member":{}},"S1j":{"type":"list","member":{"type":"structure","members":{"AlarmName":{},"AlarmArn":{},"AlarmDescription":{},"AlarmConfigurationUpdatedTimestamp":{"type":"timestamp"},"ActionsEnabled":{"type":"boolean"},"OKActions":{"shape":"S1c"},"AlarmActions":{"shape":"S1c"},"InsufficientDataActions":{"shape":"S1c"},"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":"S1v"},"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"]}},"S1v":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"Id":{},"MetricStat":{"type":"structure","required":["Metric","Period","Stat"],"members":{"Metric":{"shape":"S1z"},"Period":{"type":"integer"},"Stat":{},"Unit":{}}},"Expression":{},"Label":{},"ReturnData":{"type":"boolean"},"Period":{"type":"integer"}}}},"S1z":{"type":"structure","members":{"Namespace":{},"MetricName":{},"Dimensions":{"shape":"S7"}},"xmlOrder":["Namespace","MetricName","Dimensions"]},"S2b":{"type":"structure","members":{"ExcludedTimeRanges":{"type":"list","member":{"type":"structure","required":["StartTime","EndTime"],"members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}},"xmlOrder":["StartTime","EndTime"]}},"MetricTimezone":{}}},"S3q":{"type":"list","member":{"type":"structure","members":{"Code":{},"Value":{}}}},"S4m":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}}; - /** - * @api private - */ - toGet: function toGet() { - if ( - this.service.api.protocol === "query" || - this.service.api.protocol === "ec2" - ) { - this.removeListener("build", this.buildAsGet); - this.addListener("build", this.buildAsGet); - } - return this; - }, +/***/ }), - /** - * @api private - */ - buildAsGet: function buildAsGet(request) { - request.httpRequest.method = "GET"; - request.httpRequest.path = - request.service.endpoint.path + "?" + request.httpRequest.body; - request.httpRequest.body = ""; +/***/ 1777: +/***/ (function(module, __unusedexports, __webpack_require__) { - // don't need these headers on a GET request - delete request.httpRequest.headers["Content-Length"]; - delete request.httpRequest.headers["Content-Type"]; - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /** - * @api private - */ - haltHandlersOnError: function haltHandlersOnError() { - this._haltHandlersOnError = true; - }, - }); +apiLoader.services['s3'] = {}; +AWS.S3 = Service.defineService('s3', ['2006-03-01']); +__webpack_require__(6016); +Object.defineProperty(apiLoader.services['s3'], '2006-03-01', { + get: function get() { + var model = __webpack_require__(7696); + model.paginators = __webpack_require__(707).pagination; + model.waiters = __webpack_require__(1306).waiters; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.S3; + + +/***/ }), + +/***/ 1786: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['ssooidc'] = {}; +AWS.SSOOIDC = Service.defineService('ssooidc', ['2019-06-10']); +Object.defineProperty(apiLoader.services['ssooidc'], '2019-06-10', { + get: function get() { + var model = __webpack_require__(1802); + model.paginators = __webpack_require__(9468).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.SSOOIDC; + + +/***/ }), + +/***/ 1791: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var inherit = AWS.util.inherit; + +/** + * @api private + */ +AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, { + addAuthorization: function addAuthorization(credentials, date) { + + var datetime = AWS.util.date.rfc822(date); + + this.request.headers['X-Amz-Date'] = datetime; + + if (credentials.sessionToken) { + this.request.headers['x-amz-security-token'] = credentials.sessionToken; + } + + this.request.headers['X-Amzn-Authorization'] = + this.authorization(credentials, datetime); + + }, + + authorization: function authorization(credentials) { + return 'AWS3 ' + + 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + + 'Algorithm=HmacSHA256,' + + 'SignedHeaders=' + this.signedHeaders() + ',' + + 'Signature=' + this.signature(credentials); + }, + + signedHeaders: function signedHeaders() { + var headers = []; + AWS.util.arrayEach(this.headersToSign(), function iterator(h) { + headers.push(h.toLowerCase()); + }); + return headers.sort().join(';'); + }, + + canonicalHeaders: function canonicalHeaders() { + var headers = this.request.headers; + var parts = []; + AWS.util.arrayEach(this.headersToSign(), function iterator(h) { + parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim()); + }); + return parts.sort().join('\n') + '\n'; + }, + + headersToSign: function headersToSign() { + var headers = []; + AWS.util.each(this.request.headers, function iterator(k) { + if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) { + headers.push(k); + } + }); + return headers; + }, + + signature: function signature(credentials) { + return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); + }, + + stringToSign: function stringToSign() { + var parts = []; + parts.push(this.request.method); + parts.push('/'); + parts.push(''); + parts.push(this.canonicalHeaders()); + parts.push(this.request.body); + return AWS.util.crypto.sha256(parts.join('\n')); + } - /** - * @api private - */ - AWS.Request.addPromisesToClass = function addPromisesToClass( - PromiseDependency - ) { - this.prototype.promise = function promise() { - var self = this; - // append to user agent - this.httpRequest.appendToUserAgent("promise"); - return new PromiseDependency(function (resolve, reject) { - self.on("complete", function (resp) { - if (resp.error) { - reject(resp.error); - } else { - // define $response property so that it is not enumberable - // this prevents circular reference errors when stringifying the JSON object - resolve( - Object.defineProperty(resp.data || {}, "$response", { - value: resp, - }) - ); - } - }); - self.runTo(); - }); - }; - }; +}); - /** - * @api private - */ - AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.promise; - }; +/** + * @api private + */ +module.exports = AWS.Signers.V3; - AWS.util.addPromises(AWS.Request); - AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); +/***/ }), - /***/ - }, +/***/ 1794: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2459: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2014-10-31", - endpointPrefix: "rds", - protocol: "query", - serviceAbbreviation: "Amazon DocDB", - serviceFullName: "Amazon DocumentDB with MongoDB compatibility", - serviceId: "DocDB", - signatureVersion: "v4", - signingName: "rds", - uid: "docdb-2014-10-31", - xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/", - }, - operations: { - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceName", "Tags"], - members: { ResourceName: {}, Tags: { shape: "S3" } }, - }, - }, - ApplyPendingMaintenanceAction: { - input: { - type: "structure", - required: ["ResourceIdentifier", "ApplyAction", "OptInType"], - members: { - ResourceIdentifier: {}, - ApplyAction: {}, - OptInType: {}, - }, - }, - output: { - resultWrapper: "ApplyPendingMaintenanceActionResult", - type: "structure", - members: { ResourcePendingMaintenanceActions: { shape: "S7" } }, - }, - }, - CopyDBClusterParameterGroup: { - input: { - type: "structure", - required: [ - "SourceDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupDescription", - ], - members: { - SourceDBClusterParameterGroupIdentifier: {}, - TargetDBClusterParameterGroupIdentifier: {}, - TargetDBClusterParameterGroupDescription: {}, - Tags: { shape: "S3" }, - }, - }, - output: { - resultWrapper: "CopyDBClusterParameterGroupResult", - type: "structure", - members: { DBClusterParameterGroup: { shape: "Sd" } }, - }, - }, - CopyDBClusterSnapshot: { - input: { - type: "structure", - required: [ - "SourceDBClusterSnapshotIdentifier", - "TargetDBClusterSnapshotIdentifier", - ], - members: { - SourceDBClusterSnapshotIdentifier: {}, - TargetDBClusterSnapshotIdentifier: {}, - KmsKeyId: {}, - PreSignedUrl: {}, - CopyTags: { type: "boolean" }, - Tags: { shape: "S3" }, - }, - }, - output: { - resultWrapper: "CopyDBClusterSnapshotResult", - type: "structure", - members: { DBClusterSnapshot: { shape: "Sh" } }, - }, - }, - CreateDBCluster: { - input: { - type: "structure", - required: [ - "DBClusterIdentifier", - "Engine", - "MasterUsername", - "MasterUserPassword", - ], - members: { - AvailabilityZones: { shape: "Si" }, - BackupRetentionPeriod: { type: "integer" }, - DBClusterIdentifier: {}, - DBClusterParameterGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - DBSubnetGroupName: {}, - Engine: {}, - EngineVersion: {}, - Port: { type: "integer" }, - MasterUsername: {}, - MasterUserPassword: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - Tags: { shape: "S3" }, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - EnableCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "CreateDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - CreateDBClusterParameterGroup: { - input: { - type: "structure", - required: [ - "DBClusterParameterGroupName", - "DBParameterGroupFamily", - "Description", - ], - members: { - DBClusterParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - Tags: { shape: "S3" }, - }, - }, - output: { - resultWrapper: "CreateDBClusterParameterGroupResult", - type: "structure", - members: { DBClusterParameterGroup: { shape: "Sd" } }, - }, - }, - CreateDBClusterSnapshot: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier", "DBClusterIdentifier"], - members: { - DBClusterSnapshotIdentifier: {}, - DBClusterIdentifier: {}, - Tags: { shape: "S3" }, - }, - }, - output: { - resultWrapper: "CreateDBClusterSnapshotResult", - type: "structure", - members: { DBClusterSnapshot: { shape: "Sh" } }, - }, - }, - CreateDBInstance: { - input: { - type: "structure", - required: [ - "DBInstanceIdentifier", - "DBInstanceClass", - "Engine", - "DBClusterIdentifier", - ], - members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - Engine: {}, - AvailabilityZone: {}, - PreferredMaintenanceWindow: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - Tags: { shape: "S3" }, - DBClusterIdentifier: {}, - PromotionTier: { type: "integer" }, - }, - }, - output: { - resultWrapper: "CreateDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S13" } }, - }, - }, - CreateDBSubnetGroup: { - input: { - type: "structure", - required: [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds", - ], - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S1e" }, - Tags: { shape: "S3" }, - }, - }, - output: { - resultWrapper: "CreateDBSubnetGroupResult", - type: "structure", - members: { DBSubnetGroup: { shape: "S15" } }, - }, - }, - DeleteDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { - DBClusterIdentifier: {}, - SkipFinalSnapshot: { type: "boolean" }, - FinalDBSnapshotIdentifier: {}, - }, - }, - output: { - resultWrapper: "DeleteDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - DeleteDBClusterParameterGroup: { - input: { - type: "structure", - required: ["DBClusterParameterGroupName"], - members: { DBClusterParameterGroupName: {} }, - }, - }, - DeleteDBClusterSnapshot: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier"], - members: { DBClusterSnapshotIdentifier: {} }, - }, - output: { - resultWrapper: "DeleteDBClusterSnapshotResult", - type: "structure", - members: { DBClusterSnapshot: { shape: "Sh" } }, - }, - }, - DeleteDBInstance: { - input: { - type: "structure", - required: ["DBInstanceIdentifier"], - members: { DBInstanceIdentifier: {} }, - }, - output: { - resultWrapper: "DeleteDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S13" } }, - }, - }, - DeleteDBSubnetGroup: { - input: { - type: "structure", - required: ["DBSubnetGroupName"], - members: { DBSubnetGroupName: {} }, - }, - }, - DescribeCertificates: { - input: { - type: "structure", - members: { - CertificateIdentifier: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeCertificatesResult", - type: "structure", - members: { - Certificates: { - type: "list", - member: { - locationName: "Certificate", - type: "structure", - members: { - CertificateIdentifier: {}, - CertificateType: {}, - Thumbprint: {}, - ValidFrom: { type: "timestamp" }, - ValidTill: { type: "timestamp" }, - CertificateArn: {}, - }, - wrapper: true, - }, - }, - Marker: {}, - }, - }, - }, - DescribeDBClusterParameterGroups: { - input: { - type: "structure", - members: { - DBClusterParameterGroupName: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBClusterParameterGroupsResult", - type: "structure", - members: { - Marker: {}, - DBClusterParameterGroups: { - type: "list", - member: { - shape: "Sd", - locationName: "DBClusterParameterGroup", - }, - }, - }, - }, - }, - DescribeDBClusterParameters: { - input: { - type: "structure", - required: ["DBClusterParameterGroupName"], - members: { - DBClusterParameterGroupName: {}, - Source: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBClusterParametersResult", - type: "structure", - members: { Parameters: { shape: "S20" }, Marker: {} }, - }, - }, - DescribeDBClusterSnapshotAttributes: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier"], - members: { DBClusterSnapshotIdentifier: {} }, - }, - output: { - resultWrapper: "DescribeDBClusterSnapshotAttributesResult", - type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S25" } }, - }, - }, - DescribeDBClusterSnapshots: { - input: { - type: "structure", - members: { - DBClusterIdentifier: {}, - DBClusterSnapshotIdentifier: {}, - SnapshotType: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - IncludeShared: { type: "boolean" }, - IncludePublic: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DescribeDBClusterSnapshotsResult", - type: "structure", - members: { - Marker: {}, - DBClusterSnapshots: { - type: "list", - member: { shape: "Sh", locationName: "DBClusterSnapshot" }, - }, - }, - }, - }, - DescribeDBClusters: { - input: { - type: "structure", - members: { - DBClusterIdentifier: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBClustersResult", - type: "structure", - members: { - Marker: {}, - DBClusters: { - type: "list", - member: { shape: "Sq", locationName: "DBCluster" }, - }, - }, - }, - }, - DescribeDBEngineVersions: { - input: { - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - DBParameterGroupFamily: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - DefaultOnly: { type: "boolean" }, - ListSupportedCharacterSets: { type: "boolean" }, - ListSupportedTimezones: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DescribeDBEngineVersionsResult", - type: "structure", - members: { - Marker: {}, - DBEngineVersions: { - type: "list", - member: { - locationName: "DBEngineVersion", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - DBParameterGroupFamily: {}, - DBEngineDescription: {}, - DBEngineVersionDescription: {}, - ValidUpgradeTarget: { - type: "list", - member: { - locationName: "UpgradeTarget", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - Description: {}, - AutoUpgrade: { type: "boolean" }, - IsMajorVersionUpgrade: { type: "boolean" }, - }, - }, - }, - ExportableLogTypes: { shape: "So" }, - SupportsLogExportsToCloudwatchLogs: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - DescribeDBInstances: { - input: { - type: "structure", - members: { - DBInstanceIdentifier: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBInstancesResult", - type: "structure", - members: { - Marker: {}, - DBInstances: { - type: "list", - member: { shape: "S13", locationName: "DBInstance" }, - }, - }, - }, - }, - DescribeDBSubnetGroups: { - input: { - type: "structure", - members: { - DBSubnetGroupName: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeDBSubnetGroupsResult", - type: "structure", - members: { - Marker: {}, - DBSubnetGroups: { - type: "list", - member: { shape: "S15", locationName: "DBSubnetGroup" }, - }, - }, - }, - }, - DescribeEngineDefaultClusterParameters: { - input: { - type: "structure", - required: ["DBParameterGroupFamily"], - members: { - DBParameterGroupFamily: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeEngineDefaultClusterParametersResult", - type: "structure", - members: { - EngineDefaults: { - type: "structure", - members: { - DBParameterGroupFamily: {}, - Marker: {}, - Parameters: { shape: "S20" }, - }, - wrapper: true, - }, - }, - }, - }, - DescribeEventCategories: { - input: { - type: "structure", - members: { SourceType: {}, Filters: { shape: "S1p" } }, - }, - output: { - resultWrapper: "DescribeEventCategoriesResult", - type: "structure", - members: { - EventCategoriesMapList: { - type: "list", - member: { - locationName: "EventCategoriesMap", - type: "structure", - members: { - SourceType: {}, - EventCategories: { shape: "S2y" }, - }, - wrapper: true, - }, - }, - }, - }, - }, - DescribeEvents: { - input: { - type: "structure", - members: { - SourceIdentifier: {}, - SourceType: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Duration: { type: "integer" }, - EventCategories: { shape: "S2y" }, - Filters: { shape: "S1p" }, - 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: "S2y" }, - Date: { type: "timestamp" }, - SourceArn: {}, - }, - }, - }, - }, - }, - }, - DescribeOrderableDBInstanceOptions: { - input: { - type: "structure", - required: ["Engine"], - members: { - Engine: {}, - EngineVersion: {}, - DBInstanceClass: {}, - LicenseModel: {}, - Vpc: { type: "boolean" }, - Filters: { shape: "S1p" }, - 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: "S18", - locationName: "AvailabilityZone", - }, - }, - Vpc: { type: "boolean" }, - }, - wrapper: true, - }, - }, - Marker: {}, - }, - }, - }, - DescribePendingMaintenanceActions: { - input: { - type: "structure", - members: { - ResourceIdentifier: {}, - Filters: { shape: "S1p" }, - Marker: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribePendingMaintenanceActionsResult", - type: "structure", - members: { - PendingMaintenanceActions: { - type: "list", - member: { - shape: "S7", - locationName: "ResourcePendingMaintenanceActions", - }, - }, - Marker: {}, - }, - }, - }, - FailoverDBCluster: { - input: { - type: "structure", - members: { - DBClusterIdentifier: {}, - TargetDBInstanceIdentifier: {}, - }, - }, - output: { - resultWrapper: "FailoverDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceName"], - members: { ResourceName: {}, Filters: { shape: "S1p" } }, - }, - output: { - resultWrapper: "ListTagsForResourceResult", - type: "structure", - members: { TagList: { shape: "S3" } }, - }, - }, - ModifyDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { - DBClusterIdentifier: {}, - NewDBClusterIdentifier: {}, - ApplyImmediately: { type: "boolean" }, - BackupRetentionPeriod: { type: "integer" }, - DBClusterParameterGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - Port: { type: "integer" }, - MasterUserPassword: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - CloudwatchLogsExportConfiguration: { - type: "structure", - members: { - EnableLogTypes: { shape: "So" }, - DisableLogTypes: { shape: "So" }, - }, - }, - EngineVersion: {}, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "ModifyDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - ModifyDBClusterParameterGroup: { - input: { - type: "structure", - required: ["DBClusterParameterGroupName", "Parameters"], - members: { - DBClusterParameterGroupName: {}, - Parameters: { shape: "S20" }, - }, - }, - output: { - shape: "S3k", - resultWrapper: "ModifyDBClusterParameterGroupResult", - }, - }, - ModifyDBClusterSnapshotAttribute: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier", "AttributeName"], - members: { - DBClusterSnapshotIdentifier: {}, - AttributeName: {}, - ValuesToAdd: { shape: "S28" }, - ValuesToRemove: { shape: "S28" }, - }, - }, - output: { - resultWrapper: "ModifyDBClusterSnapshotAttributeResult", - type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S25" } }, - }, - }, - ModifyDBInstance: { - input: { - type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - ApplyImmediately: { type: "boolean" }, - PreferredMaintenanceWindow: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - NewDBInstanceIdentifier: {}, - CACertificateIdentifier: {}, - PromotionTier: { type: "integer" }, - }, - }, - output: { - resultWrapper: "ModifyDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S13" } }, - }, - }, - ModifyDBSubnetGroup: { - input: { - type: "structure", - required: ["DBSubnetGroupName", "SubnetIds"], - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S1e" }, - }, - }, - output: { - resultWrapper: "ModifyDBSubnetGroupResult", - type: "structure", - members: { DBSubnetGroup: { shape: "S15" } }, - }, - }, - RebootDBInstance: { - input: { - type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - ForceFailover: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "RebootDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S13" } }, - }, - }, - 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: "S20" }, - }, - }, - output: { - shape: "S3k", - resultWrapper: "ResetDBClusterParameterGroupResult", - }, - }, - RestoreDBClusterFromSnapshot: { - input: { - type: "structure", - required: ["DBClusterIdentifier", "SnapshotIdentifier", "Engine"], - members: { - AvailabilityZones: { shape: "Si" }, - DBClusterIdentifier: {}, - SnapshotIdentifier: {}, - Engine: {}, - EngineVersion: {}, - Port: { type: "integer" }, - DBSubnetGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - Tags: { shape: "S3" }, - KmsKeyId: {}, - EnableCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "RestoreDBClusterFromSnapshotResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - RestoreDBClusterToPointInTime: { - input: { - type: "structure", - required: ["DBClusterIdentifier", "SourceDBClusterIdentifier"], - members: { - DBClusterIdentifier: {}, - SourceDBClusterIdentifier: {}, - RestoreToTime: { type: "timestamp" }, - UseLatestRestorableTime: { type: "boolean" }, - Port: { type: "integer" }, - DBSubnetGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - Tags: { shape: "S3" }, - KmsKeyId: {}, - EnableCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "RestoreDBClusterToPointInTimeResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - StartDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { DBClusterIdentifier: {} }, - }, - output: { - resultWrapper: "StartDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - StopDBCluster: { - input: { - type: "structure", - required: ["DBClusterIdentifier"], - members: { DBClusterIdentifier: {} }, - }, - output: { - resultWrapper: "StopDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - }, - shapes: { - S3: { - type: "list", - member: { - locationName: "Tag", - type: "structure", - members: { Key: {}, Value: {} }, - }, - }, - S7: { - 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, - }, - Sd: { - type: "structure", - members: { - DBClusterParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - DBClusterParameterGroupArn: {}, - }, - wrapper: true, - }, - Sh: { - type: "structure", - members: { - AvailabilityZones: { shape: "Si" }, - DBClusterSnapshotIdentifier: {}, - DBClusterIdentifier: {}, - SnapshotCreateTime: { type: "timestamp" }, - Engine: {}, - Status: {}, - Port: { type: "integer" }, - VpcId: {}, - ClusterCreateTime: { type: "timestamp" }, - MasterUsername: {}, - EngineVersion: {}, - SnapshotType: {}, - PercentProgress: { type: "integer" }, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - DBClusterSnapshotArn: {}, - SourceDBClusterSnapshotArn: {}, - }, - wrapper: true, - }, - Si: { type: "list", member: { locationName: "AvailabilityZone" } }, - Sn: { type: "list", member: { locationName: "VpcSecurityGroupId" } }, - So: { type: "list", member: {} }, - Sq: { - type: "structure", - members: { - AvailabilityZones: { shape: "Si" }, - BackupRetentionPeriod: { type: "integer" }, - DBClusterIdentifier: {}, - DBClusterParameterGroup: {}, - DBSubnetGroup: {}, - Status: {}, - PercentProgress: {}, - EarliestRestorableTime: { type: "timestamp" }, - Endpoint: {}, - ReaderEndpoint: {}, - MultiAZ: { type: "boolean" }, - Engine: {}, - EngineVersion: {}, - LatestRestorableTime: { type: "timestamp" }, - Port: { type: "integer" }, - MasterUsername: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - DBClusterMembers: { - type: "list", - member: { - locationName: "DBClusterMember", - type: "structure", - members: { - DBInstanceIdentifier: {}, - IsClusterWriter: { type: "boolean" }, - DBClusterParameterGroupStatus: {}, - PromotionTier: { type: "integer" }, - }, - wrapper: true, - }, - }, - VpcSecurityGroups: { shape: "St" }, - HostedZoneId: {}, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - DbClusterResourceId: {}, - DBClusterArn: {}, - AssociatedRoles: { - type: "list", - member: { - locationName: "DBClusterRole", - type: "structure", - members: { RoleArn: {}, Status: {} }, - }, - }, - ClusterCreateTime: { type: "timestamp" }, - EnabledCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, - }, - wrapper: true, - }, - St: { - type: "list", - member: { - locationName: "VpcSecurityGroupMembership", - type: "structure", - members: { VpcSecurityGroupId: {}, Status: {} }, - }, - }, - S13: { - type: "structure", - members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - Engine: {}, - DBInstanceStatus: {}, - Endpoint: { - type: "structure", - members: { - Address: {}, - Port: { type: "integer" }, - HostedZoneId: {}, - }, - }, - InstanceCreateTime: { type: "timestamp" }, - PreferredBackupWindow: {}, - BackupRetentionPeriod: { type: "integer" }, - VpcSecurityGroups: { shape: "St" }, - AvailabilityZone: {}, - DBSubnetGroup: { shape: "S15" }, - 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: "So" }, - LogTypesToDisable: { shape: "So" }, - }, - }, - }, - }, - LatestRestorableTime: { type: "timestamp" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - PubliclyAccessible: { type: "boolean" }, - StatusInfos: { - type: "list", - member: { - locationName: "DBInstanceStatusInfo", - type: "structure", - members: { - StatusType: {}, - Normal: { type: "boolean" }, - Status: {}, - Message: {}, - }, - }, - }, - DBClusterIdentifier: {}, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - DbiResourceId: {}, - CACertificateIdentifier: {}, - PromotionTier: { type: "integer" }, - DBInstanceArn: {}, - EnabledCloudwatchLogsExports: { shape: "So" }, - }, - wrapper: true, - }, - S15: { - type: "structure", - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - VpcId: {}, - SubnetGroupStatus: {}, - Subnets: { - type: "list", - member: { - locationName: "Subnet", - type: "structure", - members: { - SubnetIdentifier: {}, - SubnetAvailabilityZone: { shape: "S18" }, - SubnetStatus: {}, - }, - }, - }, - DBSubnetGroupArn: {}, - }, - wrapper: true, - }, - S18: { type: "structure", members: { Name: {} }, wrapper: true }, - S1e: { type: "list", member: { locationName: "SubnetIdentifier" } }, - S1p: { - type: "list", - member: { - locationName: "Filter", - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { locationName: "Value" } }, - }, - }, - }, - S20: { - type: "list", - member: { - locationName: "Parameter", - type: "structure", - members: { - ParameterName: {}, - ParameterValue: {}, - Description: {}, - Source: {}, - ApplyType: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: { type: "boolean" }, - MinimumEngineVersion: {}, - ApplyMethod: {}, - }, - }, - }, - S25: { - type: "structure", - members: { - DBClusterSnapshotIdentifier: {}, - DBClusterSnapshotAttributes: { - type: "list", - member: { - locationName: "DBClusterSnapshotAttribute", - type: "structure", - members: { - AttributeName: {}, - AttributeValues: { shape: "S28" }, - }, - }, - }, - }, - wrapper: true, - }, - S28: { type: "list", member: { locationName: "AttributeValue" } }, - S2y: { type: "list", member: { locationName: "EventCategory" } }, - S3k: { - type: "structure", - members: { DBClusterParameterGroupName: {} }, - }, - }, - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['ecrpublic'] = {}; +AWS.ECRPUBLIC = Service.defineService('ecrpublic', ['2020-10-30']); +Object.defineProperty(apiLoader.services['ecrpublic'], '2020-10-30', { + get: function get() { + var model = __webpack_require__(1498); + model.paginators = __webpack_require__(6621).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 2467: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["accessanalyzer"] = {}; - AWS.AccessAnalyzer = Service.defineService("accessanalyzer", [ - "2019-11-01", - ]); - Object.defineProperty( - apiLoader.services["accessanalyzer"], - "2019-11-01", - { - get: function get() { - var model = __webpack_require__(4575); - model.paginators = __webpack_require__(7291).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +module.exports = AWS.ECRPUBLIC; - module.exports = AWS.AccessAnalyzer; - /***/ - }, +/***/ }), - /***/ 2474: /***/ function (module) { - module.exports = { pagination: {} }; +/***/ 1797: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-03-31","endpointPrefix":"lakeformation","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Lake Formation","serviceId":"LakeFormation","signatureVersion":"v4","signingName":"lakeformation","targetPrefix":"AWSLakeFormation","uid":"lakeformation-2017-03-31"},"operations":{"BatchGrantPermissions":{"input":{"type":"structure","required":["Entries"],"members":{"CatalogId":{},"Entries":{"shape":"S3"}}},"output":{"type":"structure","members":{"Failures":{"shape":"Sm"}}}},"BatchRevokePermissions":{"input":{"type":"structure","required":["Entries"],"members":{"CatalogId":{},"Entries":{"shape":"S3"}}},"output":{"type":"structure","members":{"Failures":{"shape":"Sm"}}}},"DeregisterResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DescribeResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceInfo":{"shape":"Sw"}}}},"GetDataLakeSettings":{"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{"DataLakeSettings":{"shape":"S11"}}}},"GetEffectivePermissionsForPath":{"input":{"type":"structure","required":["ResourceArn"],"members":{"CatalogId":{},"ResourceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"shape":"S1a"},"NextToken":{}}}},"GrantPermissions":{"input":{"type":"structure","required":["Principal","Resource","Permissions"],"members":{"CatalogId":{},"Principal":{"shape":"S6"},"Resource":{"shape":"S8"},"Permissions":{"shape":"Sj"},"PermissionsWithGrantOption":{"shape":"Sj"}}},"output":{"type":"structure","members":{}}},"ListPermissions":{"input":{"type":"structure","members":{"CatalogId":{},"Principal":{"shape":"S6"},"ResourceType":{},"Resource":{"shape":"S8"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PrincipalResourcePermissions":{"shape":"S1a"},"NextToken":{}}}},"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":"Sw"}},"NextToken":{}}}},"PutDataLakeSettings":{"input":{"type":"structure","required":["DataLakeSettings"],"members":{"CatalogId":{},"DataLakeSettings":{"shape":"S11"}}},"output":{"type":"structure","members":{}}},"RegisterResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"UseServiceLinkedRole":{"type":"boolean"},"RoleArn":{}}},"output":{"type":"structure","members":{}}},"RevokePermissions":{"input":{"type":"structure","required":["Principal","Resource","Permissions"],"members":{"CatalogId":{},"Principal":{"shape":"S6"},"Resource":{"shape":"S8"},"Permissions":{"shape":"Sj"},"PermissionsWithGrantOption":{"shape":"Sj"}}},"output":{"type":"structure","members":{}}},"UpdateResource":{"input":{"type":"structure","required":["RoleArn","ResourceArn"],"members":{"RoleArn":{},"ResourceArn":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"list","member":{"shape":"S4"}},"S4":{"type":"structure","required":["Id"],"members":{"Id":{},"Principal":{"shape":"S6"},"Resource":{"shape":"S8"},"Permissions":{"shape":"Sj"},"PermissionsWithGrantOption":{"shape":"Sj"}}},"S6":{"type":"structure","members":{"DataLakePrincipalIdentifier":{}}},"S8":{"type":"structure","members":{"Catalog":{"type":"structure","members":{}},"Database":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{}}},"Table":{"type":"structure","required":["DatabaseName"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"TableWildcard":{"type":"structure","members":{}}}},"TableWithColumns":{"type":"structure","required":["DatabaseName","Name"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"ColumnNames":{"shape":"Sf"},"ColumnWildcard":{"type":"structure","members":{"ExcludedColumnNames":{"shape":"Sf"}}}}},"DataLocation":{"type":"structure","required":["ResourceArn"],"members":{"CatalogId":{},"ResourceArn":{}}}}},"Sf":{"type":"list","member":{}},"Sj":{"type":"list","member":{}},"Sm":{"type":"list","member":{"type":"structure","members":{"RequestEntry":{"shape":"S4"},"Error":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}}}},"Sw":{"type":"structure","members":{"ResourceArn":{},"RoleArn":{},"LastModified":{"type":"timestamp"}}},"S11":{"type":"structure","members":{"DataLakeAdmins":{"type":"list","member":{"shape":"S6"}},"CreateDatabaseDefaultPermissions":{"shape":"S13"},"CreateTableDefaultPermissions":{"shape":"S13"},"TrustedResourceOwners":{"type":"list","member":{}}}},"S13":{"type":"list","member":{"type":"structure","members":{"Principal":{"shape":"S6"},"Permissions":{"shape":"Sj"}}}},"S1a":{"type":"list","member":{"type":"structure","members":{"Principal":{"shape":"S6"},"Resource":{"shape":"S8"},"Permissions":{"shape":"Sj"},"PermissionsWithGrantOption":{"shape":"Sj"},"AdditionalDetails":{"type":"structure","members":{"ResourceShare":{"type":"list","member":{}}}}}}}}}; - /***/ 2476: /***/ function (__unusedmodule, exports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - "use strict"; - var builder, - defaults, - escapeCDATA, - requiresCDATA, - wrapCDATA, - hasProp = {}.hasOwnProperty; - - builder = __webpack_require__(312); - - defaults = __webpack_require__(1514).defaults; - - requiresCDATA = function (entry) { - return ( - typeof entry === "string" && - (entry.indexOf("&") >= 0 || - entry.indexOf(">") >= 0 || - entry.indexOf("<") >= 0) - ); - }; +/***/ }), - wrapCDATA = function (entry) { - return ""; - }; +/***/ 1798: +/***/ (function(module, __unusedexports, __webpack_require__) { - escapeCDATA = function (entry) { - return entry.replace("]]>", "]]]]>"); - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - exports.Builder = (function () { - function Builder(opts) { - var key, ref, value; - this.options = {}; - ref = defaults["0.2"]; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this.options[key] = value; - } - for (key in opts) { - if (!hasProp.call(opts, key)) continue; - value = opts[key]; - this.options[key] = value; - } - } +apiLoader.services['forecastservice'] = {}; +AWS.ForecastService = Service.defineService('forecastservice', ['2018-06-26']); +Object.defineProperty(apiLoader.services['forecastservice'], '2018-06-26', { + get: function get() { + var model = __webpack_require__(5723); + model.paginators = __webpack_require__(5532).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - Builder.prototype.buildObject = function (rootObj) { - var attrkey, charkey, render, rootElement, rootName; - attrkey = this.options.attrkey; - charkey = this.options.charkey; - if ( - Object.keys(rootObj).length === 1 && - this.options.rootName === defaults["0.2"].rootName - ) { - rootName = Object.keys(rootObj)[0]; - rootObj = rootObj[rootName]; - } else { - rootName = this.options.rootName; - } - render = (function (_this) { - return function (element, obj) { - var attr, child, entry, index, key, value; - if (typeof obj !== "object") { - if (_this.options.cdata && requiresCDATA(obj)) { - element.raw(wrapCDATA(obj)); - } else { - element.txt(obj); - } - } else if (Array.isArray(obj)) { - for (index in obj) { - if (!hasProp.call(obj, index)) continue; - child = obj[index]; - for (key in child) { - entry = child[key]; - element = render(element.ele(key), entry).up(); - } - } - } else { - for (key in obj) { - if (!hasProp.call(obj, key)) continue; - child = obj[key]; - if (key === attrkey) { - if (typeof child === "object") { - for (attr in child) { - value = child[attr]; - element = element.att(attr, value); - } - } - } else if (key === charkey) { - if (_this.options.cdata && requiresCDATA(child)) { - element = element.raw(wrapCDATA(child)); - } else { - element = element.txt(child); - } - } else if (Array.isArray(child)) { - for (index in child) { - if (!hasProp.call(child, index)) continue; - entry = child[index]; - if (typeof entry === "string") { - if (_this.options.cdata && requiresCDATA(entry)) { - element = element - .ele(key) - .raw(wrapCDATA(entry)) - .up(); - } else { - element = element.ele(key, entry).up(); - } - } else { - element = render(element.ele(key), entry).up(); - } - } - } else if (typeof child === "object") { - element = render(element.ele(key), child).up(); - } else { - if ( - typeof child === "string" && - _this.options.cdata && - requiresCDATA(child) - ) { - element = element.ele(key).raw(wrapCDATA(child)).up(); - } else { - if (child == null) { - child = ""; - } - element = element.ele(key, child.toString()).up(); - } - } - } - } - return element; - }; - })(this); - rootElement = builder.create( - rootName, - this.options.xmldec, - this.options.doctype, - { - headless: this.options.headless, - allowSurrogateChars: this.options.allowSurrogateChars, - } - ); - return render(rootElement, rootObj).end(this.options.renderOpts); - }; +module.exports = AWS.ForecastService; - return Builder; - })(); - }.call(this)); - /***/ - }, +/***/ }), - /***/ 2481: /***/ function (module) { - module.exports = { - pagination: { - ListDetectors: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "DetectorIds", - }, - ListFilters: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "FilterNames", - }, - ListFindings: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "FindingIds", - }, - ListIPSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "IpSetIds", - }, - ListInvitations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Invitations", - }, - ListMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Members", - }, - ListPublishingDestinations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListThreatIntelSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "ThreatIntelSetIds", - }, - }, - }; +/***/ 1802: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-06-10","endpointPrefix":"oidc","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"SSO OIDC","serviceFullName":"AWS SSO OIDC","serviceId":"SSO OIDC","signatureVersion":"v4","signingName":"awsssooidc","uid":"sso-oidc-2019-06-10"},"operations":{"CreateToken":{"http":{"requestUri":"/token"},"input":{"type":"structure","required":["clientId","clientSecret","grantType","deviceCode"],"members":{"clientId":{},"clientSecret":{},"grantType":{},"deviceCode":{},"code":{},"refreshToken":{},"scope":{"shape":"S8"},"redirectUri":{}}},"output":{"type":"structure","members":{"accessToken":{},"tokenType":{},"expiresIn":{"type":"integer"},"refreshToken":{},"idToken":{}}},"authtype":"none"},"RegisterClient":{"http":{"requestUri":"/client/register"},"input":{"type":"structure","required":["clientName","clientType"],"members":{"clientName":{},"clientType":{},"scopes":{"shape":"S8"}}},"output":{"type":"structure","members":{"clientId":{},"clientSecret":{},"clientIdIssuedAt":{"type":"long"},"clientSecretExpiresAt":{"type":"long"},"authorizationEndpoint":{},"tokenEndpoint":{}}},"authtype":"none"},"StartDeviceAuthorization":{"http":{"requestUri":"/device_authorization"},"input":{"type":"structure","required":["clientId","clientSecret","startUrl"],"members":{"clientId":{},"clientSecret":{},"startUrl":{}}},"output":{"type":"structure","members":{"deviceCode":{},"userCode":{},"verificationUri":{},"verificationUriComplete":{},"expiresIn":{"type":"integer"},"interval":{"type":"integer"}}},"authtype":"none"}},"shapes":{"S8":{"type":"list","member":{}}}}; - /***/ 2490: /***/ function (module) { - 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: "Se" } }, - }, - }, - Keys: { - type: "list", - member: { - type: "structure", - members: { - Dimensions: { shape: "Se" }, - Total: { type: "double" }, - Partitions: { type: "list", member: { type: "double" } }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - 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: "Se" } }, - }, - 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: {} }, - Se: { type: "map", key: {}, value: {} }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1818: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2491: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLNode, - XMLProcessingInstruction, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; +module.exports = isexe +isexe.sync = sync - XMLNode = __webpack_require__(6855); +var fs = __webpack_require__(5747) - module.exports = XMLProcessingInstruction = (function (superClass) { - extend(XMLProcessingInstruction, superClass); +function checkPathExt (path, options) { + var pathext = options.pathExt !== undefined ? + options.pathExt : process.env.PATHEXT - function XMLProcessingInstruction(parent, target, value) { - XMLProcessingInstruction.__super__.constructor.call(this, parent); - if (target == null) { - throw new Error("Missing instruction target"); - } - this.target = this.stringify.insTarget(target); - if (value) { - this.value = this.stringify.insValue(value); - } - } + if (!pathext) { + return true + } - XMLProcessingInstruction.prototype.clone = function () { - return Object.create(this); - }; + pathext = pathext.split(';') + if (pathext.indexOf('') !== -1) { + return true + } + for (var i = 0; i < pathext.length; i++) { + var p = pathext[i].toLowerCase() + if (p && path.substr(-p.length).toLowerCase() === p) { + return true + } + } + return false +} - XMLProcessingInstruction.prototype.toString = function (options) { - return this.options.writer.set(options).processingInstruction(this); - }; +function checkStat (stat, path, options) { + if (!stat.isSymbolicLink() && !stat.isFile()) { + return false + } + return checkPathExt(path, options) +} - return XMLProcessingInstruction; - })(XMLNode); - }.call(this)); +function isexe (path, options, cb) { + fs.stat(path, function (er, stat) { + cb(er, er ? false : checkStat(stat, path, options)) + }) +} - /***/ - }, +function sync (path, options) { + return checkStat(fs.statSync(path), path, options) +} - /***/ 2492: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var XmlNode = __webpack_require__(404).XmlNode; - var XmlText = __webpack_require__(4948).XmlText; - function XmlBuilder() {} +/***/ }), - XmlBuilder.prototype.toXML = function ( - params, - shape, - rootElement, - noEmpty - ) { - var xml = new XmlNode(rootElement); - applyNamespaces(xml, shape, true); - serialize(xml, params, shape); - return xml.children.length > 0 || noEmpty ? xml.toString() : ""; - }; +/***/ 1836: +/***/ (function(module, __unusedexports, __webpack_require__) { - function serialize(xml, value, shape) { - switch (shape.type) { - case "structure": - return serializeStructure(xml, value, shape); - case "map": - return serializeMap(xml, value, shape); - case "list": - return serializeList(xml, value, shape); - default: - return serializeScalar(xml, value, shape); - } - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function serializeStructure(xml, params, shape) { - util.arrayEach(shape.memberNames, function (memberName) { - var memberShape = shape.members[memberName]; - if (memberShape.location !== "body") return; - - var value = params[memberName]; - var name = memberShape.name; - if (value !== undefined && value !== null) { - if (memberShape.isXmlAttribute) { - xml.addAttribute(name, value); - } else if (memberShape.flattened) { - serialize(xml, value, memberShape); - } else { - var element = new XmlNode(name); - xml.addChildNode(element); - applyNamespaces(element, memberShape); - serialize(element, value, memberShape); - } - } - }); - } +apiLoader.services['budgets'] = {}; +AWS.Budgets = Service.defineService('budgets', ['2016-10-20']); +Object.defineProperty(apiLoader.services['budgets'], '2016-10-20', { + get: function get() { + var model = __webpack_require__(2261); + model.paginators = __webpack_require__(422).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function serializeMap(xml, map, shape) { - var xmlKey = shape.key.name || "key"; - var xmlValue = shape.value.name || "value"; +module.exports = AWS.Budgets; - util.each(map, function (key, value) { - var entry = new XmlNode(shape.flattened ? shape.name : "entry"); - xml.addChildNode(entry); - var entryKey = new XmlNode(xmlKey); - var entryValue = new XmlNode(xmlValue); - entry.addChildNode(entryKey); - entry.addChildNode(entryValue); +/***/ }), - serialize(entryKey, key, shape.key); - serialize(entryValue, value, shape.value); - }); - } +/***/ 1841: +/***/ (function(module) { - function serializeList(xml, list, shape) { - if (shape.flattened) { - util.arrayEach(list, function (value) { - var name = shape.member.name || shape.name; - var element = new XmlNode(name); - xml.addChildNode(element); - serialize(element, value, shape.member); - }); - } else { - util.arrayEach(list, function (value) { - var name = shape.member.name || "member"; - var element = new XmlNode(name); - xml.addChildNode(element); - serialize(element, value, shape.member); - }); - } - } +module.exports = {"pagination":{"GetApiKeys":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetBasePathMappings":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetClientCertificates":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetDeployments":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetDomainNames":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetModels":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetResources":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetRestApis":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetUsage":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetUsagePlanKeys":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetUsagePlans":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"},"GetVpcLinks":{"input_token":"position","limit_key":"limit","output_token":"position","result_key":"items"}}}; - function serializeScalar(xml, value, shape) { - xml.addChildNode(new XmlText(shape.toWireFormat(value))); - } +/***/ }), - function applyNamespaces(xml, shape, isRoot) { - var uri, - prefix = "xmlns"; - if (shape.xmlNamespaceUri) { - uri = shape.xmlNamespaceUri; - if (shape.xmlNamespacePrefix) - prefix += ":" + shape.xmlNamespacePrefix; - } else if (isRoot && shape.api.xmlNamespaceUri) { - uri = shape.api.xmlNamespaceUri; - } +/***/ 1854: +/***/ (function(module) { - if (uri) xml.addAttribute(prefix, uri); - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"imagebuilder","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"imagebuilder","serviceFullName":"EC2 Image Builder","serviceId":"imagebuilder","signatureVersion":"v4","signingName":"imagebuilder","uid":"imagebuilder-2019-12-02"},"operations":{"CancelImageCreation":{"http":{"method":"PUT","requestUri":"/CancelImageCreation"},"input":{"type":"structure","required":["imageBuildVersionArn","clientToken"],"members":{"imageBuildVersionArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateComponent":{"http":{"method":"PUT","requestUri":"/CreateComponent"},"input":{"type":"structure","required":["name","semanticVersion","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"CreateContainerRecipe":{"http":{"method":"PUT","requestUri":"/CreateContainerRecipe"},"input":{"type":"structure","required":["containerType","name","semanticVersion","components","dockerfileTemplateData","parentImage","targetRepository","clientToken"],"members":{"containerType":{},"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"dockerfileTemplateData":{},"dockerfileTemplateUri":{},"platformOverride":{},"imageOsVersionOverride":{},"parentImage":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"Sp"},"kmsKeyId":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"containerRecipeArn":{}}}},"CreateDistributionConfiguration":{"http":{"method":"PUT","requestUri":"/CreateDistributionConfiguration"},"input":{"type":"structure","required":["name","distributions","clientToken"],"members":{"name":{},"description":{},"distributions":{"shape":"Su"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"distributionConfigurationArn":{}}}},"CreateImage":{"http":{"method":"PUT","requestUri":"/CreateImage"},"input":{"type":"structure","required":["infrastructureConfigurationArn","clientToken"],"members":{"imageRecipeArn":{},"containerRecipeArn":{},"distributionConfigurationArn":{},"infrastructureConfigurationArn":{},"imageTestsConfiguration":{"shape":"S1a"},"enhancedImageMetadataEnabled":{"type":"boolean"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateImagePipeline":{"http":{"method":"PUT","requestUri":"/CreateImagePipeline"},"input":{"type":"structure","required":["name","infrastructureConfigurationArn","clientToken"],"members":{"name":{},"description":{},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S1a"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1f"},"status":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imagePipelineArn":{}}}},"CreateImageRecipe":{"http":{"method":"PUT","requestUri":"/CreateImageRecipe"},"input":{"type":"structure","required":["name","semanticVersion","components","parentImage","clientToken"],"members":{"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"S1l"},"tags":{"shape":"Se"},"workingDirectory":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageRecipeArn":{}}}},"CreateInfrastructureConfiguration":{"http":{"method":"PUT","requestUri":"/CreateInfrastructureConfiguration"},"input":{"type":"structure","required":["name","instanceProfileName","clientToken"],"members":{"name":{},"description":{},"instanceTypes":{"shape":"S1u"},"instanceProfileName":{},"securityGroupIds":{"shape":"S1w"},"subnetId":{},"logging":{"shape":"S1x"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"resourceTags":{"shape":"S20"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"infrastructureConfigurationArn":{}}}},"DeleteComponent":{"http":{"method":"DELETE","requestUri":"/DeleteComponent"},"input":{"type":"structure","required":["componentBuildVersionArn"],"members":{"componentBuildVersionArn":{"location":"querystring","locationName":"componentBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"componentBuildVersionArn":{}}}},"DeleteContainerRecipe":{"http":{"method":"DELETE","requestUri":"/DeleteContainerRecipe"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeArn":{}}}},"DeleteDistributionConfiguration":{"http":{"method":"DELETE","requestUri":"/DeleteDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn"],"members":{"distributionConfigurationArn":{"location":"querystring","locationName":"distributionConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfigurationArn":{}}}},"DeleteImage":{"http":{"method":"DELETE","requestUri":"/DeleteImage"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{"location":"querystring","locationName":"imageBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageBuildVersionArn":{}}}},"DeleteImagePipeline":{"http":{"method":"DELETE","requestUri":"/DeleteImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineArn":{}}}},"DeleteImageRecipe":{"http":{"method":"DELETE","requestUri":"/DeleteImageRecipe"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeArn":{}}}},"DeleteInfrastructureConfiguration":{"http":{"method":"DELETE","requestUri":"/DeleteInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn"],"members":{"infrastructureConfigurationArn":{"location":"querystring","locationName":"infrastructureConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationArn":{}}}},"GetComponent":{"http":{"method":"GET","requestUri":"/GetComponent"},"input":{"type":"structure","required":["componentBuildVersionArn"],"members":{"componentBuildVersionArn":{"location":"querystring","locationName":"componentBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"component":{"type":"structure","members":{"arn":{},"name":{},"version":{},"description":{},"changeDescription":{},"type":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"owner":{},"data":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"dateCreated":{},"tags":{"shape":"Se"}}}}}},"GetComponentPolicy":{"http":{"method":"GET","requestUri":"/GetComponentPolicy"},"input":{"type":"structure","required":["componentArn"],"members":{"componentArn":{"location":"querystring","locationName":"componentArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetContainerRecipe":{"http":{"method":"GET","requestUri":"/GetContainerRecipe"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipe":{"shape":"S2s"}}}},"GetContainerRecipePolicy":{"http":{"method":"GET","requestUri":"/GetContainerRecipePolicy"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetDistributionConfiguration":{"http":{"method":"GET","requestUri":"/GetDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn"],"members":{"distributionConfigurationArn":{"location":"querystring","locationName":"distributionConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfiguration":{"shape":"S2y"}}}},"GetImage":{"http":{"method":"GET","requestUri":"/GetImage"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{"location":"querystring","locationName":"imageBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"image":{"type":"structure","members":{"arn":{},"type":{},"name":{},"version":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"osVersion":{},"state":{"shape":"S35"},"imageRecipe":{"shape":"S37"},"containerRecipe":{"shape":"S2s"},"sourcePipelineName":{},"sourcePipelineArn":{},"infrastructureConfiguration":{"shape":"S39"},"distributionConfiguration":{"shape":"S2y"},"imageTestsConfiguration":{"shape":"S1a"},"dateCreated":{},"outputResources":{"shape":"S3a"},"tags":{"shape":"Se"}}}}}},"GetImagePipeline":{"http":{"method":"GET","requestUri":"/GetImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipeline":{"shape":"S3h"}}}},"GetImagePolicy":{"http":{"method":"GET","requestUri":"/GetImagePolicy"},"input":{"type":"structure","required":["imageArn"],"members":{"imageArn":{"location":"querystring","locationName":"imageArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetImageRecipe":{"http":{"method":"GET","requestUri":"/GetImageRecipe"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipe":{"shape":"S37"}}}},"GetImageRecipePolicy":{"http":{"method":"GET","requestUri":"/GetImageRecipePolicy"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetInfrastructureConfiguration":{"http":{"method":"GET","requestUri":"/GetInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn"],"members":{"infrastructureConfigurationArn":{"location":"querystring","locationName":"infrastructureConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfiguration":{"shape":"S39"}}}},"ImportComponent":{"http":{"method":"PUT","requestUri":"/ImportComponent"},"input":{"type":"structure","required":["name","semanticVersion","type","format","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"type":{},"format":{},"platform":{},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"ListComponentBuildVersions":{"http":{"requestUri":"/ListComponentBuildVersions"},"input":{"type":"structure","required":["componentVersionArn"],"members":{"componentVersionArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"componentSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"version":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"type":{},"owner":{},"description":{},"changeDescription":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListComponents":{"http":{"requestUri":"/ListComponents"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S42"},"byName":{"type":"boolean"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"componentVersionList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"version":{},"description":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"type":{},"owner":{},"dateCreated":{}}}},"nextToken":{}}}},"ListContainerRecipes":{"http":{"requestUri":"/ListContainerRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S42"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"platform":{},"owner":{},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListDistributionConfigurations":{"http":{"requestUri":"/ListDistributionConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S42"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"},"regions":{"type":"list","member":{}}}}},"nextToken":{}}}},"ListImageBuildVersions":{"http":{"requestUri":"/ListImageBuildVersions"},"input":{"type":"structure","required":["imageVersionArn"],"members":{"imageVersionArn":{},"filters":{"shape":"S42"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S4n"},"nextToken":{}}}},"ListImagePipelineImages":{"http":{"requestUri":"/ListImagePipelineImages"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{},"filters":{"shape":"S42"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S4n"},"nextToken":{}}}},"ListImagePipelines":{"http":{"requestUri":"/ListImagePipelines"},"input":{"type":"structure","members":{"filters":{"shape":"S42"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineList":{"type":"list","member":{"shape":"S3h"}},"nextToken":{}}}},"ListImageRecipes":{"http":{"requestUri":"/ListImageRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S42"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"platform":{},"owner":{},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListImages":{"http":{"requestUri":"/ListImages"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S42"},"byName":{"type":"boolean"},"maxResults":{"type":"integer"},"nextToken":{},"includeDeprecated":{"type":"boolean"}}},"output":{"type":"structure","members":{"requestId":{},"imageVersionList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"owner":{},"dateCreated":{}}}},"nextToken":{}}}},"ListInfrastructureConfigurations":{"http":{"requestUri":"/ListInfrastructureConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S42"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S20"},"tags":{"shape":"Se"}}}},"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":"Se"}}}},"PutComponentPolicy":{"http":{"method":"PUT","requestUri":"/PutComponentPolicy"},"input":{"type":"structure","required":["componentArn","policy"],"members":{"componentArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"componentArn":{}}}},"PutContainerRecipePolicy":{"http":{"method":"PUT","requestUri":"/PutContainerRecipePolicy"},"input":{"type":"structure","required":["containerRecipeArn","policy"],"members":{"containerRecipeArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeArn":{}}}},"PutImagePolicy":{"http":{"method":"PUT","requestUri":"/PutImagePolicy"},"input":{"type":"structure","required":["imageArn","policy"],"members":{"imageArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"imageArn":{}}}},"PutImageRecipePolicy":{"http":{"method":"PUT","requestUri":"/PutImageRecipePolicy"},"input":{"type":"structure","required":["imageRecipeArn","policy"],"members":{"imageRecipeArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeArn":{}}}},"StartImagePipelineExecution":{"http":{"method":"PUT","requestUri":"/StartImagePipelineExecution"},"input":{"type":"structure","required":["imagePipelineArn","clientToken"],"members":{"imagePipelineArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"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}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDistributionConfiguration":{"http":{"method":"PUT","requestUri":"/UpdateDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn","distributions","clientToken"],"members":{"distributionConfigurationArn":{},"description":{},"distributions":{"shape":"Su"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"distributionConfigurationArn":{}}}},"UpdateImagePipeline":{"http":{"method":"PUT","requestUri":"/UpdateImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn","infrastructureConfigurationArn","clientToken"],"members":{"imagePipelineArn":{},"description":{},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S1a"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1f"},"status":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imagePipelineArn":{}}}},"UpdateInfrastructureConfiguration":{"http":{"method":"PUT","requestUri":"/UpdateInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn","instanceProfileName","clientToken"],"members":{"infrastructureConfigurationArn":{},"description":{},"instanceTypes":{"shape":"S1u"},"instanceProfileName":{},"securityGroupIds":{"shape":"S1w"},"subnetId":{},"logging":{"shape":"S1x"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"clientToken":{"idempotencyToken":true},"resourceTags":{"shape":"S20"}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"infrastructureConfigurationArn":{}}}}},"shapes":{"Sa":{"type":"list","member":{}},"Se":{"type":"map","key":{},"value":{}},"Sl":{"type":"list","member":{"type":"structure","required":["componentArn"],"members":{"componentArn":{}}}},"Sp":{"type":"structure","required":["service","repositoryName"],"members":{"service":{},"repositoryName":{}}},"Su":{"type":"list","member":{"type":"structure","required":["region"],"members":{"region":{},"amiDistributionConfiguration":{"type":"structure","members":{"name":{},"description":{},"targetAccountIds":{"shape":"Sy"},"amiTags":{"shape":"Se"},"kmsKeyId":{},"launchPermission":{"type":"structure","members":{"userIds":{"shape":"Sy"},"userGroups":{"shape":"S11"}}}}},"containerDistributionConfiguration":{"type":"structure","required":["targetRepository"],"members":{"description":{},"containerTags":{"shape":"S11"},"targetRepository":{"shape":"Sp"}}},"licenseConfigurationArns":{"type":"list","member":{}}}}},"Sy":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S1a":{"type":"structure","members":{"imageTestsEnabled":{"type":"boolean"},"timeoutMinutes":{"type":"integer"}}},"S1f":{"type":"structure","members":{"scheduleExpression":{},"pipelineExecutionStartCondition":{}}},"S1l":{"type":"list","member":{"type":"structure","members":{"deviceName":{},"ebs":{"type":"structure","members":{"encrypted":{"type":"boolean"},"deleteOnTermination":{"type":"boolean"},"iops":{"type":"integer"},"kmsKeyId":{},"snapshotId":{},"volumeSize":{"type":"integer"},"volumeType":{}}},"virtualName":{},"noDevice":{}}}},"S1u":{"type":"list","member":{}},"S1w":{"type":"list","member":{}},"S1x":{"type":"structure","members":{"s3Logs":{"type":"structure","members":{"s3BucketName":{},"s3KeyPrefix":{}}}}},"S20":{"type":"map","key":{},"value":{}},"S2s":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"dockerfileTemplateData":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"Sp"}}},"S2y":{"type":"structure","required":["timeoutMinutes"],"members":{"arn":{},"name":{},"description":{},"distributions":{"shape":"Su"},"timeoutMinutes":{"type":"integer"},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"}}},"S35":{"type":"structure","members":{"status":{},"reason":{}}},"S37":{"type":"structure","members":{"arn":{},"type":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"S1l"},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{}}},"S39":{"type":"structure","members":{"arn":{},"name":{},"description":{},"instanceTypes":{"shape":"S1u"},"instanceProfileName":{},"securityGroupIds":{"shape":"S1w"},"subnetId":{},"logging":{"shape":"S1x"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S20"},"tags":{"shape":"Se"}}},"S3a":{"type":"structure","members":{"amis":{"type":"list","member":{"type":"structure","members":{"region":{},"image":{},"name":{},"description":{},"state":{"shape":"S35"},"accountId":{}}}},"containers":{"type":"list","member":{"type":"structure","members":{"region":{},"imageUris":{"shape":"S11"}}}}}},"S3h":{"type":"structure","members":{"arn":{},"name":{},"description":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S1a"},"schedule":{"shape":"S1f"},"status":{},"dateCreated":{},"dateUpdated":{},"dateLastRun":{},"dateNextRun":{},"tags":{"shape":"Se"}}},"S42":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"S4n":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"state":{"shape":"S35"},"owner":{},"dateCreated":{},"outputResources":{"shape":"S3a"},"tags":{"shape":"Se"}}}}}}; - /** - * @api private - */ - module.exports = XmlBuilder; +/***/ }), - /***/ - }, +/***/ 1855: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2510: /***/ function (module) { - module.exports = addHook; +module.exports = registerPlugin; - function addHook(state, kind, name, hook) { - var orig = hook; - if (!state.registry[name]) { - state.registry[name] = []; - } +const factory = __webpack_require__(9047); - if (kind === "before") { - hook = function (method, options) { - return Promise.resolve() - .then(orig.bind(null, options)) - .then(method.bind(null, options)); - }; - } +function registerPlugin(plugins, pluginFunction) { + return factory( + plugins.includes(pluginFunction) ? plugins : plugins.concat(pluginFunction) + ); +} - if (kind === "after") { - hook = function (method, options) { - var result; - return Promise.resolve() - .then(method.bind(null, options)) - .then(function (result_) { - result = result_; - return orig(result, options); - }) - .then(function () { - return result; - }); - }; - } - if (kind === "error") { - hook = function (method, options) { - return Promise.resolve() - .then(method.bind(null, options)) - .catch(function (error) { - return orig(error, options); - }); - }; - } +/***/ }), - state.registry[name].push({ - hook: hook, - orig: orig, - }); - } +/***/ 1872: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"iotsitewise","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS IoT SiteWise","serviceId":"IoTSiteWise","signatureVersion":"v4","signingName":"iotsitewise","uid":"iotsitewise-2019-12-02"},"operations":{"AssociateAssets":{"http":{"requestUri":"/assets/{assetId}/associate"},"input":{"type":"structure","required":["assetId","hierarchyId","childAssetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{},"childAssetId":{},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"model."}},"BatchAssociateProjectAssets":{"http":{"requestUri":"/projects/{projectId}/assets/associate","responseCode":200},"input":{"type":"structure","required":["projectId","assetIds"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"assetIds":{"shape":"S5"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"shape":"S8"}}}},"endpoint":{"hostPrefix":"monitor."}},"BatchDisassociateProjectAssets":{"http":{"requestUri":"/projects/{projectId}/assets/disassociate","responseCode":200},"input":{"type":"structure","required":["projectId","assetIds"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"assetIds":{"shape":"S5"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"shape":"S8"}}}},"endpoint":{"hostPrefix":"monitor."}},"BatchPutAssetPropertyValue":{"http":{"requestUri":"/properties"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId","propertyValues"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{},"propertyValues":{"type":"list","member":{"shape":"Sk"}}}}}}},"output":{"type":"structure","required":["errorEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["entryId","errors"],"members":{"entryId":{},"errors":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","timestamps"],"members":{"errorCode":{},"errorMessage":{},"timestamps":{"type":"list","member":{"shape":"Sq"}}}}}}}}}},"endpoint":{"hostPrefix":"data."}},"CreateAccessPolicy":{"http":{"requestUri":"/access-policies","responseCode":201},"input":{"type":"structure","required":["accessPolicyIdentity","accessPolicyResource","accessPolicyPermission"],"members":{"accessPolicyIdentity":{"shape":"S13"},"accessPolicyResource":{"shape":"S19"},"accessPolicyPermission":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S1d"}}},"output":{"type":"structure","required":["accessPolicyId","accessPolicyArn"],"members":{"accessPolicyId":{},"accessPolicyArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateAsset":{"http":{"requestUri":"/assets","responseCode":202},"input":{"type":"structure","required":["assetName","assetModelId"],"members":{"assetName":{},"assetModelId":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S1d"}}},"output":{"type":"structure","required":["assetId","assetArn","assetStatus"],"members":{"assetId":{},"assetArn":{},"assetStatus":{"shape":"S1k"}}},"endpoint":{"hostPrefix":"model."}},"CreateAssetModel":{"http":{"requestUri":"/asset-models","responseCode":202},"input":{"type":"structure","required":["assetModelName"],"members":{"assetModelName":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S1q"},"assetModelHierarchies":{"type":"list","member":{"type":"structure","required":["name","childAssetModelId"],"members":{"name":{},"childAssetModelId":{}}}},"assetModelCompositeModels":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S1q"}}}},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S1d"}}},"output":{"type":"structure","required":["assetModelId","assetModelArn","assetModelStatus"],"members":{"assetModelId":{},"assetModelArn":{},"assetModelStatus":{"shape":"S2e"}}},"endpoint":{"hostPrefix":"model."}},"CreateDashboard":{"http":{"requestUri":"/dashboards","responseCode":201},"input":{"type":"structure","required":["projectId","dashboardName","dashboardDefinition"],"members":{"projectId":{},"dashboardName":{},"dashboardDescription":{},"dashboardDefinition":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S1d"}}},"output":{"type":"structure","required":["dashboardId","dashboardArn"],"members":{"dashboardId":{},"dashboardArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateGateway":{"http":{"requestUri":"/20200301/gateways","responseCode":201},"input":{"type":"structure","required":["gatewayName","gatewayPlatform"],"members":{"gatewayName":{},"gatewayPlatform":{"shape":"S2k"},"tags":{"shape":"S1d"}}},"output":{"type":"structure","required":["gatewayId","gatewayArn"],"members":{"gatewayId":{},"gatewayArn":{}}},"endpoint":{"hostPrefix":"edge."}},"CreatePortal":{"http":{"requestUri":"/portals","responseCode":202},"input":{"type":"structure","required":["portalName","portalContactEmail","roleArn"],"members":{"portalName":{},"portalDescription":{},"portalContactEmail":{},"clientToken":{"idempotencyToken":true},"portalLogoImageFile":{"shape":"S2p"},"roleArn":{},"tags":{"shape":"S1d"},"portalAuthMode":{}}},"output":{"type":"structure","required":["portalId","portalArn","portalStartUrl","portalStatus","ssoApplicationId"],"members":{"portalId":{},"portalArn":{},"portalStartUrl":{},"portalStatus":{"shape":"S2v"},"ssoApplicationId":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateProject":{"http":{"requestUri":"/projects","responseCode":201},"input":{"type":"structure","required":["portalId","projectName"],"members":{"portalId":{},"projectName":{},"projectDescription":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S1d"}}},"output":{"type":"structure","required":["projectId","projectArn"],"members":{"projectId":{},"projectArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"DeleteAccessPolicy":{"http":{"method":"DELETE","requestUri":"/access-policies/{accessPolicyId}","responseCode":204},"input":{"type":"structure","required":["accessPolicyId"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteAsset":{"http":{"method":"DELETE","requestUri":"/assets/{assetId}","responseCode":202},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["assetStatus"],"members":{"assetStatus":{"shape":"S1k"}}},"endpoint":{"hostPrefix":"model."}},"DeleteAssetModel":{"http":{"method":"DELETE","requestUri":"/asset-models/{assetModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S2e"}}},"endpoint":{"hostPrefix":"model."}},"DeleteDashboard":{"http":{"method":"DELETE","requestUri":"/dashboards/{dashboardId}","responseCode":204},"input":{"type":"structure","required":["dashboardId"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteGateway":{"http":{"method":"DELETE","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"}}},"endpoint":{"hostPrefix":"edge."}},"DeletePortal":{"http":{"method":"DELETE","requestUri":"/portals/{portalId}","responseCode":202},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"uri","locationName":"portalId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["portalStatus"],"members":{"portalStatus":{"shape":"S2v"}}},"endpoint":{"hostPrefix":"monitor."}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/projects/{projectId}","responseCode":204},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DescribeAccessPolicy":{"http":{"method":"GET","requestUri":"/access-policies/{accessPolicyId}","responseCode":200},"input":{"type":"structure","required":["accessPolicyId"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"}}},"output":{"type":"structure","required":["accessPolicyId","accessPolicyArn","accessPolicyIdentity","accessPolicyResource","accessPolicyPermission","accessPolicyCreationDate","accessPolicyLastUpdateDate"],"members":{"accessPolicyId":{},"accessPolicyArn":{},"accessPolicyIdentity":{"shape":"S13"},"accessPolicyResource":{"shape":"S19"},"accessPolicyPermission":{},"accessPolicyCreationDate":{"type":"timestamp"},"accessPolicyLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeAsset":{"http":{"method":"GET","requestUri":"/assets/{assetId}"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"}}},"output":{"type":"structure","required":["assetId","assetArn","assetName","assetModelId","assetProperties","assetHierarchies","assetCreationDate","assetLastUpdateDate","assetStatus"],"members":{"assetId":{},"assetArn":{},"assetName":{},"assetModelId":{},"assetProperties":{"shape":"S3l"},"assetHierarchies":{"shape":"S3r"},"assetCompositeModels":{"type":"list","member":{"type":"structure","required":["name","type","properties"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S3l"}}}},"assetCreationDate":{"type":"timestamp"},"assetLastUpdateDate":{"type":"timestamp"},"assetStatus":{"shape":"S1k"}}},"endpoint":{"hostPrefix":"model."}},"DescribeAssetModel":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"}}},"output":{"type":"structure","required":["assetModelId","assetModelArn","assetModelName","assetModelDescription","assetModelProperties","assetModelHierarchies","assetModelCreationDate","assetModelLastUpdateDate","assetModelStatus"],"members":{"assetModelId":{},"assetModelArn":{},"assetModelName":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S3x"},"assetModelHierarchies":{"shape":"S3z"},"assetModelCompositeModels":{"shape":"S41"},"assetModelCreationDate":{"type":"timestamp"},"assetModelLastUpdateDate":{"type":"timestamp"},"assetModelStatus":{"shape":"S2e"}}},"endpoint":{"hostPrefix":"model."}},"DescribeAssetProperty":{"http":{"method":"GET","requestUri":"/assets/{assetId}/properties/{propertyId}"},"input":{"type":"structure","required":["assetId","propertyId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"propertyId":{"location":"uri","locationName":"propertyId"}}},"output":{"type":"structure","required":["assetId","assetName","assetModelId"],"members":{"assetId":{},"assetName":{},"assetModelId":{},"assetProperty":{"shape":"S45"},"compositeModel":{"type":"structure","required":["name","type","assetProperty"],"members":{"name":{},"type":{},"assetProperty":{"shape":"S45"}}}}},"endpoint":{"hostPrefix":"model."}},"DescribeDashboard":{"http":{"method":"GET","requestUri":"/dashboards/{dashboardId}","responseCode":200},"input":{"type":"structure","required":["dashboardId"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"}}},"output":{"type":"structure","required":["dashboardId","dashboardArn","dashboardName","projectId","dashboardDefinition","dashboardCreationDate","dashboardLastUpdateDate"],"members":{"dashboardId":{},"dashboardArn":{},"dashboardName":{},"projectId":{},"dashboardDescription":{},"dashboardDefinition":{},"dashboardCreationDate":{"type":"timestamp"},"dashboardLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeDefaultEncryptionConfiguration":{"http":{"method":"GET","requestUri":"/configuration/account/encryption"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["encryptionType","configurationStatus"],"members":{"encryptionType":{},"kmsKeyArn":{},"configurationStatus":{"shape":"S4c"}}}},"DescribeGateway":{"http":{"method":"GET","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"}}},"output":{"type":"structure","required":["gatewayId","gatewayName","gatewayArn","gatewayCapabilitySummaries","creationDate","lastUpdateDate"],"members":{"gatewayId":{},"gatewayName":{},"gatewayArn":{},"gatewayPlatform":{"shape":"S2k"},"gatewayCapabilitySummaries":{"shape":"S4h"},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"edge."}},"DescribeGatewayCapabilityConfiguration":{"http":{"method":"GET","requestUri":"/20200301/gateways/{gatewayId}/capability/{capabilityNamespace}"},"input":{"type":"structure","required":["gatewayId","capabilityNamespace"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"capabilityNamespace":{"location":"uri","locationName":"capabilityNamespace"}}},"output":{"type":"structure","required":["gatewayId","capabilityNamespace","capabilityConfiguration","capabilitySyncStatus"],"members":{"gatewayId":{},"capabilityNamespace":{},"capabilityConfiguration":{},"capabilitySyncStatus":{}}},"endpoint":{"hostPrefix":"edge."}},"DescribeLoggingOptions":{"http":{"method":"GET","requestUri":"/logging"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["loggingOptions"],"members":{"loggingOptions":{"shape":"S4q"}}},"endpoint":{"hostPrefix":"model."}},"DescribePortal":{"http":{"method":"GET","requestUri":"/portals/{portalId}","responseCode":200},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"uri","locationName":"portalId"}}},"output":{"type":"structure","required":["portalId","portalArn","portalName","portalClientId","portalStartUrl","portalContactEmail","portalStatus","portalCreationDate","portalLastUpdateDate"],"members":{"portalId":{},"portalArn":{},"portalName":{},"portalDescription":{},"portalClientId":{},"portalStartUrl":{},"portalContactEmail":{},"portalStatus":{"shape":"S2v"},"portalCreationDate":{"type":"timestamp"},"portalLastUpdateDate":{"type":"timestamp"},"portalLogoImageLocation":{"type":"structure","required":["id","url"],"members":{"id":{},"url":{}}},"roleArn":{},"portalAuthMode":{}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeProject":{"http":{"method":"GET","requestUri":"/projects/{projectId}","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"}}},"output":{"type":"structure","required":["projectId","projectArn","projectName","portalId","projectCreationDate","projectLastUpdateDate"],"members":{"projectId":{},"projectArn":{},"projectName":{},"portalId":{},"projectDescription":{},"projectCreationDate":{"type":"timestamp"},"projectLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DisassociateAssets":{"http":{"requestUri":"/assets/{assetId}/disassociate"},"input":{"type":"structure","required":["assetId","hierarchyId","childAssetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{},"childAssetId":{},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"model."}},"GetAssetPropertyAggregates":{"http":{"method":"GET","requestUri":"/properties/aggregates"},"input":{"type":"structure","required":["aggregateTypes","resolution","startDate","endDate"],"members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"aggregateTypes":{"location":"querystring","locationName":"aggregateTypes","type":"list","member":{}},"resolution":{"location":"querystring","locationName":"resolution"},"qualities":{"shape":"S53","location":"querystring","locationName":"qualities"},"startDate":{"location":"querystring","locationName":"startDate","type":"timestamp"},"endDate":{"location":"querystring","locationName":"endDate","type":"timestamp"},"timeOrdering":{"location":"querystring","locationName":"timeOrdering"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["aggregatedValues"],"members":{"aggregatedValues":{"type":"list","member":{"type":"structure","required":["timestamp","value"],"members":{"timestamp":{"type":"timestamp"},"quality":{},"value":{"type":"structure","members":{"average":{"type":"double"},"count":{"type":"double"},"maximum":{"type":"double"},"minimum":{"type":"double"},"sum":{"type":"double"},"standardDeviation":{"type":"double"}}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyValue":{"http":{"method":"GET","requestUri":"/properties/latest"},"input":{"type":"structure","members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"}}},"output":{"type":"structure","members":{"propertyValue":{"shape":"Sk"}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyValueHistory":{"http":{"method":"GET","requestUri":"/properties/history"},"input":{"type":"structure","members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"startDate":{"location":"querystring","locationName":"startDate","type":"timestamp"},"endDate":{"location":"querystring","locationName":"endDate","type":"timestamp"},"qualities":{"shape":"S53","location":"querystring","locationName":"qualities"},"timeOrdering":{"location":"querystring","locationName":"timeOrdering"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetPropertyValueHistory"],"members":{"assetPropertyValueHistory":{"type":"list","member":{"shape":"Sk"}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"ListAccessPolicies":{"http":{"method":"GET","requestUri":"/access-policies","responseCode":200},"input":{"type":"structure","members":{"identityType":{"location":"querystring","locationName":"identityType"},"identityId":{"location":"querystring","locationName":"identityId"},"resourceType":{"location":"querystring","locationName":"resourceType"},"resourceId":{"location":"querystring","locationName":"resourceId"},"iamArn":{"location":"querystring","locationName":"iamArn"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["accessPolicySummaries"],"members":{"accessPolicySummaries":{"type":"list","member":{"type":"structure","required":["id","identity","resource","permission"],"members":{"id":{},"identity":{"shape":"S13"},"resource":{"shape":"S19"},"permission":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListAssetModels":{"http":{"method":"GET","requestUri":"/asset-models"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetModelSummaries"],"members":{"assetModelSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","description","creationDate","lastUpdateDate","status"],"members":{"id":{},"arn":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S2e"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"model."}},"ListAssetRelationships":{"http":{"method":"GET","requestUri":"/assets/{assetId}/assetRelationships"},"input":{"type":"structure","required":["assetId","traversalType"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"traversalType":{"location":"querystring","locationName":"traversalType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetRelationshipSummaries"],"members":{"assetRelationshipSummaries":{"type":"list","member":{"type":"structure","required":["relationshipType"],"members":{"hierarchyInfo":{"type":"structure","members":{"parentAssetId":{},"childAssetId":{}}},"relationshipType":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"model."}},"ListAssets":{"http":{"method":"GET","requestUri":"/assets"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetModelId":{"location":"querystring","locationName":"assetModelId"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["assetSummaries"],"members":{"assetSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","assetModelId","creationDate","lastUpdateDate","status","hierarchies"],"members":{"id":{},"arn":{},"name":{},"assetModelId":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S1k"},"hierarchies":{"shape":"S3r"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"model."}},"ListAssociatedAssets":{"http":{"method":"GET","requestUri":"/assets/{assetId}/hierarchies"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{"location":"querystring","locationName":"hierarchyId"},"traversalDirection":{"location":"querystring","locationName":"traversalDirection"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetSummaries"],"members":{"assetSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","assetModelId","creationDate","lastUpdateDate","status","hierarchies"],"members":{"id":{},"arn":{},"name":{},"assetModelId":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S1k"},"hierarchies":{"shape":"S3r"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"model."}},"ListDashboards":{"http":{"method":"GET","requestUri":"/dashboards","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"querystring","locationName":"projectId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["dashboardSummaries"],"members":{"dashboardSummaries":{"type":"list","member":{"type":"structure","required":["id","name"],"members":{"id":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListGateways":{"http":{"method":"GET","requestUri":"/20200301/gateways"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["gatewaySummaries"],"members":{"gatewaySummaries":{"type":"list","member":{"type":"structure","required":["gatewayId","gatewayName","creationDate","lastUpdateDate"],"members":{"gatewayId":{},"gatewayName":{},"gatewayCapabilitySummaries":{"shape":"S4h"},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"edge."}},"ListPortals":{"http":{"method":"GET","requestUri":"/portals","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"portalSummaries":{"type":"list","member":{"type":"structure","required":["id","name","startUrl","status"],"members":{"id":{},"name":{},"description":{},"startUrl":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"roleArn":{},"status":{"shape":"S2v"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListProjectAssets":{"http":{"method":"GET","requestUri":"/projects/{projectId}/assets","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetIds"],"members":{"assetIds":{"type":"list","member":{}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListProjects":{"http":{"method":"GET","requestUri":"/projects","responseCode":200},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"querystring","locationName":"portalId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["projectSummaries"],"members":{"projectSummaries":{"type":"list","member":{"type":"structure","required":["id","name"],"members":{"id":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1d"}}}},"PutDefaultEncryptionConfiguration":{"http":{"requestUri":"/configuration/account/encryption"},"input":{"type":"structure","required":["encryptionType"],"members":{"encryptionType":{},"kmsKeyId":{}}},"output":{"type":"structure","required":["encryptionType","configurationStatus"],"members":{"encryptionType":{},"kmsKeyArn":{},"configurationStatus":{"shape":"S4c"}}}},"PutLoggingOptions":{"http":{"method":"PUT","requestUri":"/logging"},"input":{"type":"structure","required":["loggingOptions"],"members":{"loggingOptions":{"shape":"S4q"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"model."}},"TagResource":{"http":{"requestUri":"/tags"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tags":{"shape":"S1d"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAccessPolicy":{"http":{"method":"PUT","requestUri":"/access-policies/{accessPolicyId}","responseCode":200},"input":{"type":"structure","required":["accessPolicyId","accessPolicyIdentity","accessPolicyResource","accessPolicyPermission"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"},"accessPolicyIdentity":{"shape":"S13"},"accessPolicyResource":{"shape":"S19"},"accessPolicyPermission":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"UpdateAsset":{"http":{"method":"PUT","requestUri":"/assets/{assetId}","responseCode":202},"input":{"type":"structure","required":["assetId","assetName"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"assetName":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["assetStatus"],"members":{"assetStatus":{"shape":"S1k"}}},"endpoint":{"hostPrefix":"model."}},"UpdateAssetModel":{"http":{"method":"PUT","requestUri":"/asset-models/{assetModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelName"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelName":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S3x"},"assetModelHierarchies":{"shape":"S3z"},"assetModelCompositeModels":{"shape":"S41"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S2e"}}},"endpoint":{"hostPrefix":"model."}},"UpdateAssetProperty":{"http":{"method":"PUT","requestUri":"/assets/{assetId}/properties/{propertyId}"},"input":{"type":"structure","required":["assetId","propertyId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"propertyId":{"location":"uri","locationName":"propertyId"},"propertyAlias":{},"propertyNotificationState":{},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"model."}},"UpdateDashboard":{"http":{"method":"PUT","requestUri":"/dashboards/{dashboardId}","responseCode":200},"input":{"type":"structure","required":["dashboardId","dashboardName","dashboardDefinition"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"},"dashboardName":{},"dashboardDescription":{},"dashboardDefinition":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"UpdateGateway":{"http":{"method":"PUT","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId","gatewayName"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"gatewayName":{}}},"endpoint":{"hostPrefix":"edge."}},"UpdateGatewayCapabilityConfiguration":{"http":{"requestUri":"/20200301/gateways/{gatewayId}/capability","responseCode":201},"input":{"type":"structure","required":["gatewayId","capabilityNamespace","capabilityConfiguration"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"capabilityNamespace":{},"capabilityConfiguration":{}}},"output":{"type":"structure","required":["capabilityNamespace","capabilitySyncStatus"],"members":{"capabilityNamespace":{},"capabilitySyncStatus":{}}},"endpoint":{"hostPrefix":"edge."}},"UpdatePortal":{"http":{"method":"PUT","requestUri":"/portals/{portalId}","responseCode":202},"input":{"type":"structure","required":["portalId","portalName","portalContactEmail","roleArn"],"members":{"portalId":{"location":"uri","locationName":"portalId"},"portalName":{},"portalDescription":{},"portalContactEmail":{},"portalLogoImage":{"type":"structure","members":{"id":{},"file":{"shape":"S2p"}}},"roleArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["portalStatus"],"members":{"portalStatus":{"shape":"S2v"}}},"endpoint":{"hostPrefix":"monitor."}},"UpdateProject":{"http":{"method":"PUT","requestUri":"/projects/{projectId}","responseCode":200},"input":{"type":"structure","required":["projectId","projectName"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"projectName":{},"projectDescription":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}}},"shapes":{"S5":{"type":"list","member":{}},"S8":{"type":"structure","required":["assetId","code","message"],"members":{"assetId":{},"code":{},"message":{}}},"Sk":{"type":"structure","required":["value","timestamp"],"members":{"value":{"type":"structure","members":{"stringValue":{},"integerValue":{"type":"integer"},"doubleValue":{"type":"double"},"booleanValue":{"type":"boolean"}}},"timestamp":{"shape":"Sq"},"quality":{}}},"Sq":{"type":"structure","required":["timeInSeconds"],"members":{"timeInSeconds":{"type":"long"},"offsetInNanos":{"type":"integer"}}},"S13":{"type":"structure","members":{"user":{"type":"structure","required":["id"],"members":{"id":{}}},"group":{"type":"structure","required":["id"],"members":{"id":{}}},"iamUser":{"type":"structure","required":["arn"],"members":{"arn":{}}}}},"S19":{"type":"structure","members":{"portal":{"type":"structure","required":["id"],"members":{"id":{}}},"project":{"type":"structure","required":["id"],"members":{"id":{}}}}},"S1d":{"type":"map","key":{},"value":{}},"S1k":{"type":"structure","required":["state"],"members":{"state":{},"error":{"shape":"S1m"}}},"S1m":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{}}},"S1q":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S1u"}}}},"S1u":{"type":"structure","members":{"attribute":{"type":"structure","members":{"defaultValue":{}}},"measurement":{"type":"structure","members":{}},"transform":{"type":"structure","required":["expression","variables"],"members":{"expression":{},"variables":{"shape":"S20"}}},"metric":{"type":"structure","required":["expression","variables","window"],"members":{"expression":{},"variables":{"shape":"S20"},"window":{"type":"structure","members":{"tumbling":{"type":"structure","required":["interval"],"members":{"interval":{}}}}}}}}},"S20":{"type":"list","member":{"type":"structure","required":["name","value"],"members":{"name":{},"value":{"type":"structure","required":["propertyId"],"members":{"propertyId":{},"hierarchyId":{}}}}}},"S2e":{"type":"structure","required":["state"],"members":{"state":{},"error":{"shape":"S1m"}}},"S2k":{"type":"structure","required":["greengrass"],"members":{"greengrass":{"type":"structure","required":["groupArn"],"members":{"groupArn":{}}}}},"S2p":{"type":"structure","required":["data","type"],"members":{"data":{"type":"blob"},"type":{}}},"S2v":{"type":"structure","required":["state"],"members":{"state":{},"error":{"type":"structure","members":{"code":{},"message":{}}}}},"S3l":{"type":"list","member":{"type":"structure","required":["id","name","dataType"],"members":{"id":{},"name":{},"alias":{},"notification":{"shape":"S3o"},"dataType":{},"dataTypeSpec":{},"unit":{}}}},"S3o":{"type":"structure","required":["topic","state"],"members":{"topic":{},"state":{}}},"S3r":{"type":"list","member":{"type":"structure","required":["name"],"members":{"id":{},"name":{}}}},"S3x":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"id":{},"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S1u"}}}},"S3z":{"type":"list","member":{"type":"structure","required":["name","childAssetModelId"],"members":{"id":{},"name":{},"childAssetModelId":{}}}},"S41":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S3x"}}}},"S45":{"type":"structure","required":["id","name","dataType"],"members":{"id":{},"name":{},"alias":{},"notification":{"shape":"S3o"},"dataType":{},"unit":{},"type":{"shape":"S1u"}}},"S4c":{"type":"structure","required":["state"],"members":{"state":{},"error":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{}}}}},"S4h":{"type":"list","member":{"type":"structure","required":["capabilityNamespace","capabilitySyncStatus"],"members":{"capabilityNamespace":{},"capabilitySyncStatus":{}}}},"S4q":{"type":"structure","required":["level"],"members":{"level":{}}},"S53":{"type":"list","member":{}}}}; - /***/ 2522: /***/ function (module) { - module.exports = { - pagination: { - GetOfferingStatus: { - input_token: "nextToken", - output_token: "nextToken", - result_key: ["current", "nextPeriod"], - }, - ListArtifacts: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "artifacts", - }, - ListDevicePools: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "devicePools", - }, - ListDevices: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "devices", - }, - ListJobs: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "jobs", - }, - ListOfferingTransactions: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "offeringTransactions", - }, - ListOfferings: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "offerings", - }, - ListProjects: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "projects", - }, - ListRuns: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "runs", - }, - ListSamples: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "samples", - }, - ListSuites: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "suites", - }, - ListTestGridProjects: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTestGridSessionActions: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTestGridSessionArtifacts: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTestGridSessions: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTests: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "tests", - }, - ListUniqueProblems: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "uniqueProblems", - }, - ListUploads: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "uploads", - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1879: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2528: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-01-06", - endpointPrefix: "cur", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Cost and Usage Report Service", - serviceId: "Cost and Usage Report Service", - signatureVersion: "v4", - signingName: "cur", - targetPrefix: "AWSOrigamiServiceGatewayService", - uid: "cur-2017-01-06", - }, - operations: { - DeleteReportDefinition: { - input: { type: "structure", members: { ReportName: {} } }, - output: { type: "structure", members: { ResponseMessage: {} } }, - }, - DescribeReportDefinitions: { - input: { - type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, - }, - output: { - type: "structure", - members: { - ReportDefinitions: { type: "list", member: { shape: "Sa" } }, - NextToken: {}, - }, - }, - }, - ModifyReportDefinition: { - input: { - type: "structure", - required: ["ReportName", "ReportDefinition"], - members: { ReportName: {}, ReportDefinition: { shape: "Sa" } }, - }, - output: { type: "structure", members: {} }, - }, - PutReportDefinition: { - input: { - type: "structure", - required: ["ReportDefinition"], - members: { ReportDefinition: { shape: "Sa" } }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - Sa: { - type: "structure", - required: [ - "ReportName", - "TimeUnit", - "Format", - "Compression", - "AdditionalSchemaElements", - "S3Bucket", - "S3Prefix", - "S3Region", - ], - members: { - ReportName: {}, - TimeUnit: {}, - Format: {}, - Compression: {}, - AdditionalSchemaElements: { type: "list", member: {} }, - S3Bucket: {}, - S3Prefix: {}, - S3Region: {}, - AdditionalArtifacts: { type: "list", member: {} }, - RefreshClosedReports: { type: "boolean" }, - ReportVersioning: {}, - }, - }, - }, - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['lexruntime'] = {}; +AWS.LexRuntime = Service.defineService('lexruntime', ['2016-11-28']); +Object.defineProperty(apiLoader.services['lexruntime'], '2016-11-28', { + get: function get() { + var model = __webpack_require__(1352); + model.paginators = __webpack_require__(2681).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 2533: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-07-09", - endpointPrefix: "apigateway", - protocol: "rest-json", - serviceFullName: "Amazon API Gateway", - serviceId: "API Gateway", - signatureVersion: "v4", - uid: "apigateway-2015-07-09", - }, - operations: { - CreateApiKey: { - http: { requestUri: "/apikeys", responseCode: 201 }, - input: { - type: "structure", - members: { - name: {}, - description: {}, - enabled: { type: "boolean" }, - generateDistinctId: { type: "boolean" }, - value: {}, - stageKeys: { - type: "list", - member: { - type: "structure", - members: { restApiId: {}, stageName: {} }, - }, - }, - customerId: {}, - tags: { shape: "S6" }, - }, - }, - output: { shape: "S7" }, - }, - CreateAuthorizer: { - http: { - requestUri: "/restapis/{restapi_id}/authorizers", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "name", "type"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - name: {}, - type: {}, - providerARNs: { shape: "Sc" }, - authType: {}, - authorizerUri: {}, - authorizerCredentials: {}, - identitySource: {}, - identityValidationExpression: {}, - authorizerResultTtlInSeconds: { type: "integer" }, - }, - }, - output: { shape: "Sf" }, - }, - CreateBasePathMapping: { - http: { - requestUri: "/domainnames/{domain_name}/basepathmappings", - responseCode: 201, - }, - input: { - type: "structure", - required: ["domainName", "restApiId"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: {}, - restApiId: {}, - stage: {}, - }, - }, - output: { shape: "Sh" }, - }, - CreateDeployment: { - http: { - requestUri: "/restapis/{restapi_id}/deployments", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: {}, - stageDescription: {}, - description: {}, - cacheClusterEnabled: { type: "boolean" }, - cacheClusterSize: {}, - variables: { shape: "S6" }, - canarySettings: { - type: "structure", - members: { - percentTraffic: { type: "double" }, - stageVariableOverrides: { shape: "S6" }, - useStageCache: { type: "boolean" }, - }, - }, - tracingEnabled: { type: "boolean" }, - }, - }, - output: { shape: "Sn" }, - }, - CreateDocumentationPart: { - http: { - requestUri: "/restapis/{restapi_id}/documentation/parts", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "location", "properties"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - location: { shape: "Ss" }, - properties: {}, - }, - }, - output: { shape: "Sv" }, - }, - CreateDocumentationVersion: { - http: { - requestUri: "/restapis/{restapi_id}/documentation/versions", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "documentationVersion"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: {}, - stageName: {}, - description: {}, - }, - }, - output: { shape: "Sx" }, - }, - CreateDomainName: { - http: { requestUri: "/domainnames", responseCode: 201 }, - input: { - type: "structure", - required: ["domainName"], - members: { - domainName: {}, - certificateName: {}, - certificateBody: {}, - certificatePrivateKey: {}, - certificateChain: {}, - certificateArn: {}, - regionalCertificateName: {}, - regionalCertificateArn: {}, - endpointConfiguration: { shape: "Sz" }, - tags: { shape: "S6" }, - securityPolicy: {}, - }, - }, - output: { shape: "S13" }, - }, - CreateModel: { - http: { - requestUri: "/restapis/{restapi_id}/models", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "name", "contentType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - name: {}, - description: {}, - schema: {}, - contentType: {}, - }, - }, - output: { shape: "S16" }, - }, - CreateRequestValidator: { - http: { - requestUri: "/restapis/{restapi_id}/requestvalidators", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - name: {}, - validateRequestBody: { type: "boolean" }, - validateRequestParameters: { type: "boolean" }, - }, - }, - output: { shape: "S18" }, - }, - CreateResource: { - http: { - requestUri: "/restapis/{restapi_id}/resources/{parent_id}", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "parentId", "pathPart"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - parentId: { location: "uri", locationName: "parent_id" }, - pathPart: {}, - }, - }, - output: { shape: "S1a" }, - }, - CreateRestApi: { - http: { requestUri: "/restapis", responseCode: 201 }, - input: { - type: "structure", - required: ["name"], - members: { - name: {}, - description: {}, - version: {}, - cloneFrom: {}, - binaryMediaTypes: { shape: "S9" }, - minimumCompressionSize: { type: "integer" }, - apiKeySource: {}, - endpointConfiguration: { shape: "Sz" }, - policy: {}, - tags: { shape: "S6" }, - }, - }, - output: { shape: "S1q" }, - }, - CreateStage: { - http: { - requestUri: "/restapis/{restapi_id}/stages", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "stageName", "deploymentId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: {}, - deploymentId: {}, - description: {}, - cacheClusterEnabled: { type: "boolean" }, - cacheClusterSize: {}, - variables: { shape: "S6" }, - documentationVersion: {}, - canarySettings: { shape: "S1s" }, - tracingEnabled: { type: "boolean" }, - tags: { shape: "S6" }, - }, - }, - output: { shape: "S1t" }, - }, - CreateUsagePlan: { - http: { requestUri: "/usageplans", responseCode: 201 }, - input: { - type: "structure", - required: ["name"], - members: { - name: {}, - description: {}, - apiStages: { shape: "S20" }, - throttle: { shape: "S23" }, - quota: { shape: "S24" }, - tags: { shape: "S6" }, - }, - }, - output: { shape: "S26" }, - }, - CreateUsagePlanKey: { - http: { - requestUri: "/usageplans/{usageplanId}/keys", - responseCode: 201, - }, - input: { - type: "structure", - required: ["usagePlanId", "keyId", "keyType"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: {}, - keyType: {}, - }, - }, - output: { shape: "S28" }, - }, - CreateVpcLink: { - http: { requestUri: "/vpclinks", responseCode: 202 }, - input: { - type: "structure", - required: ["name", "targetArns"], - members: { - name: {}, - description: {}, - targetArns: { shape: "S9" }, - tags: { shape: "S6" }, - }, - }, - output: { shape: "S2a" }, - }, - DeleteApiKey: { - http: { - method: "DELETE", - requestUri: "/apikeys/{api_Key}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["apiKey"], - members: { apiKey: { location: "uri", locationName: "api_Key" } }, - }, - }, - DeleteAuthorizer: { - http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "authorizerId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { - location: "uri", - locationName: "authorizer_id", - }, - }, - }, - }, - DeleteBasePathMapping: { - http: { - method: "DELETE", - requestUri: - "/domainnames/{domain_name}/basepathmappings/{base_path}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["domainName", "basePath"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: { location: "uri", locationName: "base_path" }, - }, - }, - }, - DeleteClientCertificate: { - http: { - method: "DELETE", - requestUri: "/clientcertificates/{clientcertificate_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["clientCertificateId"], - members: { - clientCertificateId: { - location: "uri", - locationName: "clientcertificate_id", - }, - }, - }, - }, - DeleteDeployment: { - http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "deploymentId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "uri", - locationName: "deployment_id", - }, - }, - }, - }, - DeleteDocumentationPart: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/documentation/parts/{part_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "documentationPartId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationPartId: { - location: "uri", - locationName: "part_id", - }, - }, - }, - }, - DeleteDocumentationVersion: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/documentation/versions/{doc_version}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "documentationVersion"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: { - location: "uri", - locationName: "doc_version", - }, - }, - }, - }, - DeleteDomainName: { - http: { - method: "DELETE", - requestUri: "/domainnames/{domain_name}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["domainName"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - }, - }, - }, - DeleteGatewayResponse: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "responseType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { - location: "uri", - locationName: "response_type", - }, - }, - }, - }, - DeleteIntegration: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - responseCode: 204, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - }, - }, - }, - DeleteIntegrationResponse: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - }, - }, - }, - DeleteMethod: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - }, - }, - }, - DeleteMethodResponse: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - }, - }, - }, - DeleteModel: { - http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/models/{model_name}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "modelName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, - }, - }, - }, - DeleteRequestValidator: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "requestValidatorId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - requestValidatorId: { - location: "uri", - locationName: "requestvalidator_id", - }, - }, - }, - }, - DeleteResource: { - http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/resources/{resource_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - }, - }, - }, - DeleteRestApi: { - http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - }, - }, - }, - DeleteStage: { - http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/stages/{stage_name}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "stageName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - }, - }, - }, - DeleteUsagePlan: { - http: { - method: "DELETE", - requestUri: "/usageplans/{usageplanId}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["usagePlanId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - }, - }, - }, - DeleteUsagePlanKey: { - http: { - method: "DELETE", - requestUri: "/usageplans/{usageplanId}/keys/{keyId}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["usagePlanId", "keyId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "uri", locationName: "keyId" }, - }, - }, - }, - DeleteVpcLink: { - http: { - method: "DELETE", - requestUri: "/vpclinks/{vpclink_id}", - responseCode: 202, - }, - input: { - type: "structure", - required: ["vpcLinkId"], - members: { - vpcLinkId: { location: "uri", locationName: "vpclink_id" }, - }, - }, - }, - FlushStageAuthorizersCache: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "stageName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - }, - }, - }, - FlushStageCache: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/cache/data", - responseCode: 202, - }, - input: { - type: "structure", - required: ["restApiId", "stageName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - }, - }, - }, - GenerateClientCertificate: { - http: { requestUri: "/clientcertificates", responseCode: 201 }, - input: { - type: "structure", - members: { description: {}, tags: { shape: "S6" } }, - }, - output: { shape: "S31" }, - }, - GetAccount: { - http: { method: "GET", requestUri: "/account" }, - input: { type: "structure", members: {} }, - output: { shape: "S33" }, - }, - GetApiKey: { - http: { method: "GET", requestUri: "/apikeys/{api_Key}" }, - input: { - type: "structure", - required: ["apiKey"], - members: { - apiKey: { location: "uri", locationName: "api_Key" }, - includeValue: { - location: "querystring", - locationName: "includeValue", - type: "boolean", - }, - }, - }, - output: { shape: "S7" }, - }, - GetApiKeys: { - http: { method: "GET", requestUri: "/apikeys" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - nameQuery: { location: "querystring", locationName: "name" }, - customerId: { - location: "querystring", - locationName: "customerId", - }, - includeValues: { - location: "querystring", - locationName: "includeValues", - type: "boolean", - }, - }, - }, - output: { - type: "structure", - members: { - warnings: { shape: "S9" }, - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S7" }, - }, - }, - }, - }, - GetAuthorizer: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", - }, - input: { - type: "structure", - required: ["restApiId", "authorizerId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { - location: "uri", - locationName: "authorizer_id", - }, - }, - }, - output: { shape: "Sf" }, - }, - GetAuthorizers: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/authorizers", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sf" }, - }, - }, - }, - }, - GetBasePathMapping: { - http: { - method: "GET", - requestUri: - "/domainnames/{domain_name}/basepathmappings/{base_path}", - }, - input: { - type: "structure", - required: ["domainName", "basePath"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: { location: "uri", locationName: "base_path" }, - }, - }, - output: { shape: "Sh" }, - }, - GetBasePathMappings: { - http: { - method: "GET", - requestUri: "/domainnames/{domain_name}/basepathmappings", - }, - input: { - type: "structure", - required: ["domainName"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sh" }, - }, - }, - }, - }, - GetClientCertificate: { - http: { - method: "GET", - requestUri: "/clientcertificates/{clientcertificate_id}", - }, - input: { - type: "structure", - required: ["clientCertificateId"], - members: { - clientCertificateId: { - location: "uri", - locationName: "clientcertificate_id", - }, - }, - }, - output: { shape: "S31" }, - }, - GetClientCertificates: { - http: { method: "GET", requestUri: "/clientcertificates" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S31" }, - }, - }, - }, - }, - GetDeployment: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", - }, - input: { - type: "structure", - required: ["restApiId", "deploymentId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "uri", - locationName: "deployment_id", - }, - embed: { - shape: "S9", - location: "querystring", - locationName: "embed", - }, - }, - }, - output: { shape: "Sn" }, - }, - GetDeployments: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/deployments", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sn" }, - }, - }, - }, - }, - GetDocumentationPart: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/documentation/parts/{part_id}", - }, - input: { - type: "structure", - required: ["restApiId", "documentationPartId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationPartId: { - location: "uri", - locationName: "part_id", - }, - }, - }, - output: { shape: "Sv" }, - }, - GetDocumentationParts: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/documentation/parts", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - type: { location: "querystring", locationName: "type" }, - nameQuery: { location: "querystring", locationName: "name" }, - path: { location: "querystring", locationName: "path" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - locationStatus: { - location: "querystring", - locationName: "locationStatus", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sv" }, - }, - }, - }, - }, - GetDocumentationVersion: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/documentation/versions/{doc_version}", - }, - input: { - type: "structure", - required: ["restApiId", "documentationVersion"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: { - location: "uri", - locationName: "doc_version", - }, - }, - }, - output: { shape: "Sx" }, - }, - GetDocumentationVersions: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/documentation/versions", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sx" }, - }, - }, - }, - }, - GetDomainName: { - http: { method: "GET", requestUri: "/domainnames/{domain_name}" }, - input: { - type: "structure", - required: ["domainName"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - }, - }, - output: { shape: "S13" }, - }, - GetDomainNames: { - http: { method: "GET", requestUri: "/domainnames" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S13" }, - }, - }, - }, - }, - GetExport: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["restApiId", "stageName", "exportType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - exportType: { location: "uri", locationName: "export_type" }, - parameters: { shape: "S6", location: "querystring" }, - accepts: { location: "header", locationName: "Accept" }, - }, - }, - output: { - type: "structure", - members: { - contentType: { - location: "header", - locationName: "Content-Type", - }, - contentDisposition: { - location: "header", - locationName: "Content-Disposition", - }, - body: { type: "blob" }, - }, - payload: "body", - }, - }, - GetGatewayResponse: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", - }, - input: { - type: "structure", - required: ["restApiId", "responseType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { - location: "uri", - locationName: "response_type", - }, - }, - }, - output: { shape: "S45" }, - }, - GetGatewayResponses: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/gatewayresponses", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S45" }, - }, - }, - }, - }, - GetIntegration: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - }, - }, - output: { shape: "S1h" }, - }, - GetIntegrationResponse: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - }, - }, - output: { shape: "S1n" }, - }, - GetMethod: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - }, - }, - output: { shape: "S1c" }, - }, - GetMethodResponse: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - }, - }, - output: { shape: "S1f" }, - }, - GetModel: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/models/{model_name}", - }, - input: { - type: "structure", - required: ["restApiId", "modelName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, - flatten: { - location: "querystring", - locationName: "flatten", - type: "boolean", - }, - }, - }, - output: { shape: "S16" }, - }, - GetModelTemplate: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/models/{model_name}/default_template", - }, - input: { - type: "structure", - required: ["restApiId", "modelName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, - }, - }, - output: { type: "structure", members: { value: {} } }, - }, - GetModels: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/models", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S16" }, - }, - }, - }, - }, - GetRequestValidator: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", - }, - input: { - type: "structure", - required: ["restApiId", "requestValidatorId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - requestValidatorId: { - location: "uri", - locationName: "requestvalidator_id", - }, - }, - }, - output: { shape: "S18" }, - }, - GetRequestValidators: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/requestvalidators", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S18" }, - }, - }, - }, - }, - GetResource: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/resources/{resource_id}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - embed: { - shape: "S9", - location: "querystring", - locationName: "embed", - }, - }, - }, - output: { shape: "S1a" }, - }, - GetResources: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/resources", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - embed: { - shape: "S9", - location: "querystring", - locationName: "embed", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S1a" }, - }, - }, - }, - }, - GetRestApi: { - http: { method: "GET", requestUri: "/restapis/{restapi_id}" }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - }, - }, - output: { shape: "S1q" }, - }, - GetRestApis: { - http: { method: "GET", requestUri: "/restapis" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S1q" }, - }, - }, - }, - }, - GetSdk: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["restApiId", "stageName", "sdkType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - sdkType: { location: "uri", locationName: "sdk_type" }, - parameters: { shape: "S6", location: "querystring" }, - }, - }, - output: { - type: "structure", - members: { - contentType: { - location: "header", - locationName: "Content-Type", - }, - contentDisposition: { - location: "header", - locationName: "Content-Disposition", - }, - body: { type: "blob" }, - }, - payload: "body", - }, - }, - GetSdkType: { - http: { method: "GET", requestUri: "/sdktypes/{sdktype_id}" }, - input: { - type: "structure", - required: ["id"], - members: { id: { location: "uri", locationName: "sdktype_id" } }, - }, - output: { shape: "S4y" }, - }, - GetSdkTypes: { - http: { method: "GET", requestUri: "/sdktypes" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S4y" }, - }, - }, - }, - }, - GetStage: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/stages/{stage_name}", - }, - input: { - type: "structure", - required: ["restApiId", "stageName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - }, - }, - output: { shape: "S1t" }, - }, - GetStages: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/stages", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "querystring", - locationName: "deploymentId", - }, - }, - }, - output: { - type: "structure", - members: { item: { type: "list", member: { shape: "S1t" } } }, - }, - }, - GetTags: { - http: { method: "GET", requestUri: "/tags/{resource_arn}" }, - input: { - type: "structure", - required: ["resourceArn"], - members: { - resourceArn: { location: "uri", locationName: "resource_arn" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { type: "structure", members: { tags: { shape: "S6" } } }, - }, - GetUsage: { - http: { - method: "GET", - requestUri: "/usageplans/{usageplanId}/usage", - }, - input: { - type: "structure", - required: ["usagePlanId", "startDate", "endDate"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "querystring", locationName: "keyId" }, - startDate: { - location: "querystring", - locationName: "startDate", - }, - endDate: { location: "querystring", locationName: "endDate" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { shape: "S5b" }, - }, - GetUsagePlan: { - http: { method: "GET", requestUri: "/usageplans/{usageplanId}" }, - input: { - type: "structure", - required: ["usagePlanId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - }, - }, - output: { shape: "S26" }, - }, - GetUsagePlanKey: { - http: { - method: "GET", - requestUri: "/usageplans/{usageplanId}/keys/{keyId}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["usagePlanId", "keyId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "uri", locationName: "keyId" }, - }, - }, - output: { shape: "S28" }, - }, - GetUsagePlanKeys: { - http: { - method: "GET", - requestUri: "/usageplans/{usageplanId}/keys", - }, - input: { - type: "structure", - required: ["usagePlanId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - nameQuery: { location: "querystring", locationName: "name" }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S28" }, - }, - }, - }, - }, - GetUsagePlans: { - http: { method: "GET", requestUri: "/usageplans" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - keyId: { location: "querystring", locationName: "keyId" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S26" }, - }, - }, - }, - }, - GetVpcLink: { - http: { method: "GET", requestUri: "/vpclinks/{vpclink_id}" }, - input: { - type: "structure", - required: ["vpcLinkId"], - members: { - vpcLinkId: { location: "uri", locationName: "vpclink_id" }, - }, - }, - output: { shape: "S2a" }, - }, - GetVpcLinks: { - http: { method: "GET", requestUri: "/vpclinks" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S2a" }, - }, - }, - }, - }, - ImportApiKeys: { - http: { requestUri: "/apikeys?mode=import", responseCode: 201 }, - input: { - type: "structure", - required: ["body", "format"], - members: { - body: { type: "blob" }, - format: { location: "querystring", locationName: "format" }, - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", - }, - }, - payload: "body", - }, - output: { - type: "structure", - members: { ids: { shape: "S9" }, warnings: { shape: "S9" } }, - }, - }, - ImportDocumentationParts: { - http: { - method: "PUT", - requestUri: "/restapis/{restapi_id}/documentation/parts", - }, - input: { - type: "structure", - required: ["restApiId", "body"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - mode: { location: "querystring", locationName: "mode" }, - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", - }, - body: { type: "blob" }, - }, - payload: "body", - }, - output: { - type: "structure", - members: { ids: { shape: "S9" }, warnings: { shape: "S9" } }, - }, - }, - ImportRestApi: { - http: { requestUri: "/restapis?mode=import", responseCode: 201 }, - input: { - type: "structure", - required: ["body"], - members: { - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", - }, - parameters: { shape: "S6", location: "querystring" }, - body: { type: "blob" }, - }, - payload: "body", - }, - output: { shape: "S1q" }, - }, - PutGatewayResponse: { - http: { - method: "PUT", - requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "responseType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { - location: "uri", - locationName: "response_type", - }, - statusCode: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, - }, - }, - output: { shape: "S45" }, - }, - PutIntegration: { - http: { - method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "type"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - type: {}, - integrationHttpMethod: { locationName: "httpMethod" }, - uri: {}, - connectionType: {}, - connectionId: {}, - credentials: {}, - requestParameters: { shape: "S6" }, - requestTemplates: { shape: "S6" }, - passthroughBehavior: {}, - cacheNamespace: {}, - cacheKeyParameters: { shape: "S9" }, - contentHandling: {}, - timeoutInMillis: { type: "integer" }, - }, - }, - output: { shape: "S1h" }, - }, - PutIntegrationResponse: { - http: { - method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - selectionPattern: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, - contentHandling: {}, - }, - }, - output: { shape: "S1n" }, - }, - PutMethod: { - http: { - method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - responseCode: 201, - }, - input: { - type: "structure", - required: [ - "restApiId", - "resourceId", - "httpMethod", - "authorizationType", - ], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - authorizationType: {}, - authorizerId: {}, - apiKeyRequired: { type: "boolean" }, - operationName: {}, - requestParameters: { shape: "S1d" }, - requestModels: { shape: "S6" }, - requestValidatorId: {}, - authorizationScopes: { shape: "S9" }, - }, - }, - output: { shape: "S1c" }, - }, - PutMethodResponse: { - http: { - method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - responseParameters: { shape: "S1d" }, - responseModels: { shape: "S6" }, - }, - }, - output: { shape: "S1f" }, - }, - PutRestApi: { - http: { method: "PUT", requestUri: "/restapis/{restapi_id}" }, - input: { - type: "structure", - required: ["restApiId", "body"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - mode: { location: "querystring", locationName: "mode" }, - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", - }, - parameters: { shape: "S6", location: "querystring" }, - body: { type: "blob" }, - }, - payload: "body", - }, - output: { shape: "S1q" }, - }, - TagResource: { - http: { - method: "PUT", - requestUri: "/tags/{resource_arn}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resource_arn" }, - tags: { shape: "S6" }, - }, - }, - }, - TestInvokeAuthorizer: { - http: { - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", - }, - input: { - type: "structure", - required: ["restApiId", "authorizerId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { - location: "uri", - locationName: "authorizer_id", - }, - headers: { shape: "S6" }, - multiValueHeaders: { shape: "S67" }, - pathWithQueryString: {}, - body: {}, - stageVariables: { shape: "S6" }, - additionalContext: { shape: "S6" }, - }, - }, - output: { - type: "structure", - members: { - clientStatus: { type: "integer" }, - log: {}, - latency: { type: "long" }, - principalId: {}, - policy: {}, - authorization: { shape: "S67" }, - claims: { shape: "S6" }, - }, - }, - }, - TestInvokeMethod: { - http: { - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - pathWithQueryString: {}, - body: {}, - headers: { shape: "S6" }, - multiValueHeaders: { shape: "S67" }, - clientCertificateId: {}, - stageVariables: { shape: "S6" }, - }, - }, - output: { - type: "structure", - members: { - status: { type: "integer" }, - body: {}, - headers: { shape: "S6" }, - multiValueHeaders: { shape: "S67" }, - log: {}, - latency: { type: "long" }, - }, - }, - }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource_arn}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["resourceArn", "tagKeys"], - members: { - resourceArn: { location: "uri", locationName: "resource_arn" }, - tagKeys: { - shape: "S9", - location: "querystring", - locationName: "tagKeys", - }, - }, - }, - }, - UpdateAccount: { - http: { method: "PATCH", requestUri: "/account" }, - input: { - type: "structure", - members: { patchOperations: { shape: "S6d" } }, - }, - output: { shape: "S33" }, - }, - UpdateApiKey: { - http: { method: "PATCH", requestUri: "/apikeys/{api_Key}" }, - input: { - type: "structure", - required: ["apiKey"], - members: { - apiKey: { location: "uri", locationName: "api_Key" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S7" }, - }, - UpdateAuthorizer: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", - }, - input: { - type: "structure", - required: ["restApiId", "authorizerId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { - location: "uri", - locationName: "authorizer_id", - }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "Sf" }, - }, - UpdateBasePathMapping: { - http: { - method: "PATCH", - requestUri: - "/domainnames/{domain_name}/basepathmappings/{base_path}", - }, - input: { - type: "structure", - required: ["domainName", "basePath"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: { location: "uri", locationName: "base_path" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "Sh" }, - }, - UpdateClientCertificate: { - http: { - method: "PATCH", - requestUri: "/clientcertificates/{clientcertificate_id}", - }, - input: { - type: "structure", - required: ["clientCertificateId"], - members: { - clientCertificateId: { - location: "uri", - locationName: "clientcertificate_id", - }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S31" }, - }, - UpdateDeployment: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", - }, - input: { - type: "structure", - required: ["restApiId", "deploymentId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "uri", - locationName: "deployment_id", - }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "Sn" }, - }, - UpdateDocumentationPart: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/documentation/parts/{part_id}", - }, - input: { - type: "structure", - required: ["restApiId", "documentationPartId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationPartId: { - location: "uri", - locationName: "part_id", - }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "Sv" }, - }, - UpdateDocumentationVersion: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/documentation/versions/{doc_version}", - }, - input: { - type: "structure", - required: ["restApiId", "documentationVersion"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: { - location: "uri", - locationName: "doc_version", - }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "Sx" }, - }, - UpdateDomainName: { - http: { method: "PATCH", requestUri: "/domainnames/{domain_name}" }, - input: { - type: "structure", - required: ["domainName"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S13" }, - }, - UpdateGatewayResponse: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", - }, - input: { - type: "structure", - required: ["restApiId", "responseType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { - location: "uri", - locationName: "response_type", - }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S45" }, - }, - UpdateIntegration: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S1h" }, - }, - UpdateIntegrationResponse: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S1n" }, - }, - UpdateMethod: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S1c" }, - }, - UpdateMethodResponse: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - responseCode: 201, - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S1f" }, - }, - UpdateModel: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/models/{model_name}", - }, - input: { - type: "structure", - required: ["restApiId", "modelName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S16" }, - }, - UpdateRequestValidator: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", - }, - input: { - type: "structure", - required: ["restApiId", "requestValidatorId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - requestValidatorId: { - location: "uri", - locationName: "requestvalidator_id", - }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S18" }, - }, - UpdateResource: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/resources/{resource_id}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S1a" }, - }, - UpdateRestApi: { - http: { method: "PATCH", requestUri: "/restapis/{restapi_id}" }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S1q" }, - }, - UpdateStage: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/stages/{stage_name}", - }, - input: { - type: "structure", - required: ["restApiId", "stageName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S1t" }, - }, - UpdateUsage: { - http: { - method: "PATCH", - requestUri: "/usageplans/{usageplanId}/keys/{keyId}/usage", - }, - input: { - type: "structure", - required: ["usagePlanId", "keyId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "uri", locationName: "keyId" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S5b" }, - }, - UpdateUsagePlan: { - http: { method: "PATCH", requestUri: "/usageplans/{usageplanId}" }, - input: { - type: "structure", - required: ["usagePlanId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S26" }, - }, - UpdateVpcLink: { - http: { method: "PATCH", requestUri: "/vpclinks/{vpclink_id}" }, - input: { - type: "structure", - required: ["vpcLinkId"], - members: { - vpcLinkId: { location: "uri", locationName: "vpclink_id" }, - patchOperations: { shape: "S6d" }, - }, - }, - output: { shape: "S2a" }, - }, - }, - shapes: { - S6: { type: "map", key: {}, value: {} }, - S7: { - type: "structure", - members: { - id: {}, - value: {}, - name: {}, - customerId: {}, - description: {}, - enabled: { type: "boolean" }, - createdDate: { type: "timestamp" }, - lastUpdatedDate: { type: "timestamp" }, - stageKeys: { shape: "S9" }, - tags: { shape: "S6" }, - }, - }, - S9: { type: "list", member: {} }, - Sc: { type: "list", member: {} }, - Sf: { - type: "structure", - members: { - id: {}, - name: {}, - type: {}, - providerARNs: { shape: "Sc" }, - authType: {}, - authorizerUri: {}, - authorizerCredentials: {}, - identitySource: {}, - identityValidationExpression: {}, - authorizerResultTtlInSeconds: { type: "integer" }, - }, - }, - Sh: { - type: "structure", - members: { basePath: {}, restApiId: {}, stage: {} }, - }, - Sn: { - type: "structure", - members: { - id: {}, - description: {}, - createdDate: { type: "timestamp" }, - apiSummary: { - type: "map", - key: {}, - value: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - authorizationType: {}, - apiKeyRequired: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - Ss: { - type: "structure", - required: ["type"], - members: { - type: {}, - path: {}, - method: {}, - statusCode: {}, - name: {}, - }, - }, - Sv: { - type: "structure", - members: { id: {}, location: { shape: "Ss" }, properties: {} }, - }, - Sx: { - type: "structure", - members: { - version: {}, - createdDate: { type: "timestamp" }, - description: {}, - }, - }, - Sz: { - type: "structure", - members: { - types: { type: "list", member: {} }, - vpcEndpointIds: { shape: "S9" }, - }, - }, - S13: { - type: "structure", - members: { - domainName: {}, - certificateName: {}, - certificateArn: {}, - certificateUploadDate: { type: "timestamp" }, - regionalDomainName: {}, - regionalHostedZoneId: {}, - regionalCertificateName: {}, - regionalCertificateArn: {}, - distributionDomainName: {}, - distributionHostedZoneId: {}, - endpointConfiguration: { shape: "Sz" }, - domainNameStatus: {}, - domainNameStatusMessage: {}, - securityPolicy: {}, - tags: { shape: "S6" }, - }, - }, - S16: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - schema: {}, - contentType: {}, - }, - }, - S18: { - type: "structure", - members: { - id: {}, - name: {}, - validateRequestBody: { type: "boolean" }, - validateRequestParameters: { type: "boolean" }, - }, - }, - S1a: { - type: "structure", - members: { - id: {}, - parentId: {}, - pathPart: {}, - path: {}, - resourceMethods: { - type: "map", - key: {}, - value: { shape: "S1c" }, - }, - }, - }, - S1c: { - type: "structure", - members: { - httpMethod: {}, - authorizationType: {}, - authorizerId: {}, - apiKeyRequired: { type: "boolean" }, - requestValidatorId: {}, - operationName: {}, - requestParameters: { shape: "S1d" }, - requestModels: { shape: "S6" }, - methodResponses: { - type: "map", - key: {}, - value: { shape: "S1f" }, - }, - methodIntegration: { shape: "S1h" }, - authorizationScopes: { shape: "S9" }, - }, - }, - S1d: { type: "map", key: {}, value: { type: "boolean" } }, - S1f: { - type: "structure", - members: { - statusCode: {}, - responseParameters: { shape: "S1d" }, - responseModels: { shape: "S6" }, - }, - }, - S1h: { - type: "structure", - members: { - type: {}, - httpMethod: {}, - uri: {}, - connectionType: {}, - connectionId: {}, - credentials: {}, - requestParameters: { shape: "S6" }, - requestTemplates: { shape: "S6" }, - passthroughBehavior: {}, - contentHandling: {}, - timeoutInMillis: { type: "integer" }, - cacheNamespace: {}, - cacheKeyParameters: { shape: "S9" }, - integrationResponses: { - type: "map", - key: {}, - value: { shape: "S1n" }, - }, - }, - }, - S1n: { - type: "structure", - members: { - statusCode: {}, - selectionPattern: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, - contentHandling: {}, - }, - }, - S1q: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - createdDate: { type: "timestamp" }, - version: {}, - warnings: { shape: "S9" }, - binaryMediaTypes: { shape: "S9" }, - minimumCompressionSize: { type: "integer" }, - apiKeySource: {}, - endpointConfiguration: { shape: "Sz" }, - policy: {}, - tags: { shape: "S6" }, - }, - }, - S1s: { - type: "structure", - members: { - percentTraffic: { type: "double" }, - deploymentId: {}, - stageVariableOverrides: { shape: "S6" }, - useStageCache: { type: "boolean" }, - }, - }, - S1t: { - type: "structure", - members: { - deploymentId: {}, - clientCertificateId: {}, - stageName: {}, - description: {}, - cacheClusterEnabled: { type: "boolean" }, - cacheClusterSize: {}, - cacheClusterStatus: {}, - methodSettings: { - type: "map", - key: {}, - value: { - 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: {}, - }, - }, - }, - variables: { shape: "S6" }, - documentationVersion: {}, - accessLogSettings: { - type: "structure", - members: { format: {}, destinationArn: {} }, - }, - canarySettings: { shape: "S1s" }, - tracingEnabled: { type: "boolean" }, - webAclArn: {}, - tags: { shape: "S6" }, - createdDate: { type: "timestamp" }, - lastUpdatedDate: { type: "timestamp" }, - }, - }, - S20: { - type: "list", - member: { - type: "structure", - members: { - apiId: {}, - stage: {}, - throttle: { type: "map", key: {}, value: { shape: "S23" } }, - }, - }, - }, - S23: { - type: "structure", - members: { - burstLimit: { type: "integer" }, - rateLimit: { type: "double" }, - }, - }, - S24: { - type: "structure", - members: { - limit: { type: "integer" }, - offset: { type: "integer" }, - period: {}, - }, - }, - S26: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - apiStages: { shape: "S20" }, - throttle: { shape: "S23" }, - quota: { shape: "S24" }, - productCode: {}, - tags: { shape: "S6" }, - }, - }, - S28: { - type: "structure", - members: { id: {}, type: {}, value: {}, name: {} }, - }, - S2a: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - targetArns: { shape: "S9" }, - status: {}, - statusMessage: {}, - tags: { shape: "S6" }, - }, - }, - S31: { - type: "structure", - members: { - clientCertificateId: {}, - description: {}, - pemEncodedCertificate: {}, - createdDate: { type: "timestamp" }, - expirationDate: { type: "timestamp" }, - tags: { shape: "S6" }, - }, - }, - S33: { - type: "structure", - members: { - cloudwatchRoleArn: {}, - throttleSettings: { shape: "S23" }, - features: { shape: "S9" }, - apiKeyVersion: {}, - }, - }, - S45: { - type: "structure", - members: { - responseType: {}, - statusCode: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, - defaultResponse: { type: "boolean" }, - }, - }, - S4y: { - type: "structure", - members: { - id: {}, - friendlyName: {}, - description: {}, - configurationProperties: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - friendlyName: {}, - description: {}, - required: { type: "boolean" }, - defaultValue: {}, - }, - }, - }, - }, - }, - S5b: { - type: "structure", - members: { - usagePlanId: {}, - startDate: {}, - endDate: {}, - position: {}, - items: { - locationName: "values", - type: "map", - key: {}, - value: { - type: "list", - member: { type: "list", member: { type: "long" } }, - }, - }, - }, - }, - S67: { type: "map", key: {}, value: { shape: "S9" } }, - S6d: { - type: "list", - member: { - type: "structure", - members: { op: {}, path: {}, value: {}, from: {} }, - }, - }, - }, - }; +module.exports = AWS.LexRuntime; - /***/ - }, - /***/ 2541: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - module.exports = { - ACM: __webpack_require__(9427), - APIGateway: __webpack_require__(7126), - ApplicationAutoScaling: __webpack_require__(170), - AppStream: __webpack_require__(7624), - AutoScaling: __webpack_require__(9595), - Batch: __webpack_require__(6605), - Budgets: __webpack_require__(1836), - CloudDirectory: __webpack_require__(469), - CloudFormation: __webpack_require__(8021), - CloudFront: __webpack_require__(4779), - CloudHSM: __webpack_require__(5701), - CloudSearch: __webpack_require__(9890), - CloudSearchDomain: __webpack_require__(8395), - CloudTrail: __webpack_require__(768), - CloudWatch: __webpack_require__(5967), - CloudWatchEvents: __webpack_require__(5114), - CloudWatchLogs: __webpack_require__(4227), - CodeBuild: __webpack_require__(665), - CodeCommit: __webpack_require__(4086), - CodeDeploy: __webpack_require__(2317), - CodePipeline: __webpack_require__(8773), - CognitoIdentity: __webpack_require__(2214), - CognitoIdentityServiceProvider: __webpack_require__(9291), - CognitoSync: __webpack_require__(1186), - ConfigService: __webpack_require__(6458), - CUR: __webpack_require__(4671), - DataPipeline: __webpack_require__(5109), - DeviceFarm: __webpack_require__(1372), - DirectConnect: __webpack_require__(8331), - DirectoryService: __webpack_require__(7194), - Discovery: __webpack_require__(4341), - DMS: __webpack_require__(6261), - DynamoDB: __webpack_require__(7502), - DynamoDBStreams: __webpack_require__(9822), - EC2: __webpack_require__(3877), - ECR: __webpack_require__(5773), - ECS: __webpack_require__(6211), - EFS: __webpack_require__(6887), - ElastiCache: __webpack_require__(9236), - ElasticBeanstalk: __webpack_require__(9452), - ELB: __webpack_require__(600), - ELBv2: __webpack_require__(1420), - EMR: __webpack_require__(1928), - ES: __webpack_require__(1920), - ElasticTranscoder: __webpack_require__(8930), - Firehose: __webpack_require__(9405), - GameLift: __webpack_require__(8307), - Glacier: __webpack_require__(9096), - Health: __webpack_require__(7715), - IAM: __webpack_require__(7845), - ImportExport: __webpack_require__(6384), - Inspector: __webpack_require__(4343), - Iot: __webpack_require__(6255), - IotData: __webpack_require__(1291), - Kinesis: __webpack_require__(7221), - KinesisAnalytics: __webpack_require__(3506), - KMS: __webpack_require__(9374), - Lambda: __webpack_require__(6382), - LexRuntime: __webpack_require__(1879), - Lightsail: __webpack_require__(7350), - MachineLearning: __webpack_require__(5889), - MarketplaceCommerceAnalytics: __webpack_require__(8458), - MarketplaceMetering: __webpack_require__(9225), - MTurk: __webpack_require__(6427), - MobileAnalytics: __webpack_require__(6117), - OpsWorks: __webpack_require__(5542), - OpsWorksCM: __webpack_require__(6738), - Organizations: __webpack_require__(7106), - Pinpoint: __webpack_require__(5381), - Polly: __webpack_require__(4211), - RDS: __webpack_require__(1071), - Redshift: __webpack_require__(5609), - Rekognition: __webpack_require__(8991), - ResourceGroupsTaggingAPI: __webpack_require__(6205), - Route53: __webpack_require__(5707), - Route53Domains: __webpack_require__(3206), - S3: __webpack_require__(1777), - S3Control: __webpack_require__(2617), - ServiceCatalog: __webpack_require__(2673), - SES: __webpack_require__(5311), - Shield: __webpack_require__(8057), - SimpleDB: __webpack_require__(7645), - SMS: __webpack_require__(5103), - Snowball: __webpack_require__(2259), - SNS: __webpack_require__(6735), - SQS: __webpack_require__(8779), - SSM: __webpack_require__(2883), - StorageGateway: __webpack_require__(910), - StepFunctions: __webpack_require__(5835), - STS: __webpack_require__(1733), - Support: __webpack_require__(3042), - SWF: __webpack_require__(8866), - XRay: __webpack_require__(1015), - WAF: __webpack_require__(4258), - WAFRegional: __webpack_require__(2709), - WorkDocs: __webpack_require__(4469), - WorkSpaces: __webpack_require__(4400), - CodeStar: __webpack_require__(7205), - LexModelBuildingService: __webpack_require__(4888), - MarketplaceEntitlementService: __webpack_require__(8265), - Athena: __webpack_require__(7207), - Greengrass: __webpack_require__(4290), - DAX: __webpack_require__(7258), - MigrationHub: __webpack_require__(2106), - CloudHSMV2: __webpack_require__(6900), - Glue: __webpack_require__(1711), - Mobile: __webpack_require__(758), - Pricing: __webpack_require__(3989), - CostExplorer: __webpack_require__(332), - MediaConvert: __webpack_require__(9568), - MediaLive: __webpack_require__(99), - MediaPackage: __webpack_require__(6515), - MediaStore: __webpack_require__(1401), - MediaStoreData: __webpack_require__(2271), - AppSync: __webpack_require__(8847), - GuardDuty: __webpack_require__(5939), - MQ: __webpack_require__(3346), - Comprehend: __webpack_require__(9627), - IoTJobsDataPlane: __webpack_require__(6394), - KinesisVideoArchivedMedia: __webpack_require__(6454), - KinesisVideoMedia: __webpack_require__(4487), - KinesisVideo: __webpack_require__(3707), - SageMakerRuntime: __webpack_require__(2747), - SageMaker: __webpack_require__(7151), - Translate: __webpack_require__(1602), - ResourceGroups: __webpack_require__(215), - AlexaForBusiness: __webpack_require__(8679), - Cloud9: __webpack_require__(877), - ServerlessApplicationRepository: __webpack_require__(1592), - ServiceDiscovery: __webpack_require__(6688), - WorkMail: __webpack_require__(7404), - AutoScalingPlans: __webpack_require__(3099), - TranscribeService: __webpack_require__(8577), - Connect: __webpack_require__(697), - ACMPCA: __webpack_require__(2386), - FMS: __webpack_require__(7923), - SecretsManager: __webpack_require__(585), - IoTAnalytics: __webpack_require__(7010), - IoT1ClickDevicesService: __webpack_require__(8859), - IoT1ClickProjects: __webpack_require__(9523), - PI: __webpack_require__(1032), - Neptune: __webpack_require__(8660), - MediaTailor: __webpack_require__(466), - EKS: __webpack_require__(1429), - Macie: __webpack_require__(7899), - DLM: __webpack_require__(160), - Signer: __webpack_require__(4795), - Chime: __webpack_require__(7409), - PinpointEmail: __webpack_require__(8843), - RAM: __webpack_require__(8421), - Route53Resolver: __webpack_require__(4915), - PinpointSMSVoice: __webpack_require__(1187), - QuickSight: __webpack_require__(9475), - RDSDataService: __webpack_require__(408), - Amplify: __webpack_require__(8375), - DataSync: __webpack_require__(9980), - RoboMaker: __webpack_require__(4802), - Transfer: __webpack_require__(7830), - GlobalAccelerator: __webpack_require__(7443), - ComprehendMedical: __webpack_require__(9457), - KinesisAnalyticsV2: __webpack_require__(7043), - MediaConnect: __webpack_require__(9526), - FSx: __webpack_require__(8937), - SecurityHub: __webpack_require__(1353), - AppMesh: __webpack_require__(7555), - LicenseManager: __webpack_require__(3110), - Kafka: __webpack_require__(1275), - ApiGatewayManagementApi: __webpack_require__(5319), - ApiGatewayV2: __webpack_require__(2020), - DocDB: __webpack_require__(7223), - Backup: __webpack_require__(4604), - WorkLink: __webpack_require__(1250), - Textract: __webpack_require__(3223), - ManagedBlockchain: __webpack_require__(3220), - MediaPackageVod: __webpack_require__(2339), - GroundStation: __webpack_require__(9976), - IoTThingsGraph: __webpack_require__(2327), - IoTEvents: __webpack_require__(3222), - IoTEventsData: __webpack_require__(7581), - Personalize: __webpack_require__(8478), - PersonalizeEvents: __webpack_require__(8280), - PersonalizeRuntime: __webpack_require__(1349), - ApplicationInsights: __webpack_require__(9512), - ServiceQuotas: __webpack_require__(6723), - EC2InstanceConnect: __webpack_require__(5107), - EventBridge: __webpack_require__(4105), - LakeFormation: __webpack_require__(7026), - ForecastService: __webpack_require__(1798), - ForecastQueryService: __webpack_require__(4068), - QLDB: __webpack_require__(9086), - QLDBSession: __webpack_require__(2447), - WorkMailMessageFlow: __webpack_require__(2145), - CodeStarNotifications: __webpack_require__(3853), - SavingsPlans: __webpack_require__(686), - SSO: __webpack_require__(4612), - SSOOIDC: __webpack_require__(1786), - MarketplaceCatalog: __webpack_require__(6773), - DataExchange: __webpack_require__(8433), - SESV2: __webpack_require__(837), - MigrationHubConfig: __webpack_require__(5924), - ConnectParticipant: __webpack_require__(4122), - AppConfig: __webpack_require__(5821), - IoTSecureTunneling: __webpack_require__(6992), - WAFV2: __webpack_require__(42), - ElasticInference: __webpack_require__(5252), - Imagebuilder: __webpack_require__(6244), - Schemas: __webpack_require__(3694), - AccessAnalyzer: __webpack_require__(2467), - CodeGuruReviewer: __webpack_require__(1917), - CodeGuruProfiler: __webpack_require__(623), - ComputeOptimizer: __webpack_require__(1530), - FraudDetector: __webpack_require__(9196), - Kendra: __webpack_require__(6906), - NetworkManager: __webpack_require__(4128), - Outposts: __webpack_require__(8119), - AugmentedAIRuntime: __webpack_require__(7508), - EBS: __webpack_require__(7646), - KinesisVideoSignalingChannels: __webpack_require__(2641), - Detective: __webpack_require__(1068), - CodeStarconnections: __webpack_require__(1096), - }; +/***/ }), - /***/ - }, +/***/ 1881: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 2572: /***/ function (module) { - module.exports = { - rules: { - "*/*": { endpoint: "{service}.{region}.amazonaws.com" }, - "cn-*/*": { endpoint: "{service}.{region}.amazonaws.com.cn" }, - "us-iso-*/*": { endpoint: "{service}.{region}.c2s.ic.gov" }, - "us-isob-*/*": { endpoint: "{service}.{region}.sc2s.sgov.gov" }, - "*/budgets": "globalSSL", - "*/cloudfront": "globalSSL", - "*/iam": "globalSSL", - "*/sts": "globalSSL", - "*/importexport": { - endpoint: "{service}.amazonaws.com", - signatureVersion: "v2", - globalEndpoint: true, - }, - "*/route53": { - endpoint: "https://{service}.amazonaws.com", - signatureVersion: "v3https", - globalEndpoint: true, - }, - "*/waf": "globalSSL", - "us-gov-*/iam": "globalGovCloud", - "us-gov-*/sts": { endpoint: "{service}.{region}.amazonaws.com" }, - "us-gov-west-1/s3": "s3signature", - "us-west-1/s3": "s3signature", - "us-west-2/s3": "s3signature", - "eu-west-1/s3": "s3signature", - "ap-southeast-1/s3": "s3signature", - "ap-southeast-2/s3": "s3signature", - "ap-northeast-1/s3": "s3signature", - "sa-east-1/s3": "s3signature", - "us-east-1/s3": { - endpoint: "{service}.amazonaws.com", - signatureVersion: "s3", - }, - "us-east-1/sdb": { - endpoint: "{service}.amazonaws.com", - signatureVersion: "v2", - }, - "*/sdb": { - endpoint: "{service}.{region}.amazonaws.com", - signatureVersion: "v2", - }, - }, - patterns: { - globalSSL: { - endpoint: "https://{service}.amazonaws.com", - globalEndpoint: true, - }, - globalGovCloud: { endpoint: "{service}.us-gov.amazonaws.com" }, - s3signature: { - endpoint: "{service}.{region}.amazonaws.com", - signatureVersion: "s3", - }, - }, - }; +// Unique ID creation requires a high quality random # generator. In node.js +// this is pretty straight-forward - we use the crypto API. - /***/ - }, +var crypto = __webpack_require__(6417); - /***/ 2592: /***/ function (module) { - module.exports = { - pagination: { - ListAccessPoints: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +module.exports = function nodeRNG() { + return crypto.randomBytes(16); +}; - /***/ - }, - /***/ 2599: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-11-05", - endpointPrefix: "transfer", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "AWS Transfer", - serviceFullName: "AWS Transfer for SFTP", - serviceId: "Transfer", - signatureVersion: "v4", - signingName: "transfer", - targetPrefix: "TransferService", - uid: "transfer-2018-11-05", - }, - operations: { - CreateServer: { - input: { - type: "structure", - members: { - EndpointDetails: { shape: "S2" }, - EndpointType: {}, - HostKey: { shape: "Sa" }, - IdentityProviderDetails: { shape: "Sb" }, - IdentityProviderType: {}, - LoggingRole: {}, - Tags: { shape: "Sf" }, - }, - }, - output: { - type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, - }, - }, - CreateUser: { - input: { - type: "structure", - required: ["Role", "ServerId", "UserName"], - members: { - HomeDirectory: {}, - HomeDirectoryType: {}, - HomeDirectoryMappings: { shape: "So" }, - Policy: {}, - Role: {}, - ServerId: {}, - SshPublicKeyBody: {}, - Tags: { shape: "Sf" }, - UserName: {}, - }, - }, - output: { - type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, - }, - }, - DeleteServer: { - input: { - type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, - }, - }, - DeleteSshPublicKey: { - input: { - type: "structure", - required: ["ServerId", "SshPublicKeyId", "UserName"], - members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} }, - }, - }, - DeleteUser: { - input: { - type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, - }, - }, - DescribeServer: { - input: { - type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, - }, - output: { - type: "structure", - required: ["Server"], - members: { - Server: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - EndpointDetails: { shape: "S2" }, - EndpointType: {}, - HostKeyFingerprint: {}, - IdentityProviderDetails: { shape: "Sb" }, - IdentityProviderType: {}, - LoggingRole: {}, - ServerId: {}, - State: {}, - Tags: { shape: "Sf" }, - UserCount: { type: "integer" }, - }, - }, - }, - }, - }, - DescribeUser: { - input: { - type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, - }, - output: { - type: "structure", - required: ["ServerId", "User"], - members: { - ServerId: {}, - User: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - HomeDirectory: {}, - HomeDirectoryMappings: { shape: "So" }, - HomeDirectoryType: {}, - Policy: {}, - Role: {}, - SshPublicKeys: { - type: "list", - member: { - type: "structure", - required: [ - "DateImported", - "SshPublicKeyBody", - "SshPublicKeyId", - ], - members: { - DateImported: { type: "timestamp" }, - SshPublicKeyBody: {}, - SshPublicKeyId: {}, - }, - }, - }, - Tags: { shape: "Sf" }, - UserName: {}, - }, - }, - }, - }, - }, - ImportSshPublicKey: { - input: { - type: "structure", - required: ["ServerId", "SshPublicKeyBody", "UserName"], - members: { ServerId: {}, SshPublicKeyBody: {}, UserName: {} }, - }, - output: { - type: "structure", - required: ["ServerId", "SshPublicKeyId", "UserName"], - members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} }, - }, - }, - ListServers: { - input: { - type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, - }, - output: { - type: "structure", - required: ["Servers"], - members: { - NextToken: {}, - Servers: { - type: "list", - member: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - IdentityProviderType: {}, - EndpointType: {}, - LoggingRole: {}, - ServerId: {}, - State: {}, - UserCount: { type: "integer" }, - }, - }, - }, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { Arn: {}, NextToken: {}, Tags: { shape: "Sf" } }, - }, - }, - ListUsers: { - input: { - type: "structure", - required: ["ServerId"], - members: { - MaxResults: { type: "integer" }, - NextToken: {}, - ServerId: {}, - }, - }, - output: { - type: "structure", - required: ["ServerId", "Users"], - members: { - NextToken: {}, - ServerId: {}, - Users: { - type: "list", - member: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - HomeDirectory: {}, - HomeDirectoryType: {}, - Role: {}, - SshPublicKeyCount: { type: "integer" }, - UserName: {}, - }, - }, - }, - }, - }, - }, - StartServer: { - input: { - type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, - }, - }, - StopServer: { - input: { - type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["Arn", "Tags"], - members: { Arn: {}, Tags: { shape: "Sf" } }, - }, - }, - TestIdentityProvider: { - input: { - type: "structure", - required: ["ServerId", "UserName"], - members: { - ServerId: {}, - UserName: {}, - UserPassword: { type: "string", sensitive: true }, - }, - }, - output: { - type: "structure", - required: ["StatusCode", "Url"], - members: { - Response: {}, - StatusCode: { type: "integer" }, - Message: {}, - Url: {}, - }, - }, - }, - UntagResource: { - input: { - type: "structure", - required: ["Arn", "TagKeys"], - members: { Arn: {}, TagKeys: { type: "list", member: {} } }, - }, - }, - UpdateServer: { - input: { - type: "structure", - required: ["ServerId"], - members: { - EndpointDetails: { shape: "S2" }, - EndpointType: {}, - HostKey: { shape: "Sa" }, - IdentityProviderDetails: { shape: "Sb" }, - LoggingRole: {}, - ServerId: {}, - }, - }, - output: { - type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, - }, - }, - UpdateUser: { - input: { - type: "structure", - required: ["ServerId", "UserName"], - members: { - HomeDirectory: {}, - HomeDirectoryType: {}, - HomeDirectoryMappings: { shape: "So" }, - Policy: {}, - Role: {}, - ServerId: {}, - UserName: {}, - }, - }, - output: { - type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, - }, - }, - }, - shapes: { - S2: { - type: "structure", - members: { - AddressAllocationIds: { type: "list", member: {} }, - SubnetIds: { type: "list", member: {} }, - VpcEndpointId: {}, - VpcId: {}, - }, - }, - Sa: { type: "string", sensitive: true }, - Sb: { type: "structure", members: { Url: {}, InvocationRole: {} } }, - Sf: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - So: { - type: "list", - member: { - type: "structure", - required: ["Entry", "Target"], - members: { Entry: {}, Target: {} }, - }, - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1885: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - /***/ 2617: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["s3control"] = {}; - AWS.S3Control = Service.defineService("s3control", ["2018-08-20"]); - __webpack_require__(1489); - Object.defineProperty(apiLoader.services["s3control"], "2018-08-20", { - get: function get() { - var model = __webpack_require__(2091); - model.paginators = __webpack_require__(2592).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +// Generated by CoffeeScript 1.12.7 +(function() { + "use strict"; + var bom, defaults, events, isEmpty, processItem, processors, sax, setImmediate, + bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, + extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + hasProp = {}.hasOwnProperty; - module.exports = AWS.S3Control; + sax = __webpack_require__(4645); - /***/ - }, + events = __webpack_require__(8614); - /***/ 2638: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-01-11", - endpointPrefix: "clouddirectory", - protocol: "rest-json", - serviceFullName: "Amazon CloudDirectory", - serviceId: "CloudDirectory", - signatureVersion: "v4", - signingName: "clouddirectory", - uid: "clouddirectory-2017-01-11", - }, - operations: { - AddFacetToObject: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/facets", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "SchemaFacet", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - SchemaFacet: { shape: "S3" }, - ObjectAttributeList: { shape: "S5" }, - ObjectReference: { shape: "Sf" }, - }, - }, - output: { type: "structure", members: {} }, - }, - ApplySchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/apply", - responseCode: 200, - }, - input: { - type: "structure", - required: ["PublishedSchemaArn", "DirectoryArn"], - members: { - PublishedSchemaArn: {}, - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { - type: "structure", - members: { AppliedSchemaArn: {}, DirectoryArn: {} }, - }, - }, - AttachObject: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/attach", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "ParentReference", - "ChildReference", - "LinkName", - ], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ParentReference: { shape: "Sf" }, - ChildReference: { shape: "Sf" }, - LinkName: {}, - }, - }, - output: { - type: "structure", - members: { AttachedObjectIdentifier: {} }, - }, - }, - AttachPolicy: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/policy/attach", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "PolicyReference", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, - }, - }, - output: { type: "structure", members: {} }, - }, - AttachToIndex: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/index/attach", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "IndexReference", "TargetReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, - }, - }, - output: { - type: "structure", - members: { AttachedObjectIdentifier: {} }, - }, - }, - AttachTypedLink: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/attach", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "SourceObjectReference", - "TargetObjectReference", - "TypedLinkFacet", - "Attributes", - ], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - SourceObjectReference: { shape: "Sf" }, - TargetObjectReference: { shape: "Sf" }, - TypedLinkFacet: { shape: "St" }, - Attributes: { shape: "Sv" }, - }, - }, - output: { - type: "structure", - members: { TypedLinkSpecifier: { shape: "Sy" } }, - }, - }, - BatchRead: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/batchread", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "Operations"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Operations: { - type: "list", - member: { - type: "structure", - members: { - ListObjectAttributes: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - FacetFilter: { shape: "S3" }, - }, - }, - ListObjectChildren: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListAttachedIndices: { - type: "structure", - required: ["TargetReference"], - members: { - TargetReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListObjectParentPaths: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - GetObjectInformation: { - type: "structure", - required: ["ObjectReference"], - members: { ObjectReference: { shape: "Sf" } }, - }, - GetObjectAttributes: { - type: "structure", - required: [ - "ObjectReference", - "SchemaFacet", - "AttributeNames", - ], - members: { - ObjectReference: { shape: "Sf" }, - SchemaFacet: { shape: "S3" }, - AttributeNames: { shape: "S1a" }, - }, - }, - ListObjectParents: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListObjectPolicies: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListPolicyAttachments: { - type: "structure", - required: ["PolicyReference"], - members: { - PolicyReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - LookupPolicy: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListIndex: { - type: "structure", - required: ["IndexReference"], - members: { - RangesOnIndexedValues: { shape: "S1g" }, - IndexReference: { shape: "Sf" }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - ListOutgoingTypedLinks: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListIncomingTypedLinks: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - GetLinkAttributes: { - type: "structure", - required: ["TypedLinkSpecifier", "AttributeNames"], - members: { - TypedLinkSpecifier: { shape: "Sy" }, - AttributeNames: { shape: "S1a" }, - }, - }, - }, - }, - }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { - Responses: { - type: "list", - member: { - type: "structure", - members: { - SuccessfulResponse: { - type: "structure", - members: { - ListObjectAttributes: { - type: "structure", - members: { - Attributes: { shape: "S5" }, - NextToken: {}, - }, - }, - ListObjectChildren: { - type: "structure", - members: { - Children: { shape: "S1w" }, - NextToken: {}, - }, - }, - GetObjectInformation: { - type: "structure", - members: { - SchemaFacets: { shape: "S1y" }, - ObjectIdentifier: {}, - }, - }, - GetObjectAttributes: { - type: "structure", - members: { Attributes: { shape: "S5" } }, - }, - ListAttachedIndices: { - type: "structure", - members: { - IndexAttachments: { shape: "S21" }, - NextToken: {}, - }, - }, - ListObjectParentPaths: { - type: "structure", - members: { - PathToObjectIdentifiersList: { shape: "S24" }, - NextToken: {}, - }, - }, - ListObjectPolicies: { - type: "structure", - members: { - AttachedPolicyIds: { shape: "S27" }, - NextToken: {}, - }, - }, - ListPolicyAttachments: { - type: "structure", - members: { - ObjectIdentifiers: { shape: "S27" }, - NextToken: {}, - }, - }, - LookupPolicy: { - type: "structure", - members: { - PolicyToPathList: { shape: "S2b" }, - NextToken: {}, - }, - }, - ListIndex: { - type: "structure", - members: { - IndexAttachments: { shape: "S21" }, - NextToken: {}, - }, - }, - ListOutgoingTypedLinks: { - type: "structure", - members: { - TypedLinkSpecifiers: { shape: "S2i" }, - NextToken: {}, - }, - }, - ListIncomingTypedLinks: { - type: "structure", - members: { - LinkSpecifiers: { shape: "S2i" }, - NextToken: {}, - }, - }, - GetLinkAttributes: { - type: "structure", - members: { Attributes: { shape: "S5" } }, - }, - ListObjectParents: { - type: "structure", - members: { - ParentLinks: { shape: "S2m" }, - NextToken: {}, - }, - }, - }, - }, - ExceptionResponse: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, - }, - }, - }, - }, - }, - BatchWrite: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/batchwrite", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "Operations"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Operations: { - type: "list", - member: { - type: "structure", - members: { - CreateObject: { - type: "structure", - required: ["SchemaFacet", "ObjectAttributeList"], - members: { - SchemaFacet: { shape: "S1y" }, - ObjectAttributeList: { shape: "S5" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, - BatchReferenceName: {}, - }, - }, - AttachObject: { - type: "structure", - required: [ - "ParentReference", - "ChildReference", - "LinkName", - ], - members: { - ParentReference: { shape: "Sf" }, - ChildReference: { shape: "Sf" }, - LinkName: {}, - }, - }, - DetachObject: { - type: "structure", - required: ["ParentReference", "LinkName"], - members: { - ParentReference: { shape: "Sf" }, - LinkName: {}, - BatchReferenceName: {}, - }, - }, - UpdateObjectAttributes: { - type: "structure", - required: ["ObjectReference", "AttributeUpdates"], - members: { - ObjectReference: { shape: "Sf" }, - AttributeUpdates: { shape: "S2z" }, - }, - }, - DeleteObject: { - type: "structure", - required: ["ObjectReference"], - members: { ObjectReference: { shape: "Sf" } }, - }, - AddFacetToObject: { - type: "structure", - required: [ - "SchemaFacet", - "ObjectAttributeList", - "ObjectReference", - ], - members: { - SchemaFacet: { shape: "S3" }, - ObjectAttributeList: { shape: "S5" }, - ObjectReference: { shape: "Sf" }, - }, - }, - RemoveFacetFromObject: { - type: "structure", - required: ["SchemaFacet", "ObjectReference"], - members: { - SchemaFacet: { shape: "S3" }, - ObjectReference: { shape: "Sf" }, - }, - }, - AttachPolicy: { - type: "structure", - required: ["PolicyReference", "ObjectReference"], - members: { - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, - }, - }, - DetachPolicy: { - type: "structure", - required: ["PolicyReference", "ObjectReference"], - members: { - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, - }, - }, - CreateIndex: { - type: "structure", - required: ["OrderedIndexedAttributeList", "IsUnique"], - members: { - OrderedIndexedAttributeList: { shape: "S39" }, - IsUnique: { type: "boolean" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, - BatchReferenceName: {}, - }, - }, - AttachToIndex: { - type: "structure", - required: ["IndexReference", "TargetReference"], - members: { - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, - }, - }, - DetachFromIndex: { - type: "structure", - required: ["IndexReference", "TargetReference"], - members: { - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, - }, - }, - AttachTypedLink: { - type: "structure", - required: [ - "SourceObjectReference", - "TargetObjectReference", - "TypedLinkFacet", - "Attributes", - ], - members: { - SourceObjectReference: { shape: "Sf" }, - TargetObjectReference: { shape: "Sf" }, - TypedLinkFacet: { shape: "St" }, - Attributes: { shape: "Sv" }, - }, - }, - DetachTypedLink: { - type: "structure", - required: ["TypedLinkSpecifier"], - members: { TypedLinkSpecifier: { shape: "Sy" } }, - }, - UpdateLinkAttributes: { - type: "structure", - required: ["TypedLinkSpecifier", "AttributeUpdates"], - members: { - TypedLinkSpecifier: { shape: "Sy" }, - AttributeUpdates: { shape: "S3g" }, - }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - Responses: { - type: "list", - member: { - type: "structure", - members: { - CreateObject: { - type: "structure", - members: { ObjectIdentifier: {} }, - }, - AttachObject: { - type: "structure", - members: { attachedObjectIdentifier: {} }, - }, - DetachObject: { - type: "structure", - members: { detachedObjectIdentifier: {} }, - }, - UpdateObjectAttributes: { - type: "structure", - members: { ObjectIdentifier: {} }, - }, - DeleteObject: { type: "structure", members: {} }, - AddFacetToObject: { type: "structure", members: {} }, - RemoveFacetFromObject: { type: "structure", members: {} }, - AttachPolicy: { type: "structure", members: {} }, - DetachPolicy: { type: "structure", members: {} }, - CreateIndex: { - type: "structure", - members: { ObjectIdentifier: {} }, - }, - AttachToIndex: { - type: "structure", - members: { AttachedObjectIdentifier: {} }, - }, - DetachFromIndex: { - type: "structure", - members: { DetachedObjectIdentifier: {} }, - }, - AttachTypedLink: { - type: "structure", - members: { TypedLinkSpecifier: { shape: "Sy" } }, - }, - DetachTypedLink: { type: "structure", members: {} }, - UpdateLinkAttributes: { type: "structure", members: {} }, - }, - }, - }, - }, - }, - }, - CreateDirectory: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory/create", - responseCode: 200, - }, - input: { - type: "structure", - required: ["Name", "SchemaArn"], - members: { - Name: {}, - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { - type: "structure", - required: [ - "DirectoryArn", - "Name", - "ObjectIdentifier", - "AppliedSchemaArn", - ], - members: { - DirectoryArn: {}, - Name: {}, - ObjectIdentifier: {}, - AppliedSchemaArn: {}, - }, - }, - }, - CreateFacet: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/facet/create", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - Attributes: { shape: "S46" }, - ObjectType: {}, - FacetStyle: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - CreateIndex: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/index", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "OrderedIndexedAttributeList", - "IsUnique", - ], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - OrderedIndexedAttributeList: { shape: "S39" }, - IsUnique: { type: "boolean" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, - }, - }, - output: { type: "structure", members: { ObjectIdentifier: {} } }, - }, - CreateObject: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "SchemaFacets"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - SchemaFacets: { shape: "S1y" }, - ObjectAttributeList: { shape: "S5" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, - }, - }, - output: { type: "structure", members: { ObjectIdentifier: {} } }, - }, - CreateSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/create", - responseCode: 200, - }, - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: { SchemaArn: {} } }, - }, - CreateTypedLinkFacet: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/create", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Facet"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Facet: { - type: "structure", - required: ["Name", "Attributes", "IdentityAttributeOrder"], - members: { - Name: {}, - Attributes: { shape: "S4v" }, - IdentityAttributeOrder: { shape: "S1a" }, - }, - }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteDirectory: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { - type: "structure", - required: ["DirectoryArn"], - members: { DirectoryArn: {} }, - }, - }, - DeleteFacet: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/facet/delete", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteObject: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/delete", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { type: "structure", members: { SchemaArn: {} } }, - }, - DeleteTypedLinkFacet: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/delete", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - DetachFromIndex: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/index/detach", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "IndexReference", "TargetReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, - }, - }, - output: { - type: "structure", - members: { DetachedObjectIdentifier: {} }, - }, - }, - DetachObject: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/detach", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ParentReference", "LinkName"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ParentReference: { shape: "Sf" }, - LinkName: {}, - }, - }, - output: { - type: "structure", - members: { DetachedObjectIdentifier: {} }, - }, - }, - DetachPolicy: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/policy/detach", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "PolicyReference", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DetachTypedLink: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/detach", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "TypedLinkSpecifier"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - TypedLinkSpecifier: { shape: "Sy" }, - }, - }, - }, - DisableDirectory: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory/disable", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { - type: "structure", - required: ["DirectoryArn"], - members: { DirectoryArn: {} }, - }, - }, - EnableDirectory: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory/enable", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { - type: "structure", - required: ["DirectoryArn"], - members: { DirectoryArn: {} }, - }, - }, - GetAppliedSchemaVersion: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/schema/getappliedschema", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { SchemaArn: {} }, - }, - output: { type: "structure", members: { AppliedSchemaArn: {} } }, - }, - GetDirectory: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/directory/get", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { - type: "structure", - required: ["Directory"], - members: { Directory: { shape: "S5n" } }, - }, - }, - GetFacet: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/facet", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - }, - }, - output: { - type: "structure", - members: { - Facet: { - type: "structure", - members: { Name: {}, ObjectType: {}, FacetStyle: {} }, - }, - }, - }, - }, - GetLinkAttributes: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/attributes/get", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "TypedLinkSpecifier", - "AttributeNames", - ], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - TypedLinkSpecifier: { shape: "Sy" }, - AttributeNames: { shape: "S1a" }, - ConsistencyLevel: {}, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S5" } }, - }, - }, - GetObjectAttributes: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/object/attributes/get", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "ObjectReference", - "SchemaFacet", - "AttributeNames", - ], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - SchemaFacet: { shape: "S3" }, - AttributeNames: { shape: "S1a" }, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S5" } }, - }, - }, - GetObjectInformation: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/information", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { SchemaFacets: { shape: "S1y" }, ObjectIdentifier: {} }, - }, - }, - GetSchemaAsJson: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/json", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - }, - }, - output: { type: "structure", members: { Name: {}, Document: {} } }, - }, - GetTypedLinkFacetInformation: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/get", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - }, - }, - output: { - type: "structure", - members: { IdentityAttributeOrder: { shape: "S1a" } }, - }, - }, - ListAppliedSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/applied", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn"], - members: { - DirectoryArn: {}, - SchemaArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, - }, - ListAttachedIndices: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/indices", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "TargetReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - TargetReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { IndexAttachments: { shape: "S21" }, NextToken: {} }, - }, - }, - ListDevelopmentSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/development", - responseCode: 200, - }, - input: { - type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, - }, - ListDirectories: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/directory/list", - responseCode: 200, - }, - input: { - type: "structure", - members: { - NextToken: {}, - MaxResults: { type: "integer" }, - state: {}, - }, - }, - output: { - type: "structure", - required: ["Directories"], - members: { - Directories: { type: "list", member: { shape: "S5n" } }, - NextToken: {}, - }, - }, - }, - ListFacetAttributes: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/facet/attributes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S46" }, NextToken: {} }, - }, - }, - ListFacetNames: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/facet/list", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - FacetNames: { type: "list", member: {} }, - NextToken: {}, - }, - }, - }, - ListIncomingTypedLinks: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/incoming", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: {}, - }, - }, - output: { - type: "structure", - members: { LinkSpecifiers: { shape: "S2i" }, NextToken: {} }, - }, - }, - ListIndex: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/index/targets", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "IndexReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - RangesOnIndexedValues: { shape: "S1g" }, - IndexReference: { shape: "Sf" }, - MaxResults: { type: "integer" }, - NextToken: {}, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { IndexAttachments: { shape: "S21" }, NextToken: {} }, - }, - }, - ListManagedSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/managed", - responseCode: 200, - }, - input: { - type: "structure", - members: { - SchemaArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, - }, - ListObjectAttributes: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/attributes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - FacetFilter: { shape: "S3" }, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S5" }, NextToken: {} }, - }, - }, - ListObjectChildren: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/children", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { Children: { shape: "S1w" }, NextToken: {} }, - }, - }, - ListObjectParentPaths: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/parentpaths", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - PathToObjectIdentifiersList: { shape: "S24" }, - NextToken: {}, - }, - }, - }, - ListObjectParents: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/parent", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - IncludeAllLinksToEachParent: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Parents: { type: "map", key: {}, value: {} }, - NextToken: {}, - ParentLinks: { shape: "S2m" }, - }, - }, - }, - ListObjectPolicies: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/policy", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { AttachedPolicyIds: { shape: "S27" }, NextToken: {} }, - }, - }, - ListOutgoingTypedLinks: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/outgoing", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: {}, - }, - }, - output: { - type: "structure", - members: { TypedLinkSpecifiers: { shape: "S2i" }, NextToken: {} }, - }, - }, - ListPolicyAttachments: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/policy/attachment", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "PolicyReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - PolicyReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { ObjectIdentifiers: { shape: "S27" }, NextToken: {} }, - }, - }, - ListPublishedSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/published", - responseCode: 200, - }, - input: { - type: "structure", - members: { - SchemaArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, - }, - ListTagsForResource: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/tags", - responseCode: 200, - }, - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "S79" }, NextToken: {} }, - }, - }, - ListTypedLinkFacetAttributes: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/attributes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S4v" }, NextToken: {} }, - }, - }, - ListTypedLinkFacetNames: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/list", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - FacetNames: { type: "list", member: {} }, - NextToken: {}, - }, - }, - }, - LookupPolicy: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/policy/lookup", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { PolicyToPathList: { shape: "S2b" }, NextToken: {} }, - }, - }, - PublishSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/publish", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DevelopmentSchemaArn", "Version"], - members: { - DevelopmentSchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Version: {}, - MinorVersion: {}, - Name: {}, - }, - }, - output: { type: "structure", members: { PublishedSchemaArn: {} } }, - }, - PutSchemaFromJson: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/json", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Document"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Document: {}, - }, - }, - output: { type: "structure", members: { Arn: {} } }, - }, - RemoveFacetFromObject: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/object/facets/delete", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "SchemaFacet", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - SchemaFacet: { shape: "S3" }, - ObjectReference: { shape: "Sf" }, - }, - }, - output: { type: "structure", members: {} }, - }, - TagResource: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/tags/add", - responseCode: 200, - }, - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "S79" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/tags/remove", - responseCode: 200, - }, - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateFacet: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/facet", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - AttributeUpdates: { - type: "list", - member: { - type: "structure", - members: { Attribute: { shape: "S47" }, Action: {} }, - }, - }, - ObjectType: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateLinkAttributes: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/attributes/update", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "TypedLinkSpecifier", - "AttributeUpdates", - ], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - TypedLinkSpecifier: { shape: "Sy" }, - AttributeUpdates: { shape: "S3g" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateObjectAttributes: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/update", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference", "AttributeUpdates"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - AttributeUpdates: { shape: "S2z" }, - }, - }, - output: { type: "structure", members: { ObjectIdentifier: {} } }, - }, - UpdateSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/update", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - }, - }, - output: { type: "structure", members: { SchemaArn: {} } }, - }, - UpdateTypedLinkFacet: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/facet", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "SchemaArn", - "Name", - "AttributeUpdates", - "IdentityAttributeOrder", - ], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - AttributeUpdates: { - type: "list", - member: { - type: "structure", - required: ["Attribute", "Action"], - members: { Attribute: { shape: "S4w" }, Action: {} }, - }, - }, - IdentityAttributeOrder: { shape: "S1a" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpgradeAppliedSchema: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/schema/upgradeapplied", - responseCode: 200, - }, - input: { - type: "structure", - required: ["PublishedSchemaArn", "DirectoryArn"], - members: { - PublishedSchemaArn: {}, - DirectoryArn: {}, - DryRun: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { UpgradedSchemaArn: {}, DirectoryArn: {} }, - }, - }, - UpgradePublishedSchema: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/schema/upgradepublished", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DevelopmentSchemaArn", - "PublishedSchemaArn", - "MinorVersion", - ], - members: { - DevelopmentSchemaArn: {}, - PublishedSchemaArn: {}, - MinorVersion: {}, - DryRun: { type: "boolean" }, - }, - }, - output: { type: "structure", members: { UpgradedSchemaArn: {} } }, - }, - }, - shapes: { - S3: { type: "structure", members: { SchemaArn: {}, FacetName: {} } }, - S5: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: { shape: "S7" }, Value: { shape: "S9" } }, - }, - }, - S7: { - type: "structure", - required: ["SchemaArn", "FacetName", "Name"], - members: { SchemaArn: {}, FacetName: {}, Name: {} }, - }, - S9: { - type: "structure", - members: { - StringValue: {}, - BinaryValue: { type: "blob" }, - BooleanValue: { type: "boolean" }, - NumberValue: {}, - DatetimeValue: { type: "timestamp" }, - }, - }, - Sf: { type: "structure", members: { Selector: {} } }, - St: { - type: "structure", - required: ["SchemaArn", "TypedLinkName"], - members: { SchemaArn: {}, TypedLinkName: {} }, - }, - Sv: { - type: "list", - member: { - type: "structure", - required: ["AttributeName", "Value"], - members: { AttributeName: {}, Value: { shape: "S9" } }, - }, - }, - Sy: { - type: "structure", - required: [ - "TypedLinkFacet", - "SourceObjectReference", - "TargetObjectReference", - "IdentityAttributeValues", - ], - members: { - TypedLinkFacet: { shape: "St" }, - SourceObjectReference: { shape: "Sf" }, - TargetObjectReference: { shape: "Sf" }, - IdentityAttributeValues: { shape: "Sv" }, - }, - }, - S1a: { type: "list", member: {} }, - S1g: { - type: "list", - member: { - type: "structure", - members: { - AttributeKey: { shape: "S7" }, - Range: { shape: "S1i" }, - }, - }, - }, - S1i: { - type: "structure", - required: ["StartMode", "EndMode"], - members: { - StartMode: {}, - StartValue: { shape: "S9" }, - EndMode: {}, - EndValue: { shape: "S9" }, - }, - }, - S1l: { - type: "list", - member: { - type: "structure", - required: ["Range"], - members: { AttributeName: {}, Range: { shape: "S1i" } }, - }, - }, - S1w: { type: "map", key: {}, value: {} }, - S1y: { type: "list", member: { shape: "S3" } }, - S21: { - type: "list", - member: { - type: "structure", - members: { - IndexedAttributes: { shape: "S5" }, - ObjectIdentifier: {}, - }, - }, - }, - S24: { - type: "list", - member: { - type: "structure", - members: { Path: {}, ObjectIdentifiers: { shape: "S27" } }, - }, - }, - S27: { type: "list", member: {} }, - S2b: { - type: "list", - member: { - type: "structure", - members: { - Path: {}, - Policies: { - type: "list", - member: { - type: "structure", - members: { - PolicyId: {}, - ObjectIdentifier: {}, - PolicyType: {}, - }, - }, - }, - }, - }, - }, - S2i: { type: "list", member: { shape: "Sy" } }, - S2m: { - type: "list", - member: { - type: "structure", - members: { ObjectIdentifier: {}, LinkName: {} }, - }, - }, - S2z: { - type: "list", - member: { - type: "structure", - members: { - ObjectAttributeKey: { shape: "S7" }, - ObjectAttributeAction: { - type: "structure", - members: { - ObjectAttributeActionType: {}, - ObjectAttributeUpdateValue: { shape: "S9" }, - }, - }, - }, - }, - }, - S39: { type: "list", member: { shape: "S7" } }, - S3g: { - type: "list", - member: { - type: "structure", - members: { - AttributeKey: { shape: "S7" }, - AttributeAction: { - type: "structure", - members: { - AttributeActionType: {}, - AttributeUpdateValue: { shape: "S9" }, - }, - }, - }, - }, - }, - S46: { type: "list", member: { shape: "S47" } }, - S47: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - AttributeDefinition: { - type: "structure", - required: ["Type"], - members: { - Type: {}, - DefaultValue: { shape: "S9" }, - IsImmutable: { type: "boolean" }, - Rules: { shape: "S4a" }, - }, - }, - AttributeReference: { - type: "structure", - required: ["TargetFacetName", "TargetAttributeName"], - members: { TargetFacetName: {}, TargetAttributeName: {} }, - }, - RequiredBehavior: {}, - }, - }, - S4a: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - Type: {}, - Parameters: { type: "map", key: {}, value: {} }, - }, - }, - }, - S4v: { type: "list", member: { shape: "S4w" } }, - S4w: { - type: "structure", - required: ["Name", "Type", "RequiredBehavior"], - members: { - Name: {}, - Type: {}, - DefaultValue: { shape: "S9" }, - IsImmutable: { type: "boolean" }, - Rules: { shape: "S4a" }, - RequiredBehavior: {}, - }, - }, - S5n: { - type: "structure", - members: { - Name: {}, - DirectoryArn: {}, - State: {}, - CreationDateTime: { type: "timestamp" }, - }, - }, - S66: { type: "list", member: {} }, - S79: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - }, - }; + bom = __webpack_require__(6210); - /***/ - }, + processors = __webpack_require__(5350); - /***/ 2641: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + setImmediate = __webpack_require__(8213).setImmediate; - apiLoader.services["kinesisvideosignalingchannels"] = {}; - AWS.KinesisVideoSignalingChannels = Service.defineService( - "kinesisvideosignalingchannels", - ["2019-12-04"] - ); - Object.defineProperty( - apiLoader.services["kinesisvideosignalingchannels"], - "2019-12-04", - { - get: function get() { - var model = __webpack_require__(1713); - model.paginators = __webpack_require__(1529).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); + defaults = __webpack_require__(1514).defaults; - module.exports = AWS.KinesisVideoSignalingChannels; + isEmpty = function(thing) { + return typeof thing === "object" && (thing != null) && Object.keys(thing).length === 0; + }; - /***/ - }, + processItem = function(processors, item, key) { + var i, len, process; + for (i = 0, len = processors.length; i < len; i++) { + process = processors[i]; + item = process(item, key); + } + return item; + }; - /***/ 2655: /***/ function (module) { - 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: {}, - numResults: { type: "integer" }, - jobInput: { shape: "S5" }, - jobOutput: { shape: "S9" }, - roleArn: {}, - }, - }, - output: { - type: "structure", - members: { batchInferenceJobArn: {} }, - }, - }, - CreateCampaign: { - input: { - type: "structure", - required: ["name", "solutionVersionArn", "minProvisionedTPS"], - members: { - name: {}, - solutionVersionArn: {}, - minProvisionedTPS: { type: "integer" }, - }, - }, - 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, - }, - CreateDatasetGroup: { - input: { - type: "structure", - required: ["name"], - members: { name: {}, roleArn: {}, kmsKeyArn: {} }, - }, - output: { type: "structure", members: { datasetGroupArn: {} } }, - }, - CreateDatasetImportJob: { - input: { - type: "structure", - required: ["jobName", "datasetArn", "dataSource", "roleArn"], - members: { - jobName: {}, - datasetArn: {}, - dataSource: { shape: "Sl" }, - roleArn: {}, - }, - }, - output: { type: "structure", members: { datasetImportJobArn: {} } }, - }, - CreateEventTracker: { - input: { - type: "structure", - required: ["name", "datasetGroupArn"], - members: { name: {}, datasetGroupArn: {} }, - }, - output: { - type: "structure", - members: { eventTrackerArn: {}, trackingId: {} }, - }, - idempotent: true, - }, - CreateSchema: { - input: { - type: "structure", - required: ["name", "schema"], - members: { name: {}, schema: {} }, - }, - 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: "Sx" }, - }, - }, - 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, - }, - 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: "S1k" }, - 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: "S1i" }, - 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: {}, - failureReason: {}, - solutionVersionArn: {}, - numResults: { type: "integer" }, - jobInput: { shape: "S5" }, - jobOutput: { shape: "S9" }, - 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" }, - status: {}, - failureReason: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - latestCampaignUpdate: { - type: "structure", - members: { - solutionVersionArn: {}, - minProvisionedTPS: { type: "integer" }, - 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, - }, - 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: {}, - }, - }, - }, - }, - idempotent: true, - }, - DescribeDatasetImportJob: { - input: { - type: "structure", - required: ["datasetImportJobArn"], - members: { datasetImportJobArn: {} }, - }, - output: { - type: "structure", - members: { - datasetImportJob: { - type: "structure", - members: { - jobName: {}, - datasetImportJobArn: {}, - datasetArn: {}, - dataSource: { shape: "Sl" }, - 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, - }, - 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, - }, - 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" }, - }, - }, - }, - }, - 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: "Sx" }, - autoMLResult: { - type: "structure", - members: { bestRecipeArn: {} }, - }, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - latestSolutionVersion: { shape: "S3i" }, - }, - }, - }, - }, - 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: "Sx" }, - trainingHours: { type: "double" }, - trainingMode: {}, - tunedHPOParams: { - type: "structure", - members: { algorithmHyperParameters: { shape: "S1k" } }, - }, - 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, - }, - 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, - }, - 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: {}, - }, - }, - }, - 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, - }, - ListRecipes: { - input: { - type: "structure", - members: { - recipeProvider: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - recipes: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - recipeArn: {}, - 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" }, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, - }, - ListSolutionVersions: { - input: { - type: "structure", - members: { - solutionArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - solutionVersions: { type: "list", member: { shape: "S3i" } }, - 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, - }, - UpdateCampaign: { - input: { - type: "structure", - required: ["campaignArn"], - members: { - campaignArn: {}, - solutionVersionArn: {}, - minProvisionedTPS: { type: "integer" }, - }, - }, - output: { type: "structure", members: { campaignArn: {} } }, - 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" } }, - }, - Sl: { type: "structure", members: { dataLocation: {} } }, - Sx: { - 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: "S1i" } }, - }, - }, - }, - }, - }, - }, - algorithmHyperParameters: { shape: "S1k" }, - featureTransformationParameters: { - type: "map", - key: {}, - value: {}, - }, - autoMLConfig: { - type: "structure", - members: { - metricName: {}, - recipeList: { type: "list", member: {} }, - }, - }, - }, - }, - S1i: { type: "list", member: {} }, - S1k: { type: "map", key: {}, value: {} }, - S3i: { - type: "structure", - members: { - solutionVersionArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - }, - }, - }, - }; + exports.Parser = (function(superClass) { + extend(Parser, superClass); - /***/ - }, + function Parser(opts) { + this.parseString = bind(this.parseString, this); + this.reset = bind(this.reset, this); + this.assignOrPush = bind(this.assignOrPush, this); + this.processAsync = bind(this.processAsync, this); + var key, ref, value; + if (!(this instanceof exports.Parser)) { + return new exports.Parser(opts); + } + this.options = {}; + ref = defaults["0.2"]; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; + this.options[key] = value; + } + for (key in opts) { + if (!hasProp.call(opts, key)) continue; + value = opts[key]; + this.options[key] = value; + } + if (this.options.xmlns) { + this.options.xmlnskey = this.options.attrkey + "ns"; + } + if (this.options.normalizeTags) { + if (!this.options.tagNameProcessors) { + this.options.tagNameProcessors = []; + } + this.options.tagNameProcessors.unshift(processors.normalize); + } + this.reset(); + } - /***/ 2659: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-10-01", - endpointPrefix: "appmesh", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "AWS App Mesh", - serviceId: "App Mesh", - signatureVersion: "v4", - signingName: "appmesh", - uid: "appmesh-2018-10-01", - }, - operations: { - CreateMesh: { - http: { method: "PUT", requestUri: "/meshes", responseCode: 200 }, - input: { - type: "structure", - required: ["meshName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: {}, - }, - }, - output: { - type: "structure", - members: { mesh: { shape: "S5" } }, - payload: "mesh", - }, - idempotent: true, - }, - CreateRoute: { - http: { - method: "PUT", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - routeName: {}, - spec: { shape: "Sd" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - idempotent: true, - }, - CreateVirtualNode: { - http: { - method: "PUT", - requestUri: "/meshes/{meshName}/virtualNodes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualNodeName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "Sp" }, - virtualNodeName: {}, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - idempotent: true, - }, - CreateVirtualRouter: { - http: { - method: "PUT", - requestUri: "/meshes/{meshName}/virtualRouters", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "S18" }, - virtualRouterName: {}, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - idempotent: true, - }, - DeleteMesh: { - http: { - method: "DELETE", - requestUri: "/meshes/{meshName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - }, - }, - output: { - type: "structure", - members: { mesh: { shape: "S5" } }, - payload: "mesh", - }, - idempotent: true, - }, - DeleteRoute: { - http: { - method: "DELETE", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - routeName: { location: "uri", locationName: "routeName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - idempotent: true, - }, - DeleteVirtualNode: { - http: { - method: "DELETE", - requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualNodeName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualNodeName: { - location: "uri", - locationName: "virtualNodeName", - }, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - idempotent: true, - }, - DeleteVirtualRouter: { - http: { - method: "DELETE", - requestUri: - "/meshes/{meshName}/virtualRouters/{virtualRouterName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - idempotent: true, - }, - DescribeMesh: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - }, - }, - output: { - type: "structure", - members: { mesh: { shape: "S5" } }, - payload: "mesh", - }, - }, - DescribeRoute: { - http: { - method: "GET", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - routeName: { location: "uri", locationName: "routeName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - }, - DescribeVirtualNode: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualNodeName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualNodeName: { - location: "uri", - locationName: "virtualNodeName", - }, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - }, - DescribeVirtualRouter: { - http: { - method: "GET", - requestUri: - "/meshes/{meshName}/virtualRouters/{virtualRouterName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - }, - ListMeshes: { - http: { method: "GET", requestUri: "/meshes", responseCode: 200 }, - input: { - type: "structure", - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - required: ["meshes"], - members: { - meshes: { - type: "list", - member: { - type: "structure", - members: { arn: {}, meshName: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListRoutes: { - http: { - method: "GET", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - meshName: { location: "uri", locationName: "meshName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - required: ["routes"], - members: { - nextToken: {}, - routes: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - meshName: {}, - routeName: {}, - virtualRouterName: {}, - }, - }, - }, - }, - }, - }, - ListVirtualNodes: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}/virtualNodes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - meshName: { location: "uri", locationName: "meshName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - required: ["virtualNodes"], - members: { - nextToken: {}, - virtualNodes: { - type: "list", - member: { - type: "structure", - members: { arn: {}, meshName: {}, virtualNodeName: {} }, - }, - }, - }, - }, - }, - ListVirtualRouters: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}/virtualRouters", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - meshName: { location: "uri", locationName: "meshName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - required: ["virtualRouters"], - members: { - nextToken: {}, - virtualRouters: { - type: "list", - member: { - type: "structure", - members: { arn: {}, meshName: {}, virtualRouterName: {} }, - }, - }, - }, - }, - }, - UpdateRoute: { - http: { - method: "PUT", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - routeName: { location: "uri", locationName: "routeName" }, - spec: { shape: "Sd" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - idempotent: true, - }, - UpdateVirtualNode: { - http: { - method: "PUT", - requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualNodeName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "Sp" }, - virtualNodeName: { - location: "uri", - locationName: "virtualNodeName", - }, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - idempotent: true, - }, - UpdateVirtualRouter: { - http: { - method: "PUT", - requestUri: - "/meshes/{meshName}/virtualRouters/{virtualRouterName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "S18" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - idempotent: true, - }, - }, - shapes: { - S5: { - type: "structure", - required: ["meshName", "metadata"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - status: { type: "structure", members: { status: {} } }, - }, - }, - S6: { - type: "structure", - members: { - arn: {}, - createdAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - uid: {}, - version: { type: "long" }, - }, - }, - Sd: { - type: "structure", - members: { - httpRoute: { - type: "structure", - members: { - action: { - type: "structure", - members: { - weightedTargets: { - type: "list", - member: { - type: "structure", - members: { - virtualNode: {}, - weight: { type: "integer" }, - }, - }, - }, - }, - }, - match: { type: "structure", members: { prefix: {} } }, - }, - }, - }, - }, - Sl: { - type: "structure", - required: ["meshName", "routeName", "virtualRouterName"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - routeName: {}, - spec: { shape: "Sd" }, - status: { type: "structure", members: { status: {} } }, - virtualRouterName: {}, - }, - }, - Sp: { - type: "structure", - members: { - backends: { type: "list", member: {} }, - listeners: { - type: "list", - member: { - type: "structure", - members: { - healthCheck: { - type: "structure", - required: [ - "healthyThreshold", - "intervalMillis", - "protocol", - "timeoutMillis", - "unhealthyThreshold", - ], - members: { - healthyThreshold: { type: "integer" }, - intervalMillis: { type: "long" }, - path: {}, - port: { type: "integer" }, - protocol: {}, - timeoutMillis: { type: "long" }, - unhealthyThreshold: { type: "integer" }, - }, - }, - portMapping: { - type: "structure", - members: { port: { type: "integer" }, protocol: {} }, - }, - }, - }, - }, - serviceDiscovery: { - type: "structure", - members: { - dns: { type: "structure", members: { serviceName: {} } }, - }, - }, - }, - }, - S14: { - type: "structure", - required: ["meshName", "virtualNodeName"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - spec: { shape: "Sp" }, - status: { type: "structure", members: { status: {} } }, - virtualNodeName: {}, - }, - }, - S18: { - type: "structure", - members: { serviceNames: { type: "list", member: {} } }, - }, - S1b: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - spec: { shape: "S18" }, - status: { type: "structure", members: { status: {} } }, - virtualRouterName: {}, - }, - }, - }, - }; + Parser.prototype.processAsync = function() { + var chunk, err; + try { + if (this.remaining.length <= this.options.chunkSize) { + chunk = this.remaining; + this.remaining = ''; + this.saxParser = this.saxParser.write(chunk); + return this.saxParser.close(); + } else { + chunk = this.remaining.substr(0, this.options.chunkSize); + this.remaining = this.remaining.substr(this.options.chunkSize, this.remaining.length); + this.saxParser = this.saxParser.write(chunk); + return setImmediate(this.processAsync); + } + } catch (error1) { + err = error1; + if (!this.saxParser.errThrown) { + this.saxParser.errThrown = true; + return this.emit(err); + } + } + }; - /***/ - }, + Parser.prototype.assignOrPush = function(obj, key, newValue) { + if (!(key in obj)) { + if (!this.options.explicitArray) { + return obj[key] = newValue; + } else { + return obj[key] = [newValue]; + } + } else { + if (!(obj[key] instanceof Array)) { + obj[key] = [obj[key]]; + } + return obj[key].push(newValue); + } + }; - /***/ 2662: /***/ function (module) { - 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: { - CreateUser: { - http: { method: "PUT", requestUri: "/users/{InstanceId}" }, - input: { - type: "structure", - required: [ - "Username", - "PhoneConfig", - "SecurityProfileIds", - "RoutingProfileId", - "InstanceId", - ], - members: { - Username: {}, - Password: {}, - IdentityInfo: { shape: "S4" }, - PhoneConfig: { shape: "S8" }, - DirectoryUserId: {}, - SecurityProfileIds: { shape: "Se" }, - RoutingProfileId: {}, - HierarchyGroupId: {}, - InstanceId: { location: "uri", locationName: "InstanceId" }, - Tags: { shape: "Sj" }, - }, - }, - output: { type: "structure", members: { UserId: {}, UserArn: {} } }, - }, - 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" }, - }, - }, - }, - 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: "S4" }, - PhoneConfig: { shape: "S8" }, - DirectoryUserId: {}, - SecurityProfileIds: { shape: "Se" }, - RoutingProfileId: {}, - HierarchyGroupId: {}, - Tags: { shape: "Sj" }, - }, - }, - }, - }, - }, - 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: "Sz" }, - LevelTwo: { shape: "Sz" }, - LevelThree: { shape: "Sz" }, - LevelFour: { shape: "Sz" }, - LevelFive: { shape: "Sz" }, - }, - }, - }, - }, - }, - }, - }, - 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: "S13" }, - LevelTwo: { shape: "S13" }, - LevelThree: { shape: "S13" }, - LevelFour: { shape: "S13" }, - LevelFive: { shape: "S13" }, - }, - }, - }, - }, - }, - 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: "S18" } }, - }, - }, - GetCurrentMetricData: { - http: { requestUri: "/metrics/current/{InstanceId}" }, - input: { - type: "structure", - required: ["InstanceId", "Filters", "CurrentMetrics"], - members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - Filters: { shape: "S1c" }, - Groupings: { shape: "S1h" }, - CurrentMetrics: { type: "list", member: { shape: "S1k" } }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - MetricResults: { - type: "list", - member: { - type: "structure", - members: { - Dimensions: { shape: "S1s" }, - Collections: { - type: "list", - member: { - type: "structure", - members: { - Metric: { shape: "S1k" }, - 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: "S21" }, - AccessTokenExpiration: { type: "timestamp" }, - RefreshToken: { shape: "S21" }, - 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: "S1c" }, - Groupings: { shape: "S1h" }, - HistoricalMetrics: { type: "list", member: { shape: "S24" } }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - MetricResults: { - type: "list", - member: { - type: "structure", - members: { - Dimensions: { shape: "S1s" }, - Collections: { - type: "list", - member: { - type: "structure", - members: { - Metric: { shape: "S24" }, - Value: { type: "double" }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - 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: {} }, - }, - }, - 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: {}, - }, - }, - }, - 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: {}, - }, - }, - }, - 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: {}, - }, - }, - }, - 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: {}, - }, - }, - }, - 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: "Sj" } } }, - }, - 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: "Sz" }, - }, - 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: {}, - }, - }, - }, - StartChatContact: { - http: { method: "PUT", requestUri: "/contact/chat" }, - input: { - type: "structure", - required: ["InstanceId", "ContactFlowId", "ParticipantDetails"], - members: { - InstanceId: {}, - ContactFlowId: {}, - Attributes: { shape: "S18" }, - 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: {}, - }, - }, - }, - 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: "S18" }, - }, - }, - output: { type: "structure", members: { ContactId: {} } }, - }, - StopContact: { - http: { requestUri: "/contact/stop" }, - input: { - type: "structure", - required: ["ContactId", "InstanceId"], - members: { ContactId: {}, InstanceId: {} }, - }, - output: { type: "structure", members: {} }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sj" }, - }, - }, - }, - 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: {}, - }, - }, - }, - }, - UpdateContactAttributes: { - http: { requestUri: "/contact/attributes" }, - input: { - type: "structure", - required: ["InitialContactId", "InstanceId", "Attributes"], - members: { - InitialContactId: {}, - InstanceId: {}, - Attributes: { shape: "S18" }, - }, - }, - output: { type: "structure", members: {} }, - }, - 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" }, - }, - }, - }, - UpdateUserIdentityInfo: { - http: { requestUri: "/users/{InstanceId}/{UserId}/identity-info" }, - input: { - type: "structure", - required: ["IdentityInfo", "UserId", "InstanceId"], - members: { - IdentityInfo: { shape: "S4" }, - 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: "S8" }, - 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: "Se" }, - UserId: { location: "uri", locationName: "UserId" }, - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, - }, - }, - }, - shapes: { - S4: { - type: "structure", - members: { FirstName: {}, LastName: {}, Email: {} }, - }, - S8: { - type: "structure", - required: ["PhoneType"], - members: { - PhoneType: {}, - AutoAccept: { type: "boolean" }, - AfterContactWorkTimeLimit: { type: "integer" }, - DeskPhoneNumber: {}, - }, - }, - Se: { type: "list", member: {} }, - Sj: { type: "map", key: {}, value: {} }, - Sz: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } }, - S13: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } }, - S18: { type: "map", key: {}, value: {} }, - S1c: { - type: "structure", - members: { - Queues: { type: "list", member: {} }, - Channels: { type: "list", member: {} }, - }, - }, - S1h: { type: "list", member: {} }, - S1k: { type: "structure", members: { Name: {}, Unit: {} } }, - S1s: { - type: "structure", - members: { - Queue: { type: "structure", members: { Id: {}, Arn: {} } }, - Channel: {}, - }, - }, - S21: { type: "string", sensitive: true }, - S24: { - type: "structure", - members: { - Name: {}, - Threshold: { - type: "structure", - members: { Comparison: {}, ThresholdValue: { type: "double" } }, - }, - Statistic: {}, - Unit: {}, - }, - }, - }, - }; + Parser.prototype.reset = function() { + var attrkey, charkey, ontext, stack; + this.removeAllListeners(); + this.saxParser = sax.parser(this.options.strict, { + trim: false, + normalize: false, + xmlns: this.options.xmlns + }); + this.saxParser.errThrown = false; + this.saxParser.onerror = (function(_this) { + return function(error) { + _this.saxParser.resume(); + if (!_this.saxParser.errThrown) { + _this.saxParser.errThrown = true; + return _this.emit("error", error); + } + }; + })(this); + this.saxParser.onend = (function(_this) { + return function() { + if (!_this.saxParser.ended) { + _this.saxParser.ended = true; + return _this.emit("end", _this.resultObject); + } + }; + })(this); + this.saxParser.ended = false; + this.EXPLICIT_CHARKEY = this.options.explicitCharkey; + this.resultObject = null; + stack = []; + attrkey = this.options.attrkey; + charkey = this.options.charkey; + this.saxParser.onopentag = (function(_this) { + return function(node) { + var key, newValue, obj, processedKey, ref; + obj = {}; + obj[charkey] = ""; + if (!_this.options.ignoreAttrs) { + ref = node.attributes; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + if (!(attrkey in obj) && !_this.options.mergeAttrs) { + obj[attrkey] = {}; + } + newValue = _this.options.attrValueProcessors ? processItem(_this.options.attrValueProcessors, node.attributes[key], key) : node.attributes[key]; + processedKey = _this.options.attrNameProcessors ? processItem(_this.options.attrNameProcessors, key) : key; + if (_this.options.mergeAttrs) { + _this.assignOrPush(obj, processedKey, newValue); + } else { + obj[attrkey][processedKey] = newValue; + } + } + } + obj["#name"] = _this.options.tagNameProcessors ? processItem(_this.options.tagNameProcessors, node.name) : node.name; + if (_this.options.xmlns) { + obj[_this.options.xmlnskey] = { + uri: node.uri, + local: node.local + }; + } + return stack.push(obj); + }; + })(this); + this.saxParser.onclosetag = (function(_this) { + return function() { + var cdata, emptyStr, key, node, nodeName, obj, objClone, old, s, xpath; + obj = stack.pop(); + nodeName = obj["#name"]; + if (!_this.options.explicitChildren || !_this.options.preserveChildrenOrder) { + delete obj["#name"]; + } + if (obj.cdata === true) { + cdata = obj.cdata; + delete obj.cdata; + } + s = stack[stack.length - 1]; + if (obj[charkey].match(/^\s*$/) && !cdata) { + emptyStr = obj[charkey]; + delete obj[charkey]; + } else { + if (_this.options.trim) { + obj[charkey] = obj[charkey].trim(); + } + if (_this.options.normalize) { + obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim(); + } + obj[charkey] = _this.options.valueProcessors ? processItem(_this.options.valueProcessors, obj[charkey], nodeName) : obj[charkey]; + if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { + obj = obj[charkey]; + } + } + if (isEmpty(obj)) { + obj = _this.options.emptyTag !== '' ? _this.options.emptyTag : emptyStr; + } + if (_this.options.validator != null) { + xpath = "/" + ((function() { + var i, len, results; + results = []; + for (i = 0, len = stack.length; i < len; i++) { + node = stack[i]; + results.push(node["#name"]); + } + return results; + })()).concat(nodeName).join("/"); + (function() { + var err; + try { + return obj = _this.options.validator(xpath, s && s[nodeName], obj); + } catch (error1) { + err = error1; + return _this.emit("error", err); + } + })(); + } + if (_this.options.explicitChildren && !_this.options.mergeAttrs && typeof obj === 'object') { + if (!_this.options.preserveChildrenOrder) { + node = {}; + if (_this.options.attrkey in obj) { + node[_this.options.attrkey] = obj[_this.options.attrkey]; + delete obj[_this.options.attrkey]; + } + if (!_this.options.charsAsChildren && _this.options.charkey in obj) { + node[_this.options.charkey] = obj[_this.options.charkey]; + delete obj[_this.options.charkey]; + } + if (Object.getOwnPropertyNames(obj).length > 0) { + node[_this.options.childkey] = obj; + } + obj = node; + } else if (s) { + s[_this.options.childkey] = s[_this.options.childkey] || []; + objClone = {}; + for (key in obj) { + if (!hasProp.call(obj, key)) continue; + objClone[key] = obj[key]; + } + s[_this.options.childkey].push(objClone); + delete obj["#name"]; + if (Object.keys(obj).length === 1 && charkey in obj && !_this.EXPLICIT_CHARKEY) { + obj = obj[charkey]; + } + } + } + if (stack.length > 0) { + return _this.assignOrPush(s, nodeName, obj); + } else { + if (_this.options.explicitRoot) { + old = obj; + obj = {}; + obj[nodeName] = old; + } + _this.resultObject = obj; + _this.saxParser.ended = true; + return _this.emit("end", _this.resultObject); + } + }; + })(this); + ontext = (function(_this) { + return function(text) { + var charChild, s; + s = stack[stack.length - 1]; + if (s) { + s[charkey] += text; + if (_this.options.explicitChildren && _this.options.preserveChildrenOrder && _this.options.charsAsChildren && (_this.options.includeWhiteChars || text.replace(/\\n/g, '').trim() !== '')) { + s[_this.options.childkey] = s[_this.options.childkey] || []; + charChild = { + '#name': '__text__' + }; + charChild[charkey] = text; + if (_this.options.normalize) { + charChild[charkey] = charChild[charkey].replace(/\s{2,}/g, " ").trim(); + } + s[_this.options.childkey].push(charChild); + } + return s; + } + }; + })(this); + this.saxParser.ontext = ontext; + return this.saxParser.oncdata = (function(_this) { + return function(text) { + var s; + s = ontext(text); + if (s) { + return s.cdata = true; + } + }; + })(this); + }; + + Parser.prototype.parseString = function(str, cb) { + var err; + if ((cb != null) && typeof cb === "function") { + this.on("end", function(result) { + this.reset(); + return cb(null, result); + }); + this.on("error", function(err) { + this.reset(); + return cb(err); + }); + } + try { + str = str.toString(); + if (str.trim() === '') { + this.emit("end", null); + return true; + } + str = bom.stripBOM(str); + if (this.options.async) { + this.remaining = str; + setImmediate(this.processAsync); + return this.saxParser; + } + return this.saxParser.write(str).close(); + } catch (error1) { + err = error1; + if (!(this.saxParser.errThrown || this.saxParser.ended)) { + this.emit('error', err); + return this.saxParser.errThrown = true; + } else if (this.saxParser.ended) { + throw err; + } + } + }; - /***/ - }, + return Parser; - /***/ 2667: /***/ function (module) { - module.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: {} }, - }, - }; + })(events.EventEmitter); - /***/ - }, + exports.parseString = function(str, a, b) { + var cb, options, parser; + if (b != null) { + if (typeof b === 'function') { + cb = b; + } + if (typeof a === 'object') { + options = a; + } + } else { + if (typeof a === 'function') { + cb = a; + } + options = {}; + } + parser = new exports.Parser(options); + return parser.parseString(str, cb); + }; - /***/ 2673: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["servicecatalog"] = {}; - AWS.ServiceCatalog = Service.defineService("servicecatalog", [ - "2015-12-10", - ]); - Object.defineProperty( - apiLoader.services["servicecatalog"], - "2015-12-10", - { - get: function get() { - var model = __webpack_require__(4008); - model.paginators = __webpack_require__(1656).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +}).call(this); - module.exports = AWS.ServiceCatalog; - /***/ - }, +/***/ }), - /***/ 2674: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = authenticate; +/***/ 1890: +/***/ (function(module) { - const { Deprecation } = __webpack_require__(7692); - const once = __webpack_require__(6049); +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-01-12","endpointPrefix":"dlm","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon DLM","serviceFullName":"Amazon Data Lifecycle Manager","serviceId":"DLM","signatureVersion":"v4","signingName":"dlm","uid":"dlm-2018-01-12"},"operations":{"CreateLifecyclePolicy":{"http":{"requestUri":"/policies"},"input":{"type":"structure","required":["ExecutionRoleArn","Description","State","PolicyDetails"],"members":{"ExecutionRoleArn":{},"Description":{},"State":{},"PolicyDetails":{"shape":"S5"},"Tags":{"shape":"S1l"}}},"output":{"type":"structure","members":{"PolicyId":{}}}},"DeleteLifecyclePolicy":{"http":{"method":"DELETE","requestUri":"/policies/{policyId}/"},"input":{"type":"structure","required":["PolicyId"],"members":{"PolicyId":{"location":"uri","locationName":"policyId"}}},"output":{"type":"structure","members":{}}},"GetLifecyclePolicies":{"http":{"method":"GET","requestUri":"/policies"},"input":{"type":"structure","members":{"PolicyIds":{"location":"querystring","locationName":"policyIds","type":"list","member":{}},"State":{"location":"querystring","locationName":"state"},"ResourceTypes":{"shape":"S7","location":"querystring","locationName":"resourceTypes"},"TargetTags":{"location":"querystring","locationName":"targetTags","type":"list","member":{}},"TagsToAdd":{"location":"querystring","locationName":"tagsToAdd","type":"list","member":{}}}},"output":{"type":"structure","members":{"Policies":{"type":"list","member":{"type":"structure","members":{"PolicyId":{},"Description":{},"State":{},"Tags":{"shape":"S1l"},"PolicyType":{}}}}}}},"GetLifecyclePolicy":{"http":{"method":"GET","requestUri":"/policies/{policyId}/"},"input":{"type":"structure","required":["PolicyId"],"members":{"PolicyId":{"location":"uri","locationName":"policyId"}}},"output":{"type":"structure","members":{"Policy":{"type":"structure","members":{"PolicyId":{},"Description":{},"State":{},"StatusMessage":{},"ExecutionRoleArn":{},"DateCreated":{"shape":"S25"},"DateModified":{"shape":"S25"},"PolicyDetails":{"shape":"S5"},"Tags":{"shape":"S1l"},"PolicyArn":{}}}}}},"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"}}}},"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":{}}},"UpdateLifecyclePolicy":{"http":{"method":"PATCH","requestUri":"/policies/{policyId}"},"input":{"type":"structure","required":["PolicyId"],"members":{"PolicyId":{"location":"uri","locationName":"policyId"},"ExecutionRoleArn":{},"State":{},"Description":{},"PolicyDetails":{"shape":"S5"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"structure","members":{"PolicyType":{},"ResourceTypes":{"shape":"S7"},"TargetTags":{"type":"list","member":{"shape":"Sa"}},"Schedules":{"type":"list","member":{"type":"structure","members":{"Name":{},"CopyTags":{"type":"boolean"},"TagsToAdd":{"type":"list","member":{"shape":"Sa"}},"VariableTags":{"type":"list","member":{"shape":"Sa"}},"CreateRule":{"type":"structure","members":{"Interval":{"type":"integer"},"IntervalUnit":{},"Times":{"type":"list","member":{}},"CronExpression":{}}},"RetainRule":{"type":"structure","members":{"Count":{"type":"integer"},"Interval":{"type":"integer"},"IntervalUnit":{}}},"FastRestoreRule":{"type":"structure","required":["AvailabilityZones"],"members":{"Count":{"type":"integer"},"Interval":{"type":"integer"},"IntervalUnit":{},"AvailabilityZones":{"type":"list","member":{}}}},"CrossRegionCopyRules":{"type":"list","member":{"type":"structure","required":["TargetRegion","Encrypted"],"members":{"TargetRegion":{},"Encrypted":{"type":"boolean"},"CmkArn":{},"CopyTags":{"type":"boolean"},"RetainRule":{"shape":"S10"}}}},"ShareRules":{"type":"list","member":{"type":"structure","required":["TargetAccounts"],"members":{"TargetAccounts":{"type":"list","member":{}},"UnshareInterval":{"type":"integer"},"UnshareIntervalUnit":{}}}}}}},"Parameters":{"type":"structure","members":{"ExcludeBootVolume":{"type":"boolean"},"NoReboot":{"type":"boolean"}}},"EventSource":{"type":"structure","required":["Type"],"members":{"Type":{},"Parameters":{"type":"structure","required":["EventType","SnapshotOwner","DescriptionRegex"],"members":{"EventType":{},"SnapshotOwner":{"type":"list","member":{}},"DescriptionRegex":{}}}}},"Actions":{"type":"list","member":{"type":"structure","required":["Name","CrossRegionCopy"],"members":{"Name":{},"CrossRegionCopy":{"type":"list","member":{"type":"structure","required":["Target","EncryptionConfiguration"],"members":{"Target":{},"EncryptionConfiguration":{"type":"structure","required":["Encrypted"],"members":{"Encrypted":{"type":"boolean"},"CmkArn":{}}},"RetainRule":{"shape":"S10"}}}}}}}}},"S7":{"type":"list","member":{}},"Sa":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}},"S10":{"type":"structure","members":{"Interval":{"type":"integer"},"IntervalUnit":{}}},"S1l":{"type":"map","key":{},"value":{}},"S25":{"type":"timestamp","timestampFormat":"iso8601"}}}; - const deprecateAuthenticate = once((log, deprecation) => - log.warn(deprecation) - ); +/***/ }), - function authenticate(state, options) { - deprecateAuthenticate( - state.octokit.log, - new Deprecation( - '[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.' - ) - ); +/***/ 1894: +/***/ (function(module) { - if (!options) { - state.auth = false; - return; - } +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},"CreateBackup":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"Backup":{"shape":"Sk"}}},"idempotent":true},"CreateDataRepositoryTask":{"input":{"type":"structure","required":["Type","FileSystemId","Report"],"members":{"Type":{},"Paths":{"shape":"S28"},"FileSystemId":{},"Report":{"shape":"S2a"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"DataRepositoryTask":{"shape":"S2e"}}},"idempotent":true},"CreateFileSystem":{"input":{"type":"structure","required":["FileSystemType","StorageCapacity","SubnetIds"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemType":{},"StorageCapacity":{"type":"integer"},"StorageType":{},"SubnetIds":{"shape":"S12"},"SecurityGroupIds":{"shape":"S2o"},"Tags":{"shape":"Sf"},"KmsKeyId":{},"WindowsConfiguration":{"shape":"S2q"},"LustreConfiguration":{"shape":"S2t"}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Su"}}}},"CreateFileSystemFromBackup":{"input":{"type":"structure","required":["BackupId","SubnetIds"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"SubnetIds":{"shape":"S12"},"SecurityGroupIds":{"shape":"S2o"},"Tags":{"shape":"Sf"},"WindowsConfiguration":{"shape":"S2q"},"LustreConfiguration":{"shape":"S2t"},"StorageType":{}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Su"}}}},"DeleteBackup":{"input":{"type":"structure","required":["BackupId"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"BackupId":{},"Lifecycle":{}}},"idempotent":true},"DeleteFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"WindowsConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sf"}}},"LustreConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sf"}}}}},"output":{"type":"structure","members":{"FileSystemId":{},"Lifecycle":{},"WindowsResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sf"}}},"LustreResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sf"}}}}},"idempotent":true},"DescribeBackups":{"input":{"type":"structure","members":{"BackupIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Backups":{"type":"list","member":{"shape":"Sk"}},"NextToken":{}}}},"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":"S2e"}},"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":"Su"}},"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":"Sf"},"NextToken":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"Sf"}}},"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},"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":{"type":"structure","members":{"UserName":{},"Password":{"shape":"S2s"},"DnsIps":{"shape":"S1e"}}}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"AutoImportPolicy":{}}}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Su"}}}}},"shapes":{"S4":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"Name":{},"Lifecycle":{}}}},"Sf":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sk":{"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":"Sf"},"FileSystem":{"shape":"Su"},"DirectoryInformation":{"type":"structure","members":{"DomainName":{},"ActiveDirectoryId":{}}}}},"Su":{"type":"structure","members":{"OwnerId":{},"CreationTime":{"type":"timestamp"},"FileSystemId":{},"FileSystemType":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"StorageCapacity":{"type":"integer"},"StorageType":{},"VpcId":{},"SubnetIds":{"shape":"S12"},"NetworkInterfaceIds":{"type":"list","member":{}},"DNSName":{},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sf"},"WindowsConfiguration":{"type":"structure","members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"type":"structure","members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"DnsIps":{"shape":"S1e"}}},"DeploymentType":{},"RemoteAdministrationEndpoint":{},"PreferredSubnetId":{},"PreferredFileServerIp":{},"ThroughputCapacity":{"type":"integer"},"MaintenanceOperationsInProgress":{"type":"list","member":{}},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S7"}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DataRepositoryConfiguration":{"type":"structure","members":{"Lifecycle":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"AutoImportPolicy":{},"FailureDetails":{"type":"structure","members":{"Message":{}}}}},"DeploymentType":{},"PerUnitStorageThroughput":{"type":"integer"},"MountName":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{}}},"AdministrativeActions":{"type":"list","member":{"type":"structure","members":{"AdministrativeActionType":{},"ProgressPercent":{"type":"integer"},"RequestTime":{"type":"timestamp"},"Status":{},"TargetFileSystemValues":{"shape":"Su"},"FailureDetails":{"type":"structure","members":{"Message":{}}}}}}}},"S12":{"type":"list","member":{}},"S1e":{"type":"list","member":{}},"S28":{"type":"list","member":{}},"S2a":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"},"Path":{},"Format":{},"Scope":{}}},"S2e":{"type":"structure","required":["TaskId","Lifecycle","Type","CreationTime","FileSystemId"],"members":{"TaskId":{},"Lifecycle":{},"Type":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"ResourceARN":{},"Tags":{"shape":"Sf"},"FileSystemId":{},"Paths":{"shape":"S28"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Status":{"type":"structure","members":{"TotalCount":{"type":"long"},"SucceededCount":{"type":"long"},"FailedCount":{"type":"long"},"LastUpdatedTime":{"type":"timestamp"}}},"Report":{"shape":"S2a"}}},"S2o":{"type":"list","member":{}},"S2q":{"type":"structure","required":["ThroughputCapacity"],"members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"type":"structure","required":["DomainName","UserName","Password","DnsIps"],"members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"Password":{"shape":"S2s"},"DnsIps":{"shape":"S1e"}}},"DeploymentType":{},"PreferredSubnetId":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S4"}}},"S2s":{"type":"string","sensitive":true},"S2t":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"DeploymentType":{},"AutoImportPolicy":{},"PerUnitStorageThroughput":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{}}}}}; - switch (options.type) { - case "basic": - if (!options.username || !options.password) { - throw new Error( - "Basic authentication requires both a username and password to be set" - ); - } - break; +/***/ }), - case "oauth": - if (!options.token && !(options.key && options.secret)) { - throw new Error( - "OAuth2 authentication requires a token or key & secret to be set" - ); - } - break; +/***/ 1904: +/***/ (function(module) { - case "token": - case "app": - if (!options.token) { - throw new Error( - "Token authentication requires a token to be set" - ); - } - break; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2012-08-10","endpointPrefix":"dynamodb","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"DynamoDB","serviceFullName":"Amazon DynamoDB","serviceId":"DynamoDB","signatureVersion":"v4","targetPrefix":"DynamoDB_20120810","uid":"dynamodb-2012-08-10"},"operations":{"BatchExecuteStatement":{"input":{"type":"structure","required":["Statements"],"members":{"Statements":{"type":"list","member":{"type":"structure","required":["Statement"],"members":{"Statement":{},"Parameters":{"shape":"S5"},"ConsistentRead":{"type":"boolean"}}}}}},"output":{"type":"structure","members":{"Responses":{"type":"list","member":{"type":"structure","members":{"Error":{"type":"structure","members":{"Code":{},"Message":{}}},"TableName":{},"Item":{"shape":"Sq"}}}}}}},"BatchGetItem":{"input":{"type":"structure","required":["RequestItems"],"members":{"RequestItems":{"shape":"Ss"},"ReturnConsumedCapacity":{}}},"output":{"type":"structure","members":{"Responses":{"type":"map","key":{},"value":{"shape":"S13"}},"UnprocessedKeys":{"shape":"Ss"},"ConsumedCapacity":{"shape":"S14"}}},"endpointdiscovery":{}},"BatchWriteItem":{"input":{"type":"structure","required":["RequestItems"],"members":{"RequestItems":{"shape":"S1b"},"ReturnConsumedCapacity":{},"ReturnItemCollectionMetrics":{}}},"output":{"type":"structure","members":{"UnprocessedItems":{"shape":"S1b"},"ItemCollectionMetrics":{"shape":"S1j"},"ConsumedCapacity":{"shape":"S14"}}},"endpointdiscovery":{}},"CreateBackup":{"input":{"type":"structure","required":["TableName","BackupName"],"members":{"TableName":{},"BackupName":{}}},"output":{"type":"structure","members":{"BackupDetails":{"shape":"S1s"}}},"endpointdiscovery":{}},"CreateGlobalTable":{"input":{"type":"structure","required":["GlobalTableName","ReplicationGroup"],"members":{"GlobalTableName":{},"ReplicationGroup":{"shape":"S20"}}},"output":{"type":"structure","members":{"GlobalTableDescription":{"shape":"S24"}}},"endpointdiscovery":{}},"CreateTable":{"input":{"type":"structure","required":["AttributeDefinitions","TableName","KeySchema"],"members":{"AttributeDefinitions":{"shape":"S2i"},"TableName":{},"KeySchema":{"shape":"S2m"},"LocalSecondaryIndexes":{"shape":"S2p"},"GlobalSecondaryIndexes":{"shape":"S2v"},"BillingMode":{},"ProvisionedThroughput":{"shape":"S2x"},"StreamSpecification":{"shape":"S2z"},"SSESpecification":{"shape":"S32"},"Tags":{"shape":"S35"}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S3a"}}},"endpointdiscovery":{}},"DeleteBackup":{"input":{"type":"structure","required":["BackupArn"],"members":{"BackupArn":{}}},"output":{"type":"structure","members":{"BackupDescription":{"shape":"S3y"}}},"endpointdiscovery":{}},"DeleteItem":{"input":{"type":"structure","required":["TableName","Key"],"members":{"TableName":{},"Key":{"shape":"Sv"},"Expected":{"shape":"S4b"},"ConditionalOperator":{},"ReturnValues":{},"ReturnConsumedCapacity":{},"ReturnItemCollectionMetrics":{},"ConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"Sq"},"ConsumedCapacity":{"shape":"S15"},"ItemCollectionMetrics":{"shape":"S1l"}}},"endpointdiscovery":{}},"DeleteTable":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S3a"}}},"endpointdiscovery":{}},"DescribeBackup":{"input":{"type":"structure","required":["BackupArn"],"members":{"BackupArn":{}}},"output":{"type":"structure","members":{"BackupDescription":{"shape":"S3y"}}},"endpointdiscovery":{}},"DescribeContinuousBackups":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"ContinuousBackupsDescription":{"shape":"S4s"}}},"endpointdiscovery":{}},"DescribeContributorInsights":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{},"IndexName":{}}},"output":{"type":"structure","members":{"TableName":{},"IndexName":{},"ContributorInsightsRuleList":{"type":"list","member":{}},"ContributorInsightsStatus":{},"LastUpdateDateTime":{"type":"timestamp"},"FailureException":{"type":"structure","members":{"ExceptionName":{},"ExceptionDescription":{}}}}}},"DescribeEndpoints":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["Endpoints"],"members":{"Endpoints":{"type":"list","member":{"type":"structure","required":["Address","CachePeriodInMinutes"],"members":{"Address":{},"CachePeriodInMinutes":{"type":"long"}}}}}},"endpointoperation":true},"DescribeExport":{"input":{"type":"structure","required":["ExportArn"],"members":{"ExportArn":{}}},"output":{"type":"structure","members":{"ExportDescription":{"shape":"S5c"}}}},"DescribeGlobalTable":{"input":{"type":"structure","required":["GlobalTableName"],"members":{"GlobalTableName":{}}},"output":{"type":"structure","members":{"GlobalTableDescription":{"shape":"S24"}}},"endpointdiscovery":{}},"DescribeGlobalTableSettings":{"input":{"type":"structure","required":["GlobalTableName"],"members":{"GlobalTableName":{}}},"output":{"type":"structure","members":{"GlobalTableName":{},"ReplicaSettings":{"shape":"S5w"}}},"endpointdiscovery":{}},"DescribeKinesisStreamingDestination":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"TableName":{},"KinesisDataStreamDestinations":{"type":"list","member":{"type":"structure","members":{"StreamArn":{},"DestinationStatus":{},"DestinationStatusDescription":{}}}}}},"endpointdiscovery":{}},"DescribeLimits":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"AccountMaxReadCapacityUnits":{"type":"long"},"AccountMaxWriteCapacityUnits":{"type":"long"},"TableMaxReadCapacityUnits":{"type":"long"},"TableMaxWriteCapacityUnits":{"type":"long"}}},"endpointdiscovery":{}},"DescribeTable":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"Table":{"shape":"S3a"}}},"endpointdiscovery":{}},"DescribeTableReplicaAutoScaling":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"TableAutoScalingDescription":{"shape":"S6i"}}}},"DescribeTimeToLive":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{}}},"output":{"type":"structure","members":{"TimeToLiveDescription":{"shape":"S47"}}},"endpointdiscovery":{}},"DisableKinesisStreamingDestination":{"input":{"shape":"S6p"},"output":{"shape":"S6q"},"endpointdiscovery":{}},"EnableKinesisStreamingDestination":{"input":{"shape":"S6p"},"output":{"shape":"S6q"},"endpointdiscovery":{}},"ExecuteStatement":{"input":{"type":"structure","required":["Statement"],"members":{"Statement":{},"Parameters":{"shape":"S5"},"ConsistentRead":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"Items":{"shape":"S13"},"NextToken":{}}}},"ExecuteTransaction":{"input":{"type":"structure","required":["TransactStatements"],"members":{"TransactStatements":{"type":"list","member":{"type":"structure","required":["Statement"],"members":{"Statement":{},"Parameters":{"shape":"S5"}}}},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Responses":{"shape":"S6z"}}}},"ExportTableToPointInTime":{"input":{"type":"structure","required":["TableArn","S3Bucket"],"members":{"TableArn":{},"ExportTime":{"type":"timestamp"},"ClientToken":{"idempotencyToken":true},"S3Bucket":{},"S3BucketOwner":{},"S3Prefix":{},"S3SseAlgorithm":{},"S3SseKmsKeyId":{},"ExportFormat":{}}},"output":{"type":"structure","members":{"ExportDescription":{"shape":"S5c"}}}},"GetItem":{"input":{"type":"structure","required":["TableName","Key"],"members":{"TableName":{},"Key":{"shape":"Sv"},"AttributesToGet":{"shape":"Sw"},"ConsistentRead":{"type":"boolean"},"ReturnConsumedCapacity":{},"ProjectionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"}}},"output":{"type":"structure","members":{"Item":{"shape":"Sq"},"ConsumedCapacity":{"shape":"S15"}}},"endpointdiscovery":{}},"ListBackups":{"input":{"type":"structure","members":{"TableName":{},"Limit":{"type":"integer"},"TimeRangeLowerBound":{"type":"timestamp"},"TimeRangeUpperBound":{"type":"timestamp"},"ExclusiveStartBackupArn":{},"BackupType":{}}},"output":{"type":"structure","members":{"BackupSummaries":{"type":"list","member":{"type":"structure","members":{"TableName":{},"TableId":{},"TableArn":{},"BackupArn":{},"BackupName":{},"BackupCreationDateTime":{"type":"timestamp"},"BackupExpiryDateTime":{"type":"timestamp"},"BackupStatus":{},"BackupType":{},"BackupSizeBytes":{"type":"long"}}}},"LastEvaluatedBackupArn":{}}},"endpointdiscovery":{}},"ListContributorInsights":{"input":{"type":"structure","members":{"TableName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ContributorInsightsSummaries":{"type":"list","member":{"type":"structure","members":{"TableName":{},"IndexName":{},"ContributorInsightsStatus":{}}}},"NextToken":{}}}},"ListExports":{"input":{"type":"structure","members":{"TableArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ExportSummaries":{"type":"list","member":{"type":"structure","members":{"ExportArn":{},"ExportStatus":{}}}},"NextToken":{}}}},"ListGlobalTables":{"input":{"type":"structure","members":{"ExclusiveStartGlobalTableName":{},"Limit":{"type":"integer"},"RegionName":{}}},"output":{"type":"structure","members":{"GlobalTables":{"type":"list","member":{"type":"structure","members":{"GlobalTableName":{},"ReplicationGroup":{"shape":"S20"}}}},"LastEvaluatedGlobalTableName":{}}},"endpointdiscovery":{}},"ListTables":{"input":{"type":"structure","members":{"ExclusiveStartTableName":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"TableNames":{"type":"list","member":{}},"LastEvaluatedTableName":{}}},"endpointdiscovery":{}},"ListTagsOfResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"NextToken":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S35"},"NextToken":{}}},"endpointdiscovery":{}},"PutItem":{"input":{"type":"structure","required":["TableName","Item"],"members":{"TableName":{},"Item":{"shape":"S1f"},"Expected":{"shape":"S4b"},"ReturnValues":{},"ReturnConsumedCapacity":{},"ReturnItemCollectionMetrics":{},"ConditionalOperator":{},"ConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"Sq"},"ConsumedCapacity":{"shape":"S15"},"ItemCollectionMetrics":{"shape":"S1l"}}},"endpointdiscovery":{}},"Query":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{},"IndexName":{},"Select":{},"AttributesToGet":{"shape":"Sw"},"Limit":{"type":"integer"},"ConsistentRead":{"type":"boolean"},"KeyConditions":{"type":"map","key":{},"value":{"shape":"S86"}},"QueryFilter":{"shape":"S87"},"ConditionalOperator":{},"ScanIndexForward":{"type":"boolean"},"ExclusiveStartKey":{"shape":"Sv"},"ReturnConsumedCapacity":{},"ProjectionExpression":{},"FilterExpression":{},"KeyConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"}}},"output":{"type":"structure","members":{"Items":{"shape":"S13"},"Count":{"type":"integer"},"ScannedCount":{"type":"integer"},"LastEvaluatedKey":{"shape":"Sv"},"ConsumedCapacity":{"shape":"S15"}}},"endpointdiscovery":{}},"RestoreTableFromBackup":{"input":{"type":"structure","required":["TargetTableName","BackupArn"],"members":{"TargetTableName":{},"BackupArn":{},"BillingModeOverride":{},"GlobalSecondaryIndexOverride":{"shape":"S2v"},"LocalSecondaryIndexOverride":{"shape":"S2p"},"ProvisionedThroughputOverride":{"shape":"S2x"},"SSESpecificationOverride":{"shape":"S32"}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S3a"}}},"endpointdiscovery":{}},"RestoreTableToPointInTime":{"input":{"type":"structure","required":["TargetTableName"],"members":{"SourceTableArn":{},"SourceTableName":{},"TargetTableName":{},"UseLatestRestorableTime":{"type":"boolean"},"RestoreDateTime":{"type":"timestamp"},"BillingModeOverride":{},"GlobalSecondaryIndexOverride":{"shape":"S2v"},"LocalSecondaryIndexOverride":{"shape":"S2p"},"ProvisionedThroughputOverride":{"shape":"S2x"},"SSESpecificationOverride":{"shape":"S32"}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S3a"}}},"endpointdiscovery":{}},"Scan":{"input":{"type":"structure","required":["TableName"],"members":{"TableName":{},"IndexName":{},"AttributesToGet":{"shape":"Sw"},"Limit":{"type":"integer"},"Select":{},"ScanFilter":{"shape":"S87"},"ConditionalOperator":{},"ExclusiveStartKey":{"shape":"Sv"},"ReturnConsumedCapacity":{},"TotalSegments":{"type":"integer"},"Segment":{"type":"integer"},"ProjectionExpression":{},"FilterExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"},"ConsistentRead":{"type":"boolean"}}},"output":{"type":"structure","members":{"Items":{"shape":"S13"},"Count":{"type":"integer"},"ScannedCount":{"type":"integer"},"LastEvaluatedKey":{"shape":"Sv"},"ConsumedCapacity":{"shape":"S15"}}},"endpointdiscovery":{}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S35"}}},"endpointdiscovery":{}},"TransactGetItems":{"input":{"type":"structure","required":["TransactItems"],"members":{"TransactItems":{"type":"list","member":{"type":"structure","required":["Get"],"members":{"Get":{"type":"structure","required":["Key","TableName"],"members":{"Key":{"shape":"Sv"},"TableName":{},"ProjectionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"}}}}}},"ReturnConsumedCapacity":{}}},"output":{"type":"structure","members":{"ConsumedCapacity":{"shape":"S14"},"Responses":{"shape":"S6z"}}},"endpointdiscovery":{}},"TransactWriteItems":{"input":{"type":"structure","required":["TransactItems"],"members":{"TransactItems":{"type":"list","member":{"type":"structure","members":{"ConditionCheck":{"type":"structure","required":["Key","TableName","ConditionExpression"],"members":{"Key":{"shape":"Sv"},"TableName":{},"ConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"},"ReturnValuesOnConditionCheckFailure":{}}},"Put":{"type":"structure","required":["Item","TableName"],"members":{"Item":{"shape":"S1f"},"TableName":{},"ConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"},"ReturnValuesOnConditionCheckFailure":{}}},"Delete":{"type":"structure","required":["Key","TableName"],"members":{"Key":{"shape":"Sv"},"TableName":{},"ConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"},"ReturnValuesOnConditionCheckFailure":{}}},"Update":{"type":"structure","required":["Key","UpdateExpression","TableName"],"members":{"Key":{"shape":"Sv"},"UpdateExpression":{},"TableName":{},"ConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"},"ReturnValuesOnConditionCheckFailure":{}}}}}},"ReturnConsumedCapacity":{},"ReturnItemCollectionMetrics":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"ConsumedCapacity":{"shape":"S14"},"ItemCollectionMetrics":{"shape":"S1j"}}},"endpointdiscovery":{}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"endpointdiscovery":{}},"UpdateContinuousBackups":{"input":{"type":"structure","required":["TableName","PointInTimeRecoverySpecification"],"members":{"TableName":{},"PointInTimeRecoverySpecification":{"type":"structure","required":["PointInTimeRecoveryEnabled"],"members":{"PointInTimeRecoveryEnabled":{"type":"boolean"}}}}},"output":{"type":"structure","members":{"ContinuousBackupsDescription":{"shape":"S4s"}}},"endpointdiscovery":{}},"UpdateContributorInsights":{"input":{"type":"structure","required":["TableName","ContributorInsightsAction"],"members":{"TableName":{},"IndexName":{},"ContributorInsightsAction":{}}},"output":{"type":"structure","members":{"TableName":{},"IndexName":{},"ContributorInsightsStatus":{}}}},"UpdateGlobalTable":{"input":{"type":"structure","required":["GlobalTableName","ReplicaUpdates"],"members":{"GlobalTableName":{},"ReplicaUpdates":{"type":"list","member":{"type":"structure","members":{"Create":{"type":"structure","required":["RegionName"],"members":{"RegionName":{}}},"Delete":{"type":"structure","required":["RegionName"],"members":{"RegionName":{}}}}}}}},"output":{"type":"structure","members":{"GlobalTableDescription":{"shape":"S24"}}},"endpointdiscovery":{}},"UpdateGlobalTableSettings":{"input":{"type":"structure","required":["GlobalTableName"],"members":{"GlobalTableName":{},"GlobalTableBillingMode":{},"GlobalTableProvisionedWriteCapacityUnits":{"type":"long"},"GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate":{"shape":"S9e"},"GlobalTableGlobalSecondaryIndexSettingsUpdate":{"type":"list","member":{"type":"structure","required":["IndexName"],"members":{"IndexName":{},"ProvisionedWriteCapacityUnits":{"type":"long"},"ProvisionedWriteCapacityAutoScalingSettingsUpdate":{"shape":"S9e"}}}},"ReplicaSettingsUpdate":{"type":"list","member":{"type":"structure","required":["RegionName"],"members":{"RegionName":{},"ReplicaProvisionedReadCapacityUnits":{"type":"long"},"ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate":{"shape":"S9e"},"ReplicaGlobalSecondaryIndexSettingsUpdate":{"type":"list","member":{"type":"structure","required":["IndexName"],"members":{"IndexName":{},"ProvisionedReadCapacityUnits":{"type":"long"},"ProvisionedReadCapacityAutoScalingSettingsUpdate":{"shape":"S9e"}}}}}}}}},"output":{"type":"structure","members":{"GlobalTableName":{},"ReplicaSettings":{"shape":"S5w"}}},"endpointdiscovery":{}},"UpdateItem":{"input":{"type":"structure","required":["TableName","Key"],"members":{"TableName":{},"Key":{"shape":"Sv"},"AttributeUpdates":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{"shape":"S6"},"Action":{}}}},"Expected":{"shape":"S4b"},"ConditionalOperator":{},"ReturnValues":{},"ReturnConsumedCapacity":{},"ReturnItemCollectionMetrics":{},"UpdateExpression":{},"ConditionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"},"ExpressionAttributeValues":{"shape":"S4j"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"Sq"},"ConsumedCapacity":{"shape":"S15"},"ItemCollectionMetrics":{"shape":"S1l"}}},"endpointdiscovery":{}},"UpdateTable":{"input":{"type":"structure","required":["TableName"],"members":{"AttributeDefinitions":{"shape":"S2i"},"TableName":{},"BillingMode":{},"ProvisionedThroughput":{"shape":"S2x"},"GlobalSecondaryIndexUpdates":{"type":"list","member":{"type":"structure","members":{"Update":{"type":"structure","required":["IndexName","ProvisionedThroughput"],"members":{"IndexName":{},"ProvisionedThroughput":{"shape":"S2x"}}},"Create":{"type":"structure","required":["IndexName","KeySchema","Projection"],"members":{"IndexName":{},"KeySchema":{"shape":"S2m"},"Projection":{"shape":"S2r"},"ProvisionedThroughput":{"shape":"S2x"}}},"Delete":{"type":"structure","required":["IndexName"],"members":{"IndexName":{}}}}}},"StreamSpecification":{"shape":"S2z"},"SSESpecification":{"shape":"S32"},"ReplicaUpdates":{"type":"list","member":{"type":"structure","members":{"Create":{"type":"structure","required":["RegionName"],"members":{"RegionName":{},"KMSMasterKeyId":{},"ProvisionedThroughputOverride":{"shape":"S2b"},"GlobalSecondaryIndexes":{"shape":"Sa3"}}},"Update":{"type":"structure","required":["RegionName"],"members":{"RegionName":{},"KMSMasterKeyId":{},"ProvisionedThroughputOverride":{"shape":"S2b"},"GlobalSecondaryIndexes":{"shape":"Sa3"}}},"Delete":{"type":"structure","required":["RegionName"],"members":{"RegionName":{}}}}}}}},"output":{"type":"structure","members":{"TableDescription":{"shape":"S3a"}}},"endpointdiscovery":{}},"UpdateTableReplicaAutoScaling":{"input":{"type":"structure","required":["TableName"],"members":{"GlobalSecondaryIndexUpdates":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"ProvisionedWriteCapacityAutoScalingUpdate":{"shape":"S9e"}}}},"TableName":{},"ProvisionedWriteCapacityAutoScalingUpdate":{"shape":"S9e"},"ReplicaUpdates":{"type":"list","member":{"type":"structure","required":["RegionName"],"members":{"RegionName":{},"ReplicaGlobalSecondaryIndexUpdates":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"ProvisionedReadCapacityAutoScalingUpdate":{"shape":"S9e"}}}},"ReplicaProvisionedReadCapacityAutoScalingUpdate":{"shape":"S9e"}}}}}},"output":{"type":"structure","members":{"TableAutoScalingDescription":{"shape":"S6i"}}}},"UpdateTimeToLive":{"input":{"type":"structure","required":["TableName","TimeToLiveSpecification"],"members":{"TableName":{},"TimeToLiveSpecification":{"shape":"Sah"}}},"output":{"type":"structure","members":{"TimeToLiveSpecification":{"shape":"Sah"}}},"endpointdiscovery":{}}},"shapes":{"S5":{"type":"list","member":{"shape":"S6"}},"S6":{"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":"S6"}},"L":{"type":"list","member":{"shape":"S6"}},"NULL":{"type":"boolean"},"BOOL":{"type":"boolean"}}},"Sq":{"type":"map","key":{},"value":{"shape":"S6"}},"Ss":{"type":"map","key":{},"value":{"type":"structure","required":["Keys"],"members":{"Keys":{"type":"list","member":{"shape":"Sv"}},"AttributesToGet":{"shape":"Sw"},"ConsistentRead":{"type":"boolean"},"ProjectionExpression":{},"ExpressionAttributeNames":{"shape":"Sy"}}}},"Sv":{"type":"map","key":{},"value":{"shape":"S6"}},"Sw":{"type":"list","member":{}},"Sy":{"type":"map","key":{},"value":{}},"S13":{"type":"list","member":{"shape":"Sq"}},"S14":{"type":"list","member":{"shape":"S15"}},"S15":{"type":"structure","members":{"TableName":{},"CapacityUnits":{"type":"double"},"ReadCapacityUnits":{"type":"double"},"WriteCapacityUnits":{"type":"double"},"Table":{"shape":"S17"},"LocalSecondaryIndexes":{"shape":"S18"},"GlobalSecondaryIndexes":{"shape":"S18"}}},"S17":{"type":"structure","members":{"ReadCapacityUnits":{"type":"double"},"WriteCapacityUnits":{"type":"double"},"CapacityUnits":{"type":"double"}}},"S18":{"type":"map","key":{},"value":{"shape":"S17"}},"S1b":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","members":{"PutRequest":{"type":"structure","required":["Item"],"members":{"Item":{"shape":"S1f"}}},"DeleteRequest":{"type":"structure","required":["Key"],"members":{"Key":{"shape":"Sv"}}}}}}},"S1f":{"type":"map","key":{},"value":{"shape":"S6"}},"S1j":{"type":"map","key":{},"value":{"type":"list","member":{"shape":"S1l"}}},"S1l":{"type":"structure","members":{"ItemCollectionKey":{"type":"map","key":{},"value":{"shape":"S6"}},"SizeEstimateRangeGB":{"type":"list","member":{"type":"double"}}}},"S1s":{"type":"structure","required":["BackupArn","BackupName","BackupStatus","BackupType","BackupCreationDateTime"],"members":{"BackupArn":{},"BackupName":{},"BackupSizeBytes":{"type":"long"},"BackupStatus":{},"BackupType":{},"BackupCreationDateTime":{"type":"timestamp"},"BackupExpiryDateTime":{"type":"timestamp"}}},"S20":{"type":"list","member":{"type":"structure","members":{"RegionName":{}}}},"S24":{"type":"structure","members":{"ReplicationGroup":{"shape":"S25"},"GlobalTableArn":{},"CreationDateTime":{"type":"timestamp"},"GlobalTableStatus":{},"GlobalTableName":{}}},"S25":{"type":"list","member":{"type":"structure","members":{"RegionName":{},"ReplicaStatus":{},"ReplicaStatusDescription":{},"ReplicaStatusPercentProgress":{},"KMSMasterKeyId":{},"ProvisionedThroughputOverride":{"shape":"S2b"},"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"ProvisionedThroughputOverride":{"shape":"S2b"}}}},"ReplicaInaccessibleDateTime":{"type":"timestamp"}}}},"S2b":{"type":"structure","members":{"ReadCapacityUnits":{"type":"long"}}},"S2i":{"type":"list","member":{"type":"structure","required":["AttributeName","AttributeType"],"members":{"AttributeName":{},"AttributeType":{}}}},"S2m":{"type":"list","member":{"type":"structure","required":["AttributeName","KeyType"],"members":{"AttributeName":{},"KeyType":{}}}},"S2p":{"type":"list","member":{"type":"structure","required":["IndexName","KeySchema","Projection"],"members":{"IndexName":{},"KeySchema":{"shape":"S2m"},"Projection":{"shape":"S2r"}}}},"S2r":{"type":"structure","members":{"ProjectionType":{},"NonKeyAttributes":{"type":"list","member":{}}}},"S2v":{"type":"list","member":{"type":"structure","required":["IndexName","KeySchema","Projection"],"members":{"IndexName":{},"KeySchema":{"shape":"S2m"},"Projection":{"shape":"S2r"},"ProvisionedThroughput":{"shape":"S2x"}}}},"S2x":{"type":"structure","required":["ReadCapacityUnits","WriteCapacityUnits"],"members":{"ReadCapacityUnits":{"type":"long"},"WriteCapacityUnits":{"type":"long"}}},"S2z":{"type":"structure","required":["StreamEnabled"],"members":{"StreamEnabled":{"type":"boolean"},"StreamViewType":{}}},"S32":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SSEType":{},"KMSMasterKeyId":{}}},"S35":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S3a":{"type":"structure","members":{"AttributeDefinitions":{"shape":"S2i"},"TableName":{},"KeySchema":{"shape":"S2m"},"TableStatus":{},"CreationDateTime":{"type":"timestamp"},"ProvisionedThroughput":{"shape":"S3c"},"TableSizeBytes":{"type":"long"},"ItemCount":{"type":"long"},"TableArn":{},"TableId":{},"BillingModeSummary":{"shape":"S3g"},"LocalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"KeySchema":{"shape":"S2m"},"Projection":{"shape":"S2r"},"IndexSizeBytes":{"type":"long"},"ItemCount":{"type":"long"},"IndexArn":{}}}},"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"KeySchema":{"shape":"S2m"},"Projection":{"shape":"S2r"},"IndexStatus":{},"Backfilling":{"type":"boolean"},"ProvisionedThroughput":{"shape":"S3c"},"IndexSizeBytes":{"type":"long"},"ItemCount":{"type":"long"},"IndexArn":{}}}},"StreamSpecification":{"shape":"S2z"},"LatestStreamLabel":{},"LatestStreamArn":{},"GlobalTableVersion":{},"Replicas":{"shape":"S25"},"RestoreSummary":{"type":"structure","required":["RestoreDateTime","RestoreInProgress"],"members":{"SourceBackupArn":{},"SourceTableArn":{},"RestoreDateTime":{"type":"timestamp"},"RestoreInProgress":{"type":"boolean"}}},"SSEDescription":{"shape":"S3r"},"ArchivalSummary":{"type":"structure","members":{"ArchivalDateTime":{"type":"timestamp"},"ArchivalReason":{},"ArchivalBackupArn":{}}}}},"S3c":{"type":"structure","members":{"LastIncreaseDateTime":{"type":"timestamp"},"LastDecreaseDateTime":{"type":"timestamp"},"NumberOfDecreasesToday":{"type":"long"},"ReadCapacityUnits":{"type":"long"},"WriteCapacityUnits":{"type":"long"}}},"S3g":{"type":"structure","members":{"BillingMode":{},"LastUpdateToPayPerRequestDateTime":{"type":"timestamp"}}},"S3r":{"type":"structure","members":{"Status":{},"SSEType":{},"KMSMasterKeyArn":{},"InaccessibleEncryptionDateTime":{"type":"timestamp"}}},"S3y":{"type":"structure","members":{"BackupDetails":{"shape":"S1s"},"SourceTableDetails":{"type":"structure","required":["TableName","TableId","KeySchema","TableCreationDateTime","ProvisionedThroughput"],"members":{"TableName":{},"TableId":{},"TableArn":{},"TableSizeBytes":{"type":"long"},"KeySchema":{"shape":"S2m"},"TableCreationDateTime":{"type":"timestamp"},"ProvisionedThroughput":{"shape":"S2x"},"ItemCount":{"type":"long"},"BillingMode":{}}},"SourceTableFeatureDetails":{"type":"structure","members":{"LocalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"KeySchema":{"shape":"S2m"},"Projection":{"shape":"S2r"}}}},"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"KeySchema":{"shape":"S2m"},"Projection":{"shape":"S2r"},"ProvisionedThroughput":{"shape":"S2x"}}}},"StreamDescription":{"shape":"S2z"},"TimeToLiveDescription":{"shape":"S47"},"SSEDescription":{"shape":"S3r"}}}}},"S47":{"type":"structure","members":{"TimeToLiveStatus":{},"AttributeName":{}}},"S4b":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{"shape":"S6"},"Exists":{"type":"boolean"},"ComparisonOperator":{},"AttributeValueList":{"shape":"S4f"}}}},"S4f":{"type":"list","member":{"shape":"S6"}},"S4j":{"type":"map","key":{},"value":{"shape":"S6"}},"S4s":{"type":"structure","required":["ContinuousBackupsStatus"],"members":{"ContinuousBackupsStatus":{},"PointInTimeRecoveryDescription":{"type":"structure","members":{"PointInTimeRecoveryStatus":{},"EarliestRestorableDateTime":{"type":"timestamp"},"LatestRestorableDateTime":{"type":"timestamp"}}}}},"S5c":{"type":"structure","members":{"ExportArn":{},"ExportStatus":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"ExportManifest":{},"TableArn":{},"TableId":{},"ExportTime":{"type":"timestamp"},"ClientToken":{},"S3Bucket":{},"S3BucketOwner":{},"S3Prefix":{},"S3SseAlgorithm":{},"S3SseKmsKeyId":{},"FailureCode":{},"FailureMessage":{},"ExportFormat":{},"BilledSizeBytes":{"type":"long"},"ItemCount":{"type":"long"}}},"S5w":{"type":"list","member":{"type":"structure","required":["RegionName"],"members":{"RegionName":{},"ReplicaStatus":{},"ReplicaBillingModeSummary":{"shape":"S3g"},"ReplicaProvisionedReadCapacityUnits":{"type":"long"},"ReplicaProvisionedReadCapacityAutoScalingSettings":{"shape":"S5y"},"ReplicaProvisionedWriteCapacityUnits":{"type":"long"},"ReplicaProvisionedWriteCapacityAutoScalingSettings":{"shape":"S5y"},"ReplicaGlobalSecondaryIndexSettings":{"type":"list","member":{"type":"structure","required":["IndexName"],"members":{"IndexName":{},"IndexStatus":{},"ProvisionedReadCapacityUnits":{"type":"long"},"ProvisionedReadCapacityAutoScalingSettings":{"shape":"S5y"},"ProvisionedWriteCapacityUnits":{"type":"long"},"ProvisionedWriteCapacityAutoScalingSettings":{"shape":"S5y"}}}}}}},"S5y":{"type":"structure","members":{"MinimumUnits":{"type":"long"},"MaximumUnits":{"type":"long"},"AutoScalingDisabled":{"type":"boolean"},"AutoScalingRoleArn":{},"ScalingPolicies":{"type":"list","member":{"type":"structure","members":{"PolicyName":{},"TargetTrackingScalingPolicyConfiguration":{"type":"structure","required":["TargetValue"],"members":{"DisableScaleIn":{"type":"boolean"},"ScaleInCooldown":{"type":"integer"},"ScaleOutCooldown":{"type":"integer"},"TargetValue":{"type":"double"}}}}}}}},"S6i":{"type":"structure","members":{"TableName":{},"TableStatus":{},"Replicas":{"type":"list","member":{"type":"structure","members":{"RegionName":{},"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"IndexStatus":{},"ProvisionedReadCapacityAutoScalingSettings":{"shape":"S5y"},"ProvisionedWriteCapacityAutoScalingSettings":{"shape":"S5y"}}}},"ReplicaProvisionedReadCapacityAutoScalingSettings":{"shape":"S5y"},"ReplicaProvisionedWriteCapacityAutoScalingSettings":{"shape":"S5y"},"ReplicaStatus":{}}}}}},"S6p":{"type":"structure","required":["TableName","StreamArn"],"members":{"TableName":{},"StreamArn":{}}},"S6q":{"type":"structure","members":{"TableName":{},"StreamArn":{},"DestinationStatus":{}}},"S6z":{"type":"list","member":{"type":"structure","members":{"Item":{"shape":"Sq"}}}},"S86":{"type":"structure","required":["ComparisonOperator"],"members":{"AttributeValueList":{"shape":"S4f"},"ComparisonOperator":{}}},"S87":{"type":"map","key":{},"value":{"shape":"S86"}},"S9e":{"type":"structure","members":{"MinimumUnits":{"type":"long"},"MaximumUnits":{"type":"long"},"AutoScalingDisabled":{"type":"boolean"},"AutoScalingRoleArn":{},"ScalingPolicyUpdate":{"type":"structure","required":["TargetTrackingScalingPolicyConfiguration"],"members":{"PolicyName":{},"TargetTrackingScalingPolicyConfiguration":{"type":"structure","required":["TargetValue"],"members":{"DisableScaleIn":{"type":"boolean"},"ScaleInCooldown":{"type":"integer"},"ScaleOutCooldown":{"type":"integer"},"TargetValue":{"type":"double"}}}}}}},"Sa3":{"type":"list","member":{"type":"structure","required":["IndexName"],"members":{"IndexName":{},"ProvisionedThroughputOverride":{"shape":"S2b"}}}},"Sah":{"type":"structure","required":["Enabled","AttributeName"],"members":{"Enabled":{"type":"boolean"},"AttributeName":{}}}}}; - default: - throw new Error( - "Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'" - ); - } +/***/ }), - state.auth = options; - } +/***/ 1917: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 2678: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); +apiLoader.services['codegurureviewer'] = {}; +AWS.CodeGuruReviewer = Service.defineService('codegurureviewer', ['2019-09-19']); +Object.defineProperty(apiLoader.services['codegurureviewer'], '2019-09-19', { + get: function get() { + var model = __webpack_require__(4912); + model.paginators = __webpack_require__(5388).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - AWS.util.hideProperties(AWS, ["SimpleWorkflow"]); +module.exports = AWS.CodeGuruReviewer; - /** - * @constant - * @readonly - * Backwards compatibility for access to the {AWS.SWF} service class. - */ - AWS.SimpleWorkflow = AWS.SWF; - /***/ - }, +/***/ }), - /***/ 2681: /***/ function (module) { - module.exports = { pagination: {} }; +/***/ 1920: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 2696: /***/ function (module) { - "use strict"; +apiLoader.services['es'] = {}; +AWS.ES = Service.defineService('es', ['2015-01-01']); +Object.defineProperty(apiLoader.services['es'], '2015-01-01', { + get: function get() { + var model = __webpack_require__(9307); + model.paginators = __webpack_require__(9743).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /*! - * isobject - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ +module.exports = AWS.ES; - function isObject(val) { - return ( - val != null && typeof val === "object" && Array.isArray(val) === false - ); - } - /*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - - function isObjectObject(o) { - return ( - isObject(o) === true && - Object.prototype.toString.call(o) === "[object Object]" - ); - } +/***/ }), - function isPlainObject(o) { - var ctor, prot; +/***/ 1926: +/***/ (function(module, __unusedexports, __webpack_require__) { - if (isObjectObject(o) === false) return false; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - // If has modified constructor - ctor = o.constructor; - if (typeof ctor !== "function") return false; +apiLoader.services['greengrassv2'] = {}; +AWS.GreengrassV2 = Service.defineService('greengrassv2', ['2020-11-30']); +Object.defineProperty(apiLoader.services['greengrassv2'], '2020-11-30', { + get: function get() { + var model = __webpack_require__(7720); + model.paginators = __webpack_require__(8782).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - // If has modified prototype - prot = ctor.prototype; - if (isObjectObject(prot) === false) return false; +module.exports = AWS.GreengrassV2; - // If constructor does not have an Object-specific method - if (prot.hasOwnProperty("isPrototypeOf") === false) { - return false; - } - // Most likely a plain Object - return true; - } +/***/ }), - module.exports = isPlainObject; +/***/ 1928: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['emr'] = {}; +AWS.EMR = Service.defineService('emr', ['2009-03-31']); +Object.defineProperty(apiLoader.services['emr'], '2009-03-31', { + get: function get() { + var model = __webpack_require__(437); + model.paginators = __webpack_require__(240).pagination; + model.waiters = __webpack_require__(6023).waiters; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.EMR; + + +/***/ }), + +/***/ 1944: +/***/ (function(module) { + +module.exports = {"pagination":{"ListConfigs":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"configList"},"ListContacts":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"contactList"},"ListDataflowEndpointGroups":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"dataflowEndpointGroupList"},"ListGroundStations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"groundStationList"},"ListMissionProfiles":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"missionProfileList"},"ListSatellites":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"satellites"}}}; + +/***/ }), + +/***/ 1955: +/***/ (function(module, __unusedexports, __webpack_require__) { + +"use strict"; + +const path = __webpack_require__(5622); +const childProcess = __webpack_require__(3129); +const crossSpawn = __webpack_require__(20); +const stripEof = __webpack_require__(3768); +const npmRunPath = __webpack_require__(4621); +const isStream = __webpack_require__(323); +const _getStream = __webpack_require__(145); +const pFinally = __webpack_require__(8697); +const onExit = __webpack_require__(5260); +const errname = __webpack_require__(4427); +const stdio = __webpack_require__(1168); + +const TEN_MEGABYTES = 1000 * 1000 * 10; + +function handleArgs(cmd, args, opts) { + let parsed; + + opts = Object.assign({ + extendEnv: true, + env: {} + }, opts); + + if (opts.extendEnv) { + opts.env = Object.assign({}, process.env, opts.env); + } + + if (opts.__winShell === true) { + delete opts.__winShell; + parsed = { + command: cmd, + args, + options: opts, + file: cmd, + original: { + cmd, + args + } + }; + } else { + parsed = crossSpawn._parse(cmd, args, opts); + } + + opts = Object.assign({ + maxBuffer: TEN_MEGABYTES, + buffer: true, + stripEof: true, + preferLocal: true, + localDir: parsed.options.cwd || process.cwd(), + encoding: 'utf8', + reject: true, + cleanup: true + }, parsed.options); + + opts.stdio = stdio(opts); + + if (opts.preferLocal) { + opts.env = npmRunPath.env(Object.assign({}, opts, {cwd: opts.localDir})); + } + + if (opts.detached) { + // #115 + opts.cleanup = false; + } + + if (process.platform === 'win32' && path.basename(parsed.command) === 'cmd.exe') { + // #116 + parsed.args.unshift('/q'); + } + + return { + cmd: parsed.command, + args: parsed.args, + opts, + parsed + }; +} + +function handleInput(spawned, input) { + if (input === null || input === undefined) { + return; + } + + if (isStream(input)) { + input.pipe(spawned.stdin); + } else { + spawned.stdin.end(input); + } +} + +function handleOutput(opts, val) { + if (val && opts.stripEof) { + val = stripEof(val); + } + + return val; +} + +function handleShell(fn, cmd, opts) { + let file = '/bin/sh'; + let args = ['-c', cmd]; + + opts = Object.assign({}, opts); + + if (process.platform === 'win32') { + opts.__winShell = true; + file = process.env.comspec || 'cmd.exe'; + args = ['/s', '/c', `"${cmd}"`]; + opts.windowsVerbatimArguments = true; + } + + if (opts.shell) { + file = opts.shell; + delete opts.shell; + } + + return fn(file, args, opts); +} + +function getStream(process, stream, {encoding, buffer, maxBuffer}) { + if (!process[stream]) { + return null; + } + + let ret; + + if (!buffer) { + // TODO: Use `ret = util.promisify(stream.finished)(process[stream]);` when targeting Node.js 10 + ret = new Promise((resolve, reject) => { + process[stream] + .once('end', resolve) + .once('error', reject); + }); + } else if (encoding) { + ret = _getStream(process[stream], { + encoding, + maxBuffer + }); + } else { + ret = _getStream.buffer(process[stream], {maxBuffer}); + } + + return ret.catch(err => { + err.stream = stream; + err.message = `${stream} ${err.message}`; + throw err; + }); +} + +function makeError(result, options) { + const {stdout, stderr} = result; + + let err = result.error; + const {code, signal} = result; + + const {parsed, joinedCmd} = options; + const timedOut = options.timedOut || false; + + if (!err) { + let output = ''; + + if (Array.isArray(parsed.opts.stdio)) { + if (parsed.opts.stdio[2] !== 'inherit') { + output += output.length > 0 ? stderr : `\n${stderr}`; + } + + if (parsed.opts.stdio[1] !== 'inherit') { + output += `\n${stdout}`; + } + } else if (parsed.opts.stdio !== 'inherit') { + output = `\n${stderr}${stdout}`; + } + + err = new Error(`Command failed: ${joinedCmd}${output}`); + err.code = code < 0 ? errname(code) : code; + } + + err.stdout = stdout; + err.stderr = stderr; + err.failed = true; + err.signal = signal || null; + err.cmd = joinedCmd; + err.timedOut = timedOut; + + return err; +} + +function joinCmd(cmd, args) { + let joinedCmd = cmd; + + if (Array.isArray(args) && args.length > 0) { + joinedCmd += ' ' + args.join(' '); + } + + return joinedCmd; +} + +module.exports = (cmd, args, opts) => { + const parsed = handleArgs(cmd, args, opts); + const {encoding, buffer, maxBuffer} = parsed.opts; + const joinedCmd = joinCmd(cmd, args); + + let spawned; + try { + spawned = childProcess.spawn(parsed.cmd, parsed.args, parsed.opts); + } catch (err) { + return Promise.reject(err); + } + + let removeExitHandler; + if (parsed.opts.cleanup) { + removeExitHandler = onExit(() => { + spawned.kill(); + }); + } + + let timeoutId = null; + let timedOut = false; + + const cleanup = () => { + if (timeoutId) { + clearTimeout(timeoutId); + timeoutId = null; + } + + if (removeExitHandler) { + removeExitHandler(); + } + }; + + if (parsed.opts.timeout > 0) { + timeoutId = setTimeout(() => { + timeoutId = null; + timedOut = true; + spawned.kill(parsed.opts.killSignal); + }, parsed.opts.timeout); + } + + const processDone = new Promise(resolve => { + spawned.on('exit', (code, signal) => { + cleanup(); + resolve({code, signal}); + }); + + spawned.on('error', err => { + cleanup(); + resolve({error: err}); + }); + + if (spawned.stdin) { + spawned.stdin.on('error', err => { + cleanup(); + resolve({error: err}); + }); + } + }); + + function destroy() { + if (spawned.stdout) { + spawned.stdout.destroy(); + } + + if (spawned.stderr) { + spawned.stderr.destroy(); + } + } + + const handlePromise = () => pFinally(Promise.all([ + processDone, + getStream(spawned, 'stdout', {encoding, buffer, maxBuffer}), + getStream(spawned, 'stderr', {encoding, buffer, maxBuffer}) + ]).then(arr => { + const result = arr[0]; + result.stdout = arr[1]; + result.stderr = arr[2]; + + if (result.error || result.code !== 0 || result.signal !== null) { + const err = makeError(result, { + joinedCmd, + parsed, + timedOut + }); + + // TODO: missing some timeout logic for killed + // https://github.com/nodejs/node/blob/master/lib/child_process.js#L203 + // err.killed = spawned.killed || killed; + err.killed = err.killed || spawned.killed; + + if (!parsed.opts.reject) { + return err; + } + + throw err; + } + + return { + stdout: handleOutput(parsed.opts, result.stdout), + stderr: handleOutput(parsed.opts, result.stderr), + code: 0, + failed: false, + killed: false, + signal: null, + cmd: joinedCmd, + timedOut: false + }; + }), destroy); - /***/ - }, + crossSpawn._enoent.hookChildProcess(spawned, parsed.parsed); - /***/ 2699: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-04-16", - endpointPrefix: "ds", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "Directory Service", - serviceFullName: "AWS Directory Service", - serviceId: "Directory Service", - signatureVersion: "v4", - targetPrefix: "DirectoryService_20150416", - uid: "ds-2015-04-16", - }, - operations: { - AcceptSharedDirectory: { - input: { - type: "structure", - required: ["SharedDirectoryId"], - members: { SharedDirectoryId: {} }, - }, - output: { - type: "structure", - members: { SharedDirectory: { shape: "S4" } }, - }, - }, - AddIpRoutes: { - input: { - type: "structure", - required: ["DirectoryId", "IpRoutes"], - members: { - DirectoryId: {}, - IpRoutes: { - type: "list", - member: { - type: "structure", - members: { CidrIp: {}, Description: {} }, - }, - }, - UpdateSecurityGroupForDirectoryControllers: { type: "boolean" }, - }, - }, - output: { type: "structure", members: {} }, - }, - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceId", "Tags"], - members: { ResourceId: {}, Tags: { shape: "Sk" } }, - }, - output: { type: "structure", members: {} }, - }, - CancelSchemaExtension: { - input: { - type: "structure", - required: ["DirectoryId", "SchemaExtensionId"], - members: { DirectoryId: {}, SchemaExtensionId: {} }, - }, - output: { type: "structure", members: {} }, - }, - ConnectDirectory: { - input: { - type: "structure", - required: ["Name", "Password", "Size", "ConnectSettings"], - members: { - Name: {}, - ShortName: {}, - Password: { shape: "Sv" }, - Description: {}, - Size: {}, - ConnectSettings: { - type: "structure", - required: [ - "VpcId", - "SubnetIds", - "CustomerDnsIps", - "CustomerUserName", - ], - members: { - VpcId: {}, - SubnetIds: { shape: "Sz" }, - CustomerDnsIps: { shape: "S11" }, - CustomerUserName: {}, - }, - }, - Tags: { shape: "Sk" }, - }, - }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - CreateAlias: { - input: { - type: "structure", - required: ["DirectoryId", "Alias"], - members: { DirectoryId: {}, Alias: {} }, - }, - output: { - type: "structure", - members: { DirectoryId: {}, Alias: {} }, - }, - }, - CreateComputer: { - input: { - type: "structure", - required: ["DirectoryId", "ComputerName", "Password"], - members: { - DirectoryId: {}, - ComputerName: {}, - Password: { type: "string", sensitive: true }, - OrganizationalUnitDistinguishedName: {}, - ComputerAttributes: { shape: "S1c" }, - }, - }, - output: { - type: "structure", - members: { - Computer: { - type: "structure", - members: { - ComputerId: {}, - ComputerName: {}, - ComputerAttributes: { shape: "S1c" }, - }, - }, - }, - }, - }, - CreateConditionalForwarder: { - input: { - type: "structure", - required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"], - members: { - DirectoryId: {}, - RemoteDomainName: {}, - DnsIpAddrs: { shape: "S11" }, - }, - }, - output: { type: "structure", members: {} }, - }, - CreateDirectory: { - input: { - type: "structure", - required: ["Name", "Password", "Size"], - members: { - Name: {}, - ShortName: {}, - Password: { shape: "S1n" }, - Description: {}, - Size: {}, - VpcSettings: { shape: "S1o" }, - Tags: { shape: "Sk" }, - }, - }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - CreateLogSubscription: { - input: { - type: "structure", - required: ["DirectoryId", "LogGroupName"], - members: { DirectoryId: {}, LogGroupName: {} }, - }, - output: { type: "structure", members: {} }, - }, - CreateMicrosoftAD: { - input: { - type: "structure", - required: ["Name", "Password", "VpcSettings"], - members: { - Name: {}, - ShortName: {}, - Password: { shape: "S1n" }, - Description: {}, - VpcSettings: { shape: "S1o" }, - Edition: {}, - Tags: { shape: "Sk" }, - }, - }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - CreateSnapshot: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {}, Name: {} }, - }, - output: { type: "structure", members: { SnapshotId: {} } }, - }, - CreateTrust: { - input: { - type: "structure", - required: [ - "DirectoryId", - "RemoteDomainName", - "TrustPassword", - "TrustDirection", - ], - members: { - DirectoryId: {}, - RemoteDomainName: {}, - TrustPassword: { type: "string", sensitive: true }, - TrustDirection: {}, - TrustType: {}, - ConditionalForwarderIpAddrs: { shape: "S11" }, - SelectiveAuth: {}, - }, - }, - output: { type: "structure", members: { TrustId: {} } }, - }, - DeleteConditionalForwarder: { - input: { - type: "structure", - required: ["DirectoryId", "RemoteDomainName"], - members: { DirectoryId: {}, RemoteDomainName: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteDirectory: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - DeleteLogSubscription: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteSnapshot: { - input: { - type: "structure", - required: ["SnapshotId"], - members: { SnapshotId: {} }, - }, - output: { type: "structure", members: { SnapshotId: {} } }, - }, - DeleteTrust: { - input: { - type: "structure", - required: ["TrustId"], - members: { - TrustId: {}, - DeleteAssociatedConditionalForwarder: { type: "boolean" }, - }, - }, - output: { type: "structure", members: { TrustId: {} } }, - }, - DeregisterCertificate: { - input: { - type: "structure", - required: ["DirectoryId", "CertificateId"], - members: { DirectoryId: {}, CertificateId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeregisterEventTopic: { - input: { - type: "structure", - required: ["DirectoryId", "TopicName"], - members: { DirectoryId: {}, TopicName: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeCertificate: { - input: { - type: "structure", - required: ["DirectoryId", "CertificateId"], - members: { DirectoryId: {}, CertificateId: {} }, - }, - output: { - type: "structure", - members: { - Certificate: { - type: "structure", - members: { - CertificateId: {}, - State: {}, - StateReason: {}, - CommonName: {}, - RegisteredDateTime: { type: "timestamp" }, - ExpiryDateTime: { type: "timestamp" }, - }, - }, - }, - }, - }, - DescribeConditionalForwarders: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - RemoteDomainNames: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - members: { - ConditionalForwarders: { - type: "list", - member: { - type: "structure", - members: { - RemoteDomainName: {}, - DnsIpAddrs: { shape: "S11" }, - ReplicationScope: {}, - }, - }, - }, - }, - }, - }, - DescribeDirectories: { - input: { - type: "structure", - members: { - DirectoryIds: { shape: "S33" }, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - DirectoryDescriptions: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - Name: {}, - ShortName: {}, - Size: {}, - Edition: {}, - Alias: {}, - AccessUrl: {}, - Description: {}, - DnsIpAddrs: { shape: "S11" }, - Stage: {}, - ShareStatus: {}, - ShareMethod: {}, - ShareNotes: { shape: "S8" }, - LaunchTime: { type: "timestamp" }, - StageLastUpdatedDateTime: { type: "timestamp" }, - Type: {}, - VpcSettings: { shape: "S3d" }, - ConnectSettings: { - type: "structure", - members: { - VpcId: {}, - SubnetIds: { shape: "Sz" }, - CustomerUserName: {}, - SecurityGroupId: {}, - AvailabilityZones: { shape: "S3f" }, - ConnectIps: { type: "list", member: {} }, - }, - }, - RadiusSettings: { shape: "S3j" }, - RadiusStatus: {}, - StageReason: {}, - SsoEnabled: { type: "boolean" }, - DesiredNumberOfDomainControllers: { type: "integer" }, - OwnerDirectoryDescription: { - type: "structure", - members: { - DirectoryId: {}, - AccountId: {}, - DnsIpAddrs: { shape: "S11" }, - VpcSettings: { shape: "S3d" }, - RadiusSettings: { shape: "S3j" }, - RadiusStatus: {}, - }, - }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeDomainControllers: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - DomainControllerIds: { type: "list", member: {} }, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - DomainControllers: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - DomainControllerId: {}, - DnsIpAddr: {}, - VpcId: {}, - SubnetId: {}, - AvailabilityZone: {}, - Status: {}, - StatusReason: {}, - LaunchTime: { type: "timestamp" }, - StatusLastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeEventTopics: { - input: { - type: "structure", - members: { - DirectoryId: {}, - TopicNames: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - members: { - EventTopics: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - TopicName: {}, - TopicArn: {}, - CreatedDateTime: { type: "timestamp" }, - Status: {}, - }, - }, - }, - }, - }, - }, - DescribeLDAPSSettings: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - Type: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - LDAPSSettingsInfo: { - type: "list", - member: { - type: "structure", - members: { - LDAPSStatus: {}, - LDAPSStatusReason: {}, - LastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeSharedDirectories: { - input: { - type: "structure", - required: ["OwnerDirectoryId"], - members: { - OwnerDirectoryId: {}, - SharedDirectoryIds: { shape: "S33" }, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - SharedDirectories: { type: "list", member: { shape: "S4" } }, - NextToken: {}, - }, - }, - }, - DescribeSnapshots: { - input: { - type: "structure", - members: { - DirectoryId: {}, - SnapshotIds: { type: "list", member: {} }, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Snapshots: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - SnapshotId: {}, - Type: {}, - Name: {}, - Status: {}, - StartTime: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeTrusts: { - input: { - type: "structure", - members: { - DirectoryId: {}, - TrustIds: { type: "list", member: {} }, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Trusts: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - TrustId: {}, - RemoteDomainName: {}, - TrustType: {}, - TrustDirection: {}, - TrustState: {}, - CreatedDateTime: { type: "timestamp" }, - LastUpdatedDateTime: { type: "timestamp" }, - StateLastUpdatedDateTime: { type: "timestamp" }, - TrustStateReason: {}, - SelectiveAuth: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DisableLDAPS: { - input: { - type: "structure", - required: ["DirectoryId", "Type"], - members: { DirectoryId: {}, Type: {} }, - }, - output: { type: "structure", members: {} }, - }, - DisableRadius: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DisableSso: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - UserName: {}, - Password: { shape: "Sv" }, - }, - }, - output: { type: "structure", members: {} }, - }, - EnableLDAPS: { - input: { - type: "structure", - required: ["DirectoryId", "Type"], - members: { DirectoryId: {}, Type: {} }, - }, - output: { type: "structure", members: {} }, - }, - EnableRadius: { - input: { - type: "structure", - required: ["DirectoryId", "RadiusSettings"], - members: { DirectoryId: {}, RadiusSettings: { shape: "S3j" } }, - }, - output: { type: "structure", members: {} }, - }, - EnableSso: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - UserName: {}, - Password: { shape: "Sv" }, - }, - }, - output: { type: "structure", members: {} }, - }, - GetDirectoryLimits: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - DirectoryLimits: { - type: "structure", - members: { - CloudOnlyDirectoriesLimit: { type: "integer" }, - CloudOnlyDirectoriesCurrentCount: { type: "integer" }, - CloudOnlyDirectoriesLimitReached: { type: "boolean" }, - CloudOnlyMicrosoftADLimit: { type: "integer" }, - CloudOnlyMicrosoftADCurrentCount: { type: "integer" }, - CloudOnlyMicrosoftADLimitReached: { type: "boolean" }, - ConnectedDirectoriesLimit: { type: "integer" }, - ConnectedDirectoriesCurrentCount: { type: "integer" }, - ConnectedDirectoriesLimitReached: { type: "boolean" }, - }, - }, - }, - }, - }, - GetSnapshotLimits: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { - type: "structure", - members: { - SnapshotLimits: { - type: "structure", - members: { - ManualSnapshotsLimit: { type: "integer" }, - ManualSnapshotsCurrentCount: { type: "integer" }, - ManualSnapshotsLimitReached: { type: "boolean" }, - }, - }, - }, - }, - }, - ListCertificates: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - CertificatesInfo: { - type: "list", - member: { - type: "structure", - members: { - CertificateId: {}, - CommonName: {}, - State: {}, - ExpiryDateTime: { type: "timestamp" }, - }, - }, - }, - }, - }, - }, - ListIpRoutes: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - IpRoutesInfo: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - CidrIp: {}, - IpRouteStatusMsg: {}, - AddedDateTime: { type: "timestamp" }, - IpRouteStatusReason: {}, - Description: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListLogSubscriptions: { - input: { - type: "structure", - members: { - DirectoryId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - LogSubscriptions: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - LogGroupName: {}, - SubscriptionCreatedDateTime: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListSchemaExtensions: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - SchemaExtensionsInfo: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - SchemaExtensionId: {}, - Description: {}, - SchemaExtensionStatus: {}, - SchemaExtensionStatusReason: {}, - StartDateTime: { type: "timestamp" }, - EndDateTime: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceId"], - members: { - ResourceId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "Sk" }, NextToken: {} }, - }, - }, - RegisterCertificate: { - input: { - type: "structure", - required: ["DirectoryId", "CertificateData"], - members: { DirectoryId: {}, CertificateData: {} }, - }, - output: { type: "structure", members: { CertificateId: {} } }, - }, - RegisterEventTopic: { - input: { - type: "structure", - required: ["DirectoryId", "TopicName"], - members: { DirectoryId: {}, TopicName: {} }, - }, - output: { type: "structure", members: {} }, - }, - RejectSharedDirectory: { - input: { - type: "structure", - required: ["SharedDirectoryId"], - members: { SharedDirectoryId: {} }, - }, - output: { type: "structure", members: { SharedDirectoryId: {} } }, - }, - RemoveIpRoutes: { - input: { - type: "structure", - required: ["DirectoryId", "CidrIps"], - members: { - DirectoryId: {}, - CidrIps: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - RemoveTagsFromResource: { - input: { - type: "structure", - required: ["ResourceId", "TagKeys"], - members: { - ResourceId: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - ResetUserPassword: { - input: { - type: "structure", - required: ["DirectoryId", "UserName", "NewPassword"], - members: { - DirectoryId: {}, - UserName: {}, - NewPassword: { type: "string", sensitive: true }, - }, - }, - output: { type: "structure", members: {} }, - }, - RestoreFromSnapshot: { - input: { - type: "structure", - required: ["SnapshotId"], - members: { SnapshotId: {} }, - }, - output: { type: "structure", members: {} }, - }, - ShareDirectory: { - input: { - type: "structure", - required: ["DirectoryId", "ShareTarget", "ShareMethod"], - members: { - DirectoryId: {}, - ShareNotes: { shape: "S8" }, - ShareTarget: { - type: "structure", - required: ["Id", "Type"], - members: { Id: {}, Type: {} }, - }, - ShareMethod: {}, - }, - }, - output: { type: "structure", members: { SharedDirectoryId: {} } }, - }, - StartSchemaExtension: { - input: { - type: "structure", - required: [ - "DirectoryId", - "CreateSnapshotBeforeSchemaExtension", - "LdifContent", - "Description", - ], - members: { - DirectoryId: {}, - CreateSnapshotBeforeSchemaExtension: { type: "boolean" }, - LdifContent: {}, - Description: {}, - }, - }, - output: { type: "structure", members: { SchemaExtensionId: {} } }, - }, - UnshareDirectory: { - input: { - type: "structure", - required: ["DirectoryId", "UnshareTarget"], - members: { - DirectoryId: {}, - UnshareTarget: { - type: "structure", - required: ["Id", "Type"], - members: { Id: {}, Type: {} }, - }, - }, - }, - output: { type: "structure", members: { SharedDirectoryId: {} } }, - }, - UpdateConditionalForwarder: { - input: { - type: "structure", - required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"], - members: { - DirectoryId: {}, - RemoteDomainName: {}, - DnsIpAddrs: { shape: "S11" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateNumberOfDomainControllers: { - input: { - type: "structure", - required: ["DirectoryId", "DesiredNumber"], - members: { DirectoryId: {}, DesiredNumber: { type: "integer" } }, - }, - output: { type: "structure", members: {} }, - }, - UpdateRadius: { - input: { - type: "structure", - required: ["DirectoryId", "RadiusSettings"], - members: { DirectoryId: {}, RadiusSettings: { shape: "S3j" } }, - }, - output: { type: "structure", members: {} }, - }, - UpdateTrust: { - input: { - type: "structure", - required: ["TrustId"], - members: { TrustId: {}, SelectiveAuth: {} }, - }, - output: { - type: "structure", - members: { RequestId: {}, TrustId: {} }, - }, - }, - VerifyTrust: { - input: { - type: "structure", - required: ["TrustId"], - members: { TrustId: {} }, - }, - output: { type: "structure", members: { TrustId: {} } }, - }, - }, - shapes: { - S4: { - type: "structure", - members: { - OwnerAccountId: {}, - OwnerDirectoryId: {}, - ShareMethod: {}, - SharedAccountId: {}, - SharedDirectoryId: {}, - ShareStatus: {}, - ShareNotes: { shape: "S8" }, - CreatedDateTime: { type: "timestamp" }, - LastUpdatedDateTime: { type: "timestamp" }, - }, - }, - S8: { type: "string", sensitive: true }, - Sk: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sv: { type: "string", sensitive: true }, - Sz: { type: "list", member: {} }, - S11: { type: "list", member: {} }, - S1c: { - type: "list", - member: { type: "structure", members: { Name: {}, Value: {} } }, - }, - S1n: { type: "string", sensitive: true }, - S1o: { - type: "structure", - required: ["VpcId", "SubnetIds"], - members: { VpcId: {}, SubnetIds: { shape: "Sz" } }, - }, - S33: { type: "list", member: {} }, - S3d: { - type: "structure", - members: { - VpcId: {}, - SubnetIds: { shape: "Sz" }, - SecurityGroupId: {}, - AvailabilityZones: { shape: "S3f" }, - }, - }, - S3f: { type: "list", member: {} }, - S3j: { - type: "structure", - members: { - RadiusServers: { type: "list", member: {} }, - RadiusPort: { type: "integer" }, - RadiusTimeout: { type: "integer" }, - RadiusRetries: { type: "integer" }, - SharedSecret: { type: "string", sensitive: true }, - AuthenticationProtocol: {}, - DisplayLabel: {}, - UseSameUsername: { type: "boolean" }, - }, - }, - }, - }; + handleInput(spawned, parsed.opts.input); - /***/ - }, + spawned.then = (onfulfilled, onrejected) => handlePromise().then(onfulfilled, onrejected); + spawned.catch = onrejected => handlePromise().catch(onrejected); - /***/ 2709: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + return spawned; +}; + +// TODO: set `stderr: 'ignore'` when that option is implemented +module.exports.stdout = (...args) => module.exports(...args).then(x => x.stdout); + +// TODO: set `stdout: 'ignore'` when that option is implemented +module.exports.stderr = (...args) => module.exports(...args).then(x => x.stderr); + +module.exports.shell = (cmd, opts) => handleShell(module.exports, cmd, opts); + +module.exports.sync = (cmd, args, opts) => { + const parsed = handleArgs(cmd, args, opts); + const joinedCmd = joinCmd(cmd, args); + + if (isStream(parsed.opts.input)) { + throw new TypeError('The `input` option cannot be a stream in sync mode'); + } + + const result = childProcess.spawnSync(parsed.cmd, parsed.args, parsed.opts); + result.code = result.status; + + if (result.error || result.status !== 0 || result.signal !== null) { + const err = makeError(result, { + joinedCmd, + parsed + }); - apiLoader.services["wafregional"] = {}; - AWS.WAFRegional = Service.defineService("wafregional", ["2016-11-28"]); - Object.defineProperty(apiLoader.services["wafregional"], "2016-11-28", { - get: function get() { - var model = __webpack_require__(8296); - model.paginators = __webpack_require__(3396).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + if (!parsed.opts.reject) { + return err; + } - module.exports = AWS.WAFRegional; + throw err; + } - /***/ - }, + return { + stdout: handleOutput(parsed.opts, result.stdout), + stderr: handleOutput(parsed.opts, result.stderr), + code: 0, + failed: false, + signal: null, + cmd: joinedCmd, + timedOut: false + }; +}; - /***/ 2719: /***/ function (module) { - module.exports = { pagination: {} }; +module.exports.shellSync = (cmd, opts) => handleShell(module.exports.sync, cmd, opts); - /***/ - }, - /***/ 2726: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-06-02", - endpointPrefix: "shield", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "AWS Shield", - serviceFullName: "AWS Shield", - serviceId: "Shield", - signatureVersion: "v4", - targetPrefix: "AWSShield_20160616", - uid: "shield-2016-06-02", - }, - operations: { - AssociateDRTLogBucket: { - input: { - type: "structure", - required: ["LogBucket"], - members: { LogBucket: {} }, - }, - output: { type: "structure", members: {} }, - }, - AssociateDRTRole: { - input: { - type: "structure", - required: ["RoleArn"], - members: { RoleArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - AssociateHealthCheck: { - input: { - type: "structure", - required: ["ProtectionId", "HealthCheckArn"], - members: { ProtectionId: {}, HealthCheckArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - CreateProtection: { - input: { - type: "structure", - required: ["Name", "ResourceArn"], - members: { Name: {}, ResourceArn: {} }, - }, - output: { type: "structure", members: { ProtectionId: {} } }, - }, - CreateSubscription: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, - }, - DeleteProtection: { - input: { - type: "structure", - required: ["ProtectionId"], - members: { ProtectionId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteSubscription: { - input: { type: "structure", members: {}, deprecated: true }, - output: { type: "structure", members: {}, deprecated: true }, - deprecated: true, - }, - DescribeAttack: { - input: { - type: "structure", - required: ["AttackId"], - members: { AttackId: {} }, - }, - output: { - type: "structure", - members: { - Attack: { - type: "structure", - members: { - AttackId: {}, - ResourceArn: {}, - SubResources: { - type: "list", - member: { - type: "structure", - members: { - Type: {}, - Id: {}, - AttackVectors: { - type: "list", - member: { - type: "structure", - required: ["VectorType"], - members: { - VectorType: {}, - VectorCounters: { shape: "Sv" }, - }, - }, - }, - Counters: { shape: "Sv" }, - }, - }, - }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - AttackCounters: { shape: "Sv" }, - AttackProperties: { - type: "list", - member: { - type: "structure", - members: { - AttackLayer: {}, - AttackPropertyIdentifier: {}, - TopContributors: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Value: { type: "long" } }, - }, - }, - Unit: {}, - Total: { type: "long" }, - }, - }, - }, - Mitigations: { - type: "list", - member: { - type: "structure", - members: { MitigationName: {} }, - }, - }, - }, - }, - }, - }, - }, - DescribeDRTAccess: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - RoleArn: {}, - LogBucketList: { type: "list", member: {} }, - }, - }, - }, - DescribeEmergencyContactSettings: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { EmergencyContactList: { shape: "S1f" } }, - }, - }, - DescribeProtection: { - input: { - type: "structure", - members: { ProtectionId: {}, ResourceArn: {} }, - }, - output: { - type: "structure", - members: { Protection: { shape: "S1k" } }, - }, - }, - DescribeSubscription: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - Subscription: { - type: "structure", - members: { - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - TimeCommitmentInSeconds: { type: "long" }, - AutoRenew: {}, - Limits: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Max: { type: "long" } }, - }, - }, - }, - }, - }, - }, - }, - DisassociateDRTLogBucket: { - input: { - type: "structure", - required: ["LogBucket"], - members: { LogBucket: {} }, - }, - output: { type: "structure", members: {} }, - }, - DisassociateDRTRole: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, - }, - DisassociateHealthCheck: { - input: { - type: "structure", - required: ["ProtectionId", "HealthCheckArn"], - members: { ProtectionId: {}, HealthCheckArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - GetSubscriptionState: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - required: ["SubscriptionState"], - members: { SubscriptionState: {} }, - }, - }, - ListAttacks: { - input: { - type: "structure", - members: { - ResourceArns: { type: "list", member: {} }, - StartTime: { shape: "S26" }, - EndTime: { shape: "S26" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - AttackSummaries: { - type: "list", - member: { - type: "structure", - members: { - AttackId: {}, - ResourceArn: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - AttackVectors: { - type: "list", - member: { - type: "structure", - required: ["VectorType"], - members: { VectorType: {} }, - }, - }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListProtections: { - input: { - type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - Protections: { type: "list", member: { shape: "S1k" } }, - NextToken: {}, - }, - }, - }, - UpdateEmergencyContactSettings: { - input: { - type: "structure", - members: { EmergencyContactList: { shape: "S1f" } }, - }, - output: { type: "structure", members: {} }, - }, - UpdateSubscription: { - input: { type: "structure", members: { AutoRenew: {} } }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - Sv: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Max: { type: "double" }, - Average: { type: "double" }, - Sum: { type: "double" }, - N: { type: "integer" }, - Unit: {}, - }, - }, - }, - S1f: { - type: "list", - member: { - type: "structure", - required: ["EmailAddress"], - members: { EmailAddress: {} }, - }, - }, - S1k: { - type: "structure", - members: { - Id: {}, - Name: {}, - ResourceArn: {}, - HealthCheckIds: { type: "list", member: {} }, - }, - }, - S26: { - type: "structure", - members: { - FromInclusive: { type: "timestamp" }, - ToExclusive: { type: "timestamp" }, - }, - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 1957: +/***/ (function(module) { - /***/ 2732: /***/ function (module) { - module.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: {} }, - }, - }, - CreateEventBus: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventSourceName: {}, Tags: { shape: "S5" } }, - }, - 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: {} }, - }, - }, - 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" }, - }, - }, - }, - 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: {} } }, - }, - DescribeRule: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, - }, - output: { - type: "structure", - members: { - Name: {}, - Arn: {}, - EventPattern: {}, - ScheduleExpression: {}, - State: {}, - Description: {}, - RoleArn: {}, - ManagedBy: {}, - EventBusName: {}, - }, - }, - }, - DisableRule: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, - }, - }, - EnableRule: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, - }, - }, - 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: {}, - }, - }, - }, - 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: "S5" } } }, - }, - ListTargetsByRule: { - input: { - type: "structure", - required: ["Rule"], - members: { - Rule: {}, - EventBusName: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Targets: { shape: "S20" }, NextToken: {} }, - }, - }, - PutEvents: { - input: { - type: "structure", - required: ["Entries"], - members: { - Entries: { - type: "list", - member: { - type: "structure", - members: { - Time: { type: "timestamp" }, - Source: {}, - Resources: { shape: "S2y" }, - DetailType: {}, - Detail: {}, - EventBusName: {}, - }, - }, - }, - }, - }, - 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: "S2y" }, - DetailType: {}, - Detail: {}, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - FailedEntryCount: { type: "integer" }, - Entries: { - type: "list", - member: { - type: "structure", - members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - }, - PutPermission: { - input: { - type: "structure", - required: ["Action", "Principal", "StatementId"], - members: { - EventBusName: {}, - Action: {}, - Principal: {}, - StatementId: {}, - Condition: { - type: "structure", - required: ["Type", "Key", "Value"], - members: { Type: {}, Key: {}, Value: {} }, - }, - }, - }, - }, - PutRule: { - input: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - ScheduleExpression: {}, - EventPattern: {}, - State: {}, - Description: {}, - RoleArn: {}, - Tags: { shape: "S5" }, - EventBusName: {}, - }, - }, - output: { type: "structure", members: { RuleArn: {} } }, - }, - PutTargets: { - input: { - type: "structure", - required: ["Rule", "Targets"], - members: { - Rule: {}, - EventBusName: {}, - Targets: { shape: "S20" }, - }, - }, - output: { - type: "structure", - members: { - FailedEntryCount: { type: "integer" }, - FailedEntries: { - type: "list", - member: { - type: "structure", - members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - }, - RemovePermission: { - input: { - type: "structure", - required: ["StatementId"], - members: { StatementId: {}, 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: {} }, - }, - }, - }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S5" } }, - }, - 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: {} }, - }, - }, - shapes: { - S5: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S20: { - 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: "S2m" }, - SecurityGroups: { shape: "S2m" }, - AssignPublicIp: {}, - }, - }, - }, - }, - PlatformVersion: {}, - Group: {}, - }, - }, - 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: {} }, - }, - }, - }, - }, - S2m: { type: "list", member: {} }, - S2y: { type: "list", member: {} }, - }, - }; +module.exports = {"pagination":{"ListClusters":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"ClusterInfoList"},"ListConfigurations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Configurations"},"ListKafkaVersions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"KafkaVersions"},"ListNodes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"NodeInfoList"},"ListClusterOperations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"ClusterOperationInfoList"},"ListConfigurationRevisions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Revisions"},"ListScramSecrets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"SecretArnList"}}}; - /***/ - }, +/***/ }), - /***/ 2747: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["sagemakerruntime"] = {}; - AWS.SageMakerRuntime = Service.defineService("sagemakerruntime", [ - "2017-05-13", - ]); - Object.defineProperty( - apiLoader.services["sagemakerruntime"], - "2017-05-13", - { - get: function get() { - var model = __webpack_require__(3387); - model.paginators = __webpack_require__(9239).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/***/ 1965: +/***/ (function(module) { - module.exports = AWS.SageMakerRuntime; +module.exports = {"pagination":{"ListApplications":{"input_token":"nextToken","output_token":"nextToken","result_key":"applicationSummaries"}}}; - /***/ - }, +/***/ }), - /***/ 2750: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLCData, - XMLComment, - XMLDTDAttList, - XMLDTDElement, - XMLDTDEntity, - XMLDTDNotation, - XMLDeclaration, - XMLDocType, - XMLElement, - XMLProcessingInstruction, - XMLRaw, - XMLStringWriter, - XMLText, - XMLWriterBase, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; +/***/ 1969: +/***/ (function(module) { - XMLDeclaration = __webpack_require__(7738); +module.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"},"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"}}}; - XMLDocType = __webpack_require__(5735); +/***/ }), - XMLCData = __webpack_require__(9657); +/***/ 1971: +/***/ (function(module) { - XMLComment = __webpack_require__(7919); +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-11-01","endpointPrefix":"opsworks-cm","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"OpsWorksCM","serviceFullName":"AWS OpsWorks CM","serviceId":"OpsWorksCM","signatureVersion":"v4","signingName":"opsworks-cm","targetPrefix":"OpsWorksCM_V2016_11_01","uid":"opsworkscm-2016-11-01"},"operations":{"AssociateNode":{"input":{"type":"structure","required":["ServerName","NodeName","EngineAttributes"],"members":{"ServerName":{},"NodeName":{},"EngineAttributes":{"shape":"S4"}}},"output":{"type":"structure","members":{"NodeAssociationStatusToken":{}}}},"CreateBackup":{"input":{"type":"structure","required":["ServerName"],"members":{"ServerName":{},"Description":{},"Tags":{"shape":"Sc"}}},"output":{"type":"structure","members":{"Backup":{"shape":"Sh"}}}},"CreateServer":{"input":{"type":"structure","required":["Engine","ServerName","InstanceProfileArn","InstanceType","ServiceRoleArn"],"members":{"AssociatePublicIpAddress":{"type":"boolean"},"CustomDomain":{},"CustomCertificate":{},"CustomPrivateKey":{"type":"string","sensitive":true},"DisableAutomatedBackup":{"type":"boolean"},"Engine":{},"EngineModel":{},"EngineVersion":{},"EngineAttributes":{"shape":"S4"},"BackupRetentionCount":{"type":"integer"},"ServerName":{},"InstanceProfileArn":{},"InstanceType":{},"KeyPair":{},"PreferredMaintenanceWindow":{},"PreferredBackupWindow":{},"SecurityGroupIds":{"shape":"Sn"},"ServiceRoleArn":{},"SubnetIds":{"shape":"Sn"},"Tags":{"shape":"Sc"},"BackupId":{}}},"output":{"type":"structure","members":{"Server":{"shape":"Sz"}}}},"DeleteBackup":{"input":{"type":"structure","required":["BackupId"],"members":{"BackupId":{}}},"output":{"type":"structure","members":{}}},"DeleteServer":{"input":{"type":"structure","required":["ServerName"],"members":{"ServerName":{}}},"output":{"type":"structure","members":{}}},"DescribeAccountAttributes":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Attributes":{"type":"list","member":{"type":"structure","members":{"Name":{},"Maximum":{"type":"integer"},"Used":{"type":"integer"}}}}}}},"DescribeBackups":{"input":{"type":"structure","members":{"BackupId":{},"ServerName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Backups":{"type":"list","member":{"shape":"Sh"}},"NextToken":{}}}},"DescribeEvents":{"input":{"type":"structure","required":["ServerName"],"members":{"ServerName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ServerEvents":{"type":"list","member":{"type":"structure","members":{"CreatedAt":{"type":"timestamp"},"ServerName":{},"Message":{},"LogUrl":{}}}},"NextToken":{}}}},"DescribeNodeAssociationStatus":{"input":{"type":"structure","required":["NodeAssociationStatusToken","ServerName"],"members":{"NodeAssociationStatusToken":{},"ServerName":{}}},"output":{"type":"structure","members":{"NodeAssociationStatus":{},"EngineAttributes":{"shape":"S4"}}}},"DescribeServers":{"input":{"type":"structure","members":{"ServerName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Servers":{"type":"list","member":{"shape":"Sz"}},"NextToken":{}}}},"DisassociateNode":{"input":{"type":"structure","required":["ServerName","NodeName"],"members":{"ServerName":{},"NodeName":{},"EngineAttributes":{"shape":"S4"}}},"output":{"type":"structure","members":{"NodeAssociationStatusToken":{}}}},"ExportServerEngineAttribute":{"input":{"type":"structure","required":["ExportAttributeName","ServerName"],"members":{"ExportAttributeName":{},"ServerName":{},"InputAttributes":{"shape":"S4"}}},"output":{"type":"structure","members":{"EngineAttribute":{"shape":"S5"},"ServerName":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sc"},"NextToken":{}}}},"RestoreServer":{"input":{"type":"structure","required":["BackupId","ServerName"],"members":{"BackupId":{},"ServerName":{},"InstanceType":{},"KeyPair":{}}},"output":{"type":"structure","members":{}}},"StartMaintenance":{"input":{"type":"structure","required":["ServerName"],"members":{"ServerName":{},"EngineAttributes":{"shape":"S4"}}},"output":{"type":"structure","members":{"Server":{"shape":"Sz"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateServer":{"input":{"type":"structure","required":["ServerName"],"members":{"DisableAutomatedBackup":{"type":"boolean"},"BackupRetentionCount":{"type":"integer"},"ServerName":{},"PreferredMaintenanceWindow":{},"PreferredBackupWindow":{}}},"output":{"type":"structure","members":{"Server":{"shape":"Sz"}}}},"UpdateServerEngineAttributes":{"input":{"type":"structure","required":["ServerName","AttributeName"],"members":{"ServerName":{},"AttributeName":{},"AttributeValue":{}}},"output":{"type":"structure","members":{"Server":{"shape":"Sz"}}}}},"shapes":{"S4":{"type":"list","member":{"shape":"S5"}},"S5":{"type":"structure","members":{"Name":{},"Value":{"type":"string","sensitive":true}}},"Sc":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sh":{"type":"structure","members":{"BackupArn":{},"BackupId":{},"BackupType":{},"CreatedAt":{"type":"timestamp"},"Description":{},"Engine":{},"EngineModel":{},"EngineVersion":{},"InstanceProfileArn":{},"InstanceType":{},"KeyPair":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"S3DataSize":{"deprecated":true,"type":"integer"},"S3DataUrl":{"deprecated":true},"S3LogUrl":{},"SecurityGroupIds":{"shape":"Sn"},"ServerName":{},"ServiceRoleArn":{},"Status":{},"StatusDescription":{},"SubnetIds":{"shape":"Sn"},"ToolsVersion":{},"UserArn":{}}},"Sn":{"type":"list","member":{}},"Sz":{"type":"structure","members":{"AssociatePublicIpAddress":{"type":"boolean"},"BackupRetentionCount":{"type":"integer"},"ServerName":{},"CreatedAt":{"type":"timestamp"},"CloudFormationStackArn":{},"CustomDomain":{},"DisableAutomatedBackup":{"type":"boolean"},"Endpoint":{},"Engine":{},"EngineModel":{},"EngineAttributes":{"shape":"S4"},"EngineVersion":{},"InstanceProfileArn":{},"InstanceType":{},"KeyPair":{},"MaintenanceStatus":{},"PreferredMaintenanceWindow":{},"PreferredBackupWindow":{},"SecurityGroupIds":{"shape":"Sn"},"ServiceRoleArn":{},"Status":{},"StatusReason":{},"SubnetIds":{"shape":"Sn"},"ServerArn":{}}}}}; - XMLElement = __webpack_require__(5796); +/***/ }), - XMLRaw = __webpack_require__(7660); +/***/ 1986: +/***/ (function(module) { - XMLText = __webpack_require__(9708); +module.exports = {"pagination":{"DescribeHomeRegionControls":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - XMLProcessingInstruction = __webpack_require__(2491); +/***/ }), - XMLDTDAttList = __webpack_require__(3801); +/***/ 2007: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { - XMLDTDElement = __webpack_require__(9463); +var AWS = __webpack_require__(395); +__webpack_require__(1371); - XMLDTDEntity = __webpack_require__(7661); +AWS.util.update(AWS.DynamoDB.prototype, { + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + if (request.service.config.dynamoDbCrc32) { + request.removeListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); + request.addListener('extractData', this.checkCrc32); + request.addListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); + } + }, - XMLDTDNotation = __webpack_require__(9019); + /** + * @api private + */ + checkCrc32: function checkCrc32(resp) { + if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) { + resp.data = null; + resp.error = AWS.util.error(new Error(), { + code: 'CRC32CheckFailed', + message: 'CRC32 integrity check failed', + retryable: true + }); + resp.request.haltHandlersOnError(); + throw (resp.error); + } + }, + + /** + * @api private + */ + crc32IsValid: function crc32IsValid(resp) { + var crc = resp.httpResponse.headers['x-amz-crc32']; + if (!crc) return true; // no (valid) CRC32 header + return parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body); + }, + + /** + * @api private + */ + defaultRetryCount: 10, + + /** + * @api private + */ + retryDelays: function retryDelays(retryCount, err) { + var retryDelayOptions = AWS.util.copy(this.config.retryDelayOptions); + + if (typeof retryDelayOptions.base !== 'number') { + retryDelayOptions.base = 50; // default for dynamodb + } + var delay = AWS.util.calculateRetryDelay(retryCount, retryDelayOptions, err); + return delay; + } +}); - XMLWriterBase = __webpack_require__(9423); - module.exports = XMLStringWriter = (function (superClass) { - extend(XMLStringWriter, superClass); +/***/ }), - function XMLStringWriter(options) { - XMLStringWriter.__super__.constructor.call(this, options); - } +/***/ 2013: +/***/ (function(module) { - XMLStringWriter.prototype.document = function (doc) { - var child, i, len, r, ref; - this.textispresent = false; - r = ""; - ref = doc.children; - for (i = 0, len = ref.length; i < len; i++) { - child = ref[i]; - r += function () { - switch (false) { - case !(child instanceof XMLDeclaration): - return this.declaration(child); - case !(child instanceof XMLDocType): - return this.docType(child); - case !(child instanceof XMLComment): - return this.comment(child); - case !(child instanceof XMLProcessingInstruction): - return this.processingInstruction(child); - default: - return this.element(child, 0); - } - }.call(this); - } - if (this.pretty && r.slice(-this.newline.length) === this.newline) { - r = r.slice(0, -this.newline.length); - } - return r; - }; +module.exports = {"metadata":{"apiVersion":"2020-08-11","endpointPrefix":"amplifybackend","signingName":"amplifybackend","serviceFullName":"AmplifyBackend","serviceId":"AmplifyBackend","protocol":"rest-json","jsonVersion":"1.1","uid":"amplifybackend-2020-08-11","signatureVersion":"v4"},"operations":{"CloneBackend":{"http":{"requestUri":"/backend/{appId}/environments/{backendEnvironmentName}/clone","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"TargetEnvironmentName":{"locationName":"targetEnvironmentName"}},"required":["AppId","BackendEnvironmentName","TargetEnvironmentName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackend":{"http":{"requestUri":"/backend","responseCode":200},"input":{"type":"structure","members":{"AppId":{"locationName":"appId"},"AppName":{"locationName":"appName"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"locationName":"resourceConfig","type":"structure","members":{}},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","AppName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendAPI":{"http":{"requestUri":"/backend/{appId}/api","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","ResourceName","BackendEnvironmentName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"Si","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","ResourceName","BackendEnvironmentName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendConfig":{"http":{"requestUri":"/backend/{appId}/config","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendManagerAppId":{"locationName":"backendManagerAppId"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"JobId":{"locationName":"jobId"},"Status":{"locationName":"status"}}}},"CreateToken":{"http":{"requestUri":"/backend/{appId}/challenge","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"ChallengeCode":{"locationName":"challengeCode"},"SessionId":{"locationName":"sessionId"},"Ttl":{"locationName":"ttl"}}}},"DeleteBackend":{"http":{"requestUri":"/backend/{appId}/environments/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"}},"required":["AppId","BackendEnvironmentName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteToken":{"http":{"requestUri":"/backend/{appId}/challenge/{sessionId}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"SessionId":{"location":"uri","locationName":"sessionId"}},"required":["SessionId","AppId"]},"output":{"type":"structure","members":{"IsSuccess":{"locationName":"isSuccess","type":"boolean"}}}},"GenerateBackendAPIModels":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/generateModels","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"GetBackend":{"http":{"requestUri":"/backend/{appId}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"}},"required":["AppId"]},"output":{"type":"structure","members":{"AmplifyMetaConfig":{"locationName":"amplifyMetaConfig"},"AppId":{"locationName":"appId"},"AppName":{"locationName":"appName"},"BackendEnvironmentList":{"shape":"S11","locationName":"backendEnvironmentList"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"}}}},"GetBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}}}},"GetBackendAPIModels":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/getModels","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"Models":{"locationName":"models"},"Status":{"locationName":"status"}}}},"GetBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"ResourceConfig":{"shape":"Si","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}}}},"GetBackendJob":{"http":{"method":"GET","requestUri":"/backend/{appId}/job/{backendEnvironmentName}/{jobId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"location":"uri","locationName":"jobId"}},"required":["AppId","BackendEnvironmentName","JobId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}}}},"GetToken":{"http":{"method":"GET","requestUri":"/backend/{appId}/challenge/{sessionId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"SessionId":{"location":"uri","locationName":"sessionId"}},"required":["SessionId","AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"ChallengeCode":{"locationName":"challengeCode"},"SessionId":{"locationName":"sessionId"},"Ttl":{"locationName":"ttl"}}}},"ListBackendJobs":{"http":{"requestUri":"/backend/{appId}/job/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"locationName":"jobId"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}},"required":["AppId","BackendEnvironmentName"]},"output":{"type":"structure","members":{"Jobs":{"locationName":"jobs","type":"list","member":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}},"required":["AppId","BackendEnvironmentName"]}},"NextToken":{"locationName":"nextToken"}}}},"RemoveAllBackends":{"http":{"requestUri":"/backend/{appId}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"CleanAmplifyApp":{"locationName":"cleanAmplifyApp","type":"boolean"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"RemoveBackendConfig":{"http":{"requestUri":"/backend/{appId}/config/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"}},"required":["AppId"]},"output":{"type":"structure","members":{"Error":{"locationName":"error"}}}},"UpdateBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"UpdateBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"locationName":"resourceConfig","type":"structure","members":{"AuthResources":{"locationName":"authResources"},"IdentityPoolConfigs":{"locationName":"identityPoolConfigs","type":"structure","members":{"UnauthenticatedLogin":{"locationName":"unauthenticatedLogin","type":"boolean"}}},"Service":{"locationName":"service"},"UserPoolConfigs":{"locationName":"userPoolConfigs","type":"structure","members":{"ForgotPassword":{"locationName":"forgotPassword","type":"structure","members":{"DeliveryMethod":{"locationName":"deliveryMethod"},"EmailSettings":{"shape":"Sq","locationName":"emailSettings"},"SmsSettings":{"shape":"Sr","locationName":"smsSettings"}}},"Mfa":{"locationName":"mfa","type":"structure","members":{"MFAMode":{},"Settings":{"shape":"Su","locationName":"settings"}}},"OAuth":{"locationName":"oAuth","type":"structure","members":{"DomainPrefix":{"locationName":"domainPrefix"},"OAuthGrantType":{"locationName":"oAuthGrantType"},"OAuthScopes":{"shape":"Sz","locationName":"oAuthScopes"},"RedirectSignInURIs":{"shape":"S11","locationName":"redirectSignInURIs"},"RedirectSignOutURIs":{"shape":"S11","locationName":"redirectSignOutURIs"},"SocialProviderSettings":{"shape":"S12","locationName":"socialProviderSettings"}}},"PasswordPolicy":{"locationName":"passwordPolicy","type":"structure","members":{"AdditionalConstraints":{"shape":"S15","locationName":"additionalConstraints"},"MinimumLength":{"locationName":"minimumLength","type":"double"}}}}}},"required":["AuthResources","UserPoolConfigs","Service"]},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"UpdateBackendConfig":{"http":{"requestUri":"/backend/{appId}/config/update","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"LoginAuthConfig":{"shape":"S2n","locationName":"loginAuthConfig"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendManagerAppId":{"locationName":"backendManagerAppId"},"Error":{"locationName":"error"},"LoginAuthConfig":{"shape":"S2n","locationName":"loginAuthConfig"}}}},"UpdateBackendJob":{"http":{"requestUri":"/backend/{appId}/job/{backendEnvironmentName}/{jobId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"location":"uri","locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}},"required":["AppId","BackendEnvironmentName","JobId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}}}}},"shapes":{"S8":{"type":"structure","members":{"AdditionalAuthTypes":{"locationName":"additionalAuthTypes","type":"list","member":{"shape":"Sa"}},"ApiName":{"locationName":"apiName"},"ConflictResolution":{"locationName":"conflictResolution","type":"structure","members":{"ResolutionStrategy":{"locationName":"resolutionStrategy"}}},"DefaultAuthType":{"shape":"Sa","locationName":"defaultAuthType"},"Service":{"locationName":"service"},"TransformSchema":{"locationName":"transformSchema"}}},"Sa":{"type":"structure","members":{"Mode":{"locationName":"mode"},"Settings":{"locationName":"settings","type":"structure","members":{"CognitoUserPoolId":{"locationName":"cognitoUserPoolId"},"Description":{"locationName":"description"},"ExpirationTime":{"locationName":"expirationTime","type":"double"},"OpenIDAuthTTL":{"locationName":"openIDAuthTTL"},"OpenIDClientId":{"locationName":"openIDClientId"},"OpenIDIatTTL":{"locationName":"openIDIatTTL"},"OpenIDIssueURL":{"locationName":"openIDIssueURL"},"OpenIDProviderName":{"locationName":"openIDProviderName"}}}}},"Si":{"type":"structure","members":{"AuthResources":{"locationName":"authResources"},"IdentityPoolConfigs":{"locationName":"identityPoolConfigs","type":"structure","members":{"IdentityPoolName":{"locationName":"identityPoolName"},"UnauthenticatedLogin":{"locationName":"unauthenticatedLogin","type":"boolean"}},"required":["UnauthenticatedLogin","IdentityPoolName"]},"Service":{"locationName":"service"},"UserPoolConfigs":{"locationName":"userPoolConfigs","type":"structure","members":{"ForgotPassword":{"locationName":"forgotPassword","type":"structure","members":{"DeliveryMethod":{"locationName":"deliveryMethod"},"EmailSettings":{"shape":"Sq","locationName":"emailSettings"},"SmsSettings":{"shape":"Sr","locationName":"smsSettings"}},"required":["DeliveryMethod"]},"Mfa":{"locationName":"mfa","type":"structure","members":{"MFAMode":{},"Settings":{"shape":"Su","locationName":"settings"}},"required":["MFAMode"]},"OAuth":{"locationName":"oAuth","type":"structure","members":{"DomainPrefix":{"locationName":"domainPrefix"},"OAuthGrantType":{"locationName":"oAuthGrantType"},"OAuthScopes":{"shape":"Sz","locationName":"oAuthScopes"},"RedirectSignInURIs":{"shape":"S11","locationName":"redirectSignInURIs"},"RedirectSignOutURIs":{"shape":"S11","locationName":"redirectSignOutURIs"},"SocialProviderSettings":{"shape":"S12","locationName":"socialProviderSettings"}},"required":["RedirectSignOutURIs","RedirectSignInURIs","OAuthGrantType","OAuthScopes"]},"PasswordPolicy":{"locationName":"passwordPolicy","type":"structure","members":{"AdditionalConstraints":{"shape":"S15","locationName":"additionalConstraints"},"MinimumLength":{"locationName":"minimumLength","type":"double"}},"required":["MinimumLength"]},"RequiredSignUpAttributes":{"locationName":"requiredSignUpAttributes","type":"list","member":{}},"SignInMethod":{"locationName":"signInMethod"},"UserPoolName":{"locationName":"userPoolName"}},"required":["RequiredSignUpAttributes","SignInMethod","UserPoolName"]}},"required":["AuthResources","UserPoolConfigs","Service"]},"Sq":{"type":"structure","members":{"EmailMessage":{"locationName":"emailMessage"},"EmailSubject":{"locationName":"emailSubject"}}},"Sr":{"type":"structure","members":{"SmsMessage":{"locationName":"smsMessage"}}},"Su":{"type":"structure","members":{"MfaTypes":{"locationName":"mfaTypes","type":"list","member":{}},"SmsMessage":{"locationName":"smsMessage"}}},"Sz":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S12":{"type":"structure","members":{"Facebook":{"shape":"S13"},"Google":{"shape":"S13"},"LoginWithAmazon":{"shape":"S13"}}},"S13":{"type":"structure","members":{"ClientId":{"locationName":"client_id"},"ClientSecret":{"locationName":"client_secret"}}},"S15":{"type":"list","member":{}},"S2n":{"type":"structure","members":{"AwsCognitoIdentityPoolId":{"locationName":"aws_cognito_identity_pool_id"},"AwsCognitoRegion":{"locationName":"aws_cognito_region"},"AwsUserPoolsId":{"locationName":"aws_user_pools_id"},"AwsUserPoolsWebClientId":{"locationName":"aws_user_pools_web_client_id"}}}}}; - XMLStringWriter.prototype.attribute = function (att) { - return " " + att.name + '="' + att.value + '"'; - }; +/***/ }), - XMLStringWriter.prototype.cdata = function (node, level) { - return ( - this.space(level) + "" + this.newline - ); - }; +/***/ 2020: +/***/ (function(module, __unusedexports, __webpack_require__) { - XMLStringWriter.prototype.comment = function (node, level) { - return ( - this.space(level) + "" + this.newline - ); - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - XMLStringWriter.prototype.declaration = function (node, level) { - var r; - r = this.space(level); - r += '"; - r += this.newline; - return r; - }; +apiLoader.services['apigatewayv2'] = {}; +AWS.ApiGatewayV2 = Service.defineService('apigatewayv2', ['2018-11-29']); +Object.defineProperty(apiLoader.services['apigatewayv2'], '2018-11-29', { + get: function get() { + var model = __webpack_require__(5687); + model.paginators = __webpack_require__(4725).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - XMLStringWriter.prototype.docType = function (node, level) { - var child, i, len, r, ref; - level || (level = 0); - r = this.space(level); - r += " 0) { - r += " ["; - r += this.newline; - ref = node.children; - for (i = 0, len = ref.length; i < len; i++) { - child = ref[i]; - r += function () { - switch (false) { - case !(child instanceof XMLDTDAttList): - return this.dtdAttList(child, level + 1); - case !(child instanceof XMLDTDElement): - return this.dtdElement(child, level + 1); - case !(child instanceof XMLDTDEntity): - return this.dtdEntity(child, level + 1); - case !(child instanceof XMLDTDNotation): - return this.dtdNotation(child, level + 1); - case !(child instanceof XMLCData): - return this.cdata(child, level + 1); - case !(child instanceof XMLComment): - return this.comment(child, level + 1); - case !(child instanceof XMLProcessingInstruction): - return this.processingInstruction(child, level + 1); - default: - throw new Error( - "Unknown DTD node type: " + child.constructor.name - ); - } - }.call(this); - } - r += "]"; - } - r += this.spacebeforeslash + ">"; - r += this.newline; - return r; - }; +module.exports = AWS.ApiGatewayV2; - XMLStringWriter.prototype.element = function (node, level) { - var att, - child, - i, - j, - len, - len1, - name, - r, - ref, - ref1, - ref2, - space, - textispresentwasset; - level || (level = 0); - textispresentwasset = false; - if (this.textispresent) { - this.newline = ""; - this.pretty = false; - } else { - this.newline = this.newlinedefault; - this.pretty = this.prettydefault; - } - space = this.space(level); - r = ""; - r += space + "<" + node.name; - ref = node.attributes; - for (name in ref) { - if (!hasProp.call(ref, name)) continue; - att = ref[name]; - r += this.attribute(att); - } - if ( - node.children.length === 0 || - node.children.every(function (e) { - return e.value === ""; - }) - ) { - if (this.allowEmpty) { - r += ">" + this.newline; - } else { - r += this.spacebeforeslash + "/>" + this.newline; - } - } else if ( - this.pretty && - node.children.length === 1 && - node.children[0].value != null - ) { - r += ">"; - r += node.children[0].value; - r += "" + this.newline; - } else { - if (this.dontprettytextnodes) { - ref1 = node.children; - for (i = 0, len = ref1.length; i < len; i++) { - child = ref1[i]; - if (child.value != null) { - this.textispresent++; - textispresentwasset = true; - break; - } - } - } - if (this.textispresent) { - this.newline = ""; - this.pretty = false; - space = this.space(level); - } - r += ">" + this.newline; - ref2 = node.children; - for (j = 0, len1 = ref2.length; j < len1; j++) { - child = ref2[j]; - r += function () { - switch (false) { - case !(child instanceof XMLCData): - return this.cdata(child, level + 1); - case !(child instanceof XMLComment): - return this.comment(child, level + 1); - case !(child instanceof XMLElement): - return this.element(child, level + 1); - case !(child instanceof XMLRaw): - return this.raw(child, level + 1); - case !(child instanceof XMLText): - return this.text(child, level + 1); - case !(child instanceof XMLProcessingInstruction): - return this.processingInstruction(child, level + 1); - default: - throw new Error( - "Unknown XML node type: " + child.constructor.name - ); - } - }.call(this); - } - if (textispresentwasset) { - this.textispresent--; - } - if (!this.textispresent) { - this.newline = this.newlinedefault; - this.pretty = this.prettydefault; - } - r += space + "" + this.newline; - } - return r; - }; - XMLStringWriter.prototype.processingInstruction = function ( - node, - level - ) { - var r; - r = this.space(level) + "" + this.newline; - return r; - }; +/***/ }), - XMLStringWriter.prototype.raw = function (node, level) { - return this.space(level) + node.value + this.newline; - }; +/***/ 2028: +/***/ (function(module) { - XMLStringWriter.prototype.text = function (node, level) { - return this.space(level) + node.value + this.newline; - }; +module.exports = {"pagination":{}}; - XMLStringWriter.prototype.dtdAttList = function (node, level) { - var r; - r = - this.space(level) + - "" + this.newline; - return r; - }; +/***/ }), - XMLStringWriter.prototype.dtdElement = function (node, level) { - return ( - this.space(level) + - "" + - this.newline - ); - }; +/***/ 2046: +/***/ (function(module) { - XMLStringWriter.prototype.dtdEntity = function (node, level) { - var r; - r = this.space(level) + "" + this.newline; - return r; - }; +module.exports = {"pagination":{}}; - XMLStringWriter.prototype.dtdNotation = function (node, level) { - var r; - r = this.space(level) + "" + this.newline; - return r; - }; +/***/ }), - XMLStringWriter.prototype.openNode = function (node, level) { - var att, name, r, ref; - level || (level = 0); - if (node instanceof XMLElement) { - r = this.space(level) + "<" + node.name; - ref = node.attributes; - for (name in ref) { - if (!hasProp.call(ref, name)) continue; - att = ref[name]; - r += this.attribute(att); - } - r += (node.children ? ">" : "/>") + this.newline; - return r; - } else { - r = this.space(level) + "") + this.newline; - return r; - } - }; +/***/ 2053: +/***/ (function(module) { - XMLStringWriter.prototype.closeNode = function (node, level) { - level || (level = 0); - switch (false) { - case !(node instanceof XMLElement): - return ( - this.space(level) + "" + this.newline - ); - case !(node instanceof XMLDocType): - return this.space(level) + "]>" + this.newline; - } - }; +module.exports = {"metadata":{"apiVersion":"2017-06-07","endpointPrefix":"greengrass","signingName":"greengrass","serviceFullName":"AWS Greengrass","serviceId":"Greengrass","protocol":"rest-json","jsonVersion":"1.1","uid":"greengrass-2017-06-07","signatureVersion":"v4"},"operations":{"AssociateRoleToGroup":{"http":{"method":"PUT","requestUri":"/greengrass/groups/{GroupId}/role","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"},"RoleArn":{}},"required":["GroupId","RoleArn"]},"output":{"type":"structure","members":{"AssociatedAt":{}}}},"AssociateServiceRoleToAccount":{"http":{"method":"PUT","requestUri":"/greengrass/servicerole","responseCode":200},"input":{"type":"structure","members":{"RoleArn":{}},"required":["RoleArn"]},"output":{"type":"structure","members":{"AssociatedAt":{}}}},"CreateConnectorDefinition":{"http":{"requestUri":"/greengrass/definition/connectors","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"S7"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateConnectorDefinitionVersion":{"http":{"requestUri":"/greengrass/definition/connectors/{ConnectorDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"ConnectorDefinitionId":{"location":"uri","locationName":"ConnectorDefinitionId"},"Connectors":{"shape":"S8"}},"required":["ConnectorDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"CreateCoreDefinition":{"http":{"requestUri":"/greengrass/definition/cores","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"Sg"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateCoreDefinitionVersion":{"http":{"requestUri":"/greengrass/definition/cores/{CoreDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"CoreDefinitionId":{"location":"uri","locationName":"CoreDefinitionId"},"Cores":{"shape":"Sh"}},"required":["CoreDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"CreateDeployment":{"http":{"requestUri":"/greengrass/groups/{GroupId}/deployments","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"DeploymentId":{},"DeploymentType":{},"GroupId":{"location":"uri","locationName":"GroupId"},"GroupVersionId":{}},"required":["GroupId","DeploymentType"]},"output":{"type":"structure","members":{"DeploymentArn":{},"DeploymentId":{}}}},"CreateDeviceDefinition":{"http":{"requestUri":"/greengrass/definition/devices","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"Sr"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateDeviceDefinitionVersion":{"http":{"requestUri":"/greengrass/definition/devices/{DeviceDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"DeviceDefinitionId":{"location":"uri","locationName":"DeviceDefinitionId"},"Devices":{"shape":"Ss"}},"required":["DeviceDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"CreateFunctionDefinition":{"http":{"requestUri":"/greengrass/definition/functions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"Sy"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateFunctionDefinitionVersion":{"http":{"requestUri":"/greengrass/definition/functions/{FunctionDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"DefaultConfig":{"shape":"Sz"},"FunctionDefinitionId":{"location":"uri","locationName":"FunctionDefinitionId"},"Functions":{"shape":"S14"}},"required":["FunctionDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"CreateGroup":{"http":{"requestUri":"/greengrass/groups","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"S1h"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateGroupCertificateAuthority":{"http":{"requestUri":"/greengrass/groups/{GroupId}/certificateauthorities","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"GroupCertificateAuthorityArn":{}}}},"CreateGroupVersion":{"http":{"requestUri":"/greengrass/groups/{GroupId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"ConnectorDefinitionVersionArn":{},"CoreDefinitionVersionArn":{},"DeviceDefinitionVersionArn":{},"FunctionDefinitionVersionArn":{},"GroupId":{"location":"uri","locationName":"GroupId"},"LoggerDefinitionVersionArn":{},"ResourceDefinitionVersionArn":{},"SubscriptionDefinitionVersionArn":{}},"required":["GroupId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"CreateLoggerDefinition":{"http":{"requestUri":"/greengrass/definition/loggers","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"S1o"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateLoggerDefinitionVersion":{"http":{"requestUri":"/greengrass/definition/loggers/{LoggerDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"LoggerDefinitionId":{"location":"uri","locationName":"LoggerDefinitionId"},"Loggers":{"shape":"S1p"}},"required":["LoggerDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"CreateResourceDefinition":{"http":{"requestUri":"/greengrass/definition/resources","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"S1y"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateResourceDefinitionVersion":{"http":{"requestUri":"/greengrass/definition/resources/{ResourceDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"ResourceDefinitionId":{"location":"uri","locationName":"ResourceDefinitionId"},"Resources":{"shape":"S1z"}},"required":["ResourceDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"CreateSoftwareUpdateJob":{"http":{"requestUri":"/greengrass/updates","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"S3UrlSignerRole":{},"SoftwareToUpdate":{},"UpdateAgentLogLevel":{},"UpdateTargets":{"type":"list","member":{}},"UpdateTargetsArchitecture":{},"UpdateTargetsOperatingSystem":{}},"required":["S3UrlSignerRole","UpdateTargetsArchitecture","SoftwareToUpdate","UpdateTargets","UpdateTargetsOperatingSystem"]},"output":{"type":"structure","members":{"IotJobArn":{},"IotJobId":{},"PlatformSoftwareVersion":{}}}},"CreateSubscriptionDefinition":{"http":{"requestUri":"/greengrass/definition/subscriptions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"InitialVersion":{"shape":"S2m"},"Name":{},"tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"CreateSubscriptionDefinitionVersion":{"http":{"requestUri":"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"SubscriptionDefinitionId":{"location":"uri","locationName":"SubscriptionDefinitionId"},"Subscriptions":{"shape":"S2n"}},"required":["SubscriptionDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"DeleteConnectorDefinition":{"http":{"method":"DELETE","requestUri":"/greengrass/definition/connectors/{ConnectorDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"ConnectorDefinitionId":{"location":"uri","locationName":"ConnectorDefinitionId"}},"required":["ConnectorDefinitionId"]},"output":{"type":"structure","members":{}}},"DeleteCoreDefinition":{"http":{"method":"DELETE","requestUri":"/greengrass/definition/cores/{CoreDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"CoreDefinitionId":{"location":"uri","locationName":"CoreDefinitionId"}},"required":["CoreDefinitionId"]},"output":{"type":"structure","members":{}}},"DeleteDeviceDefinition":{"http":{"method":"DELETE","requestUri":"/greengrass/definition/devices/{DeviceDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"DeviceDefinitionId":{"location":"uri","locationName":"DeviceDefinitionId"}},"required":["DeviceDefinitionId"]},"output":{"type":"structure","members":{}}},"DeleteFunctionDefinition":{"http":{"method":"DELETE","requestUri":"/greengrass/definition/functions/{FunctionDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"FunctionDefinitionId":{"location":"uri","locationName":"FunctionDefinitionId"}},"required":["FunctionDefinitionId"]},"output":{"type":"structure","members":{}}},"DeleteGroup":{"http":{"method":"DELETE","requestUri":"/greengrass/groups/{GroupId}","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{}}},"DeleteLoggerDefinition":{"http":{"method":"DELETE","requestUri":"/greengrass/definition/loggers/{LoggerDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"LoggerDefinitionId":{"location":"uri","locationName":"LoggerDefinitionId"}},"required":["LoggerDefinitionId"]},"output":{"type":"structure","members":{}}},"DeleteResourceDefinition":{"http":{"method":"DELETE","requestUri":"/greengrass/definition/resources/{ResourceDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"ResourceDefinitionId":{"location":"uri","locationName":"ResourceDefinitionId"}},"required":["ResourceDefinitionId"]},"output":{"type":"structure","members":{}}},"DeleteSubscriptionDefinition":{"http":{"method":"DELETE","requestUri":"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"SubscriptionDefinitionId":{"location":"uri","locationName":"SubscriptionDefinitionId"}},"required":["SubscriptionDefinitionId"]},"output":{"type":"structure","members":{}}},"DisassociateRoleFromGroup":{"http":{"method":"DELETE","requestUri":"/greengrass/groups/{GroupId}/role","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"DisassociatedAt":{}}}},"DisassociateServiceRoleFromAccount":{"http":{"method":"DELETE","requestUri":"/greengrass/servicerole","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DisassociatedAt":{}}}},"GetAssociatedRole":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/role","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"AssociatedAt":{},"RoleArn":{}}}},"GetBulkDeploymentStatus":{"http":{"method":"GET","requestUri":"/greengrass/bulk/deployments/{BulkDeploymentId}/status","responseCode":200},"input":{"type":"structure","members":{"BulkDeploymentId":{"location":"uri","locationName":"BulkDeploymentId"}},"required":["BulkDeploymentId"]},"output":{"type":"structure","members":{"BulkDeploymentMetrics":{"type":"structure","members":{"InvalidInputRecords":{"type":"integer"},"RecordsProcessed":{"type":"integer"},"RetryAttempts":{"type":"integer"}}},"BulkDeploymentStatus":{},"CreatedAt":{},"ErrorDetails":{"shape":"S3i"},"ErrorMessage":{},"tags":{"shape":"Sb"}}}},"GetConnectivityInfo":{"http":{"method":"GET","requestUri":"/greengrass/things/{ThingName}/connectivityInfo","responseCode":200},"input":{"type":"structure","members":{"ThingName":{"location":"uri","locationName":"ThingName"}},"required":["ThingName"]},"output":{"type":"structure","members":{"ConnectivityInfo":{"shape":"S3m"},"Message":{"locationName":"message"}}}},"GetConnectorDefinition":{"http":{"method":"GET","requestUri":"/greengrass/definition/connectors/{ConnectorDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"ConnectorDefinitionId":{"location":"uri","locationName":"ConnectorDefinitionId"}},"required":["ConnectorDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetConnectorDefinitionVersion":{"http":{"method":"GET","requestUri":"/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}","responseCode":200},"input":{"type":"structure","members":{"ConnectorDefinitionId":{"location":"uri","locationName":"ConnectorDefinitionId"},"ConnectorDefinitionVersionId":{"location":"uri","locationName":"ConnectorDefinitionVersionId"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["ConnectorDefinitionId","ConnectorDefinitionVersionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"S7"},"Id":{},"NextToken":{},"Version":{}}}},"GetCoreDefinition":{"http":{"method":"GET","requestUri":"/greengrass/definition/cores/{CoreDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"CoreDefinitionId":{"location":"uri","locationName":"CoreDefinitionId"}},"required":["CoreDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetCoreDefinitionVersion":{"http":{"method":"GET","requestUri":"/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}","responseCode":200},"input":{"type":"structure","members":{"CoreDefinitionId":{"location":"uri","locationName":"CoreDefinitionId"},"CoreDefinitionVersionId":{"location":"uri","locationName":"CoreDefinitionVersionId"}},"required":["CoreDefinitionId","CoreDefinitionVersionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"Sg"},"Id":{},"NextToken":{},"Version":{}}}},"GetDeploymentStatus":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status","responseCode":200},"input":{"type":"structure","members":{"DeploymentId":{"location":"uri","locationName":"DeploymentId"},"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId","DeploymentId"]},"output":{"type":"structure","members":{"DeploymentStatus":{},"DeploymentType":{},"ErrorDetails":{"shape":"S3i"},"ErrorMessage":{},"UpdatedAt":{}}}},"GetDeviceDefinition":{"http":{"method":"GET","requestUri":"/greengrass/definition/devices/{DeviceDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"DeviceDefinitionId":{"location":"uri","locationName":"DeviceDefinitionId"}},"required":["DeviceDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetDeviceDefinitionVersion":{"http":{"method":"GET","requestUri":"/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}","responseCode":200},"input":{"type":"structure","members":{"DeviceDefinitionId":{"location":"uri","locationName":"DeviceDefinitionId"},"DeviceDefinitionVersionId":{"location":"uri","locationName":"DeviceDefinitionVersionId"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["DeviceDefinitionVersionId","DeviceDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"Sr"},"Id":{},"NextToken":{},"Version":{}}}},"GetFunctionDefinition":{"http":{"method":"GET","requestUri":"/greengrass/definition/functions/{FunctionDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"FunctionDefinitionId":{"location":"uri","locationName":"FunctionDefinitionId"}},"required":["FunctionDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetFunctionDefinitionVersion":{"http":{"method":"GET","requestUri":"/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}","responseCode":200},"input":{"type":"structure","members":{"FunctionDefinitionId":{"location":"uri","locationName":"FunctionDefinitionId"},"FunctionDefinitionVersionId":{"location":"uri","locationName":"FunctionDefinitionVersionId"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["FunctionDefinitionId","FunctionDefinitionVersionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"Sy"},"Id":{},"NextToken":{},"Version":{}}}},"GetGroup":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetGroupCertificateAuthority":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}","responseCode":200},"input":{"type":"structure","members":{"CertificateAuthorityId":{"location":"uri","locationName":"CertificateAuthorityId"},"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["CertificateAuthorityId","GroupId"]},"output":{"type":"structure","members":{"GroupCertificateAuthorityArn":{},"GroupCertificateAuthorityId":{},"PemEncodedCertificate":{}}}},"GetGroupCertificateConfiguration":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"CertificateAuthorityExpiryInMilliseconds":{},"CertificateExpiryInMilliseconds":{},"GroupId":{}}}},"GetGroupVersion":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/versions/{GroupVersionId}","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"},"GroupVersionId":{"location":"uri","locationName":"GroupVersionId"}},"required":["GroupVersionId","GroupId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"S1h"},"Id":{},"Version":{}}}},"GetLoggerDefinition":{"http":{"method":"GET","requestUri":"/greengrass/definition/loggers/{LoggerDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"LoggerDefinitionId":{"location":"uri","locationName":"LoggerDefinitionId"}},"required":["LoggerDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetLoggerDefinitionVersion":{"http":{"method":"GET","requestUri":"/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}","responseCode":200},"input":{"type":"structure","members":{"LoggerDefinitionId":{"location":"uri","locationName":"LoggerDefinitionId"},"LoggerDefinitionVersionId":{"location":"uri","locationName":"LoggerDefinitionVersionId"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["LoggerDefinitionVersionId","LoggerDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"S1o"},"Id":{},"Version":{}}}},"GetResourceDefinition":{"http":{"method":"GET","requestUri":"/greengrass/definition/resources/{ResourceDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"ResourceDefinitionId":{"location":"uri","locationName":"ResourceDefinitionId"}},"required":["ResourceDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetResourceDefinitionVersion":{"http":{"method":"GET","requestUri":"/greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}","responseCode":200},"input":{"type":"structure","members":{"ResourceDefinitionId":{"location":"uri","locationName":"ResourceDefinitionId"},"ResourceDefinitionVersionId":{"location":"uri","locationName":"ResourceDefinitionVersionId"}},"required":["ResourceDefinitionVersionId","ResourceDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"S1y"},"Id":{},"Version":{}}}},"GetServiceRoleForAccount":{"http":{"method":"GET","requestUri":"/greengrass/servicerole","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"AssociatedAt":{},"RoleArn":{}}}},"GetSubscriptionDefinition":{"http":{"method":"GET","requestUri":"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"SubscriptionDefinitionId":{"location":"uri","locationName":"SubscriptionDefinitionId"}},"required":["SubscriptionDefinitionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"tags":{"shape":"Sb"}}}},"GetSubscriptionDefinitionVersion":{"http":{"method":"GET","requestUri":"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"SubscriptionDefinitionId":{"location":"uri","locationName":"SubscriptionDefinitionId"},"SubscriptionDefinitionVersionId":{"location":"uri","locationName":"SubscriptionDefinitionVersionId"}},"required":["SubscriptionDefinitionId","SubscriptionDefinitionVersionId"]},"output":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Definition":{"shape":"S2m"},"Id":{},"NextToken":{},"Version":{}}}},"GetThingRuntimeConfiguration":{"http":{"method":"GET","requestUri":"/greengrass/things/{ThingName}/runtimeconfig","responseCode":200},"input":{"type":"structure","members":{"ThingName":{"location":"uri","locationName":"ThingName"}},"required":["ThingName"]},"output":{"type":"structure","members":{"RuntimeConfiguration":{"type":"structure","members":{"TelemetryConfiguration":{"type":"structure","members":{"ConfigurationSyncStatus":{},"Telemetry":{}},"required":["Telemetry"]}}}}}},"ListBulkDeploymentDetailedReports":{"http":{"method":"GET","requestUri":"/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports","responseCode":200},"input":{"type":"structure","members":{"BulkDeploymentId":{"location":"uri","locationName":"BulkDeploymentId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["BulkDeploymentId"]},"output":{"type":"structure","members":{"Deployments":{"type":"list","member":{"type":"structure","members":{"CreatedAt":{},"DeploymentArn":{},"DeploymentId":{},"DeploymentStatus":{},"DeploymentType":{},"ErrorDetails":{"shape":"S3i"},"ErrorMessage":{},"GroupArn":{}}}},"NextToken":{}}}},"ListBulkDeployments":{"http":{"method":"GET","requestUri":"/greengrass/bulk/deployments","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"BulkDeployments":{"type":"list","member":{"type":"structure","members":{"BulkDeploymentArn":{},"BulkDeploymentId":{},"CreatedAt":{}}}},"NextToken":{}}}},"ListConnectorDefinitionVersions":{"http":{"method":"GET","requestUri":"/greengrass/definition/connectors/{ConnectorDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"ConnectorDefinitionId":{"location":"uri","locationName":"ConnectorDefinitionId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["ConnectorDefinitionId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListConnectorDefinitions":{"http":{"method":"GET","requestUri":"/greengrass/definition/connectors","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Definitions":{"shape":"S5c"},"NextToken":{}}}},"ListCoreDefinitionVersions":{"http":{"method":"GET","requestUri":"/greengrass/definition/cores/{CoreDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"CoreDefinitionId":{"location":"uri","locationName":"CoreDefinitionId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["CoreDefinitionId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListCoreDefinitions":{"http":{"method":"GET","requestUri":"/greengrass/definition/cores","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Definitions":{"shape":"S5c"},"NextToken":{}}}},"ListDeployments":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/deployments","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["GroupId"]},"output":{"type":"structure","members":{"Deployments":{"type":"list","member":{"type":"structure","members":{"CreatedAt":{},"DeploymentArn":{},"DeploymentId":{},"DeploymentType":{},"GroupArn":{}}}},"NextToken":{}}}},"ListDeviceDefinitionVersions":{"http":{"method":"GET","requestUri":"/greengrass/definition/devices/{DeviceDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"DeviceDefinitionId":{"location":"uri","locationName":"DeviceDefinitionId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["DeviceDefinitionId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListDeviceDefinitions":{"http":{"method":"GET","requestUri":"/greengrass/definition/devices","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Definitions":{"shape":"S5c"},"NextToken":{}}}},"ListFunctionDefinitionVersions":{"http":{"method":"GET","requestUri":"/greengrass/definition/functions/{FunctionDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"FunctionDefinitionId":{"location":"uri","locationName":"FunctionDefinitionId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["FunctionDefinitionId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListFunctionDefinitions":{"http":{"method":"GET","requestUri":"/greengrass/definition/functions","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Definitions":{"shape":"S5c"},"NextToken":{}}}},"ListGroupCertificateAuthorities":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/certificateauthorities","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"GroupCertificateAuthorities":{"type":"list","member":{"type":"structure","members":{"GroupCertificateAuthorityArn":{},"GroupCertificateAuthorityId":{}}}}}}},"ListGroupVersions":{"http":{"method":"GET","requestUri":"/greengrass/groups/{GroupId}/versions","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["GroupId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListGroups":{"http":{"method":"GET","requestUri":"/greengrass/groups","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{}}}},"NextToken":{}}}},"ListLoggerDefinitionVersions":{"http":{"method":"GET","requestUri":"/greengrass/definition/loggers/{LoggerDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"LoggerDefinitionId":{"location":"uri","locationName":"LoggerDefinitionId"},"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"required":["LoggerDefinitionId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListLoggerDefinitions":{"http":{"method":"GET","requestUri":"/greengrass/definition/loggers","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Definitions":{"shape":"S5c"},"NextToken":{}}}},"ListResourceDefinitionVersions":{"http":{"method":"GET","requestUri":"/greengrass/definition/resources/{ResourceDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"},"ResourceDefinitionId":{"location":"uri","locationName":"ResourceDefinitionId"}},"required":["ResourceDefinitionId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListResourceDefinitions":{"http":{"method":"GET","requestUri":"/greengrass/definition/resources","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Definitions":{"shape":"S5c"},"NextToken":{}}}},"ListSubscriptionDefinitionVersions":{"http":{"method":"GET","requestUri":"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"},"SubscriptionDefinitionId":{"location":"uri","locationName":"SubscriptionDefinitionId"}},"required":["SubscriptionDefinitionId"]},"output":{"type":"structure","members":{"NextToken":{},"Versions":{"shape":"S58"}}}},"ListSubscriptionDefinitions":{"http":{"method":"GET","requestUri":"/greengrass/definition/subscriptions","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Definitions":{"shape":"S5c"},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"tags":{"shape":"Sb"}}}},"ResetDeployments":{"http":{"requestUri":"/greengrass/groups/{GroupId}/deployments/$reset","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"Force":{"type":"boolean"},"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"DeploymentArn":{},"DeploymentId":{}}}},"StartBulkDeployment":{"http":{"requestUri":"/greengrass/bulk/deployments","responseCode":200},"input":{"type":"structure","members":{"AmznClientToken":{"location":"header","locationName":"X-Amzn-Client-Token"},"ExecutionRoleArn":{},"InputFileUri":{},"tags":{"shape":"Sb"}},"required":["ExecutionRoleArn","InputFileUri"]},"output":{"type":"structure","members":{"BulkDeploymentArn":{},"BulkDeploymentId":{}}}},"StopBulkDeployment":{"http":{"method":"PUT","requestUri":"/greengrass/bulk/deployments/{BulkDeploymentId}/$stop","responseCode":200},"input":{"type":"structure","members":{"BulkDeploymentId":{"location":"uri","locationName":"BulkDeploymentId"}},"required":["BulkDeploymentId"]},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"tags":{"shape":"Sb"}},"required":["ResourceArn"]}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"shape":"S29","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"UpdateConnectivityInfo":{"http":{"method":"PUT","requestUri":"/greengrass/things/{ThingName}/connectivityInfo","responseCode":200},"input":{"type":"structure","members":{"ConnectivityInfo":{"shape":"S3m"},"ThingName":{"location":"uri","locationName":"ThingName"}},"required":["ThingName"]},"output":{"type":"structure","members":{"Message":{"locationName":"message"},"Version":{}}}},"UpdateConnectorDefinition":{"http":{"method":"PUT","requestUri":"/greengrass/definition/connectors/{ConnectorDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"ConnectorDefinitionId":{"location":"uri","locationName":"ConnectorDefinitionId"},"Name":{}},"required":["ConnectorDefinitionId"]},"output":{"type":"structure","members":{}}},"UpdateCoreDefinition":{"http":{"method":"PUT","requestUri":"/greengrass/definition/cores/{CoreDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"CoreDefinitionId":{"location":"uri","locationName":"CoreDefinitionId"},"Name":{}},"required":["CoreDefinitionId"]},"output":{"type":"structure","members":{}}},"UpdateDeviceDefinition":{"http":{"method":"PUT","requestUri":"/greengrass/definition/devices/{DeviceDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"DeviceDefinitionId":{"location":"uri","locationName":"DeviceDefinitionId"},"Name":{}},"required":["DeviceDefinitionId"]},"output":{"type":"structure","members":{}}},"UpdateFunctionDefinition":{"http":{"method":"PUT","requestUri":"/greengrass/definition/functions/{FunctionDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"FunctionDefinitionId":{"location":"uri","locationName":"FunctionDefinitionId"},"Name":{}},"required":["FunctionDefinitionId"]},"output":{"type":"structure","members":{}}},"UpdateGroup":{"http":{"method":"PUT","requestUri":"/greengrass/groups/{GroupId}","responseCode":200},"input":{"type":"structure","members":{"GroupId":{"location":"uri","locationName":"GroupId"},"Name":{}},"required":["GroupId"]},"output":{"type":"structure","members":{}}},"UpdateGroupCertificateConfiguration":{"http":{"method":"PUT","requestUri":"/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry","responseCode":200},"input":{"type":"structure","members":{"CertificateExpiryInMilliseconds":{},"GroupId":{"location":"uri","locationName":"GroupId"}},"required":["GroupId"]},"output":{"type":"structure","members":{"CertificateAuthorityExpiryInMilliseconds":{},"CertificateExpiryInMilliseconds":{},"GroupId":{}}}},"UpdateLoggerDefinition":{"http":{"method":"PUT","requestUri":"/greengrass/definition/loggers/{LoggerDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"LoggerDefinitionId":{"location":"uri","locationName":"LoggerDefinitionId"},"Name":{}},"required":["LoggerDefinitionId"]},"output":{"type":"structure","members":{}}},"UpdateResourceDefinition":{"http":{"method":"PUT","requestUri":"/greengrass/definition/resources/{ResourceDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"Name":{},"ResourceDefinitionId":{"location":"uri","locationName":"ResourceDefinitionId"}},"required":["ResourceDefinitionId"]},"output":{"type":"structure","members":{}}},"UpdateSubscriptionDefinition":{"http":{"method":"PUT","requestUri":"/greengrass/definition/subscriptions/{SubscriptionDefinitionId}","responseCode":200},"input":{"type":"structure","members":{"Name":{},"SubscriptionDefinitionId":{"location":"uri","locationName":"SubscriptionDefinitionId"}},"required":["SubscriptionDefinitionId"]},"output":{"type":"structure","members":{}}},"UpdateThingRuntimeConfiguration":{"http":{"method":"PUT","requestUri":"/greengrass/things/{ThingName}/runtimeconfig","responseCode":200},"input":{"type":"structure","members":{"TelemetryConfiguration":{"type":"structure","members":{"Telemetry":{}},"required":["Telemetry"]},"ThingName":{"location":"uri","locationName":"ThingName"}},"required":["ThingName"]},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"structure","members":{"Connectors":{"shape":"S8"}}},"S8":{"type":"list","member":{"type":"structure","members":{"ConnectorArn":{},"Id":{},"Parameters":{"shape":"Sa"}},"required":["ConnectorArn","Id"]}},"Sa":{"type":"map","key":{},"value":{}},"Sb":{"type":"map","key":{},"value":{}},"Sg":{"type":"structure","members":{"Cores":{"shape":"Sh"}}},"Sh":{"type":"list","member":{"type":"structure","members":{"CertificateArn":{},"Id":{},"SyncShadow":{"type":"boolean"},"ThingArn":{}},"required":["ThingArn","Id","CertificateArn"]}},"Sr":{"type":"structure","members":{"Devices":{"shape":"Ss"}}},"Ss":{"type":"list","member":{"type":"structure","members":{"CertificateArn":{},"Id":{},"SyncShadow":{"type":"boolean"},"ThingArn":{}},"required":["ThingArn","Id","CertificateArn"]}},"Sy":{"type":"structure","members":{"DefaultConfig":{"shape":"Sz"},"Functions":{"shape":"S14"}}},"Sz":{"type":"structure","members":{"Execution":{"type":"structure","members":{"IsolationMode":{},"RunAs":{"shape":"S12"}}}}},"S12":{"type":"structure","members":{"Gid":{"type":"integer"},"Uid":{"type":"integer"}}},"S14":{"type":"list","member":{"type":"structure","members":{"FunctionArn":{},"FunctionConfiguration":{"type":"structure","members":{"EncodingType":{},"Environment":{"type":"structure","members":{"AccessSysfs":{"type":"boolean"},"Execution":{"type":"structure","members":{"IsolationMode":{},"RunAs":{"shape":"S12"}}},"ResourceAccessPolicies":{"type":"list","member":{"type":"structure","members":{"Permission":{},"ResourceId":{}},"required":["ResourceId"]}},"Variables":{"shape":"Sa"}}},"ExecArgs":{},"Executable":{},"MemorySize":{"type":"integer"},"Pinned":{"type":"boolean"},"Timeout":{"type":"integer"}}},"Id":{}},"required":["Id"]}},"S1h":{"type":"structure","members":{"ConnectorDefinitionVersionArn":{},"CoreDefinitionVersionArn":{},"DeviceDefinitionVersionArn":{},"FunctionDefinitionVersionArn":{},"LoggerDefinitionVersionArn":{},"ResourceDefinitionVersionArn":{},"SubscriptionDefinitionVersionArn":{}}},"S1o":{"type":"structure","members":{"Loggers":{"shape":"S1p"}}},"S1p":{"type":"list","member":{"type":"structure","members":{"Component":{},"Id":{},"Level":{},"Space":{"type":"integer"},"Type":{}},"required":["Type","Level","Id","Component"]}},"S1y":{"type":"structure","members":{"Resources":{"shape":"S1z"}}},"S1z":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"ResourceDataContainer":{"type":"structure","members":{"LocalDeviceResourceData":{"type":"structure","members":{"GroupOwnerSetting":{"shape":"S23"},"SourcePath":{}}},"LocalVolumeResourceData":{"type":"structure","members":{"DestinationPath":{},"GroupOwnerSetting":{"shape":"S23"},"SourcePath":{}}},"S3MachineLearningModelResourceData":{"type":"structure","members":{"DestinationPath":{},"OwnerSetting":{"shape":"S26"},"S3Uri":{}}},"SageMakerMachineLearningModelResourceData":{"type":"structure","members":{"DestinationPath":{},"OwnerSetting":{"shape":"S26"},"SageMakerJobArn":{}}},"SecretsManagerSecretResourceData":{"type":"structure","members":{"ARN":{},"AdditionalStagingLabelsToDownload":{"shape":"S29"}}}}}},"required":["ResourceDataContainer","Id","Name"]}},"S23":{"type":"structure","members":{"AutoAddGroupOwner":{"type":"boolean"},"GroupOwner":{}}},"S26":{"type":"structure","members":{"GroupOwner":{},"GroupPermission":{}},"required":["GroupOwner","GroupPermission"]},"S29":{"type":"list","member":{}},"S2m":{"type":"structure","members":{"Subscriptions":{"shape":"S2n"}}},"S2n":{"type":"list","member":{"type":"structure","members":{"Id":{},"Source":{},"Subject":{},"Target":{}},"required":["Target","Id","Subject","Source"]}},"S3i":{"type":"list","member":{"type":"structure","members":{"DetailedErrorCode":{},"DetailedErrorMessage":{}}}},"S3m":{"type":"list","member":{"type":"structure","members":{"HostAddress":{},"Id":{},"Metadata":{},"PortNumber":{"type":"integer"}}}},"S58":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"Version":{}}}},"S5c":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreationTimestamp":{},"Id":{},"LastUpdatedTimestamp":{},"LatestVersion":{},"LatestVersionArn":{},"Name":{},"Tags":{"shape":"Sb","locationName":"tags"}}}}}}; - return XMLStringWriter; - })(XMLWriterBase); - }.call(this)); +/***/ }), - /***/ - }, +/***/ 2077: +/***/ (function(module) { - /***/ 2751: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - __webpack_require__(3711); - var inherit = AWS.util.inherit; - - /** - * Represents a metadata service available on EC2 instances. Using the - * {request} method, you can receieve metadata about any available resource - * on the metadata service. - * - * You can disable the use of the IMDS by setting the AWS_EC2_METADATA_DISABLED - * environment variable to a truthy value. - * - * @!attribute [r] httpOptions - * @return [map] a map of options to pass to the underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * - * @!macro nobrowser - */ - AWS.MetadataService = inherit({ - /** - * @return [String] the hostname of the instance metadata service - */ - host: "169.254.169.254", - - /** - * @!ignore - */ - - /** - * Default HTTP options. By default, the metadata service is set to not - * timeout on long requests. This means that on non-EC2 machines, this - * request will never return. If you are calling this operation from an - * environment that may not always run on EC2, set a `timeout` value so - * the SDK will abort the request after a given number of milliseconds. - */ - httpOptions: { timeout: 0 }, - - /** - * when enabled, metadata service will not fetch token - */ - disableFetchToken: false, - - /** - * Creates a new MetadataService object with a given set of options. - * - * @option options host [String] the hostname of the instance metadata - * service - * @option options httpOptions [map] a map of options to pass to the - * underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * @option options maxRetries [Integer] the maximum number of retries to - * perform for timeout errors - * @option options retryDelayOptions [map] A set of options to configure the - * retry delay on retryable errors. See AWS.Config for details. - */ - constructor: function MetadataService(options) { - AWS.util.update(this, options); - }, - - /** - * Sends a request to the instance metadata service for a given resource. - * - * @param path [String] the path of the resource to get - * - * @param options [map] an optional map used to make request - * - * * **method** (String) — HTTP request method - * - * * **headers** (map) — a map of response header keys and their respective values - * - * @callback callback function(err, data) - * Called when a response is available from the service. - * @param err [Error, null] if an error occurred, this value will be set - * @param data [String, null] if the request was successful, the body of - * the response - */ - request: function request(path, options, callback) { - if (arguments.length === 2) { - callback = options; - options = {}; - } +module.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"},"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"},"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"}}}; - if (process.env[AWS.util.imdsDisabledEnv]) { - callback( - new Error("EC2 Instance Metadata Service access disabled") - ); - return; - } +/***/ }), - path = path || "/"; - var httpRequest = new AWS.HttpRequest("http://" + this.host + path); - httpRequest.method = options.method || "GET"; - if (options.headers) { - httpRequest.headers = options.headers; - } - AWS.util.handleRequestWithRetries(httpRequest, this, callback); - }, - - /** - * @api private - */ - loadCredentialsCallbacks: [], - - /** - * Fetches metadata token used for getting credentials - * - * @api private - * @callback callback function(err, token) - * Called when token is loaded from the resource - */ - fetchMetadataToken: function fetchMetadataToken(callback) { - var self = this; - var tokenFetchPath = "/latest/api/token"; - self.request( - tokenFetchPath, - { - method: "PUT", - headers: { - "x-aws-ec2-metadata-token-ttl-seconds": "21600", - }, - }, - callback - ); - }, +/***/ 2087: +/***/ (function(module) { - /** - * Fetches credentials - * - * @api private - * @callback cb function(err, creds) - * Called when credentials are loaded from the resource - */ - fetchCredentials: function fetchCredentials(options, cb) { - var self = this; - var basePath = "/latest/meta-data/iam/security-credentials/"; +module.exports = require("os"); - self.request(basePath, options, function (err, roleName) { - if (err) { - self.disableFetchToken = !(err.statusCode === 401); - cb( - AWS.util.error(err, { - message: "EC2 Metadata roleName request returned error", - }) - ); - return; - } - roleName = roleName.split("\n")[0]; // grab first (and only) role - self.request(basePath + roleName, options, function ( - credErr, - credData - ) { - if (credErr) { - self.disableFetchToken = !(credErr.statusCode === 401); - cb( - AWS.util.error(credErr, { - message: "EC2 Metadata creds request returned error", - }) - ); - return; - } - try { - var credentials = JSON.parse(credData); - cb(null, credentials); - } catch (parseError) { - cb(parseError); - } - }); - }); - }, +/***/ }), - /** - * Loads a set of credentials stored in the instance metadata service - * - * @api private - * @callback callback function(err, credentials) - * Called when credentials are loaded from the resource - * @param err [Error] if an error occurred, this value will be set - * @param credentials [Object] the raw JSON object containing all - * metadata from the credentials resource - */ - loadCredentials: function loadCredentials(callback) { - var self = this; - self.loadCredentialsCallbacks.push(callback); - if (self.loadCredentialsCallbacks.length > 1) { - return; - } +/***/ 2091: +/***/ (function(module) { - function callbacks(err, creds) { - var cb; - while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) { - cb(err, creds); - } - } +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":{}}},"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":"Sr"},"Report":{"shape":"S1x"},"ClientRequestToken":{"idempotencyToken":true},"Manifest":{"shape":"S21"},"Description":{},"Priority":{"type":"integer"},"RoleArn":{},"Tags":{"shape":"S1b"}}},"output":{"type":"structure","members":{"JobId":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"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}."}},"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}."}},"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}."}},"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":"S21"},"Operation":{"shape":"Sr"},"Priority":{"type":"integer"},"ProgressSummary":{"shape":"S2w"},"StatusUpdateReason":{},"FailureReasons":{"type":"list","member":{"type":"structure","members":{"FailureCode":{},"FailureReason":{}}}},"Report":{"shape":"S1x"},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"RoleArn":{},"SuspendedDate":{"type":"timestamp"},"SuspendedCause":{}}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"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"}}},"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}."}},"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":{"type":"structure","members":{"IsPublic":{"locationName":"IsPublic","type":"boolean"}}}}},"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":"S3p"}}},"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":"S1b"}}},"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":"S1b"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"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":"S4i"}},"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":"S5b"}}},"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":{}}}},"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":"S2w"}}}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"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}."}},"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}."}},"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":"S3p"}}}},"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":"S1b"}}}},"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":"S1b"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"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":"S4i"},"Tags":{"shape":"S5b"}}},"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":"S5b"}}},"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"}}},"Sr":{"type":"structure","members":{"LambdaInvoke":{"type":"structure","members":{"FunctionArn":{}}},"S3PutObjectCopy":{"type":"structure","members":{"TargetResource":{},"CannedAccessControlList":{},"AccessControlGrants":{"shape":"Sx"},"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":"S1b"},"RedirectLocation":{},"RequesterPays":{"type":"boolean"},"StorageClass":{},"UnModifiedSinceConstraint":{"type":"timestamp"},"SSEAwsKmsKeyId":{},"TargetKeyPrefix":{},"ObjectLockLegalHoldStatus":{},"ObjectLockMode":{},"ObjectLockRetainUntilDate":{"type":"timestamp"}}},"S3PutObjectAcl":{"type":"structure","members":{"AccessControlPolicy":{"type":"structure","members":{"AccessControlList":{"type":"structure","required":["Owner"],"members":{"Owner":{"type":"structure","members":{"ID":{},"DisplayName":{}}},"Grants":{"shape":"Sx"}}},"CannedAccessControlList":{}}}}},"S3PutObjectTagging":{"type":"structure","members":{"TagSet":{"shape":"S1b"}}},"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":{}}}}}}},"Sx":{"type":"list","member":{"type":"structure","members":{"Grantee":{"type":"structure","members":{"TypeIdentifier":{},"Identifier":{},"DisplayName":{}}},"Permission":{}}}},"S1b":{"type":"list","member":{"shape":"S1c"}},"S1c":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}},"S1x":{"type":"structure","required":["Enabled"],"members":{"Bucket":{},"Format":{},"Enabled":{"type":"boolean"},"Prefix":{},"ReportScope":{}}},"S21":{"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":{}}}}},"S2w":{"type":"structure","members":{"TotalNumberOfTasks":{"type":"long"},"NumberOfTasksSucceeded":{"type":"long"},"NumberOfTasksFailed":{"type":"long"}}},"S3p":{"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":"S1c"},"And":{"type":"structure","members":{"Prefix":{},"Tags":{"shape":"S1b"}}}}},"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"}}}}}},"S4i":{"type":"structure","required":["Id","AccountLevel","IsEnabled"],"members":{"Id":{},"AccountLevel":{"type":"structure","required":["BucketLevel"],"members":{"ActivityMetrics":{"shape":"S4k"},"BucketLevel":{"type":"structure","members":{"ActivityMetrics":{"shape":"S4k"},"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":"S4u"},"Regions":{"shape":"S4v"}}},"Exclude":{"type":"structure","members":{"Buckets":{"shape":"S4u"},"Regions":{"shape":"S4v"}}},"DataExport":{"type":"structure","required":["S3BucketDestination"],"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":{}}}}}}}}},"IsEnabled":{"type":"boolean"},"AwsOrg":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"StorageLensArn":{}}},"S4k":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S4u":{"type":"list","member":{"locationName":"Arn"}},"S4v":{"type":"list","member":{"locationName":"Region"}},"S5b":{"type":"list","member":{"locationName":"Tag","type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}}; - if (self.disableFetchToken) { - self.fetchCredentials({}, callbacks); - } else { - self.fetchMetadataToken(function (tokenError, token) { - if (tokenError) { - if (tokenError.code === "TimeoutError") { - self.disableFetchToken = true; - } else if (tokenError.retryable === true) { - callbacks( - AWS.util.error(tokenError, { - message: "EC2 Metadata token request returned error", - }) - ); - return; - } else if (tokenError.statusCode === 400) { - callbacks( - AWS.util.error(tokenError, { - message: "EC2 Metadata token request returned 400", - }) - ); - return; - } - } - var options = {}; - if (token) { - options.headers = { - "x-aws-ec2-metadata-token": token, - }; - } - self.fetchCredentials(options, callbacks); - }); - } - }, - }); +/***/ }), - /** - * @api private - */ - module.exports = AWS.MetadataService; +/***/ 2102: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - /***/ - }, +"use strict"; - /***/ 2760: /***/ function (module) { - module.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: true } }, - NextToken: {}, - }, - }, - }, - }, - shapes: {}, - }; +// For internal use, subject to change. +var __importStar = (this && this.__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; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +const fs = __importStar(__webpack_require__(5747)); +const os = __importStar(__webpack_require__(2087)); +const utils_1 = __webpack_require__(5082); +function issueCommand(command, message) { + const filePath = process.env[`GITHUB_${command}`]; + if (!filePath) { + throw new Error(`Unable to find environment variable for file command ${command}`); + } + if (!fs.existsSync(filePath)) { + throw new Error(`Missing file at path: ${filePath}`); + } + fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { + encoding: 'utf8' + }); +} +exports.issueCommand = issueCommand; +//# sourceMappingURL=file-command.js.map - /***/ - }, +/***/ }), - /***/ 2766: /***/ function (module) { - module.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: {} }, - }, - }; +/***/ 2106: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 2802: /***/ function (__unusedmodule, exports) { - (function (exports) { - "use strict"; +apiLoader.services['migrationhub'] = {}; +AWS.MigrationHub = Service.defineService('migrationhub', ['2017-05-31']); +Object.defineProperty(apiLoader.services['migrationhub'], '2017-05-31', { + get: function get() { + var model = __webpack_require__(6686); + model.paginators = __webpack_require__(370).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function isArray(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Array]"; - } else { - return false; - } - } +module.exports = AWS.MigrationHub; - function isObject(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Object]"; - } else { - return false; - } - } - function strictDeepEqual(first, second) { - // Check the scalar case first. - if (first === second) { - return true; - } +/***/ }), - // Check if they are the same type. - var firstType = Object.prototype.toString.call(first); - if (firstType !== Object.prototype.toString.call(second)) { - return false; - } - // We know that first and second have the same type so we can just check the - // first type from now on. - if (isArray(first) === true) { - // Short circuit if they're not the same length; - if (first.length !== second.length) { - return false; - } - for (var i = 0; i < first.length; i++) { - if (strictDeepEqual(first[i], second[i]) === false) { - return false; - } - } - return true; - } - if (isObject(first) === true) { - // An object is equal if it has the same key/value pairs. - var keysSeen = {}; - for (var key in first) { - if (hasOwnProperty.call(first, key)) { - if (strictDeepEqual(first[key], second[key]) === false) { - return false; - } - keysSeen[key] = true; - } - } - // Now check that there aren't any keys in second that weren't - // in first. - for (var key2 in second) { - if (hasOwnProperty.call(second, key2)) { - if (keysSeen[key2] !== true) { - return false; - } - } - } - return true; - } - return false; - } +/***/ 2110: +/***/ (function(module, __unusedexports, __webpack_require__) { - function isFalse(obj) { - // From the spec: - // A false value corresponds to the following values: - // Empty list - // Empty object - // Empty string - // False boolean - // null value - - // First check the scalar values. - if (obj === "" || obj === false || obj === null) { - return true; - } else if (isArray(obj) && obj.length === 0) { - // Check for an empty array. - return true; - } else if (isObject(obj)) { - // Check for an empty object. - for (var key in obj) { - // If there are any keys, then - // the object is not empty so the object - // is not false. - if (obj.hasOwnProperty(key)) { - return false; - } - } - return true; - } else { - return false; - } - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function objValues(obj) { - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - } +apiLoader.services['synthetics'] = {}; +AWS.Synthetics = Service.defineService('synthetics', ['2017-10-11']); +Object.defineProperty(apiLoader.services['synthetics'], '2017-10-11', { + get: function get() { + var model = __webpack_require__(7717); + model.paginators = __webpack_require__(1340).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function merge(a, b) { - var merged = {}; - for (var key in a) { - merged[key] = a[key]; - } - for (var key2 in b) { - merged[key2] = b[key2]; - } - return merged; - } +module.exports = AWS.Synthetics; - var trimLeft; - if (typeof String.prototype.trimLeft === "function") { - trimLeft = function (str) { - return str.trimLeft(); - }; - } else { - trimLeft = function (str) { - return str.match(/^\s*(.*)/)[1]; - }; - } - // Type constants used to define functions. - var TYPE_NUMBER = 0; - var TYPE_ANY = 1; - var TYPE_STRING = 2; - var TYPE_ARRAY = 3; - var TYPE_OBJECT = 4; - var TYPE_BOOLEAN = 5; - var TYPE_EXPREF = 6; - var TYPE_NULL = 7; - var TYPE_ARRAY_NUMBER = 8; - var TYPE_ARRAY_STRING = 9; - - var TOK_EOF = "EOF"; - var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; - var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; - var TOK_RBRACKET = "Rbracket"; - var TOK_RPAREN = "Rparen"; - var TOK_COMMA = "Comma"; - var TOK_COLON = "Colon"; - var TOK_RBRACE = "Rbrace"; - var TOK_NUMBER = "Number"; - var TOK_CURRENT = "Current"; - var TOK_EXPREF = "Expref"; - var TOK_PIPE = "Pipe"; - var TOK_OR = "Or"; - var TOK_AND = "And"; - var TOK_EQ = "EQ"; - var TOK_GT = "GT"; - var TOK_LT = "LT"; - var TOK_GTE = "GTE"; - var TOK_LTE = "LTE"; - var TOK_NE = "NE"; - var TOK_FLATTEN = "Flatten"; - var TOK_STAR = "Star"; - var TOK_FILTER = "Filter"; - var TOK_DOT = "Dot"; - var TOK_NOT = "Not"; - var TOK_LBRACE = "Lbrace"; - var TOK_LBRACKET = "Lbracket"; - var TOK_LPAREN = "Lparen"; - var TOK_LITERAL = "Literal"; - - // The "&", "[", "<", ">" tokens - // are not in basicToken because - // there are two token variants - // ("&&", "[?", "<=", ">="). This is specially handled - // below. - - var basicTokens = { - ".": TOK_DOT, - "*": TOK_STAR, - ",": TOK_COMMA, - ":": TOK_COLON, - "{": TOK_LBRACE, - "}": TOK_RBRACE, - "]": TOK_RBRACKET, - "(": TOK_LPAREN, - ")": TOK_RPAREN, - "@": TOK_CURRENT, - }; +/***/ }), - var operatorStartToken = { - "<": true, - ">": true, - "=": true, - "!": true, - }; +/***/ 2120: +/***/ (function(module) { - var skipChars = { - " ": true, - "\t": true, - "\n": true, - }; +module.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"},"GetSlotTypeVersions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetSlotTypes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}}; - function isAlpha(ch) { - return ( - (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z") || ch === "_" - ); - } +/***/ }), - function isNum(ch) { - return (ch >= "0" && ch <= "9") || ch === "-"; - } - function isAlphaNum(ch) { - return ( - (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - (ch >= "0" && ch <= "9") || - ch === "_" - ); - } +/***/ 2122: +/***/ (function(module) { - function Lexer() {} - Lexer.prototype = { - tokenize: function (stream) { - var tokens = []; - this._current = 0; - var start; - var identifier; - var token; - while (this._current < stream.length) { - if (isAlpha(stream[this._current])) { - start = this._current; - identifier = this._consumeUnquotedIdentifier(stream); - tokens.push({ - type: TOK_UNQUOTEDIDENTIFIER, - value: identifier, - start: start, - }); - } else if (basicTokens[stream[this._current]] !== undefined) { - tokens.push({ - type: basicTokens[stream[this._current]], - value: stream[this._current], - start: this._current, - }); - this._current++; - } else if (isNum(stream[this._current])) { - token = this._consumeNumber(stream); - tokens.push(token); - } else if (stream[this._current] === "[") { - // No need to increment this._current. This happens - // in _consumeLBracket - token = this._consumeLBracket(stream); - tokens.push(token); - } else if (stream[this._current] === '"') { - start = this._current; - identifier = this._consumeQuotedIdentifier(stream); - tokens.push({ - type: TOK_QUOTEDIDENTIFIER, - value: identifier, - start: start, - }); - } else if (stream[this._current] === "'") { - start = this._current; - identifier = this._consumeRawStringLiteral(stream); - tokens.push({ - type: TOK_LITERAL, - value: identifier, - start: start, - }); - } else if (stream[this._current] === "`") { - start = this._current; - var literal = this._consumeLiteral(stream); - tokens.push({ - type: TOK_LITERAL, - value: literal, - start: start, - }); - } else if ( - operatorStartToken[stream[this._current]] !== undefined - ) { - tokens.push(this._consumeOperator(stream)); - } else if (skipChars[stream[this._current]] !== undefined) { - // Ignore whitespace. - this._current++; - } else if (stream[this._current] === "&") { - start = this._current; - this._current++; - if (stream[this._current] === "&") { - this._current++; - tokens.push({ type: TOK_AND, value: "&&", start: start }); - } else { - tokens.push({ type: TOK_EXPREF, value: "&", start: start }); - } - } else if (stream[this._current] === "|") { - start = this._current; - this._current++; - if (stream[this._current] === "|") { - this._current++; - tokens.push({ type: TOK_OR, value: "||", start: start }); - } else { - tokens.push({ type: TOK_PIPE, value: "|", start: start }); - } - } else { - var error = new Error( - "Unknown character:" + stream[this._current] - ); - error.name = "LexerError"; - throw error; - } - } - return tokens; - }, +module.exports = {"pagination":{"GetDevicePositionHistory":{"input_token":"NextToken","output_token":"NextToken","result_key":"DevicePositions"},"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"},"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"}}}; - _consumeUnquotedIdentifier: function (stream) { - var start = this._current; - this._current++; - while ( - this._current < stream.length && - isAlphaNum(stream[this._current]) - ) { - this._current++; - } - return stream.slice(start, this._current); - }, +/***/ }), + +/***/ 2145: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['workmailmessageflow'] = {}; +AWS.WorkMailMessageFlow = Service.defineService('workmailmessageflow', ['2019-05-01']); +Object.defineProperty(apiLoader.services['workmailmessageflow'], '2019-05-01', { + get: function get() { + var model = __webpack_require__(3642); + model.paginators = __webpack_require__(2028).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - _consumeQuotedIdentifier: function (stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== '"' && this._current < maxLength) { - // You can escape a double quote and you can escape an escape. - var current = this._current; - if ( - stream[current] === "\\" && - (stream[current + 1] === "\\" || stream[current + 1] === '"') - ) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - return JSON.parse(stream.slice(start, this._current)); - }, +module.exports = AWS.WorkMailMessageFlow; - _consumeRawStringLiteral: function (stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "'" && this._current < maxLength) { - // You can escape a single quote and you can escape an escape. - var current = this._current; - if ( - stream[current] === "\\" && - (stream[current + 1] === "\\" || stream[current + 1] === "'") - ) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - var literal = stream.slice(start + 1, this._current - 1); - return literal.replace("\\'", "'"); - }, - _consumeNumber: function (stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (isNum(stream[this._current]) && this._current < maxLength) { - this._current++; - } - var value = parseInt(stream.slice(start, this._current)); - return { type: TOK_NUMBER, value: value, start: start }; - }, +/***/ }), - _consumeLBracket: function (stream) { - var start = this._current; - this._current++; - if (stream[this._current] === "?") { - this._current++; - return { type: TOK_FILTER, value: "[?", start: start }; - } else if (stream[this._current] === "]") { - this._current++; - return { type: TOK_FLATTEN, value: "[]", start: start }; - } else { - return { type: TOK_LBRACKET, value: "[", start: start }; - } - }, +/***/ 2189: +/***/ (function(module) { - _consumeOperator: function (stream) { - var start = this._current; - var startingChar = stream[start]; - this._current++; - if (startingChar === "!") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_NE, value: "!=", start: start }; - } else { - return { type: TOK_NOT, value: "!", start: start }; - } - } else if (startingChar === "<") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_LTE, value: "<=", start: start }; - } else { - return { type: TOK_LT, value: "<", start: start }; - } - } else if (startingChar === ">") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_GTE, value: ">=", start: start }; - } else { - return { type: TOK_GT, value: ">", start: start }; - } - } else if (startingChar === "=") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_EQ, value: "==", start: start }; - } - } - }, +module.exports = {"pagination":{"GetDedicatedIps":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListConfigurationSets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListContactLists":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListContacts":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListCustomVerificationEmailTemplates":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListDedicatedIpPools":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListDeliverabilityTestReports":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListDomainDeliverabilityCampaigns":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListEmailIdentities":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListEmailTemplates":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListImportJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"},"ListSuppressedDestinations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"PageSize"}}}; - _consumeLiteral: function (stream) { - this._current++; - var start = this._current; - var maxLength = stream.length; - var literal; - while (stream[this._current] !== "`" && this._current < maxLength) { - // You can escape a literal char or you can escape the escape. - var current = this._current; - if ( - stream[current] === "\\" && - (stream[current + 1] === "\\" || stream[current + 1] === "`") - ) { - current += 2; - } else { - current++; - } - this._current = current; - } - var literalString = trimLeft(stream.slice(start, this._current)); - literalString = literalString.replace("\\`", "`"); - if (this._looksLikeJSON(literalString)) { - literal = JSON.parse(literalString); - } else { - // Try to JSON parse it as "" - literal = JSON.parse('"' + literalString + '"'); - } - // +1 gets us to the ending "`", +1 to move on to the next char. - this._current++; - return literal; - }, +/***/ }), - _looksLikeJSON: function (literalString) { - var startingChars = '[{"'; - var jsonLiterals = ["true", "false", "null"]; - var numberLooking = "-0123456789"; +/***/ 2204: +/***/ (function(module) { - if (literalString === "") { - return false; - } else if (startingChars.indexOf(literalString[0]) >= 0) { - return true; - } else if (jsonLiterals.indexOf(literalString) >= 0) { - return true; - } else if (numberLooking.indexOf(literalString[0]) >= 0) { - try { - JSON.parse(literalString); - return true; - } catch (ex) { - return false; - } - } else { - return false; - } - }, - }; +module.exports = {"pagination":{"SearchDevices":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"devices"},"SearchQuantumTasks":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"quantumTasks"}}}; - var bindingPower = {}; - bindingPower[TOK_EOF] = 0; - bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; - bindingPower[TOK_QUOTEDIDENTIFIER] = 0; - bindingPower[TOK_RBRACKET] = 0; - bindingPower[TOK_RPAREN] = 0; - bindingPower[TOK_COMMA] = 0; - bindingPower[TOK_RBRACE] = 0; - bindingPower[TOK_NUMBER] = 0; - bindingPower[TOK_CURRENT] = 0; - bindingPower[TOK_EXPREF] = 0; - bindingPower[TOK_PIPE] = 1; - bindingPower[TOK_OR] = 2; - bindingPower[TOK_AND] = 3; - bindingPower[TOK_EQ] = 5; - bindingPower[TOK_GT] = 5; - bindingPower[TOK_LT] = 5; - bindingPower[TOK_GTE] = 5; - bindingPower[TOK_LTE] = 5; - bindingPower[TOK_NE] = 5; - bindingPower[TOK_FLATTEN] = 9; - bindingPower[TOK_STAR] = 20; - bindingPower[TOK_FILTER] = 21; - bindingPower[TOK_DOT] = 40; - bindingPower[TOK_NOT] = 45; - bindingPower[TOK_LBRACE] = 50; - bindingPower[TOK_LBRACKET] = 55; - bindingPower[TOK_LPAREN] = 60; - - function Parser() {} - - Parser.prototype = { - parse: function (expression) { - this._loadTokens(expression); - this.index = 0; - var ast = this.expression(0); - if (this._lookahead(0) !== TOK_EOF) { - var t = this._lookaheadToken(0); - var error = new Error( - "Unexpected token type: " + t.type + ", value: " + t.value - ); - error.name = "ParserError"; - throw error; - } - return ast; - }, +/***/ }), - _loadTokens: function (expression) { - var lexer = new Lexer(); - var tokens = lexer.tokenize(expression); - tokens.push({ type: TOK_EOF, value: "", start: expression.length }); - this.tokens = tokens; - }, +/***/ 2214: +/***/ (function(module, __unusedexports, __webpack_require__) { - expression: function (rbp) { - var leftToken = this._lookaheadToken(0); - this._advance(); - var left = this.nud(leftToken); - var currentToken = this._lookahead(0); - while (rbp < bindingPower[currentToken]) { - this._advance(); - left = this.led(currentToken, left); - currentToken = this._lookahead(0); - } - return left; - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - _lookahead: function (number) { - return this.tokens[this.index + number].type; - }, +apiLoader.services['cognitoidentity'] = {}; +AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']); +Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', { + get: function get() { + var model = __webpack_require__(7056); + model.paginators = __webpack_require__(7280).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - _lookaheadToken: function (number) { - return this.tokens[this.index + number]; - }, +module.exports = AWS.CognitoIdentity; - _advance: function () { - this.index++; - }, - nud: function (token) { - var left; - var right; - var expression; - switch (token.type) { - case TOK_LITERAL: - return { type: "Literal", value: token.value }; - case TOK_UNQUOTEDIDENTIFIER: - return { type: "Field", name: token.value }; - case TOK_QUOTEDIDENTIFIER: - 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; - case TOK_NOT: - right = this.expression(bindingPower.Not); - return { type: "NotExpression", children: [right] }; - case TOK_STAR: - left = { type: "Identity" }; - right = null; - if (this._lookahead(0) === TOK_RBRACKET) { - // This can happen in a multiselect, - // [a, b, *] - right = { type: "Identity" }; - } else { - right = this._parseProjectionRHS(bindingPower.Star); - } - return { type: "ValueProjection", children: [left, right] }; - case TOK_FILTER: - return this.led(token.type, { type: "Identity" }); - case TOK_LBRACE: - return this._parseMultiselectHash(); - case TOK_FLATTEN: - left = { type: TOK_FLATTEN, children: [{ type: "Identity" }] }; - right = this._parseProjectionRHS(bindingPower.Flatten); - return { type: "Projection", children: [left, right] }; - case TOK_LBRACKET: - if ( - this._lookahead(0) === TOK_NUMBER || - this._lookahead(0) === TOK_COLON - ) { - right = this._parseIndexExpression(); - return this._projectIfSlice({ type: "Identity" }, right); - } else if ( - this._lookahead(0) === TOK_STAR && - this._lookahead(1) === TOK_RBRACKET - ) { - this._advance(); - this._advance(); - right = this._parseProjectionRHS(bindingPower.Star); - return { - type: "Projection", - children: [{ type: "Identity" }, right], - }; - } else { - return this._parseMultiselectList(); - } - break; - case TOK_CURRENT: - return { type: TOK_CURRENT }; - case TOK_EXPREF: - expression = this.expression(bindingPower.Expref); - return { type: "ExpressionReference", children: [expression] }; - case TOK_LPAREN: - var args = []; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = { type: TOK_CURRENT }; - this._advance(); - } else { - expression = this.expression(0); - } - args.push(expression); - } - this._match(TOK_RPAREN); - return args[0]; - default: - this._errorToken(token); - } - }, +/***/ }), - led: function (tokenName, left) { - var right; - switch (tokenName) { - case TOK_DOT: - var rbp = bindingPower.Dot; - 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; - case TOK_PIPE: - right = this.expression(bindingPower.Pipe); - return { type: TOK_PIPE, children: [left, right] }; - case TOK_OR: - right = this.expression(bindingPower.Or); - return { type: "OrExpression", children: [left, right] }; - case TOK_AND: - right = this.expression(bindingPower.And); - return { type: "AndExpression", children: [left, right] }; - case TOK_LPAREN: - var name = left.name; - var args = []; - var expression, node; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = { type: TOK_CURRENT }; - this._advance(); - } else { - expression = this.expression(0); - } - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } - args.push(expression); - } - this._match(TOK_RPAREN); - node = { type: "Function", name: name, children: args }; - return node; - case TOK_FILTER: - var condition = this.expression(0); - this._match(TOK_RBRACKET); - if (this._lookahead(0) === TOK_FLATTEN) { - right = { type: "Identity" }; - } else { - right = this._parseProjectionRHS(bindingPower.Filter); - } - return { - type: "FilterProjection", - children: [left, right, condition], - }; - case TOK_FLATTEN: - var leftNode = { type: TOK_FLATTEN, children: [left] }; - var rightNode = this._parseProjectionRHS(bindingPower.Flatten); - return { type: "Projection", children: [leftNode, rightNode] }; - case TOK_EQ: - case TOK_NE: - case TOK_GT: - case TOK_GTE: - case TOK_LT: - case TOK_LTE: - return this._parseComparator(left, tokenName); - case TOK_LBRACKET: - var token = this._lookaheadToken(0); - 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; - default: - this._errorToken(this._lookaheadToken(0)); - } - }, +/***/ 2220: +/***/ (function(module, __unusedexports, __webpack_require__) { - _match: function (tokenType) { - if (this._lookahead(0) === tokenType) { - this._advance(); - } else { - var t = this._lookaheadToken(0); - var error = new Error( - "Expected " + tokenType + ", got: " + t.type - ); - error.name = "ParserError"; - throw error; - } - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - _errorToken: function (token) { - var error = new Error( - "Invalid token (" + token.type + '): "' + token.value + '"' - ); - error.name = "ParserError"; - throw error; - }, +apiLoader.services['braket'] = {}; +AWS.Braket = Service.defineService('braket', ['2019-09-01']); +Object.defineProperty(apiLoader.services['braket'], '2019-09-01', { + get: function get() { + var model = __webpack_require__(6039); + model.paginators = __webpack_require__(2204).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - _parseIndexExpression: function () { - if ( - this._lookahead(0) === TOK_COLON || - this._lookahead(1) === TOK_COLON - ) { - return this._parseSliceExpression(); - } else { - var node = { - type: "Index", - value: this._lookaheadToken(0).value, - }; - this._advance(); - this._match(TOK_RBRACKET); - return node; - } - }, +module.exports = AWS.Braket; - _projectIfSlice: function (left, right) { - var indexExpr = { - type: "IndexExpression", - children: [left, right], - }; - if (right.type === "Slice") { - return { - type: "Projection", - children: [ - indexExpr, - this._parseProjectionRHS(bindingPower.Star), - ], - }; - } else { - return indexExpr; - } - }, - _parseSliceExpression: function () { - // [start:end:step] where each part is optional, as well as the last - // colon. - var parts = [null, null, null]; - var index = 0; - var currentToken = this._lookahead(0); - while (currentToken !== TOK_RBRACKET && index < 3) { - if (currentToken === TOK_COLON) { - index++; - this._advance(); - } else if (currentToken === TOK_NUMBER) { - parts[index] = this._lookaheadToken(0).value; - this._advance(); - } else { - var t = this._lookahead(0); - var error = new Error( - "Syntax error, unexpected token: " + - t.value + - "(" + - t.type + - ")" - ); - error.name = "Parsererror"; - throw error; - } - currentToken = this._lookahead(0); - } - this._match(TOK_RBRACKET); - return { - type: "Slice", - children: parts, - }; - }, +/***/ }), - _parseComparator: function (left, comparator) { - var right = this.expression(bindingPower[comparator]); - return { - type: "Comparator", - name: comparator, - children: [left, right], - }; - }, +/***/ 2221: +/***/ (function(module, __unusedexports, __webpack_require__) { - _parseDotRHS: function (rbp) { - var lookahead = this._lookahead(0); - var exprTokens = [ - TOK_UNQUOTEDIDENTIFIER, - TOK_QUOTEDIDENTIFIER, - TOK_STAR, - ]; - if (exprTokens.indexOf(lookahead) >= 0) { - return this.expression(rbp); - } else if (lookahead === TOK_LBRACKET) { - this._match(TOK_LBRACKET); - return this._parseMultiselectList(); - } else if (lookahead === TOK_LBRACE) { - this._match(TOK_LBRACE); - return this._parseMultiselectHash(); - } - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - _parseProjectionRHS: function (rbp) { - var right; - if (bindingPower[this._lookahead(0)] < 10) { - right = { type: "Identity" }; - } else if (this._lookahead(0) === TOK_LBRACKET) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_FILTER) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_DOT) { - this._match(TOK_DOT); - right = this._parseDotRHS(rbp); - } else { - var t = this._lookaheadToken(0); - var error = new Error( - "Sytanx error, unexpected token: " + - t.value + - "(" + - t.type + - ")" - ); - error.name = "ParserError"; - throw error; - } - return right; - }, +apiLoader.services['iotsitewise'] = {}; +AWS.IoTSiteWise = Service.defineService('iotsitewise', ['2019-12-02']); +Object.defineProperty(apiLoader.services['iotsitewise'], '2019-12-02', { + get: function get() { + var model = __webpack_require__(1872); + model.paginators = __webpack_require__(9090).pagination; + model.waiters = __webpack_require__(9472).waiters; + return model; + }, + enumerable: true, + configurable: true +}); - _parseMultiselectList: function () { - var expressions = []; - while (this._lookahead(0) !== TOK_RBRACKET) { - var expression = this.expression(0); - expressions.push(expression); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - if (this._lookahead(0) === TOK_RBRACKET) { - throw new Error("Unexpected token Rbracket"); - } - } - } - this._match(TOK_RBRACKET); - return { type: "MultiSelectList", children: expressions }; - }, +module.exports = AWS.IoTSiteWise; - _parseMultiselectHash: function () { - var pairs = []; - var identifierTypes = [ - TOK_UNQUOTEDIDENTIFIER, - TOK_QUOTEDIDENTIFIER, - ]; - var keyToken, keyName, value, node; - for (;;) { - keyToken = this._lookaheadToken(0); - if (identifierTypes.indexOf(keyToken.type) < 0) { - throw new Error( - "Expecting an identifier token, got: " + keyToken.type - ); - } - keyName = keyToken.value; - this._advance(); - this._match(TOK_COLON); - value = this.expression(0); - node = { type: "KeyValuePair", name: keyName, value: value }; - pairs.push(node); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } else if (this._lookahead(0) === TOK_RBRACE) { - this._match(TOK_RBRACE); - break; - } - } - return { type: "MultiSelectHash", children: pairs }; - }, - }; - function TreeInterpreter(runtime) { - this.runtime = runtime; - } +/***/ }), - TreeInterpreter.prototype = { - search: function (node, value) { - return this.visit(node, value); - }, +/***/ 2225: +/***/ (function(module) { - visit: function (node, value) { - 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)) { - field = value[node.name]; - if (field === undefined) { - return null; - } else { - return field; - } - } else { - return null; - } - break; - case "Subexpression": - result = this.visit(node.children[0], value); - for (i = 1; i < node.children.length; i++) { - result = this.visit(node.children[1], result); - if (result === null) { - return null; - } - } - return result; - case "IndexExpression": - left = this.visit(node.children[0], value); - right = this.visit(node.children[1], left); - return right; - case "Index": - if (!isArray(value)) { - return null; - } - var index = node.value; - if (index < 0) { - index = value.length + index; - } - result = value[index]; - if (result === undefined) { - result = null; - } - return result; - case "Slice": - if (!isArray(value)) { - return null; - } - var sliceParams = node.children.slice(0); - var computed = this.computeSliceParams( - value.length, - sliceParams - ); - var start = computed[0]; - var stop = computed[1]; - var step = computed[2]; - result = []; - if (step > 0) { - for (i = start; i < stop; i += step) { - result.push(value[i]); - } - } else { - for (i = start; i > stop; i += step) { - result.push(value[i]); - } - } - return result; - case "Projection": - // Evaluate left child. - var base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - collected = []; - for (i = 0; i < base.length; i++) { - current = this.visit(node.children[1], base[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "ValueProjection": - // Evaluate left child. - base = this.visit(node.children[0], value); - if (!isObject(base)) { - return null; - } - collected = []; - var values = objValues(base); - for (i = 0; i < values.length; i++) { - current = this.visit(node.children[1], values[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "FilterProjection": - base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - var filtered = []; - var finalResults = []; - for (i = 0; i < base.length; i++) { - matched = this.visit(node.children[2], base[i]); - if (!isFalse(matched)) { - filtered.push(base[i]); - } - } - for (var j = 0; j < filtered.length; j++) { - current = this.visit(node.children[1], filtered[j]); - if (current !== null) { - finalResults.push(current); - } - } - return finalResults; - case "Comparator": - first = this.visit(node.children[0], value); - second = this.visit(node.children[1], value); - switch (node.name) { - case TOK_EQ: - result = strictDeepEqual(first, second); - break; - case TOK_NE: - result = !strictDeepEqual(first, second); - break; - case TOK_GT: - result = first > second; - break; - case TOK_GTE: - result = first >= second; - break; - case TOK_LT: - result = first < second; - break; - case TOK_LTE: - result = first <= second; - break; - default: - throw new Error("Unknown comparator: " + node.name); - } - return result; - case TOK_FLATTEN: - var original = this.visit(node.children[0], value); - if (!isArray(original)) { - return null; - } - var merged = []; - for (i = 0; i < original.length; i++) { - current = original[i]; - if (isArray(current)) { - merged.push.apply(merged, current); - } else { - merged.push(current); - } - } - return merged; - case "Identity": - return value; - case "MultiSelectList": - if (value === null) { - return null; - } - collected = []; - for (i = 0; i < node.children.length; i++) { - collected.push(this.visit(node.children[i], value)); - } - return collected; - case "MultiSelectHash": - if (value === null) { - return null; - } - collected = {}; - var child; - for (i = 0; i < node.children.length; i++) { - child = node.children[i]; - collected[child.name] = this.visit(child.value, value); - } - return collected; - case "OrExpression": - matched = this.visit(node.children[0], value); - if (isFalse(matched)) { - matched = this.visit(node.children[1], value); - } - return matched; - case "AndExpression": - first = this.visit(node.children[0], value); +module.exports = {"pagination":{}}; - if (isFalse(first) === true) { - return first; - } - return this.visit(node.children[1], value); - case "NotExpression": - first = this.visit(node.children[0], value); - return isFalse(first); - case "Literal": - return node.value; - case TOK_PIPE: - left = this.visit(node.children[0], value); - return this.visit(node.children[1], left); - case TOK_CURRENT: - return value; - case "Function": - var resolvedArgs = []; - for (i = 0; i < node.children.length; i++) { - resolvedArgs.push(this.visit(node.children[i], value)); - } - return this.runtime.callFunction(node.name, resolvedArgs); - case "ExpressionReference": - var refNode = node.children[0]; - // Tag the node with a specific attribute so the type - // checker verify the type. - refNode.jmespathType = TOK_EXPREF; - return refNode; - default: - throw new Error("Unknown node type: " + node.type); - } - }, +/***/ }), - computeSliceParams: function (arrayLength, sliceParams) { - var start = sliceParams[0]; - var stop = sliceParams[1]; - var step = sliceParams[2]; - var computed = [null, null, null]; - if (step === null) { - step = 1; - } else if (step === 0) { - var error = new Error("Invalid slice, step cannot be 0"); - error.name = "RuntimeError"; - throw error; - } - var stepValueNegative = step < 0 ? true : false; +/***/ 2230: +/***/ (function(module) { - if (start === null) { - start = stepValueNegative ? arrayLength - 1 : 0; - } else { - start = this.capSliceRange(arrayLength, start, step); - } +module.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"}]}}}; - if (stop === null) { - stop = stepValueNegative ? -1 : arrayLength; - } else { - stop = this.capSliceRange(arrayLength, stop, step); - } - computed[0] = start; - computed[1] = stop; - computed[2] = step; - return computed; - }, +/***/ }), - capSliceRange: function (arrayLength, actualValue, step) { - if (actualValue < 0) { - actualValue += arrayLength; - if (actualValue < 0) { - actualValue = step < 0 ? -1 : 0; - } - } else if (actualValue >= arrayLength) { - actualValue = step < 0 ? arrayLength - 1 : arrayLength; - } - return actualValue; - }, - }; +/***/ 2241: +/***/ (function(module) { - function Runtime(interpreter) { - this._interpreter = interpreter; - this.functionTable = { - // name: [function, ] - // The can be: - // - // { - // args: [[type1, type2], [type1, type2]], - // variadic: true|false - // } - // - // Each arg in the arg list is a list of valid types - // (if the function is overloaded and supports multiple - // types. If the type is "any" then no type checking - // occurs on the argument. Variadic is optional - // and if not provided is assumed to be false. - abs: { - _func: this._functionAbs, - _signature: [{ types: [TYPE_NUMBER] }], - }, - avg: { - _func: this._functionAvg, - _signature: [{ types: [TYPE_ARRAY_NUMBER] }], - }, - ceil: { - _func: this._functionCeil, - _signature: [{ types: [TYPE_NUMBER] }], - }, - contains: { - _func: this._functionContains, - _signature: [ - { types: [TYPE_STRING, TYPE_ARRAY] }, - { types: [TYPE_ANY] }, - ], - }, - ends_with: { - _func: this._functionEndsWith, - _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }], - }, - floor: { - _func: this._functionFloor, - _signature: [{ types: [TYPE_NUMBER] }], - }, - length: { - _func: this._functionLength, - _signature: [{ types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT] }], - }, - map: { - _func: this._functionMap, - _signature: [{ types: [TYPE_EXPREF] }, { types: [TYPE_ARRAY] }], - }, - max: { - _func: this._functionMax, - _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }], - }, - merge: { - _func: this._functionMerge, - _signature: [{ types: [TYPE_OBJECT], variadic: true }], - }, - max_by: { - _func: this._functionMaxBy, - _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], - }, - sum: { - _func: this._functionSum, - _signature: [{ types: [TYPE_ARRAY_NUMBER] }], - }, - starts_with: { - _func: this._functionStartsWith, - _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }], - }, - min: { - _func: this._functionMin, - _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }], - }, - min_by: { - _func: this._functionMinBy, - _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], - }, - type: { - _func: this._functionType, - _signature: [{ types: [TYPE_ANY] }], - }, - keys: { - _func: this._functionKeys, - _signature: [{ types: [TYPE_OBJECT] }], - }, - values: { - _func: this._functionValues, - _signature: [{ types: [TYPE_OBJECT] }], - }, - sort: { - _func: this._functionSort, - _signature: [{ types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER] }], - }, - sort_by: { - _func: this._functionSortBy, - _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], - }, - join: { - _func: this._functionJoin, - _signature: [ - { types: [TYPE_STRING] }, - { types: [TYPE_ARRAY_STRING] }, - ], - }, - reverse: { - _func: this._functionReverse, - _signature: [{ types: [TYPE_STRING, TYPE_ARRAY] }], - }, - to_array: { - _func: this._functionToArray, - _signature: [{ types: [TYPE_ANY] }], - }, - to_string: { - _func: this._functionToString, - _signature: [{ types: [TYPE_ANY] }], - }, - to_number: { - _func: this._functionToNumber, - _signature: [{ types: [TYPE_ANY] }], - }, - not_null: { - _func: this._functionNotNull, - _signature: [{ types: [TYPE_ANY], variadic: true }], - }, - }; - } +module.exports = {"metadata":{"apiVersion":"2018-09-05","endpointPrefix":"sms-voice.pinpoint","signingName":"sms-voice","serviceAbbreviation":"Pinpoint SMS Voice","serviceFullName":"Amazon Pinpoint SMS and Voice Service","serviceId":"Pinpoint SMS Voice","protocol":"rest-json","jsonVersion":"1.1","uid":"pinpoint-sms-voice-2018-09-05","signatureVersion":"v4"},"operations":{"CreateConfigurationSet":{"http":{"requestUri":"/v1/sms-voice/configuration-sets","responseCode":200},"input":{"type":"structure","members":{"ConfigurationSetName":{}}},"output":{"type":"structure","members":{}}},"CreateConfigurationSetEventDestination":{"http":{"requestUri":"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations","responseCode":200},"input":{"type":"structure","members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"EventDestination":{"shape":"S6"},"EventDestinationName":{}},"required":["ConfigurationSetName"]},"output":{"type":"structure","members":{}}},"DeleteConfigurationSet":{"http":{"method":"DELETE","requestUri":"/v1/sms-voice/configuration-sets/{ConfigurationSetName}","responseCode":200},"input":{"type":"structure","members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"}},"required":["ConfigurationSetName"]},"output":{"type":"structure","members":{}}},"DeleteConfigurationSetEventDestination":{"http":{"method":"DELETE","requestUri":"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}","responseCode":200},"input":{"type":"structure","members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"EventDestinationName":{"location":"uri","locationName":"EventDestinationName"}},"required":["EventDestinationName","ConfigurationSetName"]},"output":{"type":"structure","members":{}}},"GetConfigurationSetEventDestinations":{"http":{"method":"GET","requestUri":"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations","responseCode":200},"input":{"type":"structure","members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"}},"required":["ConfigurationSetName"]},"output":{"type":"structure","members":{"EventDestinations":{"type":"list","member":{"type":"structure","members":{"CloudWatchLogsDestination":{"shape":"S7"},"Enabled":{"type":"boolean"},"KinesisFirehoseDestination":{"shape":"Sa"},"MatchingEventTypes":{"shape":"Sb"},"Name":{},"SnsDestination":{"shape":"Sd"}}}}}}},"ListConfigurationSets":{"http":{"method":"GET","requestUri":"/v1/sms-voice/configuration-sets","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"PageSize":{"location":"querystring","locationName":"PageSize"}}},"output":{"type":"structure","members":{"ConfigurationSets":{"type":"list","member":{}},"NextToken":{}}}},"SendVoiceMessage":{"http":{"requestUri":"/v1/sms-voice/voice/message","responseCode":200},"input":{"type":"structure","members":{"CallerId":{},"ConfigurationSetName":{},"Content":{"type":"structure","members":{"CallInstructionsMessage":{"type":"structure","members":{"Text":{}},"required":[]},"PlainTextMessage":{"type":"structure","members":{"LanguageCode":{},"Text":{},"VoiceId":{}},"required":[]},"SSMLMessage":{"type":"structure","members":{"LanguageCode":{},"Text":{},"VoiceId":{}},"required":[]}}},"DestinationPhoneNumber":{},"OriginationPhoneNumber":{}}},"output":{"type":"structure","members":{"MessageId":{}}}},"UpdateConfigurationSetEventDestination":{"http":{"method":"PUT","requestUri":"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}","responseCode":200},"input":{"type":"structure","members":{"ConfigurationSetName":{"location":"uri","locationName":"ConfigurationSetName"},"EventDestination":{"shape":"S6"},"EventDestinationName":{"location":"uri","locationName":"EventDestinationName"}},"required":["EventDestinationName","ConfigurationSetName"]},"output":{"type":"structure","members":{}}}},"shapes":{"S6":{"type":"structure","members":{"CloudWatchLogsDestination":{"shape":"S7"},"Enabled":{"type":"boolean"},"KinesisFirehoseDestination":{"shape":"Sa"},"MatchingEventTypes":{"shape":"Sb"},"SnsDestination":{"shape":"Sd"}},"required":[]},"S7":{"type":"structure","members":{"IamRoleArn":{},"LogGroupArn":{}},"required":[]},"Sa":{"type":"structure","members":{"DeliveryStreamArn":{},"IamRoleArn":{}},"required":[]},"Sb":{"type":"list","member":{}},"Sd":{"type":"structure","members":{"TopicArn":{}},"required":[]}}}; - Runtime.prototype = { - callFunction: function (name, resolvedArgs) { - var functionEntry = this.functionTable[name]; - if (functionEntry === undefined) { - throw new Error("Unknown function: " + name + "()"); - } - this._validateArgs(name, resolvedArgs, functionEntry._signature); - return functionEntry._func.call(this, resolvedArgs); - }, +/***/ }), - _validateArgs: function (name, args, signature) { - // Validating the args requires validating - // the correct arity and the correct type of each arg. - // If the last argument is declared as variadic, then we need - // a minimum number of args to be required. Otherwise it has to - // be an exact amount. - var pluralized; - if (signature[signature.length - 1].variadic) { - if (args.length < signature.length) { - pluralized = - signature.length === 1 ? " argument" : " arguments"; - throw new Error( - "ArgumentError: " + - name + - "() " + - "takes at least" + - signature.length + - pluralized + - " but received " + - args.length - ); - } - } else if (args.length !== signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error( - "ArgumentError: " + - name + - "() " + - "takes " + - signature.length + - pluralized + - " but received " + - args.length - ); - } - var currentSpec; - var actualType; - var typeMatched; - for (var i = 0; i < signature.length; i++) { - typeMatched = false; - currentSpec = signature[i].types; - actualType = this._getTypeName(args[i]); - for (var j = 0; j < currentSpec.length; j++) { - if (this._typeMatches(actualType, currentSpec[j], args[i])) { - typeMatched = true; - break; - } - } - if (!typeMatched) { - throw new Error( - "TypeError: " + - name + - "() " + - "expected argument " + - (i + 1) + - " to be type " + - currentSpec + - " but received type " + - actualType + - " instead." - ); - } - } - }, +/***/ 2259: +/***/ (function(module, __unusedexports, __webpack_require__) { - _typeMatches: function (actual, expected, argValue) { - if (expected === TYPE_ANY) { - return true; - } - if ( - expected === TYPE_ARRAY_STRING || - expected === TYPE_ARRAY_NUMBER || - expected === TYPE_ARRAY - ) { - // The expected type can either just be array, - // or it can require a specific subtype (array of numbers). - // - // The simplest case is if "array" with no subtype is specified. - if (expected === TYPE_ARRAY) { - return actual === TYPE_ARRAY; - } else if (actual === TYPE_ARRAY) { - // Otherwise we need to check subtypes. - // I think this has potential to be improved. - var subtype; - if (expected === TYPE_ARRAY_NUMBER) { - subtype = TYPE_NUMBER; - } else if (expected === TYPE_ARRAY_STRING) { - subtype = TYPE_STRING; - } - for (var i = 0; i < argValue.length; i++) { - if ( - !this._typeMatches( - this._getTypeName(argValue[i]), - subtype, - argValue[i] - ) - ) { - return false; - } - } - return true; - } - } else { - return actual === expected; - } - }, - _getTypeName: function (obj) { - switch (Object.prototype.toString.call(obj)) { - case "[object String]": - return TYPE_STRING; - case "[object Number]": - return TYPE_NUMBER; - case "[object Array]": - return TYPE_ARRAY; - case "[object Boolean]": - return TYPE_BOOLEAN; - case "[object Null]": - return TYPE_NULL; - case "[object Object]": - // Check if it's an expref. If it has, it's been - // tagged with a jmespathType attr of 'Expref'; - if (obj.jmespathType === TOK_EXPREF) { - return TYPE_EXPREF; - } else { - return TYPE_OBJECT; - } - } - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - _functionStartsWith: function (resolvedArgs) { - return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; - }, +apiLoader.services['snowball'] = {}; +AWS.Snowball = Service.defineService('snowball', ['2016-06-30']); +Object.defineProperty(apiLoader.services['snowball'], '2016-06-30', { + get: function get() { + var model = __webpack_require__(4887); + model.paginators = __webpack_require__(184).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - _functionEndsWith: function (resolvedArgs) { - var searchStr = resolvedArgs[0]; - var suffix = resolvedArgs[1]; - return ( - searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1 - ); - }, +module.exports = AWS.Snowball; - _functionReverse: function (resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - if (typeName === TYPE_STRING) { - var originalStr = resolvedArgs[0]; - var reversedStr = ""; - for (var i = originalStr.length - 1; i >= 0; i--) { - reversedStr += originalStr[i]; - } - return reversedStr; - } else { - var reversedArray = resolvedArgs[0].slice(0); - reversedArray.reverse(); - return reversedArray; - } - }, - _functionAbs: function (resolvedArgs) { - return Math.abs(resolvedArgs[0]); - }, +/***/ }), - _functionCeil: function (resolvedArgs) { - return Math.ceil(resolvedArgs[0]); - }, +/***/ 2261: +/***/ (function(module) { - _functionAvg: function (resolvedArgs) { - var sum = 0; - var inputArray = resolvedArgs[0]; - for (var i = 0; i < inputArray.length; i++) { - sum += inputArray[i]; - } - return sum / inputArray.length; - }, +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"}}}}; - _functionContains: function (resolvedArgs) { - return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; - }, +/***/ }), - _functionFloor: function (resolvedArgs) { - return Math.floor(resolvedArgs[0]); - }, +/***/ 2269: +/***/ (function(module) { - _functionLength: function (resolvedArgs) { - if (!isObject(resolvedArgs[0])) { - return resolvedArgs[0].length; - } else { - // As far as I can tell, there's no way to get the length - // of an object without O(n) iteration through the object. - return Object.keys(resolvedArgs[0]).length; - } - }, +module.exports = {"pagination":{"DescribeCertificates":{"input_token":"Marker","limit_key":"MaxRecords","output_token":"Marker","result_key":"Certificates"},"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"},"DescribeDBInstances":{"input_token":"Marker","limit_key":"MaxRecords","output_token":"Marker","result_key":"DBInstances"},"DescribeDBSubnetGroups":{"input_token":"Marker","limit_key":"MaxRecords","output_token":"Marker","result_key":"DBSubnetGroups"},"DescribeEvents":{"input_token":"Marker","limit_key":"MaxRecords","output_token":"Marker","result_key":"Events"},"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"},"ListTagsForResource":{"result_key":"TagList"}}}; - _functionMap: function (resolvedArgs) { - var mapped = []; - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[0]; - var elements = resolvedArgs[1]; - for (var i = 0; i < elements.length; i++) { - mapped.push(interpreter.visit(exprefNode, elements[i])); - } - return mapped; - }, +/***/ }), - _functionMerge: function (resolvedArgs) { - var merged = {}; - for (var i = 0; i < resolvedArgs.length; i++) { - var current = resolvedArgs[i]; - for (var key in current) { - merged[key] = current[key]; - } - } - return merged; - }, +/***/ 2271: +/***/ (function(module, __unusedexports, __webpack_require__) { - _functionMax: function (resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.max.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var maxElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (maxElement.localeCompare(elements[i]) < 0) { - maxElement = elements[i]; - } - } - return maxElement; - } - } else { - return null; - } - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - _functionMin: function (resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.min.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var minElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (elements[i].localeCompare(minElement) < 0) { - minElement = elements[i]; - } - } - return minElement; - } - } else { - return null; - } - }, +apiLoader.services['mediastoredata'] = {}; +AWS.MediaStoreData = Service.defineService('mediastoredata', ['2017-09-01']); +Object.defineProperty(apiLoader.services['mediastoredata'], '2017-09-01', { + get: function get() { + var model = __webpack_require__(8825); + model.paginators = __webpack_require__(4483).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - _functionSum: function (resolvedArgs) { - var sum = 0; - var listToSum = resolvedArgs[0]; - for (var i = 0; i < listToSum.length; i++) { - sum += listToSum[i]; - } - return sum; - }, +module.exports = AWS.MediaStoreData; - _functionType: function (resolvedArgs) { - switch (this._getTypeName(resolvedArgs[0])) { - case TYPE_NUMBER: - return "number"; - case TYPE_STRING: - return "string"; - case TYPE_ARRAY: - return "array"; - case TYPE_OBJECT: - return "object"; - case TYPE_BOOLEAN: - return "boolean"; - case TYPE_EXPREF: - return "expref"; - case TYPE_NULL: - return "null"; - } - }, - _functionKeys: function (resolvedArgs) { - return Object.keys(resolvedArgs[0]); - }, +/***/ }), - _functionValues: function (resolvedArgs) { - var obj = resolvedArgs[0]; - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - }, +/***/ 2297: +/***/ (function(module) { - _functionJoin: function (resolvedArgs) { - var joinChar = resolvedArgs[0]; - var listJoin = resolvedArgs[1]; - return listJoin.join(joinChar); - }, +module.exports = class HttpError extends Error { + constructor (message, code, headers) { + super(message) - _functionToArray: function (resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { - return resolvedArgs[0]; - } else { - return [resolvedArgs[0]]; - } - }, + // Maintains proper stack trace (only available on V8) + /* istanbul ignore next */ + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor) + } - _functionToString: function (resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { - return resolvedArgs[0]; - } else { - return JSON.stringify(resolvedArgs[0]); - } - }, + this.name = 'HttpError' + this.code = code + this.headers = headers + } +} - _functionToNumber: function (resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - var convertedValue; - if (typeName === TYPE_NUMBER) { - return resolvedArgs[0]; - } else if (typeName === TYPE_STRING) { - convertedValue = +resolvedArgs[0]; - if (!isNaN(convertedValue)) { - return convertedValue; - } - } - return null; - }, - _functionNotNull: function (resolvedArgs) { - for (var i = 0; i < resolvedArgs.length; i++) { - if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { - return resolvedArgs[i]; - } - } - return null; - }, +/***/ }), - _functionSort: function (resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - sortedArray.sort(); - return sortedArray; - }, +/***/ 2304: +/***/ (function(module) { - _functionSortBy: function (resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - if (sortedArray.length === 0) { - return sortedArray; - } - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[1]; - var requiredType = this._getTypeName( - interpreter.visit(exprefNode, sortedArray[0]) - ); - if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { - throw new Error("TypeError"); - } - var that = this; - // In order to get a stable sort out of an unstable - // sort algorithm, we decorate/sort/undecorate (DSU) - // by creating a new list of [index, element] pairs. - // In the cmp function, if the evaluated elements are - // equal, then the index will be used as the tiebreaker. - // After the decorated list has been sorted, it will be - // undecorated to extract the original elements. - var decorated = []; - for (var i = 0; i < sortedArray.length; i++) { - decorated.push([i, sortedArray[i]]); - } - decorated.sort(function (a, b) { - var exprA = interpreter.visit(exprefNode, a[1]); - var exprB = interpreter.visit(exprefNode, b[1]); - if (that._getTypeName(exprA) !== requiredType) { - throw new Error( - "TypeError: expected " + - requiredType + - ", received " + - that._getTypeName(exprA) - ); - } else if (that._getTypeName(exprB) !== requiredType) { - throw new Error( - "TypeError: expected " + - requiredType + - ", received " + - that._getTypeName(exprB) - ); - } - if (exprA > exprB) { - return 1; - } else if (exprA < exprB) { - return -1; - } else { - // If they're equal compare the items by their - // order to maintain relative order of equal keys - // (i.e. to get a stable sort). - return a[0] - b[0]; - } - }); - // Undecorate: extract out the original list elements. - for (var j = 0; j < decorated.length; j++) { - sortedArray[j] = decorated[j][1]; - } - return sortedArray; - }, +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":"Se","locationName":"clientAuthentication"},"ClusterName":{"locationName":"clusterName"},"ConfigurationInfo":{"shape":"Sk","locationName":"configurationInfo"},"EncryptionInfo":{"shape":"Sm","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sr","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"Sw","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"Tags":{"shape":"S12","locationName":"tags"}},"required":["BrokerNodeGroupInfo","KafkaVersion","NumberOfBrokerNodes","ClusterName"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"State":{"locationName":"state"}}}},"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":"S18","locationName":"creationTime"},"LatestRevision":{"shape":"S19","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":"S1h","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":"S1r","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":"S18","locationName":"creationTime"},"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"LatestRevision":{"shape":"S19","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":"S18","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"}}}},"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":"S1r"}},"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":"S1h"}},"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":"S19"}}}}},"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":"S18","locationName":"creationTime"},"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"LatestRevision":{"shape":"S19","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":"S1i","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":"S12","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":"S12","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"}}}},"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":"S1x","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":"S19","locationName":"latestRevision"}}}},"UpdateClusterConfiguration":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/configuration","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"ConfigurationInfo":{"shape":"Sk","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":"Sk","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":"Sr","locationName":"openMonitoring"},"LoggingInfo":{"shape":"Sw","locationName":"loggingInfo"}},"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"}}}}}},"required":["ClientSubnets","InstanceType"]},"Se":{"type":"structure","members":{"Sasl":{"locationName":"sasl","type":"structure","members":{"Scram":{"locationName":"scram","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}}}},"Tls":{"locationName":"tls","type":"structure","members":{"CertificateAuthorityArnList":{"shape":"S3","locationName":"certificateAuthorityArnList"}}}}},"Sk":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Revision":{"locationName":"revision","type":"long"}},"required":["Revision","Arn"]},"Sm":{"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"}}}}},"Sr":{"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"]},"Sw":{"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"]},"S12":{"type":"map","key":{},"value":{}},"S18":{"type":"timestamp","timestampFormat":"iso8601"},"S19":{"type":"structure","members":{"CreationTime":{"shape":"S18","locationName":"creationTime"},"Description":{"locationName":"description"},"Revision":{"locationName":"revision","type":"long"}},"required":["Revision","CreationTime"]},"S1h":{"type":"structure","members":{"ActiveOperationArn":{"locationName":"activeOperationArn"},"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"ClientAuthentication":{"shape":"Se","locationName":"clientAuthentication"},"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"CreationTime":{"shape":"S18","locationName":"creationTime"},"CurrentBrokerSoftwareInfo":{"shape":"S1i","locationName":"currentBrokerSoftwareInfo"},"CurrentVersion":{"locationName":"currentVersion"},"EncryptionInfo":{"shape":"Sm","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"S1j","locationName":"openMonitoring"},"LoggingInfo":{"shape":"Sw","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"State":{"locationName":"state"},"StateInfo":{"locationName":"stateInfo","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"Tags":{"shape":"S12","locationName":"tags"},"ZookeeperConnectString":{"locationName":"zookeeperConnectString"},"ZookeeperConnectStringTls":{"locationName":"zookeeperConnectStringTls"}}},"S1i":{"type":"structure","members":{"ConfigurationArn":{"locationName":"configurationArn"},"ConfigurationRevision":{"locationName":"configurationRevision","type":"long"},"KafkaVersion":{"locationName":"kafkaVersion"}}},"S1j":{"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"]},"S1r":{"type":"structure","members":{"ClientRequestId":{"locationName":"clientRequestId"},"ClusterArn":{"locationName":"clusterArn"},"CreationTime":{"shape":"S18","locationName":"creationTime"},"EndTime":{"shape":"S18","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":"S1w","locationName":"sourceClusterInfo"},"TargetClusterInfo":{"shape":"S1w","locationName":"targetClusterInfo"}}},"S1w":{"type":"structure","members":{"BrokerEBSVolumeInfo":{"shape":"S1x","locationName":"brokerEBSVolumeInfo"},"ConfigurationInfo":{"shape":"Sk","locationName":"configurationInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"S1j","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"Sw","locationName":"loggingInfo"}}},"S1x":{"type":"list","member":{"type":"structure","members":{"KafkaBrokerNodeId":{"locationName":"kafkaBrokerNodeId"},"VolumeSizeGB":{"locationName":"volumeSizeGB","type":"integer"}},"required":["VolumeSizeGB","KafkaBrokerNodeId"]}}}}; - _functionMaxBy: function (resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [ - TYPE_NUMBER, - TYPE_STRING, - ]); - var maxNumber = -Infinity; - var maxRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current > maxNumber) { - maxNumber = current; - maxRecord = resolvedArray[i]; - } - } - return maxRecord; - }, +/***/ }), - _functionMinBy: function (resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [ - TYPE_NUMBER, - TYPE_STRING, - ]); - var minNumber = Infinity; - var minRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current < minNumber) { - minNumber = current; - minRecord = resolvedArray[i]; - } - } - return minRecord; - }, +/***/ 2317: +/***/ (function(module, __unusedexports, __webpack_require__) { - createKeyFunction: function (exprefNode, allowedTypes) { - var that = this; - var interpreter = this._interpreter; - var keyFunc = function (x) { - var current = interpreter.visit(exprefNode, x); - if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { - var msg = - "TypeError: expected one of " + - allowedTypes + - ", received " + - that._getTypeName(current); - throw new Error(msg); - } - return current; - }; - return keyFunc; - }, - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function compile(stream) { - var parser = new Parser(); - var ast = parser.parse(stream); - return ast; - } +apiLoader.services['codedeploy'] = {}; +AWS.CodeDeploy = Service.defineService('codedeploy', ['2014-10-06']); +Object.defineProperty(apiLoader.services['codedeploy'], '2014-10-06', { + get: function get() { + var model = __webpack_require__(4721); + model.paginators = __webpack_require__(2971).pagination; + model.waiters = __webpack_require__(1154).waiters; + return model; + }, + enumerable: true, + configurable: true +}); - function tokenize(stream) { - var lexer = new Lexer(); - return lexer.tokenize(stream); - } +module.exports = AWS.CodeDeploy; - function search(data, expression) { - var parser = new Parser(); - // This needs to be improved. Both the interpreter and runtime depend on - // each other. The runtime needs the interpreter to support exprefs. - // There's likely a clean way to avoid the cyclic dependency. - var runtime = new Runtime(); - var interpreter = new TreeInterpreter(runtime); - runtime._interpreter = interpreter; - var node = parser.parse(expression); - return interpreter.search(node, data); - } - exports.tokenize = tokenize; - exports.compile = compile; - exports.search = search; - exports.strictDeepEqual = strictDeepEqual; - })(false ? undefined : exports); +/***/ }), - /***/ - }, +/***/ 2323: +/***/ (function(module) { - /***/ 2816: /***/ function (module) { - module.exports = { - pagination: { - ListInvitations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListNetworks: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListNodes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListProposalVotes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListProposals: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +module.exports = {"pagination":{}}; - /***/ - }, +/***/ }), - /***/ 2857: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2012-06-01", - checksumFormat: "sha256", - endpointPrefix: "glacier", - protocol: "rest-json", - serviceFullName: "Amazon Glacier", - serviceId: "Glacier", - signatureVersion: "v4", - uid: "glacier-2012-06-01", - }, - operations: { - AbortMultipartUpload: { - http: { - method: "DELETE", - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "uploadId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, - }, - }, - }, - AbortVaultLock: { - http: { - method: "DELETE", - requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - }, - AddTagsToVault: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/tags?operation=add", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - Tags: { shape: "S5" }, - }, - }, - }, - CompleteMultipartUpload: { - http: { - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - responseCode: 201, - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "uploadId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, - archiveSize: { - location: "header", - locationName: "x-amz-archive-size", - }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - }, - }, - output: { shape: "S9" }, - }, - CompleteVaultLock: { - http: { - requestUri: - "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "lockId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - lockId: { location: "uri", locationName: "lockId" }, - }, - }, - }, - CreateVault: { - http: { - method: "PUT", - requestUri: "/{accountId}/vaults/{vaultName}", - responseCode: 201, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - output: { - type: "structure", - members: { - location: { location: "header", locationName: "Location" }, - }, - }, - }, - DeleteArchive: { - http: { - method: "DELETE", - requestUri: - "/{accountId}/vaults/{vaultName}/archives/{archiveId}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "archiveId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - archiveId: { location: "uri", locationName: "archiveId" }, - }, - }, - }, - DeleteVault: { - http: { - method: "DELETE", - requestUri: "/{accountId}/vaults/{vaultName}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - }, - DeleteVaultAccessPolicy: { - http: { - method: "DELETE", - requestUri: "/{accountId}/vaults/{vaultName}/access-policy", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - }, - DeleteVaultNotifications: { - http: { - method: "DELETE", - requestUri: - "/{accountId}/vaults/{vaultName}/notification-configuration", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - }, - DescribeJob: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}", - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "jobId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - jobId: { location: "uri", locationName: "jobId" }, - }, - }, - output: { shape: "Si" }, - }, - DescribeVault: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}", - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - output: { shape: "S1a" }, - }, - GetDataRetrievalPolicy: { - http: { - method: "GET", - requestUri: "/{accountId}/policies/data-retrieval", - }, - input: { - type: "structure", - required: ["accountId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - }, - }, - output: { - type: "structure", - members: { Policy: { shape: "S1e" } }, - }, - }, - GetJobOutput: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output", - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "jobId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - jobId: { location: "uri", locationName: "jobId" }, - range: { location: "header", locationName: "Range" }, - }, - }, - output: { - type: "structure", - members: { - body: { shape: "S1k" }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - status: { location: "statusCode", type: "integer" }, - contentRange: { - location: "header", - locationName: "Content-Range", - }, - acceptRanges: { - location: "header", - locationName: "Accept-Ranges", - }, - contentType: { - location: "header", - locationName: "Content-Type", - }, - archiveDescription: { - location: "header", - locationName: "x-amz-archive-description", - }, - }, - payload: "body", - }, - }, - GetVaultAccessPolicy: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/access-policy", - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - output: { - type: "structure", - members: { policy: { shape: "S1o" } }, - payload: "policy", - }, - }, - GetVaultLock: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - output: { - type: "structure", - members: { - Policy: {}, - State: {}, - ExpirationDate: {}, - CreationDate: {}, - }, - }, - }, - GetVaultNotifications: { - http: { - method: "GET", - requestUri: - "/{accountId}/vaults/{vaultName}/notification-configuration", - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - output: { - type: "structure", - members: { vaultNotificationConfig: { shape: "S1t" } }, - payload: "vaultNotificationConfig", - }, - }, - InitiateJob: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/jobs", - responseCode: 202, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - jobParameters: { - type: "structure", - members: { - Format: {}, - Type: {}, - ArchiveId: {}, - Description: {}, - SNSTopic: {}, - RetrievalByteRange: {}, - Tier: {}, - InventoryRetrievalParameters: { - type: "structure", - members: { - StartDate: {}, - EndDate: {}, - Limit: {}, - Marker: {}, - }, - }, - SelectParameters: { shape: "Sp" }, - OutputLocation: { shape: "Sx" }, - }, - }, - }, - payload: "jobParameters", - }, - output: { - type: "structure", - members: { - location: { location: "header", locationName: "Location" }, - jobId: { location: "header", locationName: "x-amz-job-id" }, - jobOutputPath: { - location: "header", - locationName: "x-amz-job-output-path", - }, - }, - }, - }, - InitiateMultipartUpload: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads", - responseCode: 201, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - archiveDescription: { - location: "header", - locationName: "x-amz-archive-description", - }, - partSize: { - location: "header", - locationName: "x-amz-part-size", - }, - }, - }, - output: { - type: "structure", - members: { - location: { location: "header", locationName: "Location" }, - uploadId: { - location: "header", - locationName: "x-amz-multipart-upload-id", - }, - }, - }, - }, - InitiateVaultLock: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", - responseCode: 201, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - policy: { type: "structure", members: { Policy: {} } }, - }, - payload: "policy", - }, - output: { - type: "structure", - members: { - lockId: { location: "header", locationName: "x-amz-lock-id" }, - }, - }, - }, - ListJobs: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/jobs", - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - limit: { location: "querystring", locationName: "limit" }, - marker: { location: "querystring", locationName: "marker" }, - statuscode: { - location: "querystring", - locationName: "statuscode", - }, - completed: { - location: "querystring", - locationName: "completed", - }, - }, - }, - output: { - type: "structure", - members: { - JobList: { type: "list", member: { shape: "Si" } }, - Marker: {}, - }, - }, - }, - ListMultipartUploads: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads", - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - marker: { location: "querystring", locationName: "marker" }, - limit: { location: "querystring", locationName: "limit" }, - }, - }, - output: { - type: "structure", - members: { - UploadsList: { - type: "list", - member: { - type: "structure", - members: { - MultipartUploadId: {}, - VaultARN: {}, - ArchiveDescription: {}, - PartSizeInBytes: { type: "long" }, - CreationDate: {}, - }, - }, - }, - Marker: {}, - }, - }, - }, - ListParts: { - http: { - method: "GET", - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "uploadId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, - marker: { location: "querystring", locationName: "marker" }, - limit: { location: "querystring", locationName: "limit" }, - }, - }, - output: { - type: "structure", - members: { - MultipartUploadId: {}, - VaultARN: {}, - ArchiveDescription: {}, - PartSizeInBytes: { type: "long" }, - CreationDate: {}, - Parts: { - type: "list", - member: { - type: "structure", - members: { RangeInBytes: {}, SHA256TreeHash: {} }, - }, - }, - Marker: {}, - }, - }, - }, - ListProvisionedCapacity: { - http: { - method: "GET", - requestUri: "/{accountId}/provisioned-capacity", - }, - input: { - type: "structure", - required: ["accountId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - }, - }, - output: { - type: "structure", - members: { - ProvisionedCapacityList: { - type: "list", - member: { - type: "structure", - members: { - CapacityId: {}, - StartDate: {}, - ExpirationDate: {}, - }, - }, - }, - }, - }, - }, - ListTagsForVault: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/tags", - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, - }, - output: { type: "structure", members: { Tags: { shape: "S5" } } }, - }, - ListVaults: { - http: { method: "GET", requestUri: "/{accountId}/vaults" }, - input: { - type: "structure", - required: ["accountId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - marker: { location: "querystring", locationName: "marker" }, - limit: { location: "querystring", locationName: "limit" }, - }, - }, - output: { - type: "structure", - members: { - VaultList: { type: "list", member: { shape: "S1a" } }, - Marker: {}, - }, - }, - }, - PurchaseProvisionedCapacity: { - http: { - requestUri: "/{accountId}/provisioned-capacity", - responseCode: 201, - }, - input: { - type: "structure", - required: ["accountId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - }, - }, - output: { - type: "structure", - members: { - capacityId: { - location: "header", - locationName: "x-amz-capacity-id", - }, - }, - }, - }, - RemoveTagsFromVault: { - http: { - requestUri: - "/{accountId}/vaults/{vaultName}/tags?operation=remove", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - TagKeys: { type: "list", member: {} }, - }, - }, - }, - SetDataRetrievalPolicy: { - http: { - method: "PUT", - requestUri: "/{accountId}/policies/data-retrieval", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - Policy: { shape: "S1e" }, - }, - }, - }, - SetVaultAccessPolicy: { - http: { - method: "PUT", - requestUri: "/{accountId}/vaults/{vaultName}/access-policy", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - policy: { shape: "S1o" }, - }, - payload: "policy", - }, - }, - SetVaultNotifications: { - http: { - method: "PUT", - requestUri: - "/{accountId}/vaults/{vaultName}/notification-configuration", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - vaultNotificationConfig: { shape: "S1t" }, - }, - payload: "vaultNotificationConfig", - }, - }, - UploadArchive: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/archives", - responseCode: 201, - }, - input: { - type: "structure", - required: ["vaultName", "accountId"], - members: { - vaultName: { location: "uri", locationName: "vaultName" }, - accountId: { location: "uri", locationName: "accountId" }, - archiveDescription: { - location: "header", - locationName: "x-amz-archive-description", - }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - body: { shape: "S1k" }, - }, - payload: "body", - }, - output: { shape: "S9" }, - }, - UploadMultipartPart: { - http: { - method: "PUT", - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName", "uploadId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - range: { location: "header", locationName: "Content-Range" }, - body: { shape: "S1k" }, - }, - payload: "body", - }, - output: { - type: "structure", - members: { - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - }, - }, - }, - }, - shapes: { - S5: { type: "map", key: {}, value: {} }, - S9: { - type: "structure", - members: { - location: { location: "header", locationName: "Location" }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - archiveId: { - location: "header", - locationName: "x-amz-archive-id", - }, - }, - }, - Si: { - type: "structure", - members: { - JobId: {}, - JobDescription: {}, - Action: {}, - ArchiveId: {}, - VaultARN: {}, - CreationDate: {}, - Completed: { type: "boolean" }, - StatusCode: {}, - StatusMessage: {}, - ArchiveSizeInBytes: { type: "long" }, - InventorySizeInBytes: { type: "long" }, - SNSTopic: {}, - CompletionDate: {}, - SHA256TreeHash: {}, - ArchiveSHA256TreeHash: {}, - RetrievalByteRange: {}, - Tier: {}, - InventoryRetrievalParameters: { - type: "structure", - members: { - Format: {}, - StartDate: {}, - EndDate: {}, - Limit: {}, - Marker: {}, - }, - }, - JobOutputPath: {}, - SelectParameters: { shape: "Sp" }, - OutputLocation: { shape: "Sx" }, - }, - }, - Sp: { - type: "structure", - members: { - InputSerialization: { - type: "structure", - members: { - csv: { - type: "structure", - members: { - FileHeaderInfo: {}, - Comments: {}, - QuoteEscapeCharacter: {}, - RecordDelimiter: {}, - FieldDelimiter: {}, - QuoteCharacter: {}, - }, - }, - }, - }, - ExpressionType: {}, - Expression: {}, - OutputSerialization: { - type: "structure", - members: { - csv: { - type: "structure", - members: { - QuoteFields: {}, - QuoteEscapeCharacter: {}, - RecordDelimiter: {}, - FieldDelimiter: {}, - QuoteCharacter: {}, - }, - }, - }, - }, - }, - }, - Sx: { - type: "structure", - members: { - S3: { - type: "structure", - members: { - BucketName: {}, - Prefix: {}, - Encryption: { - type: "structure", - members: { - EncryptionType: {}, - KMSKeyId: {}, - KMSContext: {}, - }, - }, - CannedACL: {}, - AccessControlList: { - type: "list", - member: { - type: "structure", - members: { - Grantee: { - type: "structure", - required: ["Type"], - members: { - Type: {}, - DisplayName: {}, - URI: {}, - ID: {}, - EmailAddress: {}, - }, - }, - Permission: {}, - }, - }, - }, - Tagging: { shape: "S17" }, - UserMetadata: { shape: "S17" }, - StorageClass: {}, - }, - }, - }, - }, - S17: { type: "map", key: {}, value: {} }, - S1a: { - type: "structure", - members: { - VaultARN: {}, - VaultName: {}, - CreationDate: {}, - LastInventoryDate: {}, - NumberOfArchives: { type: "long" }, - SizeInBytes: { type: "long" }, - }, - }, - S1e: { - type: "structure", - members: { - Rules: { - type: "list", - member: { - type: "structure", - members: { Strategy: {}, BytesPerHour: { type: "long" } }, - }, - }, - }, - }, - S1k: { type: "blob", streaming: true }, - S1o: { type: "structure", members: { Policy: {} } }, - S1t: { - type: "structure", - members: { SNSTopic: {}, Events: { type: "list", member: {} } }, - }, - }, - }; +/***/ 2327: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 2862: /***/ function (module) { - module.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", - }, - }, - }; +apiLoader.services['iotthingsgraph'] = {}; +AWS.IoTThingsGraph = Service.defineService('iotthingsgraph', ['2018-09-06']); +Object.defineProperty(apiLoader.services['iotthingsgraph'], '2018-09-06', { + get: function get() { + var model = __webpack_require__(9187); + model.paginators = __webpack_require__(6433).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.IoTThingsGraph; - /***/ 2866: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; - var shebangRegex = __webpack_require__(4816); +/***/ }), - module.exports = function (str) { - var match = str.match(shebangRegex); +/***/ 2336: +/***/ (function(module) { - if (!match) { - return null; - } +module.exports = {"version":2,"waiters":{"ResourceRecordSetsChanged":{"delay":30,"maxAttempts":60,"operation":"GetChange","acceptors":[{"matcher":"path","expected":"INSYNC","argument":"ChangeInfo.Status","state":"success"}]}}}; - var arr = match[0].replace(/#! ?/, "").split(" "); - var bin = arr[0].split("/").pop(); - var arg = arr[1]; +/***/ }), - return bin === "env" ? arg : bin + (arg ? " " + arg : ""); - }; +/***/ 2339: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 2873: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - /** - * @api private - */ - var blobPayloadOutputOps = [ - "deleteThingShadow", - "getThingShadow", - "updateThingShadow", - ]; +apiLoader.services['mediapackagevod'] = {}; +AWS.MediaPackageVod = Service.defineService('mediapackagevod', ['2018-11-07']); +Object.defineProperty(apiLoader.services['mediapackagevod'], '2018-11-07', { + get: function get() { + var model = __webpack_require__(5351); + model.paginators = __webpack_require__(5826).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /** - * Constructs a service interface object. Each API operation is exposed as a - * function on service. - * - * ### Sending a Request Using IotData - * - * ```javascript - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * iotdata.getThingShadow(params, function (err, data) { - * if (err) console.log(err, err.stack); // an error occurred - * else console.log(data); // successful response - * }); - * ``` - * - * ### Locking the API Version - * - * In order to ensure that the IotData object uses this specific API, - * you can construct the object by passing the `apiVersion` option to the - * constructor: - * - * ```javascript - * var iotdata = new AWS.IotData({ - * endpoint: 'my.host.tld', - * apiVersion: '2015-05-28' - * }); - * ``` - * - * You can also set the API version globally in `AWS.config.apiVersions` using - * the **iotdata** service identifier: - * - * ```javascript - * AWS.config.apiVersions = { - * iotdata: '2015-05-28', - * // other service API versions - * }; - * - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * ``` - * - * @note You *must* provide an `endpoint` configuration parameter when - * constructing this service. See {constructor} for more information. - * - * @!method constructor(options = {}) - * Constructs a service object. This object has one method for each - * API operation. - * - * @example Constructing a IotData object - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * @note You *must* provide an `endpoint` when constructing this service. - * @option (see AWS.Config.constructor) - * - * @service iotdata - * @version 2015-05-28 - */ - AWS.util.update(AWS.IotData.prototype, { - /** - * @api private - */ - validateService: function validateService() { - if (!this.config.endpoint || this.config.endpoint.indexOf("{") >= 0) { - var msg = - "AWS.IotData requires an explicit " + - "`endpoint' configuration option."; - throw AWS.util.error(new Error(), { - name: "InvalidEndpoint", - message: msg, - }); - } - }, +module.exports = AWS.MediaPackageVod; - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("validateResponse", this.validateResponseBody); - if (blobPayloadOutputOps.indexOf(request.operation) > -1) { - request.addListener("extractData", AWS.util.convertPayloadToString); - } - }, - /** - * @api private - */ - validateResponseBody: function validateResponseBody(resp) { - var body = resp.httpResponse.body.toString() || "{}"; - var bodyCheck = body.trim(); - if (!bodyCheck || bodyCheck.charAt(0) !== "{") { - resp.httpResponse.body = ""; - } - }, - }); +/***/ }), - /***/ - }, +/***/ 2345: +/***/ (function(module) { - /***/ 2881: /***/ function (module) { - "use strict"; +module.exports = {"pagination":{"ListDatabases":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListTables":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - const isWin = process.platform === "win32"; +/***/ }), - function notFoundError(original, syscall) { - return Object.assign( - new Error(`${syscall} ${original.command} ENOENT`), - { - code: "ENOENT", - errno: "ENOENT", - syscall: `${syscall} ${original.command}`, - path: original.command, - spawnargs: original.args, - } - ); - } +/***/ 2349: +/***/ (function(module, __unusedexports, __webpack_require__) { - function hookChildProcess(cp, parsed) { - if (!isWin) { - return; - } +module.exports = authenticationRequestError; - const originalEmit = cp.emit; +const { RequestError } = __webpack_require__(3497); - cp.emit = function (name, arg1) { - // If emitting "exit" event and exit code is 1, we need to check if - // the command exists and emit an "error" instead - // See https://github.com/IndigoUnited/node-cross-spawn/issues/16 - if (name === "exit") { - const err = verifyENOENT(arg1, parsed, "spawn"); +function authenticationRequestError(state, error, options) { + /* istanbul ignore next */ + if (!error.headers) throw error; - if (err) { - return originalEmit.call(cp, "error", err); - } - } + const otpRequired = /required/.test(error.headers["x-github-otp"] || ""); + // handle "2FA required" error only + if (error.status !== 401 || !otpRequired) { + throw error; + } - return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params - }; + if ( + error.status === 401 && + otpRequired && + error.request && + error.request.headers["x-github-otp"] + ) { + throw new RequestError( + "Invalid one-time password for two-factor authentication", + 401, + { + headers: error.headers, + request: options + } + ); + } + + if (typeof state.auth.on2fa !== "function") { + throw new RequestError( + "2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication", + 401, + { + headers: error.headers, + request: options } + ); + } - function verifyENOENT(status, parsed) { - if (isWin && status === 1 && !parsed.file) { - return notFoundError(parsed.original, "spawn"); - } + return Promise.resolve() + .then(() => { + return state.auth.on2fa(); + }) + .then(oneTimePassword => { + const newOptions = Object.assign(options, { + headers: Object.assign( + { "x-github-otp": oneTimePassword }, + options.headers + ) + }); + return state.octokit.request(newOptions); + }); +} - return null; - } - function verifyENOENTSync(status, parsed) { - if (isWin && status === 1 && !parsed.file) { - return notFoundError(parsed.original, "spawnSync"); - } +/***/ }), - return null; - } +/***/ 2357: +/***/ (function(module) { - module.exports = { - hookChildProcess, - verifyENOENT, - verifyENOENTSync, - notFoundError, - }; +module.exports = require("assert"); - /***/ - }, +/***/ }), - /***/ 2883: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ 2386: +/***/ (function(module, __unusedexports, __webpack_require__) { - apiLoader.services["ssm"] = {}; - AWS.SSM = Service.defineService("ssm", ["2014-11-06"]); - Object.defineProperty(apiLoader.services["ssm"], "2014-11-06", { - get: function get() { - var model = __webpack_require__(5948); - model.paginators = __webpack_require__(9836).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - module.exports = AWS.SSM; +apiLoader.services['acmpca'] = {}; +AWS.ACMPCA = Service.defineService('acmpca', ['2017-08-22']); +Object.defineProperty(apiLoader.services['acmpca'], '2017-08-22', { + get: function get() { + var model = __webpack_require__(72); + model.paginators = __webpack_require__(1455).pagination; + model.waiters = __webpack_require__(1273).waiters; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.ACMPCA; - /***/ 2884: /***/ function (module) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLAttribute; - module.exports = XMLAttribute = (function () { - function XMLAttribute(parent, name, value) { - this.options = parent.options; - this.stringify = parent.stringify; - if (name == null) { - throw new Error( - "Missing attribute name of element " + parent.name - ); - } - if (value == null) { - throw new Error( - "Missing attribute value for attribute " + - name + - " of element " + - parent.name - ); - } - this.name = this.stringify.attName(name); - this.value = this.stringify.attValue(value); - } +/***/ }), - XMLAttribute.prototype.clone = function () { - return Object.create(this); - }; +/***/ 2390: +/***/ (function(module) { - XMLAttribute.prototype.toString = function (options) { - return this.options.writer.set(options).attribute(this); - }; +/** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ +var byteToHex = []; +for (var i = 0; i < 256; ++i) { + byteToHex[i] = (i + 0x100).toString(16).substr(1); +} - return XMLAttribute; - })(); - }.call(this)); +function bytesToUuid(buf, offset) { + var i = offset || 0; + var bth = byteToHex; + // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 + return ([bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]]]).join(''); +} - /***/ - }, +module.exports = bytesToUuid; - /***/ 2904: /***/ function (module) { - module.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" }, - }, - }; - /***/ - }, +/***/ }), - /***/ 2906: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var inherit = AWS.util.inherit; +/***/ 2394: +/***/ (function(module) { - /** - * @api private - */ - AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - if (!date) date = AWS.util.date.getDate(); +module.exports = {"version":2,"waiters":{"DistributionDeployed":{"delay":60,"operation":"GetDistribution","maxAttempts":25,"description":"Wait until a distribution is deployed.","acceptors":[{"expected":"Deployed","matcher":"path","state":"success","argument":"Distribution.Status"}]},"InvalidationCompleted":{"delay":20,"operation":"GetInvalidation","maxAttempts":30,"description":"Wait until an invalidation has completed.","acceptors":[{"expected":"Completed","matcher":"path","state":"success","argument":"Invalidation.Status"}]},"StreamingDistributionDeployed":{"delay":60,"operation":"GetStreamingDistribution","maxAttempts":25,"description":"Wait until a streaming distribution is deployed.","acceptors":[{"expected":"Deployed","matcher":"path","state":"success","argument":"StreamingDistribution.Status"}]}}}; - var r = this.request; +/***/ }), - r.params.Timestamp = AWS.util.date.iso8601(date); - r.params.SignatureVersion = "2"; - r.params.SignatureMethod = "HmacSHA256"; - r.params.AWSAccessKeyId = credentials.accessKeyId; +/***/ 2413: +/***/ (function(module) { - if (credentials.sessionToken) { - r.params.SecurityToken = credentials.sessionToken; - } +module.exports = require("stream"); - delete r.params.Signature; // delete old Signature for re-signing - r.params.Signature = this.signature(credentials); +/***/ }), - r.body = AWS.util.queryParamsToString(r.params); - r.headers["Content-Length"] = r.body.length; - }, +/***/ 2421: +/***/ (function(module) { - signature: function signature(credentials) { - return AWS.util.crypto.hmac( - credentials.secretAccessKey, - this.stringToSign(), - "base64" - ); - }, +module.exports = {"pagination":{"ListGatewayRoutes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"gatewayRoutes"},"ListMeshes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"meshes"},"ListRoutes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"routes"},"ListTagsForResource":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"tags"},"ListVirtualGateways":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"virtualGateways"},"ListVirtualNodes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"virtualNodes"},"ListVirtualRouters":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"virtualRouters"},"ListVirtualServices":{"input_token":"nextToken","output_token":"nextToken","limit_key":"limit","result_key":"virtualServices"}}}; - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push(this.request.endpoint.host.toLowerCase()); - parts.push(this.request.pathname()); - parts.push(AWS.util.queryParamsToString(this.request.params)); - return parts.join("\n"); - }, - }); +/***/ }), - /** - * @api private - */ - module.exports = AWS.Signers.V2; +/***/ 2447: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 2907: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-07-25", - endpointPrefix: "amplify", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Amplify", - serviceFullName: "AWS Amplify", - serviceId: "Amplify", - signatureVersion: "v4", - signingName: "amplify", - uid: "amplify-2017-07-25", - }, - operations: { - CreateApp: { - http: { requestUri: "/apps" }, - input: { - type: "structure", - required: ["name"], - members: { - name: {}, - description: {}, - repository: {}, - platform: {}, - iamServiceRoleArn: {}, - oauthToken: {}, - accessToken: {}, - environmentVariables: { shape: "S9" }, - enableBranchAutoBuild: { type: "boolean" }, - enableBasicAuth: { type: "boolean" }, - basicAuthCredentials: {}, - customRules: { shape: "Sf" }, - tags: { shape: "Sl" }, - buildSpec: {}, - enableAutoBranchCreation: { type: "boolean" }, - autoBranchCreationPatterns: { shape: "Sq" }, - autoBranchCreationConfig: { shape: "Ss" }, - }, - }, - output: { - type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, - }, - }, - CreateBackendEnvironment: { - http: { requestUri: "/apps/{appId}/backendenvironments" }, - input: { - type: "structure", - required: ["appId", "environmentName"], - members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: {}, - stackName: {}, - deploymentArtifacts: {}, - }, - }, - output: { - type: "structure", - required: ["backendEnvironment"], - members: { backendEnvironment: { shape: "S1e" } }, - }, - }, - CreateBranch: { - http: { requestUri: "/apps/{appId}/branches" }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: {}, - description: {}, - stage: {}, - framework: {}, - enableNotification: { type: "boolean" }, - enableAutoBuild: { type: "boolean" }, - environmentVariables: { shape: "S9" }, - basicAuthCredentials: {}, - enableBasicAuth: { type: "boolean" }, - tags: { shape: "Sl" }, - buildSpec: {}, - ttl: {}, - displayName: {}, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, - backendEnvironmentArn: {}, - }, - }, - output: { - type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, - }, - }, - CreateDeployment: { - http: { - requestUri: "/apps/{appId}/branches/{branchName}/deployments", - }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - fileMap: { type: "map", key: {}, value: {} }, - }, - }, - output: { - type: "structure", - required: ["fileUploadUrls", "zipUploadUrl"], - members: { - jobId: {}, - fileUploadUrls: { type: "map", key: {}, value: {} }, - zipUploadUrl: {}, - }, - }, - }, - CreateDomainAssociation: { - http: { requestUri: "/apps/{appId}/domains" }, - input: { - type: "structure", - required: ["appId", "domainName", "subDomainSettings"], - members: { - appId: { location: "uri", locationName: "appId" }, - domainName: {}, - enableAutoSubDomain: { type: "boolean" }, - subDomainSettings: { shape: "S24" }, - }, - }, - output: { - type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, - }, - }, - CreateWebhook: { - http: { requestUri: "/apps/{appId}/webhooks" }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: {}, - description: {}, - }, - }, - output: { - type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, - }, - }, - DeleteApp: { - http: { method: "DELETE", requestUri: "/apps/{appId}" }, - input: { - type: "structure", - required: ["appId"], - members: { appId: { location: "uri", locationName: "appId" } }, - }, - output: { - type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, - }, - }, - DeleteBackendEnvironment: { - http: { - method: "DELETE", - requestUri: "/apps/{appId}/backendenvironments/{environmentName}", - }, - input: { - type: "structure", - required: ["appId", "environmentName"], - members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: { - location: "uri", - locationName: "environmentName", - }, - }, - }, - output: { - type: "structure", - required: ["backendEnvironment"], - members: { backendEnvironment: { shape: "S1e" } }, - }, - }, - DeleteBranch: { - http: { - method: "DELETE", - requestUri: "/apps/{appId}/branches/{branchName}", - }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - }, - }, - output: { - type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, - }, - }, - DeleteDomainAssociation: { - http: { - method: "DELETE", - requestUri: "/apps/{appId}/domains/{domainName}", - }, - input: { - type: "structure", - required: ["appId", "domainName"], - members: { - appId: { location: "uri", locationName: "appId" }, - domainName: { location: "uri", locationName: "domainName" }, - }, - }, - output: { - type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, - }, - }, - DeleteJob: { - http: { - method: "DELETE", - requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}", - }, - input: { - type: "structure", - required: ["appId", "branchName", "jobId"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, - }, - }, - output: { - type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, - }, - }, - DeleteWebhook: { - http: { method: "DELETE", requestUri: "/webhooks/{webhookId}" }, - input: { - type: "structure", - required: ["webhookId"], - members: { - webhookId: { location: "uri", locationName: "webhookId" }, - }, - }, - output: { - type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, - }, - }, - GenerateAccessLogs: { - http: { requestUri: "/apps/{appId}/accesslogs" }, - input: { - type: "structure", - required: ["domainName", "appId"], - members: { - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - domainName: {}, - appId: { location: "uri", locationName: "appId" }, - }, - }, - output: { type: "structure", members: { logUrl: {} } }, - }, - GetApp: { - http: { method: "GET", requestUri: "/apps/{appId}" }, - input: { - type: "structure", - required: ["appId"], - members: { appId: { location: "uri", locationName: "appId" } }, - }, - output: { - type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, - }, - }, - GetArtifactUrl: { - http: { method: "GET", requestUri: "/artifacts/{artifactId}" }, - input: { - type: "structure", - required: ["artifactId"], - members: { - artifactId: { location: "uri", locationName: "artifactId" }, - }, - }, - output: { - type: "structure", - required: ["artifactId", "artifactUrl"], - members: { artifactId: {}, artifactUrl: {} }, - }, - }, - GetBackendEnvironment: { - http: { - method: "GET", - requestUri: "/apps/{appId}/backendenvironments/{environmentName}", - }, - input: { - type: "structure", - required: ["appId", "environmentName"], - members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: { - location: "uri", - locationName: "environmentName", - }, - }, - }, - output: { - type: "structure", - required: ["backendEnvironment"], - members: { backendEnvironment: { shape: "S1e" } }, - }, - }, - GetBranch: { - http: { - method: "GET", - requestUri: "/apps/{appId}/branches/{branchName}", - }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - }, - }, - output: { - type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, - }, - }, - GetDomainAssociation: { - http: { - method: "GET", - requestUri: "/apps/{appId}/domains/{domainName}", - }, - input: { - type: "structure", - required: ["appId", "domainName"], - members: { - appId: { location: "uri", locationName: "appId" }, - domainName: { location: "uri", locationName: "domainName" }, - }, - }, - output: { - type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, - }, - }, - GetJob: { - http: { - method: "GET", - requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}", - }, - input: { - type: "structure", - required: ["appId", "branchName", "jobId"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, - }, - }, - output: { - type: "structure", - required: ["job"], - members: { - job: { - type: "structure", - required: ["summary", "steps"], - members: { - summary: { shape: "S2x" }, - steps: { - type: "list", - member: { - type: "structure", - required: [ - "stepName", - "startTime", - "status", - "endTime", - ], - members: { - stepName: {}, - startTime: { type: "timestamp" }, - status: {}, - endTime: { type: "timestamp" }, - logUrl: {}, - artifactsUrl: {}, - testArtifactsUrl: {}, - testConfigUrl: {}, - screenshots: { type: "map", key: {}, value: {} }, - statusReason: {}, - context: {}, - }, - }, - }, - }, - }, - }, - }, - }, - GetWebhook: { - http: { method: "GET", requestUri: "/webhooks/{webhookId}" }, - input: { - type: "structure", - required: ["webhookId"], - members: { - webhookId: { location: "uri", locationName: "webhookId" }, - }, - }, - output: { - type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, - }, - }, - ListApps: { - http: { method: "GET", requestUri: "/apps" }, - input: { - type: "structure", - members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["apps"], - members: { - apps: { type: "list", member: { shape: "Sz" } }, - nextToken: {}, - }, - }, - }, - ListArtifacts: { - http: { - method: "GET", - requestUri: - "/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts", - }, - input: { - type: "structure", - required: ["appId", "branchName", "jobId"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["artifacts"], - members: { - artifacts: { - type: "list", - member: { - type: "structure", - required: ["artifactFileName", "artifactId"], - members: { artifactFileName: {}, artifactId: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListBackendEnvironments: { - http: { - method: "GET", - requestUri: "/apps/{appId}/backendenvironments", - }, - input: { - type: "structure", - required: ["appId"], - members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: {}, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["backendEnvironments"], - members: { - backendEnvironments: { type: "list", member: { shape: "S1e" } }, - nextToken: {}, - }, - }, - }, - ListBranches: { - http: { method: "GET", requestUri: "/apps/{appId}/branches" }, - input: { - type: "structure", - required: ["appId"], - members: { - appId: { location: "uri", locationName: "appId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["branches"], - members: { - branches: { type: "list", member: { shape: "S1l" } }, - nextToken: {}, - }, - }, - }, - ListDomainAssociations: { - http: { method: "GET", requestUri: "/apps/{appId}/domains" }, - input: { - type: "structure", - required: ["appId"], - members: { - appId: { location: "uri", locationName: "appId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["domainAssociations"], - members: { - domainAssociations: { type: "list", member: { shape: "S28" } }, - nextToken: {}, - }, - }, - }, - ListJobs: { - http: { - method: "GET", - requestUri: "/apps/{appId}/branches/{branchName}/jobs", - }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["jobSummaries"], - members: { - jobSummaries: { type: "list", member: { shape: "S2x" } }, - 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: "Sl" } } }, - }, - ListWebhooks: { - http: { method: "GET", requestUri: "/apps/{appId}/webhooks" }, - input: { - type: "structure", - required: ["appId"], - members: { - appId: { location: "uri", locationName: "appId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["webhooks"], - members: { - webhooks: { type: "list", member: { shape: "S2j" } }, - nextToken: {}, - }, - }, - }, - StartDeployment: { - http: { - requestUri: - "/apps/{appId}/branches/{branchName}/deployments/start", - }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: {}, - sourceUrl: {}, - }, - }, - output: { - type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, - }, - }, - StartJob: { - http: { requestUri: "/apps/{appId}/branches/{branchName}/jobs" }, - input: { - type: "structure", - required: ["appId", "branchName", "jobType"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: {}, - jobType: {}, - jobReason: {}, - commitId: {}, - commitMessage: {}, - commitTime: { type: "timestamp" }, - }, - }, - output: { - type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, - }, - }, - StopJob: { - http: { - method: "DELETE", - requestUri: - "/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop", - }, - input: { - type: "structure", - required: ["appId", "branchName", "jobId"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, - }, - }, - output: { - type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, - }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sl" }, - }, - }, - 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: {} }, - }, - UpdateApp: { - http: { requestUri: "/apps/{appId}" }, - input: { - type: "structure", - required: ["appId"], - members: { - appId: { location: "uri", locationName: "appId" }, - name: {}, - description: {}, - platform: {}, - iamServiceRoleArn: {}, - environmentVariables: { shape: "S9" }, - enableBranchAutoBuild: { type: "boolean" }, - enableBasicAuth: { type: "boolean" }, - basicAuthCredentials: {}, - customRules: { shape: "Sf" }, - buildSpec: {}, - enableAutoBranchCreation: { type: "boolean" }, - autoBranchCreationPatterns: { shape: "Sq" }, - autoBranchCreationConfig: { shape: "Ss" }, - repository: {}, - oauthToken: {}, - accessToken: {}, - }, - }, - output: { - type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, - }, - }, - UpdateBranch: { - http: { requestUri: "/apps/{appId}/branches/{branchName}" }, - input: { - type: "structure", - required: ["appId", "branchName"], - members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - description: {}, - framework: {}, - stage: {}, - enableNotification: { type: "boolean" }, - enableAutoBuild: { type: "boolean" }, - environmentVariables: { shape: "S9" }, - basicAuthCredentials: {}, - enableBasicAuth: { type: "boolean" }, - buildSpec: {}, - ttl: {}, - displayName: {}, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, - backendEnvironmentArn: {}, - }, - }, - output: { - type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, - }, - }, - UpdateDomainAssociation: { - http: { requestUri: "/apps/{appId}/domains/{domainName}" }, - input: { - type: "structure", - required: ["appId", "domainName", "subDomainSettings"], - members: { - appId: { location: "uri", locationName: "appId" }, - domainName: { location: "uri", locationName: "domainName" }, - enableAutoSubDomain: { type: "boolean" }, - subDomainSettings: { shape: "S24" }, - }, - }, - output: { - type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, - }, - }, - UpdateWebhook: { - http: { requestUri: "/webhooks/{webhookId}" }, - input: { - type: "structure", - required: ["webhookId"], - members: { - webhookId: { location: "uri", locationName: "webhookId" }, - branchName: {}, - description: {}, - }, - }, - output: { - type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, - }, - }, - }, - shapes: { - S9: { type: "map", key: {}, value: {} }, - Sf: { - type: "list", - member: { - type: "structure", - required: ["source", "target"], - members: { source: {}, target: {}, status: {}, condition: {} }, - }, - }, - Sl: { type: "map", key: {}, value: {} }, - Sq: { type: "list", member: {} }, - Ss: { - type: "structure", - members: { - stage: {}, - framework: {}, - enableAutoBuild: { type: "boolean" }, - environmentVariables: { shape: "S9" }, - basicAuthCredentials: {}, - enableBasicAuth: { type: "boolean" }, - buildSpec: {}, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, - }, - }, - Sz: { - type: "structure", - required: [ - "appId", - "appArn", - "name", - "description", - "repository", - "platform", - "createTime", - "updateTime", - "environmentVariables", - "defaultDomain", - "enableBranchAutoBuild", - "enableBasicAuth", - ], - members: { - appId: {}, - appArn: {}, - name: {}, - tags: { shape: "Sl" }, - description: {}, - repository: {}, - platform: {}, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - iamServiceRoleArn: {}, - environmentVariables: { shape: "S9" }, - defaultDomain: {}, - enableBranchAutoBuild: { type: "boolean" }, - enableBasicAuth: { type: "boolean" }, - basicAuthCredentials: {}, - customRules: { shape: "Sf" }, - productionBranch: { - type: "structure", - members: { - lastDeployTime: { type: "timestamp" }, - status: {}, - thumbnailUrl: {}, - branchName: {}, - }, - }, - buildSpec: {}, - enableAutoBranchCreation: { type: "boolean" }, - autoBranchCreationPatterns: { shape: "Sq" }, - autoBranchCreationConfig: { shape: "Ss" }, - }, - }, - S1e: { - type: "structure", - required: [ - "backendEnvironmentArn", - "environmentName", - "createTime", - "updateTime", - ], - members: { - backendEnvironmentArn: {}, - environmentName: {}, - stackName: {}, - deploymentArtifacts: {}, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - }, - }, - S1l: { - type: "structure", - required: [ - "branchArn", - "branchName", - "description", - "stage", - "displayName", - "enableNotification", - "createTime", - "updateTime", - "environmentVariables", - "enableAutoBuild", - "customDomains", - "framework", - "activeJobId", - "totalNumberOfJobs", - "enableBasicAuth", - "ttl", - "enablePullRequestPreview", - ], - members: { - branchArn: {}, - branchName: {}, - description: {}, - tags: { shape: "Sl" }, - stage: {}, - displayName: {}, - enableNotification: { type: "boolean" }, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - environmentVariables: { shape: "S9" }, - enableAutoBuild: { type: "boolean" }, - customDomains: { type: "list", member: {} }, - framework: {}, - activeJobId: {}, - totalNumberOfJobs: {}, - enableBasicAuth: { type: "boolean" }, - thumbnailUrl: {}, - basicAuthCredentials: {}, - buildSpec: {}, - ttl: {}, - associatedResources: { type: "list", member: {} }, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, - destinationBranch: {}, - sourceBranch: {}, - backendEnvironmentArn: {}, - }, - }, - S24: { type: "list", member: { shape: "S25" } }, - S25: { - type: "structure", - required: ["prefix", "branchName"], - members: { prefix: {}, branchName: {} }, - }, - S28: { - type: "structure", - required: [ - "domainAssociationArn", - "domainName", - "enableAutoSubDomain", - "domainStatus", - "statusReason", - "subDomains", - ], - members: { - domainAssociationArn: {}, - domainName: {}, - enableAutoSubDomain: { type: "boolean" }, - domainStatus: {}, - statusReason: {}, - certificateVerificationDNSRecord: {}, - subDomains: { - type: "list", - member: { - type: "structure", - required: ["subDomainSetting", "verified", "dnsRecord"], - members: { - subDomainSetting: { shape: "S25" }, - verified: { type: "boolean" }, - dnsRecord: {}, - }, - }, - }, - }, - }, - S2j: { - type: "structure", - required: [ - "webhookArn", - "webhookId", - "webhookUrl", - "branchName", - "description", - "createTime", - "updateTime", - ], - members: { - webhookArn: {}, - webhookId: {}, - webhookUrl: {}, - branchName: {}, - description: {}, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - }, - }, - S2x: { - type: "structure", - required: [ - "jobArn", - "jobId", - "commitId", - "commitMessage", - "commitTime", - "startTime", - "status", - "jobType", - ], - members: { - jobArn: {}, - jobId: {}, - commitId: {}, - commitMessage: {}, - commitTime: { type: "timestamp" }, - startTime: { type: "timestamp" }, - status: {}, - endTime: { type: "timestamp" }, - jobType: {}, - }, - }, - }, - }; +apiLoader.services['qldbsession'] = {}; +AWS.QLDBSession = Service.defineService('qldbsession', ['2019-07-11']); +Object.defineProperty(apiLoader.services['qldbsession'], '2019-07-11', { + get: function get() { + var model = __webpack_require__(320); + model.paginators = __webpack_require__(8452).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.QLDBSession; - /***/ 2911: /***/ function (module) { - module.exports = { - pagination: { - GetClassifiers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetConnections: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetCrawlerMetrics: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetCrawlers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetDatabases: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetDevEndpoints: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetJobRuns: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetJobs: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetMLTaskRuns: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetMLTransforms: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetPartitions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetSecurityConfigurations: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "SecurityConfigurations", - }, - GetTableVersions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetTables: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetTriggers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetUserDefinedFunctions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetWorkflowRuns: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListCrawlers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListDevEndpoints: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListJobs: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListMLTransforms: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListTriggers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListWorkflows: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - SearchTables: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - }, - }; - /***/ - }, +/***/ }), - /***/ 2922: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2018-05-14", - endpointPrefix: "devices.iot1click", - signingName: "iot1click", - serviceFullName: "AWS IoT 1-Click Devices Service", - serviceId: "IoT 1Click Devices Service", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "devices-2018-05-14", - signatureVersion: "v4", - }, - operations: { - ClaimDevicesByClaimCode: { - http: { - method: "PUT", - requestUri: "/claims/{claimCode}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ClaimCode: { location: "uri", locationName: "claimCode" }, - }, - required: ["ClaimCode"], - }, - output: { - type: "structure", - members: { - ClaimCode: { locationName: "claimCode" }, - Total: { locationName: "total", type: "integer" }, - }, - }, - }, - DescribeDevice: { - http: { - method: "GET", - requestUri: "/devices/{deviceId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { - DeviceDescription: { - shape: "S8", - locationName: "deviceDescription", - }, - }, - }, - }, - FinalizeDeviceClaim: { - http: { - method: "PUT", - requestUri: "/devices/{deviceId}/finalize-claim", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - Tags: { shape: "Sc", locationName: "tags" }, - }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { State: { locationName: "state" } }, - }, - }, - GetDeviceMethods: { - http: { - method: "GET", - requestUri: "/devices/{deviceId}/methods", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { - DeviceMethods: { - locationName: "deviceMethods", - type: "list", - member: { shape: "Si" }, - }, - }, - }, - }, - InitiateDeviceClaim: { - http: { - method: "PUT", - requestUri: "/devices/{deviceId}/initiate-claim", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { State: { locationName: "state" } }, - }, - }, - InvokeDeviceMethod: { - http: { - requestUri: "/devices/{deviceId}/methods", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - DeviceMethod: { shape: "Si", locationName: "deviceMethod" }, - DeviceMethodParameters: { - locationName: "deviceMethodParameters", - }, - }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { - DeviceMethodResponse: { locationName: "deviceMethodResponse" }, - }, - }, - }, - ListDeviceEvents: { - http: { - method: "GET", - requestUri: "/devices/{deviceId}/events", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - FromTimeStamp: { - shape: "So", - location: "querystring", - locationName: "fromTimeStamp", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - ToTimeStamp: { - shape: "So", - location: "querystring", - locationName: "toTimeStamp", - }, - }, - required: ["DeviceId", "FromTimeStamp", "ToTimeStamp"], - }, - output: { - type: "structure", - members: { - Events: { - locationName: "events", - type: "list", - member: { - type: "structure", - members: { - Device: { - locationName: "device", - type: "structure", - members: { - Attributes: { - locationName: "attributes", - type: "structure", - members: {}, - }, - DeviceId: { locationName: "deviceId" }, - Type: { locationName: "type" }, - }, - }, - StdEvent: { locationName: "stdEvent" }, - }, - }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - ListDevices: { - http: { method: "GET", requestUri: "/devices", responseCode: 200 }, - input: { - type: "structure", - members: { - DeviceType: { - location: "querystring", - locationName: "deviceType", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Devices: { - locationName: "devices", - type: "list", - member: { shape: "S8" }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/tags/{resource-arn}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - }, - required: ["ResourceArn"], - }, - output: { - type: "structure", - members: { Tags: { shape: "Sc", locationName: "tags" } }, - }, - }, - TagResource: { - http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "Sc", locationName: "tags" }, - }, - required: ["ResourceArn", "Tags"], - }, - }, - UnclaimDevice: { - http: { - method: "PUT", - requestUri: "/devices/{deviceId}/unclaim", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { State: { locationName: "state" } }, - }, - }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - location: "querystring", - locationName: "tagKeys", - type: "list", - member: {}, - }, - }, - required: ["TagKeys", "ResourceArn"], - }, - }, - UpdateDeviceState: { - http: { - method: "PUT", - requestUri: "/devices/{deviceId}/state", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - Enabled: { locationName: "enabled", type: "boolean" }, - }, - required: ["DeviceId"], - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S8: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Attributes: { - locationName: "attributes", - type: "map", - key: {}, - value: {}, - }, - DeviceId: { locationName: "deviceId" }, - Enabled: { locationName: "enabled", type: "boolean" }, - RemainingLife: { locationName: "remainingLife", type: "double" }, - Type: { locationName: "type" }, - Tags: { shape: "Sc", locationName: "tags" }, - }, - }, - Sc: { type: "map", key: {}, value: {} }, - Si: { - type: "structure", - members: { - DeviceType: { locationName: "deviceType" }, - MethodName: { locationName: "methodName" }, - }, - }, - So: { type: "timestamp", timestampFormat: "iso8601" }, - }, - }; +/***/ 2449: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{}}; - /***/ 2950: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; +/***/ }), - Object.defineProperty(exports, "__esModule", { value: true }); - const url = __webpack_require__(8835); - function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === "https:"; - let proxyUrl; - if (checkBypass(reqUrl)) { - return proxyUrl; - } - let proxyVar; - if (usingSsl) { - proxyVar = process.env["https_proxy"] || process.env["HTTPS_PROXY"]; +/***/ 2450: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +AWS.util.update(AWS.RDSDataService.prototype, { + /** + * @return [Boolean] whether the error can be retried + * @api private + */ + retryableError: function retryableError(error) { + if (error.code === 'BadRequestException' && + error.message && + error.message.match(/^Communications link failure/) && + error.statusCode === 400) { + return true; + } else { + var _super = AWS.Service.prototype.retryableError; + return _super.call(this, error); + } + } +}); + + +/***/ }), + +/***/ 2453: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var AcceptorStateMachine = __webpack_require__(3696); +var inherit = AWS.util.inherit; +var domain = AWS.util.domain; +var jmespath = __webpack_require__(2802); + +/** + * @api private + */ +var hardErrorStates = {success: 1, error: 1, complete: 1}; + +function isTerminalState(machine) { + return Object.prototype.hasOwnProperty.call(hardErrorStates, machine._asm.currentState); +} + +var fsm = new AcceptorStateMachine(); +fsm.setupStates = function() { + var transition = function(_, done) { + var self = this; + self._haltHandlersOnError = false; + + self.emit(self._asm.currentState, function(err) { + if (err) { + if (isTerminalState(self)) { + if (domain && self.domain instanceof domain.Domain) { + err.domainEmitter = self; + err.domain = self.domain; + err.domainThrown = false; + self.domain.emit('error', err); + } else { + throw err; + } } else { - proxyVar = process.env["http_proxy"] || process.env["HTTP_PROXY"]; - } - if (proxyVar) { - proxyUrl = url.parse(proxyVar); + self.response.error = err; + done(err); } - return proxyUrl; - } - exports.getProxyUrl = getProxyUrl; - function checkBypass(reqUrl) { - if (!reqUrl.hostname) { - return false; + } else { + done(self.response.error); + } + }); + + }; + + this.addState('validate', 'build', 'error', transition); + this.addState('build', 'afterBuild', 'restart', transition); + this.addState('afterBuild', 'sign', 'restart', transition); + this.addState('sign', 'send', 'retry', transition); + this.addState('retry', 'afterRetry', 'afterRetry', transition); + this.addState('afterRetry', 'sign', 'error', transition); + this.addState('send', 'validateResponse', 'retry', transition); + this.addState('validateResponse', 'extractData', 'extractError', transition); + this.addState('extractError', 'extractData', 'retry', transition); + this.addState('extractData', 'success', 'retry', transition); + this.addState('restart', 'build', 'error', transition); + this.addState('success', 'complete', 'complete', transition); + this.addState('error', 'complete', 'complete', transition); + this.addState('complete', null, null, transition); +}; +fsm.setupStates(); + +/** + * ## Asynchronous Requests + * + * All requests made through the SDK are asynchronous and use a + * callback interface. Each service method that kicks off a request + * returns an `AWS.Request` object that you can use to register + * callbacks. + * + * For example, the following service method returns the request + * object as "request", which can be used to register callbacks: + * + * ```javascript + * // request is an AWS.Request object + * var request = ec2.describeInstances(); + * + * // register callbacks on request to retrieve response data + * request.on('success', function(response) { + * console.log(response.data); + * }); + * ``` + * + * When a request is ready to be sent, the {send} method should + * be called: + * + * ```javascript + * request.send(); + * ``` + * + * Since registered callbacks may or may not be idempotent, requests should only + * be sent once. To perform the same operation multiple times, you will need to + * create multiple request objects, each with its own registered callbacks. + * + * ## Removing Default Listeners for Events + * + * Request objects are built with default listeners for the various events, + * depending on the service type. In some cases, you may want to remove + * some built-in listeners to customize behaviour. Doing this requires + * access to the built-in listener functions, which are exposed through + * the {AWS.EventListeners.Core} namespace. For instance, you may + * want to customize the HTTP handler used when sending a request. In this + * case, you can remove the built-in listener associated with the 'send' + * event, the {AWS.EventListeners.Core.SEND} listener and add your own. + * + * ## Multiple Callbacks and Chaining + * + * You can register multiple callbacks on any request object. The + * callbacks can be registered for different events, or all for the + * same event. In addition, you can chain callback registration, for + * example: + * + * ```javascript + * request. + * on('success', function(response) { + * console.log("Success!"); + * }). + * on('error', function(error, response) { + * console.log("Error!"); + * }). + * on('complete', function(response) { + * console.log("Always!"); + * }). + * send(); + * ``` + * + * The above example will print either "Success! Always!", or "Error! Always!", + * depending on whether the request succeeded or not. + * + * @!attribute httpRequest + * @readonly + * @!group HTTP Properties + * @return [AWS.HttpRequest] the raw HTTP request object + * containing request headers and body information + * sent by the service. + * + * @!attribute startTime + * @readonly + * @!group Operation Properties + * @return [Date] the time that the request started + * + * @!group Request Building Events + * + * @!event validate(request) + * Triggered when a request is being validated. Listeners + * should throw an error if the request should not be sent. + * @param request [Request] the request object being sent + * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS + * @see AWS.EventListeners.Core.VALIDATE_REGION + * @example Ensuring that a certain parameter is set before sending a request + * var req = s3.putObject(params); + * req.on('validate', function() { + * if (!req.params.Body.match(/^Hello\s/)) { + * throw new Error('Body must start with "Hello "'); + * } + * }); + * req.send(function(err, data) { ... }); + * + * @!event build(request) + * Triggered when the request payload is being built. Listeners + * should fill the necessary information to send the request + * over HTTP. + * @param (see AWS.Request~validate) + * @example Add a custom HTTP header to a request + * var req = s3.putObject(params); + * req.on('build', function() { + * req.httpRequest.headers['Custom-Header'] = 'value'; + * }); + * req.send(function(err, data) { ... }); + * + * @!event sign(request) + * Triggered when the request is being signed. Listeners should + * add the correct authentication headers and/or adjust the body, + * depending on the authentication mechanism being used. + * @param (see AWS.Request~validate) + * + * @!group Request Sending Events + * + * @!event send(response) + * Triggered when the request is ready to be sent. Listeners + * should call the underlying transport layer to initiate + * the sending of the request. + * @param response [Response] the response object + * @context [Request] the request object that was sent + * @see AWS.EventListeners.Core.SEND + * + * @!event retry(response) + * Triggered when a request failed and might need to be retried or redirected. + * If the response is retryable, the listener should set the + * `response.error.retryable` property to `true`, and optionally set + * `response.error.retryDelay` to the millisecond delay for the next attempt. + * In the case of a redirect, `response.error.redirect` should be set to + * `true` with `retryDelay` set to an optional delay on the next request. + * + * If a listener decides that a request should not be retried, + * it should set both `retryable` and `redirect` to false. + * + * Note that a retryable error will be retried at most + * {AWS.Config.maxRetries} times (based on the service object's config). + * Similarly, a request that is redirected will only redirect at most + * {AWS.Config.maxRedirects} times. + * + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @example Adding a custom retry for a 404 response + * request.on('retry', function(response) { + * // this resource is not yet available, wait 10 seconds to get it again + * if (response.httpResponse.statusCode === 404 && response.error) { + * response.error.retryable = true; // retry this error + * response.error.retryDelay = 10000; // wait 10 seconds + * } + * }); + * + * @!group Data Parsing Events + * + * @!event extractError(response) + * Triggered on all non-2xx requests so that listeners can extract + * error details from the response body. Listeners to this event + * should set the `response.error` property. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event extractData(response) + * Triggered in successful requests to allow listeners to + * de-serialize the response body into `response.data`. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!group Completion Events + * + * @!event success(response) + * Triggered when the request completed successfully. + * `response.data` will contain the response data and + * `response.error` will be null. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event error(error, response) + * Triggered when an error occurs at any point during the + * request. `response.error` will contain details about the error + * that occurred. `response.data` will be null. + * @param error [Error] the error object containing details about + * the error that occurred. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event complete(response) + * Triggered whenever a request cycle completes. `response.error` + * should be checked, since the request may have failed. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!group HTTP Events + * + * @!event httpHeaders(statusCode, headers, response, statusMessage) + * Triggered when headers are sent by the remote server + * @param statusCode [Integer] the HTTP response code + * @param headers [map] the response headers + * @param (see AWS.Request~send) + * @param statusMessage [String] A status message corresponding to the HTTP + * response code + * @context (see AWS.Request~send) + * + * @!event httpData(chunk, response) + * Triggered when data is sent by the remote server + * @param chunk [Buffer] the buffer data containing the next data chunk + * from the server + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @see AWS.EventListeners.Core.HTTP_DATA + * + * @!event httpUploadProgress(progress, response) + * Triggered when the HTTP request has uploaded more data + * @param progress [map] An object containing the `loaded` and `total` bytes + * of the request. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @note This event will not be emitted in Node.js 0.8.x. + * + * @!event httpDownloadProgress(progress, response) + * Triggered when the HTTP request has downloaded more data + * @param progress [map] An object containing the `loaded` and `total` bytes + * of the request. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @note This event will not be emitted in Node.js 0.8.x. + * + * @!event httpError(error, response) + * Triggered when the HTTP request failed + * @param error [Error] the error object that was thrown + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event httpDone(response) + * Triggered when the server is finished sending data + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @see AWS.Response + */ +AWS.Request = inherit({ + + /** + * Creates a request for an operation on a given service with + * a set of input parameters. + * + * @param service [AWS.Service] the service to perform the operation on + * @param operation [String] the operation to perform on the service + * @param params [Object] parameters to send to the operation. + * See the operation's documentation for the format of the + * parameters. + */ + constructor: function Request(service, operation, params) { + var endpoint = service.endpoint; + var region = service.config.region; + var customUserAgent = service.config.customUserAgent; + + if (service.isGlobalEndpoint) { + if (service.signingRegion) { + region = service.signingRegion; + } else { + region = 'us-east-1'; + } + } + + this.domain = domain && domain.active; + this.service = service; + this.operation = operation; + this.params = params || {}; + this.httpRequest = new AWS.HttpRequest(endpoint, region); + this.httpRequest.appendToUserAgent(customUserAgent); + this.startTime = service.getSkewCorrectedDate(); + + this.response = new AWS.Response(this); + this._asm = new AcceptorStateMachine(fsm.states, 'validate'); + this._haltHandlersOnError = false; + + AWS.SequentialExecutor.call(this); + this.emit = this.emitEvent; + }, + + /** + * @!group Sending a Request + */ + + /** + * @overload send(callback = null) + * Sends the request object. + * + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @context [AWS.Request] the request object being sent. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + * @example Sending a request with a callback + * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); + * request.send(function(err, data) { console.log(err, data); }); + * @example Sending a request with no callback (using event handlers) + * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); + * request.on('complete', function(response) { ... }); // register a callback + * request.send(); + */ + send: function send(callback) { + if (callback) { + // append to user agent + this.httpRequest.appendToUserAgent('callback'); + this.on('complete', function (resp) { + callback.call(resp, resp.error, resp.data); + }); + } + this.runTo(); + + return this.response; + }, + + /** + * @!method promise() + * Sends the request and returns a 'thenable' promise. + * + * Two callbacks can be provided to the `then` method on the returned promise. + * The first callback will be called if the promise is fulfilled, and the second + * callback will be called if the promise is rejected. + * @callback fulfilledCallback function(data) + * Called if the promise is fulfilled. + * @param data [Object] the de-serialized data returned from the request. + * @callback rejectedCallback function(error) + * Called if the promise is rejected. + * @param error [Error] the error object returned from the request. + * @return [Promise] A promise that represents the state of the request. + * @example Sending a request using promises. + * var request = s3.putObject({Bucket: 'bucket', Key: 'key'}); + * var result = request.promise(); + * result.then(function(data) { ... }, function(error) { ... }); + */ + + /** + * @api private + */ + build: function build(callback) { + return this.runTo('send', callback); + }, + + /** + * @api private + */ + runTo: function runTo(state, done) { + this._asm.runTo(state, done, this); + return this; + }, + + /** + * Aborts a request, emitting the error and complete events. + * + * @!macro nobrowser + * @example Aborting a request after sending + * var params = { + * Bucket: 'bucket', Key: 'key', + * Body: Buffer.alloc(1024 * 1024 * 5) // 5MB payload + * }; + * var request = s3.putObject(params); + * request.send(function (err, data) { + * if (err) console.log("Error:", err.code, err.message); + * else console.log(data); + * }); + * + * // abort request in 1 second + * setTimeout(request.abort.bind(request), 1000); + * + * // prints "Error: RequestAbortedError Request aborted by user" + * @return [AWS.Request] the same request object, for chaining. + * @since v1.4.0 + */ + abort: function abort() { + this.removeAllListeners('validateResponse'); + this.removeAllListeners('extractError'); + this.on('validateResponse', function addAbortedError(resp) { + resp.error = AWS.util.error(new Error('Request aborted by user'), { + code: 'RequestAbortedError', retryable: false + }); + }); + + if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { // abort HTTP stream + this.httpRequest.stream.abort(); + if (this.httpRequest._abortCallback) { + this.httpRequest._abortCallback(); + } else { + this.removeAllListeners('send'); // haven't sent yet, so let's not + } + } + + return this; + }, + + /** + * Iterates over each page of results given a pageable request, calling + * the provided callback with each page of data. After all pages have been + * retrieved, the callback is called with `null` data. + * + * @note This operation can generate multiple requests to a service. + * @example Iterating over multiple pages of objects in an S3 bucket + * var pages = 1; + * s3.listObjects().eachPage(function(err, data) { + * if (err) return; + * console.log("Page", pages++); + * console.log(data); + * }); + * @example Iterating over multiple pages with an asynchronous callback + * s3.listObjects(params).eachPage(function(err, data, done) { + * doSomethingAsyncAndOrExpensive(function() { + * // The next page of results isn't fetched until done is called + * done(); + * }); + * }); + * @callback callback function(err, data, [doneCallback]) + * Called with each page of resulting data from the request. If the + * optional `doneCallback` is provided in the function, it must be called + * when the callback is complete. + * + * @param err [Error] an error object, if an error occurred. + * @param data [Object] a single page of response data. If there is no + * more data, this object will be `null`. + * @param doneCallback [Function] an optional done callback. If this + * argument is defined in the function declaration, it should be called + * when the next page is ready to be retrieved. This is useful for + * controlling serial pagination across asynchronous operations. + * @return [Boolean] if the callback returns `false`, pagination will + * stop. + * + * @see AWS.Request.eachItem + * @see AWS.Response.nextPage + * @since v1.4.0 + */ + eachPage: function eachPage(callback) { + // Make all callbacks async-ish + callback = AWS.util.fn.makeAsync(callback, 3); + + function wrappedCallback(response) { + callback.call(response, response.error, response.data, function (result) { + if (result === false) return; + + if (response.hasNextPage()) { + response.nextPage().on('complete', wrappedCallback).send(); + } else { + callback.call(response, null, null, AWS.util.fn.noop); } - let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || ""; - if (!noProxy) { - return false; + }); + } + + this.on('complete', wrappedCallback).send(); + }, + + /** + * Enumerates over individual items of a request, paging the responses if + * necessary. + * + * @api experimental + * @since v1.4.0 + */ + eachItem: function eachItem(callback) { + var self = this; + function wrappedCallback(err, data) { + if (err) return callback(err, null); + if (data === null) return callback(null, null); + + var config = self.service.paginationConfig(self.operation); + var resultKey = config.resultKey; + if (Array.isArray(resultKey)) resultKey = resultKey[0]; + var items = jmespath.search(data, resultKey); + var continueIteration = true; + AWS.util.arrayEach(items, function(item) { + continueIteration = callback(null, item); + if (continueIteration === false) { + return AWS.util.abort; } - // Determine the request port - let reqPort; - if (reqUrl.port) { - reqPort = Number(reqUrl.port); - } else if (reqUrl.protocol === "http:") { - reqPort = 80; - } else if (reqUrl.protocol === "https:") { - reqPort = 443; + }); + return continueIteration; + } + + this.eachPage(wrappedCallback); + }, + + /** + * @return [Boolean] whether the operation can return multiple pages of + * response data. + * @see AWS.Response.eachPage + * @since v1.4.0 + */ + isPageable: function isPageable() { + return this.service.paginationConfig(this.operation) ? true : false; + }, + + /** + * Sends the request and converts the request object into a readable stream + * that can be read from or piped into a writable stream. + * + * @note The data read from a readable stream contains only + * the raw HTTP body contents. + * @example Manually reading from a stream + * request.createReadStream().on('data', function(data) { + * console.log("Got data:", data.toString()); + * }); + * @example Piping a request body into a file + * var out = fs.createWriteStream('/path/to/outfile.jpg'); + * s3.service.getObject(params).createReadStream().pipe(out); + * @return [Stream] the readable stream object that can be piped + * or read from (by registering 'data' event listeners). + * @!macro nobrowser + */ + createReadStream: function createReadStream() { + var streams = AWS.util.stream; + var req = this; + var stream = null; + + if (AWS.HttpClient.streamsApiVersion === 2) { + stream = new streams.PassThrough(); + process.nextTick(function() { req.send(); }); + } else { + stream = new streams.Stream(); + stream.readable = true; + + stream.sent = false; + stream.on('newListener', function(event) { + if (!stream.sent && event === 'data') { + stream.sent = true; + process.nextTick(function() { req.send(); }); } - // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; - if (typeof reqPort === "number") { - upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + }); + } + + this.on('error', function(err) { + stream.emit('error', err); + }); + + this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) { + if (statusCode < 300) { + req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA); + req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR); + req.on('httpError', function streamHttpError(error) { + resp.error = error; + resp.error.retryable = false; + }); + + var shouldCheckContentLength = false; + var expectedLen; + if (req.httpRequest.method !== 'HEAD') { + expectedLen = parseInt(headers['content-length'], 10); } - // Compare request host against noproxy - for (let upperNoProxyItem of noProxy - .split(",") - .map((x) => x.trim().toUpperCase()) - .filter((x) => x)) { - if (upperReqHosts.some((x) => x === upperNoProxyItem)) { - return true; - } + if (expectedLen !== undefined && !isNaN(expectedLen) && expectedLen >= 0) { + shouldCheckContentLength = true; + var receivedLen = 0; } - return false; - } - exports.checkBypass = checkBypass; - /***/ - }, + var checkContentLengthAndEmit = function checkContentLengthAndEmit() { + if (shouldCheckContentLength && receivedLen !== expectedLen) { + stream.emit('error', AWS.util.error( + new Error('Stream content length mismatch. Received ' + + receivedLen + ' of ' + expectedLen + ' bytes.'), + { code: 'StreamContentLengthMismatch' } + )); + } else if (AWS.HttpClient.streamsApiVersion === 2) { + stream.end(); + } else { + stream.emit('end'); + } + }; - /***/ 2966: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var STS = __webpack_require__(1733); - - /** - * Represents credentials retrieved from STS SAML support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithSAML} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given, as well as a `PrincipalArn` - * representing the ARN for the SAML identity provider. In addition, the - * `SAMLAssertion` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the SAMLAssertion, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.SAMLAssertion = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithSAML}. To update the token, set the - * `params.SAMLAssertion` property. - */ - AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithSAML) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.SAMLCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole', - * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal', - * SAMLAssertion: 'base64-token', // base64-encoded token from IdP - * }); - * @see AWS.STS.assumeRoleWithSAML - */ - constructor: function SAMLCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithSAML} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.service.assumeRoleWithSAML(function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); + var httpStream = resp.httpResponse.createUnbufferedStream(); + + if (AWS.HttpClient.streamsApiVersion === 2) { + if (shouldCheckContentLength) { + var lengthAccumulator = new streams.PassThrough(); + lengthAccumulator._write = function(chunk) { + if (chunk && chunk.length) { + receivedLen += chunk.length; + } + return streams.PassThrough.prototype._write.apply(this, arguments); + }; + + lengthAccumulator.on('end', checkContentLengthAndEmit); + stream.on('error', function(err) { + shouldCheckContentLength = false; + httpStream.unpipe(lengthAccumulator); + lengthAccumulator.emit('end'); + lengthAccumulator.end(); + }); + httpStream.pipe(lengthAccumulator).pipe(stream, { end: false }); + } else { + httpStream.pipe(stream); + } + } else { + + if (shouldCheckContentLength) { + httpStream.on('data', function(arg) { + if (arg && arg.length) { + receivedLen += arg.length; + } + }); + } + + httpStream.on('data', function(arg) { + stream.emit('data', arg); }); - }, + httpStream.on('end', checkContentLengthAndEmit); + } - /** - * @api private - */ - createClients: function () { - this.service = this.service || new STS({ params: this.params }); - }, + httpStream.on('error', function(err) { + shouldCheckContentLength = false; + stream.emit('error', err); + }); + } + }); + + return stream; + }, + + /** + * @param [Array,Response] args This should be the response object, + * or an array of args to send to the event. + * @api private + */ + emitEvent: function emit(eventName, args, done) { + if (typeof args === 'function') { done = args; args = null; } + if (!done) done = function() { }; + if (!args) args = this.eventParameters(eventName, this.response); + + var origEmit = AWS.SequentialExecutor.prototype.emit; + origEmit.call(this, eventName, args, function (err) { + if (err) this.response.error = err; + done.call(this, err); + }); + }, + + /** + * @api private + */ + eventParameters: function eventParameters(eventName) { + switch (eventName) { + 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]; + } + }, + + /** + * @api private + */ + presign: function presign(expires, callback) { + if (!callback && typeof expires === 'function') { + callback = expires; + expires = null; + } + return new AWS.Signers.Presign().sign(this.toGet(), expires, callback); + }, + + /** + * @api private + */ + isPresigned: function isPresigned() { + return Object.prototype.hasOwnProperty.call(this.httpRequest.headers, 'presigned-expires'); + }, + + /** + * @api private + */ + toUnauthenticated: function toUnauthenticated() { + this._unAuthenticated = true; + this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS); + this.removeListener('sign', AWS.EventListeners.Core.SIGN); + return this; + }, + + /** + * @api private + */ + toGet: function toGet() { + if (this.service.api.protocol === 'query' || + this.service.api.protocol === 'ec2') { + this.removeListener('build', this.buildAsGet); + this.addListener('build', this.buildAsGet); + } + return this; + }, + + /** + * @api private + */ + buildAsGet: function buildAsGet(request) { + request.httpRequest.method = 'GET'; + request.httpRequest.path = request.service.endpoint.path + + '?' + request.httpRequest.body; + request.httpRequest.body = ''; + + // don't need these headers on a GET request + delete request.httpRequest.headers['Content-Length']; + delete request.httpRequest.headers['Content-Type']; + }, + + /** + * @api private + */ + haltHandlersOnError: function haltHandlersOnError() { + this._haltHandlersOnError = true; + } +}); + +/** + * @api private + */ +AWS.Request.addPromisesToClass = function addPromisesToClass(PromiseDependency) { + this.prototype.promise = function promise() { + var self = this; + // append to user agent + this.httpRequest.appendToUserAgent('promise'); + return new PromiseDependency(function(resolve, reject) { + self.on('complete', function(resp) { + if (resp.error) { + reject(resp.error); + } else { + // define $response property so that it is not enumerable + // this prevents circular reference errors when stringifying the JSON object + resolve(Object.defineProperty( + resp.data || {}, + '$response', + {value: resp} + )); + } }); + self.runTo(); + }); + }; +}; - /***/ - }, +/** + * @api private + */ +AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() { + delete this.prototype.promise; +}; - /***/ 2971: /***/ function (module) { - module.exports = { - pagination: { - ListApplicationRevisions: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "revisions", - }, - ListApplications: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "applications", - }, - ListDeploymentConfigs: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "deploymentConfigsList", - }, - ListDeploymentGroups: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "deploymentGroups", - }, - ListDeploymentInstances: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "instancesList", - }, - ListDeployments: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "deployments", - }, - }, - }; +AWS.util.addPromises(AWS.Request); - /***/ - }, +AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); - /***/ 2982: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var proc = __webpack_require__(3129); - var iniLoader = AWS.util.iniLoader; - /** - * Represents credentials loaded from shared credentials file - * (defaulting to ~/.aws/credentials or defined by the - * `AWS_SHARED_CREDENTIALS_FILE` environment variable). - * - * ## Using process credentials - * - * The credentials file can specify a credential provider that executes - * a given process and attempts to read its stdout to recieve a JSON payload - * containing the credentials: - * - * [default] - * credential_process = /usr/bin/credential_proc - * - * Automatically handles refreshing credentials if an Expiration time is - * provided in the credentials payload. Credentials supplied in the same profile - * will take precedence over the credential_process. - * - * Sourcing credentials from an external process can potentially be dangerous, - * so proceed with caution. Other credential providers should be preferred if - * at all possible. If using this option, you should make sure that the shared - * credentials file is as locked down as possible using security best practices - * for your operating system. - * - * ## Using custom profiles - * - * The SDK supports loading credentials for separate profiles. This can be done - * in two ways: - * - * 1. Set the `AWS_PROFILE` environment variable in your process prior to - * loading the SDK. - * 2. Directly load the AWS.ProcessCredentials provider: - * - * ```javascript - * var creds = new AWS.ProcessCredentials({profile: 'myprofile'}); - * AWS.config.credentials = creds; - * ``` - * - * @!macro nobrowser - */ - AWS.ProcessCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new ProcessCredentials object. - * - * @param options [map] a set of options - * @option options profile [String] (AWS_PROFILE env var or 'default') - * the name of the profile to load. - * @option options filename [String] ('~/.aws/credentials' or defined by - * AWS_SHARED_CREDENTIALS_FILE process env var) - * the filename to use when loading credentials. - * @option options callback [Function] (err) Credentials are eagerly loaded - * by the constructor. When the callback is called with no error, the - * credentials have been loaded successfully. - */ - constructor: function ProcessCredentials(options) { - AWS.Credentials.call(this); - - options = options || {}; - - this.filename = options.filename; - this.profile = - options.profile || - process.env.AWS_PROFILE || - AWS.util.defaultProfile; - this.get(options.callback || AWS.util.fn.noop); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - try { - var profiles = AWS.util.getProfilesFromSharedConfig( - iniLoader, - this.filename - ); - var profile = profiles[this.profile] || {}; +/***/ }), - if (Object.keys(profile).length === 0) { - throw AWS.util.error( - new Error("Profile " + this.profile + " not found"), - { code: "ProcessCredentialsProviderFailure" } - ); - } +/***/ 2459: +/***/ (function(module) { - if (profile["credential_process"]) { - this.loadViaCredentialProcess(profile, function (err, data) { - if (err) { - callback(err, null); - } else { - self.expired = false; - self.accessKeyId = data.AccessKeyId; - self.secretAccessKey = data.SecretAccessKey; - self.sessionToken = data.SessionToken; - if (data.Expiration) { - self.expireTime = new Date(data.Expiration); - } - callback(null); - } - }); - } else { - throw AWS.util.error( - new Error( - "Profile " + - this.profile + - " did not include credential process" - ), - { code: "ProcessCredentialsProviderFailure" } - ); - } - } catch (err) { - callback(err); - } - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2014-10-31","endpointPrefix":"rds","protocol":"query","serviceAbbreviation":"Amazon DocDB","serviceFullName":"Amazon DocumentDB with MongoDB compatibility","serviceId":"DocDB","signatureVersion":"v4","signingName":"rds","uid":"docdb-2014-10-31","xmlNamespace":"http://rds.amazonaws.com/doc/2014-10-31/"},"operations":{"AddTagsToResource":{"input":{"type":"structure","required":["ResourceName","Tags"],"members":{"ResourceName":{},"Tags":{"shape":"S3"}}}},"ApplyPendingMaintenanceAction":{"input":{"type":"structure","required":["ResourceIdentifier","ApplyAction","OptInType"],"members":{"ResourceIdentifier":{},"ApplyAction":{},"OptInType":{}}},"output":{"resultWrapper":"ApplyPendingMaintenanceActionResult","type":"structure","members":{"ResourcePendingMaintenanceActions":{"shape":"S7"}}}},"CopyDBClusterParameterGroup":{"input":{"type":"structure","required":["SourceDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupDescription"],"members":{"SourceDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupDescription":{},"Tags":{"shape":"S3"}}},"output":{"resultWrapper":"CopyDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sd"}}}},"CopyDBClusterSnapshot":{"input":{"type":"structure","required":["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],"members":{"SourceDBClusterSnapshotIdentifier":{},"TargetDBClusterSnapshotIdentifier":{},"KmsKeyId":{},"PreSignedUrl":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"S3"}}},"output":{"resultWrapper":"CopyDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"Sh"}}}},"CreateDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","Engine","MasterUsername","MasterUserPassword"],"members":{"AvailabilityZones":{"shape":"Si"},"BackupRetentionPeriod":{"type":"integer"},"DBClusterIdentifier":{},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"Sn"},"DBSubnetGroupName":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"MasterUserPassword":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"Tags":{"shape":"S3"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"PreSignedUrl":{},"EnableCloudwatchLogsExports":{"shape":"So"},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"CreateDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}},"CreateDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],"members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"Tags":{"shape":"S3"}}},"output":{"resultWrapper":"CreateDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sd"}}}},"CreateDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","DBClusterIdentifier"],"members":{"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"Tags":{"shape":"S3"}}},"output":{"resultWrapper":"CreateDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"Sh"}}}},"CreateDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBInstanceClass","Engine","DBClusterIdentifier"],"members":{"DBInstanceIdentifier":{},"DBInstanceClass":{},"Engine":{},"AvailabilityZone":{},"PreferredMaintenanceWindow":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"Tags":{"shape":"S3"},"DBClusterIdentifier":{},"PromotionTier":{"type":"integer"}}},"output":{"resultWrapper":"CreateDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S13"}}}},"CreateDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S1e"},"Tags":{"shape":"S3"}}},"output":{"resultWrapper":"CreateDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S15"}}}},"DeleteDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"SkipFinalSnapshot":{"type":"boolean"},"FinalDBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}},"DeleteDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{}}}},"DeleteDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"Sh"}}}},"DeleteDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{}}},"output":{"resultWrapper":"DeleteDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S13"}}}},"DeleteDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName"],"members":{"DBSubnetGroupName":{}}}},"DescribeCertificates":{"input":{"type":"structure","members":{"CertificateIdentifier":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeCertificatesResult","type":"structure","members":{"Certificates":{"type":"list","member":{"locationName":"Certificate","type":"structure","members":{"CertificateIdentifier":{},"CertificateType":{},"Thumbprint":{},"ValidFrom":{"type":"timestamp"},"ValidTill":{"type":"timestamp"},"CertificateArn":{}},"wrapper":true}},"Marker":{}}}},"DescribeDBClusterParameterGroups":{"input":{"type":"structure","members":{"DBClusterParameterGroupName":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParameterGroupsResult","type":"structure","members":{"Marker":{},"DBClusterParameterGroups":{"type":"list","member":{"shape":"Sd","locationName":"DBClusterParameterGroup"}}}}},"DescribeDBClusterParameters":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{},"Source":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParametersResult","type":"structure","members":{"Parameters":{"shape":"S20"},"Marker":{}}}},"DescribeDBClusterSnapshotAttributes":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotAttributesResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S25"}}}},"DescribeDBClusterSnapshots":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"DBClusterSnapshotIdentifier":{},"SnapshotType":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"},"IncludePublic":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotsResult","type":"structure","members":{"Marker":{},"DBClusterSnapshots":{"type":"list","member":{"shape":"Sh","locationName":"DBClusterSnapshot"}}}}},"DescribeDBClusters":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClustersResult","type":"structure","members":{"Marker":{},"DBClusters":{"type":"list","member":{"shape":"Sq","locationName":"DBCluster"}}}}},"DescribeDBEngineVersions":{"input":{"type":"structure","members":{"Engine":{},"EngineVersion":{},"DBParameterGroupFamily":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{},"DefaultOnly":{"type":"boolean"},"ListSupportedCharacterSets":{"type":"boolean"},"ListSupportedTimezones":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBEngineVersionsResult","type":"structure","members":{"Marker":{},"DBEngineVersions":{"type":"list","member":{"locationName":"DBEngineVersion","type":"structure","members":{"Engine":{},"EngineVersion":{},"DBParameterGroupFamily":{},"DBEngineDescription":{},"DBEngineVersionDescription":{},"ValidUpgradeTarget":{"type":"list","member":{"locationName":"UpgradeTarget","type":"structure","members":{"Engine":{},"EngineVersion":{},"Description":{},"AutoUpgrade":{"type":"boolean"},"IsMajorVersionUpgrade":{"type":"boolean"}}}},"ExportableLogTypes":{"shape":"So"},"SupportsLogExportsToCloudwatchLogs":{"type":"boolean"}}}}}}},"DescribeDBInstances":{"input":{"type":"structure","members":{"DBInstanceIdentifier":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBInstancesResult","type":"structure","members":{"Marker":{},"DBInstances":{"type":"list","member":{"shape":"S13","locationName":"DBInstance"}}}}},"DescribeDBSubnetGroups":{"input":{"type":"structure","members":{"DBSubnetGroupName":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBSubnetGroupsResult","type":"structure","members":{"Marker":{},"DBSubnetGroups":{"type":"list","member":{"shape":"S15","locationName":"DBSubnetGroup"}}}}},"DescribeEngineDefaultClusterParameters":{"input":{"type":"structure","required":["DBParameterGroupFamily"],"members":{"DBParameterGroupFamily":{},"Filters":{"shape":"S1p"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEngineDefaultClusterParametersResult","type":"structure","members":{"EngineDefaults":{"type":"structure","members":{"DBParameterGroupFamily":{},"Marker":{},"Parameters":{"shape":"S20"}},"wrapper":true}}}},"DescribeEventCategories":{"input":{"type":"structure","members":{"SourceType":{},"Filters":{"shape":"S1p"}}},"output":{"resultWrapper":"DescribeEventCategoriesResult","type":"structure","members":{"EventCategoriesMapList":{"type":"list","member":{"locationName":"EventCategoriesMap","type":"structure","members":{"SourceType":{},"EventCategories":{"shape":"S2y"}},"wrapper":true}}}}},"DescribeEvents":{"input":{"type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Duration":{"type":"integer"},"EventCategories":{"shape":"S2y"},"Filters":{"shape":"S1p"},"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":"S2y"},"Date":{"type":"timestamp"},"SourceArn":{}}}}}}},"DescribeOrderableDBInstanceOptions":{"input":{"type":"structure","required":["Engine"],"members":{"Engine":{},"EngineVersion":{},"DBInstanceClass":{},"LicenseModel":{},"Vpc":{"type":"boolean"},"Filters":{"shape":"S1p"},"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":"S18","locationName":"AvailabilityZone"}},"Vpc":{"type":"boolean"}},"wrapper":true}},"Marker":{}}}},"DescribePendingMaintenanceActions":{"input":{"type":"structure","members":{"ResourceIdentifier":{},"Filters":{"shape":"S1p"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribePendingMaintenanceActionsResult","type":"structure","members":{"PendingMaintenanceActions":{"type":"list","member":{"shape":"S7","locationName":"ResourcePendingMaintenanceActions"}},"Marker":{}}}},"FailoverDBCluster":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"TargetDBInstanceIdentifier":{}}},"output":{"resultWrapper":"FailoverDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceName"],"members":{"ResourceName":{},"Filters":{"shape":"S1p"}}},"output":{"resultWrapper":"ListTagsForResourceResult","type":"structure","members":{"TagList":{"shape":"S3"}}}},"ModifyDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"NewDBClusterIdentifier":{},"ApplyImmediately":{"type":"boolean"},"BackupRetentionPeriod":{"type":"integer"},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"Sn"},"Port":{"type":"integer"},"MasterUserPassword":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"CloudwatchLogsExportConfiguration":{"type":"structure","members":{"EnableLogTypes":{"shape":"So"},"DisableLogTypes":{"shape":"So"}}},"EngineVersion":{},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}},"ModifyDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","Parameters"],"members":{"DBClusterParameterGroupName":{},"Parameters":{"shape":"S20"}}},"output":{"shape":"S3k","resultWrapper":"ModifyDBClusterParameterGroupResult"}},"ModifyDBClusterSnapshotAttribute":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","AttributeName"],"members":{"DBClusterSnapshotIdentifier":{},"AttributeName":{},"ValuesToAdd":{"shape":"S28"},"ValuesToRemove":{"shape":"S28"}}},"output":{"resultWrapper":"ModifyDBClusterSnapshotAttributeResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S25"}}}},"ModifyDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"DBInstanceClass":{},"ApplyImmediately":{"type":"boolean"},"PreferredMaintenanceWindow":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"NewDBInstanceIdentifier":{},"CACertificateIdentifier":{},"PromotionTier":{"type":"integer"}}},"output":{"resultWrapper":"ModifyDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S13"}}}},"ModifyDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S1e"}}},"output":{"resultWrapper":"ModifyDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S15"}}}},"RebootDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"ForceFailover":{"type":"boolean"}}},"output":{"resultWrapper":"RebootDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S13"}}}},"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":"S20"}}},"output":{"shape":"S3k","resultWrapper":"ResetDBClusterParameterGroupResult"}},"RestoreDBClusterFromSnapshot":{"input":{"type":"structure","required":["DBClusterIdentifier","SnapshotIdentifier","Engine"],"members":{"AvailabilityZones":{"shape":"Si"},"DBClusterIdentifier":{},"SnapshotIdentifier":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"DBSubnetGroupName":{},"VpcSecurityGroupIds":{"shape":"Sn"},"Tags":{"shape":"S3"},"KmsKeyId":{},"EnableCloudwatchLogsExports":{"shape":"So"},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"RestoreDBClusterFromSnapshotResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}},"RestoreDBClusterToPointInTime":{"input":{"type":"structure","required":["DBClusterIdentifier","SourceDBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"SourceDBClusterIdentifier":{},"RestoreToTime":{"type":"timestamp"},"UseLatestRestorableTime":{"type":"boolean"},"Port":{"type":"integer"},"DBSubnetGroupName":{},"VpcSecurityGroupIds":{"shape":"Sn"},"Tags":{"shape":"S3"},"KmsKeyId":{},"EnableCloudwatchLogsExports":{"shape":"So"},"DeletionProtection":{"type":"boolean"}}},"output":{"resultWrapper":"RestoreDBClusterToPointInTimeResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}},"StartDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StartDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}},"StopDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StopDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"Sq"}}}}},"shapes":{"S3":{"type":"list","member":{"locationName":"Tag","type":"structure","members":{"Key":{},"Value":{}}}},"S7":{"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},"Sd":{"type":"structure","members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"DBClusterParameterGroupArn":{}},"wrapper":true},"Sh":{"type":"structure","members":{"AvailabilityZones":{"shape":"Si"},"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"SnapshotCreateTime":{"type":"timestamp"},"Engine":{},"Status":{},"Port":{"type":"integer"},"VpcId":{},"ClusterCreateTime":{"type":"timestamp"},"MasterUsername":{},"EngineVersion":{},"SnapshotType":{},"PercentProgress":{"type":"integer"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DBClusterSnapshotArn":{},"SourceDBClusterSnapshotArn":{}},"wrapper":true},"Si":{"type":"list","member":{"locationName":"AvailabilityZone"}},"Sn":{"type":"list","member":{"locationName":"VpcSecurityGroupId"}},"So":{"type":"list","member":{}},"Sq":{"type":"structure","members":{"AvailabilityZones":{"shape":"Si"},"BackupRetentionPeriod":{"type":"integer"},"DBClusterIdentifier":{},"DBClusterParameterGroup":{},"DBSubnetGroup":{},"Status":{},"PercentProgress":{},"EarliestRestorableTime":{"type":"timestamp"},"Endpoint":{},"ReaderEndpoint":{},"MultiAZ":{"type":"boolean"},"Engine":{},"EngineVersion":{},"LatestRestorableTime":{"type":"timestamp"},"Port":{"type":"integer"},"MasterUsername":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"DBClusterMembers":{"type":"list","member":{"locationName":"DBClusterMember","type":"structure","members":{"DBInstanceIdentifier":{},"IsClusterWriter":{"type":"boolean"},"DBClusterParameterGroupStatus":{},"PromotionTier":{"type":"integer"}},"wrapper":true}},"VpcSecurityGroups":{"shape":"St"},"HostedZoneId":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbClusterResourceId":{},"DBClusterArn":{},"AssociatedRoles":{"type":"list","member":{"locationName":"DBClusterRole","type":"structure","members":{"RoleArn":{},"Status":{}}}},"ClusterCreateTime":{"type":"timestamp"},"EnabledCloudwatchLogsExports":{"shape":"So"},"DeletionProtection":{"type":"boolean"}},"wrapper":true},"St":{"type":"list","member":{"locationName":"VpcSecurityGroupMembership","type":"structure","members":{"VpcSecurityGroupId":{},"Status":{}}}},"S13":{"type":"structure","members":{"DBInstanceIdentifier":{},"DBInstanceClass":{},"Engine":{},"DBInstanceStatus":{},"Endpoint":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"},"HostedZoneId":{}}},"InstanceCreateTime":{"type":"timestamp"},"PreferredBackupWindow":{},"BackupRetentionPeriod":{"type":"integer"},"VpcSecurityGroups":{"shape":"St"},"AvailabilityZone":{},"DBSubnetGroup":{"shape":"S15"},"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":"So"},"LogTypesToDisable":{"shape":"So"}}}}},"LatestRestorableTime":{"type":"timestamp"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"PubliclyAccessible":{"type":"boolean"},"StatusInfos":{"type":"list","member":{"locationName":"DBInstanceStatusInfo","type":"structure","members":{"StatusType":{},"Normal":{"type":"boolean"},"Status":{},"Message":{}}}},"DBClusterIdentifier":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbiResourceId":{},"CACertificateIdentifier":{},"PromotionTier":{"type":"integer"},"DBInstanceArn":{},"EnabledCloudwatchLogsExports":{"shape":"So"}},"wrapper":true},"S15":{"type":"structure","members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"locationName":"Subnet","type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"shape":"S18"},"SubnetStatus":{}}}},"DBSubnetGroupArn":{}},"wrapper":true},"S18":{"type":"structure","members":{"Name":{}},"wrapper":true},"S1e":{"type":"list","member":{"locationName":"SubnetIdentifier"}},"S1p":{"type":"list","member":{"locationName":"Filter","type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{"locationName":"Value"}}}}},"S20":{"type":"list","member":{"locationName":"Parameter","type":"structure","members":{"ParameterName":{},"ParameterValue":{},"Description":{},"Source":{},"ApplyType":{},"DataType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"MinimumEngineVersion":{},"ApplyMethod":{}}}},"S25":{"type":"structure","members":{"DBClusterSnapshotIdentifier":{},"DBClusterSnapshotAttributes":{"type":"list","member":{"locationName":"DBClusterSnapshotAttribute","type":"structure","members":{"AttributeName":{},"AttributeValues":{"shape":"S28"}}}}},"wrapper":true},"S28":{"type":"list","member":{"locationName":"AttributeValue"}},"S2y":{"type":"list","member":{"locationName":"EventCategory"}},"S3k":{"type":"structure","members":{"DBClusterParameterGroupName":{}}}}}; - /** - * Executes the credential_process and retrieves - * credentials from the output - * @api private - * @param profile [map] credentials profile - * @throws ProcessCredentialsProviderFailure - */ - loadViaCredentialProcess: function loadViaCredentialProcess( - profile, - callback - ) { - proc.exec(profile["credential_process"], function ( - err, - stdOut, - stdErr - ) { - if (err) { - callback( - AWS.util.error(new Error("credential_process returned error"), { - code: "ProcessCredentialsProviderFailure", - }), - null - ); +/***/ }), + +/***/ 2463: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-09-18","endpointPrefix":"api.iotdeviceadvisor","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"AWSIoTDeviceAdvisor","serviceFullName":"AWS IoT Core Device Advisor","serviceId":"IotDeviceAdvisor","signatureVersion":"v4","signingName":"iotdeviceadvisor","uid":"iotdeviceadvisor-2020-09-18"},"operations":{"CreateSuiteDefinition":{"http":{"requestUri":"/suiteDefinitions"},"input":{"type":"structure","members":{"suiteDefinitionConfiguration":{"shape":"S2"},"tags":{"shape":"S9"}}},"output":{"type":"structure","members":{"suiteDefinitionId":{},"suiteDefinitionArn":{},"suiteDefinitionName":{},"createdAt":{"type":"timestamp"}}}},"DeleteSuiteDefinition":{"http":{"method":"DELETE","requestUri":"/suiteDefinitions/{suiteDefinitionId}"},"input":{"type":"structure","required":["suiteDefinitionId"],"members":{"suiteDefinitionId":{"location":"uri","locationName":"suiteDefinitionId"}}},"output":{"type":"structure","members":{}}},"GetSuiteDefinition":{"http":{"method":"GET","requestUri":"/suiteDefinitions/{suiteDefinitionId}"},"input":{"type":"structure","required":["suiteDefinitionId"],"members":{"suiteDefinitionId":{"location":"uri","locationName":"suiteDefinitionId"},"suiteDefinitionVersion":{"location":"querystring","locationName":"suiteDefinitionVersion"}}},"output":{"type":"structure","members":{"suiteDefinitionId":{},"suiteDefinitionArn":{},"suiteDefinitionVersion":{},"latestVersion":{},"suiteDefinitionConfiguration":{"shape":"S2"},"createdAt":{"type":"timestamp"},"lastModifiedAt":{"type":"timestamp"},"tags":{"shape":"S9"}}}},"GetSuiteRun":{"http":{"method":"GET","requestUri":"/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}"},"input":{"type":"structure","required":["suiteDefinitionId","suiteRunId"],"members":{"suiteDefinitionId":{"location":"uri","locationName":"suiteDefinitionId"},"suiteRunId":{"location":"uri","locationName":"suiteRunId"}}},"output":{"type":"structure","members":{"suiteDefinitionId":{},"suiteDefinitionVersion":{},"suiteRunId":{},"suiteRunArn":{},"suiteRunConfiguration":{"shape":"Sm"},"testResult":{"type":"structure","members":{"groups":{"type":"list","member":{"type":"structure","members":{"groupId":{},"groupName":{},"tests":{"type":"list","member":{"type":"structure","members":{"testCaseRunId":{},"testCaseDefinitionId":{},"testCaseDefinitionName":{},"status":{},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"logUrl":{},"warnings":{},"failure":{}}}}}}}}},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"status":{},"errorReason":{},"tags":{"shape":"S9"}}}},"GetSuiteRunReport":{"http":{"method":"GET","requestUri":"/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report"},"input":{"type":"structure","required":["suiteDefinitionId","suiteRunId"],"members":{"suiteDefinitionId":{"location":"uri","locationName":"suiteDefinitionId"},"suiteRunId":{"location":"uri","locationName":"suiteRunId"}}},"output":{"type":"structure","members":{"qualificationReportDownloadUrl":{}}}},"ListSuiteDefinitions":{"http":{"method":"GET","requestUri":"/suiteDefinitions"},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"suiteDefinitionInformationList":{"type":"list","member":{"type":"structure","members":{"suiteDefinitionId":{},"suiteDefinitionName":{},"defaultDevices":{"shape":"S4"},"intendedForQualification":{"type":"boolean"},"createdAt":{"type":"timestamp"}}}},"nextToken":{}}}},"ListSuiteRuns":{"http":{"method":"GET","requestUri":"/suiteRuns"},"input":{"type":"structure","members":{"suiteDefinitionId":{"location":"querystring","locationName":"suiteDefinitionId"},"suiteDefinitionVersion":{"location":"querystring","locationName":"suiteDefinitionVersion"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"suiteRunsList":{"type":"list","member":{"type":"structure","members":{"suiteDefinitionId":{},"suiteDefinitionVersion":{},"suiteDefinitionName":{},"suiteRunId":{},"createdAt":{"type":"timestamp"},"startedAt":{"type":"timestamp"},"endAt":{"type":"timestamp"},"status":{},"passed":{"type":"integer"},"failed":{"type":"integer"}}}},"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":"S9"}}}},"ListTestCases":{"http":{"method":"GET","requestUri":"/testCases"},"input":{"type":"structure","members":{"intendedForQualification":{"location":"querystring","locationName":"intendedForQualification","type":"boolean"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"categories":{"type":"list","member":{"type":"structure","members":{"name":{},"tests":{"type":"list","member":{"type":"structure","members":{"name":{},"configuration":{"shape":"S1p"},"test":{"type":"structure","members":{"id":{},"testCaseVersion":{}}}}}}}}},"rootGroupConfiguration":{"shape":"S1p"},"groupConfiguration":{"shape":"S1p"},"nextToken":{}}}},"StartSuiteRun":{"http":{"requestUri":"/suiteDefinitions/{suiteDefinitionId}/suiteRuns"},"input":{"type":"structure","required":["suiteDefinitionId"],"members":{"suiteDefinitionId":{"location":"uri","locationName":"suiteDefinitionId"},"suiteDefinitionVersion":{},"suiteRunConfiguration":{"shape":"Sm"},"tags":{"shape":"S9"}}},"output":{"type":"structure","members":{"suiteRunId":{},"suiteRunArn":{},"createdAt":{"type":"timestamp"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S9"}}},"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":{}}},"UpdateSuiteDefinition":{"http":{"method":"PATCH","requestUri":"/suiteDefinitions/{suiteDefinitionId}"},"input":{"type":"structure","required":["suiteDefinitionId"],"members":{"suiteDefinitionId":{"location":"uri","locationName":"suiteDefinitionId"},"suiteDefinitionConfiguration":{"shape":"S2"}}},"output":{"type":"structure","members":{"suiteDefinitionId":{},"suiteDefinitionArn":{},"suiteDefinitionName":{},"suiteDefinitionVersion":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"}}}}},"shapes":{"S2":{"type":"structure","members":{"suiteDefinitionName":{},"devices":{"shape":"S4"},"intendedForQualification":{"type":"boolean"},"rootGroup":{},"devicePermissionRoleArn":{}}},"S4":{"type":"list","member":{"shape":"S5"}},"S5":{"type":"structure","members":{"thingArn":{},"certificateArn":{}}},"S9":{"type":"map","key":{},"value":{}},"Sm":{"type":"structure","members":{"primaryDevice":{"shape":"S5"},"secondaryDevice":{"shape":"S5"},"selectedTestList":{"type":"list","member":{}}}},"S1p":{"type":"map","key":{},"value":{}}}}; + +/***/ }), + +/***/ 2467: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['accessanalyzer'] = {}; +AWS.AccessAnalyzer = Service.defineService('accessanalyzer', ['2019-11-01']); +Object.defineProperty(apiLoader.services['accessanalyzer'], '2019-11-01', { + get: function get() { + var model = __webpack_require__(4575); + model.paginators = __webpack_require__(7291).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.AccessAnalyzer; + + +/***/ }), + +/***/ 2469: +/***/ (function(module) { + +module.exports = {"pagination":{"DescribeResourceCollectionHealth":{"input_token":"NextToken","output_token":"NextToken","result_key":["CloudFormation"]},"GetResourceCollection":{"input_token":"NextToken","non_aggregate_keys":["ResourceCollection"],"output_token":"NextToken","result_key":["ResourceCollection.CloudFormation.StackNames"]},"ListAnomaliesForInsight":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":["ReactiveAnomalies","ProactiveAnomalies"]},"ListEvents":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Events"},"ListInsights":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":["ProactiveInsights","ReactiveInsights"]},"ListNotificationChannels":{"input_token":"NextToken","output_token":"NextToken","result_key":"Channels"},"ListRecommendations":{"input_token":"NextToken","output_token":"NextToken","result_key":"Recommendations"},"SearchInsights":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":["ProactiveInsights","ReactiveInsights"]}}}; + +/***/ }), + +/***/ 2474: +/***/ (function(module) { + +module.exports = {"pagination":{}}; + +/***/ }), + +/***/ 2476: +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +// Generated by CoffeeScript 1.12.7 +(function() { + "use strict"; + var builder, defaults, escapeCDATA, requiresCDATA, wrapCDATA, + hasProp = {}.hasOwnProperty; + + builder = __webpack_require__(312); + + defaults = __webpack_require__(1514).defaults; + + requiresCDATA = function(entry) { + return typeof entry === "string" && (entry.indexOf('&') >= 0 || entry.indexOf('>') >= 0 || entry.indexOf('<') >= 0); + }; + + wrapCDATA = function(entry) { + return ""; + }; + + escapeCDATA = function(entry) { + return entry.replace(']]>', ']]]]>'); + }; + + exports.Builder = (function() { + function Builder(opts) { + var key, ref, value; + this.options = {}; + ref = defaults["0.2"]; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; + this.options[key] = value; + } + for (key in opts) { + if (!hasProp.call(opts, key)) continue; + value = opts[key]; + this.options[key] = value; + } + } + + Builder.prototype.buildObject = function(rootObj) { + var attrkey, charkey, render, rootElement, rootName; + attrkey = this.options.attrkey; + charkey = this.options.charkey; + if ((Object.keys(rootObj).length === 1) && (this.options.rootName === defaults['0.2'].rootName)) { + rootName = Object.keys(rootObj)[0]; + rootObj = rootObj[rootName]; + } else { + rootName = this.options.rootName; + } + render = (function(_this) { + return function(element, obj) { + var attr, child, entry, index, key, value; + if (typeof obj !== 'object') { + if (_this.options.cdata && requiresCDATA(obj)) { + element.raw(wrapCDATA(obj)); } else { - try { - var credData = JSON.parse(stdOut); - if (credData.Expiration) { - var currentTime = AWS.util.date.getDate(); - var expireTime = new Date(credData.Expiration); - if (expireTime < currentTime) { - throw Error( - "credential_process returned expired credentials" - ); + element.txt(obj); + } + } else if (Array.isArray(obj)) { + for (index in obj) { + if (!hasProp.call(obj, index)) continue; + child = obj[index]; + for (key in child) { + entry = child[key]; + element = render(element.ele(key), entry).up(); + } + } + } else { + for (key in obj) { + if (!hasProp.call(obj, key)) continue; + child = obj[key]; + if (key === attrkey) { + if (typeof child === "object") { + for (attr in child) { + value = child[attr]; + element = element.att(attr, value); } } - - if (credData.Version !== 1) { - throw Error( - "credential_process does not return Version == 1" - ); + } else if (key === charkey) { + if (_this.options.cdata && requiresCDATA(child)) { + element = element.raw(wrapCDATA(child)); + } else { + element = element.txt(child); + } + } else if (Array.isArray(child)) { + for (index in child) { + if (!hasProp.call(child, index)) continue; + entry = child[index]; + if (typeof entry === 'string') { + if (_this.options.cdata && requiresCDATA(entry)) { + element = element.ele(key).raw(wrapCDATA(entry)).up(); + } else { + element = element.ele(key, entry).up(); + } + } else { + element = render(element.ele(key), entry).up(); + } + } + } else if (typeof child === "object") { + element = render(element.ele(key), child).up(); + } else { + if (typeof child === 'string' && _this.options.cdata && requiresCDATA(child)) { + element = element.ele(key).raw(wrapCDATA(child)).up(); + } else { + if (child == null) { + child = ''; + } + element = element.ele(key, child.toString()).up(); } - callback(null, credData); - } catch (err) { - callback( - AWS.util.error(new Error(err.message), { - code: "ProcessCredentialsProviderFailure", - }), - null - ); } } - }); - }, - - /** - * Loads the credentials from the credential process - * - * @callback callback function(err) - * Called after the credential process has been executed. When this - * callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - iniLoader.clearCachedFiles(); - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, + } + return element; + }; + })(this); + rootElement = builder.create(rootName, this.options.xmldec, this.options.doctype, { + headless: this.options.headless, + allowSurrogateChars: this.options.allowSurrogateChars }); + return render(rootElement, rootObj).end(this.options.renderOpts); + }; - /***/ - }, + return Builder; - /***/ 3009: /***/ function (module, __unusedexports, __webpack_require__) { - var once = __webpack_require__(6049); + })(); - var noop = function () {}; +}).call(this); - var isRequest = function (stream) { - return stream.setHeader && typeof stream.abort === "function"; - }; - var isChildProcess = function (stream) { - return ( - stream.stdio && - Array.isArray(stream.stdio) && - stream.stdio.length === 3 - ); - }; +/***/ }), - var eos = function (stream, opts, callback) { - if (typeof opts === "function") return eos(stream, null, opts); - if (!opts) opts = {}; +/***/ 2481: +/***/ (function(module) { - callback = once(callback || noop); +module.exports = {"pagination":{"GetUsageStatistics":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDetectors":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"DetectorIds"},"ListFilters":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"FilterNames"},"ListFindings":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"FindingIds"},"ListIPSets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"IpSetIds"},"ListInvitations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Invitations"},"ListMembers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Members"},"ListOrganizationAdminAccounts":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"AdminAccounts"},"ListPublishingDestinations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListThreatIntelSets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"ThreatIntelSetIds"}}}; - var ws = stream._writableState; - var rs = stream._readableState; - var readable = - opts.readable || (opts.readable !== false && stream.readable); - var writable = - opts.writable || (opts.writable !== false && stream.writable); - var cancelled = false; +/***/ }), - var onlegacyfinish = function () { - if (!stream.writable) onfinish(); - }; +/***/ 2490: +/***/ (function(module) { - var onfinish = function () { - writable = false; - if (!readable) callback.call(stream); - }; +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":"Se"}}}},"Keys":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"Se"},"Total":{"type":"double"},"Partitions":{"type":"list","member":{"type":"double"}}}}},"NextToken":{}}}},"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":"Se"}}},"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":{}},"Se":{"type":"map","key":{},"value":{}}}}; - var onend = function () { - readable = false; - if (!writable) callback.call(stream); - }; +/***/ }), - var onexit = function (exitCode) { - callback.call( - stream, - exitCode ? new Error("exited with error code: " + exitCode) : null - ); - }; +/***/ 2491: +/***/ (function(module, __unusedexports, __webpack_require__) { - var onerror = function (err) { - callback.call(stream, err); - }; +// Generated by CoffeeScript 1.12.7 +(function() { + var XMLNode, XMLProcessingInstruction, + extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + hasProp = {}.hasOwnProperty; - var onclose = function () { - process.nextTick(onclosenexttick); - }; + XMLNode = __webpack_require__(6855); - var onclosenexttick = function () { - if (cancelled) return; - if (readable && !(rs && rs.ended && !rs.destroyed)) - return callback.call(stream, new Error("premature close")); - if (writable && !(ws && ws.ended && !ws.destroyed)) - return callback.call(stream, new Error("premature close")); - }; + module.exports = XMLProcessingInstruction = (function(superClass) { + extend(XMLProcessingInstruction, superClass); - var onrequest = function () { - stream.req.on("finish", onfinish); - }; + function XMLProcessingInstruction(parent, target, value) { + XMLProcessingInstruction.__super__.constructor.call(this, parent); + if (target == null) { + throw new Error("Missing instruction target"); + } + this.target = this.stringify.insTarget(target); + if (value) { + this.value = this.stringify.insValue(value); + } + } - if (isRequest(stream)) { - stream.on("complete", onfinish); - stream.on("abort", onclose); - if (stream.req) onrequest(); - else stream.on("request", onrequest); - } else if (writable && !ws) { - // legacy streams - stream.on("end", onlegacyfinish); - stream.on("close", onlegacyfinish); - } + XMLProcessingInstruction.prototype.clone = function() { + return Object.create(this); + }; - if (isChildProcess(stream)) stream.on("exit", onexit); - - stream.on("end", onend); - stream.on("finish", onfinish); - if (opts.error !== false) stream.on("error", onerror); - stream.on("close", onclose); - - return function () { - cancelled = true; - stream.removeListener("complete", onfinish); - stream.removeListener("abort", onclose); - stream.removeListener("request", onrequest); - if (stream.req) stream.req.removeListener("finish", onfinish); - stream.removeListener("end", onlegacyfinish); - stream.removeListener("close", onlegacyfinish); - stream.removeListener("finish", onfinish); - stream.removeListener("exit", onexit); - stream.removeListener("end", onend); - stream.removeListener("error", onerror); - stream.removeListener("close", onclose); - }; - }; + XMLProcessingInstruction.prototype.toString = function(options) { + return this.options.writer.set(options).processingInstruction(this); + }; - module.exports = eos; + return XMLProcessingInstruction; - /***/ - }, + })(XMLNode); - /***/ 3034: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-04-28", - endpointPrefix: "cloudhsmv2", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "CloudHSM V2", - serviceFullName: "AWS CloudHSM V2", - serviceId: "CloudHSM V2", - signatureVersion: "v4", - signingName: "cloudhsm", - targetPrefix: "BaldrApiService", - uid: "cloudhsmv2-2017-04-28", - }, - operations: { - CopyBackupToRegion: { - input: { - type: "structure", - required: ["DestinationRegion", "BackupId"], - members: { - DestinationRegion: {}, - BackupId: {}, - TagList: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { - DestinationBackup: { - type: "structure", - members: { - CreateTimestamp: { type: "timestamp" }, - SourceRegion: {}, - SourceBackup: {}, - SourceCluster: {}, - }, - }, - }, - }, - }, - CreateCluster: { - input: { - type: "structure", - required: ["SubnetIds", "HsmType"], - members: { - SubnetIds: { type: "list", member: {} }, - HsmType: {}, - SourceBackupId: {}, - TagList: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sh" } }, - }, - }, - CreateHsm: { - input: { - type: "structure", - required: ["ClusterId", "AvailabilityZone"], - members: { ClusterId: {}, AvailabilityZone: {}, IpAddress: {} }, - }, - output: { type: "structure", members: { Hsm: { shape: "Sk" } } }, - }, - DeleteBackup: { - input: { - type: "structure", - required: ["BackupId"], - members: { BackupId: {} }, - }, - output: { - type: "structure", - members: { Backup: { shape: "S13" } }, - }, - }, - DeleteCluster: { - input: { - type: "structure", - required: ["ClusterId"], - members: { ClusterId: {} }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sh" } }, - }, - }, - DeleteHsm: { - input: { - type: "structure", - required: ["ClusterId"], - members: { ClusterId: {}, HsmId: {}, EniId: {}, EniIp: {} }, - }, - output: { type: "structure", members: { HsmId: {} } }, - }, - DescribeBackups: { - input: { - type: "structure", - members: { - NextToken: {}, - MaxResults: { type: "integer" }, - Filters: { shape: "S1c" }, - SortAscending: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Backups: { type: "list", member: { shape: "S13" } }, - NextToken: {}, - }, - }, - }, - DescribeClusters: { - input: { - type: "structure", - members: { - Filters: { shape: "S1c" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Clusters: { type: "list", member: { shape: "Sh" } }, - NextToken: {}, - }, - }, - }, - InitializeCluster: { - input: { - type: "structure", - required: ["ClusterId", "SignedCert", "TrustAnchor"], - members: { ClusterId: {}, SignedCert: {}, TrustAnchor: {} }, - }, - output: { - type: "structure", - members: { State: {}, StateMessage: {} }, - }, - }, - ListTags: { - input: { - type: "structure", - required: ["ResourceId"], - members: { - ResourceId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - required: ["TagList"], - members: { TagList: { shape: "S4" }, NextToken: {} }, - }, - }, - RestoreBackup: { - input: { - type: "structure", - required: ["BackupId"], - members: { BackupId: {} }, - }, - output: { - type: "structure", - members: { Backup: { shape: "S13" } }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceId", "TagList"], - members: { ResourceId: {}, TagList: { shape: "S4" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceId", "TagKeyList"], - members: { - ResourceId: {}, - TagKeyList: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S4: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sh: { - type: "structure", - members: { - BackupPolicy: {}, - ClusterId: {}, - CreateTimestamp: { type: "timestamp" }, - Hsms: { type: "list", member: { shape: "Sk" } }, - HsmType: {}, - PreCoPassword: {}, - SecurityGroup: {}, - SourceBackupId: {}, - State: {}, - StateMessage: {}, - SubnetMapping: { type: "map", key: {}, value: {} }, - VpcId: {}, - Certificates: { - type: "structure", - members: { - ClusterCsr: {}, - HsmCertificate: {}, - AwsHardwareCertificate: {}, - ManufacturerHardwareCertificate: {}, - ClusterCertificate: {}, - }, - }, - TagList: { shape: "S4" }, - }, - }, - Sk: { - type: "structure", - required: ["HsmId"], - members: { - AvailabilityZone: {}, - ClusterId: {}, - SubnetId: {}, - EniId: {}, - EniIp: {}, - HsmId: {}, - State: {}, - StateMessage: {}, - }, - }, - S13: { - type: "structure", - required: ["BackupId"], - members: { - BackupId: {}, - BackupState: {}, - ClusterId: {}, - CreateTimestamp: { type: "timestamp" }, - CopyTimestamp: { type: "timestamp" }, - SourceRegion: {}, - SourceBackup: {}, - SourceCluster: {}, - DeleteTimestamp: { type: "timestamp" }, - TagList: { shape: "S4" }, - }, - }, - S1c: { type: "map", key: {}, value: { type: "list", member: {} } }, - }, - }; +}).call(this); - /***/ - }, - /***/ 3042: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["support"] = {}; - AWS.Support = Service.defineService("support", ["2013-04-15"]); - Object.defineProperty(apiLoader.services["support"], "2013-04-15", { - get: function get() { - var model = __webpack_require__(1010); - model.paginators = __webpack_require__(32).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 2492: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.Support; +var util = __webpack_require__(153); +var XmlNode = __webpack_require__(404).XmlNode; +var XmlText = __webpack_require__(4948).XmlText; - /***/ - }, +function XmlBuilder() { } - /***/ 3043: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var STS = __webpack_require__(1733); - - /** - * Represents temporary credentials retrieved from {AWS.STS}. Without any - * extra parameters, credentials will be fetched from the - * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the - * {AWS.STS.assumeRole} operation will be used to fetch credentials for the - * role instead. - * - * @note AWS.TemporaryCredentials is deprecated, but remains available for - * backwards compatibility. {AWS.ChainableTemporaryCredentials} is the - * preferred class for temporary credentials. - * - * To setup temporary credentials, configure a set of master credentials - * using the standard credentials providers (environment, EC2 instance metadata, - * or from the filesystem), then set the global credentials to a new - * temporary credentials object: - * - * ```javascript - * // Note that environment credentials are loaded by default, - * // the following line is shown for clarity: - * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS'); - * - * // Now set temporary credentials seeded from the master credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * - * // subsequent requests will now use temporary credentials from AWS STS. - * new AWS.S3().listBucket(function(err, data) { ... }); - * ``` - * - * @!attribute masterCredentials - * @return [AWS.Credentials] the master (non-temporary) credentials used to - * get and refresh temporary credentials from AWS STS. - * @note (see constructor) - */ - AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new temporary credentials object. - * - * @note In order to create temporary credentials, you first need to have - * "master" credentials configured in {AWS.Config.credentials}. These - * master credentials are necessary to retrieve the temporary credentials, - * as well as refresh the credentials when they expire. - * @param params [map] a map of options that are passed to the - * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations. - * If a `RoleArn` parameter is passed in, credentials will be based on the - * IAM role. - * @param masterCredentials [AWS.Credentials] the master (non-temporary) credentials - * used to get and refresh temporary credentials from AWS STS. - * @example Creating a new credentials object for generic temporary credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * @example Creating a new credentials object for an IAM role - * AWS.config.credentials = new AWS.TemporaryCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials', - * }); - * @see AWS.STS.assumeRole - * @see AWS.STS.getSessionToken - */ - constructor: function TemporaryCredentials(params, masterCredentials) { - AWS.Credentials.call(this); - this.loadMasterCredentials(masterCredentials); - this.expired = true; - - this.params = params || {}; - if (this.params.RoleArn) { - this.params.RoleSessionName = - this.params.RoleSessionName || "temporary-credentials"; - } - }, +XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) { + var xml = new XmlNode(rootElement); + applyNamespaces(xml, shape, true); + serialize(xml, params, shape); + return xml.children.length > 0 || noEmpty ? xml.toString() : ''; +}; - /** - * Refreshes credentials using {AWS.STS.assumeRole} or - * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed - * to the credentials {constructor}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.masterCredentials.get(function () { - self.service.config.credentials = self.masterCredentials; - var operation = self.params.RoleArn - ? self.service.assumeRole - : self.service.getSessionToken; - operation.call(self.service, function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }); - }, +function serialize(xml, value, shape) { + switch (shape.type) { + case 'structure': return serializeStructure(xml, value, shape); + case 'map': return serializeMap(xml, value, shape); + case 'list': return serializeList(xml, value, shape); + default: return serializeScalar(xml, value, shape); + } +} + +function serializeStructure(xml, params, shape) { + util.arrayEach(shape.memberNames, function(memberName) { + var memberShape = shape.members[memberName]; + if (memberShape.location !== 'body') return; + + var value = params[memberName]; + var name = memberShape.name; + if (value !== undefined && value !== null) { + if (memberShape.isXmlAttribute) { + xml.addAttribute(name, value); + } else if (memberShape.flattened) { + serialize(xml, value, memberShape); + } else { + var element = new XmlNode(name); + xml.addChildNode(element); + applyNamespaces(element, memberShape); + serialize(element, value, memberShape); + } + } + }); +} + +function serializeMap(xml, map, shape) { + var xmlKey = shape.key.name || 'key'; + var xmlValue = shape.value.name || 'value'; + + util.each(map, function(key, value) { + var entry = new XmlNode(shape.flattened ? shape.name : 'entry'); + xml.addChildNode(entry); + + var entryKey = new XmlNode(xmlKey); + var entryValue = new XmlNode(xmlValue); + entry.addChildNode(entryKey); + entry.addChildNode(entryValue); + + serialize(entryKey, key, shape.key); + serialize(entryValue, value, shape.value); + }); +} + +function serializeList(xml, list, shape) { + if (shape.flattened) { + util.arrayEach(list, function(value) { + var name = shape.member.name || shape.name; + var element = new XmlNode(name); + xml.addChildNode(element); + serialize(element, value, shape.member); + }); + } else { + util.arrayEach(list, function(value) { + var name = shape.member.name || 'member'; + var element = new XmlNode(name); + xml.addChildNode(element); + serialize(element, value, shape.member); + }); + } +} + +function serializeScalar(xml, value, shape) { + xml.addChildNode( + new XmlText(shape.toWireFormat(value)) + ); +} + +function applyNamespaces(xml, shape, isRoot) { + var uri, prefix = 'xmlns'; + if (shape.xmlNamespaceUri) { + uri = shape.xmlNamespaceUri; + if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix; + } else if (isRoot && shape.api.xmlNamespaceUri) { + uri = shape.api.xmlNamespaceUri; + } - /** - * @api private - */ - loadMasterCredentials: function loadMasterCredentials( - masterCredentials - ) { - this.masterCredentials = masterCredentials || AWS.config.credentials; - while (this.masterCredentials.masterCredentials) { - this.masterCredentials = this.masterCredentials.masterCredentials; - } + if (uri) xml.addAttribute(prefix, uri); +} - if (typeof this.masterCredentials.get !== "function") { - this.masterCredentials = new AWS.Credentials( - this.masterCredentials - ); - } - }, +/** + * @api private + */ +module.exports = XmlBuilder; - /** - * @api private - */ - createClients: function () { - this.service = this.service || new STS({ params: this.params }); - }, - }); - /***/ - }, +/***/ }), - /***/ 3080: /***/ function (module) { - module.exports = { - pagination: { - ListApplicationVersions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxItems", - }, - ListApplications: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxItems", - }, - ListApplicationDependencies: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxItems", - }, - }, - }; +/***/ 2510: +/***/ (function(module) { - /***/ - }, +module.exports = addHook - /***/ 3091: /***/ function (module) { - module.exports = { - pagination: { - ListComplianceStatus: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "PolicyComplianceStatusList", - }, - ListMemberAccounts: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "MemberAccounts", - }, - ListPolicies: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "PolicyList", - }, - }, - }; +function addHook (state, kind, name, hook) { + var orig = hook + if (!state.registry[name]) { + state.registry[name] = [] + } - /***/ - }, + if (kind === 'before') { + hook = function (method, options) { + return Promise.resolve() + .then(orig.bind(null, options)) + .then(method.bind(null, options)) + } + } - /***/ 3099: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["autoscalingplans"] = {}; - AWS.AutoScalingPlans = Service.defineService("autoscalingplans", [ - "2018-01-06", - ]); - Object.defineProperty( - apiLoader.services["autoscalingplans"], - "2018-01-06", - { - get: function get() { - var model = __webpack_require__(6631); - model.paginators = __webpack_require__(4344).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); + if (kind === 'after') { + hook = function (method, options) { + var result + return Promise.resolve() + .then(method.bind(null, options)) + .then(function (result_) { + result = result_ + return orig(result, options) + }) + .then(function () { + return result + }) + } + } - module.exports = AWS.AutoScalingPlans; + if (kind === 'error') { + hook = function (method, options) { + return Promise.resolve() + .then(method.bind(null, options)) + .catch(function (error) { + return orig(error, options) + }) + } + } - /***/ - }, + state.registry[name].push({ + hook: hook, + orig: orig + }) +} - /***/ 3110: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["licensemanager"] = {}; - AWS.LicenseManager = Service.defineService("licensemanager", [ - "2018-08-01", - ]); - Object.defineProperty( - apiLoader.services["licensemanager"], - "2018-08-01", - { - get: function get() { - var model = __webpack_require__(3605); - model.paginators = __webpack_require__(3209).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - module.exports = AWS.LicenseManager; +/***/ }), - /***/ - }, +/***/ 2522: +/***/ (function(module) { - /***/ 3129: /***/ function (module) { - module.exports = require("child_process"); +module.exports = {"pagination":{"GetOfferingStatus":{"input_token":"nextToken","output_token":"nextToken","result_key":["current","nextPeriod"]},"ListArtifacts":{"input_token":"nextToken","output_token":"nextToken","result_key":"artifacts"},"ListDevicePools":{"input_token":"nextToken","output_token":"nextToken","result_key":"devicePools"},"ListDevices":{"input_token":"nextToken","output_token":"nextToken","result_key":"devices"},"ListJobs":{"input_token":"nextToken","output_token":"nextToken","result_key":"jobs"},"ListOfferingTransactions":{"input_token":"nextToken","output_token":"nextToken","result_key":"offeringTransactions"},"ListOfferings":{"input_token":"nextToken","output_token":"nextToken","result_key":"offerings"},"ListProjects":{"input_token":"nextToken","output_token":"nextToken","result_key":"projects"},"ListRuns":{"input_token":"nextToken","output_token":"nextToken","result_key":"runs"},"ListSamples":{"input_token":"nextToken","output_token":"nextToken","result_key":"samples"},"ListSuites":{"input_token":"nextToken","output_token":"nextToken","result_key":"suites"},"ListTestGridProjects":{"input_token":"nextToken","limit_key":"maxResult","output_token":"nextToken"},"ListTestGridSessionActions":{"input_token":"nextToken","limit_key":"maxResult","output_token":"nextToken"},"ListTestGridSessionArtifacts":{"input_token":"nextToken","limit_key":"maxResult","output_token":"nextToken"},"ListTestGridSessions":{"input_token":"nextToken","limit_key":"maxResult","output_token":"nextToken"},"ListTests":{"input_token":"nextToken","output_token":"nextToken","result_key":"tests"},"ListUniqueProblems":{"input_token":"nextToken","output_token":"nextToken","result_key":"uniqueProblems"},"ListUploads":{"input_token":"nextToken","output_token":"nextToken","result_key":"uploads"}}}; - /***/ - }, +/***/ }), - /***/ 3132: /***/ function (module) { - module.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: { - shape: "S2", - 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: { - shape: "S2", - location: "uri", - locationName: "LexiconName", - }, - }, - }, - output: { - type: "structure", - members: { - Lexicon: { - type: "structure", - members: { Content: {}, Name: { shape: "S2" } }, - }, - 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: { shape: "S2" }, - 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: { - shape: "S2", - location: "uri", - locationName: "LexiconName", - }, - Content: {}, - }, - }, - 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: true }, - ContentType: { - location: "header", - locationName: "Content-Type", - }, - RequestCharacters: { - location: "header", - locationName: "x-amzn-RequestCharacters", - type: "integer", - }, - }, - payload: "AudioStream", - }, - }, - }, - shapes: { - S2: { type: "string", sensitive: true }, - 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: { shape: "S2" } }, - S15: { type: "list", member: {} }, - }, - }; +/***/ 2528: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-01-06","endpointPrefix":"cur","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Cost and Usage Report Service","serviceId":"Cost and Usage Report Service","signatureVersion":"v4","signingName":"cur","targetPrefix":"AWSOrigamiServiceGatewayService","uid":"cur-2017-01-06"},"operations":{"DeleteReportDefinition":{"input":{"type":"structure","members":{"ReportName":{}}},"output":{"type":"structure","members":{"ResponseMessage":{}}}},"DescribeReportDefinitions":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ReportDefinitions":{"type":"list","member":{"shape":"Sa"}},"NextToken":{}}}},"ModifyReportDefinition":{"input":{"type":"structure","required":["ReportName","ReportDefinition"],"members":{"ReportName":{},"ReportDefinition":{"shape":"Sa"}}},"output":{"type":"structure","members":{}}},"PutReportDefinition":{"input":{"type":"structure","required":["ReportDefinition"],"members":{"ReportDefinition":{"shape":"Sa"}}},"output":{"type":"structure","members":{}}}},"shapes":{"Sa":{"type":"structure","required":["ReportName","TimeUnit","Format","Compression","AdditionalSchemaElements","S3Bucket","S3Prefix","S3Region"],"members":{"ReportName":{},"TimeUnit":{},"Format":{},"Compression":{},"AdditionalSchemaElements":{"type":"list","member":{}},"S3Bucket":{},"S3Prefix":{},"S3Region":{},"AdditionalArtifacts":{"type":"list","member":{}},"RefreshClosedReports":{"type":"boolean"},"ReportVersioning":{}}}}}; - /***/ 3137: /***/ function (module) { - module.exports = { - pagination: { - DescribeModelVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetDetectors: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetExternalModels: { - 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", - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 2530: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 3143: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = withAuthorizationPrefix; +"use strict"; - const atob = __webpack_require__(1368); - const REGEX_IS_BASIC_AUTH = /^[\w-]+:/; +var punycode = __webpack_require__(4213); +var mappingTable = __webpack_require__(6967); - function withAuthorizationPrefix(authorization) { - if (/^(basic|bearer|token) /i.test(authorization)) { - return authorization; - } +var PROCESSING_OPTIONS = { + TRANSITIONAL: 0, + NONTRANSITIONAL: 1 +}; - try { - if (REGEX_IS_BASIC_AUTH.test(atob(authorization))) { - return `basic ${authorization}`; - } - } catch (error) {} +function normalize(str) { // fix bug in v8 + return str.split('\u0000').map(function (s) { return s.normalize('NFC'); }).join('\u0000'); +} + +function findStatus(val) { + var start = 0; + var end = mappingTable.length - 1; - if (authorization.split(/\./).length === 3) { - return `bearer ${authorization}`; + while (start <= end) { + var mid = Math.floor((start + end) / 2); + + var target = mappingTable[mid]; + if (target[0][0] <= val && target[0][1] >= val) { + return target; + } else if (target[0][0] > val) { + end = mid - 1; + } else { + start = mid + 1; + } + } + + return null; +} + +var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; + +function countSymbols(string) { + return string + // replace every surrogate pair with a BMP symbol + .replace(regexAstralSymbols, '_') + // then get the length + .length; +} + +function mapChars(domain_name, useSTD3, processing_option) { + var hasError = false; + var processed = ""; + + var len = countSymbols(domain_name); + for (var i = 0; i < len; ++i) { + var codePoint = domain_name.codePointAt(i); + var status = findStatus(codePoint); + + switch (status[1]) { + case "disallowed": + hasError = true; + processed += String.fromCodePoint(codePoint); + break; + case "ignored": + break; + case "mapped": + processed += String.fromCodePoint.apply(String, status[2]); + break; + case "deviation": + if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { + processed += String.fromCodePoint.apply(String, status[2]); + } else { + processed += String.fromCodePoint(codePoint); + } + break; + case "valid": + processed += String.fromCodePoint(codePoint); + break; + case "disallowed_STD3_mapped": + if (useSTD3) { + hasError = true; + processed += String.fromCodePoint(codePoint); + } else { + processed += String.fromCodePoint.apply(String, status[2]); + } + break; + case "disallowed_STD3_valid": + if (useSTD3) { + hasError = true; } - return `token ${authorization}`; - } + processed += String.fromCodePoint(codePoint); + break; + } + } - /***/ - }, + return { + string: processed, + error: hasError + }; +} - /***/ 3158: /***/ function (module, __unusedexports, __webpack_require__) { - var v1 = __webpack_require__(3773); - var v4 = __webpack_require__(1740); +var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; - var uuid = v4; - uuid.v1 = v1; - uuid.v4 = v4; +function validateLabel(label, processing_option) { + if (label.substr(0, 4) === "xn--") { + label = punycode.toUnicode(label); + processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL; + } - module.exports = uuid; + var error = false; - /***/ - }, + if (normalize(label) !== label || + (label[3] === "-" && label[4] === "-") || + label[0] === "-" || label[label.length - 1] === "-" || + label.indexOf(".") !== -1 || + label.search(combiningMarksRegex) === 0) { + error = true; + } - /***/ 3165: /***/ function (module) { - 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: { - GetAutoScalingGroupRecommendations: { - input: { - type: "structure", - members: { - accountIds: { shape: "S2" }, - autoScalingGroupArns: { type: "list", member: {} }, - nextToken: {}, - maxResults: { type: "integer" }, - filters: { shape: "S8" }, - }, - }, - output: { - type: "structure", - members: { - nextToken: {}, - autoScalingGroupRecommendations: { - type: "list", - member: { - type: "structure", - members: { - accountId: {}, - autoScalingGroupArn: {}, - autoScalingGroupName: {}, - finding: {}, - utilizationMetrics: { shape: "Si" }, - lookBackPeriodInDays: { type: "double" }, - currentConfiguration: { shape: "So" }, - recommendationOptions: { - type: "list", - member: { - type: "structure", - members: { - configuration: { shape: "So" }, - projectedUtilizationMetrics: { shape: "Sv" }, - performanceRisk: { type: "double" }, - rank: { type: "integer" }, - }, - }, - }, - lastRefreshTimestamp: { type: "timestamp" }, - }, - }, - }, - errors: { shape: "Sz" }, - }, - }, - }, - GetEC2InstanceRecommendations: { - input: { - type: "structure", - members: { - instanceArns: { type: "list", member: {} }, - nextToken: {}, - maxResults: { type: "integer" }, - filters: { shape: "S8" }, - accountIds: { shape: "S2" }, - }, - }, - output: { - type: "structure", - members: { - nextToken: {}, - instanceRecommendations: { - type: "list", - member: { - type: "structure", - members: { - instanceArn: {}, - accountId: {}, - instanceName: {}, - currentInstanceType: {}, - finding: {}, - utilizationMetrics: { shape: "Si" }, - lookBackPeriodInDays: { type: "double" }, - recommendationOptions: { - type: "list", - member: { - type: "structure", - members: { - instanceType: {}, - projectedUtilizationMetrics: { shape: "Sv" }, - performanceRisk: { type: "double" }, - rank: { type: "integer" }, - }, - }, - }, - recommendationSources: { - type: "list", - member: { - type: "structure", - members: { - recommendationSourceArn: {}, - recommendationSourceType: {}, - }, - }, - }, - lastRefreshTimestamp: { type: "timestamp" }, - }, - }, - }, - errors: { shape: "Sz" }, - }, - }, - }, - GetEC2RecommendationProjectedMetrics: { - input: { - type: "structure", - required: [ - "instanceArn", - "stat", - "period", - "startTime", - "endTime", - ], - members: { - instanceArn: {}, - stat: {}, - period: { type: "integer" }, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - }, - }, - 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" }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - GetEnrollmentStatus: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - status: {}, - statusReason: {}, - memberAccountsEnrolled: { type: "boolean" }, - }, - }, - }, - GetRecommendationSummaries: { - input: { - type: "structure", - members: { - accountIds: { shape: "S2" }, - 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" } }, - }, - }, - recommendationResourceType: {}, - accountId: {}, - }, - }, - }, - }, - }, - }, - UpdateEnrollmentStatus: { - input: { - type: "structure", - required: ["status"], - members: { - status: {}, - includeMemberAccounts: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { status: {}, statusReason: {} }, - }, - }, - }, - shapes: { - S2: { type: "list", member: {} }, - S8: { - type: "list", - member: { - type: "structure", - members: { name: {}, values: { type: "list", member: {} } }, - }, - }, - Si: { type: "list", member: { shape: "Sj" } }, - Sj: { - type: "structure", - members: { name: {}, statistic: {}, value: { type: "double" } }, - }, - So: { - type: "structure", - members: { - desiredCapacity: { type: "integer" }, - minSize: { type: "integer" }, - maxSize: { type: "integer" }, - instanceType: {}, - }, - }, - Sv: { type: "list", member: { shape: "Sj" } }, - Sz: { - type: "list", - member: { - type: "structure", - members: { identifier: {}, code: {}, message: {} }, - }, - }, - }, - }; + var len = countSymbols(label); + for (var i = 0; i < len; ++i) { + var status = findStatus(label.codePointAt(i)); + if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid") || + (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && + status[1] !== "valid" && status[1] !== "deviation")) { + error = true; + break; + } + } - /***/ - }, + return { + label: label, + error: error + }; +} + +function processing(domain_name, useSTD3, processing_option) { + var result = mapChars(domain_name, useSTD3, processing_option); + result.string = normalize(result.string); + + var labels = result.string.split("."); + for (var i = 0; i < labels.length; ++i) { + try { + var validation = validateLabel(labels[i]); + labels[i] = validation.label; + result.error = result.error || validation.error; + } catch(e) { + result.error = true; + } + } - /***/ 3173: /***/ function (module) { - 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: "Sb" }, - }, - }, - }, - 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: "Si" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, - }, - }, - }, - 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: "Sp" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, - }, - }, - }, - 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: "Sw" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, - }, - }, - }, - 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: "S12" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, - }, - }, - }, - ClassifyDocument: { - input: { - type: "structure", - required: ["Text", "EndpointArn"], - members: { Text: {}, 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" } }, - }, - }, - }, - }, - }, - CreateDocumentClassifier: { - input: { - type: "structure", - required: [ - "DocumentClassifierName", - "DataAccessRoleArn", - "InputDataConfig", - "LanguageCode", - ], - members: { - DocumentClassifierName: {}, - DataAccessRoleArn: {}, - Tags: { shape: "S1g" }, - InputDataConfig: { shape: "S1k" }, - OutputDataConfig: { shape: "S1n" }, - ClientRequestToken: { idempotencyToken: true }, - LanguageCode: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - Mode: {}, - }, - }, - output: { - type: "structure", - members: { DocumentClassifierArn: {} }, - }, - }, - CreateEndpoint: { - input: { - type: "structure", - required: ["EndpointName", "ModelArn", "DesiredInferenceUnits"], - members: { - EndpointName: {}, - ModelArn: {}, - DesiredInferenceUnits: { type: "integer" }, - ClientRequestToken: { idempotencyToken: true }, - Tags: { shape: "S1g" }, - }, - }, - output: { type: "structure", members: { EndpointArn: {} } }, - }, - CreateEntityRecognizer: { - input: { - type: "structure", - required: [ - "RecognizerName", - "DataAccessRoleArn", - "InputDataConfig", - "LanguageCode", - ], - members: { - RecognizerName: {}, - DataAccessRoleArn: {}, - Tags: { shape: "S1g" }, - InputDataConfig: { shape: "S25" }, - ClientRequestToken: { idempotencyToken: true }, - LanguageCode: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - 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: "S2n" }, - }, - }, - }, - DescribeDocumentClassifier: { - input: { - type: "structure", - required: ["DocumentClassifierArn"], - members: { DocumentClassifierArn: {} }, - }, - output: { - type: "structure", - members: { DocumentClassifierProperties: { shape: "S2x" } }, - }, - }, - DescribeDominantLanguageDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { - DominantLanguageDetectionJobProperties: { shape: "S34" }, - }, - }, - }, - DescribeEndpoint: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, - }, - output: { - type: "structure", - members: { EndpointProperties: { shape: "S37" } }, - }, - }, - DescribeEntitiesDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { EntitiesDetectionJobProperties: { shape: "S3b" } }, - }, - }, - DescribeEntityRecognizer: { - input: { - type: "structure", - required: ["EntityRecognizerArn"], - members: { EntityRecognizerArn: {} }, - }, - output: { - type: "structure", - members: { EntityRecognizerProperties: { shape: "S3e" } }, - }, - }, - DescribeKeyPhrasesDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { KeyPhrasesDetectionJobProperties: { shape: "S3m" } }, - }, - }, - DescribeSentimentDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { SentimentDetectionJobProperties: { shape: "S3p" } }, - }, - }, - DescribeTopicsDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { TopicsDetectionJobProperties: { shape: "S3s" } }, - }, - }, - DetectDominantLanguage: { - input: { - type: "structure", - required: ["Text"], - members: { Text: {} }, - }, - output: { - type: "structure", - members: { Languages: { shape: "S8" } }, - }, - }, - DetectEntities: { - input: { - type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, - }, - output: { - type: "structure", - members: { Entities: { shape: "Si" } }, - }, - }, - DetectKeyPhrases: { - input: { - type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, - }, - output: { - type: "structure", - members: { KeyPhrases: { shape: "Sp" } }, - }, - }, - DetectSentiment: { - input: { - type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, - }, - output: { - type: "structure", - members: { Sentiment: {}, SentimentScore: { shape: "Sw" } }, - }, - }, - DetectSyntax: { - input: { - type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, - }, - output: { - type: "structure", - members: { SyntaxTokens: { shape: "S12" } }, - }, - }, - 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: "S2n" }, - }, - NextToken: {}, - }, - }, - }, - ListDocumentClassifiers: { - input: { - type: "structure", - members: { - Filter: { - type: "structure", - members: { - Status: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, - }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - DocumentClassifierPropertiesList: { - type: "list", - member: { shape: "S2x" }, - }, - 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: "S34" }, - }, - 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: "S37" }, - }, - 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: "S3b" }, - }, - NextToken: {}, - }, - }, - }, - ListEntityRecognizers: { - input: { - type: "structure", - members: { - Filter: { - type: "structure", - members: { - Status: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, - }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - EntityRecognizerPropertiesList: { - type: "list", - member: { shape: "S3e" }, - }, - 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: "S3m" }, - }, - 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: "S3p" }, - }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { - type: "structure", - members: { ResourceArn: {}, Tags: { shape: "S1g" } }, - }, - }, - 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: "S3s" }, - }, - NextToken: {}, - }, - }, - }, - StartDocumentClassificationJob: { - input: { - type: "structure", - required: [ - "DocumentClassifierArn", - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - ], - members: { - JobName: {}, - DocumentClassifierArn: {}, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - output: { - type: "structure", - members: { JobId: {}, JobStatus: {} }, - }, - }, - StartDominantLanguageDetectionJob: { - input: { - type: "structure", - required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - ], - members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - output: { - type: "structure", - members: { JobId: {}, JobStatus: {} }, - }, - }, - StartEntitiesDetectionJob: { - input: { - type: "structure", - required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - "LanguageCode", - ], - members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - EntityRecognizerArn: {}, - LanguageCode: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - output: { - type: "structure", - members: { JobId: {}, JobStatus: {} }, - }, - }, - StartKeyPhrasesDetectionJob: { - input: { - type: "structure", - required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - "LanguageCode", - ], - members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - LanguageCode: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - output: { - type: "structure", - members: { JobId: {}, JobStatus: {} }, - }, - }, - StartSentimentDetectionJob: { - input: { - type: "structure", - required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - "LanguageCode", - ], - members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - LanguageCode: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - output: { - type: "structure", - members: { JobId: {}, JobStatus: {} }, - }, - }, - StartTopicsDetectionJob: { - input: { - type: "structure", - required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - ], - members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - NumberOfTopics: { type: "integer" }, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - output: { - type: "structure", - members: { JobId: {}, 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: {} }, - }, - }, - StopKeyPhrasesDetectionJob: { - 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: "S1g" } }, - }, - 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", "DesiredInferenceUnits"], - members: { - EndpointArn: {}, - DesiredInferenceUnits: { type: "integer" }, - }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S2: { type: "list", member: {} }, - S8: { - type: "list", - member: { - type: "structure", - members: { LanguageCode: {}, Score: { type: "float" } }, - }, - }, - Sb: { - type: "list", - member: { - type: "structure", - members: { - Index: { type: "integer" }, - ErrorCode: {}, - ErrorMessage: {}, - }, - }, - }, - Si: { - type: "list", - member: { - type: "structure", - members: { - Score: { type: "float" }, - Type: {}, - Text: {}, - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, - }, - }, - }, - Sp: { - type: "list", - member: { - type: "structure", - members: { - Score: { type: "float" }, - Text: {}, - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, - }, - }, - }, - Sw: { - type: "structure", - members: { - Positive: { type: "float" }, - Negative: { type: "float" }, - Neutral: { type: "float" }, - Mixed: { type: "float" }, - }, - }, - S12: { - type: "list", - member: { - type: "structure", - members: { - TokenId: { type: "integer" }, - Text: {}, - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, - PartOfSpeech: { - type: "structure", - members: { Tag: {}, Score: { type: "float" } }, - }, - }, - }, - }, - S1g: { - type: "list", - member: { - type: "structure", - required: ["Key"], - members: { Key: {}, Value: {} }, - }, - }, - S1k: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {}, LabelDelimiter: {} }, - }, - S1n: { type: "structure", members: { S3Uri: {}, KmsKeyId: {} } }, - S1q: { - type: "structure", - required: ["SecurityGroupIds", "Subnets"], - members: { - SecurityGroupIds: { type: "list", member: {} }, - Subnets: { type: "list", member: {} }, - }, - }, - S25: { - type: "structure", - required: ["EntityTypes", "Documents"], - members: { - EntityTypes: { - type: "list", - member: { - type: "structure", - required: ["Type"], - members: { Type: {} }, - }, - }, - Documents: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {} }, - }, - Annotations: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {} }, - }, - EntityList: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {} }, - }, - }, - }, - S2n: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - DocumentClassifierArn: {}, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - S2s: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {}, InputFormat: {} }, - }, - S2u: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {}, KmsKeyId: {} }, - }, - S2x: { - type: "structure", - members: { - DocumentClassifierArn: {}, - LanguageCode: {}, - Status: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - TrainingStartTime: { type: "timestamp" }, - TrainingEndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S1k" }, - OutputDataConfig: { shape: "S1n" }, - 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" }, - }, - }, - }, - }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - Mode: {}, - }, - }, - S34: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - S37: { - type: "structure", - members: { - EndpointArn: {}, - Status: {}, - Message: {}, - ModelArn: {}, - DesiredInferenceUnits: { type: "integer" }, - CurrentInferenceUnits: { type: "integer" }, - CreationTime: { type: "timestamp" }, - LastModifiedTime: { type: "timestamp" }, - }, - }, - S3b: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - EntityRecognizerArn: {}, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - LanguageCode: {}, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - S3e: { - type: "structure", - members: { - EntityRecognizerArn: {}, - LanguageCode: {}, - Status: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - TrainingStartTime: { type: "timestamp" }, - TrainingEndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S25" }, - 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" }, - }, - }, - }, - }, - }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - S3m: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - LanguageCode: {}, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - S3p: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - LanguageCode: {}, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - S3s: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - NumberOfTopics: { type: "integer" }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - }, - }, - }, - }; + return { + string: labels.join("."), + error: result.error + }; +} + +module.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { + var result = processing(domain_name, useSTD3, processing_option); + var labels = result.string.split("."); + labels = labels.map(function(l) { + try { + return punycode.toASCII(l); + } catch(e) { + result.error = true; + return l; + } + }); + + if (verifyDnsLength) { + var total = labels.slice(0, labels.length - 1).join(".").length; + if (total.length > 253 || total.length === 0) { + result.error = true; + } + + for (var i=0; i < labels.length; ++i) { + if (labels.length > 63 || labels.length === 0) { + result.error = true; + break; + } + } + } - /***/ - }, + if (result.error) return null; + return labels.join("."); +}; + +module.exports.toUnicode = function(domain_name, useSTD3) { + var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); + + return { + domain: result.string, + error: result.error + }; +}; + +module.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS; + + +/***/ }), + +/***/ 2533: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-07-09","endpointPrefix":"apigateway","protocol":"rest-json","serviceFullName":"Amazon API Gateway","serviceId":"API Gateway","signatureVersion":"v4","uid":"apigateway-2015-07-09"},"operations":{"CreateApiKey":{"http":{"requestUri":"/apikeys","responseCode":201},"input":{"type":"structure","members":{"name":{},"description":{},"enabled":{"type":"boolean"},"generateDistinctId":{"type":"boolean"},"value":{},"stageKeys":{"type":"list","member":{"type":"structure","members":{"restApiId":{},"stageName":{}}}},"customerId":{},"tags":{"shape":"S6"}}},"output":{"shape":"S7"}},"CreateAuthorizer":{"http":{"requestUri":"/restapis/{restapi_id}/authorizers","responseCode":201},"input":{"type":"structure","required":["restApiId","name","type"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"name":{},"type":{},"providerARNs":{"shape":"Sc"},"authType":{},"authorizerUri":{},"authorizerCredentials":{},"identitySource":{},"identityValidationExpression":{},"authorizerResultTtlInSeconds":{"type":"integer"}}},"output":{"shape":"Sf"}},"CreateBasePathMapping":{"http":{"requestUri":"/domainnames/{domain_name}/basepathmappings","responseCode":201},"input":{"type":"structure","required":["domainName","restApiId"],"members":{"domainName":{"location":"uri","locationName":"domain_name"},"basePath":{},"restApiId":{},"stage":{}}},"output":{"shape":"Sh"}},"CreateDeployment":{"http":{"requestUri":"/restapis/{restapi_id}/deployments","responseCode":201},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{},"stageDescription":{},"description":{},"cacheClusterEnabled":{"type":"boolean"},"cacheClusterSize":{},"variables":{"shape":"S6"},"canarySettings":{"type":"structure","members":{"percentTraffic":{"type":"double"},"stageVariableOverrides":{"shape":"S6"},"useStageCache":{"type":"boolean"}}},"tracingEnabled":{"type":"boolean"}}},"output":{"shape":"Sn"}},"CreateDocumentationPart":{"http":{"requestUri":"/restapis/{restapi_id}/documentation/parts","responseCode":201},"input":{"type":"structure","required":["restApiId","location","properties"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"location":{"shape":"Ss"},"properties":{}}},"output":{"shape":"Sv"}},"CreateDocumentationVersion":{"http":{"requestUri":"/restapis/{restapi_id}/documentation/versions","responseCode":201},"input":{"type":"structure","required":["restApiId","documentationVersion"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"documentationVersion":{},"stageName":{},"description":{}}},"output":{"shape":"Sx"}},"CreateDomainName":{"http":{"requestUri":"/domainnames","responseCode":201},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{},"certificateName":{},"certificateBody":{},"certificatePrivateKey":{},"certificateChain":{},"certificateArn":{},"regionalCertificateName":{},"regionalCertificateArn":{},"endpointConfiguration":{"shape":"Sz"},"tags":{"shape":"S6"},"securityPolicy":{},"mutualTlsAuthentication":{"type":"structure","members":{"truststoreUri":{},"truststoreVersion":{}}}}},"output":{"shape":"S14"}},"CreateModel":{"http":{"requestUri":"/restapis/{restapi_id}/models","responseCode":201},"input":{"type":"structure","required":["restApiId","name","contentType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"name":{},"description":{},"schema":{},"contentType":{}}},"output":{"shape":"S18"}},"CreateRequestValidator":{"http":{"requestUri":"/restapis/{restapi_id}/requestvalidators","responseCode":201},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"name":{},"validateRequestBody":{"type":"boolean"},"validateRequestParameters":{"type":"boolean"}}},"output":{"shape":"S1a"}},"CreateResource":{"http":{"requestUri":"/restapis/{restapi_id}/resources/{parent_id}","responseCode":201},"input":{"type":"structure","required":["restApiId","parentId","pathPart"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"parentId":{"location":"uri","locationName":"parent_id"},"pathPart":{}}},"output":{"shape":"S1c"}},"CreateRestApi":{"http":{"requestUri":"/restapis","responseCode":201},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"version":{},"cloneFrom":{},"binaryMediaTypes":{"shape":"S9"},"minimumCompressionSize":{"type":"integer"},"apiKeySource":{},"endpointConfiguration":{"shape":"Sz"},"policy":{},"tags":{"shape":"S6"},"disableExecuteApiEndpoint":{"type":"boolean"}}},"output":{"shape":"S1t"}},"CreateStage":{"http":{"requestUri":"/restapis/{restapi_id}/stages","responseCode":201},"input":{"type":"structure","required":["restApiId","stageName","deploymentId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{},"deploymentId":{},"description":{},"cacheClusterEnabled":{"type":"boolean"},"cacheClusterSize":{},"variables":{"shape":"S6"},"documentationVersion":{},"canarySettings":{"shape":"S1v"},"tracingEnabled":{"type":"boolean"},"tags":{"shape":"S6"}}},"output":{"shape":"S1w"}},"CreateUsagePlan":{"http":{"requestUri":"/usageplans","responseCode":201},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"apiStages":{"shape":"S23"},"throttle":{"shape":"S26"},"quota":{"shape":"S27"},"tags":{"shape":"S6"}}},"output":{"shape":"S29"}},"CreateUsagePlanKey":{"http":{"requestUri":"/usageplans/{usageplanId}/keys","responseCode":201},"input":{"type":"structure","required":["usagePlanId","keyId","keyType"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"},"keyId":{},"keyType":{}}},"output":{"shape":"S2b"}},"CreateVpcLink":{"http":{"requestUri":"/vpclinks","responseCode":202},"input":{"type":"structure","required":["name","targetArns"],"members":{"name":{},"description":{},"targetArns":{"shape":"S9"},"tags":{"shape":"S6"}}},"output":{"shape":"S2d"}},"DeleteApiKey":{"http":{"method":"DELETE","requestUri":"/apikeys/{api_Key}","responseCode":202},"input":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"location":"uri","locationName":"api_Key"}}}},"DeleteAuthorizer":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}","responseCode":202},"input":{"type":"structure","required":["restApiId","authorizerId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"authorizerId":{"location":"uri","locationName":"authorizer_id"}}}},"DeleteBasePathMapping":{"http":{"method":"DELETE","requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}","responseCode":202},"input":{"type":"structure","required":["domainName","basePath"],"members":{"domainName":{"location":"uri","locationName":"domain_name"},"basePath":{"location":"uri","locationName":"base_path"}}}},"DeleteClientCertificate":{"http":{"method":"DELETE","requestUri":"/clientcertificates/{clientcertificate_id}","responseCode":202},"input":{"type":"structure","required":["clientCertificateId"],"members":{"clientCertificateId":{"location":"uri","locationName":"clientcertificate_id"}}}},"DeleteDeployment":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}","responseCode":202},"input":{"type":"structure","required":["restApiId","deploymentId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"deploymentId":{"location":"uri","locationName":"deployment_id"}}}},"DeleteDocumentationPart":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/documentation/parts/{part_id}","responseCode":202},"input":{"type":"structure","required":["restApiId","documentationPartId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"documentationPartId":{"location":"uri","locationName":"part_id"}}}},"DeleteDocumentationVersion":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/documentation/versions/{doc_version}","responseCode":202},"input":{"type":"structure","required":["restApiId","documentationVersion"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"documentationVersion":{"location":"uri","locationName":"doc_version"}}}},"DeleteDomainName":{"http":{"method":"DELETE","requestUri":"/domainnames/{domain_name}","responseCode":202},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domain_name"}}}},"DeleteGatewayResponse":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}","responseCode":202},"input":{"type":"structure","required":["restApiId","responseType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"responseType":{"location":"uri","locationName":"response_type"}}}},"DeleteIntegration":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration","responseCode":204},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"}}}},"DeleteIntegrationResponse":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}","responseCode":204},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"}}}},"DeleteMethod":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}","responseCode":204},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"}}}},"DeleteMethodResponse":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}","responseCode":204},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"}}}},"DeleteModel":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/models/{model_name}","responseCode":202},"input":{"type":"structure","required":["restApiId","modelName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"modelName":{"location":"uri","locationName":"model_name"}}}},"DeleteRequestValidator":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}","responseCode":202},"input":{"type":"structure","required":["restApiId","requestValidatorId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"requestValidatorId":{"location":"uri","locationName":"requestvalidator_id"}}}},"DeleteResource":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/resources/{resource_id}","responseCode":202},"input":{"type":"structure","required":["restApiId","resourceId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"}}}},"DeleteRestApi":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}","responseCode":202},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"}}}},"DeleteStage":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/stages/{stage_name}","responseCode":202},"input":{"type":"structure","required":["restApiId","stageName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{"location":"uri","locationName":"stage_name"}}}},"DeleteUsagePlan":{"http":{"method":"DELETE","requestUri":"/usageplans/{usageplanId}","responseCode":202},"input":{"type":"structure","required":["usagePlanId"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"}}}},"DeleteUsagePlanKey":{"http":{"method":"DELETE","requestUri":"/usageplans/{usageplanId}/keys/{keyId}","responseCode":202},"input":{"type":"structure","required":["usagePlanId","keyId"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"},"keyId":{"location":"uri","locationName":"keyId"}}}},"DeleteVpcLink":{"http":{"method":"DELETE","requestUri":"/vpclinks/{vpclink_id}","responseCode":202},"input":{"type":"structure","required":["vpcLinkId"],"members":{"vpcLinkId":{"location":"uri","locationName":"vpclink_id"}}}},"FlushStageAuthorizersCache":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers","responseCode":202},"input":{"type":"structure","required":["restApiId","stageName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{"location":"uri","locationName":"stage_name"}}}},"FlushStageCache":{"http":{"method":"DELETE","requestUri":"/restapis/{restapi_id}/stages/{stage_name}/cache/data","responseCode":202},"input":{"type":"structure","required":["restApiId","stageName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{"location":"uri","locationName":"stage_name"}}}},"GenerateClientCertificate":{"http":{"requestUri":"/clientcertificates","responseCode":201},"input":{"type":"structure","members":{"description":{},"tags":{"shape":"S6"}}},"output":{"shape":"S34"}},"GetAccount":{"http":{"method":"GET","requestUri":"/account"},"input":{"type":"structure","members":{}},"output":{"shape":"S36"}},"GetApiKey":{"http":{"method":"GET","requestUri":"/apikeys/{api_Key}"},"input":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"location":"uri","locationName":"api_Key"},"includeValue":{"location":"querystring","locationName":"includeValue","type":"boolean"}}},"output":{"shape":"S7"}},"GetApiKeys":{"http":{"method":"GET","requestUri":"/apikeys"},"input":{"type":"structure","members":{"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"},"nameQuery":{"location":"querystring","locationName":"name"},"customerId":{"location":"querystring","locationName":"customerId"},"includeValues":{"location":"querystring","locationName":"includeValues","type":"boolean"}}},"output":{"type":"structure","members":{"warnings":{"shape":"S9"},"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S7"}}}}},"GetAuthorizer":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}"},"input":{"type":"structure","required":["restApiId","authorizerId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"authorizerId":{"location":"uri","locationName":"authorizer_id"}}},"output":{"shape":"Sf"}},"GetAuthorizers":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/authorizers"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"Sf"}}}}},"GetBasePathMapping":{"http":{"method":"GET","requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}"},"input":{"type":"structure","required":["domainName","basePath"],"members":{"domainName":{"location":"uri","locationName":"domain_name"},"basePath":{"location":"uri","locationName":"base_path"}}},"output":{"shape":"Sh"}},"GetBasePathMappings":{"http":{"method":"GET","requestUri":"/domainnames/{domain_name}/basepathmappings"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domain_name"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"Sh"}}}}},"GetClientCertificate":{"http":{"method":"GET","requestUri":"/clientcertificates/{clientcertificate_id}"},"input":{"type":"structure","required":["clientCertificateId"],"members":{"clientCertificateId":{"location":"uri","locationName":"clientcertificate_id"}}},"output":{"shape":"S34"}},"GetClientCertificates":{"http":{"method":"GET","requestUri":"/clientcertificates"},"input":{"type":"structure","members":{"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S34"}}}}},"GetDeployment":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}"},"input":{"type":"structure","required":["restApiId","deploymentId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"deploymentId":{"location":"uri","locationName":"deployment_id"},"embed":{"shape":"S9","location":"querystring","locationName":"embed"}}},"output":{"shape":"Sn"}},"GetDeployments":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/deployments"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"Sn"}}}}},"GetDocumentationPart":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/documentation/parts/{part_id}"},"input":{"type":"structure","required":["restApiId","documentationPartId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"documentationPartId":{"location":"uri","locationName":"part_id"}}},"output":{"shape":"Sv"}},"GetDocumentationParts":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/documentation/parts"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"type":{"location":"querystring","locationName":"type"},"nameQuery":{"location":"querystring","locationName":"name"},"path":{"location":"querystring","locationName":"path"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"},"locationStatus":{"location":"querystring","locationName":"locationStatus"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"Sv"}}}}},"GetDocumentationVersion":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/documentation/versions/{doc_version}"},"input":{"type":"structure","required":["restApiId","documentationVersion"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"documentationVersion":{"location":"uri","locationName":"doc_version"}}},"output":{"shape":"Sx"}},"GetDocumentationVersions":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/documentation/versions"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"Sx"}}}}},"GetDomainName":{"http":{"method":"GET","requestUri":"/domainnames/{domain_name}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domain_name"}}},"output":{"shape":"S14"}},"GetDomainNames":{"http":{"method":"GET","requestUri":"/domainnames"},"input":{"type":"structure","members":{"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S14"}}}}},"GetExport":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}","responseCode":200},"input":{"type":"structure","required":["restApiId","stageName","exportType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{"location":"uri","locationName":"stage_name"},"exportType":{"location":"uri","locationName":"export_type"},"parameters":{"shape":"S6","location":"querystring"},"accepts":{"location":"header","locationName":"Accept"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"contentDisposition":{"location":"header","locationName":"Content-Disposition"},"body":{"type":"blob"}},"payload":"body"}},"GetGatewayResponse":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}"},"input":{"type":"structure","required":["restApiId","responseType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"responseType":{"location":"uri","locationName":"response_type"}}},"output":{"shape":"S48"}},"GetGatewayResponses":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/gatewayresponses"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S48"}}}}},"GetIntegration":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"}}},"output":{"shape":"S1j"}},"GetIntegrationResponse":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"}}},"output":{"shape":"S1p"}},"GetMethod":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"}}},"output":{"shape":"S1e"}},"GetMethodResponse":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"}}},"output":{"shape":"S1h"}},"GetModel":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/models/{model_name}"},"input":{"type":"structure","required":["restApiId","modelName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"modelName":{"location":"uri","locationName":"model_name"},"flatten":{"location":"querystring","locationName":"flatten","type":"boolean"}}},"output":{"shape":"S18"}},"GetModelTemplate":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/models/{model_name}/default_template"},"input":{"type":"structure","required":["restApiId","modelName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"modelName":{"location":"uri","locationName":"model_name"}}},"output":{"type":"structure","members":{"value":{}}}},"GetModels":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/models"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S18"}}}}},"GetRequestValidator":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"},"input":{"type":"structure","required":["restApiId","requestValidatorId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"requestValidatorId":{"location":"uri","locationName":"requestvalidator_id"}}},"output":{"shape":"S1a"}},"GetRequestValidators":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/requestvalidators"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S1a"}}}}},"GetResource":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/resources/{resource_id}"},"input":{"type":"structure","required":["restApiId","resourceId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"embed":{"shape":"S9","location":"querystring","locationName":"embed"}}},"output":{"shape":"S1c"}},"GetResources":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/resources"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"},"embed":{"shape":"S9","location":"querystring","locationName":"embed"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S1c"}}}}},"GetRestApi":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"}}},"output":{"shape":"S1t"}},"GetRestApis":{"http":{"method":"GET","requestUri":"/restapis"},"input":{"type":"structure","members":{"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S1t"}}}}},"GetSdk":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}","responseCode":200},"input":{"type":"structure","required":["restApiId","stageName","sdkType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{"location":"uri","locationName":"stage_name"},"sdkType":{"location":"uri","locationName":"sdk_type"},"parameters":{"shape":"S6","location":"querystring"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"contentDisposition":{"location":"header","locationName":"Content-Disposition"},"body":{"type":"blob"}},"payload":"body"}},"GetSdkType":{"http":{"method":"GET","requestUri":"/sdktypes/{sdktype_id}"},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"sdktype_id"}}},"output":{"shape":"S51"}},"GetSdkTypes":{"http":{"method":"GET","requestUri":"/sdktypes"},"input":{"type":"structure","members":{"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S51"}}}}},"GetStage":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/stages/{stage_name}"},"input":{"type":"structure","required":["restApiId","stageName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{"location":"uri","locationName":"stage_name"}}},"output":{"shape":"S1w"}},"GetStages":{"http":{"method":"GET","requestUri":"/restapis/{restapi_id}/stages"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"deploymentId":{"location":"querystring","locationName":"deploymentId"}}},"output":{"type":"structure","members":{"item":{"type":"list","member":{"shape":"S1w"}}}}},"GetTags":{"http":{"method":"GET","requestUri":"/tags/{resource_arn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resource_arn"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"tags":{"shape":"S6"}}}},"GetUsage":{"http":{"method":"GET","requestUri":"/usageplans/{usageplanId}/usage"},"input":{"type":"structure","required":["usagePlanId","startDate","endDate"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"},"keyId":{"location":"querystring","locationName":"keyId"},"startDate":{"location":"querystring","locationName":"startDate"},"endDate":{"location":"querystring","locationName":"endDate"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"shape":"S5e"}},"GetUsagePlan":{"http":{"method":"GET","requestUri":"/usageplans/{usageplanId}"},"input":{"type":"structure","required":["usagePlanId"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"}}},"output":{"shape":"S29"}},"GetUsagePlanKey":{"http":{"method":"GET","requestUri":"/usageplans/{usageplanId}/keys/{keyId}","responseCode":200},"input":{"type":"structure","required":["usagePlanId","keyId"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"},"keyId":{"location":"uri","locationName":"keyId"}}},"output":{"shape":"S2b"}},"GetUsagePlanKeys":{"http":{"method":"GET","requestUri":"/usageplans/{usageplanId}/keys"},"input":{"type":"structure","required":["usagePlanId"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"},"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"},"nameQuery":{"location":"querystring","locationName":"name"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S2b"}}}}},"GetUsagePlans":{"http":{"method":"GET","requestUri":"/usageplans"},"input":{"type":"structure","members":{"position":{"location":"querystring","locationName":"position"},"keyId":{"location":"querystring","locationName":"keyId"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S29"}}}}},"GetVpcLink":{"http":{"method":"GET","requestUri":"/vpclinks/{vpclink_id}"},"input":{"type":"structure","required":["vpcLinkId"],"members":{"vpcLinkId":{"location":"uri","locationName":"vpclink_id"}}},"output":{"shape":"S2d"}},"GetVpcLinks":{"http":{"method":"GET","requestUri":"/vpclinks"},"input":{"type":"structure","members":{"position":{"location":"querystring","locationName":"position"},"limit":{"location":"querystring","locationName":"limit","type":"integer"}}},"output":{"type":"structure","members":{"position":{},"items":{"locationName":"item","type":"list","member":{"shape":"S2d"}}}}},"ImportApiKeys":{"http":{"requestUri":"/apikeys?mode=import","responseCode":201},"input":{"type":"structure","required":["body","format"],"members":{"body":{"type":"blob"},"format":{"location":"querystring","locationName":"format"},"failOnWarnings":{"location":"querystring","locationName":"failonwarnings","type":"boolean"}},"payload":"body"},"output":{"type":"structure","members":{"ids":{"shape":"S9"},"warnings":{"shape":"S9"}}}},"ImportDocumentationParts":{"http":{"method":"PUT","requestUri":"/restapis/{restapi_id}/documentation/parts"},"input":{"type":"structure","required":["restApiId","body"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"mode":{"location":"querystring","locationName":"mode"},"failOnWarnings":{"location":"querystring","locationName":"failonwarnings","type":"boolean"},"body":{"type":"blob"}},"payload":"body"},"output":{"type":"structure","members":{"ids":{"shape":"S9"},"warnings":{"shape":"S9"}}}},"ImportRestApi":{"http":{"requestUri":"/restapis?mode=import","responseCode":201},"input":{"type":"structure","required":["body"],"members":{"failOnWarnings":{"location":"querystring","locationName":"failonwarnings","type":"boolean"},"parameters":{"shape":"S6","location":"querystring"},"body":{"type":"blob"}},"payload":"body"},"output":{"shape":"S1t"}},"PutGatewayResponse":{"http":{"method":"PUT","requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}","responseCode":201},"input":{"type":"structure","required":["restApiId","responseType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"responseType":{"location":"uri","locationName":"response_type"},"statusCode":{},"responseParameters":{"shape":"S6"},"responseTemplates":{"shape":"S6"}}},"output":{"shape":"S48"}},"PutIntegration":{"http":{"method":"PUT","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration","responseCode":201},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","type"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"type":{},"integrationHttpMethod":{"locationName":"httpMethod"},"uri":{},"connectionType":{},"connectionId":{},"credentials":{},"requestParameters":{"shape":"S6"},"requestTemplates":{"shape":"S6"},"passthroughBehavior":{},"cacheNamespace":{},"cacheKeyParameters":{"shape":"S9"},"contentHandling":{},"timeoutInMillis":{"type":"integer"},"tlsConfig":{"shape":"S1q"}}},"output":{"shape":"S1j"}},"PutIntegrationResponse":{"http":{"method":"PUT","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}","responseCode":201},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"},"selectionPattern":{},"responseParameters":{"shape":"S6"},"responseTemplates":{"shape":"S6"},"contentHandling":{}}},"output":{"shape":"S1p"}},"PutMethod":{"http":{"method":"PUT","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}","responseCode":201},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","authorizationType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"authorizationType":{},"authorizerId":{},"apiKeyRequired":{"type":"boolean"},"operationName":{},"requestParameters":{"shape":"S1f"},"requestModels":{"shape":"S6"},"requestValidatorId":{},"authorizationScopes":{"shape":"S9"}}},"output":{"shape":"S1e"}},"PutMethodResponse":{"http":{"method":"PUT","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}","responseCode":201},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"},"responseParameters":{"shape":"S1f"},"responseModels":{"shape":"S6"}}},"output":{"shape":"S1h"}},"PutRestApi":{"http":{"method":"PUT","requestUri":"/restapis/{restapi_id}"},"input":{"type":"structure","required":["restApiId","body"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"mode":{"location":"querystring","locationName":"mode"},"failOnWarnings":{"location":"querystring","locationName":"failonwarnings","type":"boolean"},"parameters":{"shape":"S6","location":"querystring"},"body":{"type":"blob"}},"payload":"body"},"output":{"shape":"S1t"}},"TagResource":{"http":{"method":"PUT","requestUri":"/tags/{resource_arn}","responseCode":204},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resource_arn"},"tags":{"shape":"S6"}}}},"TestInvokeAuthorizer":{"http":{"requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}"},"input":{"type":"structure","required":["restApiId","authorizerId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"authorizerId":{"location":"uri","locationName":"authorizer_id"},"headers":{"shape":"S6"},"multiValueHeaders":{"shape":"S6a"},"pathWithQueryString":{},"body":{},"stageVariables":{"shape":"S6"},"additionalContext":{"shape":"S6"}}},"output":{"type":"structure","members":{"clientStatus":{"type":"integer"},"log":{},"latency":{"type":"long"},"principalId":{},"policy":{},"authorization":{"shape":"S6a"},"claims":{"shape":"S6"}}}},"TestInvokeMethod":{"http":{"requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"pathWithQueryString":{},"body":{},"headers":{"shape":"S6"},"multiValueHeaders":{"shape":"S6a"},"clientCertificateId":{},"stageVariables":{"shape":"S6"}}},"output":{"type":"structure","members":{"status":{"type":"integer"},"body":{},"headers":{"shape":"S6"},"multiValueHeaders":{"shape":"S6a"},"log":{},"latency":{"type":"long"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resource_arn}","responseCode":204},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resource_arn"},"tagKeys":{"shape":"S9","location":"querystring","locationName":"tagKeys"}}}},"UpdateAccount":{"http":{"method":"PATCH","requestUri":"/account"},"input":{"type":"structure","members":{"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S36"}},"UpdateApiKey":{"http":{"method":"PATCH","requestUri":"/apikeys/{api_Key}"},"input":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"location":"uri","locationName":"api_Key"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S7"}},"UpdateAuthorizer":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/authorizers/{authorizer_id}"},"input":{"type":"structure","required":["restApiId","authorizerId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"authorizerId":{"location":"uri","locationName":"authorizer_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"Sf"}},"UpdateBasePathMapping":{"http":{"method":"PATCH","requestUri":"/domainnames/{domain_name}/basepathmappings/{base_path}"},"input":{"type":"structure","required":["domainName","basePath"],"members":{"domainName":{"location":"uri","locationName":"domain_name"},"basePath":{"location":"uri","locationName":"base_path"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"Sh"}},"UpdateClientCertificate":{"http":{"method":"PATCH","requestUri":"/clientcertificates/{clientcertificate_id}"},"input":{"type":"structure","required":["clientCertificateId"],"members":{"clientCertificateId":{"location":"uri","locationName":"clientcertificate_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S34"}},"UpdateDeployment":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/deployments/{deployment_id}"},"input":{"type":"structure","required":["restApiId","deploymentId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"deploymentId":{"location":"uri","locationName":"deployment_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"Sn"}},"UpdateDocumentationPart":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/documentation/parts/{part_id}"},"input":{"type":"structure","required":["restApiId","documentationPartId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"documentationPartId":{"location":"uri","locationName":"part_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"Sv"}},"UpdateDocumentationVersion":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/documentation/versions/{doc_version}"},"input":{"type":"structure","required":["restApiId","documentationVersion"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"documentationVersion":{"location":"uri","locationName":"doc_version"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"Sx"}},"UpdateDomainName":{"http":{"method":"PATCH","requestUri":"/domainnames/{domain_name}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domain_name"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S14"}},"UpdateGatewayResponse":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/gatewayresponses/{response_type}"},"input":{"type":"structure","required":["restApiId","responseType"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"responseType":{"location":"uri","locationName":"response_type"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S48"}},"UpdateIntegration":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1j"}},"UpdateIntegrationResponse":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1p"}},"UpdateMethod":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1e"}},"UpdateMethodResponse":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}","responseCode":201},"input":{"type":"structure","required":["restApiId","resourceId","httpMethod","statusCode"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"httpMethod":{"location":"uri","locationName":"http_method"},"statusCode":{"location":"uri","locationName":"status_code"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1h"}},"UpdateModel":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/models/{model_name}"},"input":{"type":"structure","required":["restApiId","modelName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"modelName":{"location":"uri","locationName":"model_name"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S18"}},"UpdateRequestValidator":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"},"input":{"type":"structure","required":["restApiId","requestValidatorId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"requestValidatorId":{"location":"uri","locationName":"requestvalidator_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1a"}},"UpdateResource":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/resources/{resource_id}"},"input":{"type":"structure","required":["restApiId","resourceId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"resourceId":{"location":"uri","locationName":"resource_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1c"}},"UpdateRestApi":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}"},"input":{"type":"structure","required":["restApiId"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1t"}},"UpdateStage":{"http":{"method":"PATCH","requestUri":"/restapis/{restapi_id}/stages/{stage_name}"},"input":{"type":"structure","required":["restApiId","stageName"],"members":{"restApiId":{"location":"uri","locationName":"restapi_id"},"stageName":{"location":"uri","locationName":"stage_name"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S1w"}},"UpdateUsage":{"http":{"method":"PATCH","requestUri":"/usageplans/{usageplanId}/keys/{keyId}/usage"},"input":{"type":"structure","required":["usagePlanId","keyId"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"},"keyId":{"location":"uri","locationName":"keyId"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S5e"}},"UpdateUsagePlan":{"http":{"method":"PATCH","requestUri":"/usageplans/{usageplanId}"},"input":{"type":"structure","required":["usagePlanId"],"members":{"usagePlanId":{"location":"uri","locationName":"usageplanId"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S29"}},"UpdateVpcLink":{"http":{"method":"PATCH","requestUri":"/vpclinks/{vpclink_id}"},"input":{"type":"structure","required":["vpcLinkId"],"members":{"vpcLinkId":{"location":"uri","locationName":"vpclink_id"},"patchOperations":{"shape":"S6g"}}},"output":{"shape":"S2d"}}},"shapes":{"S6":{"type":"map","key":{},"value":{}},"S7":{"type":"structure","members":{"id":{},"value":{},"name":{},"customerId":{},"description":{},"enabled":{"type":"boolean"},"createdDate":{"type":"timestamp"},"lastUpdatedDate":{"type":"timestamp"},"stageKeys":{"shape":"S9"},"tags":{"shape":"S6"}}},"S9":{"type":"list","member":{}},"Sc":{"type":"list","member":{}},"Sf":{"type":"structure","members":{"id":{},"name":{},"type":{},"providerARNs":{"shape":"Sc"},"authType":{},"authorizerUri":{},"authorizerCredentials":{},"identitySource":{},"identityValidationExpression":{},"authorizerResultTtlInSeconds":{"type":"integer"}}},"Sh":{"type":"structure","members":{"basePath":{},"restApiId":{},"stage":{}}},"Sn":{"type":"structure","members":{"id":{},"description":{},"createdDate":{"type":"timestamp"},"apiSummary":{"type":"map","key":{},"value":{"type":"map","key":{},"value":{"type":"structure","members":{"authorizationType":{},"apiKeyRequired":{"type":"boolean"}}}}}}},"Ss":{"type":"structure","required":["type"],"members":{"type":{},"path":{},"method":{},"statusCode":{},"name":{}}},"Sv":{"type":"structure","members":{"id":{},"location":{"shape":"Ss"},"properties":{}}},"Sx":{"type":"structure","members":{"version":{},"createdDate":{"type":"timestamp"},"description":{}}},"Sz":{"type":"structure","members":{"types":{"type":"list","member":{}},"vpcEndpointIds":{"shape":"S9"}}},"S14":{"type":"structure","members":{"domainName":{},"certificateName":{},"certificateArn":{},"certificateUploadDate":{"type":"timestamp"},"regionalDomainName":{},"regionalHostedZoneId":{},"regionalCertificateName":{},"regionalCertificateArn":{},"distributionDomainName":{},"distributionHostedZoneId":{},"endpointConfiguration":{"shape":"Sz"},"domainNameStatus":{},"domainNameStatusMessage":{},"securityPolicy":{},"tags":{"shape":"S6"},"mutualTlsAuthentication":{"type":"structure","members":{"truststoreUri":{},"truststoreVersion":{},"truststoreWarnings":{"shape":"S9"}}}}},"S18":{"type":"structure","members":{"id":{},"name":{},"description":{},"schema":{},"contentType":{}}},"S1a":{"type":"structure","members":{"id":{},"name":{},"validateRequestBody":{"type":"boolean"},"validateRequestParameters":{"type":"boolean"}}},"S1c":{"type":"structure","members":{"id":{},"parentId":{},"pathPart":{},"path":{},"resourceMethods":{"type":"map","key":{},"value":{"shape":"S1e"}}}},"S1e":{"type":"structure","members":{"httpMethod":{},"authorizationType":{},"authorizerId":{},"apiKeyRequired":{"type":"boolean"},"requestValidatorId":{},"operationName":{},"requestParameters":{"shape":"S1f"},"requestModels":{"shape":"S6"},"methodResponses":{"type":"map","key":{},"value":{"shape":"S1h"}},"methodIntegration":{"shape":"S1j"},"authorizationScopes":{"shape":"S9"}}},"S1f":{"type":"map","key":{},"value":{"type":"boolean"}},"S1h":{"type":"structure","members":{"statusCode":{},"responseParameters":{"shape":"S1f"},"responseModels":{"shape":"S6"}}},"S1j":{"type":"structure","members":{"type":{},"httpMethod":{},"uri":{},"connectionType":{},"connectionId":{},"credentials":{},"requestParameters":{"shape":"S6"},"requestTemplates":{"shape":"S6"},"passthroughBehavior":{},"contentHandling":{},"timeoutInMillis":{"type":"integer"},"cacheNamespace":{},"cacheKeyParameters":{"shape":"S9"},"integrationResponses":{"type":"map","key":{},"value":{"shape":"S1p"}},"tlsConfig":{"shape":"S1q"}}},"S1p":{"type":"structure","members":{"statusCode":{},"selectionPattern":{},"responseParameters":{"shape":"S6"},"responseTemplates":{"shape":"S6"},"contentHandling":{}}},"S1q":{"type":"structure","members":{"insecureSkipVerification":{"type":"boolean"}}},"S1t":{"type":"structure","members":{"id":{},"name":{},"description":{},"createdDate":{"type":"timestamp"},"version":{},"warnings":{"shape":"S9"},"binaryMediaTypes":{"shape":"S9"},"minimumCompressionSize":{"type":"integer"},"apiKeySource":{},"endpointConfiguration":{"shape":"Sz"},"policy":{},"tags":{"shape":"S6"},"disableExecuteApiEndpoint":{"type":"boolean"}}},"S1v":{"type":"structure","members":{"percentTraffic":{"type":"double"},"deploymentId":{},"stageVariableOverrides":{"shape":"S6"},"useStageCache":{"type":"boolean"}}},"S1w":{"type":"structure","members":{"deploymentId":{},"clientCertificateId":{},"stageName":{},"description":{},"cacheClusterEnabled":{"type":"boolean"},"cacheClusterSize":{},"cacheClusterStatus":{},"methodSettings":{"type":"map","key":{},"value":{"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":{}}}},"variables":{"shape":"S6"},"documentationVersion":{},"accessLogSettings":{"type":"structure","members":{"format":{},"destinationArn":{}}},"canarySettings":{"shape":"S1v"},"tracingEnabled":{"type":"boolean"},"webAclArn":{},"tags":{"shape":"S6"},"createdDate":{"type":"timestamp"},"lastUpdatedDate":{"type":"timestamp"}}},"S23":{"type":"list","member":{"type":"structure","members":{"apiId":{},"stage":{},"throttle":{"type":"map","key":{},"value":{"shape":"S26"}}}}},"S26":{"type":"structure","members":{"burstLimit":{"type":"integer"},"rateLimit":{"type":"double"}}},"S27":{"type":"structure","members":{"limit":{"type":"integer"},"offset":{"type":"integer"},"period":{}}},"S29":{"type":"structure","members":{"id":{},"name":{},"description":{},"apiStages":{"shape":"S23"},"throttle":{"shape":"S26"},"quota":{"shape":"S27"},"productCode":{},"tags":{"shape":"S6"}}},"S2b":{"type":"structure","members":{"id":{},"type":{},"value":{},"name":{}}},"S2d":{"type":"structure","members":{"id":{},"name":{},"description":{},"targetArns":{"shape":"S9"},"status":{},"statusMessage":{},"tags":{"shape":"S6"}}},"S34":{"type":"structure","members":{"clientCertificateId":{},"description":{},"pemEncodedCertificate":{},"createdDate":{"type":"timestamp"},"expirationDate":{"type":"timestamp"},"tags":{"shape":"S6"}}},"S36":{"type":"structure","members":{"cloudwatchRoleArn":{},"throttleSettings":{"shape":"S26"},"features":{"shape":"S9"},"apiKeyVersion":{}}},"S48":{"type":"structure","members":{"responseType":{},"statusCode":{},"responseParameters":{"shape":"S6"},"responseTemplates":{"shape":"S6"},"defaultResponse":{"type":"boolean"}}},"S51":{"type":"structure","members":{"id":{},"friendlyName":{},"description":{},"configurationProperties":{"type":"list","member":{"type":"structure","members":{"name":{},"friendlyName":{},"description":{},"required":{"type":"boolean"},"defaultValue":{}}}}}},"S5e":{"type":"structure","members":{"usagePlanId":{},"startDate":{},"endDate":{},"position":{},"items":{"locationName":"values","type":"map","key":{},"value":{"type":"list","member":{"type":"list","member":{"type":"long"}}}}}},"S6a":{"type":"map","key":{},"value":{"shape":"S9"}},"S6g":{"type":"list","member":{"type":"structure","members":{"op":{},"path":{},"value":{},"from":{}}}}}}; + +/***/ }), + +/***/ 2541: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +module.exports = { + ACM: __webpack_require__(9427), + APIGateway: __webpack_require__(7126), + ApplicationAutoScaling: __webpack_require__(170), + AppStream: __webpack_require__(7624), + AutoScaling: __webpack_require__(9595), + Batch: __webpack_require__(6605), + Budgets: __webpack_require__(1836), + CloudDirectory: __webpack_require__(469), + CloudFormation: __webpack_require__(8021), + CloudFront: __webpack_require__(4779), + CloudHSM: __webpack_require__(5701), + CloudSearch: __webpack_require__(9890), + CloudSearchDomain: __webpack_require__(8395), + CloudTrail: __webpack_require__(768), + CloudWatch: __webpack_require__(5967), + CloudWatchEvents: __webpack_require__(5114), + CloudWatchLogs: __webpack_require__(4227), + CodeBuild: __webpack_require__(665), + CodeCommit: __webpack_require__(4086), + CodeDeploy: __webpack_require__(2317), + CodePipeline: __webpack_require__(8773), + CognitoIdentity: __webpack_require__(2214), + CognitoIdentityServiceProvider: __webpack_require__(9291), + CognitoSync: __webpack_require__(1186), + ConfigService: __webpack_require__(6458), + CUR: __webpack_require__(4671), + DataPipeline: __webpack_require__(5109), + DeviceFarm: __webpack_require__(1372), + DirectConnect: __webpack_require__(8331), + DirectoryService: __webpack_require__(7194), + Discovery: __webpack_require__(4341), + DMS: __webpack_require__(6261), + DynamoDB: __webpack_require__(7502), + DynamoDBStreams: __webpack_require__(9822), + EC2: __webpack_require__(3877), + ECR: __webpack_require__(5773), + ECS: __webpack_require__(6211), + EFS: __webpack_require__(6887), + ElastiCache: __webpack_require__(9236), + ElasticBeanstalk: __webpack_require__(9452), + ELB: __webpack_require__(600), + ELBv2: __webpack_require__(1420), + EMR: __webpack_require__(1928), + ES: __webpack_require__(1920), + ElasticTranscoder: __webpack_require__(8930), + Firehose: __webpack_require__(9405), + GameLift: __webpack_require__(8307), + Glacier: __webpack_require__(9096), + Health: __webpack_require__(7715), + IAM: __webpack_require__(7845), + ImportExport: __webpack_require__(6384), + Inspector: __webpack_require__(4343), + Iot: __webpack_require__(6255), + IotData: __webpack_require__(1291), + Kinesis: __webpack_require__(7221), + KinesisAnalytics: __webpack_require__(3506), + KMS: __webpack_require__(9374), + Lambda: __webpack_require__(6382), + LexRuntime: __webpack_require__(1879), + Lightsail: __webpack_require__(7350), + MachineLearning: __webpack_require__(5889), + MarketplaceCommerceAnalytics: __webpack_require__(8458), + MarketplaceMetering: __webpack_require__(9225), + MTurk: __webpack_require__(6427), + MobileAnalytics: __webpack_require__(6117), + OpsWorks: __webpack_require__(5542), + OpsWorksCM: __webpack_require__(6738), + Organizations: __webpack_require__(7106), + Pinpoint: __webpack_require__(5381), + Polly: __webpack_require__(4211), + RDS: __webpack_require__(1071), + Redshift: __webpack_require__(5609), + Rekognition: __webpack_require__(8991), + ResourceGroupsTaggingAPI: __webpack_require__(6205), + Route53: __webpack_require__(5707), + Route53Domains: __webpack_require__(3206), + S3: __webpack_require__(1777), + S3Control: __webpack_require__(2617), + ServiceCatalog: __webpack_require__(2673), + SES: __webpack_require__(5311), + Shield: __webpack_require__(8057), + SimpleDB: __webpack_require__(7645), + SMS: __webpack_require__(5103), + Snowball: __webpack_require__(2259), + SNS: __webpack_require__(6735), + SQS: __webpack_require__(8779), + SSM: __webpack_require__(2883), + StorageGateway: __webpack_require__(910), + StepFunctions: __webpack_require__(5835), + STS: __webpack_require__(1733), + Support: __webpack_require__(3042), + SWF: __webpack_require__(8866), + XRay: __webpack_require__(1015), + WAF: __webpack_require__(4258), + WAFRegional: __webpack_require__(2709), + WorkDocs: __webpack_require__(4469), + WorkSpaces: __webpack_require__(4400), + CodeStar: __webpack_require__(7205), + LexModelBuildingService: __webpack_require__(4888), + MarketplaceEntitlementService: __webpack_require__(8265), + Athena: __webpack_require__(7207), + Greengrass: __webpack_require__(4290), + DAX: __webpack_require__(7258), + MigrationHub: __webpack_require__(2106), + CloudHSMV2: __webpack_require__(6900), + Glue: __webpack_require__(1711), + Mobile: __webpack_require__(758), + Pricing: __webpack_require__(3989), + CostExplorer: __webpack_require__(332), + MediaConvert: __webpack_require__(9568), + MediaLive: __webpack_require__(99), + MediaPackage: __webpack_require__(6515), + MediaStore: __webpack_require__(1401), + MediaStoreData: __webpack_require__(2271), + AppSync: __webpack_require__(8847), + GuardDuty: __webpack_require__(5939), + MQ: __webpack_require__(3346), + Comprehend: __webpack_require__(9627), + IoTJobsDataPlane: __webpack_require__(6394), + KinesisVideoArchivedMedia: __webpack_require__(6454), + KinesisVideoMedia: __webpack_require__(4487), + KinesisVideo: __webpack_require__(3707), + SageMakerRuntime: __webpack_require__(2747), + SageMaker: __webpack_require__(7151), + Translate: __webpack_require__(1602), + ResourceGroups: __webpack_require__(215), + AlexaForBusiness: __webpack_require__(8679), + Cloud9: __webpack_require__(877), + ServerlessApplicationRepository: __webpack_require__(1592), + ServiceDiscovery: __webpack_require__(6688), + WorkMail: __webpack_require__(7404), + AutoScalingPlans: __webpack_require__(3099), + TranscribeService: __webpack_require__(8577), + Connect: __webpack_require__(697), + ACMPCA: __webpack_require__(2386), + FMS: __webpack_require__(7923), + SecretsManager: __webpack_require__(585), + IoTAnalytics: __webpack_require__(7010), + IoT1ClickDevicesService: __webpack_require__(8859), + IoT1ClickProjects: __webpack_require__(9523), + PI: __webpack_require__(1032), + Neptune: __webpack_require__(8660), + MediaTailor: __webpack_require__(466), + EKS: __webpack_require__(1429), + Macie: __webpack_require__(7899), + DLM: __webpack_require__(160), + Signer: __webpack_require__(4795), + Chime: __webpack_require__(7409), + PinpointEmail: __webpack_require__(8843), + RAM: __webpack_require__(8421), + Route53Resolver: __webpack_require__(4915), + PinpointSMSVoice: __webpack_require__(1187), + QuickSight: __webpack_require__(9475), + RDSDataService: __webpack_require__(408), + Amplify: __webpack_require__(8375), + DataSync: __webpack_require__(9980), + RoboMaker: __webpack_require__(4802), + Transfer: __webpack_require__(7830), + GlobalAccelerator: __webpack_require__(7443), + ComprehendMedical: __webpack_require__(9457), + KinesisAnalyticsV2: __webpack_require__(7043), + MediaConnect: __webpack_require__(9526), + FSx: __webpack_require__(8937), + SecurityHub: __webpack_require__(1353), + AppMesh: __webpack_require__(7555), + LicenseManager: __webpack_require__(3110), + Kafka: __webpack_require__(1275), + ApiGatewayManagementApi: __webpack_require__(5319), + ApiGatewayV2: __webpack_require__(2020), + DocDB: __webpack_require__(7223), + Backup: __webpack_require__(4604), + WorkLink: __webpack_require__(1250), + Textract: __webpack_require__(3223), + ManagedBlockchain: __webpack_require__(3220), + MediaPackageVod: __webpack_require__(2339), + GroundStation: __webpack_require__(9976), + IoTThingsGraph: __webpack_require__(2327), + IoTEvents: __webpack_require__(3222), + IoTEventsData: __webpack_require__(7581), + Personalize: __webpack_require__(8478), + PersonalizeEvents: __webpack_require__(8280), + PersonalizeRuntime: __webpack_require__(1349), + ApplicationInsights: __webpack_require__(9512), + ServiceQuotas: __webpack_require__(6723), + EC2InstanceConnect: __webpack_require__(5107), + EventBridge: __webpack_require__(4105), + LakeFormation: __webpack_require__(7026), + ForecastService: __webpack_require__(1798), + ForecastQueryService: __webpack_require__(4068), + QLDB: __webpack_require__(9086), + QLDBSession: __webpack_require__(2447), + WorkMailMessageFlow: __webpack_require__(2145), + CodeStarNotifications: __webpack_require__(3853), + SavingsPlans: __webpack_require__(686), + SSO: __webpack_require__(4612), + SSOOIDC: __webpack_require__(1786), + MarketplaceCatalog: __webpack_require__(6773), + DataExchange: __webpack_require__(8433), + SESV2: __webpack_require__(837), + MigrationHubConfig: __webpack_require__(5924), + ConnectParticipant: __webpack_require__(4122), + AppConfig: __webpack_require__(5821), + IoTSecureTunneling: __webpack_require__(6992), + WAFV2: __webpack_require__(42), + ElasticInference: __webpack_require__(5252), + Imagebuilder: __webpack_require__(6244), + Schemas: __webpack_require__(3694), + AccessAnalyzer: __webpack_require__(2467), + CodeGuruReviewer: __webpack_require__(1917), + CodeGuruProfiler: __webpack_require__(623), + ComputeOptimizer: __webpack_require__(1530), + FraudDetector: __webpack_require__(9196), + Kendra: __webpack_require__(6906), + NetworkManager: __webpack_require__(4128), + Outposts: __webpack_require__(8119), + AugmentedAIRuntime: __webpack_require__(7508), + EBS: __webpack_require__(7646), + KinesisVideoSignalingChannels: __webpack_require__(2641), + Detective: __webpack_require__(1068), + CodeStarconnections: __webpack_require__(1096), + Synthetics: __webpack_require__(2110), + IoTSiteWise: __webpack_require__(2221), + Macie2: __webpack_require__(9489), + CodeArtifact: __webpack_require__(4035), + Honeycode: __webpack_require__(4388), + IVS: __webpack_require__(4291), + Braket: __webpack_require__(2220), + IdentityStore: __webpack_require__(5998), + Appflow: __webpack_require__(3870), + RedshiftData: __webpack_require__(5040), + SSOAdmin: __webpack_require__(3631), + TimestreamQuery: __webpack_require__(8940), + TimestreamWrite: __webpack_require__(7538), + S3Outposts: __webpack_require__(1487), + DataBrew: __webpack_require__(3576), + ServiceCatalogAppRegistry: __webpack_require__(8889), + NetworkFirewall: __webpack_require__(7310), + MWAA: __webpack_require__(89), + AmplifyBackend: __webpack_require__(5328), + AppIntegrations: __webpack_require__(2838), + ConnectContactLens: __webpack_require__(3288), + DevOpsGuru: __webpack_require__(6699), + ECRPUBLIC: __webpack_require__(1794), + LookoutVision: __webpack_require__(3536), + SageMakerFeatureStoreRuntime: __webpack_require__(8806), + CustomerProfiles: __webpack_require__(5774), + AuditManager: __webpack_require__(212), + EMRcontainers: __webpack_require__(7544), + HealthLake: __webpack_require__(254), + SagemakerEdge: __webpack_require__(3825), + Amp: __webpack_require__(1607), + GreengrassV2: __webpack_require__(1926), + IotDeviceAdvisor: __webpack_require__(3109), + IoTFleetHub: __webpack_require__(6465), + IoTWireless: __webpack_require__(7528), + Location: __webpack_require__(779), + WellArchitected: __webpack_require__(7462) +}; + +/***/ }), + +/***/ 2572: +/***/ (function(module) { + +module.exports = {"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"us-iso-*/*":{"endpoint":"{service}.{region}.c2s.ic.gov"},"us-isob-*/*":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-gov-*/iam":"globalGovCloud","us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"}},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"}}}; + +/***/ }), + +/***/ 2592: +/***/ (function(module) { + +module.exports = {"pagination":{"ListAccessPoints":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListRegionalBuckets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; + +/***/ }), + +/***/ 2599: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-11-05","endpointPrefix":"transfer","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"AWS Transfer","serviceFullName":"AWS Transfer Family","serviceId":"Transfer","signatureVersion":"v4","signingName":"transfer","targetPrefix":"TransferService","uid":"transfer-2018-11-05"},"operations":{"CreateServer":{"input":{"type":"structure","members":{"Certificate":{},"EndpointDetails":{"shape":"S3"},"EndpointType":{},"HostKey":{"shape":"Sd"},"IdentityProviderDetails":{"shape":"Se"},"IdentityProviderType":{},"LoggingRole":{},"Protocols":{"shape":"Si"},"SecurityPolicyName":{},"Tags":{"shape":"Sl"}}},"output":{"type":"structure","required":["ServerId"],"members":{"ServerId":{}}}},"CreateUser":{"input":{"type":"structure","required":["Role","ServerId","UserName"],"members":{"HomeDirectory":{},"HomeDirectoryType":{},"HomeDirectoryMappings":{"shape":"Su"},"Policy":{},"Role":{},"ServerId":{},"SshPublicKeyBody":{},"Tags":{"shape":"Sl"},"UserName":{}}},"output":{"type":"structure","required":["ServerId","UserName"],"members":{"ServerId":{},"UserName":{}}}},"DeleteServer":{"input":{"type":"structure","required":["ServerId"],"members":{"ServerId":{}}}},"DeleteSshPublicKey":{"input":{"type":"structure","required":["ServerId","SshPublicKeyId","UserName"],"members":{"ServerId":{},"SshPublicKeyId":{},"UserName":{}}}},"DeleteUser":{"input":{"type":"structure","required":["ServerId","UserName"],"members":{"ServerId":{},"UserName":{}}}},"DescribeSecurityPolicy":{"input":{"type":"structure","required":["SecurityPolicyName"],"members":{"SecurityPolicyName":{}}},"output":{"type":"structure","required":["SecurityPolicy"],"members":{"SecurityPolicy":{"type":"structure","required":["SecurityPolicyName"],"members":{"Fips":{"type":"boolean"},"SecurityPolicyName":{},"SshCiphers":{"shape":"S1a"},"SshKexs":{"shape":"S1a"},"SshMacs":{"shape":"S1a"},"TlsCiphers":{"shape":"S1a"}}}}}},"DescribeServer":{"input":{"type":"structure","required":["ServerId"],"members":{"ServerId":{}}},"output":{"type":"structure","required":["Server"],"members":{"Server":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Certificate":{},"EndpointDetails":{"shape":"S3"},"EndpointType":{},"HostKeyFingerprint":{},"IdentityProviderDetails":{"shape":"Se"},"IdentityProviderType":{},"LoggingRole":{},"Protocols":{"shape":"Si"},"SecurityPolicyName":{},"ServerId":{},"State":{},"Tags":{"shape":"Sl"},"UserCount":{"type":"integer"}}}}}},"DescribeUser":{"input":{"type":"structure","required":["ServerId","UserName"],"members":{"ServerId":{},"UserName":{}}},"output":{"type":"structure","required":["ServerId","User"],"members":{"ServerId":{},"User":{"type":"structure","required":["Arn"],"members":{"Arn":{},"HomeDirectory":{},"HomeDirectoryMappings":{"shape":"Su"},"HomeDirectoryType":{},"Policy":{},"Role":{},"SshPublicKeys":{"type":"list","member":{"type":"structure","required":["DateImported","SshPublicKeyBody","SshPublicKeyId"],"members":{"DateImported":{"type":"timestamp"},"SshPublicKeyBody":{},"SshPublicKeyId":{}}}},"Tags":{"shape":"Sl"},"UserName":{}}}}}},"ImportSshPublicKey":{"input":{"type":"structure","required":["ServerId","SshPublicKeyBody","UserName"],"members":{"ServerId":{},"SshPublicKeyBody":{},"UserName":{}}},"output":{"type":"structure","required":["ServerId","SshPublicKeyId","UserName"],"members":{"ServerId":{},"SshPublicKeyId":{},"UserName":{}}}},"ListSecurityPolicies":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["SecurityPolicyNames"],"members":{"NextToken":{},"SecurityPolicyNames":{"type":"list","member":{}}}}},"ListServers":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Servers"],"members":{"NextToken":{},"Servers":{"type":"list","member":{"type":"structure","required":["Arn"],"members":{"Arn":{},"IdentityProviderType":{},"EndpointType":{},"LoggingRole":{},"ServerId":{},"State":{},"UserCount":{"type":"integer"}}}}}}},"ListTagsForResource":{"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Arn":{},"NextToken":{},"Tags":{"shape":"Sl"}}}},"ListUsers":{"input":{"type":"structure","required":["ServerId"],"members":{"MaxResults":{"type":"integer"},"NextToken":{},"ServerId":{}}},"output":{"type":"structure","required":["ServerId","Users"],"members":{"NextToken":{},"ServerId":{},"Users":{"type":"list","member":{"type":"structure","required":["Arn"],"members":{"Arn":{},"HomeDirectory":{},"HomeDirectoryType":{},"Role":{},"SshPublicKeyCount":{"type":"integer"},"UserName":{}}}}}}},"StartServer":{"input":{"type":"structure","required":["ServerId"],"members":{"ServerId":{}}}},"StopServer":{"input":{"type":"structure","required":["ServerId"],"members":{"ServerId":{}}}},"TagResource":{"input":{"type":"structure","required":["Arn","Tags"],"members":{"Arn":{},"Tags":{"shape":"Sl"}}}},"TestIdentityProvider":{"input":{"type":"structure","required":["ServerId","UserName"],"members":{"ServerId":{},"ServerProtocol":{},"SourceIp":{},"UserName":{},"UserPassword":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["StatusCode","Url"],"members":{"Response":{},"StatusCode":{"type":"integer"},"Message":{},"Url":{}}}},"UntagResource":{"input":{"type":"structure","required":["Arn","TagKeys"],"members":{"Arn":{},"TagKeys":{"type":"list","member":{}}}}},"UpdateServer":{"input":{"type":"structure","required":["ServerId"],"members":{"Certificate":{},"EndpointDetails":{"shape":"S3"},"EndpointType":{},"HostKey":{"shape":"Sd"},"IdentityProviderDetails":{"shape":"Se"},"LoggingRole":{},"Protocols":{"shape":"Si"},"SecurityPolicyName":{},"ServerId":{}}},"output":{"type":"structure","required":["ServerId"],"members":{"ServerId":{}}}},"UpdateUser":{"input":{"type":"structure","required":["ServerId","UserName"],"members":{"HomeDirectory":{},"HomeDirectoryType":{},"HomeDirectoryMappings":{"shape":"Su"},"Policy":{},"Role":{},"ServerId":{},"UserName":{}}},"output":{"type":"structure","required":["ServerId","UserName"],"members":{"ServerId":{},"UserName":{}}}}},"shapes":{"S3":{"type":"structure","members":{"AddressAllocationIds":{"type":"list","member":{}},"SubnetIds":{"type":"list","member":{}},"VpcEndpointId":{},"VpcId":{},"SecurityGroupIds":{"type":"list","member":{}}}},"Sd":{"type":"string","sensitive":true},"Se":{"type":"structure","members":{"Url":{},"InvocationRole":{}}},"Si":{"type":"list","member":{}},"Sl":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Su":{"type":"list","member":{"type":"structure","required":["Entry","Target"],"members":{"Entry":{},"Target":{}}}},"S1a":{"type":"list","member":{}}}}; + +/***/ }), + +/***/ 2617: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['s3control'] = {}; +AWS.S3Control = Service.defineService('s3control', ['2018-08-20']); +__webpack_require__(1489); +Object.defineProperty(apiLoader.services['s3control'], '2018-08-20', { + get: function get() { + var model = __webpack_require__(2091); + model.paginators = __webpack_require__(2592).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.S3Control; + + +/***/ }), + +/***/ 2638: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-01-11","endpointPrefix":"clouddirectory","protocol":"rest-json","serviceFullName":"Amazon CloudDirectory","serviceId":"CloudDirectory","signatureVersion":"v4","signingName":"clouddirectory","uid":"clouddirectory-2017-01-11"},"operations":{"AddFacetToObject":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/object/facets","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","SchemaFacet","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"SchemaFacet":{"shape":"S3"},"ObjectAttributeList":{"shape":"S5"},"ObjectReference":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"ApplySchema":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema/apply","responseCode":200},"input":{"type":"structure","required":["PublishedSchemaArn","DirectoryArn"],"members":{"PublishedSchemaArn":{},"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","members":{"AppliedSchemaArn":{},"DirectoryArn":{}}}},"AttachObject":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/object/attach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ParentReference","ChildReference","LinkName"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ParentReference":{"shape":"Sf"},"ChildReference":{"shape":"Sf"},"LinkName":{}}},"output":{"type":"structure","members":{"AttachedObjectIdentifier":{}}}},"AttachPolicy":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/policy/attach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","PolicyReference","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"PolicyReference":{"shape":"Sf"},"ObjectReference":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"AttachToIndex":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/index/attach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","IndexReference","TargetReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"IndexReference":{"shape":"Sf"},"TargetReference":{"shape":"Sf"}}},"output":{"type":"structure","members":{"AttachedObjectIdentifier":{}}}},"AttachTypedLink":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/typedlink/attach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","SourceObjectReference","TargetObjectReference","TypedLinkFacet","Attributes"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"SourceObjectReference":{"shape":"Sf"},"TargetObjectReference":{"shape":"Sf"},"TypedLinkFacet":{"shape":"St"},"Attributes":{"shape":"Sv"}}},"output":{"type":"structure","members":{"TypedLinkSpecifier":{"shape":"Sy"}}}},"BatchRead":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/batchread","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","Operations"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"Operations":{"type":"list","member":{"type":"structure","members":{"ListObjectAttributes":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"},"FacetFilter":{"shape":"S3"}}},"ListObjectChildren":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"ListAttachedIndices":{"type":"structure","required":["TargetReference"],"members":{"TargetReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"ListObjectParentPaths":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"GetObjectInformation":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"}}},"GetObjectAttributes":{"type":"structure","required":["ObjectReference","SchemaFacet","AttributeNames"],"members":{"ObjectReference":{"shape":"Sf"},"SchemaFacet":{"shape":"S3"},"AttributeNames":{"shape":"S1a"}}},"ListObjectParents":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"ListObjectPolicies":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"ListPolicyAttachments":{"type":"structure","required":["PolicyReference"],"members":{"PolicyReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"LookupPolicy":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"ListIndex":{"type":"structure","required":["IndexReference"],"members":{"RangesOnIndexedValues":{"shape":"S1g"},"IndexReference":{"shape":"Sf"},"MaxResults":{"type":"integer"},"NextToken":{}}},"ListOutgoingTypedLinks":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"FilterAttributeRanges":{"shape":"S1l"},"FilterTypedLink":{"shape":"St"},"NextToken":{},"MaxResults":{"type":"integer"}}},"ListIncomingTypedLinks":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"},"FilterAttributeRanges":{"shape":"S1l"},"FilterTypedLink":{"shape":"St"},"NextToken":{},"MaxResults":{"type":"integer"}}},"GetLinkAttributes":{"type":"structure","required":["TypedLinkSpecifier","AttributeNames"],"members":{"TypedLinkSpecifier":{"shape":"Sy"},"AttributeNames":{"shape":"S1a"}}}}}},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"}}},"output":{"type":"structure","members":{"Responses":{"type":"list","member":{"type":"structure","members":{"SuccessfulResponse":{"type":"structure","members":{"ListObjectAttributes":{"type":"structure","members":{"Attributes":{"shape":"S5"},"NextToken":{}}},"ListObjectChildren":{"type":"structure","members":{"Children":{"shape":"S1w"},"NextToken":{}}},"GetObjectInformation":{"type":"structure","members":{"SchemaFacets":{"shape":"S1y"},"ObjectIdentifier":{}}},"GetObjectAttributes":{"type":"structure","members":{"Attributes":{"shape":"S5"}}},"ListAttachedIndices":{"type":"structure","members":{"IndexAttachments":{"shape":"S21"},"NextToken":{}}},"ListObjectParentPaths":{"type":"structure","members":{"PathToObjectIdentifiersList":{"shape":"S24"},"NextToken":{}}},"ListObjectPolicies":{"type":"structure","members":{"AttachedPolicyIds":{"shape":"S27"},"NextToken":{}}},"ListPolicyAttachments":{"type":"structure","members":{"ObjectIdentifiers":{"shape":"S27"},"NextToken":{}}},"LookupPolicy":{"type":"structure","members":{"PolicyToPathList":{"shape":"S2b"},"NextToken":{}}},"ListIndex":{"type":"structure","members":{"IndexAttachments":{"shape":"S21"},"NextToken":{}}},"ListOutgoingTypedLinks":{"type":"structure","members":{"TypedLinkSpecifiers":{"shape":"S2i"},"NextToken":{}}},"ListIncomingTypedLinks":{"type":"structure","members":{"LinkSpecifiers":{"shape":"S2i"},"NextToken":{}}},"GetLinkAttributes":{"type":"structure","members":{"Attributes":{"shape":"S5"}}},"ListObjectParents":{"type":"structure","members":{"ParentLinks":{"shape":"S2m"},"NextToken":{}}}}},"ExceptionResponse":{"type":"structure","members":{"Type":{},"Message":{}}}}}}}}},"BatchWrite":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/batchwrite","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","Operations"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"Operations":{"type":"list","member":{"type":"structure","members":{"CreateObject":{"type":"structure","required":["SchemaFacet","ObjectAttributeList"],"members":{"SchemaFacet":{"shape":"S1y"},"ObjectAttributeList":{"shape":"S5"},"ParentReference":{"shape":"Sf"},"LinkName":{},"BatchReferenceName":{}}},"AttachObject":{"type":"structure","required":["ParentReference","ChildReference","LinkName"],"members":{"ParentReference":{"shape":"Sf"},"ChildReference":{"shape":"Sf"},"LinkName":{}}},"DetachObject":{"type":"structure","required":["ParentReference","LinkName"],"members":{"ParentReference":{"shape":"Sf"},"LinkName":{},"BatchReferenceName":{}}},"UpdateObjectAttributes":{"type":"structure","required":["ObjectReference","AttributeUpdates"],"members":{"ObjectReference":{"shape":"Sf"},"AttributeUpdates":{"shape":"S2z"}}},"DeleteObject":{"type":"structure","required":["ObjectReference"],"members":{"ObjectReference":{"shape":"Sf"}}},"AddFacetToObject":{"type":"structure","required":["SchemaFacet","ObjectAttributeList","ObjectReference"],"members":{"SchemaFacet":{"shape":"S3"},"ObjectAttributeList":{"shape":"S5"},"ObjectReference":{"shape":"Sf"}}},"RemoveFacetFromObject":{"type":"structure","required":["SchemaFacet","ObjectReference"],"members":{"SchemaFacet":{"shape":"S3"},"ObjectReference":{"shape":"Sf"}}},"AttachPolicy":{"type":"structure","required":["PolicyReference","ObjectReference"],"members":{"PolicyReference":{"shape":"Sf"},"ObjectReference":{"shape":"Sf"}}},"DetachPolicy":{"type":"structure","required":["PolicyReference","ObjectReference"],"members":{"PolicyReference":{"shape":"Sf"},"ObjectReference":{"shape":"Sf"}}},"CreateIndex":{"type":"structure","required":["OrderedIndexedAttributeList","IsUnique"],"members":{"OrderedIndexedAttributeList":{"shape":"S39"},"IsUnique":{"type":"boolean"},"ParentReference":{"shape":"Sf"},"LinkName":{},"BatchReferenceName":{}}},"AttachToIndex":{"type":"structure","required":["IndexReference","TargetReference"],"members":{"IndexReference":{"shape":"Sf"},"TargetReference":{"shape":"Sf"}}},"DetachFromIndex":{"type":"structure","required":["IndexReference","TargetReference"],"members":{"IndexReference":{"shape":"Sf"},"TargetReference":{"shape":"Sf"}}},"AttachTypedLink":{"type":"structure","required":["SourceObjectReference","TargetObjectReference","TypedLinkFacet","Attributes"],"members":{"SourceObjectReference":{"shape":"Sf"},"TargetObjectReference":{"shape":"Sf"},"TypedLinkFacet":{"shape":"St"},"Attributes":{"shape":"Sv"}}},"DetachTypedLink":{"type":"structure","required":["TypedLinkSpecifier"],"members":{"TypedLinkSpecifier":{"shape":"Sy"}}},"UpdateLinkAttributes":{"type":"structure","required":["TypedLinkSpecifier","AttributeUpdates"],"members":{"TypedLinkSpecifier":{"shape":"Sy"},"AttributeUpdates":{"shape":"S3g"}}}}}}}},"output":{"type":"structure","members":{"Responses":{"type":"list","member":{"type":"structure","members":{"CreateObject":{"type":"structure","members":{"ObjectIdentifier":{}}},"AttachObject":{"type":"structure","members":{"attachedObjectIdentifier":{}}},"DetachObject":{"type":"structure","members":{"detachedObjectIdentifier":{}}},"UpdateObjectAttributes":{"type":"structure","members":{"ObjectIdentifier":{}}},"DeleteObject":{"type":"structure","members":{}},"AddFacetToObject":{"type":"structure","members":{}},"RemoveFacetFromObject":{"type":"structure","members":{}},"AttachPolicy":{"type":"structure","members":{}},"DetachPolicy":{"type":"structure","members":{}},"CreateIndex":{"type":"structure","members":{"ObjectIdentifier":{}}},"AttachToIndex":{"type":"structure","members":{"AttachedObjectIdentifier":{}}},"DetachFromIndex":{"type":"structure","members":{"DetachedObjectIdentifier":{}}},"AttachTypedLink":{"type":"structure","members":{"TypedLinkSpecifier":{"shape":"Sy"}}},"DetachTypedLink":{"type":"structure","members":{}},"UpdateLinkAttributes":{"type":"structure","members":{}}}}}}}},"CreateDirectory":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/directory/create","responseCode":200},"input":{"type":"structure","required":["Name","SchemaArn"],"members":{"Name":{},"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","required":["DirectoryArn","Name","ObjectIdentifier","AppliedSchemaArn"],"members":{"DirectoryArn":{},"Name":{},"ObjectIdentifier":{},"AppliedSchemaArn":{}}}},"CreateFacet":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/facet/create","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{},"Attributes":{"shape":"S46"},"ObjectType":{},"FacetStyle":{}}},"output":{"type":"structure","members":{}}},"CreateIndex":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/index","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","OrderedIndexedAttributeList","IsUnique"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"OrderedIndexedAttributeList":{"shape":"S39"},"IsUnique":{"type":"boolean"},"ParentReference":{"shape":"Sf"},"LinkName":{}}},"output":{"type":"structure","members":{"ObjectIdentifier":{}}}},"CreateObject":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/object","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","SchemaFacets"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"SchemaFacets":{"shape":"S1y"},"ObjectAttributeList":{"shape":"S5"},"ParentReference":{"shape":"Sf"},"LinkName":{}}},"output":{"type":"structure","members":{"ObjectIdentifier":{}}}},"CreateSchema":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema/create","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"SchemaArn":{}}}},"CreateTypedLinkFacet":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/create","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Facet"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Facet":{"type":"structure","required":["Name","Attributes","IdentityAttributeOrder"],"members":{"Name":{},"Attributes":{"shape":"S4v"},"IdentityAttributeOrder":{"shape":"S1a"}}}}},"output":{"type":"structure","members":{}}},"DeleteDirectory":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/directory","responseCode":200},"input":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{}}}},"DeleteFacet":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/facet/delete","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteObject":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/object/delete","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"DeleteSchema":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema","responseCode":200},"input":{"type":"structure","required":["SchemaArn"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","members":{"SchemaArn":{}}}},"DeleteTypedLinkFacet":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/delete","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{}}},"output":{"type":"structure","members":{}}},"DetachFromIndex":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/index/detach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","IndexReference","TargetReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"IndexReference":{"shape":"Sf"},"TargetReference":{"shape":"Sf"}}},"output":{"type":"structure","members":{"DetachedObjectIdentifier":{}}}},"DetachObject":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/object/detach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ParentReference","LinkName"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ParentReference":{"shape":"Sf"},"LinkName":{}}},"output":{"type":"structure","members":{"DetachedObjectIdentifier":{}}}},"DetachPolicy":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/policy/detach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","PolicyReference","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"PolicyReference":{"shape":"Sf"},"ObjectReference":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"DetachTypedLink":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/typedlink/detach","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","TypedLinkSpecifier"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"TypedLinkSpecifier":{"shape":"Sy"}}}},"DisableDirectory":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/directory/disable","responseCode":200},"input":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{}}}},"EnableDirectory":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/directory/enable","responseCode":200},"input":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{}}}},"GetAppliedSchemaVersion":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/schema/getappliedschema","responseCode":200},"input":{"type":"structure","required":["SchemaArn"],"members":{"SchemaArn":{}}},"output":{"type":"structure","members":{"AppliedSchemaArn":{}}}},"GetDirectory":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/directory/get","responseCode":200},"input":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","required":["Directory"],"members":{"Directory":{"shape":"S5n"}}}},"GetFacet":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/facet","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{}}},"output":{"type":"structure","members":{"Facet":{"type":"structure","members":{"Name":{},"ObjectType":{},"FacetStyle":{}}}}}},"GetLinkAttributes":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/attributes/get","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","TypedLinkSpecifier","AttributeNames"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"TypedLinkSpecifier":{"shape":"Sy"},"AttributeNames":{"shape":"S1a"},"ConsistencyLevel":{}}},"output":{"type":"structure","members":{"Attributes":{"shape":"S5"}}}},"GetObjectAttributes":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/attributes/get","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference","SchemaFacet","AttributeNames"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"},"SchemaFacet":{"shape":"S3"},"AttributeNames":{"shape":"S1a"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"S5"}}}},"GetObjectInformation":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/information","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"}}},"output":{"type":"structure","members":{"SchemaFacets":{"shape":"S1y"},"ObjectIdentifier":{}}}},"GetSchemaAsJson":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/schema/json","responseCode":200},"input":{"type":"structure","required":["SchemaArn"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"}}},"output":{"type":"structure","members":{"Name":{},"Document":{}}}},"GetTypedLinkFacetInformation":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/get","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{}}},"output":{"type":"structure","members":{"IdentityAttributeOrder":{"shape":"S1a"}}}},"ListAppliedSchemaArns":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/schema/applied","responseCode":200},"input":{"type":"structure","required":["DirectoryArn"],"members":{"DirectoryArn":{},"SchemaArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SchemaArns":{"shape":"S66"},"NextToken":{}}}},"ListAttachedIndices":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/indices","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","TargetReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"TargetReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"}}},"output":{"type":"structure","members":{"IndexAttachments":{"shape":"S21"},"NextToken":{}}}},"ListDevelopmentSchemaArns":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/schema/development","responseCode":200},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SchemaArns":{"shape":"S66"},"NextToken":{}}}},"ListDirectories":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/directory/list","responseCode":200},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"state":{}}},"output":{"type":"structure","required":["Directories"],"members":{"Directories":{"type":"list","member":{"shape":"S5n"}},"NextToken":{}}}},"ListFacetAttributes":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/facet/attributes","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"S46"},"NextToken":{}}}},"ListFacetNames":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/facet/list","responseCode":200},"input":{"type":"structure","required":["SchemaArn"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"FacetNames":{"type":"list","member":{}},"NextToken":{}}}},"ListIncomingTypedLinks":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/incoming","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"FilterAttributeRanges":{"shape":"S1l"},"FilterTypedLink":{"shape":"St"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{}}},"output":{"type":"structure","members":{"LinkSpecifiers":{"shape":"S2i"},"NextToken":{}}}},"ListIndex":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/index/targets","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","IndexReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"RangesOnIndexedValues":{"shape":"S1g"},"IndexReference":{"shape":"Sf"},"MaxResults":{"type":"integer"},"NextToken":{},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"}}},"output":{"type":"structure","members":{"IndexAttachments":{"shape":"S21"},"NextToken":{}}}},"ListManagedSchemaArns":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/schema/managed","responseCode":200},"input":{"type":"structure","members":{"SchemaArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SchemaArns":{"shape":"S66"},"NextToken":{}}}},"ListObjectAttributes":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/attributes","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"},"FacetFilter":{"shape":"S3"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"S5"},"NextToken":{}}}},"ListObjectChildren":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/children","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"}}},"output":{"type":"structure","members":{"Children":{"shape":"S1w"},"NextToken":{}}}},"ListObjectParentPaths":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/parentpaths","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PathToObjectIdentifiersList":{"shape":"S24"},"NextToken":{}}}},"ListObjectParents":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/parent","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"},"IncludeAllLinksToEachParent":{"type":"boolean"}}},"output":{"type":"structure","members":{"Parents":{"type":"map","key":{},"value":{}},"NextToken":{},"ParentLinks":{"shape":"S2m"}}}},"ListObjectPolicies":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/object/policy","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"}}},"output":{"type":"structure","members":{"AttachedPolicyIds":{"shape":"S27"},"NextToken":{}}}},"ListOutgoingTypedLinks":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/outgoing","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"FilterAttributeRanges":{"shape":"S1l"},"FilterTypedLink":{"shape":"St"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{}}},"output":{"type":"structure","members":{"TypedLinkSpecifiers":{"shape":"S2i"},"NextToken":{}}}},"ListPolicyAttachments":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/policy/attachment","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","PolicyReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"PolicyReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"},"ConsistencyLevel":{"location":"header","locationName":"x-amz-consistency-level"}}},"output":{"type":"structure","members":{"ObjectIdentifiers":{"shape":"S27"},"NextToken":{}}}},"ListPublishedSchemaArns":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/schema/published","responseCode":200},"input":{"type":"structure","members":{"SchemaArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SchemaArns":{"shape":"S66"},"NextToken":{}}}},"ListTagsForResource":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/tags","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S79"},"NextToken":{}}}},"ListTypedLinkFacetAttributes":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/attributes","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"S4v"},"NextToken":{}}}},"ListTypedLinkFacetNames":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet/list","responseCode":200},"input":{"type":"structure","required":["SchemaArn"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"FacetNames":{"type":"list","member":{}},"NextToken":{}}}},"LookupPolicy":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/policy/lookup","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PolicyToPathList":{"shape":"S2b"},"NextToken":{}}}},"PublishSchema":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema/publish","responseCode":200},"input":{"type":"structure","required":["DevelopmentSchemaArn","Version"],"members":{"DevelopmentSchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Version":{},"MinorVersion":{},"Name":{}}},"output":{"type":"structure","members":{"PublishedSchemaArn":{}}}},"PutSchemaFromJson":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema/json","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Document"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Document":{}}},"output":{"type":"structure","members":{"Arn":{}}}},"RemoveFacetFromObject":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/object/facets/delete","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","SchemaFacet","ObjectReference"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"SchemaFacet":{"shape":"S3"},"ObjectReference":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/tags/add","responseCode":200},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S79"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/tags/remove","responseCode":200},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateFacet":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/facet","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{},"AttributeUpdates":{"type":"list","member":{"type":"structure","members":{"Attribute":{"shape":"S47"},"Action":{}}}},"ObjectType":{}}},"output":{"type":"structure","members":{}}},"UpdateLinkAttributes":{"http":{"requestUri":"/amazonclouddirectory/2017-01-11/typedlink/attributes/update","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","TypedLinkSpecifier","AttributeUpdates"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"TypedLinkSpecifier":{"shape":"Sy"},"AttributeUpdates":{"shape":"S3g"}}},"output":{"type":"structure","members":{}}},"UpdateObjectAttributes":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/object/update","responseCode":200},"input":{"type":"structure","required":["DirectoryArn","ObjectReference","AttributeUpdates"],"members":{"DirectoryArn":{"location":"header","locationName":"x-amz-data-partition"},"ObjectReference":{"shape":"Sf"},"AttributeUpdates":{"shape":"S2z"}}},"output":{"type":"structure","members":{"ObjectIdentifier":{}}}},"UpdateSchema":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema/update","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{}}},"output":{"type":"structure","members":{"SchemaArn":{}}}},"UpdateTypedLinkFacet":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/typedlink/facet","responseCode":200},"input":{"type":"structure","required":["SchemaArn","Name","AttributeUpdates","IdentityAttributeOrder"],"members":{"SchemaArn":{"location":"header","locationName":"x-amz-data-partition"},"Name":{},"AttributeUpdates":{"type":"list","member":{"type":"structure","required":["Attribute","Action"],"members":{"Attribute":{"shape":"S4w"},"Action":{}}}},"IdentityAttributeOrder":{"shape":"S1a"}}},"output":{"type":"structure","members":{}}},"UpgradeAppliedSchema":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema/upgradeapplied","responseCode":200},"input":{"type":"structure","required":["PublishedSchemaArn","DirectoryArn"],"members":{"PublishedSchemaArn":{},"DirectoryArn":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpgradedSchemaArn":{},"DirectoryArn":{}}}},"UpgradePublishedSchema":{"http":{"method":"PUT","requestUri":"/amazonclouddirectory/2017-01-11/schema/upgradepublished","responseCode":200},"input":{"type":"structure","required":["DevelopmentSchemaArn","PublishedSchemaArn","MinorVersion"],"members":{"DevelopmentSchemaArn":{},"PublishedSchemaArn":{},"MinorVersion":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpgradedSchemaArn":{}}}}},"shapes":{"S3":{"type":"structure","members":{"SchemaArn":{},"FacetName":{}}},"S5":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{"shape":"S7"},"Value":{"shape":"S9"}}}},"S7":{"type":"structure","required":["SchemaArn","FacetName","Name"],"members":{"SchemaArn":{},"FacetName":{},"Name":{}}},"S9":{"type":"structure","members":{"StringValue":{},"BinaryValue":{"type":"blob"},"BooleanValue":{"type":"boolean"},"NumberValue":{},"DatetimeValue":{"type":"timestamp"}}},"Sf":{"type":"structure","members":{"Selector":{}}},"St":{"type":"structure","required":["SchemaArn","TypedLinkName"],"members":{"SchemaArn":{},"TypedLinkName":{}}},"Sv":{"type":"list","member":{"type":"structure","required":["AttributeName","Value"],"members":{"AttributeName":{},"Value":{"shape":"S9"}}}},"Sy":{"type":"structure","required":["TypedLinkFacet","SourceObjectReference","TargetObjectReference","IdentityAttributeValues"],"members":{"TypedLinkFacet":{"shape":"St"},"SourceObjectReference":{"shape":"Sf"},"TargetObjectReference":{"shape":"Sf"},"IdentityAttributeValues":{"shape":"Sv"}}},"S1a":{"type":"list","member":{}},"S1g":{"type":"list","member":{"type":"structure","members":{"AttributeKey":{"shape":"S7"},"Range":{"shape":"S1i"}}}},"S1i":{"type":"structure","required":["StartMode","EndMode"],"members":{"StartMode":{},"StartValue":{"shape":"S9"},"EndMode":{},"EndValue":{"shape":"S9"}}},"S1l":{"type":"list","member":{"type":"structure","required":["Range"],"members":{"AttributeName":{},"Range":{"shape":"S1i"}}}},"S1w":{"type":"map","key":{},"value":{}},"S1y":{"type":"list","member":{"shape":"S3"}},"S21":{"type":"list","member":{"type":"structure","members":{"IndexedAttributes":{"shape":"S5"},"ObjectIdentifier":{}}}},"S24":{"type":"list","member":{"type":"structure","members":{"Path":{},"ObjectIdentifiers":{"shape":"S27"}}}},"S27":{"type":"list","member":{}},"S2b":{"type":"list","member":{"type":"structure","members":{"Path":{},"Policies":{"type":"list","member":{"type":"structure","members":{"PolicyId":{},"ObjectIdentifier":{},"PolicyType":{}}}}}}},"S2i":{"type":"list","member":{"shape":"Sy"}},"S2m":{"type":"list","member":{"type":"structure","members":{"ObjectIdentifier":{},"LinkName":{}}}},"S2z":{"type":"list","member":{"type":"structure","members":{"ObjectAttributeKey":{"shape":"S7"},"ObjectAttributeAction":{"type":"structure","members":{"ObjectAttributeActionType":{},"ObjectAttributeUpdateValue":{"shape":"S9"}}}}}},"S39":{"type":"list","member":{"shape":"S7"}},"S3g":{"type":"list","member":{"type":"structure","members":{"AttributeKey":{"shape":"S7"},"AttributeAction":{"type":"structure","members":{"AttributeActionType":{},"AttributeUpdateValue":{"shape":"S9"}}}}}},"S46":{"type":"list","member":{"shape":"S47"}},"S47":{"type":"structure","required":["Name"],"members":{"Name":{},"AttributeDefinition":{"type":"structure","required":["Type"],"members":{"Type":{},"DefaultValue":{"shape":"S9"},"IsImmutable":{"type":"boolean"},"Rules":{"shape":"S4a"}}},"AttributeReference":{"type":"structure","required":["TargetFacetName","TargetAttributeName"],"members":{"TargetFacetName":{},"TargetAttributeName":{}}},"RequiredBehavior":{}}},"S4a":{"type":"map","key":{},"value":{"type":"structure","members":{"Type":{},"Parameters":{"type":"map","key":{},"value":{}}}}},"S4v":{"type":"list","member":{"shape":"S4w"}},"S4w":{"type":"structure","required":["Name","Type","RequiredBehavior"],"members":{"Name":{},"Type":{},"DefaultValue":{"shape":"S9"},"IsImmutable":{"type":"boolean"},"Rules":{"shape":"S4a"},"RequiredBehavior":{}}},"S5n":{"type":"structure","members":{"Name":{},"DirectoryArn":{},"State":{},"CreationDateTime":{"type":"timestamp"}}},"S66":{"type":"list","member":{}},"S79":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}}}}; + +/***/ }), + +/***/ 2641: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 3187: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - __webpack_require__(4923); - __webpack_require__(4906); - var PromisesDependency; - - /** - * The main configuration class used by all service objects to set - * the region, credentials, and other options for requests. - * - * By default, credentials and region settings are left unconfigured. - * This should be configured by the application before using any - * AWS service APIs. - * - * In order to set global configuration options, properties should - * be assigned to the global {AWS.config} object. - * - * @see AWS.config - * - * @!group General Configuration Options - * - * @!attribute credentials - * @return [AWS.Credentials] the AWS credentials to sign requests with. - * - * @!attribute region - * @example Set the global region setting to us-west-2 - * AWS.config.update({region: 'us-west-2'}); - * @return [AWS.Credentials] The region to send service requests to. - * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html - * A list of available endpoints for each AWS service - * - * @!attribute maxRetries - * @return [Integer] the maximum amount of retries to perform for a - * service request. By default this value is calculated by the specific - * service object that the request is being made to. - * - * @!attribute maxRedirects - * @return [Integer] the maximum amount of redirects to follow for a - * service request. Defaults to 10. - * - * @!attribute paramValidation - * @return [Boolean|map] whether input parameters should be validated against - * the operation description before sending the request. Defaults to true. - * Pass a map to enable any of the following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * - * @!attribute computeChecksums - * @return [Boolean] whether to compute checksums for payload bodies when - * the service accepts it (currently supported in S3 only). - * - * @!attribute convertResponseTypes - * @return [Boolean] whether types are converted when parsing response data. - * Currently only supported for JSON based services. Turning this off may - * improve performance on large response payloads. Defaults to `true`. - * - * @!attribute correctClockSkew - * @return [Boolean] whether to apply a clock skew correction and retry - * requests that fail because of an skewed client clock. Defaults to - * `false`. - * - * @!attribute sslEnabled - * @return [Boolean] whether SSL is enabled for requests - * - * @!attribute s3ForcePathStyle - * @return [Boolean] whether to force path style URLs for S3 objects - * - * @!attribute s3BucketEndpoint - * @note Setting this configuration option requires an `endpoint` to be - * provided explicitly to the service constructor. - * @return [Boolean] whether the provided endpoint addresses an individual - * bucket (false if it addresses the root API endpoint). - * - * @!attribute s3DisableBodySigning - * @return [Boolean] whether to disable S3 body signing when using signature version `v4`. - * Body signing can only be disabled when using https. Defaults to `true`. - * - * @!attribute s3UsEast1RegionalEndpoint - * @return ['legacy'|'regional'] when region is set to 'us-east-1', whether to send s3 - * request to global endpoints or 'us-east-1' regional endpoints. This config is only - * applicable to S3 client; - * Defaults to 'legacy' - * @!attribute s3UseArnRegion - * @return [Boolean] whether to override the request region with the region inferred - * from requested resource's ARN. Only available for S3 buckets - * Defaults to `true` - * - * @!attribute useAccelerateEndpoint - * @note This configuration option is only compatible with S3 while accessing - * dns-compatible buckets. - * @return [Boolean] Whether to use the Accelerate endpoint with the S3 service. - * Defaults to `false`. - * - * @!attribute retryDelayOptions - * @example Set the base retry delay for all services to 300 ms - * AWS.config.update({retryDelayOptions: {base: 300}}); - * // Delays with maxRetries = 3: 300, 600, 1200 - * @example Set a custom backoff function to provide delay values on retries - * AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount, err) { - * // returns delay in ms - * }}}); - * @return [map] A set of options to configure the retry delay on retryable errors. - * Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all services except - * DynamoDB, where it defaults to 50ms. - * - * * **customBackoff ** [function] — A custom function that accepts a - * retry count and error and returns the amount of time to delay in - * milliseconds. If the result is a non-zero negative value, no further - * retry attempts will be made. The `base` option will be ignored if this - * option is supplied. - * - * @!attribute httpOptions - * @return [map] A set of options to pass to the low-level HTTP request. - * Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only supported in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — Sets the socket to timeout after timeout - * milliseconds of inactivity on the socket. Defaults to two minutes - * (120000) - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @!attribute logger - * @return [#write,#log] an object that responds to .write() (like a stream) - * or .log() (like the console object) in order to log information about - * requests - * - * @!attribute systemClockOffset - * @return [Number] an offset value in milliseconds to apply to all signing - * times. Use this to compensate for clock skew when your system may be - * out of sync with the service time. Note that this configuration option - * can only be applied to the global `AWS.config` object and cannot be - * overridden in service-specific configuration. Defaults to 0 milliseconds. - * - * @!attribute signatureVersion - * @return [String] the signature version to sign requests with (overriding - * the API configuration). Possible values are: 'v2', 'v3', 'v4'. - * - * @!attribute signatureCache - * @return [Boolean] whether the signature to sign requests with (overriding - * the API configuration) is cached. Only applies to the signature version 'v4'. - * Defaults to `true`. - * - * @!attribute endpointDiscoveryEnabled - * @return [Boolean] whether to enable endpoint discovery for operations that - * allow optionally using an endpoint returned by the service. - * Defaults to 'false' - * - * @!attribute endpointCacheSize - * @return [Number] the size of the global cache storing endpoints from endpoint - * discovery operations. Once endpoint cache is created, updating this setting - * cannot change existing cache size. - * Defaults to 1000 - * - * @!attribute hostPrefixEnabled - * @return [Boolean] whether to marshal request parameters to the prefix of - * hostname. Defaults to `true`. - * - * @!attribute stsRegionalEndpoints - * @return ['legacy'|'regional'] whether to send sts request to global endpoints or - * regional endpoints. - * Defaults to 'legacy' - */ - AWS.Config = AWS.util.inherit({ - /** - * @!endgroup - */ - - /** - * Creates a new configuration object. This is the object that passes - * option data along to service requests, including credentials, security, - * region information, and some service specific settings. - * - * @example Creating a new configuration object with credentials and region - * var config = new AWS.Config({ - * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2' - * }); - * @option options accessKeyId [String] your AWS access key ID. - * @option options secretAccessKey [String] your AWS secret access key. - * @option options sessionToken [AWS.Credentials] the optional AWS - * session token to sign requests with. - * @option options credentials [AWS.Credentials] the AWS credentials - * to sign requests with. You can either specify this object, or - * specify the accessKeyId and secretAccessKey options directly. - * @option options credentialProvider [AWS.CredentialProviderChain] the - * provider chain used to resolve credentials if no static `credentials` - * property is set. - * @option options region [String] the region to send service requests to. - * See {region} for more information. - * @option options maxRetries [Integer] the maximum amount of retries to - * attempt with a request. See {maxRetries} for more information. - * @option options maxRedirects [Integer] the maximum amount of redirects to - * follow with a request. See {maxRedirects} for more information. - * @option options sslEnabled [Boolean] whether to enable SSL for - * requests. - * @option options paramValidation [Boolean|map] whether input parameters - * should be validated against the operation description before sending - * the request. Defaults to true. Pass a map to enable any of the - * following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * @option options computeChecksums [Boolean] whether to compute checksums - * for payload bodies when the service accepts it (currently supported - * in S3 only) - * @option options convertResponseTypes [Boolean] whether types are converted - * when parsing response data. Currently only supported for JSON based - * services. Turning this off may improve performance on large response - * payloads. Defaults to `true`. - * @option options correctClockSkew [Boolean] whether to apply a clock skew - * correction and retry requests that fail because of an skewed client - * clock. Defaults to `false`. - * @option options s3ForcePathStyle [Boolean] whether to force path - * style URLs for S3 objects. - * @option options s3BucketEndpoint [Boolean] whether the provided endpoint - * addresses an individual bucket (false if it addresses the root API - * endpoint). Note that setting this configuration option requires an - * `endpoint` to be provided explicitly to the service constructor. - * @option options s3DisableBodySigning [Boolean] whether S3 body signing - * should be disabled when using signature version `v4`. Body signing - * can only be disabled when using https. Defaults to `true`. - * @option options s3UsEast1RegionalEndpoint ['legacy'|'regional'] when region - * is set to 'us-east-1', whether to send s3 request to global endpoints or - * 'us-east-1' regional endpoints. This config is only applicable to S3 client. - * Defaults to `legacy` - * @option options s3UseArnRegion [Boolean] whether to override the request region - * with the region inferred from requested resource's ARN. Only available for S3 buckets - * Defaults to `true` - * - * @option options retryDelayOptions [map] A set of options to configure - * the retry delay on retryable errors. Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all - * services except DynamoDB, where it defaults to 50ms. - * * **customBackoff ** [function] — A custom function that accepts a - * retry count and error and returns the amount of time to delay in - * milliseconds. If the result is a non-zero negative value, no further - * retry attempts will be made. The `base` option will be ignored if this - * option is supplied. - * @option options httpOptions [map] A set of options to pass to the low-level - * HTTP request. Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only available in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — Sets the socket to timeout after timeout - * milliseconds of inactivity on the socket. Defaults to two minutes - * (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @option options apiVersion [String, Date] a String in YYYY-MM-DD format - * (or a date) that represents the latest possible API version that can be - * used in all services (unless overridden by `apiVersions`). Specify - * 'latest' to use the latest possible version. - * @option options apiVersions [map] a map of service - * identifiers (the lowercase service class name) with the API version to - * use when instantiating a service. Specify 'latest' for each individual - * that can use the latest available version. - * @option options logger [#write,#log] an object that responds to .write() - * (like a stream) or .log() (like the console object) in order to log - * information about requests - * @option options systemClockOffset [Number] an offset value in milliseconds - * to apply to all signing times. Use this to compensate for clock skew - * when your system may be out of sync with the service time. Note that - * this configuration option can only be applied to the global `AWS.config` - * object and cannot be overridden in service-specific configuration. - * Defaults to 0 milliseconds. - * @option options signatureVersion [String] the signature version to sign - * requests with (overriding the API configuration). Possible values are: - * 'v2', 'v3', 'v4'. - * @option options signatureCache [Boolean] whether the signature to sign - * requests with (overriding the API configuration) is cached. Only applies - * to the signature version 'v4'. Defaults to `true`. - * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32 - * checksum of HTTP response bodies returned by DynamoDB. Default: `true`. - * @option options useAccelerateEndpoint [Boolean] Whether to use the - * S3 Transfer Acceleration endpoint with the S3 service. Default: `false`. - * @option options clientSideMonitoring [Boolean] whether to collect and - * publish this client's performance metrics of all its API requests. - * @option options endpointDiscoveryEnabled [Boolean] whether to enable endpoint - * discovery for operations that allow optionally using an endpoint returned by - * the service. - * Defaults to 'false' - * @option options endpointCacheSize [Number] the size of the global cache storing - * endpoints from endpoint discovery operations. Once endpoint cache is created, - * updating this setting cannot change existing cache size. - * Defaults to 1000 - * @option options hostPrefixEnabled [Boolean] whether to marshal request - * parameters to the prefix of hostname. - * Defaults to `true`. - * @option options stsRegionalEndpoints ['legacy'|'regional'] whether to send sts request - * to global endpoints or regional endpoints. - * Defaults to 'legacy'. - */ - constructor: function Config(options) { - if (options === undefined) options = {}; - options = this.extractCredentials(options); - - AWS.util.each.call(this, this.keys, function (key, value) { - this.set(key, options[key], value); - }); - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /** - * @!group Managing Credentials - */ - - /** - * Loads credentials from the configuration object. This is used internally - * by the SDK to ensure that refreshable {Credentials} objects are properly - * refreshed and loaded when sending a request. If you want to ensure that - * your credentials are loaded prior to a request, you can use this method - * directly to provide accurate credential data stored in the object. - * - * @note If you configure the SDK with static or environment credentials, - * the credential data should already be present in {credentials} attribute. - * This method is primarily necessary to load credentials from asynchronous - * sources, or sources that can refresh credentials periodically. - * @example Getting your access key - * AWS.config.getCredentials(function(err) { - * if (err) console.log(err.stack); // credentials not loaded - * else console.log("Access Key:", AWS.config.credentials.accessKeyId); - * }) - * @callback callback function(err) - * Called when the {credentials} have been properly set on the configuration - * object. - * - * @param err [Error] if this is set, credentials were not successfully - * loaded and this error provides information why. - * @see credentials - * @see Credentials - */ - getCredentials: function getCredentials(callback) { - var self = this; - - function finish(err) { - callback(err, err ? null : self.credentials); - } +apiLoader.services['kinesisvideosignalingchannels'] = {}; +AWS.KinesisVideoSignalingChannels = Service.defineService('kinesisvideosignalingchannels', ['2019-12-04']); +Object.defineProperty(apiLoader.services['kinesisvideosignalingchannels'], '2019-12-04', { + get: function get() { + var model = __webpack_require__(1713); + model.paginators = __webpack_require__(1529).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function credError(msg, err) { - return new AWS.util.error(err || new Error(), { - code: "CredentialsError", - message: msg, - name: "CredentialsError", - }); - } +module.exports = AWS.KinesisVideoSignalingChannels; - function getAsyncCredentials() { - self.credentials.get(function (err) { - if (err) { - var msg = - "Could not load credentials from " + - self.credentials.constructor.name; - err = credError(msg, err); - } - finish(err); - }); - } - function getStaticCredentials() { - var err = null; - if ( - !self.credentials.accessKeyId || - !self.credentials.secretAccessKey - ) { - err = credError("Missing credentials"); - } - finish(err); - } +/***/ }), - if (self.credentials) { - if (typeof self.credentials.get === "function") { - getAsyncCredentials(); - } else { - // static credentials - getStaticCredentials(); - } - } else if (self.credentialProvider) { - self.credentialProvider.resolve(function (err, creds) { - if (err) { - err = credError( - "Could not load credentials from any providers", - err - ); - } - self.credentials = creds; - finish(err); - }); - } else { - finish(credError("No credentials to load")); - } - }, +/***/ 2655: +/***/ (function(module) { - /** - * @!group Loading and Setting Configuration Options - */ - - /** - * @overload update(options, allowUnknownKeys = false) - * Updates the current configuration object with new options. - * - * @example Update maxRetries property of a configuration object - * config.update({maxRetries: 10}); - * @param [Object] options a map of option keys and values. - * @param [Boolean] allowUnknownKeys whether unknown keys can be set on - * the configuration object. Defaults to `false`. - * @see constructor - */ - update: function update(options, allowUnknownKeys) { - allowUnknownKeys = allowUnknownKeys || false; - options = this.extractCredentials(options); - AWS.util.each.call(this, options, function (key, value) { - if ( - allowUnknownKeys || - Object.prototype.hasOwnProperty.call(this.keys, key) || - AWS.Service.hasService(key) - ) { - this.set(key, value); - } - }); - }, +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":{}}}},"CreateCampaign":{"input":{"type":"structure","required":["name","solutionVersionArn","minProvisionedTPS"],"members":{"name":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Si"}}},"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},"CreateDatasetGroup":{"input":{"type":"structure","required":["name"],"members":{"name":{},"roleArn":{},"kmsKeyArn":{}}},"output":{"type":"structure","members":{"datasetGroupArn":{}}}},"CreateDatasetImportJob":{"input":{"type":"structure","required":["jobName","datasetArn","dataSource","roleArn"],"members":{"jobName":{},"datasetArn":{},"dataSource":{"shape":"Sq"},"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":"Sw"}}},"output":{"type":"structure","members":{"filterArn":{}}}},"CreateSchema":{"input":{"type":"structure","required":["name","schema"],"members":{"name":{},"schema":{}}},"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":"S15"}}},"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":{}}}},"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":"S1p"},"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},"DescribeCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{}}},"output":{"type":"structure","members":{"campaign":{"type":"structure","members":{"name":{},"campaignArn":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Si"},"status":{},"failureReason":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"latestCampaignUpdate":{"type":"structure","members":{"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Si"},"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},"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":{}}}}},"idempotent":true},"DescribeDatasetImportJob":{"input":{"type":"structure","required":["datasetImportJobArn"],"members":{"datasetImportJobArn":{}}},"output":{"type":"structure","members":{"datasetImportJob":{"type":"structure","members":{"jobName":{},"datasetImportJobArn":{},"datasetArn":{},"dataSource":{"shape":"Sq"},"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":"Sw"},"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},"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"}}}}},"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":"S15"},"autoMLResult":{"type":"structure","members":{"bestRecipeArn":{}}},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"latestSolutionVersion":{"shape":"S3r"}}}}},"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":"S15"},"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},"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},"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":{}}}},"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"}}},"output":{"type":"structure","members":{"recipes":{"type":"list","member":{"type":"structure","members":{"name":{},"recipeArn":{},"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"}}}},"nextToken":{}}},"idempotent":true},"ListSolutionVersions":{"input":{"type":"structure","members":{"solutionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"solutionVersions":{"type":"list","member":{"shape":"S3r"}},"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},"UpdateCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Si"}}},"output":{"type":"structure","members":{"campaignArn":{}}},"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":{}},"Si":{"type":"structure","members":{"itemExplorationConfig":{"shape":"Sc"}}},"Sq":{"type":"structure","members":{"dataLocation":{}}},"Sw":{"type":"string","sensitive":true},"S15":{"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":"S1p"}}}}}}}},"algorithmHyperParameters":{"shape":"Sc"},"featureTransformationParameters":{"type":"map","key":{},"value":{}},"autoMLConfig":{"type":"structure","members":{"metricName":{},"recipeList":{"type":"list","member":{}}}}}},"S1p":{"type":"list","member":{}},"S3r":{"type":"structure","members":{"solutionVersionArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}}}; - /** - * Loads configuration data from a JSON file into this config object. - * @note Loading configuration will reset all existing configuration - * on the object. - * @!macro nobrowser - * @param path [String] the path relative to your process's current - * working directory to load configuration from. - * @return [AWS.Config] the same configuration object - */ - loadFromPath: function loadFromPath(path) { - this.clear(); - - var options = JSON.parse(AWS.util.readFileSync(path)); - var fileSystemCreds = new AWS.FileSystemCredentials(path); - var chain = new AWS.CredentialProviderChain(); - chain.providers.unshift(fileSystemCreds); - chain.resolve(function (err, creds) { - if (err) throw err; - else options.credentials = creds; - }); +/***/ }), - this.constructor(options); +/***/ 2659: +/***/ (function(module) { - return this; - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-10-01","endpointPrefix":"appmesh","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS App Mesh","serviceId":"App Mesh","signatureVersion":"v4","signingName":"appmesh","uid":"appmesh-2018-10-01"},"operations":{"CreateMesh":{"http":{"method":"PUT","requestUri":"/meshes","responseCode":200},"input":{"type":"structure","required":["meshName"],"members":{"clientToken":{"idempotencyToken":true},"meshName":{}}},"output":{"type":"structure","members":{"mesh":{"shape":"S5"}},"payload":"mesh"},"idempotent":true},"CreateRoute":{"http":{"method":"PUT","requestUri":"/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes","responseCode":200},"input":{"type":"structure","required":["meshName","routeName","spec","virtualRouterName"],"members":{"clientToken":{"idempotencyToken":true},"meshName":{"location":"uri","locationName":"meshName"},"routeName":{},"spec":{"shape":"Sd"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","members":{"route":{"shape":"Sl"}},"payload":"route"},"idempotent":true},"CreateVirtualNode":{"http":{"method":"PUT","requestUri":"/meshes/{meshName}/virtualNodes","responseCode":200},"input":{"type":"structure","required":["meshName","spec","virtualNodeName"],"members":{"clientToken":{"idempotencyToken":true},"meshName":{"location":"uri","locationName":"meshName"},"spec":{"shape":"Sp"},"virtualNodeName":{}}},"output":{"type":"structure","members":{"virtualNode":{"shape":"S14"}},"payload":"virtualNode"},"idempotent":true},"CreateVirtualRouter":{"http":{"method":"PUT","requestUri":"/meshes/{meshName}/virtualRouters","responseCode":200},"input":{"type":"structure","required":["meshName","spec","virtualRouterName"],"members":{"clientToken":{"idempotencyToken":true},"meshName":{"location":"uri","locationName":"meshName"},"spec":{"shape":"S18"},"virtualRouterName":{}}},"output":{"type":"structure","members":{"virtualRouter":{"shape":"S1b"}},"payload":"virtualRouter"},"idempotent":true},"DeleteMesh":{"http":{"method":"DELETE","requestUri":"/meshes/{meshName}","responseCode":200},"input":{"type":"structure","required":["meshName"],"members":{"meshName":{"location":"uri","locationName":"meshName"}}},"output":{"type":"structure","members":{"mesh":{"shape":"S5"}},"payload":"mesh"},"idempotent":true},"DeleteRoute":{"http":{"method":"DELETE","requestUri":"/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}","responseCode":200},"input":{"type":"structure","required":["meshName","routeName","virtualRouterName"],"members":{"meshName":{"location":"uri","locationName":"meshName"},"routeName":{"location":"uri","locationName":"routeName"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","members":{"route":{"shape":"Sl"}},"payload":"route"},"idempotent":true},"DeleteVirtualNode":{"http":{"method":"DELETE","requestUri":"/meshes/{meshName}/virtualNodes/{virtualNodeName}","responseCode":200},"input":{"type":"structure","required":["meshName","virtualNodeName"],"members":{"meshName":{"location":"uri","locationName":"meshName"},"virtualNodeName":{"location":"uri","locationName":"virtualNodeName"}}},"output":{"type":"structure","members":{"virtualNode":{"shape":"S14"}},"payload":"virtualNode"},"idempotent":true},"DeleteVirtualRouter":{"http":{"method":"DELETE","requestUri":"/meshes/{meshName}/virtualRouters/{virtualRouterName}","responseCode":200},"input":{"type":"structure","required":["meshName","virtualRouterName"],"members":{"meshName":{"location":"uri","locationName":"meshName"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","members":{"virtualRouter":{"shape":"S1b"}},"payload":"virtualRouter"},"idempotent":true},"DescribeMesh":{"http":{"method":"GET","requestUri":"/meshes/{meshName}","responseCode":200},"input":{"type":"structure","required":["meshName"],"members":{"meshName":{"location":"uri","locationName":"meshName"}}},"output":{"type":"structure","members":{"mesh":{"shape":"S5"}},"payload":"mesh"}},"DescribeRoute":{"http":{"method":"GET","requestUri":"/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}","responseCode":200},"input":{"type":"structure","required":["meshName","routeName","virtualRouterName"],"members":{"meshName":{"location":"uri","locationName":"meshName"},"routeName":{"location":"uri","locationName":"routeName"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","members":{"route":{"shape":"Sl"}},"payload":"route"}},"DescribeVirtualNode":{"http":{"method":"GET","requestUri":"/meshes/{meshName}/virtualNodes/{virtualNodeName}","responseCode":200},"input":{"type":"structure","required":["meshName","virtualNodeName"],"members":{"meshName":{"location":"uri","locationName":"meshName"},"virtualNodeName":{"location":"uri","locationName":"virtualNodeName"}}},"output":{"type":"structure","members":{"virtualNode":{"shape":"S14"}},"payload":"virtualNode"}},"DescribeVirtualRouter":{"http":{"method":"GET","requestUri":"/meshes/{meshName}/virtualRouters/{virtualRouterName}","responseCode":200},"input":{"type":"structure","required":["meshName","virtualRouterName"],"members":{"meshName":{"location":"uri","locationName":"meshName"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","members":{"virtualRouter":{"shape":"S1b"}},"payload":"virtualRouter"}},"ListMeshes":{"http":{"method":"GET","requestUri":"/meshes","responseCode":200},"input":{"type":"structure","members":{"limit":{"location":"querystring","locationName":"limit","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["meshes"],"members":{"meshes":{"type":"list","member":{"type":"structure","members":{"arn":{},"meshName":{}}}},"nextToken":{}}}},"ListRoutes":{"http":{"method":"GET","requestUri":"/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes","responseCode":200},"input":{"type":"structure","required":["meshName","virtualRouterName"],"members":{"limit":{"location":"querystring","locationName":"limit","type":"integer"},"meshName":{"location":"uri","locationName":"meshName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","required":["routes"],"members":{"nextToken":{},"routes":{"type":"list","member":{"type":"structure","members":{"arn":{},"meshName":{},"routeName":{},"virtualRouterName":{}}}}}}},"ListVirtualNodes":{"http":{"method":"GET","requestUri":"/meshes/{meshName}/virtualNodes","responseCode":200},"input":{"type":"structure","required":["meshName"],"members":{"limit":{"location":"querystring","locationName":"limit","type":"integer"},"meshName":{"location":"uri","locationName":"meshName"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["virtualNodes"],"members":{"nextToken":{},"virtualNodes":{"type":"list","member":{"type":"structure","members":{"arn":{},"meshName":{},"virtualNodeName":{}}}}}}},"ListVirtualRouters":{"http":{"method":"GET","requestUri":"/meshes/{meshName}/virtualRouters","responseCode":200},"input":{"type":"structure","required":["meshName"],"members":{"limit":{"location":"querystring","locationName":"limit","type":"integer"},"meshName":{"location":"uri","locationName":"meshName"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["virtualRouters"],"members":{"nextToken":{},"virtualRouters":{"type":"list","member":{"type":"structure","members":{"arn":{},"meshName":{},"virtualRouterName":{}}}}}}},"UpdateRoute":{"http":{"method":"PUT","requestUri":"/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}","responseCode":200},"input":{"type":"structure","required":["meshName","routeName","spec","virtualRouterName"],"members":{"clientToken":{"idempotencyToken":true},"meshName":{"location":"uri","locationName":"meshName"},"routeName":{"location":"uri","locationName":"routeName"},"spec":{"shape":"Sd"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","members":{"route":{"shape":"Sl"}},"payload":"route"},"idempotent":true},"UpdateVirtualNode":{"http":{"method":"PUT","requestUri":"/meshes/{meshName}/virtualNodes/{virtualNodeName}","responseCode":200},"input":{"type":"structure","required":["meshName","spec","virtualNodeName"],"members":{"clientToken":{"idempotencyToken":true},"meshName":{"location":"uri","locationName":"meshName"},"spec":{"shape":"Sp"},"virtualNodeName":{"location":"uri","locationName":"virtualNodeName"}}},"output":{"type":"structure","members":{"virtualNode":{"shape":"S14"}},"payload":"virtualNode"},"idempotent":true},"UpdateVirtualRouter":{"http":{"method":"PUT","requestUri":"/meshes/{meshName}/virtualRouters/{virtualRouterName}","responseCode":200},"input":{"type":"structure","required":["meshName","spec","virtualRouterName"],"members":{"clientToken":{"idempotencyToken":true},"meshName":{"location":"uri","locationName":"meshName"},"spec":{"shape":"S18"},"virtualRouterName":{"location":"uri","locationName":"virtualRouterName"}}},"output":{"type":"structure","members":{"virtualRouter":{"shape":"S1b"}},"payload":"virtualRouter"},"idempotent":true}},"shapes":{"S5":{"type":"structure","required":["meshName","metadata"],"members":{"meshName":{},"metadata":{"shape":"S6"},"status":{"type":"structure","members":{"status":{}}}}},"S6":{"type":"structure","members":{"arn":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"uid":{},"version":{"type":"long"}}},"Sd":{"type":"structure","members":{"httpRoute":{"type":"structure","members":{"action":{"type":"structure","members":{"weightedTargets":{"type":"list","member":{"type":"structure","members":{"virtualNode":{},"weight":{"type":"integer"}}}}}},"match":{"type":"structure","members":{"prefix":{}}}}}}},"Sl":{"type":"structure","required":["meshName","routeName","virtualRouterName"],"members":{"meshName":{},"metadata":{"shape":"S6"},"routeName":{},"spec":{"shape":"Sd"},"status":{"type":"structure","members":{"status":{}}},"virtualRouterName":{}}},"Sp":{"type":"structure","members":{"backends":{"type":"list","member":{}},"listeners":{"type":"list","member":{"type":"structure","members":{"healthCheck":{"type":"structure","required":["healthyThreshold","intervalMillis","protocol","timeoutMillis","unhealthyThreshold"],"members":{"healthyThreshold":{"type":"integer"},"intervalMillis":{"type":"long"},"path":{},"port":{"type":"integer"},"protocol":{},"timeoutMillis":{"type":"long"},"unhealthyThreshold":{"type":"integer"}}},"portMapping":{"type":"structure","members":{"port":{"type":"integer"},"protocol":{}}}}}},"serviceDiscovery":{"type":"structure","members":{"dns":{"type":"structure","members":{"serviceName":{}}}}}}},"S14":{"type":"structure","required":["meshName","virtualNodeName"],"members":{"meshName":{},"metadata":{"shape":"S6"},"spec":{"shape":"Sp"},"status":{"type":"structure","members":{"status":{}}},"virtualNodeName":{}}},"S18":{"type":"structure","members":{"serviceNames":{"type":"list","member":{}}}},"S1b":{"type":"structure","required":["meshName","virtualRouterName"],"members":{"meshName":{},"metadata":{"shape":"S6"},"spec":{"shape":"S18"},"status":{"type":"structure","members":{"status":{}}},"virtualRouterName":{}}}}}; - /** - * Clears configuration data on this object - * - * @api private - */ - clear: function clear() { - /*jshint forin:false */ - AWS.util.each.call(this, this.keys, function (key) { - delete this[key]; - }); +/***/ }), - // reset credential provider - this.set("credentials", undefined); - this.set("credentialProvider", undefined); - }, +/***/ 2662: +/***/ (function(module) { - /** - * Sets a property on the configuration object, allowing for a - * default value - * @api private - */ - set: function set(property, value, defaultValue) { - if (value === undefined) { - if (defaultValue === undefined) { - defaultValue = this.keys[property]; - } - if (typeof defaultValue === "function") { - this[property] = defaultValue.call(this); - } else { - this[property] = defaultValue; - } - } else if (property === "httpOptions" && this[property]) { - // deep merge httpOptions - this[property] = AWS.util.merge(this[property], value); - } else { - this[property] = value; - } - }, +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":{}}}},"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":"S6"}}},"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":"So"}}}},"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":"St"}}}},"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":{}}}},"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":"S18"}}},"output":{"type":"structure","members":{"ContactFlowId":{},"ContactFlowArn":{}}}},"CreateInstance":{"http":{"method":"PUT","requestUri":"/instance"},"input":{"type":"structure","required":["IdentityManagementType","InboundCallsEnabled","OutboundCallsEnabled"],"members":{"ClientToken":{},"IdentityManagementType":{},"InstanceAlias":{"shape":"S1g"},"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","SourceApplicationUrl","SourceApplicationName","SourceType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationType":{},"IntegrationArn":{},"SourceApplicationUrl":{},"SourceApplicationName":{},"SourceType":{}}},"output":{"type":"structure","members":{"IntegrationAssociationId":{},"IntegrationAssociationArn":{}}}},"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":"St"},"MediaConcurrencies":{"shape":"S1v"},"Tags":{"shape":"S18"}}},"output":{"type":"structure","members":{"RoutingProfileArn":{},"RoutingProfileId":{}}}},"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":{}}},"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":"S26"},"PhoneConfig":{"shape":"S2a"},"DirectoryUserId":{},"SecurityProfileIds":{"shape":"S2g"},"RoutingProfileId":{},"HierarchyGroupId":{},"InstanceId":{"location":"uri","locationName":"InstanceId"},"Tags":{"shape":"S18"}}},"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":{}}}},"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"}}}},"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"}}}},"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":{},"Description":{},"Content":{},"Tags":{"shape":"S18"}}}}}},"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":"S1g"},"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":"S36"}}}},"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":"S6"}}}},"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":"S1v"},"DefaultOutboundQueueId":{},"Tags":{"shape":"S18"}}}}}},"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":"S26"},"PhoneConfig":{"shape":"S2a"},"DirectoryUserId":{},"SecurityProfileIds":{"shape":"S2g"},"RoutingProfileId":{},"HierarchyGroupId":{},"Tags":{"shape":"S18"}}}}}},"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":"S3l"},"LevelTwo":{"shape":"S3l"},"LevelThree":{"shape":"S3l"},"LevelFour":{"shape":"S3l"},"LevelFive":{"shape":"S3l"}}}}}}}},"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":"S3p"},"LevelTwo":{"shape":"S3p"},"LevelThree":{"shape":"S3p"},"LevelFour":{"shape":"S3p"},"LevelFive":{"shape":"S3p"}}}}}},"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"}}}},"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"}}}},"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":"Sv"}}}}},"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":"S41"}}}},"GetCurrentMetricData":{"http":{"requestUri":"/metrics/current/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Filters","CurrentMetrics"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Filters":{"shape":"S45"},"Groupings":{"shape":"S48"},"CurrentMetrics":{"type":"list","member":{"shape":"S4b"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MetricResults":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"S4j"},"Collections":{"type":"list","member":{"type":"structure","members":{"Metric":{"shape":"S4b"},"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":"S4s"},"AccessTokenExpiration":{"type":"timestamp"},"RefreshToken":{"shape":"S4s"},"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":"S45"},"Groupings":{"shape":"S48"},"HistoricalMetrics":{"type":"list","member":{"shape":"S4v"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MetricResults":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"S4j"},"Collections":{"type":"list","member":{"type":"structure","members":{"Metric":{"shape":"S4v"},"Value":{"type":"double"}}}}}}}}}},"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":{}}}},"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":{}}}},"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":"S36"}},"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":"S6"}},"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":"S1g"},"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"},"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":"So"}},"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":{}}}},"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":{}}}},"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":{}}}},"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":"S18"}}}},"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":"S3l"}},"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":"S41"},"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":{}}},"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":"S41"}}},"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":"S41"},"Name":{},"References":{"type":"map","key":{},"value":{"type":"structure","required":["Value","Type"],"members":{"Value":{},"Type":{}}}},"Description":{},"ClientToken":{"idempotencyToken":true}}},"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":{}}},"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":"S18"}}}},"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":{}}}}},"UpdateContactAttributes":{"http":{"requestUri":"/contact/attributes"},"input":{"type":"structure","required":["InitialContactId","InstanceId","Attributes"],"members":{"InitialContactId":{},"InstanceId":{},"Attributes":{"shape":"S41"}}},"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":{}}}},"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":{}}}},"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":"S6"}}}},"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":"S1v"}}}},"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":"St"}}}},"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":"S92"},"LevelTwo":{"shape":"S92"},"LevelThree":{"shape":"S92"},"LevelFour":{"shape":"S92"},"LevelFive":{"shape":"S92"}}},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserIdentityInfo":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/identity-info"},"input":{"type":"structure","required":["IdentityInfo","UserId","InstanceId"],"members":{"IdentityInfo":{"shape":"S26"},"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":"S2a"},"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":"S2g"},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}}},"shapes":{"S6":{"type":"structure","required":["StorageType"],"members":{"AssociationId":{},"StorageType":{},"S3Config":{"type":"structure","required":["BucketName","BucketPrefix"],"members":{"BucketName":{},"BucketPrefix":{},"EncryptionConfig":{"shape":"Sc"}}},"KinesisVideoStreamConfig":{"type":"structure","required":["Prefix","RetentionPeriodHours","EncryptionConfig"],"members":{"Prefix":{},"RetentionPeriodHours":{"type":"integer"},"EncryptionConfig":{"shape":"Sc"}}},"KinesisStreamConfig":{"type":"structure","required":["StreamArn"],"members":{"StreamArn":{}}},"KinesisFirehoseConfig":{"type":"structure","required":["FirehoseArn"],"members":{"FirehoseArn":{}}}}},"Sc":{"type":"structure","required":["EncryptionType","KeyId"],"members":{"EncryptionType":{},"KeyId":{}}},"So":{"type":"structure","members":{"Name":{},"LexRegion":{}}},"St":{"type":"list","member":{"type":"structure","required":["QueueReference","Priority","Delay"],"members":{"QueueReference":{"shape":"Sv"},"Priority":{"type":"integer"},"Delay":{"type":"integer"}}}},"Sv":{"type":"structure","required":["QueueId","Channel"],"members":{"QueueId":{},"Channel":{}}},"S18":{"type":"map","key":{},"value":{}},"S1g":{"type":"string","sensitive":true},"S1v":{"type":"list","member":{"type":"structure","required":["Channel","Concurrency"],"members":{"Channel":{},"Concurrency":{"type":"integer"}}}},"S26":{"type":"structure","members":{"FirstName":{},"LastName":{},"Email":{}}},"S2a":{"type":"structure","required":["PhoneType"],"members":{"PhoneType":{},"AutoAccept":{"type":"boolean"},"AfterContactWorkTimeLimit":{"type":"integer"},"DeskPhoneNumber":{}}},"S2g":{"type":"list","member":{}},"S36":{"type":"structure","members":{"AttributeType":{},"Value":{}}},"S3l":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}},"S3p":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}},"S41":{"type":"map","key":{},"value":{}},"S45":{"type":"structure","members":{"Queues":{"type":"list","member":{}},"Channels":{"type":"list","member":{}}}},"S48":{"type":"list","member":{}},"S4b":{"type":"structure","members":{"Name":{},"Unit":{}}},"S4j":{"type":"structure","members":{"Queue":{"type":"structure","members":{"Id":{},"Arn":{}}},"Channel":{}}},"S4s":{"type":"string","sensitive":true},"S4v":{"type":"structure","members":{"Name":{},"Threshold":{"type":"structure","members":{"Comparison":{},"ThresholdValue":{"type":"double"}}},"Statistic":{},"Unit":{}}},"S92":{"type":"structure","required":["Name"],"members":{"Name":{}}}}}; - /** - * All of the keys with their default values. - * - * @constant - * @api private - */ - keys: { - credentials: null, - credentialProvider: null, - region: null, - logger: null, - apiVersions: {}, - apiVersion: null, - endpoint: undefined, - httpOptions: { - timeout: 120000, - }, - maxRetries: undefined, - maxRedirects: 10, - paramValidation: true, - sslEnabled: true, - s3ForcePathStyle: false, - s3BucketEndpoint: false, - s3DisableBodySigning: true, - s3UsEast1RegionalEndpoint: "legacy", - s3UseArnRegion: undefined, - computeChecksums: true, - convertResponseTypes: true, - correctClockSkew: false, - customUserAgent: null, - dynamoDbCrc32: true, - systemClockOffset: 0, - signatureVersion: null, - signatureCache: true, - retryDelayOptions: {}, - useAccelerateEndpoint: false, - clientSideMonitoring: false, - endpointDiscoveryEnabled: false, - endpointCacheSize: 1000, - hostPrefixEnabled: true, - stsRegionalEndpoints: "legacy", - }, - - /** - * Extracts accessKeyId, secretAccessKey and sessionToken - * from a configuration hash. - * - * @api private - */ - extractCredentials: function extractCredentials(options) { - if (options.accessKeyId && options.secretAccessKey) { - options = AWS.util.copy(options); - options.credentials = new AWS.Credentials(options); - } - return options; - }, - - /** - * Sets the promise dependency the SDK will use wherever Promises are returned. - * Passing `null` will force the SDK to use native Promises if they are available. - * If native Promises are not available, passing `null` will have no effect. - * @param [Constructor] dep A reference to a Promise constructor - */ - setPromisesDependency: function setPromisesDependency(dep) { - PromisesDependency = dep; - // if null was passed in, we should try to use native promises - if (dep === null && typeof Promise === "function") { - PromisesDependency = Promise; - } - var constructors = [ - AWS.Request, - AWS.Credentials, - AWS.CredentialProviderChain, - ]; - if (AWS.S3) { - constructors.push(AWS.S3); - if (AWS.S3.ManagedUpload) { - constructors.push(AWS.S3.ManagedUpload); - } - } - AWS.util.addPromises(constructors, PromisesDependency); - }, +/***/ }), - /** - * Gets the promise dependency set by `AWS.config.setPromisesDependency`. - */ - getPromisesDependency: function getPromisesDependency() { - return PromisesDependency; - }, - }); +/***/ 2667: +/***/ (function(module) { - /** - * @return [AWS.Config] The global configuration object singleton instance - * @readonly - * @see AWS.Config - */ - AWS.config = new AWS.Config(); +module.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":{}}}}; - /***/ - }, +/***/ }), - /***/ 3206: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["route53domains"] = {}; - AWS.Route53Domains = Service.defineService("route53domains", [ - "2014-05-15", - ]); - Object.defineProperty( - apiLoader.services["route53domains"], - "2014-05-15", - { - get: function get() { - var model = __webpack_require__(7591); - model.paginators = __webpack_require__(9983).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/***/ 2673: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.Route53Domains; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['servicecatalog'] = {}; +AWS.ServiceCatalog = Service.defineService('servicecatalog', ['2015-12-10']); +Object.defineProperty(apiLoader.services['servicecatalog'], '2015-12-10', { + get: function get() { + var model = __webpack_require__(4008); + model.paginators = __webpack_require__(1656).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 3209: /***/ function (module) { - module.exports = { pagination: {} }; +module.exports = AWS.ServiceCatalog; - /***/ - }, - /***/ 3220: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["managedblockchain"] = {}; - AWS.ManagedBlockchain = Service.defineService("managedblockchain", [ - "2018-09-24", - ]); - Object.defineProperty( - apiLoader.services["managedblockchain"], - "2018-09-24", - { - get: function get() { - var model = __webpack_require__(3762); - model.paginators = __webpack_require__(2816).pagination; - return model; - }, - enumerable: true, - configurable: true, - } +/***/ }), + +/***/ 2674: +/***/ (function(module, __unusedexports, __webpack_require__) { + +module.exports = authenticate; + +const { Deprecation } = __webpack_require__(7692); +const once = __webpack_require__(6049); + +const deprecateAuthenticate = once((log, deprecation) => log.warn(deprecation)); + +function authenticate(state, options) { + deprecateAuthenticate( + state.octokit.log, + new Deprecation( + '[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.' + ) + ); + + if (!options) { + state.auth = false; + return; + } + + switch (options.type) { + case "basic": + if (!options.username || !options.password) { + throw new Error( + "Basic authentication requires both a username and password to be set" + ); + } + break; + + case "oauth": + if (!options.token && !(options.key && options.secret)) { + throw new Error( + "OAuth2 authentication requires a token or key & secret to be set" + ); + } + break; + + case "token": + case "app": + if (!options.token) { + throw new Error("Token authentication requires a token to be set"); + } + break; + + default: + throw new Error( + "Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'" ); + } - module.exports = AWS.ManagedBlockchain; + state.auth = options; +} - /***/ - }, - /***/ 3222: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["iotevents"] = {}; - AWS.IoTEvents = Service.defineService("iotevents", ["2018-07-27"]); - Object.defineProperty(apiLoader.services["iotevents"], "2018-07-27", { - get: function get() { - var model = __webpack_require__(7430); - model.paginators = __webpack_require__(3658).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 2678: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { - module.exports = AWS.IoTEvents; +var AWS = __webpack_require__(395); - /***/ - }, +AWS.util.hideProperties(AWS, ['SimpleWorkflow']); - /***/ 3223: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/** + * @constant + * @readonly + * Backwards compatibility for access to the {AWS.SWF} service class. + */ +AWS.SimpleWorkflow = AWS.SWF; - apiLoader.services["textract"] = {}; - AWS.Textract = Service.defineService("textract", ["2018-06-27"]); - Object.defineProperty(apiLoader.services["textract"], "2018-06-27", { - get: function get() { - var model = __webpack_require__(918); - model.paginators = __webpack_require__(2449).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - module.exports = AWS.Textract; +/***/ }), - /***/ - }, +/***/ 2681: +/***/ (function(module) { - /***/ 3224: /***/ function (module) { - module.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: {}, - Origin: {}, - CustomKeyStoreId: {}, - BypassPolicyLockoutSafetyCheck: { type: "boolean" }, - Tags: { shape: "Sz" }, - }, - }, - output: { - type: "structure", - members: { KeyMetadata: { shape: "S14" } }, - }, - }, - 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: "S1i" }, - 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: "S14" } }, - }, - }, - 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: "S1i" }, - 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: "S1i" }, - 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: "S1i" }, - 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: "S1i" } }, - }, - }, - 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: "S1i" }, - ParametersValidTo: { type: "timestamp" }, - }, - }, - }, - GetPublicKey: { - input: { - type: "structure", - required: ["KeyId"], - members: { KeyId: {}, GrantTokens: { shape: "Sn" } }, - }, - output: { - type: "structure", - members: { - KeyId: {}, - PublicKey: { type: "blob" }, - CustomerMasterKeySpec: {}, - KeyUsage: {}, - EncryptionAlgorithms: { shape: "S1b" }, - SigningAlgorithms: { shape: "S1d" }, - }, - }, - }, - 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: {} }, - }, - }, - NextMarker: {}, - Truncated: { type: "boolean" }, - }, - }, - }, - ListGrants: { - input: { - type: "structure", - required: ["KeyId"], - members: { Limit: { type: "integer" }, Marker: {}, KeyId: {} }, - }, - output: { shape: "S31" }, - }, - 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: "Sz" }, - NextMarker: {}, - Truncated: { type: "boolean" }, - }, - }, - }, - ListRetirableGrants: { - input: { - type: "structure", - required: ["RetiringPrincipal"], - members: { - Limit: { type: "integer" }, - Marker: {}, - RetiringPrincipal: {}, - }, - }, - output: { shape: "S31" }, - }, - 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: {}, - }, - }, - }, - 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" } }, - }, - }, - Sign: { - input: { - type: "structure", - required: ["KeyId", "Message", "SigningAlgorithm"], - members: { - KeyId: {}, - Message: { shape: "S1i" }, - 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: "Sz" } }, - }, - }, - 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: {} }, - }, - }, - Verify: { - input: { - type: "structure", - required: ["KeyId", "Message", "Signature", "SigningAlgorithm"], - members: { - KeyId: {}, - Message: { shape: "S1i" }, - MessageType: {}, - Signature: { type: "blob" }, - SigningAlgorithm: {}, - GrantTokens: { shape: "Sn" }, - }, - }, - output: { - type: "structure", - members: { - KeyId: {}, - SignatureValid: { type: "boolean" }, - SigningAlgorithm: {}, - }, - }, - }, - }, - shapes: { - Sd: { type: "string", sensitive: true }, - Sh: { type: "list", member: {} }, - Sj: { - type: "structure", - members: { - EncryptionContextSubset: { shape: "Sk" }, - EncryptionContextEquals: { shape: "Sk" }, - }, - }, - Sk: { type: "map", key: {}, value: {} }, - Sn: { type: "list", member: {} }, - Sz: { - type: "list", - member: { - type: "structure", - required: ["TagKey", "TagValue"], - members: { TagKey: {}, TagValue: {} }, - }, - }, - S14: { - 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: {}, - EncryptionAlgorithms: { shape: "S1b" }, - SigningAlgorithms: { shape: "S1d" }, - }, - }, - S1b: { type: "list", member: {} }, - S1d: { type: "list", member: {} }, - S1i: { type: "blob", sensitive: true }, - S31: { - 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" }, - }, - }, - }, - }; +module.exports = {"pagination":{}}; - /***/ - }, +/***/ }), - /***/ 3229: /***/ function (module) { - module.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", - }, - }, - }; +/***/ 2696: +/***/ (function(module) { - /***/ - }, +"use strict"; - /***/ 3234: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - util.isBrowser = function () { - return false; - }; - util.isNode = function () { - return true; - }; +/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ - // node.js specific modules - util.crypto.lib = __webpack_require__(6417); - util.Buffer = __webpack_require__(4293).Buffer; - util.domain = __webpack_require__(5229); - util.stream = __webpack_require__(2413); - util.url = __webpack_require__(8835); - util.querystring = __webpack_require__(1191); - util.environment = "nodejs"; - util.createEventStream = util.stream.Readable - ? __webpack_require__(445).createEventStream - : __webpack_require__(1661).createEventStream; - util.realClock = __webpack_require__(6693); - util.clientSideMonitoring = { - Publisher: __webpack_require__(1701).Publisher, - configProvider: __webpack_require__(1762), - }; - util.iniLoader = __webpack_require__(5892).iniLoader; +function isObject(val) { + return val != null && typeof val === 'object' && Array.isArray(val) === false; +} - var AWS; +/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ - /** - * @api private - */ - module.exports = AWS = __webpack_require__(395); +function isObjectObject(o) { + return isObject(o) === true + && Object.prototype.toString.call(o) === '[object Object]'; +} - __webpack_require__(4923); - __webpack_require__(4906); - __webpack_require__(3043); - __webpack_require__(9543); - __webpack_require__(747); - __webpack_require__(7170); - __webpack_require__(2966); - __webpack_require__(2982); +function isPlainObject(o) { + var ctor,prot; - // Load the xml2js XML parser - AWS.XML.Parser = __webpack_require__(9810); + if (isObjectObject(o) === false) return false; - // Load Node HTTP client - __webpack_require__(6888); + // If has modified constructor + ctor = o.constructor; + if (typeof ctor !== 'function') return false; - __webpack_require__(7960); + // If has modified prototype + prot = ctor.prototype; + if (isObjectObject(prot) === false) return false; - // Load custom credential providers - __webpack_require__(8868); - __webpack_require__(6103); - __webpack_require__(7426); - __webpack_require__(9316); - __webpack_require__(872); - __webpack_require__(634); - __webpack_require__(6431); - __webpack_require__(2982); + // If constructor does not have an Object-specific method + if (prot.hasOwnProperty('isPrototypeOf') === false) { + return false; + } - // Setup default chain providers - // If this changes, please update documentation for - // AWS.CredentialProviderChain.defaultProviders in - // credentials/credential_provider_chain.js - AWS.CredentialProviderChain.defaultProviders = [ - function () { - return new AWS.EnvironmentCredentials("AWS"); - }, - function () { - return new AWS.EnvironmentCredentials("AMAZON"); - }, - function () { - return new AWS.SharedIniFileCredentials(); - }, - function () { - return new AWS.ECSCredentials(); - }, - function () { - return new AWS.ProcessCredentials(); - }, - function () { - return new AWS.TokenFileWebIdentityCredentials(); - }, - function () { - return new AWS.EC2MetadataCredentials(); - }, - ]; + // Most likely a plain Object + return true; +} - // Update configuration keys - AWS.util.update(AWS.Config.prototype.keys, { - credentials: function () { - var credentials = null; - new AWS.CredentialProviderChain([ - function () { - return new AWS.EnvironmentCredentials("AWS"); - }, - function () { - return new AWS.EnvironmentCredentials("AMAZON"); - }, - function () { - return new AWS.SharedIniFileCredentials({ - disableAssumeRole: true, - }); - }, - ]).resolve(function (err, creds) { - if (!err) credentials = creds; - }); - return credentials; - }, - credentialProvider: function () { - return new AWS.CredentialProviderChain(); - }, - logger: function () { - return process.env.AWSJS_DEBUG ? console : null; - }, - region: function () { - var env = process.env; - var region = env.AWS_REGION || env.AMAZON_REGION; - if (env[AWS.util.configOptInEnv]) { - var toCheck = [ - { filename: env[AWS.util.sharedCredentialsFileEnv] }, - { isConfig: true, filename: env[AWS.util.sharedConfigFileEnv] }, - ]; - var iniLoader = AWS.util.iniLoader; - while (!region && toCheck.length) { - var configFile = iniLoader.loadFrom(toCheck.shift()); - var profile = - configFile[env.AWS_PROFILE || AWS.util.defaultProfile]; - region = profile && profile.region; - } - } - return region; - }, - }); +module.exports = isPlainObject; - // Reset configuration - AWS.config = new AWS.Config(); - /***/ - }, +/***/ }), - /***/ 3252: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2017-09-08", - endpointPrefix: "serverlessrepo", - signingName: "serverlessrepo", - serviceFullName: "AWSServerlessApplicationRepository", - serviceId: "ServerlessApplicationRepository", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "serverlessrepo-2017-09-08", - signatureVersion: "v4", - }, - operations: { - CreateApplication: { - http: { requestUri: "/applications", responseCode: 201 }, - input: { - type: "structure", - members: { - Author: { locationName: "author" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseBody: { locationName: "licenseBody" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeBody: { locationName: "readmeBody" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - TemplateBody: { locationName: "templateBody" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - required: ["Description", "Name", "Author"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - IsVerifiedAuthor: { - locationName: "isVerifiedAuthor", - type: "boolean", - }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, - Version: { shape: "S6", locationName: "version" }, - }, - }, - }, - CreateApplicationVersion: { - http: { - method: "PUT", - requestUri: - "/applications/{applicationId}/versions/{semanticVersion}", - responseCode: 201, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - SemanticVersion: { - location: "uri", - locationName: "semanticVersion", - }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - TemplateBody: { locationName: "templateBody" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - required: ["ApplicationId", "SemanticVersion"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ParameterDefinitions: { - shape: "S7", - locationName: "parameterDefinitions", - }, - RequiredCapabilities: { - shape: "Sa", - locationName: "requiredCapabilities", - }, - ResourcesSupported: { - locationName: "resourcesSupported", - type: "boolean", - }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - }, - }, - CreateCloudFormationChangeSet: { - http: { - requestUri: "/applications/{applicationId}/changesets", - responseCode: 201, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - Capabilities: { shape: "S3", locationName: "capabilities" }, - ChangeSetName: { locationName: "changeSetName" }, - ClientToken: { locationName: "clientToken" }, - Description: { locationName: "description" }, - NotificationArns: { - shape: "S3", - locationName: "notificationArns", - }, - ParameterOverrides: { - locationName: "parameterOverrides", - type: "list", - member: { - type: "structure", - members: { - Name: { locationName: "name" }, - Value: { locationName: "value" }, - }, - required: ["Value", "Name"], - }, - }, - ResourceTypes: { shape: "S3", locationName: "resourceTypes" }, - RollbackConfiguration: { - locationName: "rollbackConfiguration", - type: "structure", - members: { - MonitoringTimeInMinutes: { - locationName: "monitoringTimeInMinutes", - type: "integer", - }, - RollbackTriggers: { - locationName: "rollbackTriggers", - type: "list", - member: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Type: { locationName: "type" }, - }, - required: ["Type", "Arn"], - }, - }, - }, - }, - SemanticVersion: { locationName: "semanticVersion" }, - StackName: { locationName: "stackName" }, - Tags: { - locationName: "tags", - type: "list", - member: { - type: "structure", - members: { - Key: { locationName: "key" }, - Value: { locationName: "value" }, - }, - required: ["Value", "Key"], - }, - }, - TemplateId: { locationName: "templateId" }, - }, - required: ["ApplicationId", "StackName"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - ChangeSetId: { locationName: "changeSetId" }, - SemanticVersion: { locationName: "semanticVersion" }, - StackId: { locationName: "stackId" }, - }, - }, - }, - CreateCloudFormationTemplate: { - http: { - requestUri: "/applications/{applicationId}/templates", - responseCode: 201, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - SemanticVersion: { locationName: "semanticVersion" }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ExpirationTime: { locationName: "expirationTime" }, - SemanticVersion: { locationName: "semanticVersion" }, - Status: { locationName: "status" }, - TemplateId: { locationName: "templateId" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - }, - }, - DeleteApplication: { - http: { - method: "DELETE", - requestUri: "/applications/{applicationId}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - }, - required: ["ApplicationId"], - }, - }, - GetApplication: { - http: { - method: "GET", - requestUri: "/applications/{applicationId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - SemanticVersion: { - location: "querystring", - locationName: "semanticVersion", - }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - IsVerifiedAuthor: { - locationName: "isVerifiedAuthor", - type: "boolean", - }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, - Version: { shape: "S6", locationName: "version" }, - }, - }, - }, - GetApplicationPolicy: { - http: { - method: "GET", - requestUri: "/applications/{applicationId}/policy", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - Statements: { shape: "Sv", locationName: "statements" }, - }, - }, - }, - GetCloudFormationTemplate: { - http: { - method: "GET", - requestUri: - "/applications/{applicationId}/templates/{templateId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - TemplateId: { location: "uri", locationName: "templateId" }, - }, - required: ["ApplicationId", "TemplateId"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ExpirationTime: { locationName: "expirationTime" }, - SemanticVersion: { locationName: "semanticVersion" }, - Status: { locationName: "status" }, - TemplateId: { locationName: "templateId" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - }, - }, - ListApplicationDependencies: { - http: { - method: "GET", - requestUri: "/applications/{applicationId}/dependencies", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - MaxItems: { - location: "querystring", - locationName: "maxItems", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - SemanticVersion: { - location: "querystring", - locationName: "semanticVersion", - }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - Dependencies: { - locationName: "dependencies", - type: "list", - member: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - SemanticVersion: { locationName: "semanticVersion" }, - }, - required: ["ApplicationId", "SemanticVersion"], - }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - ListApplicationVersions: { - http: { - method: "GET", - requestUri: "/applications/{applicationId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - MaxItems: { - location: "querystring", - locationName: "maxItems", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - NextToken: { locationName: "nextToken" }, - Versions: { - locationName: "versions", - type: "list", - member: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - }, - required: [ - "CreationTime", - "ApplicationId", - "SemanticVersion", - ], - }, - }, - }, - }, - }, - ListApplications: { - http: { - method: "GET", - requestUri: "/applications", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxItems: { - location: "querystring", - locationName: "maxItems", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Applications: { - locationName: "applications", - type: "list", - member: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - Labels: { shape: "S3", locationName: "labels" }, - Name: { locationName: "name" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - }, - required: [ - "Description", - "Author", - "ApplicationId", - "Name", - ], - }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - PutApplicationPolicy: { - http: { - method: "PUT", - requestUri: "/applications/{applicationId}/policy", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - Statements: { shape: "Sv", locationName: "statements" }, - }, - required: ["ApplicationId", "Statements"], - }, - output: { - type: "structure", - members: { - Statements: { shape: "Sv", locationName: "statements" }, - }, - }, - }, - UnshareApplication: { - http: { - requestUri: "/applications/{applicationId}/unshare", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - OrganizationId: { locationName: "organizationId" }, - }, - required: ["ApplicationId", "OrganizationId"], - }, - }, - UpdateApplication: { - http: { - method: "PATCH", - requestUri: "/applications/{applicationId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - Author: { locationName: "author" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - Labels: { shape: "S3", locationName: "labels" }, - ReadmeBody: { locationName: "readmeBody" }, - ReadmeUrl: { locationName: "readmeUrl" }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - IsVerifiedAuthor: { - locationName: "isVerifiedAuthor", - type: "boolean", - }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, - Version: { shape: "S6", locationName: "version" }, - }, - }, - }, - }, - shapes: { - S3: { type: "list", member: {} }, - S6: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ParameterDefinitions: { - shape: "S7", - locationName: "parameterDefinitions", - }, - RequiredCapabilities: { - shape: "Sa", - locationName: "requiredCapabilities", - }, - ResourcesSupported: { - locationName: "resourcesSupported", - type: "boolean", - }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - required: [ - "TemplateUrl", - "ParameterDefinitions", - "ResourcesSupported", - "CreationTime", - "RequiredCapabilities", - "ApplicationId", - "SemanticVersion", - ], - }, - S7: { - type: "list", - member: { - type: "structure", - members: { - AllowedPattern: { locationName: "allowedPattern" }, - AllowedValues: { shape: "S3", locationName: "allowedValues" }, - ConstraintDescription: { - locationName: "constraintDescription", - }, - DefaultValue: { locationName: "defaultValue" }, - Description: { locationName: "description" }, - MaxLength: { locationName: "maxLength", type: "integer" }, - MaxValue: { locationName: "maxValue", type: "integer" }, - MinLength: { locationName: "minLength", type: "integer" }, - MinValue: { locationName: "minValue", type: "integer" }, - Name: { locationName: "name" }, - NoEcho: { locationName: "noEcho", type: "boolean" }, - ReferencedByResources: { - shape: "S3", - locationName: "referencedByResources", - }, - Type: { locationName: "type" }, - }, - required: ["ReferencedByResources", "Name"], - }, - }, - Sa: { type: "list", member: {} }, - Sv: { - type: "list", - member: { - type: "structure", - members: { - Actions: { shape: "S3", locationName: "actions" }, - PrincipalOrgIDs: { - shape: "S3", - locationName: "principalOrgIDs", - }, - Principals: { shape: "S3", locationName: "principals" }, - StatementId: { locationName: "statementId" }, - }, - required: ["Principals", "Actions"], - }, - }, - }, - }; +/***/ 2699: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-04-16","endpointPrefix":"ds","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"Directory Service","serviceFullName":"AWS Directory Service","serviceId":"Directory Service","signatureVersion":"v4","targetPrefix":"DirectoryService_20150416","uid":"ds-2015-04-16"},"operations":{"AcceptSharedDirectory":{"input":{"type":"structure","required":["SharedDirectoryId"],"members":{"SharedDirectoryId":{}}},"output":{"type":"structure","members":{"SharedDirectory":{"shape":"S4"}}}},"AddIpRoutes":{"input":{"type":"structure","required":["DirectoryId","IpRoutes"],"members":{"DirectoryId":{},"IpRoutes":{"type":"list","member":{"type":"structure","members":{"CidrIp":{},"Description":{}}}},"UpdateSecurityGroupForDirectoryControllers":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"AddRegion":{"input":{"type":"structure","required":["DirectoryId","RegionName","VPCSettings"],"members":{"DirectoryId":{},"RegionName":{},"VPCSettings":{"shape":"Sk"}}},"output":{"type":"structure","members":{}}},"AddTagsToResource":{"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{},"Tags":{"shape":"Sr"}}},"output":{"type":"structure","members":{}}},"CancelSchemaExtension":{"input":{"type":"structure","required":["DirectoryId","SchemaExtensionId"],"members":{"DirectoryId":{},"SchemaExtensionId":{}}},"output":{"type":"structure","members":{}}},"ConnectDirectory":{"input":{"type":"structure","required":["Name","Password","Size","ConnectSettings"],"members":{"Name":{},"ShortName":{},"Password":{"shape":"S12"},"Description":{},"Size":{},"ConnectSettings":{"type":"structure","required":["VpcId","SubnetIds","CustomerDnsIps","CustomerUserName"],"members":{"VpcId":{},"SubnetIds":{"shape":"Sm"},"CustomerDnsIps":{"shape":"S15"},"CustomerUserName":{}}},"Tags":{"shape":"Sr"}}},"output":{"type":"structure","members":{"DirectoryId":{}}}},"CreateAlias":{"input":{"type":"structure","required":["DirectoryId","Alias"],"members":{"DirectoryId":{},"Alias":{}}},"output":{"type":"structure","members":{"DirectoryId":{},"Alias":{}}}},"CreateComputer":{"input":{"type":"structure","required":["DirectoryId","ComputerName","Password"],"members":{"DirectoryId":{},"ComputerName":{},"Password":{"type":"string","sensitive":true},"OrganizationalUnitDistinguishedName":{},"ComputerAttributes":{"shape":"S1g"}}},"output":{"type":"structure","members":{"Computer":{"type":"structure","members":{"ComputerId":{},"ComputerName":{},"ComputerAttributes":{"shape":"S1g"}}}}}},"CreateConditionalForwarder":{"input":{"type":"structure","required":["DirectoryId","RemoteDomainName","DnsIpAddrs"],"members":{"DirectoryId":{},"RemoteDomainName":{},"DnsIpAddrs":{"shape":"S15"}}},"output":{"type":"structure","members":{}}},"CreateDirectory":{"input":{"type":"structure","required":["Name","Password","Size"],"members":{"Name":{},"ShortName":{},"Password":{"shape":"S1r"},"Description":{},"Size":{},"VpcSettings":{"shape":"Sk"},"Tags":{"shape":"Sr"}}},"output":{"type":"structure","members":{"DirectoryId":{}}}},"CreateLogSubscription":{"input":{"type":"structure","required":["DirectoryId","LogGroupName"],"members":{"DirectoryId":{},"LogGroupName":{}}},"output":{"type":"structure","members":{}}},"CreateMicrosoftAD":{"input":{"type":"structure","required":["Name","Password","VpcSettings"],"members":{"Name":{},"ShortName":{},"Password":{"shape":"S1r"},"Description":{},"VpcSettings":{"shape":"Sk"},"Edition":{},"Tags":{"shape":"Sr"}}},"output":{"type":"structure","members":{"DirectoryId":{}}}},"CreateSnapshot":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"Name":{}}},"output":{"type":"structure","members":{"SnapshotId":{}}}},"CreateTrust":{"input":{"type":"structure","required":["DirectoryId","RemoteDomainName","TrustPassword","TrustDirection"],"members":{"DirectoryId":{},"RemoteDomainName":{},"TrustPassword":{"type":"string","sensitive":true},"TrustDirection":{},"TrustType":{},"ConditionalForwarderIpAddrs":{"shape":"S15"},"SelectiveAuth":{}}},"output":{"type":"structure","members":{"TrustId":{}}}},"DeleteConditionalForwarder":{"input":{"type":"structure","required":["DirectoryId","RemoteDomainName"],"members":{"DirectoryId":{},"RemoteDomainName":{}}},"output":{"type":"structure","members":{}}},"DeleteDirectory":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{"DirectoryId":{}}}},"DeleteLogSubscription":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{}}},"DeleteSnapshot":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{}}},"output":{"type":"structure","members":{"SnapshotId":{}}}},"DeleteTrust":{"input":{"type":"structure","required":["TrustId"],"members":{"TrustId":{},"DeleteAssociatedConditionalForwarder":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrustId":{}}}},"DeregisterCertificate":{"input":{"type":"structure","required":["DirectoryId","CertificateId"],"members":{"DirectoryId":{},"CertificateId":{}}},"output":{"type":"structure","members":{}}},"DeregisterEventTopic":{"input":{"type":"structure","required":["DirectoryId","TopicName"],"members":{"DirectoryId":{},"TopicName":{}}},"output":{"type":"structure","members":{}}},"DescribeCertificate":{"input":{"type":"structure","required":["DirectoryId","CertificateId"],"members":{"DirectoryId":{},"CertificateId":{}}},"output":{"type":"structure","members":{"Certificate":{"type":"structure","members":{"CertificateId":{},"State":{},"StateReason":{},"CommonName":{},"RegisteredDateTime":{"type":"timestamp"},"ExpiryDateTime":{"type":"timestamp"},"Type":{},"ClientCertAuthSettings":{"shape":"S30"}}}}}},"DescribeConditionalForwarders":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"RemoteDomainNames":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ConditionalForwarders":{"type":"list","member":{"type":"structure","members":{"RemoteDomainName":{},"DnsIpAddrs":{"shape":"S15"},"ReplicationScope":{}}}}}}},"DescribeDirectories":{"input":{"type":"structure","members":{"DirectoryIds":{"shape":"S39"},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"DirectoryDescriptions":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"Name":{},"ShortName":{},"Size":{},"Edition":{},"Alias":{},"AccessUrl":{},"Description":{},"DnsIpAddrs":{"shape":"S15"},"Stage":{},"ShareStatus":{},"ShareMethod":{},"ShareNotes":{"shape":"S8"},"LaunchTime":{"type":"timestamp"},"StageLastUpdatedDateTime":{"type":"timestamp"},"Type":{},"VpcSettings":{"shape":"S3j"},"ConnectSettings":{"type":"structure","members":{"VpcId":{},"SubnetIds":{"shape":"Sm"},"CustomerUserName":{},"SecurityGroupId":{},"AvailabilityZones":{"shape":"S3l"},"ConnectIps":{"type":"list","member":{}}}},"RadiusSettings":{"shape":"S3p"},"RadiusStatus":{},"StageReason":{},"SsoEnabled":{"type":"boolean"},"DesiredNumberOfDomainControllers":{"type":"integer"},"OwnerDirectoryDescription":{"type":"structure","members":{"DirectoryId":{},"AccountId":{},"DnsIpAddrs":{"shape":"S15"},"VpcSettings":{"shape":"S3j"},"RadiusSettings":{"shape":"S3p"},"RadiusStatus":{}}},"RegionsInfo":{"type":"structure","members":{"PrimaryRegion":{},"AdditionalRegions":{"type":"list","member":{}}}}}}},"NextToken":{}}}},"DescribeDomainControllers":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"DomainControllerIds":{"type":"list","member":{}},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"DomainControllers":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"DomainControllerId":{},"DnsIpAddr":{},"VpcId":{},"SubnetId":{},"AvailabilityZone":{},"Status":{},"StatusReason":{},"LaunchTime":{"type":"timestamp"},"StatusLastUpdatedDateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeEventTopics":{"input":{"type":"structure","members":{"DirectoryId":{},"TopicNames":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"EventTopics":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"TopicName":{},"TopicArn":{},"CreatedDateTime":{"type":"timestamp"},"Status":{}}}}}}},"DescribeLDAPSSettings":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"Type":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"LDAPSSettingsInfo":{"type":"list","member":{"type":"structure","members":{"LDAPSStatus":{},"LDAPSStatusReason":{},"LastUpdatedDateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeRegions":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"RegionName":{},"NextToken":{}}},"output":{"type":"structure","members":{"RegionsDescription":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"RegionName":{},"RegionType":{},"Status":{},"VpcSettings":{"shape":"Sk"},"DesiredNumberOfDomainControllers":{"type":"integer"},"LaunchTime":{"type":"timestamp"},"StatusLastUpdatedDateTime":{"type":"timestamp"},"LastUpdatedDateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeSharedDirectories":{"input":{"type":"structure","required":["OwnerDirectoryId"],"members":{"OwnerDirectoryId":{},"SharedDirectoryIds":{"shape":"S39"},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"SharedDirectories":{"type":"list","member":{"shape":"S4"}},"NextToken":{}}}},"DescribeSnapshots":{"input":{"type":"structure","members":{"DirectoryId":{},"SnapshotIds":{"type":"list","member":{}},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"Snapshots":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"SnapshotId":{},"Type":{},"Name":{},"Status":{},"StartTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeTrusts":{"input":{"type":"structure","members":{"DirectoryId":{},"TrustIds":{"type":"list","member":{}},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"Trusts":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"TrustId":{},"RemoteDomainName":{},"TrustType":{},"TrustDirection":{},"TrustState":{},"CreatedDateTime":{"type":"timestamp"},"LastUpdatedDateTime":{"type":"timestamp"},"StateLastUpdatedDateTime":{"type":"timestamp"},"TrustStateReason":{},"SelectiveAuth":{}}}},"NextToken":{}}}},"DisableClientAuthentication":{"input":{"type":"structure","required":["DirectoryId","Type"],"members":{"DirectoryId":{},"Type":{}}},"output":{"type":"structure","members":{}}},"DisableLDAPS":{"input":{"type":"structure","required":["DirectoryId","Type"],"members":{"DirectoryId":{},"Type":{}}},"output":{"type":"structure","members":{}}},"DisableRadius":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{}}},"DisableSso":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"UserName":{},"Password":{"shape":"S12"}}},"output":{"type":"structure","members":{}}},"EnableClientAuthentication":{"input":{"type":"structure","required":["DirectoryId","Type"],"members":{"DirectoryId":{},"Type":{}}},"output":{"type":"structure","members":{}}},"EnableLDAPS":{"input":{"type":"structure","required":["DirectoryId","Type"],"members":{"DirectoryId":{},"Type":{}}},"output":{"type":"structure","members":{}}},"EnableRadius":{"input":{"type":"structure","required":["DirectoryId","RadiusSettings"],"members":{"DirectoryId":{},"RadiusSettings":{"shape":"S3p"}}},"output":{"type":"structure","members":{}}},"EnableSso":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"UserName":{},"Password":{"shape":"S12"}}},"output":{"type":"structure","members":{}}},"GetDirectoryLimits":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DirectoryLimits":{"type":"structure","members":{"CloudOnlyDirectoriesLimit":{"type":"integer"},"CloudOnlyDirectoriesCurrentCount":{"type":"integer"},"CloudOnlyDirectoriesLimitReached":{"type":"boolean"},"CloudOnlyMicrosoftADLimit":{"type":"integer"},"CloudOnlyMicrosoftADCurrentCount":{"type":"integer"},"CloudOnlyMicrosoftADLimitReached":{"type":"boolean"},"ConnectedDirectoriesLimit":{"type":"integer"},"ConnectedDirectoriesCurrentCount":{"type":"integer"},"ConnectedDirectoriesLimitReached":{"type":"boolean"}}}}}},"GetSnapshotLimits":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{"SnapshotLimits":{"type":"structure","members":{"ManualSnapshotsLimit":{"type":"integer"},"ManualSnapshotsCurrentCount":{"type":"integer"},"ManualSnapshotsLimitReached":{"type":"boolean"}}}}}},"ListCertificates":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"CertificatesInfo":{"type":"list","member":{"type":"structure","members":{"CertificateId":{},"CommonName":{},"State":{},"ExpiryDateTime":{"type":"timestamp"},"Type":{}}}}}}},"ListIpRoutes":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"IpRoutesInfo":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"CidrIp":{},"IpRouteStatusMsg":{},"AddedDateTime":{"type":"timestamp"},"IpRouteStatusReason":{},"Description":{}}}},"NextToken":{}}}},"ListLogSubscriptions":{"input":{"type":"structure","members":{"DirectoryId":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"LogSubscriptions":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"LogGroupName":{},"SubscriptionCreatedDateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListSchemaExtensions":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"SchemaExtensionsInfo":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"SchemaExtensionId":{},"Description":{},"SchemaExtensionStatus":{},"SchemaExtensionStatusReason":{},"StartDateTime":{"type":"timestamp"},"EndDateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sr"},"NextToken":{}}}},"RegisterCertificate":{"input":{"type":"structure","required":["DirectoryId","CertificateData"],"members":{"DirectoryId":{},"CertificateData":{},"Type":{},"ClientCertAuthSettings":{"shape":"S30"}}},"output":{"type":"structure","members":{"CertificateId":{}}}},"RegisterEventTopic":{"input":{"type":"structure","required":["DirectoryId","TopicName"],"members":{"DirectoryId":{},"TopicName":{}}},"output":{"type":"structure","members":{}}},"RejectSharedDirectory":{"input":{"type":"structure","required":["SharedDirectoryId"],"members":{"SharedDirectoryId":{}}},"output":{"type":"structure","members":{"SharedDirectoryId":{}}}},"RemoveIpRoutes":{"input":{"type":"structure","required":["DirectoryId","CidrIps"],"members":{"DirectoryId":{},"CidrIps":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"RemoveRegion":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{}}},"RemoveTagsFromResource":{"input":{"type":"structure","required":["ResourceId","TagKeys"],"members":{"ResourceId":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"ResetUserPassword":{"input":{"type":"structure","required":["DirectoryId","UserName","NewPassword"],"members":{"DirectoryId":{},"UserName":{},"NewPassword":{"type":"string","sensitive":true}}},"output":{"type":"structure","members":{}}},"RestoreFromSnapshot":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{}}},"output":{"type":"structure","members":{}}},"ShareDirectory":{"input":{"type":"structure","required":["DirectoryId","ShareTarget","ShareMethod"],"members":{"DirectoryId":{},"ShareNotes":{"shape":"S8"},"ShareTarget":{"type":"structure","required":["Id","Type"],"members":{"Id":{},"Type":{}}},"ShareMethod":{}}},"output":{"type":"structure","members":{"SharedDirectoryId":{}}}},"StartSchemaExtension":{"input":{"type":"structure","required":["DirectoryId","CreateSnapshotBeforeSchemaExtension","LdifContent","Description"],"members":{"DirectoryId":{},"CreateSnapshotBeforeSchemaExtension":{"type":"boolean"},"LdifContent":{},"Description":{}}},"output":{"type":"structure","members":{"SchemaExtensionId":{}}}},"UnshareDirectory":{"input":{"type":"structure","required":["DirectoryId","UnshareTarget"],"members":{"DirectoryId":{},"UnshareTarget":{"type":"structure","required":["Id","Type"],"members":{"Id":{},"Type":{}}}}},"output":{"type":"structure","members":{"SharedDirectoryId":{}}}},"UpdateConditionalForwarder":{"input":{"type":"structure","required":["DirectoryId","RemoteDomainName","DnsIpAddrs"],"members":{"DirectoryId":{},"RemoteDomainName":{},"DnsIpAddrs":{"shape":"S15"}}},"output":{"type":"structure","members":{}}},"UpdateNumberOfDomainControllers":{"input":{"type":"structure","required":["DirectoryId","DesiredNumber"],"members":{"DirectoryId":{},"DesiredNumber":{"type":"integer"}}},"output":{"type":"structure","members":{}}},"UpdateRadius":{"input":{"type":"structure","required":["DirectoryId","RadiusSettings"],"members":{"DirectoryId":{},"RadiusSettings":{"shape":"S3p"}}},"output":{"type":"structure","members":{}}},"UpdateTrust":{"input":{"type":"structure","required":["TrustId"],"members":{"TrustId":{},"SelectiveAuth":{}}},"output":{"type":"structure","members":{"RequestId":{},"TrustId":{}}}},"VerifyTrust":{"input":{"type":"structure","required":["TrustId"],"members":{"TrustId":{}}},"output":{"type":"structure","members":{"TrustId":{}}}}},"shapes":{"S4":{"type":"structure","members":{"OwnerAccountId":{},"OwnerDirectoryId":{},"ShareMethod":{},"SharedAccountId":{},"SharedDirectoryId":{},"ShareStatus":{},"ShareNotes":{"shape":"S8"},"CreatedDateTime":{"type":"timestamp"},"LastUpdatedDateTime":{"type":"timestamp"}}},"S8":{"type":"string","sensitive":true},"Sk":{"type":"structure","required":["VpcId","SubnetIds"],"members":{"VpcId":{},"SubnetIds":{"shape":"Sm"}}},"Sm":{"type":"list","member":{}},"Sr":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S12":{"type":"string","sensitive":true},"S15":{"type":"list","member":{}},"S1g":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"S1r":{"type":"string","sensitive":true},"S30":{"type":"structure","members":{"OCSPUrl":{}}},"S39":{"type":"list","member":{}},"S3j":{"type":"structure","members":{"VpcId":{},"SubnetIds":{"shape":"Sm"},"SecurityGroupId":{},"AvailabilityZones":{"shape":"S3l"}}},"S3l":{"type":"list","member":{}},"S3p":{"type":"structure","members":{"RadiusServers":{"type":"list","member":{}},"RadiusPort":{"type":"integer"},"RadiusTimeout":{"type":"integer"},"RadiusRetries":{"type":"integer"},"SharedSecret":{"type":"string","sensitive":true},"AuthenticationProtocol":{},"DisplayLabel":{},"UseSameUsername":{"type":"boolean"}}}}}; - /***/ 3253: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - DistributionDeployed: { - delay: 60, - operation: "GetDistribution", - maxAttempts: 25, - description: "Wait until a distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "Distribution.Status", - }, - ], - }, - InvalidationCompleted: { - delay: 20, - operation: "GetInvalidation", - maxAttempts: 30, - description: "Wait until an invalidation has completed.", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "Invalidation.Status", - }, - ], - }, - StreamingDistributionDeployed: { - delay: 60, - operation: "GetStreamingDistribution", - maxAttempts: 25, - description: "Wait until a streaming distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "StreamingDistribution.Status", - }, - ], - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 2709: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 3260: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-04-01", - endpointPrefix: "quicksight", - jsonVersion: "1.0", - protocol: "rest-json", - serviceFullName: "Amazon QuickSight", - serviceId: "QuickSight", - signatureVersion: "v4", - uid: "quicksight-2018-04-01", - }, - operations: { - CancelIngestion: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSetId", "IngestionId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - IngestionId: { location: "uri", locationName: "IngestionId" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - IngestionId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - CreateDashboard: { - http: { - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - Name: {}, - Parameters: { shape: "Sb" }, - Permissions: { shape: "St" }, - SourceEntity: { shape: "Sx" }, - Tags: { shape: "S11" }, - VersionDescription: {}, - DashboardPublishOptions: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - VersionArn: {}, - DashboardId: {}, - CreationStatus: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - CreateDataSet: { - http: { requestUri: "/accounts/{AwsAccountId}/data-sets" }, - input: { - type: "structure", - required: [ - "AwsAccountId", - "DataSetId", - "Name", - "PhysicalTableMap", - "ImportMode", - ], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: {}, - Name: {}, - PhysicalTableMap: { shape: "S1h" }, - LogicalTableMap: { shape: "S21" }, - ImportMode: {}, - ColumnGroups: { shape: "S2s" }, - Permissions: { shape: "St" }, - RowLevelPermissionDataSet: { shape: "S2y" }, - Tags: { shape: "S11" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - DataSetId: {}, - IngestionArn: {}, - IngestionId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - CreateDataSource: { - http: { requestUri: "/accounts/{AwsAccountId}/data-sources" }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSourceId", "Name", "Type"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: {}, - Name: {}, - Type: {}, - DataSourceParameters: { shape: "S33" }, - Credentials: { shape: "S43" }, - Permissions: { shape: "St" }, - VpcConnectionProperties: { shape: "S47" }, - SslProperties: { shape: "S48" }, - Tags: { shape: "S11" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - DataSourceId: {}, - CreationStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - CreateGroup: { - http: { - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups", - }, - input: { - type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: {}, - Description: {}, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - Group: { shape: "S4f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - CreateGroupMembership: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", - }, - input: { - type: "structure", - required: [ - "MemberName", - "GroupName", - "AwsAccountId", - "Namespace", - ], - members: { - MemberName: { location: "uri", locationName: "MemberName" }, - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - GroupMember: { shape: "S4j" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - CreateIAMPolicyAssignment: { - http: { - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/", - }, - input: { - type: "structure", - required: [ - "AwsAccountId", - "AssignmentName", - "AssignmentStatus", - "Namespace", - ], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: {}, - AssignmentStatus: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - AssignmentName: {}, - AssignmentId: {}, - AssignmentStatus: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - CreateIngestion: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", - }, - input: { - type: "structure", - required: ["DataSetId", "IngestionId", "AwsAccountId"], - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - IngestionId: { location: "uri", locationName: "IngestionId" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - IngestionId: {}, - IngestionStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - CreateTemplate: { - http: { - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId", "SourceEntity"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - Name: {}, - Permissions: { shape: "St" }, - SourceEntity: { shape: "S4w" }, - Tags: { shape: "S11" }, - VersionDescription: {}, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - VersionArn: {}, - TemplateId: {}, - CreationStatus: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - CreateTemplateAlias: { - http: { - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, - input: { - type: "structure", - required: [ - "AwsAccountId", - "TemplateId", - "AliasName", - "TemplateVersionNumber", - ], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, - TemplateVersionNumber: { type: "long" }, - }, - }, - output: { - type: "structure", - members: { - TemplateAlias: { shape: "S54" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - DeleteDashboard: { - http: { - method: "DELETE", - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", - }, - }, - }, - output: { - type: "structure", - members: { - Status: { location: "statusCode", type: "integer" }, - Arn: {}, - DashboardId: {}, - RequestId: {}, - }, - }, - }, - DeleteDataSet: { - http: { - method: "DELETE", - requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSetId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - DataSetId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DeleteDataSource: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSourceId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - DataSourceId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DeleteGroup: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", - }, - input: { - type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DeleteGroupMembership: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", - }, - input: { - type: "structure", - required: [ - "MemberName", - "GroupName", - "AwsAccountId", - "Namespace", - ], - members: { - MemberName: { location: "uri", locationName: "MemberName" }, - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DeleteIAMPolicyAssignment: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "AssignmentName", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: { - location: "uri", - locationName: "AssignmentName", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - AssignmentName: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DeleteTemplate: { - http: { - method: "DELETE", - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", - }, - }, - }, - output: { - type: "structure", - members: { - RequestId: {}, - Arn: {}, - TemplateId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DeleteTemplateAlias: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId", "AliasName"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, - }, - }, - output: { - type: "structure", - members: { - Status: { location: "statusCode", type: "integer" }, - TemplateId: {}, - AliasName: {}, - Arn: {}, - RequestId: {}, - }, - }, - }, - DeleteUser: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", - }, - input: { - type: "structure", - required: ["UserName", "AwsAccountId", "Namespace"], - members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DeleteUserByPrincipalId: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}", - }, - input: { - type: "structure", - required: ["PrincipalId", "AwsAccountId", "Namespace"], - members: { - PrincipalId: { location: "uri", locationName: "PrincipalId" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeDashboard: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", - }, - AliasName: { - location: "querystring", - locationName: "alias-name", - }, - }, - }, - output: { - type: "structure", - members: { - Dashboard: { - type: "structure", - members: { - DashboardId: {}, - Arn: {}, - Name: {}, - Version: { - type: "structure", - members: { - CreatedTime: { type: "timestamp" }, - Errors: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, - VersionNumber: { type: "long" }, - Status: {}, - Arn: {}, - SourceEntityArn: {}, - Description: {}, - }, - }, - CreatedTime: { type: "timestamp" }, - LastPublishedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - }, - }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - DescribeDashboardPermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - }, - }, - output: { - type: "structure", - members: { - DashboardId: {}, - DashboardArn: {}, - Permissions: { shape: "St" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - DescribeDataSet: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSetId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - }, - }, - output: { - type: "structure", - members: { - DataSet: { - type: "structure", - members: { - Arn: {}, - DataSetId: {}, - Name: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - PhysicalTableMap: { shape: "S1h" }, - LogicalTableMap: { shape: "S21" }, - OutputColumns: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Type: {} }, - }, - }, - ImportMode: {}, - ConsumedSpiceCapacityInBytes: { type: "long" }, - ColumnGroups: { shape: "S2s" }, - RowLevelPermissionDataSet: { shape: "S2y" }, - }, - }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeDataSetPermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSetId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - }, - }, - output: { - type: "structure", - members: { - DataSetArn: {}, - DataSetId: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeDataSource: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSourceId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - }, - }, - output: { - type: "structure", - members: { - DataSource: { shape: "S68" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeDataSourcePermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSourceId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - }, - }, - output: { - type: "structure", - members: { - DataSourceArn: {}, - DataSourceId: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeGroup: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", - }, - input: { - type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - Group: { shape: "S4f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeIAMPolicyAssignment: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "AssignmentName", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: { - location: "uri", - locationName: "AssignmentName", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - IAMPolicyAssignment: { - type: "structure", - members: { - AwsAccountId: {}, - AssignmentId: {}, - AssignmentName: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - AssignmentStatus: {}, - }, - }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeIngestion: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSetId", "IngestionId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - IngestionId: { location: "uri", locationName: "IngestionId" }, - }, - }, - output: { - type: "structure", - members: { - Ingestion: { shape: "S6k" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeTemplate: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", - }, - AliasName: { - location: "querystring", - locationName: "alias-name", - }, - }, - }, - output: { - type: "structure", - members: { - Template: { - type: "structure", - members: { - Arn: {}, - Name: {}, - Version: { - type: "structure", - members: { - CreatedTime: { type: "timestamp" }, - Errors: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, - VersionNumber: { type: "long" }, - Status: {}, - DataSetConfigurations: { - type: "list", - member: { - type: "structure", - members: { - Placeholder: {}, - DataSetSchema: { - type: "structure", - members: { - ColumnSchemaList: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - DataType: {}, - GeographicRole: {}, - }, - }, - }, - }, - }, - ColumnGroupSchemaList: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - ColumnGroupColumnSchemaList: { - type: "list", - member: { - type: "structure", - members: { Name: {} }, - }, - }, - }, - }, - }, - }, - }, - }, - Description: {}, - SourceEntityArn: {}, - }, - }, - TemplateId: {}, - LastUpdatedTime: { type: "timestamp" }, - CreatedTime: { type: "timestamp" }, - }, - }, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeTemplateAlias: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId", "AliasName"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, - }, - }, - output: { - type: "structure", - members: { - TemplateAlias: { shape: "S54" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - DescribeTemplatePermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - }, - }, - output: { - type: "structure", - members: { - TemplateId: {}, - TemplateArn: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - DescribeUser: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", - }, - input: { - type: "structure", - required: ["UserName", "AwsAccountId", "Namespace"], - members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - User: { shape: "S7f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - GetDashboardEmbedUrl: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId", "IdentityType"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - IdentityType: { - location: "querystring", - locationName: "creds-type", - }, - SessionLifetimeInMinutes: { - location: "querystring", - locationName: "session-lifetime", - type: "long", - }, - UndoRedoDisabled: { - location: "querystring", - locationName: "undo-redo-disabled", - type: "boolean", - }, - ResetDisabled: { - location: "querystring", - locationName: "reset-disabled", - type: "boolean", - }, - UserArn: { location: "querystring", locationName: "user-arn" }, - }, - }, - output: { - type: "structure", - members: { - EmbedUrl: { type: "string", sensitive: true }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - ListDashboardVersions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - DashboardVersionSummaryList: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - CreatedTime: { type: "timestamp" }, - VersionNumber: { type: "long" }, - Status: {}, - SourceEntityArn: {}, - Description: {}, - }, - }, - }, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - ListDashboards: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/dashboards", - }, - input: { - type: "structure", - required: ["AwsAccountId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - DashboardSummaryList: { shape: "S7u" }, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - ListDataSets: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/data-sets", - }, - input: { - type: "structure", - required: ["AwsAccountId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - DataSetSummaries: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - DataSetId: {}, - Name: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - ImportMode: {}, - RowLevelPermissionDataSet: { shape: "S2y" }, - }, - }, - }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListDataSources: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/data-sources", - }, - input: { - type: "structure", - required: ["AwsAccountId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - DataSources: { type: "list", member: { shape: "S68" } }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListGroupMemberships: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members", - }, - input: { - type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - GroupMemberList: { type: "list", member: { shape: "S4j" } }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListGroups: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups", - }, - input: { - type: "structure", - required: ["AwsAccountId", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - GroupList: { shape: "S88" }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListIAMPolicyAssignments: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments", - }, - input: { - type: "structure", - required: ["AwsAccountId", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentStatus: {}, - Namespace: { location: "uri", locationName: "Namespace" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - IAMPolicyAssignments: { - type: "list", - member: { - type: "structure", - members: { AssignmentName: {}, AssignmentStatus: {} }, - }, - }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListIAMPolicyAssignmentsForUser: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments", - }, - input: { - type: "structure", - required: ["AwsAccountId", "UserName", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - UserName: { location: "uri", locationName: "UserName" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - ActiveAssignments: { - type: "list", - member: { - type: "structure", - members: { AssignmentName: {}, PolicyArn: {} }, - }, - }, - RequestId: {}, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListIngestions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions", - }, - input: { - type: "structure", - required: ["DataSetId", "AwsAccountId"], - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - Ingestions: { type: "list", member: { shape: "S6k" } }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/resources/{ResourceArn}/tags", - }, - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: { location: "uri", locationName: "ResourceArn" }, - }, - }, - output: { - type: "structure", - members: { - Tags: { shape: "S11" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListTemplateAliases: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-result", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - TemplateAliasList: { type: "list", member: { shape: "S54" } }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - NextToken: {}, - }, - }, - }, - ListTemplateVersions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/versions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - TemplateVersionSummaryList: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - VersionNumber: { type: "long" }, - CreatedTime: { type: "timestamp" }, - Status: {}, - Description: {}, - }, - }, - }, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - ListTemplates: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/templates", - }, - input: { - type: "structure", - required: ["AwsAccountId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-result", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - TemplateSummaryList: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - TemplateId: {}, - Name: {}, - LatestVersionNumber: { type: "long" }, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - ListUserGroups: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups", - }, - input: { - type: "structure", - required: ["UserName", "AwsAccountId", "Namespace"], - members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - GroupList: { shape: "S88" }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListUsers: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users", - }, - input: { - type: "structure", - required: ["AwsAccountId", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - UserList: { type: "list", member: { shape: "S7f" } }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - RegisterUser: { - http: { - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users", - }, - input: { - type: "structure", - required: [ - "IdentityType", - "Email", - "UserRole", - "AwsAccountId", - "Namespace", - ], - members: { - IdentityType: {}, - Email: {}, - UserRole: {}, - IamArn: {}, - SessionName: {}, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - UserName: {}, - }, - }, - output: { - type: "structure", - members: { - User: { shape: "S7f" }, - UserInvitationUrl: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - SearchDashboards: { - http: { requestUri: "/accounts/{AwsAccountId}/search/dashboards" }, - input: { - type: "structure", - required: ["AwsAccountId", "Filters"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Filters: { - type: "list", - member: { - type: "structure", - required: ["Operator"], - members: { Operator: {}, Name: {}, Value: {} }, - }, - }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - DashboardSummaryList: { shape: "S7u" }, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - TagResource: { - http: { requestUri: "/resources/{ResourceArn}/tags" }, - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { - ResourceArn: { location: "uri", locationName: "ResourceArn" }, - Tags: { shape: "S11" }, - }, - }, - output: { - type: "structure", - members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/resources/{ResourceArn}/tags", - }, - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: { location: "uri", locationName: "ResourceArn" }, - TagKeys: { - location: "querystring", - locationName: "keys", - type: "list", - member: {}, - }, - }, - }, - output: { - type: "structure", - members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateDashboard: { - http: { - method: "PUT", - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - Name: {}, - SourceEntity: { shape: "Sx" }, - Parameters: { shape: "Sb" }, - VersionDescription: {}, - DashboardPublishOptions: { shape: "S16" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - VersionArn: {}, - DashboardId: {}, - CreationStatus: {}, - Status: { type: "integer" }, - RequestId: {}, - }, - }, - }, - UpdateDashboardPermissions: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - GrantPermissions: { shape: "S9k" }, - RevokePermissions: { shape: "S9k" }, - }, - }, - output: { - type: "structure", - members: { - DashboardArn: {}, - DashboardId: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateDashboardPublishedVersion: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DashboardId", "VersionNumber"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - VersionNumber: { - location: "uri", - locationName: "VersionNumber", - type: "long", - }, - }, - }, - output: { - type: "structure", - members: { - DashboardId: {}, - DashboardArn: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - UpdateDataSet: { - http: { - method: "PUT", - requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", - }, - input: { - type: "structure", - required: [ - "AwsAccountId", - "DataSetId", - "Name", - "PhysicalTableMap", - "ImportMode", - ], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - Name: {}, - PhysicalTableMap: { shape: "S1h" }, - LogicalTableMap: { shape: "S21" }, - ImportMode: {}, - ColumnGroups: { shape: "S2s" }, - RowLevelPermissionDataSet: { shape: "S2y" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - DataSetId: {}, - IngestionArn: {}, - IngestionId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateDataSetPermissions: { - http: { - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSetId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - GrantPermissions: { shape: "St" }, - RevokePermissions: { shape: "St" }, - }, - }, - output: { - type: "structure", - members: { - DataSetArn: {}, - DataSetId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateDataSource: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSourceId", "Name"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - Name: {}, - DataSourceParameters: { shape: "S33" }, - Credentials: { shape: "S43" }, - VpcConnectionProperties: { shape: "S47" }, - SslProperties: { shape: "S48" }, - }, - }, - output: { - type: "structure", - members: { - Arn: {}, - DataSourceId: {}, - UpdateStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateDataSourcePermissions: { - http: { - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "DataSourceId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - GrantPermissions: { shape: "St" }, - RevokePermissions: { shape: "St" }, - }, - }, - output: { - type: "structure", - members: { - DataSourceArn: {}, - DataSourceId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateGroup: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", - }, - input: { - type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - Description: {}, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - Group: { shape: "S4f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateIAMPolicyAssignment: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "AssignmentName", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: { - location: "uri", - locationName: "AssignmentName", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - AssignmentStatus: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - }, - }, - output: { - type: "structure", - members: { - AssignmentName: {}, - AssignmentId: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - AssignmentStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateTemplate: { - http: { - method: "PUT", - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId", "SourceEntity"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - SourceEntity: { shape: "S4w" }, - VersionDescription: {}, - Name: {}, - }, - }, - output: { - type: "structure", - members: { - TemplateId: {}, - Arn: {}, - VersionArn: {}, - CreationStatus: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - UpdateTemplateAlias: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, - input: { - type: "structure", - required: [ - "AwsAccountId", - "TemplateId", - "AliasName", - "TemplateVersionNumber", - ], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, - TemplateVersionNumber: { type: "long" }, - }, - }, - output: { - type: "structure", - members: { - TemplateAlias: { shape: "S54" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, - }, - }, - UpdateTemplatePermissions: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - GrantPermissions: { shape: "S9k" }, - RevokePermissions: { shape: "S9k" }, - }, - }, - output: { - type: "structure", - members: { - TemplateId: {}, - TemplateArn: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - UpdateUser: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", - }, - input: { - type: "structure", - required: [ - "UserName", - "AwsAccountId", - "Namespace", - "Email", - "Role", - ], - members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - Email: {}, - Role: {}, - }, - }, - output: { - type: "structure", - members: { - User: { shape: "S7f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - }, - shapes: { - Sb: { - type: "structure", - members: { - StringParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { Name: {}, Values: { type: "list", member: {} } }, - }, - }, - IntegerParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { type: "long" } }, - }, - }, - }, - DecimalParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { type: "double" } }, - }, - }, - }, - DateTimeParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { type: "timestamp" } }, - }, - }, - }, - }, - }, - St: { type: "list", member: { shape: "Su" } }, - Su: { - type: "structure", - required: ["Principal", "Actions"], - members: { Principal: {}, Actions: { type: "list", member: {} } }, - }, - Sx: { - type: "structure", - members: { - SourceTemplate: { - type: "structure", - required: ["DataSetReferences", "Arn"], - members: { DataSetReferences: { shape: "Sz" }, Arn: {} }, - }, - }, - }, - Sz: { - type: "list", - member: { - type: "structure", - required: ["DataSetPlaceholder", "DataSetArn"], - members: { DataSetPlaceholder: {}, DataSetArn: {} }, - }, - }, - S11: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S16: { - type: "structure", - members: { - AdHocFilteringOption: { - type: "structure", - members: { AvailabilityStatus: {} }, - }, - ExportToCSVOption: { - type: "structure", - members: { AvailabilityStatus: {} }, - }, - SheetControlsOption: { - type: "structure", - members: { VisibilityState: {} }, - }, - }, - }, - S1h: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - RelationalTable: { - type: "structure", - required: ["DataSourceArn", "Name", "InputColumns"], - members: { - DataSourceArn: {}, - Schema: {}, - Name: {}, - InputColumns: { shape: "S1n" }, - }, - }, - CustomSql: { - type: "structure", - required: ["DataSourceArn", "Name", "SqlQuery"], - members: { - DataSourceArn: {}, - Name: {}, - SqlQuery: {}, - Columns: { shape: "S1n" }, - }, - }, - S3Source: { - type: "structure", - required: ["DataSourceArn", "InputColumns"], - members: { - DataSourceArn: {}, - UploadSettings: { - type: "structure", - members: { - Format: {}, - StartFromRow: { type: "integer" }, - ContainsHeader: { type: "boolean" }, - TextQualifier: {}, - Delimiter: {}, - }, - }, - InputColumns: { shape: "S1n" }, - }, - }, - }, - }, - }, - S1n: { - type: "list", - member: { - type: "structure", - required: ["Name", "Type"], - members: { Name: {}, Type: {} }, - }, - }, - S21: { - type: "map", - key: {}, - value: { - type: "structure", - required: ["Alias", "Source"], - members: { - Alias: {}, - DataTransforms: { - type: "list", - member: { - type: "structure", - members: { - ProjectOperation: { - type: "structure", - required: ["ProjectedColumns"], - members: { - ProjectedColumns: { type: "list", member: {} }, - }, - }, - FilterOperation: { - type: "structure", - required: ["ConditionExpression"], - members: { ConditionExpression: {} }, - }, - CreateColumnsOperation: { - type: "structure", - required: ["Columns"], - members: { - Columns: { - type: "list", - member: { - type: "structure", - required: [ - "ColumnName", - "ColumnId", - "Expression", - ], - members: { - ColumnName: {}, - ColumnId: {}, - Expression: {}, - }, - }, - }, - }, - }, - RenameColumnOperation: { - type: "structure", - required: ["ColumnName", "NewColumnName"], - members: { ColumnName: {}, NewColumnName: {} }, - }, - CastColumnTypeOperation: { - type: "structure", - required: ["ColumnName", "NewColumnType"], - members: { - ColumnName: {}, - NewColumnType: {}, - Format: {}, - }, - }, - TagColumnOperation: { - type: "structure", - required: ["ColumnName", "Tags"], - members: { - ColumnName: {}, - Tags: { - type: "list", - member: { - type: "structure", - members: { ColumnGeographicRole: {} }, - }, - }, - }, - }, - }, - }, - }, - Source: { - type: "structure", - members: { - JoinInstruction: { - type: "structure", - required: [ - "LeftOperand", - "RightOperand", - "Type", - "OnClause", - ], - members: { - LeftOperand: {}, - RightOperand: {}, - Type: {}, - OnClause: {}, - }, - }, - PhysicalTableId: {}, - }, - }, - }, - }, - }, - S2s: { - type: "list", - member: { - type: "structure", - members: { - GeoSpatialColumnGroup: { - type: "structure", - required: ["Name", "CountryCode", "Columns"], - members: { - Name: {}, - CountryCode: {}, - Columns: { type: "list", member: {} }, - }, - }, - }, - }, - }, - S2y: { - type: "structure", - required: ["Arn", "PermissionPolicy"], - members: { Arn: {}, PermissionPolicy: {} }, - }, - S33: { - type: "structure", - members: { - AmazonElasticsearchParameters: { - type: "structure", - required: ["Domain"], - members: { Domain: {} }, - }, - AthenaParameters: { - type: "structure", - members: { WorkGroup: {} }, - }, - AuroraParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - AuroraPostgreSqlParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - AwsIotAnalyticsParameters: { - type: "structure", - required: ["DataSetName"], - members: { DataSetName: {} }, - }, - JiraParameters: { - type: "structure", - required: ["SiteBaseUrl"], - members: { SiteBaseUrl: {} }, - }, - MariaDbParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - MySqlParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - PostgreSqlParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - PrestoParameters: { - type: "structure", - required: ["Host", "Port", "Catalog"], - members: { Host: {}, Port: { type: "integer" }, Catalog: {} }, - }, - RdsParameters: { - type: "structure", - required: ["InstanceId", "Database"], - members: { InstanceId: {}, Database: {} }, - }, - RedshiftParameters: { - type: "structure", - required: ["Database"], - members: { - Host: {}, - Port: { type: "integer" }, - Database: {}, - ClusterId: {}, - }, - }, - S3Parameters: { - type: "structure", - required: ["ManifestFileLocation"], - members: { - ManifestFileLocation: { - type: "structure", - required: ["Bucket", "Key"], - members: { Bucket: {}, Key: {} }, - }, - }, - }, - ServiceNowParameters: { - type: "structure", - required: ["SiteBaseUrl"], - members: { SiteBaseUrl: {} }, - }, - SnowflakeParameters: { - type: "structure", - required: ["Host", "Database", "Warehouse"], - members: { Host: {}, Database: {}, Warehouse: {} }, - }, - SparkParameters: { - type: "structure", - required: ["Host", "Port"], - members: { Host: {}, Port: { type: "integer" } }, - }, - SqlServerParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - TeradataParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - TwitterParameters: { - type: "structure", - required: ["Query", "MaxRows"], - members: { Query: {}, MaxRows: { type: "integer" } }, - }, - }, - }, - S43: { - type: "structure", - members: { - CredentialPair: { - type: "structure", - required: ["Username", "Password"], - members: { Username: {}, Password: {} }, - }, - }, - sensitive: true, - }, - S47: { - type: "structure", - required: ["VpcConnectionArn"], - members: { VpcConnectionArn: {} }, - }, - S48: { - type: "structure", - members: { DisableSsl: { type: "boolean" } }, - }, - S4f: { - type: "structure", - members: { - Arn: {}, - GroupName: {}, - Description: {}, - PrincipalId: {}, - }, - }, - S4j: { type: "structure", members: { Arn: {}, MemberName: {} } }, - S4n: { type: "map", key: {}, value: { type: "list", member: {} } }, - S4w: { - type: "structure", - members: { - SourceAnalysis: { - type: "structure", - required: ["Arn", "DataSetReferences"], - members: { Arn: {}, DataSetReferences: { shape: "Sz" } }, - }, - SourceTemplate: { - type: "structure", - required: ["Arn"], - members: { Arn: {} }, - }, - }, - }, - S54: { - type: "structure", - members: { - AliasName: {}, - Arn: {}, - TemplateVersionNumber: { type: "long" }, - }, - }, - S68: { - type: "structure", - members: { - Arn: {}, - DataSourceId: {}, - Name: {}, - Type: {}, - Status: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - DataSourceParameters: { shape: "S33" }, - VpcConnectionProperties: { shape: "S47" }, - SslProperties: { shape: "S48" }, - ErrorInfo: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, - }, - S6k: { - type: "structure", - required: ["Arn", "IngestionStatus", "CreatedTime"], - members: { - Arn: {}, - IngestionId: {}, - IngestionStatus: {}, - ErrorInfo: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - RowInfo: { - type: "structure", - members: { - RowsIngested: { type: "long" }, - RowsDropped: { type: "long" }, - }, - }, - QueueInfo: { - type: "structure", - required: ["WaitingOnIngestion", "QueuedIngestion"], - members: { WaitingOnIngestion: {}, QueuedIngestion: {} }, - }, - CreatedTime: { type: "timestamp" }, - IngestionTimeInSeconds: { type: "long" }, - IngestionSizeInBytes: { type: "long" }, - RequestSource: {}, - RequestType: {}, - }, - }, - S7f: { - type: "structure", - members: { - Arn: {}, - UserName: {}, - Email: {}, - Role: {}, - IdentityType: {}, - Active: { type: "boolean" }, - PrincipalId: {}, - }, - }, - S7u: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - DashboardId: {}, - Name: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - PublishedVersionNumber: { type: "long" }, - LastPublishedTime: { type: "timestamp" }, - }, - }, - }, - S88: { type: "list", member: { shape: "S4f" } }, - S9k: { type: "list", member: { shape: "Su" } }, - }, - }; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['wafregional'] = {}; +AWS.WAFRegional = Service.defineService('wafregional', ['2016-11-28']); +Object.defineProperty(apiLoader.services['wafregional'], '2016-11-28', { + get: function get() { + var model = __webpack_require__(8296); + model.paginators = __webpack_require__(3396).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 3265: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = getPage; +module.exports = AWS.WAFRegional; - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); - const HttpError = __webpack_require__(2297); - function getPage(octokit, link, which, headers) { - deprecate( - `octokit.get${ - which.charAt(0).toUpperCase() + which.slice(1) - }Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - const url = getPageLinks(link)[which]; +/***/ }), - if (!url) { - const urlError = new HttpError(`No ${which} page found`, 404); - return Promise.reject(urlError); - } +/***/ 2719: +/***/ (function(module) { - const requestOptions = { - url, - headers: applyAcceptHeader(link, headers), - }; +module.exports = {"pagination":{}}; - const promise = octokit.request(requestOptions); +/***/ }), - return promise; - } +/***/ 2726: +/***/ (function(module) { - function applyAcceptHeader(res, headers) { - const previous = res.headers && res.headers["x-github-media-type"]; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-06-02","endpointPrefix":"shield","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"AWS Shield","serviceFullName":"AWS Shield","serviceId":"Shield","signatureVersion":"v4","targetPrefix":"AWSShield_20160616","uid":"shield-2016-06-02"},"operations":{"AssociateDRTLogBucket":{"input":{"type":"structure","required":["LogBucket"],"members":{"LogBucket":{}}},"output":{"type":"structure","members":{}}},"AssociateDRTRole":{"input":{"type":"structure","required":["RoleArn"],"members":{"RoleArn":{}}},"output":{"type":"structure","members":{}}},"AssociateHealthCheck":{"input":{"type":"structure","required":["ProtectionId","HealthCheckArn"],"members":{"ProtectionId":{},"HealthCheckArn":{}}},"output":{"type":"structure","members":{}}},"AssociateProactiveEngagementDetails":{"input":{"type":"structure","required":["EmergencyContactList"],"members":{"EmergencyContactList":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"CreateProtection":{"input":{"type":"structure","required":["Name","ResourceArn"],"members":{"Name":{},"ResourceArn":{}}},"output":{"type":"structure","members":{"ProtectionId":{}}}},"CreateProtectionGroup":{"input":{"type":"structure","required":["ProtectionGroupId","Aggregation","Pattern"],"members":{"ProtectionGroupId":{},"Aggregation":{},"Pattern":{},"ResourceType":{},"Members":{"shape":"Sr"}}},"output":{"type":"structure","members":{}}},"CreateSubscription":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DeleteProtection":{"input":{"type":"structure","required":["ProtectionId"],"members":{"ProtectionId":{}}},"output":{"type":"structure","members":{}}},"DeleteProtectionGroup":{"input":{"type":"structure","required":["ProtectionGroupId"],"members":{"ProtectionGroupId":{}}},"output":{"type":"structure","members":{}}},"DeleteSubscription":{"input":{"type":"structure","members":{},"deprecated":true},"output":{"type":"structure","members":{},"deprecated":true},"deprecated":true},"DescribeAttack":{"input":{"type":"structure","required":["AttackId"],"members":{"AttackId":{}}},"output":{"type":"structure","members":{"Attack":{"type":"structure","members":{"AttackId":{},"ResourceArn":{},"SubResources":{"type":"list","member":{"type":"structure","members":{"Type":{},"Id":{},"AttackVectors":{"type":"list","member":{"type":"structure","required":["VectorType"],"members":{"VectorType":{},"VectorCounters":{"shape":"S1b"}}}},"Counters":{"shape":"S1b"}}}},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"AttackCounters":{"shape":"S1b"},"AttackProperties":{"type":"list","member":{"type":"structure","members":{"AttackLayer":{},"AttackPropertyIdentifier":{},"TopContributors":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"long"}}}},"Unit":{},"Total":{"type":"long"}}}},"Mitigations":{"type":"list","member":{"type":"structure","members":{"MitigationName":{}}}}}}}}},"DescribeAttackStatistics":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["TimeRange","DataItems"],"members":{"TimeRange":{"shape":"S1s"},"DataItems":{"type":"list","member":{"type":"structure","required":["AttackCount"],"members":{"AttackVolume":{"type":"structure","members":{"BitsPerSecond":{"shape":"S1w"},"PacketsPerSecond":{"shape":"S1w"},"RequestsPerSecond":{"shape":"S1w"}}},"AttackCount":{"type":"long"}}}}}}},"DescribeDRTAccess":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"RoleArn":{},"LogBucketList":{"type":"list","member":{}}}}},"DescribeEmergencyContactSettings":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"EmergencyContactList":{"shape":"Sc"}}}},"DescribeProtection":{"input":{"type":"structure","members":{"ProtectionId":{},"ResourceArn":{}}},"output":{"type":"structure","members":{"Protection":{"shape":"S24"}}}},"DescribeProtectionGroup":{"input":{"type":"structure","required":["ProtectionGroupId"],"members":{"ProtectionGroupId":{}}},"output":{"type":"structure","required":["ProtectionGroup"],"members":{"ProtectionGroup":{"shape":"S29"}}}},"DescribeSubscription":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Subscription":{"type":"structure","required":["SubscriptionLimits"],"members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"TimeCommitmentInSeconds":{"type":"long"},"AutoRenew":{},"Limits":{"shape":"S2g"},"ProactiveEngagementStatus":{},"SubscriptionLimits":{"type":"structure","required":["ProtectionLimits","ProtectionGroupLimits"],"members":{"ProtectionLimits":{"type":"structure","required":["ProtectedResourceTypeLimits"],"members":{"ProtectedResourceTypeLimits":{"shape":"S2g"}}},"ProtectionGroupLimits":{"type":"structure","required":["MaxProtectionGroups","PatternTypeLimits"],"members":{"MaxProtectionGroups":{"type":"long"},"PatternTypeLimits":{"type":"structure","required":["ArbitraryPatternLimits"],"members":{"ArbitraryPatternLimits":{"type":"structure","required":["MaxMembers"],"members":{"MaxMembers":{"type":"long"}}}}}}}}}}}}}},"DisableProactiveEngagement":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateDRTLogBucket":{"input":{"type":"structure","required":["LogBucket"],"members":{"LogBucket":{}}},"output":{"type":"structure","members":{}}},"DisassociateDRTRole":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateHealthCheck":{"input":{"type":"structure","required":["ProtectionId","HealthCheckArn"],"members":{"ProtectionId":{},"HealthCheckArn":{}}},"output":{"type":"structure","members":{}}},"EnableProactiveEngagement":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"GetSubscriptionState":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["SubscriptionState"],"members":{"SubscriptionState":{}}}},"ListAttacks":{"input":{"type":"structure","members":{"ResourceArns":{"type":"list","member":{}},"StartTime":{"shape":"S1s"},"EndTime":{"shape":"S1s"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AttackSummaries":{"type":"list","member":{"type":"structure","members":{"AttackId":{},"ResourceArn":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"AttackVectors":{"type":"list","member":{"type":"structure","required":["VectorType"],"members":{"VectorType":{}}}}}}},"NextToken":{}}}},"ListProtectionGroups":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ProtectionGroups"],"members":{"ProtectionGroups":{"type":"list","member":{"shape":"S29"}},"NextToken":{}}}},"ListProtections":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Protections":{"type":"list","member":{"shape":"S24"}},"NextToken":{}}}},"ListResourcesInProtectionGroup":{"input":{"type":"structure","required":["ProtectionGroupId"],"members":{"ProtectionGroupId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ResourceArns"],"members":{"ResourceArns":{"type":"list","member":{}},"NextToken":{}}}},"UpdateEmergencyContactSettings":{"input":{"type":"structure","members":{"EmergencyContactList":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"UpdateProtectionGroup":{"input":{"type":"structure","required":["ProtectionGroupId","Aggregation","Pattern"],"members":{"ProtectionGroupId":{},"Aggregation":{},"Pattern":{},"ResourceType":{},"Members":{"shape":"Sr"}}},"output":{"type":"structure","members":{}}},"UpdateSubscription":{"input":{"type":"structure","members":{"AutoRenew":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"Sc":{"type":"list","member":{"type":"structure","required":["EmailAddress"],"members":{"EmailAddress":{},"PhoneNumber":{},"ContactNotes":{}}}},"Sr":{"type":"list","member":{}},"S1b":{"type":"list","member":{"type":"structure","members":{"Name":{},"Max":{"type":"double"},"Average":{"type":"double"},"Sum":{"type":"double"},"N":{"type":"integer"},"Unit":{}}}},"S1s":{"type":"structure","members":{"FromInclusive":{"type":"timestamp"},"ToExclusive":{"type":"timestamp"}}},"S1w":{"type":"structure","required":["Max"],"members":{"Max":{"type":"double"}}},"S24":{"type":"structure","members":{"Id":{},"Name":{},"ResourceArn":{},"HealthCheckIds":{"type":"list","member":{}}}},"S29":{"type":"structure","required":["ProtectionGroupId","Aggregation","Pattern","Members"],"members":{"ProtectionGroupId":{},"Aggregation":{},"Pattern":{},"ResourceType":{},"Members":{"shape":"Sr"}}},"S2g":{"type":"list","member":{"type":"structure","members":{"Type":{},"Max":{"type":"long"}}}}}}; - if (!previous || (headers && headers.accept)) { - return headers; - } - headers = headers || {}; - headers.accept = - "application/vnd." + - previous.replace("; param=", ".").replace("; format=", "+"); +/***/ }), - return headers; - } +/***/ 2732: +/***/ (function(module) { - /***/ - }, +module.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":{}}}},"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"}}}},"CreateEventBus":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"EventSourceName":{},"Tags":{"shape":"Sm"}}},"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":{}}}},"DeleteArchive":{"input":{"type":"structure","required":["ArchiveName"],"members":{"ArchiveName":{}}},"output":{"type":"structure","members":{}}},"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"}}}},"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"}}}},"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":"S1h"},"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":{}}}},"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":{}}}},"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":"Sm"}}}},"ListTargetsByRule":{"input":{"type":"structure","required":["Rule"],"members":{"Rule":{},"EventBusName":{},"NextToken":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"Targets":{"shape":"S2y"},"NextToken":{}}}},"PutEvents":{"input":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","members":{"Time":{"type":"timestamp"},"Source":{},"Resources":{"shape":"S4g"},"DetailType":{},"Detail":{},"EventBusName":{}}}}}},"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":"S4g"},"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":"Sm"},"EventBusName":{}}},"output":{"type":"structure","members":{"RuleArn":{}}}},"PutTargets":{"input":{"type":"structure","required":["Rule","Targets"],"members":{"Rule":{},"EventBusName":{},"Targets":{"shape":"S2y"}}},"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":"S1h"}}},"output":{"type":"structure","members":{"ReplayArn":{},"State":{},"StateReason":{},"ReplayStartTime":{"type":"timestamp"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"Sm"}}},"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":{}}},"UpdateArchive":{"input":{"type":"structure","required":["ArchiveName"],"members":{"ArchiveName":{},"Description":{},"EventPattern":{},"RetentionDays":{"type":"integer"}}},"output":{"type":"structure","members":{"ArchiveArn":{},"State":{},"StateReason":{},"CreationTime":{"type":"timestamp"}}}}},"shapes":{"Sm":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S1h":{"type":"structure","required":["Arn"],"members":{"Arn":{},"FilterArns":{"type":"list","member":{}}}},"S2y":{"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":"S3k"},"SecurityGroups":{"shape":"S3k"},"AssignPublicIp":{}}}}},"PlatformVersion":{},"Group":{}}},"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"}}},"DeadLetterConfig":{"type":"structure","members":{"Arn":{}}},"RetryPolicy":{"type":"structure","members":{"MaximumRetryAttempts":{"type":"integer"},"MaximumEventAgeInSeconds":{"type":"integer"}}}}}},"S3k":{"type":"list","member":{}},"S4g":{"type":"list","member":{}}}}; - /***/ 3315: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var Rest = __webpack_require__(4618); - var Json = __webpack_require__(9912); - var JsonBuilder = __webpack_require__(337); - var JsonParser = __webpack_require__(9806); - - function populateBody(req) { - var builder = new JsonBuilder(); - var input = req.service.api.operations[req.operation].input; - - if (input.payload) { - var params = {}; - var payloadShape = input.members[input.payload]; - params = req.params[input.payload]; - if (params === undefined) return; - - if (payloadShape.type === "structure") { - req.httpRequest.body = builder.build(params, payloadShape); - applyContentTypeHeader(req); - } else { - // non-JSON payload - req.httpRequest.body = params; - if (payloadShape.type === "binary" || payloadShape.isStreaming) { - applyContentTypeHeader(req, true); +/***/ }), + +/***/ 2747: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['sagemakerruntime'] = {}; +AWS.SageMakerRuntime = Service.defineService('sagemakerruntime', ['2017-05-13']); +Object.defineProperty(apiLoader.services['sagemakerruntime'], '2017-05-13', { + get: function get() { + var model = __webpack_require__(3387); + model.paginators = __webpack_require__(9239).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.SageMakerRuntime; + + +/***/ }), + +/***/ 2750: +/***/ (function(module, __unusedexports, __webpack_require__) { + +// Generated by CoffeeScript 1.12.7 +(function() { + var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLText, XMLWriterBase, + extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + hasProp = {}.hasOwnProperty; + + XMLDeclaration = __webpack_require__(7738); + + XMLDocType = __webpack_require__(5735); + + XMLCData = __webpack_require__(9657); + + XMLComment = __webpack_require__(7919); + + XMLElement = __webpack_require__(5796); + + XMLRaw = __webpack_require__(7660); + + XMLText = __webpack_require__(9708); + + XMLProcessingInstruction = __webpack_require__(2491); + + XMLDTDAttList = __webpack_require__(3801); + + XMLDTDElement = __webpack_require__(9463); + + XMLDTDEntity = __webpack_require__(7661); + + XMLDTDNotation = __webpack_require__(9019); + + XMLWriterBase = __webpack_require__(9423); + + module.exports = XMLStringWriter = (function(superClass) { + extend(XMLStringWriter, superClass); + + function XMLStringWriter(options) { + XMLStringWriter.__super__.constructor.call(this, options); + } + + XMLStringWriter.prototype.document = function(doc) { + var child, i, len, r, ref; + this.textispresent = false; + r = ''; + ref = doc.children; + for (i = 0, len = ref.length; i < len; i++) { + child = ref[i]; + r += (function() { + switch (false) { + case !(child instanceof XMLDeclaration): + return this.declaration(child); + case !(child instanceof XMLDocType): + return this.docType(child); + case !(child instanceof XMLComment): + return this.comment(child); + case !(child instanceof XMLProcessingInstruction): + return this.processingInstruction(child); + default: + return this.element(child, 0); + } + }).call(this); + } + if (this.pretty && r.slice(-this.newline.length) === this.newline) { + r = r.slice(0, -this.newline.length); + } + return r; + }; + + XMLStringWriter.prototype.attribute = function(att) { + return ' ' + att.name + '="' + att.value + '"'; + }; + + XMLStringWriter.prototype.cdata = function(node, level) { + return this.space(level) + '' + this.newline; + }; + + XMLStringWriter.prototype.comment = function(node, level) { + return this.space(level) + '' + this.newline; + }; + + XMLStringWriter.prototype.declaration = function(node, level) { + var r; + r = this.space(level); + r += ''; + r += this.newline; + return r; + }; + + XMLStringWriter.prototype.docType = function(node, level) { + var child, i, len, r, ref; + level || (level = 0); + r = this.space(level); + r += ' 0) { + r += ' ['; + r += this.newline; + ref = node.children; + for (i = 0, len = ref.length; i < len; i++) { + child = ref[i]; + r += (function() { + switch (false) { + case !(child instanceof XMLDTDAttList): + return this.dtdAttList(child, level + 1); + case !(child instanceof XMLDTDElement): + return this.dtdElement(child, level + 1); + case !(child instanceof XMLDTDEntity): + return this.dtdEntity(child, level + 1); + case !(child instanceof XMLDTDNotation): + return this.dtdNotation(child, level + 1); + case !(child instanceof XMLCData): + return this.cdata(child, level + 1); + case !(child instanceof XMLComment): + return this.comment(child, level + 1); + case !(child instanceof XMLProcessingInstruction): + return this.processingInstruction(child, level + 1); + default: + throw new Error("Unknown DTD node type: " + child.constructor.name); } - } + }).call(this); + } + r += ']'; + } + r += this.spacebeforeslash + '>'; + r += this.newline; + return r; + }; + + XMLStringWriter.prototype.element = function(node, level) { + var att, child, i, j, len, len1, name, r, ref, ref1, ref2, space, textispresentwasset; + level || (level = 0); + textispresentwasset = false; + if (this.textispresent) { + this.newline = ''; + this.pretty = false; + } else { + this.newline = this.newlinedefault; + this.pretty = this.prettydefault; + } + space = this.space(level); + r = ''; + r += space + '<' + node.name; + ref = node.attributes; + for (name in ref) { + if (!hasProp.call(ref, name)) continue; + att = ref[name]; + r += this.attribute(att); + } + if (node.children.length === 0 || node.children.every(function(e) { + return e.value === ''; + })) { + if (this.allowEmpty) { + r += '>' + this.newline; } else { - var body = builder.build(req.params, input); - if (body !== "{}" || req.httpRequest.method !== "GET") { - //don't send empty body for GET method - req.httpRequest.body = body; + r += this.spacebeforeslash + '/>' + this.newline; + } + } else if (this.pretty && node.children.length === 1 && (node.children[0].value != null)) { + r += '>'; + r += node.children[0].value; + r += '' + this.newline; + } else { + if (this.dontprettytextnodes) { + ref1 = node.children; + for (i = 0, len = ref1.length; i < len; i++) { + child = ref1[i]; + if (child.value != null) { + this.textispresent++; + textispresentwasset = true; + break; + } } - applyContentTypeHeader(req); } + if (this.textispresent) { + this.newline = ''; + this.pretty = false; + space = this.space(level); + } + r += '>' + this.newline; + ref2 = node.children; + for (j = 0, len1 = ref2.length; j < len1; j++) { + child = ref2[j]; + r += (function() { + switch (false) { + case !(child instanceof XMLCData): + return this.cdata(child, level + 1); + case !(child instanceof XMLComment): + return this.comment(child, level + 1); + case !(child instanceof XMLElement): + return this.element(child, level + 1); + case !(child instanceof XMLRaw): + return this.raw(child, level + 1); + case !(child instanceof XMLText): + return this.text(child, level + 1); + case !(child instanceof XMLProcessingInstruction): + return this.processingInstruction(child, level + 1); + default: + throw new Error("Unknown XML node type: " + child.constructor.name); + } + }).call(this); + } + if (textispresentwasset) { + this.textispresent--; + } + if (!this.textispresent) { + this.newline = this.newlinedefault; + this.pretty = this.prettydefault; + } + r += space + '' + this.newline; } + return r; + }; - function applyContentTypeHeader(req, isBinary) { - var operation = req.service.api.operations[req.operation]; - var input = operation.input; - - if (!req.httpRequest.headers["Content-Type"]) { - var type = isBinary ? "binary/octet-stream" : "application/json"; - req.httpRequest.headers["Content-Type"] = type; - } + XMLStringWriter.prototype.processingInstruction = function(node, level) { + var r; + r = this.space(level) + '' + this.newline; + return r; + }; - function buildRequest(req) { - Rest.buildRequest(req); + XMLStringWriter.prototype.raw = function(node, level) { + return this.space(level) + node.value + this.newline; + }; - // never send body payload on HEAD/DELETE - if (["HEAD", "DELETE"].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } - } + XMLStringWriter.prototype.text = function(node, level) { + return this.space(level) + node.value + this.newline; + }; - function extractError(resp) { - Json.extractError(resp); + XMLStringWriter.prototype.dtdAttList = function(node, level) { + var r; + r = this.space(level) + '' + this.newline; + return r; + }; - function extractData(resp) { - Rest.extractData(resp); + XMLStringWriter.prototype.dtdElement = function(node, level) { + return this.space(level) + '' + this.newline; + }; - var req = resp.request; - var operation = req.service.api.operations[req.operation]; - var rules = req.service.api.operations[req.operation].output || {}; - var parser; - var hasEventOutput = operation.hasEventOutput; - - if (rules.payload) { - var payloadMember = rules.members[rules.payload]; - var body = resp.httpResponse.body; - if (payloadMember.isEventStream) { - parser = new JsonParser(); - resp.data[payload] = util.createEventStream( - AWS.HttpClient.streamsApiVersion === 2 - ? resp.httpResponse.stream - : body, - parser, - payloadMember - ); - } else if ( - payloadMember.type === "structure" || - payloadMember.type === "list" - ) { - var parser = new JsonParser(); - resp.data[rules.payload] = parser.parse(body, payloadMember); - } else if ( - payloadMember.type === "binary" || - payloadMember.isStreaming - ) { - resp.data[rules.payload] = body; - } else { - resp.data[rules.payload] = payloadMember.toType(body); + XMLStringWriter.prototype.dtdEntity = function(node, level) { + var r; + r = this.space(level) + '' + this.newline; + return r; + }; + + XMLStringWriter.prototype.dtdNotation = function(node, level) { + var r; + r = this.space(level) + '' + this.newline; + return r; + }; + + XMLStringWriter.prototype.openNode = function(node, level) { + var att, name, r, ref; + level || (level = 0); + if (node instanceof XMLElement) { + r = this.space(level) + '<' + node.name; + ref = node.attributes; + for (name in ref) { + if (!hasProp.call(ref, name)) continue; + att = ref[name]; + r += this.attribute(att); + } + r += (node.children ? '>' : '/>') + this.newline; + return r; + } else { + r = this.space(level) + '') + this.newline; + return r; + } + }; + + XMLStringWriter.prototype.closeNode = function(node, level) { + level || (level = 0); + switch (false) { + case !(node instanceof XMLElement): + return this.space(level) + '' + this.newline; + case !(node instanceof XMLDocType): + return this.space(level) + ']>' + this.newline; + } + }; + + return XMLStringWriter; + + })(XMLWriterBase); + +}).call(this); + + +/***/ }), + +/***/ 2751: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +__webpack_require__(3711); +var inherit = AWS.util.inherit; + +/** + * Represents a metadata service available on EC2 instances. Using the + * {request} method, you can receieve metadata about any available resource + * on the metadata service. + * + * You can disable the use of the IMDS by setting the AWS_EC2_METADATA_DISABLED + * environment variable to a truthy value. + * + * @!attribute [r] httpOptions + * @return [map] a map of options to pass to the underlying HTTP request: + * + * * **timeout** (Number) — a timeout value in milliseconds to wait + * before aborting the connection. Set to 0 for no timeout. + * + * @!macro nobrowser + */ +AWS.MetadataService = inherit({ + /** + * @return [String] the hostname of the instance metadata service + */ + host: '169.254.169.254', + + /** + * @!ignore + */ + + /** + * Default HTTP options. By default, the metadata service is set to not + * timeout on long requests. This means that on non-EC2 machines, this + * request will never return. If you are calling this operation from an + * environment that may not always run on EC2, set a `timeout` value so + * the SDK will abort the request after a given number of milliseconds. + */ + httpOptions: { timeout: 0 }, + + /** + * when enabled, metadata service will not fetch token + */ + disableFetchToken: false, + + /** + * Creates a new MetadataService object with a given set of options. + * + * @option options host [String] the hostname of the instance metadata + * service + * @option options httpOptions [map] a map of options to pass to the + * underlying HTTP request: + * + * * **timeout** (Number) — a timeout value in milliseconds to wait + * before aborting the connection. Set to 0 for no timeout. + * @option options maxRetries [Integer] the maximum number of retries to + * perform for timeout errors + * @option options retryDelayOptions [map] A set of options to configure the + * retry delay on retryable errors. See AWS.Config for details. + */ + constructor: function MetadataService(options) { + AWS.util.update(this, options); + }, + + /** + * Sends a request to the instance metadata service for a given resource. + * + * @param path [String] the path of the resource to get + * + * @param options [map] an optional map used to make request + * + * * **method** (String) — HTTP request method + * + * * **headers** (map) — a map of response header keys and their respective values + * + * @callback callback function(err, data) + * Called when a response is available from the service. + * @param err [Error, null] if an error occurred, this value will be set + * @param data [String, null] if the request was successful, the body of + * the response + */ + request: function request(path, options, callback) { + if (arguments.length === 2) { + callback = options; + options = {}; + } + + if (process.env[AWS.util.imdsDisabledEnv]) { + callback(new Error('EC2 Instance Metadata Service access disabled')); + return; + } + + path = path || '/'; + var httpRequest = new AWS.HttpRequest('http://' + this.host + path); + httpRequest.method = options.method || 'GET'; + if (options.headers) { + httpRequest.headers = options.headers; + } + AWS.util.handleRequestWithRetries(httpRequest, this, callback); + }, + + /** + * @api private + */ + loadCredentialsCallbacks: [], + + /** + * Fetches metadata token used for getting credentials + * + * @api private + * @callback callback function(err, token) + * Called when token is loaded from the resource + */ + fetchMetadataToken: function fetchMetadataToken(callback) { + var self = this; + var tokenFetchPath = '/latest/api/token'; + self.request( + tokenFetchPath, + { + 'method': 'PUT', + 'headers': { + 'x-aws-ec2-metadata-token-ttl-seconds': '21600' + } + }, + callback + ); + }, + + /** + * Fetches credentials + * + * @api private + * @callback cb function(err, creds) + * Called when credentials are loaded from the resource + */ + fetchCredentials: function fetchCredentials(options, cb) { + var self = this; + var basePath = '/latest/meta-data/iam/security-credentials/'; + + self.request(basePath, options, function (err, roleName) { + if (err) { + self.disableFetchToken = !(err.statusCode === 401); + cb(AWS.util.error( + err, + { + message: 'EC2 Metadata roleName request returned error' } - } else { - var data = resp.data; - Json.extractData(resp); - resp.data = util.merge(data, resp.data); - } + )); + return; } + roleName = roleName.split('\n')[0]; // grab first (and only) role + self.request(basePath + roleName, options, function (credErr, credData) { + if (credErr) { + self.disableFetchToken = !(credErr.statusCode === 401); + cb(AWS.util.error( + credErr, + { + message: 'EC2 Metadata creds request returned error' + } + )); + return; + } + try { + var credentials = JSON.parse(credData); + cb(null, credentials); + } catch (parseError) { + cb(parseError); + } + }); + }); + }, + + /** + * Loads a set of credentials stored in the instance metadata service + * + * @api private + * @callback callback function(err, credentials) + * Called when credentials are loaded from the resource + * @param err [Error] if an error occurred, this value will be set + * @param credentials [Object] the raw JSON object containing all + * metadata from the credentials resource + */ + loadCredentials: function loadCredentials(callback) { + var self = this; + self.loadCredentialsCallbacks.push(callback); + if (self.loadCredentialsCallbacks.length > 1) { return; } + + function callbacks(err, creds) { + var cb; + while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) { + cb(err, creds); + } + } + + if (self.disableFetchToken) { + self.fetchCredentials({}, callbacks); + } else { + self.fetchMetadataToken(function(tokenError, token) { + if (tokenError) { + if (tokenError.code === 'TimeoutError') { + self.disableFetchToken = true; + } else if (tokenError.retryable === true) { + callbacks(AWS.util.error( + tokenError, + { + message: 'EC2 Metadata token request returned error' + } + )); + return; + } else if (tokenError.statusCode === 400) { + callbacks(AWS.util.error( + tokenError, + { + message: 'EC2 Metadata token request returned 400' + } + )); + return; + } + } + var options = {}; + if (token) { + options.headers = { + 'x-aws-ec2-metadata-token': token + }; + } + self.fetchCredentials(options, callbacks); + }); - /** - * @api private - */ - module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData, - }; + } + } +}); - /***/ - }, +/** + * @api private + */ +module.exports = AWS.MetadataService; - /***/ 3336: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = hasLastPage; - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); +/***/ }), - function hasLastPage(link) { - deprecate( - `octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - return getPageLinks(link).last; - } +/***/ 2760: +/***/ (function(module) { - /***/ - }, +module.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":true}},"NextToken":{}}}}},"shapes":{}}; - /***/ 3346: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["mq"] = {}; - AWS.MQ = Service.defineService("mq", ["2017-11-27"]); - Object.defineProperty(apiLoader.services["mq"], "2017-11-27", { - get: function get() { - var model = __webpack_require__(4074); - model.paginators = __webpack_require__(7571).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 2766: +/***/ (function(module) { - module.exports = AWS.MQ; +module.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":{}}}}; - /***/ - }, +/***/ }), - /***/ 3370: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-11-01", - endpointPrefix: "eks", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Amazon EKS", - serviceFullName: "Amazon Elastic Kubernetes Service", - serviceId: "EKS", - signatureVersion: "v4", - signingName: "eks", - uid: "eks-2017-11-01", - }, - operations: { - CreateCluster: { - http: { requestUri: "/clusters" }, - input: { - type: "structure", - required: ["name", "roleArn", "resourcesVpcConfig"], - members: { - name: {}, - version: {}, - roleArn: {}, - resourcesVpcConfig: { shape: "S4" }, - logging: { shape: "S7" }, - clientRequestToken: { idempotencyToken: true }, - tags: { shape: "Sc" }, - encryptionConfig: { shape: "Sf" }, - }, - }, - output: { - type: "structure", - members: { cluster: { shape: "Sj" } }, - }, - }, - CreateFargateProfile: { - http: { requestUri: "/clusters/{name}/fargate-profiles" }, - input: { - type: "structure", - required: [ - "fargateProfileName", - "clusterName", - "podExecutionRoleArn", - ], - members: { - fargateProfileName: {}, - clusterName: { location: "uri", locationName: "name" }, - podExecutionRoleArn: {}, - subnets: { shape: "S5" }, - selectors: { shape: "Ss" }, - clientRequestToken: { idempotencyToken: true }, - tags: { shape: "Sc" }, - }, - }, - output: { - type: "structure", - members: { fargateProfile: { shape: "Sw" } }, - }, - }, - CreateNodegroup: { - http: { requestUri: "/clusters/{name}/node-groups" }, - input: { - type: "structure", - required: ["clusterName", "nodegroupName", "subnets", "nodeRole"], - members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: {}, - scalingConfig: { shape: "Sz" }, - diskSize: { type: "integer" }, - subnets: { shape: "S5" }, - instanceTypes: { shape: "S5" }, - amiType: {}, - remoteAccess: { shape: "S13" }, - nodeRole: {}, - labels: { shape: "S14" }, - tags: { shape: "Sc" }, - clientRequestToken: { idempotencyToken: true }, - version: {}, - releaseVersion: {}, - }, - }, - output: { - type: "structure", - members: { nodegroup: { shape: "S18" } }, - }, - }, - DeleteCluster: { - http: { method: "DELETE", requestUri: "/clusters/{name}" }, - input: { - type: "structure", - required: ["name"], - members: { name: { location: "uri", locationName: "name" } }, - }, - output: { - type: "structure", - members: { cluster: { shape: "Sj" } }, - }, - }, - DeleteFargateProfile: { - http: { - method: "DELETE", - requestUri: - "/clusters/{name}/fargate-profiles/{fargateProfileName}", - }, - input: { - type: "structure", - required: ["clusterName", "fargateProfileName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - fargateProfileName: { - location: "uri", - locationName: "fargateProfileName", - }, - }, - }, - output: { - type: "structure", - members: { fargateProfile: { shape: "Sw" } }, - }, - }, - DeleteNodegroup: { - http: { - method: "DELETE", - requestUri: "/clusters/{name}/node-groups/{nodegroupName}", - }, - input: { - type: "structure", - required: ["clusterName", "nodegroupName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, - }, - }, - output: { - type: "structure", - members: { nodegroup: { shape: "S18" } }, - }, - }, - DescribeCluster: { - http: { method: "GET", requestUri: "/clusters/{name}" }, - input: { - type: "structure", - required: ["name"], - members: { name: { location: "uri", locationName: "name" } }, - }, - output: { - type: "structure", - members: { cluster: { shape: "Sj" } }, - }, - }, - DescribeFargateProfile: { - http: { - method: "GET", - requestUri: - "/clusters/{name}/fargate-profiles/{fargateProfileName}", - }, - input: { - type: "structure", - required: ["clusterName", "fargateProfileName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - fargateProfileName: { - location: "uri", - locationName: "fargateProfileName", - }, - }, - }, - output: { - type: "structure", - members: { fargateProfile: { shape: "Sw" } }, - }, - }, - DescribeNodegroup: { - http: { - method: "GET", - requestUri: "/clusters/{name}/node-groups/{nodegroupName}", - }, - input: { - type: "structure", - required: ["clusterName", "nodegroupName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, - }, - }, - output: { - type: "structure", - members: { nodegroup: { shape: "S18" } }, - }, - }, - DescribeUpdate: { - http: { - method: "GET", - requestUri: "/clusters/{name}/updates/{updateId}", - }, - input: { - type: "structure", - required: ["name", "updateId"], - members: { - name: { location: "uri", locationName: "name" }, - updateId: { location: "uri", locationName: "updateId" }, - nodegroupName: { - location: "querystring", - locationName: "nodegroupName", - }, - }, - }, - output: { - type: "structure", - members: { update: { shape: "S1v" } }, - }, - }, - ListClusters: { - http: { method: "GET", requestUri: "/clusters" }, - input: { - type: "structure", - members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { clusters: { shape: "S5" }, nextToken: {} }, - }, - }, - ListFargateProfiles: { - http: { - method: "GET", - requestUri: "/clusters/{name}/fargate-profiles", - }, - input: { - type: "structure", - required: ["clusterName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { fargateProfileNames: { shape: "S5" }, nextToken: {} }, - }, - }, - ListNodegroups: { - http: { method: "GET", requestUri: "/clusters/{name}/node-groups" }, - input: { - type: "structure", - required: ["clusterName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { nodegroups: { shape: "S5" }, 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: "Sc" } } }, - }, - ListUpdates: { - http: { method: "GET", requestUri: "/clusters/{name}/updates" }, - input: { - type: "structure", - required: ["name"], - members: { - name: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "querystring", - locationName: "nodegroupName", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { updateIds: { shape: "S5" }, nextToken: {} }, - }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sc" }, - }, - }, - 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: {} }, - }, - UpdateClusterConfig: { - http: { requestUri: "/clusters/{name}/update-config" }, - input: { - type: "structure", - required: ["name"], - members: { - name: { location: "uri", locationName: "name" }, - resourcesVpcConfig: { shape: "S4" }, - logging: { shape: "S7" }, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { update: { shape: "S1v" } }, - }, - }, - UpdateClusterVersion: { - http: { requestUri: "/clusters/{name}/updates" }, - input: { - type: "structure", - required: ["name", "version"], - members: { - name: { location: "uri", locationName: "name" }, - version: {}, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { update: { shape: "S1v" } }, - }, - }, - UpdateNodegroupConfig: { - http: { - requestUri: - "/clusters/{name}/node-groups/{nodegroupName}/update-config", - }, - input: { - type: "structure", - required: ["clusterName", "nodegroupName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, - labels: { - type: "structure", - members: { - addOrUpdateLabels: { shape: "S14" }, - removeLabels: { type: "list", member: {} }, - }, - }, - scalingConfig: { shape: "Sz" }, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { update: { shape: "S1v" } }, - }, - }, - UpdateNodegroupVersion: { - http: { - requestUri: - "/clusters/{name}/node-groups/{nodegroupName}/update-version", - }, - input: { - type: "structure", - required: ["clusterName", "nodegroupName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, - version: {}, - releaseVersion: {}, - force: { type: "boolean" }, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { update: { shape: "S1v" } }, - }, - }, - }, - shapes: { - S4: { - type: "structure", - members: { - subnetIds: { shape: "S5" }, - securityGroupIds: { shape: "S5" }, - endpointPublicAccess: { type: "boolean" }, - endpointPrivateAccess: { type: "boolean" }, - publicAccessCidrs: { shape: "S5" }, - }, - }, - S5: { type: "list", member: {} }, - S7: { - type: "structure", - members: { - clusterLogging: { - type: "list", - member: { - type: "structure", - members: { - types: { type: "list", member: {} }, - enabled: { type: "boolean" }, - }, - }, - }, - }, - }, - Sc: { type: "map", key: {}, value: {} }, - Sf: { - type: "list", - member: { - type: "structure", - members: { - resources: { shape: "S5" }, - provider: { type: "structure", members: { keyArn: {} } }, - }, - }, - }, - Sj: { - type: "structure", - members: { - name: {}, - arn: {}, - createdAt: { type: "timestamp" }, - version: {}, - endpoint: {}, - roleArn: {}, - resourcesVpcConfig: { - type: "structure", - members: { - subnetIds: { shape: "S5" }, - securityGroupIds: { shape: "S5" }, - clusterSecurityGroupId: {}, - vpcId: {}, - endpointPublicAccess: { type: "boolean" }, - endpointPrivateAccess: { type: "boolean" }, - publicAccessCidrs: { shape: "S5" }, - }, - }, - logging: { shape: "S7" }, - identity: { - type: "structure", - members: { - oidc: { type: "structure", members: { issuer: {} } }, - }, - }, - status: {}, - certificateAuthority: { - type: "structure", - members: { data: {} }, - }, - clientRequestToken: {}, - platformVersion: {}, - tags: { shape: "Sc" }, - encryptionConfig: { shape: "Sf" }, - }, - }, - Ss: { - type: "list", - member: { - type: "structure", - members: { - namespace: {}, - labels: { type: "map", key: {}, value: {} }, - }, - }, - }, - Sw: { - type: "structure", - members: { - fargateProfileName: {}, - fargateProfileArn: {}, - clusterName: {}, - createdAt: { type: "timestamp" }, - podExecutionRoleArn: {}, - subnets: { shape: "S5" }, - selectors: { shape: "Ss" }, - status: {}, - tags: { shape: "Sc" }, - }, - }, - Sz: { - type: "structure", - members: { - minSize: { type: "integer" }, - maxSize: { type: "integer" }, - desiredSize: { type: "integer" }, - }, - }, - S13: { - type: "structure", - members: { ec2SshKey: {}, sourceSecurityGroups: { shape: "S5" } }, - }, - S14: { type: "map", key: {}, value: {} }, - S18: { - type: "structure", - members: { - nodegroupName: {}, - nodegroupArn: {}, - clusterName: {}, - version: {}, - releaseVersion: {}, - createdAt: { type: "timestamp" }, - modifiedAt: { type: "timestamp" }, - status: {}, - scalingConfig: { shape: "Sz" }, - instanceTypes: { shape: "S5" }, - subnets: { shape: "S5" }, - remoteAccess: { shape: "S13" }, - amiType: {}, - nodeRole: {}, - labels: { shape: "S14" }, - resources: { - type: "structure", - members: { - autoScalingGroups: { - type: "list", - member: { type: "structure", members: { name: {} } }, - }, - remoteAccessSecurityGroup: {}, - }, - }, - diskSize: { type: "integer" }, - health: { - type: "structure", - members: { - issues: { - type: "list", - member: { - type: "structure", - members: { - code: {}, - message: {}, - resourceIds: { shape: "S5" }, - }, - }, - }, - }, - }, - tags: { shape: "Sc" }, - }, - }, - S1v: { - type: "structure", - members: { - id: {}, - status: {}, - type: {}, - params: { - type: "list", - member: { type: "structure", members: { type: {}, value: {} } }, - }, - createdAt: { type: "timestamp" }, - errors: { - type: "list", - member: { - type: "structure", - members: { - errorCode: {}, - errorMessage: {}, - resourceIds: { shape: "S5" }, - }, - }, - }, - }, - }, - }, - }; +/***/ 2802: +/***/ (function(__unusedmodule, exports) { - /***/ - }, +(function(exports) { + "use strict"; - /***/ 3387: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-05-13", - endpointPrefix: "runtime.sagemaker", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "Amazon SageMaker Runtime", - serviceId: "SageMaker Runtime", - signatureVersion: "v4", - signingName: "sagemaker", - uid: "runtime.sagemaker-2017-05-13", - }, - operations: { - InvokeEndpoint: { - http: { requestUri: "/endpoints/{EndpointName}/invocations" }, - input: { - type: "structure", - required: ["EndpointName", "Body"], - members: { - EndpointName: { location: "uri", locationName: "EndpointName" }, - Body: { shape: "S3" }, - ContentType: { - location: "header", - locationName: "Content-Type", - }, - Accept: { location: "header", locationName: "Accept" }, - CustomAttributes: { - shape: "S5", - location: "header", - locationName: "X-Amzn-SageMaker-Custom-Attributes", - }, - TargetModel: { - location: "header", - locationName: "X-Amzn-SageMaker-Target-Model", - }, - }, - payload: "Body", - }, - output: { - type: "structure", - required: ["Body"], - members: { - Body: { shape: "S3" }, - ContentType: { - location: "header", - locationName: "Content-Type", - }, - InvokedProductionVariant: { - location: "header", - locationName: "x-Amzn-Invoked-Production-Variant", - }, - CustomAttributes: { - shape: "S5", - location: "header", - locationName: "X-Amzn-SageMaker-Custom-Attributes", - }, - }, - payload: "Body", - }, - }, - }, - shapes: { - S3: { type: "blob", sensitive: true }, - S5: { type: "string", sensitive: true }, - }, - }; + function isArray(obj) { + if (obj !== null) { + return Object.prototype.toString.call(obj) === "[object Array]"; + } else { + return false; + } + } - /***/ - }, + function isObject(obj) { + if (obj !== null) { + return Object.prototype.toString.call(obj) === "[object Object]"; + } else { + return false; + } + } - /***/ 3393: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2013-01-01", - endpointPrefix: "cloudsearch", - protocol: "query", - serviceFullName: "Amazon CloudSearch", - serviceId: "CloudSearch", - signatureVersion: "v4", - uid: "cloudsearch-2013-01-01", - xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/", - }, - operations: { - BuildSuggesters: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "BuildSuggestersResult", - type: "structure", - members: { FieldNames: { shape: "S4" } }, - }, - }, - CreateDomain: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "CreateDomainResult", - type: "structure", - members: { DomainStatus: { shape: "S8" } }, - }, - }, - DefineAnalysisScheme: { - input: { - type: "structure", - required: ["DomainName", "AnalysisScheme"], - members: { DomainName: {}, AnalysisScheme: { shape: "Sl" } }, - }, - output: { - resultWrapper: "DefineAnalysisSchemeResult", - type: "structure", - required: ["AnalysisScheme"], - members: { AnalysisScheme: { shape: "Ss" } }, - }, - }, - DefineExpression: { - input: { - type: "structure", - required: ["DomainName", "Expression"], - members: { DomainName: {}, Expression: { shape: "Sy" } }, - }, - output: { - resultWrapper: "DefineExpressionResult", - type: "structure", - required: ["Expression"], - members: { Expression: { shape: "S11" } }, - }, - }, - DefineIndexField: { - input: { - type: "structure", - required: ["DomainName", "IndexField"], - members: { DomainName: {}, IndexField: { shape: "S13" } }, - }, - output: { - resultWrapper: "DefineIndexFieldResult", - type: "structure", - required: ["IndexField"], - members: { IndexField: { shape: "S1n" } }, - }, - }, - DefineSuggester: { - input: { - type: "structure", - required: ["DomainName", "Suggester"], - members: { DomainName: {}, Suggester: { shape: "S1p" } }, - }, - output: { - resultWrapper: "DefineSuggesterResult", - type: "structure", - required: ["Suggester"], - members: { Suggester: { shape: "S1t" } }, - }, - }, - DeleteAnalysisScheme: { - input: { - type: "structure", - required: ["DomainName", "AnalysisSchemeName"], - members: { DomainName: {}, AnalysisSchemeName: {} }, - }, - output: { - resultWrapper: "DeleteAnalysisSchemeResult", - type: "structure", - required: ["AnalysisScheme"], - members: { AnalysisScheme: { shape: "Ss" } }, - }, - }, - DeleteDomain: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "DeleteDomainResult", - type: "structure", - members: { DomainStatus: { shape: "S8" } }, - }, - }, - DeleteExpression: { - input: { - type: "structure", - required: ["DomainName", "ExpressionName"], - members: { DomainName: {}, ExpressionName: {} }, - }, - output: { - resultWrapper: "DeleteExpressionResult", - type: "structure", - required: ["Expression"], - members: { Expression: { shape: "S11" } }, - }, - }, - DeleteIndexField: { - input: { - type: "structure", - required: ["DomainName", "IndexFieldName"], - members: { DomainName: {}, IndexFieldName: {} }, - }, - output: { - resultWrapper: "DeleteIndexFieldResult", - type: "structure", - required: ["IndexField"], - members: { IndexField: { shape: "S1n" } }, - }, - }, - DeleteSuggester: { - input: { - type: "structure", - required: ["DomainName", "SuggesterName"], - members: { DomainName: {}, SuggesterName: {} }, - }, - output: { - resultWrapper: "DeleteSuggesterResult", - type: "structure", - required: ["Suggester"], - members: { Suggester: { shape: "S1t" } }, - }, - }, - DescribeAnalysisSchemes: { - input: { - type: "structure", - required: ["DomainName"], - members: { - DomainName: {}, - AnalysisSchemeNames: { shape: "S25" }, - Deployed: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DescribeAnalysisSchemesResult", - type: "structure", - required: ["AnalysisSchemes"], - members: { - AnalysisSchemes: { type: "list", member: { shape: "Ss" } }, - }, - }, - }, - DescribeAvailabilityOptions: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {}, Deployed: { type: "boolean" } }, - }, - output: { - resultWrapper: "DescribeAvailabilityOptionsResult", - type: "structure", - members: { AvailabilityOptions: { shape: "S2a" } }, - }, - }, - DescribeDomainEndpointOptions: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {}, Deployed: { type: "boolean" } }, - }, - output: { - resultWrapper: "DescribeDomainEndpointOptionsResult", - type: "structure", - members: { DomainEndpointOptions: { shape: "S2e" } }, - }, - }, - DescribeDomains: { - input: { - type: "structure", - members: { DomainNames: { type: "list", member: {} } }, - }, - output: { - resultWrapper: "DescribeDomainsResult", - type: "structure", - required: ["DomainStatusList"], - members: { - DomainStatusList: { type: "list", member: { shape: "S8" } }, - }, - }, - }, - DescribeExpressions: { - input: { - type: "structure", - required: ["DomainName"], - members: { - DomainName: {}, - ExpressionNames: { shape: "S25" }, - Deployed: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DescribeExpressionsResult", - type: "structure", - required: ["Expressions"], - members: { - Expressions: { type: "list", member: { shape: "S11" } }, - }, - }, - }, - DescribeIndexFields: { - input: { - type: "structure", - required: ["DomainName"], - members: { - DomainName: {}, - FieldNames: { type: "list", member: {} }, - Deployed: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DescribeIndexFieldsResult", - type: "structure", - required: ["IndexFields"], - members: { - IndexFields: { type: "list", member: { shape: "S1n" } }, - }, - }, - }, - DescribeScalingParameters: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "DescribeScalingParametersResult", - type: "structure", - required: ["ScalingParameters"], - members: { ScalingParameters: { shape: "S2u" } }, - }, - }, - DescribeServiceAccessPolicies: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {}, Deployed: { type: "boolean" } }, - }, - output: { - resultWrapper: "DescribeServiceAccessPoliciesResult", - type: "structure", - required: ["AccessPolicies"], - members: { AccessPolicies: { shape: "S2z" } }, - }, - }, - DescribeSuggesters: { - input: { - type: "structure", - required: ["DomainName"], - members: { - DomainName: {}, - SuggesterNames: { shape: "S25" }, - Deployed: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DescribeSuggestersResult", - type: "structure", - required: ["Suggesters"], - members: { - Suggesters: { type: "list", member: { shape: "S1t" } }, - }, - }, - }, - IndexDocuments: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "IndexDocumentsResult", - type: "structure", - members: { FieldNames: { shape: "S4" } }, - }, - }, - ListDomainNames: { - output: { - resultWrapper: "ListDomainNamesResult", - type: "structure", - members: { DomainNames: { type: "map", key: {}, value: {} } }, - }, - }, - UpdateAvailabilityOptions: { - input: { - type: "structure", - required: ["DomainName", "MultiAZ"], - members: { DomainName: {}, MultiAZ: { type: "boolean" } }, - }, - output: { - resultWrapper: "UpdateAvailabilityOptionsResult", - type: "structure", - members: { AvailabilityOptions: { shape: "S2a" } }, - }, - }, - UpdateDomainEndpointOptions: { - input: { - type: "structure", - required: ["DomainName", "DomainEndpointOptions"], - members: { - DomainName: {}, - DomainEndpointOptions: { shape: "S2f" }, - }, - }, - output: { - resultWrapper: "UpdateDomainEndpointOptionsResult", - type: "structure", - members: { DomainEndpointOptions: { shape: "S2e" } }, - }, - }, - UpdateScalingParameters: { - input: { - type: "structure", - required: ["DomainName", "ScalingParameters"], - members: { DomainName: {}, ScalingParameters: { shape: "S2v" } }, - }, - output: { - resultWrapper: "UpdateScalingParametersResult", - type: "structure", - required: ["ScalingParameters"], - members: { ScalingParameters: { shape: "S2u" } }, - }, - }, - UpdateServiceAccessPolicies: { - input: { - type: "structure", - required: ["DomainName", "AccessPolicies"], - members: { DomainName: {}, AccessPolicies: {} }, - }, - output: { - resultWrapper: "UpdateServiceAccessPoliciesResult", - type: "structure", - required: ["AccessPolicies"], - members: { AccessPolicies: { shape: "S2z" } }, - }, - }, - }, - shapes: { - S4: { type: "list", member: {} }, - S8: { - type: "structure", - required: ["DomainId", "DomainName", "RequiresIndexDocuments"], - members: { - DomainId: {}, - DomainName: {}, - ARN: {}, - Created: { type: "boolean" }, - Deleted: { type: "boolean" }, - DocService: { shape: "Sc" }, - SearchService: { shape: "Sc" }, - RequiresIndexDocuments: { type: "boolean" }, - Processing: { type: "boolean" }, - SearchInstanceType: {}, - SearchPartitionCount: { type: "integer" }, - SearchInstanceCount: { type: "integer" }, - Limits: { - type: "structure", - required: ["MaximumReplicationCount", "MaximumPartitionCount"], - members: { - MaximumReplicationCount: { type: "integer" }, - MaximumPartitionCount: { type: "integer" }, - }, - }, - }, - }, - Sc: { type: "structure", members: { Endpoint: {} } }, - Sl: { - type: "structure", - required: ["AnalysisSchemeName", "AnalysisSchemeLanguage"], - members: { - AnalysisSchemeName: {}, - AnalysisSchemeLanguage: {}, - AnalysisOptions: { - type: "structure", - members: { - Synonyms: {}, - Stopwords: {}, - StemmingDictionary: {}, - JapaneseTokenizationDictionary: {}, - AlgorithmicStemming: {}, - }, - }, - }, - }, - Ss: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "Sl" }, Status: { shape: "St" } }, - }, - St: { - type: "structure", - required: ["CreationDate", "UpdateDate", "State"], - members: { - CreationDate: { type: "timestamp" }, - UpdateDate: { type: "timestamp" }, - UpdateVersion: { type: "integer" }, - State: {}, - PendingDeletion: { type: "boolean" }, - }, - }, - Sy: { - type: "structure", - required: ["ExpressionName", "ExpressionValue"], - members: { ExpressionName: {}, ExpressionValue: {} }, - }, - S11: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "Sy" }, Status: { shape: "St" } }, - }, - S13: { - type: "structure", - required: ["IndexFieldName", "IndexFieldType"], - members: { - IndexFieldName: {}, - IndexFieldType: {}, - IntOptions: { - type: "structure", - members: { - DefaultValue: { type: "long" }, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - DoubleOptions: { - type: "structure", - members: { - DefaultValue: { type: "double" }, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - LiteralOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - TextOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - HighlightEnabled: { type: "boolean" }, - AnalysisScheme: {}, - }, - }, - DateOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - LatLonOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - IntArrayOptions: { - type: "structure", - members: { - DefaultValue: { type: "long" }, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - }, - }, - DoubleArrayOptions: { - type: "structure", - members: { - DefaultValue: { type: "double" }, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - }, - }, - LiteralArrayOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - }, - }, - TextArrayOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceFields: {}, - ReturnEnabled: { type: "boolean" }, - HighlightEnabled: { type: "boolean" }, - AnalysisScheme: {}, - }, - }, - DateArrayOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - }, - }, - }, - }, - S1n: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S13" }, Status: { shape: "St" } }, - }, - S1p: { - type: "structure", - required: ["SuggesterName", "DocumentSuggesterOptions"], - members: { - SuggesterName: {}, - DocumentSuggesterOptions: { - type: "structure", - required: ["SourceField"], - members: { - SourceField: {}, - FuzzyMatching: {}, - SortExpression: {}, - }, - }, - }, - }, - S1t: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S1p" }, Status: { shape: "St" } }, - }, - S25: { type: "list", member: {} }, - S2a: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { type: "boolean" }, Status: { shape: "St" } }, - }, - S2e: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S2f" }, Status: { shape: "St" } }, - }, - S2f: { - type: "structure", - members: { - EnforceHTTPS: { type: "boolean" }, - TLSSecurityPolicy: {}, - }, - }, - S2u: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S2v" }, Status: { shape: "St" } }, - }, - S2v: { - type: "structure", - members: { - DesiredInstanceType: {}, - DesiredReplicationCount: { type: "integer" }, - DesiredPartitionCount: { type: "integer" }, - }, - }, - S2z: { - type: "structure", - required: ["Options", "Status"], - members: { Options: {}, Status: { shape: "St" } }, - }, - }, - }; - - /***/ - }, - - /***/ 3396: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 3405: /***/ function (module) { - module.exports = { - pagination: { - ListAliases: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListGroupMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListGroups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListMailboxPermissions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListOrganizations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListResourceDelegates: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListResources: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListUsers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; - - /***/ - }, - - /***/ 3410: /***/ function (module) { - module.exports = { - pagination: { - ListBundles: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListProjects: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; - - /***/ - }, - - /***/ 3413: /***/ function (module) { - module.exports = { - pagination: { - ListDevices: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListDomains: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListFleets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListWebsiteAuthorizationProviders: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListWebsiteCertificateAuthorities: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; - - /***/ - }, - - /***/ 3421: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, + function strictDeepEqual(first, second) { + // Check the scalar case first. + if (first === second) { + return true; + } + + // Check if they are the same type. + var firstType = Object.prototype.toString.call(first); + if (firstType !== Object.prototype.toString.call(second)) { + return false; + } + // We know that first and second have the same type so we can just check the + // first type from now on. + if (isArray(first) === true) { + // Short circuit if they're not the same length; + if (first.length !== second.length) { + return false; + } + for (var i = 0; i < first.length; i++) { + if (strictDeepEqual(first[i], second[i]) === false) { + return false; + } + } + return true; + } + if (isObject(first) === true) { + // An object is equal if it has the same key/value pairs. + var keysSeen = {}; + for (var key in first) { + if (hasOwnProperty.call(first, key)) { + if (strictDeepEqual(first[key], second[key]) === false) { + return false; + } + keysSeen[key] = true; + } + } + // Now check that there aren't any keys in second that weren't + // in first. + for (var key2 in second) { + if (hasOwnProperty.call(second, key2)) { + if (keysSeen[key2] !== true) { + return false; + } + } + } + return true; + } + return false; + } - /***/ 3458: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLCData, - XMLComment, - XMLDTDAttList, - XMLDTDElement, - XMLDTDEntity, - XMLDTDNotation, - XMLDeclaration, - XMLDocType, - XMLElement, - XMLProcessingInstruction, - XMLRaw, - XMLStreamWriter, - XMLText, - XMLWriterBase, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; + function isFalse(obj) { + // From the spec: + // A false value corresponds to the following values: + // Empty list + // Empty object + // Empty string + // False boolean + // null value + + // First check the scalar values. + if (obj === "" || obj === false || obj === null) { + return true; + } else if (isArray(obj) && obj.length === 0) { + // Check for an empty array. + return true; + } else if (isObject(obj)) { + // Check for an empty object. + for (var key in obj) { + // If there are any keys, then + // the object is not empty so the object + // is not false. + if (obj.hasOwnProperty(key)) { + return false; } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; - - XMLDeclaration = __webpack_require__(7738); - - XMLDocType = __webpack_require__(5735); - - XMLCData = __webpack_require__(9657); + } + return true; + } else { + return false; + } + } - XMLComment = __webpack_require__(7919); + function objValues(obj) { + var keys = Object.keys(obj); + var values = []; + for (var i = 0; i < keys.length; i++) { + values.push(obj[keys[i]]); + } + return values; + } - XMLElement = __webpack_require__(5796); + function merge(a, b) { + var merged = {}; + for (var key in a) { + merged[key] = a[key]; + } + for (var key2 in b) { + merged[key2] = b[key2]; + } + return merged; + } - XMLRaw = __webpack_require__(7660); + var trimLeft; + if (typeof String.prototype.trimLeft === "function") { + trimLeft = function(str) { + return str.trimLeft(); + }; + } else { + trimLeft = function(str) { + return str.match(/^\s*(.*)/)[1]; + }; + } - XMLText = __webpack_require__(9708); + // Type constants used to define functions. + var TYPE_NUMBER = 0; + var TYPE_ANY = 1; + var TYPE_STRING = 2; + var TYPE_ARRAY = 3; + var TYPE_OBJECT = 4; + var TYPE_BOOLEAN = 5; + var TYPE_EXPREF = 6; + var TYPE_NULL = 7; + var TYPE_ARRAY_NUMBER = 8; + var TYPE_ARRAY_STRING = 9; + + var TOK_EOF = "EOF"; + var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; + var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; + var TOK_RBRACKET = "Rbracket"; + var TOK_RPAREN = "Rparen"; + var TOK_COMMA = "Comma"; + var TOK_COLON = "Colon"; + var TOK_RBRACE = "Rbrace"; + var TOK_NUMBER = "Number"; + var TOK_CURRENT = "Current"; + var TOK_EXPREF = "Expref"; + var TOK_PIPE = "Pipe"; + var TOK_OR = "Or"; + var TOK_AND = "And"; + var TOK_EQ = "EQ"; + var TOK_GT = "GT"; + var TOK_LT = "LT"; + var TOK_GTE = "GTE"; + var TOK_LTE = "LTE"; + var TOK_NE = "NE"; + var TOK_FLATTEN = "Flatten"; + var TOK_STAR = "Star"; + var TOK_FILTER = "Filter"; + var TOK_DOT = "Dot"; + var TOK_NOT = "Not"; + var TOK_LBRACE = "Lbrace"; + var TOK_LBRACKET = "Lbracket"; + var TOK_LPAREN= "Lparen"; + var TOK_LITERAL= "Literal"; + + // The "&", "[", "<", ">" tokens + // are not in basicToken because + // there are two token variants + // ("&&", "[?", "<=", ">="). This is specially handled + // below. + + var basicTokens = { + ".": TOK_DOT, + "*": TOK_STAR, + ",": TOK_COMMA, + ":": TOK_COLON, + "{": TOK_LBRACE, + "}": TOK_RBRACE, + "]": TOK_RBRACKET, + "(": TOK_LPAREN, + ")": TOK_RPAREN, + "@": TOK_CURRENT + }; + + var operatorStartToken = { + "<": true, + ">": true, + "=": true, + "!": true + }; + + var skipChars = { + " ": true, + "\t": true, + "\n": true + }; + + + function isAlpha(ch) { + return (ch >= "a" && ch <= "z") || + (ch >= "A" && ch <= "Z") || + ch === "_"; + } - XMLProcessingInstruction = __webpack_require__(2491); + function isNum(ch) { + return (ch >= "0" && ch <= "9") || + ch === "-"; + } + function isAlphaNum(ch) { + return (ch >= "a" && ch <= "z") || + (ch >= "A" && ch <= "Z") || + (ch >= "0" && ch <= "9") || + ch === "_"; + } - XMLDTDAttList = __webpack_require__(3801); + function Lexer() { + } + Lexer.prototype = { + tokenize: function(stream) { + var tokens = []; + this._current = 0; + var start; + var identifier; + var token; + while (this._current < stream.length) { + if (isAlpha(stream[this._current])) { + start = this._current; + identifier = this._consumeUnquotedIdentifier(stream); + tokens.push({type: TOK_UNQUOTEDIDENTIFIER, + value: identifier, + start: start}); + } else if (basicTokens[stream[this._current]] !== undefined) { + tokens.push({type: basicTokens[stream[this._current]], + value: stream[this._current], + start: this._current}); + this._current++; + } else if (isNum(stream[this._current])) { + token = this._consumeNumber(stream); + tokens.push(token); + } else if (stream[this._current] === "[") { + // No need to increment this._current. This happens + // in _consumeLBracket + token = this._consumeLBracket(stream); + tokens.push(token); + } else if (stream[this._current] === "\"") { + start = this._current; + identifier = this._consumeQuotedIdentifier(stream); + tokens.push({type: TOK_QUOTEDIDENTIFIER, + value: identifier, + start: start}); + } else if (stream[this._current] === "'") { + start = this._current; + identifier = this._consumeRawStringLiteral(stream); + tokens.push({type: TOK_LITERAL, + value: identifier, + start: start}); + } else if (stream[this._current] === "`") { + start = this._current; + var literal = this._consumeLiteral(stream); + tokens.push({type: TOK_LITERAL, + value: literal, + start: start}); + } else if (operatorStartToken[stream[this._current]] !== undefined) { + tokens.push(this._consumeOperator(stream)); + } else if (skipChars[stream[this._current]] !== undefined) { + // Ignore whitespace. + this._current++; + } else if (stream[this._current] === "&") { + start = this._current; + this._current++; + if (stream[this._current] === "&") { + this._current++; + tokens.push({type: TOK_AND, value: "&&", start: start}); + } else { + tokens.push({type: TOK_EXPREF, value: "&", start: start}); + } + } else if (stream[this._current] === "|") { + start = this._current; + this._current++; + if (stream[this._current] === "|") { + this._current++; + tokens.push({type: TOK_OR, value: "||", start: start}); + } else { + tokens.push({type: TOK_PIPE, value: "|", start: start}); + } + } else { + var error = new Error("Unknown character:" + stream[this._current]); + error.name = "LexerError"; + throw error; + } + } + return tokens; + }, - XMLDTDElement = __webpack_require__(9463); + _consumeUnquotedIdentifier: function(stream) { + var start = this._current; + this._current++; + while (this._current < stream.length && isAlphaNum(stream[this._current])) { + this._current++; + } + return stream.slice(start, this._current); + }, - XMLDTDEntity = __webpack_require__(7661); + _consumeQuotedIdentifier: function(stream) { + var start = this._current; + this._current++; + var maxLength = stream.length; + while (stream[this._current] !== "\"" && this._current < maxLength) { + // You can escape a double quote and you can escape an escape. + var current = this._current; + if (stream[current] === "\\" && (stream[current + 1] === "\\" || + stream[current + 1] === "\"")) { + current += 2; + } else { + current++; + } + this._current = current; + } + this._current++; + return JSON.parse(stream.slice(start, this._current)); + }, - XMLDTDNotation = __webpack_require__(9019); + _consumeRawStringLiteral: function(stream) { + var start = this._current; + this._current++; + var maxLength = stream.length; + while (stream[this._current] !== "'" && this._current < maxLength) { + // You can escape a single quote and you can escape an escape. + var current = this._current; + if (stream[current] === "\\" && (stream[current + 1] === "\\" || + stream[current + 1] === "'")) { + current += 2; + } else { + current++; + } + this._current = current; + } + this._current++; + var literal = stream.slice(start + 1, this._current - 1); + return literal.replace("\\'", "'"); + }, - XMLWriterBase = __webpack_require__(9423); + _consumeNumber: function(stream) { + var start = this._current; + this._current++; + var maxLength = stream.length; + while (isNum(stream[this._current]) && this._current < maxLength) { + this._current++; + } + var value = parseInt(stream.slice(start, this._current)); + return {type: TOK_NUMBER, value: value, start: start}; + }, - module.exports = XMLStreamWriter = (function (superClass) { - extend(XMLStreamWriter, superClass); + _consumeLBracket: function(stream) { + var start = this._current; + this._current++; + if (stream[this._current] === "?") { + this._current++; + return {type: TOK_FILTER, value: "[?", start: start}; + } else if (stream[this._current] === "]") { + this._current++; + return {type: TOK_FLATTEN, value: "[]", start: start}; + } else { + return {type: TOK_LBRACKET, value: "[", start: start}; + } + }, - function XMLStreamWriter(stream, options) { - XMLStreamWriter.__super__.constructor.call(this, options); - this.stream = stream; + _consumeOperator: function(stream) { + var start = this._current; + var startingChar = stream[start]; + this._current++; + if (startingChar === "!") { + if (stream[this._current] === "=") { + this._current++; + return {type: TOK_NE, value: "!=", start: start}; + } else { + return {type: TOK_NOT, value: "!", start: start}; + } + } else if (startingChar === "<") { + if (stream[this._current] === "=") { + this._current++; + return {type: TOK_LTE, value: "<=", start: start}; + } else { + return {type: TOK_LT, value: "<", start: start}; + } + } else if (startingChar === ">") { + if (stream[this._current] === "=") { + this._current++; + return {type: TOK_GTE, value: ">=", start: start}; + } else { + return {type: TOK_GT, value: ">", start: start}; + } + } else if (startingChar === "=") { + if (stream[this._current] === "=") { + this._current++; + return {type: TOK_EQ, value: "==", start: start}; + } } + }, - XMLStreamWriter.prototype.document = function (doc) { - var child, i, j, len, len1, ref, ref1, results; - ref = doc.children; - for (i = 0, len = ref.length; i < len; i++) { - child = ref[i]; - child.isLastRootNode = false; - } - doc.children[doc.children.length - 1].isLastRootNode = true; - ref1 = doc.children; - results = []; - for (j = 0, len1 = ref1.length; j < len1; j++) { - child = ref1[j]; - switch (false) { - case !(child instanceof XMLDeclaration): - results.push(this.declaration(child)); - break; - case !(child instanceof XMLDocType): - results.push(this.docType(child)); - break; - case !(child instanceof XMLComment): - results.push(this.comment(child)); - break; - case !(child instanceof XMLProcessingInstruction): - results.push(this.processingInstruction(child)); - break; - default: - results.push(this.element(child)); + _consumeLiteral: function(stream) { + this._current++; + var start = this._current; + var maxLength = stream.length; + var literal; + while(stream[this._current] !== "`" && this._current < maxLength) { + // You can escape a literal char or you can escape the escape. + var current = this._current; + if (stream[current] === "\\" && (stream[current + 1] === "\\" || + stream[current + 1] === "`")) { + current += 2; + } else { + current++; } - } - return results; - }; + this._current = current; + } + var literalString = trimLeft(stream.slice(start, this._current)); + literalString = literalString.replace("\\`", "`"); + if (this._looksLikeJSON(literalString)) { + literal = JSON.parse(literalString); + } else { + // Try to JSON parse it as "" + literal = JSON.parse("\"" + literalString + "\""); + } + // +1 gets us to the ending "`", +1 to move on to the next char. + this._current++; + return literal; + }, - XMLStreamWriter.prototype.attribute = function (att) { - return this.stream.write(" " + att.name + '="' + att.value + '"'); - }; + _looksLikeJSON: function(literalString) { + var startingChars = "[{\""; + var jsonLiterals = ["true", "false", "null"]; + var numberLooking = "-0123456789"; - XMLStreamWriter.prototype.cdata = function (node, level) { - return this.stream.write( - this.space(level) + - "" + - this.endline(node) - ); - }; + if (literalString === "") { + return false; + } else if (startingChars.indexOf(literalString[0]) >= 0) { + return true; + } else if (jsonLiterals.indexOf(literalString) >= 0) { + return true; + } else if (numberLooking.indexOf(literalString[0]) >= 0) { + try { + JSON.parse(literalString); + return true; + } catch (ex) { + return false; + } + } else { + return false; + } + } + }; + + var bindingPower = {}; + bindingPower[TOK_EOF] = 0; + bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; + bindingPower[TOK_QUOTEDIDENTIFIER] = 0; + bindingPower[TOK_RBRACKET] = 0; + bindingPower[TOK_RPAREN] = 0; + bindingPower[TOK_COMMA] = 0; + bindingPower[TOK_RBRACE] = 0; + bindingPower[TOK_NUMBER] = 0; + bindingPower[TOK_CURRENT] = 0; + bindingPower[TOK_EXPREF] = 0; + bindingPower[TOK_PIPE] = 1; + bindingPower[TOK_OR] = 2; + bindingPower[TOK_AND] = 3; + bindingPower[TOK_EQ] = 5; + bindingPower[TOK_GT] = 5; + bindingPower[TOK_LT] = 5; + bindingPower[TOK_GTE] = 5; + bindingPower[TOK_LTE] = 5; + bindingPower[TOK_NE] = 5; + bindingPower[TOK_FLATTEN] = 9; + bindingPower[TOK_STAR] = 20; + bindingPower[TOK_FILTER] = 21; + bindingPower[TOK_DOT] = 40; + bindingPower[TOK_NOT] = 45; + bindingPower[TOK_LBRACE] = 50; + bindingPower[TOK_LBRACKET] = 55; + bindingPower[TOK_LPAREN] = 60; + + function Parser() { + } - XMLStreamWriter.prototype.comment = function (node, level) { - return this.stream.write( - this.space(level) + - "" + - this.endline(node) - ); - }; + Parser.prototype = { + parse: function(expression) { + this._loadTokens(expression); + this.index = 0; + var ast = this.expression(0); + if (this._lookahead(0) !== TOK_EOF) { + var t = this._lookaheadToken(0); + var error = new Error( + "Unexpected token type: " + t.type + ", value: " + t.value); + error.name = "ParserError"; + throw error; + } + return ast; + }, - XMLStreamWriter.prototype.declaration = function (node, level) { - this.stream.write(this.space(level)); - this.stream.write('"); - return this.stream.write(this.endline(node)); - }; - - XMLStreamWriter.prototype.docType = function (node, level) { - var child, i, len, ref; - level || (level = 0); - this.stream.write(this.space(level)); - this.stream.write(" 0) { - this.stream.write(" ["); - this.stream.write(this.endline(node)); - ref = node.children; - for (i = 0, len = ref.length; i < len; i++) { - child = ref[i]; - switch (false) { - case !(child instanceof XMLDTDAttList): - this.dtdAttList(child, level + 1); - break; - case !(child instanceof XMLDTDElement): - this.dtdElement(child, level + 1); - break; - case !(child instanceof XMLDTDEntity): - this.dtdEntity(child, level + 1); - break; - case !(child instanceof XMLDTDNotation): - this.dtdNotation(child, level + 1); - break; - case !(child instanceof XMLCData): - this.cdata(child, level + 1); - break; - case !(child instanceof XMLComment): - this.comment(child, level + 1); - break; - case !(child instanceof XMLProcessingInstruction): - this.processingInstruction(child, level + 1); - break; - default: - throw new Error( - "Unknown DTD node type: " + child.constructor.name - ); - } + break; + case TOK_CURRENT: + return {type: TOK_CURRENT}; + case TOK_EXPREF: + expression = this.expression(bindingPower.Expref); + return {type: "ExpressionReference", children: [expression]}; + case TOK_LPAREN: + var args = []; + while (this._lookahead(0) !== TOK_RPAREN) { + if (this._lookahead(0) === TOK_CURRENT) { + expression = {type: TOK_CURRENT}; + this._advance(); + } else { + expression = this.expression(0); } - this.stream.write("]"); + args.push(expression); } - this.stream.write(this.spacebeforeslash + ">"); - return this.stream.write(this.endline(node)); - }; - - XMLStreamWriter.prototype.element = function (node, level) { - var att, child, i, len, name, ref, ref1, space; - level || (level = 0); - space = this.space(level); - this.stream.write(space + "<" + node.name); - ref = node.attributes; - for (name in ref) { - if (!hasProp.call(ref, name)) continue; - att = ref[name]; - this.attribute(att); + this._match(TOK_RPAREN); + return args[0]; + default: + this._errorToken(token); + } + }, + + led: function(tokenName, left) { + var right; + switch(tokenName) { + case TOK_DOT: + var rbp = bindingPower.Dot; + 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]}; } - if ( - node.children.length === 0 || - node.children.every(function (e) { - return e.value === ""; - }) - ) { - if (this.allowEmpty) { - this.stream.write(">"); + break; + case TOK_PIPE: + right = this.expression(bindingPower.Pipe); + return {type: TOK_PIPE, children: [left, right]}; + case TOK_OR: + right = this.expression(bindingPower.Or); + return {type: "OrExpression", children: [left, right]}; + case TOK_AND: + right = this.expression(bindingPower.And); + return {type: "AndExpression", children: [left, right]}; + case TOK_LPAREN: + var name = left.name; + var args = []; + var expression, node; + while (this._lookahead(0) !== TOK_RPAREN) { + if (this._lookahead(0) === TOK_CURRENT) { + expression = {type: TOK_CURRENT}; + this._advance(); } else { - this.stream.write(this.spacebeforeslash + "/>"); + expression = this.expression(0); + } + if (this._lookahead(0) === TOK_COMMA) { + this._match(TOK_COMMA); } - } else if ( - this.pretty && - node.children.length === 1 && - node.children[0].value != null - ) { - this.stream.write(">"); - this.stream.write(node.children[0].value); - this.stream.write(""); + args.push(expression); + } + this._match(TOK_RPAREN); + node = {type: "Function", name: name, children: args}; + return node; + case TOK_FILTER: + var condition = this.expression(0); + this._match(TOK_RBRACKET); + if (this._lookahead(0) === TOK_FLATTEN) { + right = {type: "Identity"}; } else { - this.stream.write(">" + this.newline); - ref1 = node.children; - for (i = 0, len = ref1.length; i < len; i++) { - child = ref1[i]; - switch (false) { - case !(child instanceof XMLCData): - this.cdata(child, level + 1); - break; - case !(child instanceof XMLComment): - this.comment(child, level + 1); - break; - case !(child instanceof XMLElement): - this.element(child, level + 1); - break; - case !(child instanceof XMLRaw): - this.raw(child, level + 1); - break; - case !(child instanceof XMLText): - this.text(child, level + 1); - break; - case !(child instanceof XMLProcessingInstruction): - this.processingInstruction(child, level + 1); - break; - default: - throw new Error( - "Unknown XML node type: " + child.constructor.name - ); - } - } - this.stream.write(space + ""); + right = this._parseProjectionRHS(bindingPower.Filter); + } + return {type: "FilterProjection", children: [left, right, condition]}; + case TOK_FLATTEN: + var leftNode = {type: TOK_FLATTEN, children: [left]}; + var rightNode = this._parseProjectionRHS(bindingPower.Flatten); + return {type: "Projection", children: [leftNode, rightNode]}; + case TOK_EQ: + case TOK_NE: + case TOK_GT: + case TOK_GTE: + case TOK_LT: + case TOK_LTE: + return this._parseComparator(left, tokenName); + case TOK_LBRACKET: + var token = this._lookaheadToken(0); + 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]}; } - return this.stream.write(this.endline(node)); - }; + break; + default: + this._errorToken(this._lookaheadToken(0)); + } + }, - XMLStreamWriter.prototype.processingInstruction = function ( - node, - level - ) { - this.stream.write(this.space(level) + "" + this.endline(node) - ); - }; + _match: function(tokenType) { + if (this._lookahead(0) === tokenType) { + this._advance(); + } else { + var t = this._lookaheadToken(0); + var error = new Error("Expected " + tokenType + ", got: " + t.type); + error.name = "ParserError"; + throw error; + } + }, - XMLStreamWriter.prototype.raw = function (node, level) { - return this.stream.write( - this.space(level) + node.value + this.endline(node) - ); - }; + _errorToken: function(token) { + var error = new Error("Invalid token (" + + token.type + "): \"" + + token.value + "\""); + error.name = "ParserError"; + throw error; + }, - XMLStreamWriter.prototype.text = function (node, level) { - return this.stream.write( - this.space(level) + node.value + this.endline(node) - ); - }; - XMLStreamWriter.prototype.dtdAttList = function (node, level) { - this.stream.write( - this.space(level) + - "" + this.endline(node) - ); - }; + _parseIndexExpression: function() { + if (this._lookahead(0) === TOK_COLON || this._lookahead(1) === TOK_COLON) { + return this._parseSliceExpression(); + } else { + var node = { + type: "Index", + value: this._lookaheadToken(0).value}; + this._advance(); + this._match(TOK_RBRACKET); + return node; + } + }, - XMLStreamWriter.prototype.dtdElement = function (node, level) { - this.stream.write( - this.space(level) + "" + this.endline(node) - ); - }; + _projectIfSlice: function(left, right) { + var indexExpr = {type: "IndexExpression", children: [left, right]}; + if (right.type === "Slice") { + return { + type: "Projection", + children: [indexExpr, this._parseProjectionRHS(bindingPower.Star)] + }; + } else { + return indexExpr; + } + }, - XMLStreamWriter.prototype.dtdEntity = function (node, level) { - this.stream.write(this.space(level) + "" + this.endline(node) - ); - }; - - XMLStreamWriter.prototype.dtdNotation = function (node, level) { - this.stream.write(this.space(level) + "" + this.endline(node) - ); - }; - - XMLStreamWriter.prototype.endline = function (node) { - if (!node.isLastRootNode) { - return this.newline; - } else { - return ""; - } + currentToken = this._lookahead(0); + } + this._match(TOK_RBRACKET); + return { + type: "Slice", + children: parts }; + }, - return XMLStreamWriter; - })(XMLWriterBase); - }.call(this)); - - /***/ - }, - - /***/ 3494: /***/ function (module) { - module.exports = { - pagination: { - DescribeEndpoints: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Endpoints", - }, - ListJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Jobs", - }, - ListPresets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Presets", - }, - ListJobTemplates: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "JobTemplates", - }, - ListQueues: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Queues", - }, - }, - }; - - /***/ - }, + _parseComparator: function(left, comparator) { + var right = this.expression(bindingPower[comparator]); + return {type: "Comparator", name: comparator, children: [left, right]}; + }, - /***/ 3497: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; + _parseDotRHS: function(rbp) { + var lookahead = this._lookahead(0); + var exprTokens = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER, TOK_STAR]; + if (exprTokens.indexOf(lookahead) >= 0) { + return this.expression(rbp); + } else if (lookahead === TOK_LBRACKET) { + this._match(TOK_LBRACKET); + return this._parseMultiselectList(); + } else if (lookahead === TOK_LBRACE) { + this._match(TOK_LBRACE); + return this._parseMultiselectHash(); + } + }, - Object.defineProperty(exports, "__esModule", { value: true }); + _parseProjectionRHS: function(rbp) { + var right; + if (bindingPower[this._lookahead(0)] < 10) { + right = {type: "Identity"}; + } else if (this._lookahead(0) === TOK_LBRACKET) { + right = this.expression(rbp); + } else if (this._lookahead(0) === TOK_FILTER) { + right = this.expression(rbp); + } else if (this._lookahead(0) === TOK_DOT) { + this._match(TOK_DOT); + right = this._parseDotRHS(rbp); + } else { + var t = this._lookaheadToken(0); + var error = new Error("Sytanx error, unexpected token: " + + t.value + "(" + t.type + ")"); + error.name = "ParserError"; + throw error; + } + return right; + }, - function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex - ? ex["default"] - : ex; + _parseMultiselectList: function() { + var expressions = []; + while (this._lookahead(0) !== TOK_RBRACKET) { + var expression = this.expression(0); + expressions.push(expression); + if (this._lookahead(0) === TOK_COMMA) { + this._match(TOK_COMMA); + if (this._lookahead(0) === TOK_RBRACKET) { + throw new Error("Unexpected token Rbracket"); + } + } + } + this._match(TOK_RBRACKET); + return {type: "MultiSelectList", children: expressions}; + }, + + _parseMultiselectHash: function() { + var pairs = []; + var identifierTypes = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER]; + var keyToken, keyName, value, node; + for (;;) { + keyToken = this._lookaheadToken(0); + if (identifierTypes.indexOf(keyToken.type) < 0) { + throw new Error("Expecting an identifier token, got: " + + keyToken.type); + } + keyName = keyToken.value; + this._advance(); + this._match(TOK_COLON); + value = this.expression(0); + node = {type: "KeyValuePair", name: keyName, value: value}; + pairs.push(node); + if (this._lookahead(0) === TOK_COMMA) { + this._match(TOK_COMMA); + } else if (this._lookahead(0) === TOK_RBRACE) { + this._match(TOK_RBRACE); + break; + } + } + return {type: "MultiSelectHash", children: pairs}; } + }; - var deprecation = __webpack_require__(7692); - var once = _interopDefault(__webpack_require__(6049)); - const logOnce = once((deprecation) => console.warn(deprecation)); - /** - * Error with extra properties to help with debugging - */ - - class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); // Maintains proper stack trace (only available on V8) + function TreeInterpreter(runtime) { + this.runtime = runtime; + } - /* istanbul ignore next */ + TreeInterpreter.prototype = { + search: function(node, value) { + return this.visit(node, value); + }, - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } + visit: function(node, value) { + 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)) { + field = value[node.name]; + if (field === undefined) { + return null; + } else { + return field; + } + } else { + return null; + } + break; + case "Subexpression": + result = this.visit(node.children[0], value); + for (i = 1; i < node.children.length; i++) { + result = this.visit(node.children[1], result); + if (result === null) { + return null; + } + } + return result; + case "IndexExpression": + left = this.visit(node.children[0], value); + right = this.visit(node.children[1], left); + return right; + case "Index": + if (!isArray(value)) { + return null; + } + var index = node.value; + if (index < 0) { + index = value.length + index; + } + result = value[index]; + if (result === undefined) { + result = null; + } + return result; + case "Slice": + if (!isArray(value)) { + return null; + } + var sliceParams = node.children.slice(0); + var computed = this.computeSliceParams(value.length, sliceParams); + var start = computed[0]; + var stop = computed[1]; + var step = computed[2]; + result = []; + if (step > 0) { + for (i = start; i < stop; i += step) { + result.push(value[i]); + } + } else { + for (i = start; i > stop; i += step) { + result.push(value[i]); + } + } + return result; + case "Projection": + // Evaluate left child. + var base = this.visit(node.children[0], value); + if (!isArray(base)) { + return null; + } + collected = []; + for (i = 0; i < base.length; i++) { + current = this.visit(node.children[1], base[i]); + if (current !== null) { + collected.push(current); + } + } + return collected; + case "ValueProjection": + // Evaluate left child. + base = this.visit(node.children[0], value); + if (!isObject(base)) { + return null; + } + collected = []; + var values = objValues(base); + for (i = 0; i < values.length; i++) { + current = this.visit(node.children[1], values[i]); + if (current !== null) { + collected.push(current); + } + } + return collected; + case "FilterProjection": + base = this.visit(node.children[0], value); + if (!isArray(base)) { + return null; + } + var filtered = []; + var finalResults = []; + for (i = 0; i < base.length; i++) { + matched = this.visit(node.children[2], base[i]); + if (!isFalse(matched)) { + filtered.push(base[i]); + } + } + for (var j = 0; j < filtered.length; j++) { + current = this.visit(node.children[1], filtered[j]); + if (current !== null) { + finalResults.push(current); + } + } + return finalResults; + case "Comparator": + first = this.visit(node.children[0], value); + second = this.visit(node.children[1], value); + switch(node.name) { + case TOK_EQ: + result = strictDeepEqual(first, second); + break; + case TOK_NE: + result = !strictDeepEqual(first, second); + break; + case TOK_GT: + result = first > second; + break; + case TOK_GTE: + result = first >= second; + break; + case TOK_LT: + result = first < second; + break; + case TOK_LTE: + result = first <= second; + break; + default: + throw new Error("Unknown comparator: " + node.name); + } + return result; + case TOK_FLATTEN: + var original = this.visit(node.children[0], value); + if (!isArray(original)) { + return null; + } + var merged = []; + for (i = 0; i < original.length; i++) { + current = original[i]; + if (isArray(current)) { + merged.push.apply(merged, current); + } else { + merged.push(current); + } + } + return merged; + case "Identity": + return value; + case "MultiSelectList": + if (value === null) { + return null; + } + collected = []; + for (i = 0; i < node.children.length; i++) { + collected.push(this.visit(node.children[i], value)); + } + return collected; + case "MultiSelectHash": + if (value === null) { + return null; + } + collected = {}; + var child; + for (i = 0; i < node.children.length; i++) { + child = node.children[i]; + collected[child.name] = this.visit(child.value, value); + } + return collected; + case "OrExpression": + matched = this.visit(node.children[0], value); + if (isFalse(matched)) { + matched = this.visit(node.children[1], value); + } + return matched; + case "AndExpression": + first = this.visit(node.children[0], value); + + if (isFalse(first) === true) { + return first; + } + return this.visit(node.children[1], value); + case "NotExpression": + first = this.visit(node.children[0], value); + return isFalse(first); + case "Literal": + return node.value; + case TOK_PIPE: + left = this.visit(node.children[0], value); + return this.visit(node.children[1], left); + case TOK_CURRENT: + return value; + case "Function": + var resolvedArgs = []; + for (i = 0; i < node.children.length; i++) { + resolvedArgs.push(this.visit(node.children[i], value)); + } + return this.runtime.callFunction(node.name, resolvedArgs); + case "ExpressionReference": + var refNode = node.children[0]; + // Tag the node with a specific attribute so the type + // checker verify the type. + refNode.jmespathType = TOK_EXPREF; + return refNode; + default: + throw new Error("Unknown node type: " + node.type); + } + }, + + computeSliceParams: function(arrayLength, sliceParams) { + var start = sliceParams[0]; + var stop = sliceParams[1]; + var step = sliceParams[2]; + var computed = [null, null, null]; + if (step === null) { + step = 1; + } else if (step === 0) { + var error = new Error("Invalid slice, step cannot be 0"); + error.name = "RuntimeError"; + throw error; + } + var stepValueNegative = step < 0 ? true : false; - this.name = "HttpError"; - this.status = statusCode; - Object.defineProperty(this, "code", { - get() { - logOnce( - new deprecation.Deprecation( - "[@octokit/request-error] `error.code` is deprecated, use `error.status`." - ) - ); - return statusCode; - }, - }); - this.headers = options.headers || {}; // redact request credentials without mutating original request options + if (start === null) { + start = stepValueNegative ? arrayLength - 1 : 0; + } else { + start = this.capSliceRange(arrayLength, start, step); + } - const requestCopy = Object.assign({}, options.request); + if (stop === null) { + stop = stepValueNegative ? -1 : arrayLength; + } else { + stop = this.capSliceRange(arrayLength, stop, step); + } + computed[0] = start; + computed[1] = stop; + computed[2] = step; + return computed; + }, - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ), - }); + capSliceRange: function(arrayLength, actualValue, step) { + if (actualValue < 0) { + actualValue += arrayLength; + if (actualValue < 0) { + actualValue = step < 0 ? -1 : 0; + } + } else if (actualValue >= arrayLength) { + actualValue = step < 0 ? arrayLength - 1 : arrayLength; } + return actualValue; + } + + }; + + function Runtime(interpreter) { + this._interpreter = interpreter; + this.functionTable = { + // name: [function, ] + // The can be: + // + // { + // args: [[type1, type2], [type1, type2]], + // variadic: true|false + // } + // + // Each arg in the arg list is a list of valid types + // (if the function is overloaded and supports multiple + // types. If the type is "any" then no type checking + // occurs on the argument. Variadic is optional + // and if not provided is assumed to be false. + abs: {_func: this._functionAbs, _signature: [{types: [TYPE_NUMBER]}]}, + avg: {_func: this._functionAvg, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, + ceil: {_func: this._functionCeil, _signature: [{types: [TYPE_NUMBER]}]}, + contains: { + _func: this._functionContains, + _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}, + {types: [TYPE_ANY]}]}, + "ends_with": { + _func: this._functionEndsWith, + _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, + floor: {_func: this._functionFloor, _signature: [{types: [TYPE_NUMBER]}]}, + length: { + _func: this._functionLength, + _signature: [{types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT]}]}, + map: { + _func: this._functionMap, + _signature: [{types: [TYPE_EXPREF]}, {types: [TYPE_ARRAY]}]}, + max: { + _func: this._functionMax, + _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, + "merge": { + _func: this._functionMerge, + _signature: [{types: [TYPE_OBJECT], variadic: true}] + }, + "max_by": { + _func: this._functionMaxBy, + _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] + }, + sum: {_func: this._functionSum, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, + "starts_with": { + _func: this._functionStartsWith, + _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, + min: { + _func: this._functionMin, + _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, + "min_by": { + _func: this._functionMinBy, + _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] + }, + type: {_func: this._functionType, _signature: [{types: [TYPE_ANY]}]}, + keys: {_func: this._functionKeys, _signature: [{types: [TYPE_OBJECT]}]}, + values: {_func: this._functionValues, _signature: [{types: [TYPE_OBJECT]}]}, + sort: {_func: this._functionSort, _signature: [{types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER]}]}, + "sort_by": { + _func: this._functionSortBy, + _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] + }, + join: { + _func: this._functionJoin, + _signature: [ + {types: [TYPE_STRING]}, + {types: [TYPE_ARRAY_STRING]} + ] + }, + reverse: { + _func: this._functionReverse, + _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}]}, + "to_array": {_func: this._functionToArray, _signature: [{types: [TYPE_ANY]}]}, + "to_string": {_func: this._functionToString, _signature: [{types: [TYPE_ANY]}]}, + "to_number": {_func: this._functionToNumber, _signature: [{types: [TYPE_ANY]}]}, + "not_null": { + _func: this._functionNotNull, + _signature: [{types: [TYPE_ANY], variadic: true}] + } + }; + } - requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; + Runtime.prototype = { + callFunction: function(name, resolvedArgs) { + var functionEntry = this.functionTable[name]; + if (functionEntry === undefined) { + throw new Error("Unknown function: " + name + "()"); + } + this._validateArgs(name, resolvedArgs, functionEntry._signature); + return functionEntry._func.call(this, resolvedArgs); + }, + + _validateArgs: function(name, args, signature) { + // Validating the args requires validating + // the correct arity and the correct type of each arg. + // If the last argument is declared as variadic, then we need + // a minimum number of args to be required. Otherwise it has to + // be an exact amount. + var pluralized; + if (signature[signature.length - 1].variadic) { + if (args.length < signature.length) { + pluralized = signature.length === 1 ? " argument" : " arguments"; + throw new Error("ArgumentError: " + name + "() " + + "takes at least" + signature.length + pluralized + + " but received " + args.length); + } + } else if (args.length !== signature.length) { + pluralized = signature.length === 1 ? " argument" : " arguments"; + throw new Error("ArgumentError: " + name + "() " + + "takes " + signature.length + pluralized + + " but received " + args.length); + } + var currentSpec; + var actualType; + var typeMatched; + for (var i = 0; i < signature.length; i++) { + typeMatched = false; + currentSpec = signature[i].types; + actualType = this._getTypeName(args[i]); + for (var j = 0; j < currentSpec.length; j++) { + if (this._typeMatches(actualType, currentSpec[j], args[i])) { + typeMatched = true; + break; + } + } + if (!typeMatched) { + throw new Error("TypeError: " + name + "() " + + "expected argument " + (i + 1) + + " to be type " + currentSpec + + " but received type " + actualType + + " instead."); + } } - } - - exports.RequestError = RequestError; - //# sourceMappingURL=index.js.map + }, - /***/ + _typeMatches: function(actual, expected, argValue) { + if (expected === TYPE_ANY) { + return true; + } + if (expected === TYPE_ARRAY_STRING || + expected === TYPE_ARRAY_NUMBER || + expected === TYPE_ARRAY) { + // The expected type can either just be array, + // or it can require a specific subtype (array of numbers). + // + // The simplest case is if "array" with no subtype is specified. + if (expected === TYPE_ARRAY) { + return actual === TYPE_ARRAY; + } else if (actual === TYPE_ARRAY) { + // Otherwise we need to check subtypes. + // I think this has potential to be improved. + var subtype; + if (expected === TYPE_ARRAY_NUMBER) { + subtype = TYPE_NUMBER; + } else if (expected === TYPE_ARRAY_STRING) { + subtype = TYPE_STRING; + } + for (var i = 0; i < argValue.length; i++) { + if (!this._typeMatches( + this._getTypeName(argValue[i]), subtype, + argValue[i])) { + return false; + } + } + return true; + } + } else { + return actual === expected; + } + }, + _getTypeName: function(obj) { + switch (Object.prototype.toString.call(obj)) { + case "[object String]": + return TYPE_STRING; + case "[object Number]": + return TYPE_NUMBER; + case "[object Array]": + return TYPE_ARRAY; + case "[object Boolean]": + return TYPE_BOOLEAN; + case "[object Null]": + return TYPE_NULL; + case "[object Object]": + // Check if it's an expref. If it has, it's been + // tagged with a jmespathType attr of 'Expref'; + if (obj.jmespathType === TOK_EXPREF) { + return TYPE_EXPREF; + } else { + return TYPE_OBJECT; + } + } }, - /***/ 3501: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - TableExists: { - delay: 20, - operation: "DescribeTable", - maxAttempts: 25, - acceptors: [ - { - expected: "ACTIVE", - matcher: "path", - state: "success", - argument: "Table.TableStatus", - }, - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "retry", - }, - ], - }, - TableNotExists: { - delay: 20, - operation: "DescribeTable", - maxAttempts: 25, - acceptors: [ - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "success", - }, - ], - }, - }, - }; + _functionStartsWith: function(resolvedArgs) { + return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; + }, - /***/ + _functionEndsWith: function(resolvedArgs) { + var searchStr = resolvedArgs[0]; + var suffix = resolvedArgs[1]; + return searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1; }, - /***/ 3503: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var Api = __webpack_require__(7788); - var regionConfig = __webpack_require__(3546); - - var inherit = AWS.util.inherit; - var clientCount = 0; - - /** - * The service class representing an AWS service. - * - * @class_abstract This class is an abstract class. - * - * @!attribute apiVersions - * @return [Array] the list of API versions supported by this service. - * @readonly - */ - AWS.Service = inherit({ - /** - * Create a new service object with a configuration object - * - * @param config [map] a map of configuration options - */ - constructor: function Service(config) { - if (!this.loadServiceClass) { - throw AWS.util.error( - new Error(), - "Service must be constructed with `new' operator" - ); + _functionReverse: function(resolvedArgs) { + var typeName = this._getTypeName(resolvedArgs[0]); + if (typeName === TYPE_STRING) { + var originalStr = resolvedArgs[0]; + var reversedStr = ""; + for (var i = originalStr.length - 1; i >= 0; i--) { + reversedStr += originalStr[i]; } - var ServiceClass = this.loadServiceClass(config || {}); - if (ServiceClass) { - var originalConfig = AWS.util.copy(config); - var svc = new ServiceClass(config); - Object.defineProperty(svc, "_originalConfig", { - get: function () { - return originalConfig; - }, - enumerable: false, - configurable: true, - }); - svc._clientId = ++clientCount; - return svc; - } - this.initialize(config); - }, + return reversedStr; + } else { + var reversedArray = resolvedArgs[0].slice(0); + reversedArray.reverse(); + return reversedArray; + } + }, - /** - * @api private - */ - initialize: function initialize(config) { - var svcConfig = AWS.config[this.serviceIdentifier]; - this.config = new AWS.Config(AWS.config); - if (svcConfig) this.config.update(svcConfig, true); - if (config) this.config.update(config, true); + _functionAbs: function(resolvedArgs) { + return Math.abs(resolvedArgs[0]); + }, - this.validateService(); - if (!this.config.endpoint) regionConfig.configureEndpoint(this); + _functionCeil: function(resolvedArgs) { + return Math.ceil(resolvedArgs[0]); + }, - this.config.endpoint = this.endpointFromTemplate( - this.config.endpoint - ); - this.setEndpoint(this.config.endpoint); - //enable attaching listeners to service client - AWS.SequentialExecutor.call(this); - AWS.Service.addDefaultMonitoringListeners(this); - if ( - (this.config.clientSideMonitoring || - AWS.Service._clientSideMonitoring) && - this.publisher - ) { - var publisher = this.publisher; - this.addNamedListener( - "PUBLISH_API_CALL", - "apiCall", - function PUBLISH_API_CALL(event) { - process.nextTick(function () { - publisher.eventHandler(event); - }); - } - ); - this.addNamedListener( - "PUBLISH_API_ATTEMPT", - "apiCallAttempt", - function PUBLISH_API_ATTEMPT(event) { - process.nextTick(function () { - publisher.eventHandler(event); - }); - } - ); - } - }, + _functionAvg: function(resolvedArgs) { + var sum = 0; + var inputArray = resolvedArgs[0]; + for (var i = 0; i < inputArray.length; i++) { + sum += inputArray[i]; + } + return sum / inputArray.length; + }, - /** - * @api private - */ - validateService: function validateService() {}, - - /** - * @api private - */ - loadServiceClass: function loadServiceClass(serviceConfig) { - var config = serviceConfig; - if (!AWS.util.isEmpty(this.api)) { - return null; - } else if (config.apiConfig) { - return AWS.Service.defineServiceApi( - this.constructor, - config.apiConfig - ); - } else if (!this.constructor.services) { - return null; - } else { - config = new AWS.Config(AWS.config); - config.update(serviceConfig, true); - var version = - config.apiVersions[this.constructor.serviceIdentifier]; - version = version || config.apiVersion; - return this.getLatestServiceClass(version); - } - }, + _functionContains: function(resolvedArgs) { + return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; + }, - /** - * @api private - */ - getLatestServiceClass: function getLatestServiceClass(version) { - version = this.getLatestServiceVersion(version); - if (this.constructor.services[version] === null) { - AWS.Service.defineServiceApi(this.constructor, version); - } + _functionFloor: function(resolvedArgs) { + return Math.floor(resolvedArgs[0]); + }, - return this.constructor.services[version]; - }, + _functionLength: function(resolvedArgs) { + if (!isObject(resolvedArgs[0])) { + return resolvedArgs[0].length; + } else { + // As far as I can tell, there's no way to get the length + // of an object without O(n) iteration through the object. + return Object.keys(resolvedArgs[0]).length; + } + }, - /** - * @api private - */ - getLatestServiceVersion: function getLatestServiceVersion(version) { - if ( - !this.constructor.services || - this.constructor.services.length === 0 - ) { - throw new Error( - "No services defined on " + this.constructor.serviceIdentifier - ); - } + _functionMap: function(resolvedArgs) { + var mapped = []; + var interpreter = this._interpreter; + var exprefNode = resolvedArgs[0]; + var elements = resolvedArgs[1]; + for (var i = 0; i < elements.length; i++) { + mapped.push(interpreter.visit(exprefNode, elements[i])); + } + return mapped; + }, - if (!version) { - version = "latest"; - } else if (AWS.util.isType(version, Date)) { - version = AWS.util.date.iso8601(version).split("T")[0]; - } + _functionMerge: function(resolvedArgs) { + var merged = {}; + for (var i = 0; i < resolvedArgs.length; i++) { + var current = resolvedArgs[i]; + for (var key in current) { + merged[key] = current[key]; + } + } + return merged; + }, - if (Object.hasOwnProperty(this.constructor.services, version)) { - return version; + _functionMax: function(resolvedArgs) { + if (resolvedArgs[0].length > 0) { + var typeName = this._getTypeName(resolvedArgs[0][0]); + if (typeName === TYPE_NUMBER) { + return Math.max.apply(Math, resolvedArgs[0]); + } else { + var elements = resolvedArgs[0]; + var maxElement = elements[0]; + for (var i = 1; i < elements.length; i++) { + if (maxElement.localeCompare(elements[i]) < 0) { + maxElement = elements[i]; + } } + return maxElement; + } + } else { + return null; + } + }, - var keys = Object.keys(this.constructor.services).sort(); - var selectedVersion = null; - for (var i = keys.length - 1; i >= 0; i--) { - // versions that end in "*" are not available on disk and can be - // skipped, so do not choose these as selectedVersions - if (keys[i][keys[i].length - 1] !== "*") { - selectedVersion = keys[i]; - } - if (keys[i].substr(0, 10) <= version) { - return selectedVersion; - } - } - - throw new Error( - "Could not find " + - this.constructor.serviceIdentifier + - " API to satisfy version constraint `" + - version + - "'" - ); - }, - - /** - * @api private - */ - api: {}, - - /** - * @api private - */ - defaultRetryCount: 3, - - /** - * @api private - */ - customizeRequests: function customizeRequests(callback) { - if (!callback) { - this.customRequestHandler = null; - } else if (typeof callback === "function") { - this.customRequestHandler = callback; - } else { - throw new Error( - "Invalid callback type '" + - typeof callback + - "' provided in customizeRequests" - ); + _functionMin: function(resolvedArgs) { + if (resolvedArgs[0].length > 0) { + var typeName = this._getTypeName(resolvedArgs[0][0]); + if (typeName === TYPE_NUMBER) { + return Math.min.apply(Math, resolvedArgs[0]); + } else { + var elements = resolvedArgs[0]; + var minElement = elements[0]; + for (var i = 1; i < elements.length; i++) { + if (elements[i].localeCompare(minElement) < 0) { + minElement = elements[i]; + } } - }, + return minElement; + } + } else { + return null; + } + }, - /** - * Calls an operation on a service with the given input parameters. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeRequest: function makeRequest(operation, params, callback) { - if (typeof params === "function") { - callback = params; - params = null; - } + _functionSum: function(resolvedArgs) { + var sum = 0; + var listToSum = resolvedArgs[0]; + for (var i = 0; i < listToSum.length; i++) { + sum += listToSum[i]; + } + return sum; + }, - params = params || {}; - if (this.config.params) { - // copy only toplevel bound params - var rules = this.api.operations[operation]; - if (rules) { - params = AWS.util.copy(params); - AWS.util.each(this.config.params, function (key, value) { - if (rules.input.members[key]) { - if (params[key] === undefined || params[key] === null) { - params[key] = value; - } - } - }); - } - } + _functionType: function(resolvedArgs) { + switch (this._getTypeName(resolvedArgs[0])) { + case TYPE_NUMBER: + return "number"; + case TYPE_STRING: + return "string"; + case TYPE_ARRAY: + return "array"; + case TYPE_OBJECT: + return "object"; + case TYPE_BOOLEAN: + return "boolean"; + case TYPE_EXPREF: + return "expref"; + case TYPE_NULL: + return "null"; + } + }, - var request = new AWS.Request(this, operation, params); - this.addAllRequestListeners(request); - this.attachMonitoringEmitter(request); - if (callback) request.send(callback); - return request; - }, - - /** - * Calls an operation on a service with the given input parameters, without - * any authentication data. This method is useful for "public" API operations. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeUnauthenticatedRequest: function makeUnauthenticatedRequest( - operation, - params, - callback - ) { - if (typeof params === "function") { - callback = params; - params = {}; - } + _functionKeys: function(resolvedArgs) { + return Object.keys(resolvedArgs[0]); + }, - var request = this.makeRequest(operation, params).toUnauthenticated(); - return callback ? request.send(callback) : request; - }, - - /** - * Waits for a given state - * - * @param state [String] the state on the service to wait for - * @param params [map] a map of parameters to pass with each request - * @option params $waiter [map] a map of configuration options for the waiter - * @option params $waiter.delay [Number] The number of seconds to wait between - * requests - * @option params $waiter.maxAttempts [Number] The maximum number of requests - * to send while waiting - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - waitFor: function waitFor(state, params, callback) { - var waiter = new AWS.ResourceWaiter(this, state); - return waiter.wait(params, callback); - }, - - /** - * @api private - */ - addAllRequestListeners: function addAllRequestListeners(request) { - var list = [ - AWS.events, - AWS.EventListeners.Core, - this.serviceInterface(), - AWS.EventListeners.CorePost, - ]; - for (var i = 0; i < list.length; i++) { - if (list[i]) request.addListeners(list[i]); - } + _functionValues: function(resolvedArgs) { + var obj = resolvedArgs[0]; + var keys = Object.keys(obj); + var values = []; + for (var i = 0; i < keys.length; i++) { + values.push(obj[keys[i]]); + } + return values; + }, - // disable parameter validation - if (!this.config.paramValidation) { - request.removeListener( - "validate", - AWS.EventListeners.Core.VALIDATE_PARAMETERS - ); - } + _functionJoin: function(resolvedArgs) { + var joinChar = resolvedArgs[0]; + var listJoin = resolvedArgs[1]; + return listJoin.join(joinChar); + }, - if (this.config.logger) { - // add logging events - request.addListeners(AWS.EventListeners.Logger); - } + _functionToArray: function(resolvedArgs) { + if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { + return resolvedArgs[0]; + } else { + return [resolvedArgs[0]]; + } + }, - this.setupRequestListeners(request); - // call prototype's customRequestHandler - if ( - typeof this.constructor.prototype.customRequestHandler === - "function" - ) { - this.constructor.prototype.customRequestHandler(request); - } - // call instance's customRequestHandler - if ( - Object.prototype.hasOwnProperty.call( - this, - "customRequestHandler" - ) && - typeof this.customRequestHandler === "function" - ) { - this.customRequestHandler(request); - } - }, + _functionToString: function(resolvedArgs) { + if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { + return resolvedArgs[0]; + } else { + return JSON.stringify(resolvedArgs[0]); + } + }, - /** - * Event recording metrics for a whole API call. - * @returns {object} a subset of api call metrics - * @api private - */ - apiCallEvent: function apiCallEvent(request) { - var api = request.service.api.operations[request.operation]; - var monitoringEvent = { - Type: "ApiCall", - Api: api ? api.name : request.operation, - Version: 1, - Service: - request.service.api.serviceId || - request.service.api.endpointPrefix, - Region: request.httpRequest.region, - MaxRetriesExceeded: 0, - UserAgent: request.httpRequest.getUserAgent(), - }; - var response = request.response; - if (response.httpResponse.statusCode) { - monitoringEvent.FinalHttpStatusCode = - response.httpResponse.statusCode; - } - if (response.error) { - var error = response.error; - var statusCode = response.httpResponse.statusCode; - if (statusCode > 299) { - if (error.code) monitoringEvent.FinalAwsException = error.code; - if (error.message) - monitoringEvent.FinalAwsExceptionMessage = error.message; - } else { - if (error.code || error.name) - monitoringEvent.FinalSdkException = error.code || error.name; - if (error.message) - monitoringEvent.FinalSdkExceptionMessage = error.message; - } - } - return monitoringEvent; - }, - - /** - * Event recording metrics for an API call attempt. - * @returns {object} a subset of api call attempt metrics - * @api private - */ - apiAttemptEvent: function apiAttemptEvent(request) { - var api = request.service.api.operations[request.operation]; - var monitoringEvent = { - Type: "ApiCallAttempt", - Api: api ? api.name : request.operation, - Version: 1, - Service: - request.service.api.serviceId || - request.service.api.endpointPrefix, - Fqdn: request.httpRequest.endpoint.hostname, - UserAgent: request.httpRequest.getUserAgent(), - }; - var response = request.response; - if (response.httpResponse.statusCode) { - monitoringEvent.HttpStatusCode = response.httpResponse.statusCode; - } - if ( - !request._unAuthenticated && - request.service.config.credentials && - request.service.config.credentials.accessKeyId - ) { - monitoringEvent.AccessKey = - request.service.config.credentials.accessKeyId; - } - if (!response.httpResponse.headers) return monitoringEvent; - if (request.httpRequest.headers["x-amz-security-token"]) { - monitoringEvent.SessionToken = - request.httpRequest.headers["x-amz-security-token"]; - } - if (response.httpResponse.headers["x-amzn-requestid"]) { - monitoringEvent.XAmznRequestId = - response.httpResponse.headers["x-amzn-requestid"]; - } - if (response.httpResponse.headers["x-amz-request-id"]) { - monitoringEvent.XAmzRequestId = - response.httpResponse.headers["x-amz-request-id"]; - } - if (response.httpResponse.headers["x-amz-id-2"]) { - monitoringEvent.XAmzId2 = - response.httpResponse.headers["x-amz-id-2"]; - } - return monitoringEvent; - }, - - /** - * Add metrics of failed request. - * @api private - */ - attemptFailEvent: function attemptFailEvent(request) { - var monitoringEvent = this.apiAttemptEvent(request); - var response = request.response; - var error = response.error; - if (response.httpResponse.statusCode > 299) { - if (error.code) monitoringEvent.AwsException = error.code; - if (error.message) - monitoringEvent.AwsExceptionMessage = error.message; - } else { - if (error.code || error.name) - monitoringEvent.SdkException = error.code || error.name; - if (error.message) - monitoringEvent.SdkExceptionMessage = error.message; - } - return monitoringEvent; - }, - - /** - * Attach listeners to request object to fetch metrics of each request - * and emit data object through \'ApiCall\' and \'ApiCallAttempt\' events. - * @api private - */ - attachMonitoringEmitter: function attachMonitoringEmitter(request) { - var attemptTimestamp; //timestamp marking the beginning of a request attempt - var attemptStartRealTime; //Start time of request attempt. Used to calculating attemptLatency - var attemptLatency; //latency from request sent out to http response reaching SDK - var callStartRealTime; //Start time of API call. Used to calculating API call latency - var attemptCount = 0; //request.retryCount is not reliable here - var region; //region cache region for each attempt since it can be updated in plase (e.g. s3) - var callTimestamp; //timestamp when the request is created - var self = this; - var addToHead = true; - - request.on( - "validate", - function () { - callStartRealTime = AWS.util.realClock.now(); - callTimestamp = Date.now(); - }, - addToHead - ); - request.on( - "sign", - function () { - attemptStartRealTime = AWS.util.realClock.now(); - attemptTimestamp = Date.now(); - region = request.httpRequest.region; - attemptCount++; - }, - addToHead - ); - request.on("validateResponse", function () { - attemptLatency = Math.round( - AWS.util.realClock.now() - attemptStartRealTime - ); - }); - request.addNamedListener( - "API_CALL_ATTEMPT", - "success", - function API_CALL_ATTEMPT() { - var apiAttemptEvent = self.apiAttemptEvent(request); - apiAttemptEvent.Timestamp = attemptTimestamp; - apiAttemptEvent.AttemptLatency = - attemptLatency >= 0 ? attemptLatency : 0; - apiAttemptEvent.Region = region; - self.emit("apiCallAttempt", [apiAttemptEvent]); - } - ); - request.addNamedListener( - "API_CALL_ATTEMPT_RETRY", - "retry", - function API_CALL_ATTEMPT_RETRY() { - var apiAttemptEvent = self.attemptFailEvent(request); - apiAttemptEvent.Timestamp = attemptTimestamp; - //attemptLatency may not be available if fail before response - attemptLatency = - attemptLatency || - Math.round(AWS.util.realClock.now() - attemptStartRealTime); - apiAttemptEvent.AttemptLatency = - attemptLatency >= 0 ? attemptLatency : 0; - apiAttemptEvent.Region = region; - self.emit("apiCallAttempt", [apiAttemptEvent]); - } - ); - request.addNamedListener("API_CALL", "complete", function API_CALL() { - var apiCallEvent = self.apiCallEvent(request); - apiCallEvent.AttemptCount = attemptCount; - if (apiCallEvent.AttemptCount <= 0) return; - apiCallEvent.Timestamp = callTimestamp; - var latency = Math.round( - AWS.util.realClock.now() - callStartRealTime - ); - apiCallEvent.Latency = latency >= 0 ? latency : 0; - var response = request.response; - if ( - typeof response.retryCount === "number" && - typeof response.maxRetries === "number" && - response.retryCount >= response.maxRetries - ) { - apiCallEvent.MaxRetriesExceeded = 1; + _functionToNumber: function(resolvedArgs) { + var typeName = this._getTypeName(resolvedArgs[0]); + var convertedValue; + if (typeName === TYPE_NUMBER) { + return resolvedArgs[0]; + } else if (typeName === TYPE_STRING) { + convertedValue = +resolvedArgs[0]; + if (!isNaN(convertedValue)) { + return convertedValue; } - self.emit("apiCall", [apiCallEvent]); - }); - }, + } + return null; + }, - /** - * Override this method to setup any custom request listeners for each - * new request to the service. - * - * @method_abstract This is an abstract method. - */ - setupRequestListeners: function setupRequestListeners(request) {}, - - /** - * Gets the signer class for a given request - * @api private - */ - getSignerClass: function getSignerClass(request) { - var version; - // get operation authtype if present - var operation = null; - var authtype = ""; - if (request) { - var operations = request.service.api.operations || {}; - operation = operations[request.operation] || null; - authtype = operation ? operation.authtype : ""; - } - if (this.config.signatureVersion) { - version = this.config.signatureVersion; - } else if (authtype === "v4" || authtype === "v4-unsigned-body") { - version = "v4"; - } else { - version = this.api.signatureVersion; - } - return AWS.Signers.RequestSigner.getVersion(version); - }, - - /** - * @api private - */ - serviceInterface: function serviceInterface() { - switch (this.api.protocol) { - case "ec2": - return AWS.EventListeners.Query; - case "query": - return AWS.EventListeners.Query; - case "json": - return AWS.EventListeners.Json; - case "rest-json": - return AWS.EventListeners.RestJson; - case "rest-xml": - return AWS.EventListeners.RestXml; - } - if (this.api.protocol) { - throw new Error( - "Invalid service `protocol' " + - this.api.protocol + - " in API config" - ); - } - }, + _functionNotNull: function(resolvedArgs) { + for (var i = 0; i < resolvedArgs.length; i++) { + if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { + return resolvedArgs[i]; + } + } + return null; + }, - /** - * @api private - */ - successfulResponse: function successfulResponse(resp) { - return resp.httpResponse.statusCode < 300; - }, + _functionSort: function(resolvedArgs) { + var sortedArray = resolvedArgs[0].slice(0); + sortedArray.sort(); + return sortedArray; + }, - /** - * How many times a failed request should be retried before giving up. - * the defaultRetryCount can be overriden by service classes. - * - * @api private - */ - numRetries: function numRetries() { - if (this.config.maxRetries !== undefined) { - return this.config.maxRetries; + _functionSortBy: function(resolvedArgs) { + var sortedArray = resolvedArgs[0].slice(0); + if (sortedArray.length === 0) { + return sortedArray; + } + var interpreter = this._interpreter; + var exprefNode = resolvedArgs[1]; + var requiredType = this._getTypeName( + interpreter.visit(exprefNode, sortedArray[0])); + if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { + throw new Error("TypeError"); + } + var that = this; + // In order to get a stable sort out of an unstable + // sort algorithm, we decorate/sort/undecorate (DSU) + // by creating a new list of [index, element] pairs. + // In the cmp function, if the evaluated elements are + // equal, then the index will be used as the tiebreaker. + // After the decorated list has been sorted, it will be + // undecorated to extract the original elements. + var decorated = []; + for (var i = 0; i < sortedArray.length; i++) { + decorated.push([i, sortedArray[i]]); + } + decorated.sort(function(a, b) { + var exprA = interpreter.visit(exprefNode, a[1]); + var exprB = interpreter.visit(exprefNode, b[1]); + if (that._getTypeName(exprA) !== requiredType) { + throw new Error( + "TypeError: expected " + requiredType + ", received " + + that._getTypeName(exprA)); + } else if (that._getTypeName(exprB) !== requiredType) { + throw new Error( + "TypeError: expected " + requiredType + ", received " + + that._getTypeName(exprB)); + } + if (exprA > exprB) { + return 1; + } else if (exprA < exprB) { + return -1; } else { - return this.defaultRetryCount; + // If they're equal compare the items by their + // order to maintain relative order of equal keys + // (i.e. to get a stable sort). + return a[0] - b[0]; } - }, - - /** - * @api private - */ - retryDelays: function retryDelays(retryCount, err) { - return AWS.util.calculateRetryDelay( - retryCount, - this.config.retryDelayOptions, - err - ); - }, + }); + // Undecorate: extract out the original list elements. + for (var j = 0; j < decorated.length; j++) { + sortedArray[j] = decorated[j][1]; + } + return sortedArray; + }, - /** - * @api private - */ - retryableError: function retryableError(error) { - if (this.timeoutError(error)) return true; - if (this.networkingError(error)) return true; - if (this.expiredCredentialsError(error)) return true; - if (this.throttledError(error)) return true; - if (error.statusCode >= 500) return true; - return false; - }, + _functionMaxBy: function(resolvedArgs) { + var exprefNode = resolvedArgs[1]; + var resolvedArray = resolvedArgs[0]; + var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); + var maxNumber = -Infinity; + var maxRecord; + var current; + for (var i = 0; i < resolvedArray.length; i++) { + current = keyFunction(resolvedArray[i]); + if (current > maxNumber) { + maxNumber = current; + maxRecord = resolvedArray[i]; + } + } + return maxRecord; + }, - /** - * @api private - */ - networkingError: function networkingError(error) { - return error.code === "NetworkingError"; - }, + _functionMinBy: function(resolvedArgs) { + var exprefNode = resolvedArgs[1]; + var resolvedArray = resolvedArgs[0]; + var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); + var minNumber = Infinity; + var minRecord; + var current; + for (var i = 0; i < resolvedArray.length; i++) { + current = keyFunction(resolvedArray[i]); + if (current < minNumber) { + minNumber = current; + minRecord = resolvedArray[i]; + } + } + return minRecord; + }, - /** - * @api private - */ - timeoutError: function timeoutError(error) { - return error.code === "TimeoutError"; - }, + createKeyFunction: function(exprefNode, allowedTypes) { + var that = this; + var interpreter = this._interpreter; + var keyFunc = function(x) { + var current = interpreter.visit(exprefNode, x); + if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { + var msg = "TypeError: expected one of " + allowedTypes + + ", received " + that._getTypeName(current); + throw new Error(msg); + } + return current; + }; + return keyFunc; + } - /** - * @api private - */ - expiredCredentialsError: function expiredCredentialsError(error) { - // TODO : this only handles *one* of the expired credential codes - return error.code === "ExpiredTokenException"; - }, + }; - /** - * @api private - */ - clockSkewError: function clockSkewError(error) { - switch (error.code) { - case "RequestTimeTooSkewed": - case "RequestExpired": - case "InvalidSignatureException": - case "SignatureDoesNotMatch": - case "AuthFailure": - case "RequestInTheFuture": - return true; - default: - return false; - } - }, + function compile(stream) { + var parser = new Parser(); + var ast = parser.parse(stream); + return ast; + } - /** - * @api private - */ - getSkewCorrectedDate: function getSkewCorrectedDate() { - return new Date(Date.now() + this.config.systemClockOffset); - }, + function tokenize(stream) { + var lexer = new Lexer(); + return lexer.tokenize(stream); + } - /** - * @api private - */ - applyClockOffset: function applyClockOffset(newServerTime) { - if (newServerTime) { - this.config.systemClockOffset = newServerTime - Date.now(); - } - }, + function search(data, expression) { + var parser = new Parser(); + // This needs to be improved. Both the interpreter and runtime depend on + // each other. The runtime needs the interpreter to support exprefs. + // There's likely a clean way to avoid the cyclic dependency. + var runtime = new Runtime(); + var interpreter = new TreeInterpreter(runtime); + runtime._interpreter = interpreter; + var node = parser.parse(expression); + return interpreter.search(node, data); + } - /** - * @api private - */ - isClockSkewed: function isClockSkewed(newServerTime) { - if (newServerTime) { - return ( - Math.abs(this.getSkewCorrectedDate().getTime() - newServerTime) >= - 300000 - ); - } - }, + exports.tokenize = tokenize; + exports.compile = compile; + exports.search = search; + exports.strictDeepEqual = strictDeepEqual; +})( false ? undefined : exports); - /** - * @api private - */ - throttledError: function throttledError(error) { - // this logic varies between services - if (error.statusCode === 429) return true; - switch (error.code) { - case "ProvisionedThroughputExceededException": - case "Throttling": - case "ThrottlingException": - case "RequestLimitExceeded": - case "RequestThrottled": - case "RequestThrottledException": - case "TooManyRequestsException": - case "TransactionInProgressException": //dynamodb - case "EC2ThrottledException": - return true; - default: - return false; - } - }, - /** - * @api private - */ - endpointFromTemplate: function endpointFromTemplate(endpoint) { - if (typeof endpoint !== "string") return endpoint; +/***/ }), - var e = endpoint; - e = e.replace(/\{service\}/g, this.api.endpointPrefix); - e = e.replace(/\{region\}/g, this.config.region); - e = e.replace( - /\{scheme\}/g, - this.config.sslEnabled ? "https" : "http" - ); - return e; - }, - - /** - * @api private - */ - setEndpoint: function setEndpoint(endpoint) { - this.endpoint = new AWS.Endpoint(endpoint, this.config); - }, - - /** - * @api private - */ - paginationConfig: function paginationConfig(operation, throwException) { - var paginator = this.api.operations[operation].paginator; - if (!paginator) { - if (throwException) { - var e = new Error(); - throw AWS.util.error( - e, - "No pagination configuration for " + operation - ); - } - return null; - } +/***/ 2816: +/***/ (function(module) { - return paginator; - }, - }); +module.exports = {"pagination":{"ListInvitations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMembers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListNetworks":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListNodes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListProposalVotes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListProposals":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - AWS.util.update(AWS.Service, { - /** - * Adds one method for each operation described in the api configuration - * - * @api private - */ - defineMethods: function defineMethods(svc) { - AWS.util.each(svc.prototype.api.operations, function iterator( - method - ) { - if (svc.prototype[method]) return; - var operation = svc.prototype.api.operations[method]; - if (operation.authtype === "none") { - svc.prototype[method] = function (params, callback) { - return this.makeUnauthenticatedRequest( - method, - params, - callback - ); - }; - } else { - svc.prototype[method] = function (params, callback) { - return this.makeRequest(method, params, callback); - }; - } - }); - }, +/***/ }), - /** - * Defines a new Service class using a service identifier and list of versions - * including an optional set of features (functions) to apply to the class - * prototype. - * - * @param serviceIdentifier [String] the identifier for the service - * @param versions [Array] a list of versions that work with this - * service - * @param features [Object] an object to attach to the prototype - * @return [Class] the service class defined by this function. - */ - defineService: function defineService( - serviceIdentifier, - versions, - features - ) { - AWS.Service._serviceMap[serviceIdentifier] = true; - if (!Array.isArray(versions)) { - features = versions; - versions = []; - } +/***/ 2838: +/***/ (function(module, __unusedexports, __webpack_require__) { - var svc = inherit(AWS.Service, features || {}); +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - if (typeof serviceIdentifier === "string") { - AWS.Service.addVersions(svc, versions); +apiLoader.services['appintegrations'] = {}; +AWS.AppIntegrations = Service.defineService('appintegrations', ['2020-07-29']); +Object.defineProperty(apiLoader.services['appintegrations'], '2020-07-29', { + get: function get() { + var model = __webpack_require__(8337); + model.paginators = __webpack_require__(3660).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - var identifier = svc.serviceIdentifier || serviceIdentifier; - svc.serviceIdentifier = identifier; - } else { - // defineService called with an API - svc.prototype.api = serviceIdentifier; - AWS.Service.defineMethods(svc); - } - AWS.SequentialExecutor.call(this.prototype); - //util.clientSideMonitoring is only available in node - if (!this.prototype.publisher && AWS.util.clientSideMonitoring) { - var Publisher = AWS.util.clientSideMonitoring.Publisher; - var configProvider = AWS.util.clientSideMonitoring.configProvider; - var publisherConfig = configProvider(); - this.prototype.publisher = new Publisher(publisherConfig); - if (publisherConfig.enabled) { - //if csm is enabled in environment, SDK should send all metrics - AWS.Service._clientSideMonitoring = true; - } - } - AWS.SequentialExecutor.call(svc.prototype); - AWS.Service.addDefaultMonitoringListeners(svc.prototype); - return svc; - }, +module.exports = AWS.AppIntegrations; - /** - * @api private - */ - addVersions: function addVersions(svc, versions) { - if (!Array.isArray(versions)) versions = [versions]; - svc.services = svc.services || {}; - for (var i = 0; i < versions.length; i++) { - if (svc.services[versions[i]] === undefined) { - svc.services[versions[i]] = null; - } - } +/***/ }), + +/***/ 2848: +/***/ (function(module) { + +module.exports = {"pagination":{"ListDatasets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Datasets"},"ListJobRuns":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"JobRuns"},"ListJobs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Jobs"},"ListProjects":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Projects"},"ListRecipeVersions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Recipes"},"ListRecipes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Recipes"},"ListSchedules":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Schedules"}}}; + +/***/ }), + +/***/ 2857: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2012-06-01","checksumFormat":"sha256","endpointPrefix":"glacier","protocol":"rest-json","serviceFullName":"Amazon Glacier","serviceId":"Glacier","signatureVersion":"v4","uid":"glacier-2012-06-01"},"operations":{"AbortMultipartUpload":{"http":{"method":"DELETE","requestUri":"/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName","uploadId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"uploadId":{"location":"uri","locationName":"uploadId"}}}},"AbortVaultLock":{"http":{"method":"DELETE","requestUri":"/{accountId}/vaults/{vaultName}/lock-policy","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}}},"AddTagsToVault":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/tags?operation=add","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"Tags":{"shape":"S5"}}}},"CompleteMultipartUpload":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}","responseCode":201},"input":{"type":"structure","required":["accountId","vaultName","uploadId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"uploadId":{"location":"uri","locationName":"uploadId"},"archiveSize":{"location":"header","locationName":"x-amz-archive-size"},"checksum":{"location":"header","locationName":"x-amz-sha256-tree-hash"}}},"output":{"shape":"S9"}},"CompleteVaultLock":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/lock-policy/{lockId}","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName","lockId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"lockId":{"location":"uri","locationName":"lockId"}}}},"CreateVault":{"http":{"method":"PUT","requestUri":"/{accountId}/vaults/{vaultName}","responseCode":201},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}},"output":{"type":"structure","members":{"location":{"location":"header","locationName":"Location"}}}},"DeleteArchive":{"http":{"method":"DELETE","requestUri":"/{accountId}/vaults/{vaultName}/archives/{archiveId}","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName","archiveId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"archiveId":{"location":"uri","locationName":"archiveId"}}}},"DeleteVault":{"http":{"method":"DELETE","requestUri":"/{accountId}/vaults/{vaultName}","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}}},"DeleteVaultAccessPolicy":{"http":{"method":"DELETE","requestUri":"/{accountId}/vaults/{vaultName}/access-policy","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}}},"DeleteVaultNotifications":{"http":{"method":"DELETE","requestUri":"/{accountId}/vaults/{vaultName}/notification-configuration","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}}},"DescribeJob":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/jobs/{jobId}"},"input":{"type":"structure","required":["accountId","vaultName","jobId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"shape":"Si"}},"DescribeVault":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}"},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}},"output":{"shape":"S1a"}},"GetDataRetrievalPolicy":{"http":{"method":"GET","requestUri":"/{accountId}/policies/data-retrieval"},"input":{"type":"structure","required":["accountId"],"members":{"accountId":{"location":"uri","locationName":"accountId"}}},"output":{"type":"structure","members":{"Policy":{"shape":"S1e"}}}},"GetJobOutput":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/jobs/{jobId}/output"},"input":{"type":"structure","required":["accountId","vaultName","jobId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"jobId":{"location":"uri","locationName":"jobId"},"range":{"location":"header","locationName":"Range"}}},"output":{"type":"structure","members":{"body":{"shape":"S1k"},"checksum":{"location":"header","locationName":"x-amz-sha256-tree-hash"},"status":{"location":"statusCode","type":"integer"},"contentRange":{"location":"header","locationName":"Content-Range"},"acceptRanges":{"location":"header","locationName":"Accept-Ranges"},"contentType":{"location":"header","locationName":"Content-Type"},"archiveDescription":{"location":"header","locationName":"x-amz-archive-description"}},"payload":"body"}},"GetVaultAccessPolicy":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/access-policy"},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}},"output":{"type":"structure","members":{"policy":{"shape":"S1o"}},"payload":"policy"}},"GetVaultLock":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/lock-policy"},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}},"output":{"type":"structure","members":{"Policy":{},"State":{},"ExpirationDate":{},"CreationDate":{}}}},"GetVaultNotifications":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/notification-configuration"},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}},"output":{"type":"structure","members":{"vaultNotificationConfig":{"shape":"S1t"}},"payload":"vaultNotificationConfig"}},"InitiateJob":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/jobs","responseCode":202},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"jobParameters":{"type":"structure","members":{"Format":{},"Type":{},"ArchiveId":{},"Description":{},"SNSTopic":{},"RetrievalByteRange":{},"Tier":{},"InventoryRetrievalParameters":{"type":"structure","members":{"StartDate":{},"EndDate":{},"Limit":{},"Marker":{}}},"SelectParameters":{"shape":"Sp"},"OutputLocation":{"shape":"Sx"}}}},"payload":"jobParameters"},"output":{"type":"structure","members":{"location":{"location":"header","locationName":"Location"},"jobId":{"location":"header","locationName":"x-amz-job-id"},"jobOutputPath":{"location":"header","locationName":"x-amz-job-output-path"}}}},"InitiateMultipartUpload":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/multipart-uploads","responseCode":201},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"archiveDescription":{"location":"header","locationName":"x-amz-archive-description"},"partSize":{"location":"header","locationName":"x-amz-part-size"}}},"output":{"type":"structure","members":{"location":{"location":"header","locationName":"Location"},"uploadId":{"location":"header","locationName":"x-amz-multipart-upload-id"}}}},"InitiateVaultLock":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/lock-policy","responseCode":201},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"policy":{"type":"structure","members":{"Policy":{}}}},"payload":"policy"},"output":{"type":"structure","members":{"lockId":{"location":"header","locationName":"x-amz-lock-id"}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/jobs"},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"limit":{"location":"querystring","locationName":"limit"},"marker":{"location":"querystring","locationName":"marker"},"statuscode":{"location":"querystring","locationName":"statuscode"},"completed":{"location":"querystring","locationName":"completed"}}},"output":{"type":"structure","members":{"JobList":{"type":"list","member":{"shape":"Si"}},"Marker":{}}}},"ListMultipartUploads":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/multipart-uploads"},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"marker":{"location":"querystring","locationName":"marker"},"limit":{"location":"querystring","locationName":"limit"}}},"output":{"type":"structure","members":{"UploadsList":{"type":"list","member":{"type":"structure","members":{"MultipartUploadId":{},"VaultARN":{},"ArchiveDescription":{},"PartSizeInBytes":{"type":"long"},"CreationDate":{}}}},"Marker":{}}}},"ListParts":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}"},"input":{"type":"structure","required":["accountId","vaultName","uploadId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"uploadId":{"location":"uri","locationName":"uploadId"},"marker":{"location":"querystring","locationName":"marker"},"limit":{"location":"querystring","locationName":"limit"}}},"output":{"type":"structure","members":{"MultipartUploadId":{},"VaultARN":{},"ArchiveDescription":{},"PartSizeInBytes":{"type":"long"},"CreationDate":{},"Parts":{"type":"list","member":{"type":"structure","members":{"RangeInBytes":{},"SHA256TreeHash":{}}}},"Marker":{}}}},"ListProvisionedCapacity":{"http":{"method":"GET","requestUri":"/{accountId}/provisioned-capacity"},"input":{"type":"structure","required":["accountId"],"members":{"accountId":{"location":"uri","locationName":"accountId"}}},"output":{"type":"structure","members":{"ProvisionedCapacityList":{"type":"list","member":{"type":"structure","members":{"CapacityId":{},"StartDate":{},"ExpirationDate":{}}}}}}},"ListTagsForVault":{"http":{"method":"GET","requestUri":"/{accountId}/vaults/{vaultName}/tags"},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S5"}}}},"ListVaults":{"http":{"method":"GET","requestUri":"/{accountId}/vaults"},"input":{"type":"structure","required":["accountId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"marker":{"location":"querystring","locationName":"marker"},"limit":{"location":"querystring","locationName":"limit"}}},"output":{"type":"structure","members":{"VaultList":{"type":"list","member":{"shape":"S1a"}},"Marker":{}}}},"PurchaseProvisionedCapacity":{"http":{"requestUri":"/{accountId}/provisioned-capacity","responseCode":201},"input":{"type":"structure","required":["accountId"],"members":{"accountId":{"location":"uri","locationName":"accountId"}}},"output":{"type":"structure","members":{"capacityId":{"location":"header","locationName":"x-amz-capacity-id"}}}},"RemoveTagsFromVault":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/tags?operation=remove","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"TagKeys":{"type":"list","member":{}}}}},"SetDataRetrievalPolicy":{"http":{"method":"PUT","requestUri":"/{accountId}/policies/data-retrieval","responseCode":204},"input":{"type":"structure","required":["accountId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"Policy":{"shape":"S1e"}}}},"SetVaultAccessPolicy":{"http":{"method":"PUT","requestUri":"/{accountId}/vaults/{vaultName}/access-policy","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"policy":{"shape":"S1o"}},"payload":"policy"}},"SetVaultNotifications":{"http":{"method":"PUT","requestUri":"/{accountId}/vaults/{vaultName}/notification-configuration","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"vaultNotificationConfig":{"shape":"S1t"}},"payload":"vaultNotificationConfig"}},"UploadArchive":{"http":{"requestUri":"/{accountId}/vaults/{vaultName}/archives","responseCode":201},"input":{"type":"structure","required":["vaultName","accountId"],"members":{"vaultName":{"location":"uri","locationName":"vaultName"},"accountId":{"location":"uri","locationName":"accountId"},"archiveDescription":{"location":"header","locationName":"x-amz-archive-description"},"checksum":{"location":"header","locationName":"x-amz-sha256-tree-hash"},"body":{"shape":"S1k"}},"payload":"body"},"output":{"shape":"S9"}},"UploadMultipartPart":{"http":{"method":"PUT","requestUri":"/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}","responseCode":204},"input":{"type":"structure","required":["accountId","vaultName","uploadId"],"members":{"accountId":{"location":"uri","locationName":"accountId"},"vaultName":{"location":"uri","locationName":"vaultName"},"uploadId":{"location":"uri","locationName":"uploadId"},"checksum":{"location":"header","locationName":"x-amz-sha256-tree-hash"},"range":{"location":"header","locationName":"Content-Range"},"body":{"shape":"S1k"}},"payload":"body"},"output":{"type":"structure","members":{"checksum":{"location":"header","locationName":"x-amz-sha256-tree-hash"}}}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"structure","members":{"location":{"location":"header","locationName":"Location"},"checksum":{"location":"header","locationName":"x-amz-sha256-tree-hash"},"archiveId":{"location":"header","locationName":"x-amz-archive-id"}}},"Si":{"type":"structure","members":{"JobId":{},"JobDescription":{},"Action":{},"ArchiveId":{},"VaultARN":{},"CreationDate":{},"Completed":{"type":"boolean"},"StatusCode":{},"StatusMessage":{},"ArchiveSizeInBytes":{"type":"long"},"InventorySizeInBytes":{"type":"long"},"SNSTopic":{},"CompletionDate":{},"SHA256TreeHash":{},"ArchiveSHA256TreeHash":{},"RetrievalByteRange":{},"Tier":{},"InventoryRetrievalParameters":{"type":"structure","members":{"Format":{},"StartDate":{},"EndDate":{},"Limit":{},"Marker":{}}},"JobOutputPath":{},"SelectParameters":{"shape":"Sp"},"OutputLocation":{"shape":"Sx"}}},"Sp":{"type":"structure","members":{"InputSerialization":{"type":"structure","members":{"csv":{"type":"structure","members":{"FileHeaderInfo":{},"Comments":{},"QuoteEscapeCharacter":{},"RecordDelimiter":{},"FieldDelimiter":{},"QuoteCharacter":{}}}}},"ExpressionType":{},"Expression":{},"OutputSerialization":{"type":"structure","members":{"csv":{"type":"structure","members":{"QuoteFields":{},"QuoteEscapeCharacter":{},"RecordDelimiter":{},"FieldDelimiter":{},"QuoteCharacter":{}}}}}}},"Sx":{"type":"structure","members":{"S3":{"type":"structure","members":{"BucketName":{},"Prefix":{},"Encryption":{"type":"structure","members":{"EncryptionType":{},"KMSKeyId":{},"KMSContext":{}}},"CannedACL":{},"AccessControlList":{"type":"list","member":{"type":"structure","members":{"Grantee":{"type":"structure","required":["Type"],"members":{"Type":{},"DisplayName":{},"URI":{},"ID":{},"EmailAddress":{}}},"Permission":{}}}},"Tagging":{"shape":"S17"},"UserMetadata":{"shape":"S17"},"StorageClass":{}}}}},"S17":{"type":"map","key":{},"value":{}},"S1a":{"type":"structure","members":{"VaultARN":{},"VaultName":{},"CreationDate":{},"LastInventoryDate":{},"NumberOfArchives":{"type":"long"},"SizeInBytes":{"type":"long"}}},"S1e":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"Strategy":{},"BytesPerHour":{"type":"long"}}}}}},"S1k":{"type":"blob","streaming":true},"S1o":{"type":"structure","members":{"Policy":{}}},"S1t":{"type":"structure","members":{"SNSTopic":{},"Events":{"type":"list","member":{}}}}}}; + +/***/ }), + +/***/ 2862: +/***/ (function(module) { + +module.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"}}}; + +/***/ }), + +/***/ 2866: +/***/ (function(module, __unusedexports, __webpack_require__) { + +"use strict"; + +var shebangRegex = __webpack_require__(4816); + +module.exports = function (str) { + var match = str.match(shebangRegex); + + if (!match) { + return null; + } + + var arr = match[0].replace(/#! ?/, '').split(' '); + var bin = arr[0].split('/').pop(); + var arg = arr[1]; + + return (bin === 'env' ? + arg : + bin + (arg ? ' ' + arg : '') + ); +}; + + +/***/ }), + +/***/ 2873: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +/** + * @api private + */ +var blobPayloadOutputOps = [ + 'deleteThingShadow', + 'getThingShadow', + 'updateThingShadow' +]; + +/** + * Constructs a service interface object. Each API operation is exposed as a + * function on service. + * + * ### Sending a Request Using IotData + * + * ```javascript + * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); + * iotdata.getThingShadow(params, function (err, data) { + * if (err) console.log(err, err.stack); // an error occurred + * else console.log(data); // successful response + * }); + * ``` + * + * ### Locking the API Version + * + * In order to ensure that the IotData object uses this specific API, + * you can construct the object by passing the `apiVersion` option to the + * constructor: + * + * ```javascript + * var iotdata = new AWS.IotData({ + * endpoint: 'my.host.tld', + * apiVersion: '2015-05-28' + * }); + * ``` + * + * You can also set the API version globally in `AWS.config.apiVersions` using + * the **iotdata** service identifier: + * + * ```javascript + * AWS.config.apiVersions = { + * iotdata: '2015-05-28', + * // other service API versions + * }; + * + * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); + * ``` + * + * @note You *must* provide an `endpoint` configuration parameter when + * constructing this service. See {constructor} for more information. + * + * @!method constructor(options = {}) + * Constructs a service object. This object has one method for each + * API operation. + * + * @example Constructing a IotData object + * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); + * @note You *must* provide an `endpoint` when constructing this service. + * @option (see AWS.Config.constructor) + * + * @service iotdata + * @version 2015-05-28 + */ +AWS.util.update(AWS.IotData.prototype, { + /** + * @api private + */ + validateService: function validateService() { + if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) { + var msg = 'AWS.IotData requires an explicit ' + + '`endpoint\' configuration option.'; + throw AWS.util.error(new Error(), + {name: 'InvalidEndpoint', message: msg}); + } + }, + + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + request.addListener('validateResponse', this.validateResponseBody); + if (blobPayloadOutputOps.indexOf(request.operation) > -1) { + request.addListener('extractData', AWS.util.convertPayloadToString); + } + }, - svc.apiVersions = Object.keys(svc.services).sort(); - }, + /** + * @api private + */ + validateResponseBody: function validateResponseBody(resp) { + var body = resp.httpResponse.body.toString() || '{}'; + var bodyCheck = body.trim(); + if (!bodyCheck || bodyCheck.charAt(0) !== '{') { + resp.httpResponse.body = ''; + } + } - /** - * @api private - */ - defineServiceApi: function defineServiceApi( - superclass, - version, - apiConfig - ) { - var svc = inherit(superclass, { - serviceIdentifier: superclass.serviceIdentifier, - }); +}); - function setApi(api) { - if (api.isApi) { - svc.prototype.api = api; - } else { - svc.prototype.api = new Api(api, { - serviceIdentifier: superclass.serviceIdentifier, - }); - } - } - if (typeof version === "string") { - if (apiConfig) { - setApi(apiConfig); - } else { - try { - setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); - } catch (err) { - throw AWS.util.error(err, { - message: - "Could not find API configuration " + - superclass.serviceIdentifier + - "-" + - version, - }); - } - } - if ( - !Object.prototype.hasOwnProperty.call( - superclass.services, - version - ) - ) { - superclass.apiVersions = superclass.apiVersions - .concat(version) - .sort(); - } - superclass.services[version] = svc; - } else { - setApi(version); - } +/***/ }), - AWS.Service.defineMethods(svc); - return svc; - }, +/***/ 2880: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * @api private - */ - hasService: function (identifier) { - return Object.prototype.hasOwnProperty.call( - AWS.Service._serviceMap, - identifier - ); - }, +"use strict"; - /** - * @param attachOn attach default monitoring listeners to object - * - * Each monitoring event should be emitted from service client to service constructor prototype and then - * to global service prototype like bubbling up. These default monitoring events listener will transfer - * the monitoring events to the upper layer. - * @api private - */ - addDefaultMonitoringListeners: function addDefaultMonitoringListeners( - attachOn - ) { - attachOn.addNamedListener( - "MONITOR_EVENTS_BUBBLE", - "apiCallAttempt", - function EVENTS_BUBBLE(event) { - var baseClass = Object.getPrototypeOf(attachOn); - if (baseClass._events) baseClass.emit("apiCallAttempt", [event]); - } - ); - attachOn.addNamedListener( - "CALL_EVENTS_BUBBLE", - "apiCall", - function CALL_EVENTS_BUBBLE(event) { - var baseClass = Object.getPrototypeOf(attachOn); - if (baseClass._events) baseClass.emit("apiCall", [event]); - } - ); - }, - /** - * @api private - */ - _serviceMap: {}, - }); +const conversions = __webpack_require__(8751); +const utils = __webpack_require__(7120); +const Impl = __webpack_require__(5197); - AWS.util.mixin(AWS.Service, AWS.SequentialExecutor); +const impl = utils.implSymbol; - /** - * @api private - */ - module.exports = AWS.Service; +function URL(url) { + if (!this || this[impl] || !(this instanceof URL)) { + throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); + } + if (arguments.length < 1) { + throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); + } + const args = []; + for (let i = 0; i < arguments.length && i < 2; ++i) { + args[i] = arguments[i]; + } + args[0] = conversions["USVString"](args[0]); + if (args[1] !== undefined) { + args[1] = conversions["USVString"](args[1]); + } - /***/ - }, + module.exports.setup(this, args); +} - /***/ 3506: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["kinesisanalytics"] = {}; - AWS.KinesisAnalytics = Service.defineService("kinesisanalytics", [ - "2015-08-14", - ]); - Object.defineProperty( - apiLoader.services["kinesisanalytics"], - "2015-08-14", - { - get: function get() { - var model = __webpack_require__(5616); - model.paginators = __webpack_require__(5873).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +URL.prototype.toJSON = function toJSON() { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + const args = []; + for (let i = 0; i < arguments.length && i < 0; ++i) { + args[i] = arguments[i]; + } + return this[impl].toJSON.apply(this[impl], args); +}; +Object.defineProperty(URL.prototype, "href", { + get() { + return this[impl].href; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].href = V; + }, + enumerable: true, + configurable: true +}); + +URL.prototype.toString = function () { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + return this.href; +}; + +Object.defineProperty(URL.prototype, "origin", { + get() { + return this[impl].origin; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "protocol", { + get() { + return this[impl].protocol; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].protocol = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "username", { + get() { + return this[impl].username; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].username = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "password", { + get() { + return this[impl].password; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].password = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "host", { + get() { + return this[impl].host; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].host = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "hostname", { + get() { + return this[impl].hostname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hostname = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "port", { + get() { + return this[impl].port; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].port = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "pathname", { + get() { + return this[impl].pathname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].pathname = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "search", { + get() { + return this[impl].search; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].search = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "hash", { + get() { + return this[impl].hash; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hash = V; + }, + enumerable: true, + configurable: true +}); + + +module.exports = { + is(obj) { + return !!obj && obj[impl] instanceof Impl.implementation; + }, + create(constructorArgs, privateData) { + let obj = Object.create(URL.prototype); + this.setup(obj, constructorArgs, privateData); + return obj; + }, + setup(obj, constructorArgs, privateData) { + if (!privateData) privateData = {}; + privateData.wrapper = obj; + + obj[impl] = new Impl.implementation(constructorArgs, privateData); + obj[impl][utils.wrapperSymbol] = obj; + }, + interface: URL, + expose: { + Window: { URL: URL }, + Worker: { URL: URL } + } +}; - module.exports = AWS.KinesisAnalytics; - /***/ - }, - /***/ 3520: /***/ function (module) { - module.exports = { - pagination: { - ListMemberAccounts: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListS3Resources: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 2881: +/***/ (function(module) { - /***/ 3523: /***/ function (module, __unusedexports, __webpack_require__) { - var register = __webpack_require__(363); - var addHook = __webpack_require__(2510); - var removeHook = __webpack_require__(5866); +"use strict"; - // bind with array of arguments: https://stackoverflow.com/a/21792913 - var bind = Function.bind; - var bindable = bind.bind(bind); - function bindApi(hook, state, name) { - var removeHookRef = bindable(removeHook, null).apply( - null, - name ? [state, name] : [state] - ); - hook.api = { remove: removeHookRef }; - hook.remove = removeHookRef; - ["before", "error", "after", "wrap"].forEach(function (kind) { - var args = name ? [state, kind, name] : [state, kind]; - hook[kind] = hook.api[kind] = bindable(addHook, null).apply( - null, - args - ); - }); - } +const isWin = process.platform === 'win32'; - function HookSingular() { - var singularHookName = "h"; - var singularHookState = { - registry: {}, - }; - var singularHook = register.bind( - null, - singularHookState, - singularHookName - ); - bindApi(singularHook, singularHookState, singularHookName); - return singularHook; - } +function notFoundError(original, syscall) { + return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), { + code: 'ENOENT', + errno: 'ENOENT', + syscall: `${syscall} ${original.command}`, + path: original.command, + spawnargs: original.args, + }); +} - function HookCollection() { - var state = { - registry: {}, - }; +function hookChildProcess(cp, parsed) { + if (!isWin) { + return; + } - var hook = register.bind(null, state); - bindApi(hook, state); + const originalEmit = cp.emit; - return hook; - } + cp.emit = function (name, arg1) { + // If emitting "exit" event and exit code is 1, we need to check if + // the command exists and emit an "error" instead + // See https://github.com/IndigoUnited/node-cross-spawn/issues/16 + if (name === 'exit') { + const err = verifyENOENT(arg1, parsed, 'spawn'); - var collectionHookDeprecationMessageDisplayed = false; - function Hook() { - if (!collectionHookDeprecationMessageDisplayed) { - console.warn( - '[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4' - ); - collectionHookDeprecationMessageDisplayed = true; + if (err) { + return originalEmit.call(cp, 'error', err); + } } - return HookCollection(); - } - Hook.Singular = HookSingular.bind(); - Hook.Collection = HookCollection.bind(); + return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params + }; +} - module.exports = Hook; - // expose constructors as a named property for TypeScript - module.exports.Hook = Hook; - module.exports.Singular = Hook.Singular; - module.exports.Collection = Hook.Collection; +function verifyENOENT(status, parsed) { + if (isWin && status === 1 && !parsed.file) { + return notFoundError(parsed.original, 'spawn'); + } - /***/ - }, + return null; +} - /***/ 3530: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - SuccessfulSigningJob: { - delay: 20, - operation: "DescribeSigningJob", - maxAttempts: 25, - acceptors: [ - { - expected: "Succeeded", - matcher: "path", - state: "success", - argument: "status", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "status", - }, - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "failure", - }, - ], - }, - }, - }; +function verifyENOENTSync(status, parsed) { + if (isWin && status === 1 && !parsed.file) { + return notFoundError(parsed.original, 'spawnSync'); + } - /***/ - }, + return null; +} - /***/ 3546: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var regionConfig = __webpack_require__(2572); +module.exports = { + hookChildProcess, + verifyENOENT, + verifyENOENTSync, + notFoundError, +}; - function generateRegionPrefix(region) { - if (!region) return null; - var parts = region.split("-"); - if (parts.length < 3) return null; - return parts.slice(0, parts.length - 2).join("-") + "-*"; - } +/***/ }), - function derivedKeys(service) { - var region = service.config.region; - var regionPrefix = generateRegionPrefix(region); - var endpointPrefix = service.api.endpointPrefix; +/***/ 2883: +/***/ (function(module, __unusedexports, __webpack_require__) { - return [ - [region, endpointPrefix], - [regionPrefix, endpointPrefix], - [region, "*"], - [regionPrefix, "*"], - ["*", endpointPrefix], - ["*", "*"], - ].map(function (item) { - return item[0] && item[1] ? item.join("/") : null; - }); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function applyConfig(service, config) { - util.each(config, function (key, value) { - if (key === "globalEndpoint") return; - if ( - service.config[key] === undefined || - service.config[key] === null - ) { - service.config[key] = value; - } - }); - } +apiLoader.services['ssm'] = {}; +AWS.SSM = Service.defineService('ssm', ['2014-11-06']); +Object.defineProperty(apiLoader.services['ssm'], '2014-11-06', { + get: function get() { + var model = __webpack_require__(5948); + model.paginators = __webpack_require__(9836).pagination; + model.waiters = __webpack_require__(1418).waiters; + return model; + }, + enumerable: true, + configurable: true +}); - function configureEndpoint(service) { - var keys = derivedKeys(service); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!key) continue; +module.exports = AWS.SSM; - if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) { - var config = regionConfig.rules[key]; - if (typeof config === "string") { - config = regionConfig.patterns[config]; - } - // set dualstack endpoint - if ( - service.config.useDualstack && - util.isDualstackAvailable(service) - ) { - config = util.copy(config); - config.endpoint = "{service}.dualstack.{region}.amazonaws.com"; - } +/***/ }), - // set global endpoint - service.isGlobalEndpoint = !!config.globalEndpoint; +/***/ 2884: +/***/ (function(module) { - // signature version - if (!config.signatureVersion) config.signatureVersion = "v4"; +// Generated by CoffeeScript 1.12.7 +(function() { + var XMLAttribute; - // merge config - applyConfig(service, config); - return; - } - } + module.exports = XMLAttribute = (function() { + function XMLAttribute(parent, name, value) { + this.options = parent.options; + this.stringify = parent.stringify; + if (name == null) { + throw new Error("Missing attribute name of element " + parent.name); } - - function getEndpointSuffix(region) { - var regionRegexes = { - "^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$": "amazonaws.com", - "^cn\\-\\w+\\-\\d+$": "amazonaws.com.cn", - "^us\\-gov\\-\\w+\\-\\d+$": "amazonaws.com", - "^us\\-iso\\-\\w+\\-\\d+$": "c2s.ic.gov", - "^us\\-isob\\-\\w+\\-\\d+$": "sc2s.sgov.gov", - }; - var defaultSuffix = "amazonaws.com"; - var regexes = Object.keys(regionRegexes); - for (var i = 0; i < regexes.length; i++) { - var regionPattern = RegExp(regexes[i]); - var dnsSuffix = regionRegexes[regexes[i]]; - if (regionPattern.test(region)) return dnsSuffix; - } - return defaultSuffix; + if (value == null) { + throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name); } + this.name = this.stringify.attName(name); + this.value = this.stringify.attValue(value); + } - /** - * @api private - */ - module.exports = { - configureEndpoint: configureEndpoint, - getEndpointSuffix: getEndpointSuffix, - }; + XMLAttribute.prototype.clone = function() { + return Object.create(this); + }; - /***/ - }, + XMLAttribute.prototype.toString = function(options) { + return this.options.writer.set(options).attribute(this); + }; - /***/ 3558: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = hasPreviousPage; + return XMLAttribute; - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); + })(); - function hasPreviousPage(link) { - deprecate( - `octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - return getPageLinks(link).prev; - } +}).call(this); - /***/ - }, - /***/ 3562: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; +/***/ }), - Object.defineProperty(exports, "__esModule", { value: true }); +/***/ 2904: +/***/ (function(module) { - function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex - ? ex["default"] - : ex; - } +module.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"}}}; - var osName = _interopDefault(__webpack_require__(8002)); +/***/ }), - function getUserAgent() { - try { - return `Node.js/${process.version.substr(1)} (${osName()}; ${ - process.arch - })`; - } catch (error) { - if (/wmic os get Caption/.test(error.message)) { - return "Windows "; - } +/***/ 2906: +/***/ (function(module, __unusedexports, __webpack_require__) { - return ""; - } - } +var AWS = __webpack_require__(395); +var inherit = AWS.util.inherit; - exports.getUserAgent = getUserAgent; - //# sourceMappingURL=index.js.map +/** + * @api private + */ +AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { + addAuthorization: function addAuthorization(credentials, date) { - /***/ - }, + if (!date) date = AWS.util.date.getDate(); - /***/ 3602: /***/ function (module) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLStringifier, - bind = function (fn, me) { - return function () { - return fn.apply(me, arguments); - }; - }, - hasProp = {}.hasOwnProperty; - - module.exports = XMLStringifier = (function () { - function XMLStringifier(options) { - this.assertLegalChar = bind(this.assertLegalChar, this); - var key, ref, value; - options || (options = {}); - this.noDoubleEncoding = options.noDoubleEncoding; - ref = options.stringify || {}; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this[key] = value; - } - } + var r = this.request; - XMLStringifier.prototype.eleName = function (val) { - val = "" + val || ""; - return this.assertLegalChar(val); - }; + r.params.Timestamp = AWS.util.date.iso8601(date); + r.params.SignatureVersion = '2'; + r.params.SignatureMethod = 'HmacSHA256'; + r.params.AWSAccessKeyId = credentials.accessKeyId; - XMLStringifier.prototype.eleText = function (val) { - val = "" + val || ""; - return this.assertLegalChar(this.elEscape(val)); - }; + if (credentials.sessionToken) { + r.params.SecurityToken = credentials.sessionToken; + } - XMLStringifier.prototype.cdata = function (val) { - val = "" + val || ""; - val = val.replace("]]>", "]]]]>"); - return this.assertLegalChar(val); - }; + delete r.params.Signature; // delete old Signature for re-signing + r.params.Signature = this.signature(credentials); - XMLStringifier.prototype.comment = function (val) { - val = "" + val || ""; - if (val.match(/--/)) { - throw new Error( - "Comment text cannot contain double-hypen: " + val - ); - } - return this.assertLegalChar(val); - }; + r.body = AWS.util.queryParamsToString(r.params); + r.headers['Content-Length'] = r.body.length; + }, - XMLStringifier.prototype.raw = function (val) { - return "" + val || ""; - }; + signature: function signature(credentials) { + return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); + }, - XMLStringifier.prototype.attName = function (val) { - return (val = "" + val || ""); - }; + stringToSign: function stringToSign() { + var parts = []; + parts.push(this.request.method); + parts.push(this.request.endpoint.host.toLowerCase()); + parts.push(this.request.pathname()); + parts.push(AWS.util.queryParamsToString(this.request.params)); + return parts.join('\n'); + } - XMLStringifier.prototype.attValue = function (val) { - val = "" + val || ""; - return this.attEscape(val); - }; +}); - XMLStringifier.prototype.insTarget = function (val) { - return "" + val || ""; - }; +/** + * @api private + */ +module.exports = AWS.Signers.V2; - XMLStringifier.prototype.insValue = function (val) { - val = "" + val || ""; - if (val.match(/\?>/)) { - throw new Error("Invalid processing instruction value: " + val); - } - return val; - }; - XMLStringifier.prototype.xmlVersion = function (val) { - val = "" + val || ""; - if (!val.match(/1\.[0-9]+/)) { - throw new Error("Invalid version number: " + val); - } - return val; - }; +/***/ }), - XMLStringifier.prototype.xmlEncoding = function (val) { - val = "" + val || ""; - if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) { - throw new Error("Invalid encoding: " + val); - } - return val; - }; +/***/ 2907: +/***/ (function(module) { - XMLStringifier.prototype.xmlStandalone = function (val) { - if (val) { - return "yes"; - } else { - return "no"; - } - }; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"amplify","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amplify","serviceFullName":"AWS Amplify","serviceId":"Amplify","signatureVersion":"v4","signingName":"amplify","uid":"amplify-2017-07-25"},"operations":{"CreateApp":{"http":{"requestUri":"/apps"},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"repository":{},"platform":{},"iamServiceRoleArn":{},"oauthToken":{"shape":"S7"},"accessToken":{"shape":"S8"},"environmentVariables":{"shape":"S9"},"enableBranchAutoBuild":{"type":"boolean"},"enableBranchAutoDeletion":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{"shape":"Sf"},"customRules":{"shape":"Sg"},"tags":{"shape":"Sm"},"buildSpec":{},"customHeaders":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Ss"},"autoBranchCreationConfig":{"shape":"Su"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"S12"}}}},"CreateBackendEnvironment":{"http":{"requestUri":"/apps/{appId}/backendenvironments"},"input":{"type":"structure","required":["appId","environmentName"],"members":{"appId":{"location":"uri","locationName":"appId"},"environmentName":{},"stackName":{},"deploymentArtifacts":{}}},"output":{"type":"structure","required":["backendEnvironment"],"members":{"backendEnvironment":{"shape":"S1h"}}}},"CreateBranch":{"http":{"requestUri":"/apps/{appId}/branches"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{},"description":{},"stage":{},"framework":{},"enableNotification":{"type":"boolean"},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{"shape":"Sf"},"enableBasicAuth":{"type":"boolean"},"enablePerformanceMode":{"type":"boolean"},"tags":{"shape":"Sm"},"buildSpec":{},"ttl":{},"displayName":{},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{},"backendEnvironmentArn":{}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1o"}}}},"CreateDeployment":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/deployments"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"fileMap":{"type":"map","key":{},"value":{}}}},"output":{"type":"structure","required":["fileUploadUrls","zipUploadUrl"],"members":{"jobId":{},"fileUploadUrls":{"type":"map","key":{},"value":{}},"zipUploadUrl":{}}}},"CreateDomainAssociation":{"http":{"requestUri":"/apps/{appId}/domains"},"input":{"type":"structure","required":["appId","domainName","subDomainSettings"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{},"enableAutoSubDomain":{"type":"boolean"},"subDomainSettings":{"shape":"S27"},"autoSubDomainCreationPatterns":{"shape":"S2a"},"autoSubDomainIAMRole":{}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S2e"}}}},"CreateWebhook":{"http":{"requestUri":"/apps/{appId}/webhooks"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{},"description":{}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2p"}}}},"DeleteApp":{"http":{"method":"DELETE","requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"S12"}}}},"DeleteBackendEnvironment":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/backendenvironments/{environmentName}"},"input":{"type":"structure","required":["appId","environmentName"],"members":{"appId":{"location":"uri","locationName":"appId"},"environmentName":{"location":"uri","locationName":"environmentName"}}},"output":{"type":"structure","required":["backendEnvironment"],"members":{"backendEnvironment":{"shape":"S1h"}}}},"DeleteBranch":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1o"}}}},"DeleteDomainAssociation":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S2e"}}}},"DeleteJob":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S33"}}}},"DeleteWebhook":{"http":{"method":"DELETE","requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2p"}}}},"GenerateAccessLogs":{"http":{"requestUri":"/apps/{appId}/accesslogs"},"input":{"type":"structure","required":["domainName","appId"],"members":{"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"domainName":{},"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","members":{"logUrl":{}}}},"GetApp":{"http":{"method":"GET","requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"S12"}}}},"GetArtifactUrl":{"http":{"method":"GET","requestUri":"/artifacts/{artifactId}"},"input":{"type":"structure","required":["artifactId"],"members":{"artifactId":{"location":"uri","locationName":"artifactId"}}},"output":{"type":"structure","required":["artifactId","artifactUrl"],"members":{"artifactId":{},"artifactUrl":{}}}},"GetBackendEnvironment":{"http":{"method":"GET","requestUri":"/apps/{appId}/backendenvironments/{environmentName}"},"input":{"type":"structure","required":["appId","environmentName"],"members":{"appId":{"location":"uri","locationName":"appId"},"environmentName":{"location":"uri","locationName":"environmentName"}}},"output":{"type":"structure","required":["backendEnvironment"],"members":{"backendEnvironment":{"shape":"S1h"}}}},"GetBranch":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1o"}}}},"GetDomainAssociation":{"http":{"method":"GET","requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S2e"}}}},"GetJob":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["job"],"members":{"job":{"type":"structure","required":["summary","steps"],"members":{"summary":{"shape":"S33"},"steps":{"type":"list","member":{"type":"structure","required":["stepName","startTime","status","endTime"],"members":{"stepName":{},"startTime":{"type":"timestamp"},"status":{},"endTime":{"type":"timestamp"},"logUrl":{},"artifactsUrl":{},"testArtifactsUrl":{},"testConfigUrl":{},"screenshots":{"type":"map","key":{},"value":{}},"statusReason":{},"context":{}}}}}}}}},"GetWebhook":{"http":{"method":"GET","requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2p"}}}},"ListApps":{"http":{"method":"GET","requestUri":"/apps"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["apps"],"members":{"apps":{"type":"list","member":{"shape":"S12"}},"nextToken":{}}}},"ListArtifacts":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["artifacts"],"members":{"artifacts":{"type":"list","member":{"type":"structure","required":["artifactFileName","artifactId"],"members":{"artifactFileName":{},"artifactId":{}}}},"nextToken":{}}}},"ListBackendEnvironments":{"http":{"method":"GET","requestUri":"/apps/{appId}/backendenvironments"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"environmentName":{"location":"querystring","locationName":"environmentName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["backendEnvironments"],"members":{"backendEnvironments":{"type":"list","member":{"shape":"S1h"}},"nextToken":{}}}},"ListBranches":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["branches"],"members":{"branches":{"type":"list","member":{"shape":"S1o"}},"nextToken":{}}}},"ListDomainAssociations":{"http":{"method":"GET","requestUri":"/apps/{appId}/domains"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["domainAssociations"],"members":{"domainAssociations":{"type":"list","member":{"shape":"S2e"}},"nextToken":{}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["jobSummaries"],"members":{"jobSummaries":{"type":"list","member":{"shape":"S33"}},"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"}}}},"ListWebhooks":{"http":{"method":"GET","requestUri":"/apps/{appId}/webhooks"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["webhooks"],"members":{"webhooks":{"type":"list","member":{"shape":"S2p"}},"nextToken":{}}}},"StartDeployment":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/deployments/start"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{},"sourceUrl":{}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S33"}}}},"StartJob":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/jobs"},"input":{"type":"structure","required":["appId","branchName","jobType"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{},"jobType":{},"jobReason":{},"commitId":{},"commitMessage":{},"commitTime":{"type":"timestamp"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S33"}}}},"StopJob":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S33"}}}},"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":{}}},"UpdateApp":{"http":{"requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"name":{},"description":{},"platform":{},"iamServiceRoleArn":{},"environmentVariables":{"shape":"S9"},"enableBranchAutoBuild":{"type":"boolean"},"enableBranchAutoDeletion":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{"shape":"Sf"},"customRules":{"shape":"Sg"},"buildSpec":{},"customHeaders":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Ss"},"autoBranchCreationConfig":{"shape":"Su"},"repository":{},"oauthToken":{"shape":"S7"},"accessToken":{"shape":"S8"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"S12"}}}},"UpdateBranch":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"description":{},"framework":{},"stage":{},"enableNotification":{"type":"boolean"},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{"shape":"Sf"},"enableBasicAuth":{"type":"boolean"},"enablePerformanceMode":{"type":"boolean"},"buildSpec":{},"ttl":{},"displayName":{},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{},"backendEnvironmentArn":{}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1o"}}}},"UpdateDomainAssociation":{"http":{"requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName","subDomainSettings"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"},"enableAutoSubDomain":{"type":"boolean"},"subDomainSettings":{"shape":"S27"},"autoSubDomainCreationPatterns":{"shape":"S2a"},"autoSubDomainIAMRole":{}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S2e"}}}},"UpdateWebhook":{"http":{"requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"},"branchName":{},"description":{}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2p"}}}}},"shapes":{"S7":{"type":"string","sensitive":true},"S8":{"type":"string","sensitive":true},"S9":{"type":"map","key":{},"value":{}},"Sf":{"type":"string","sensitive":true},"Sg":{"type":"list","member":{"type":"structure","required":["source","target"],"members":{"source":{},"target":{},"status":{},"condition":{}}}},"Sm":{"type":"map","key":{},"value":{}},"Ss":{"type":"list","member":{}},"Su":{"type":"structure","members":{"stage":{},"framework":{},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{"shape":"Sf"},"enableBasicAuth":{"type":"boolean"},"enablePerformanceMode":{"type":"boolean"},"buildSpec":{},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{}}},"S12":{"type":"structure","required":["appId","appArn","name","description","repository","platform","createTime","updateTime","environmentVariables","defaultDomain","enableBranchAutoBuild","enableBasicAuth"],"members":{"appId":{},"appArn":{},"name":{},"tags":{"shape":"Sm"},"description":{},"repository":{},"platform":{},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"},"iamServiceRoleArn":{},"environmentVariables":{"shape":"S9"},"defaultDomain":{},"enableBranchAutoBuild":{"type":"boolean"},"enableBranchAutoDeletion":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{"shape":"Sf"},"customRules":{"shape":"Sg"},"productionBranch":{"type":"structure","members":{"lastDeployTime":{"type":"timestamp"},"status":{},"thumbnailUrl":{},"branchName":{}}},"buildSpec":{},"customHeaders":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Ss"},"autoBranchCreationConfig":{"shape":"Su"}}},"S1h":{"type":"structure","required":["backendEnvironmentArn","environmentName","createTime","updateTime"],"members":{"backendEnvironmentArn":{},"environmentName":{},"stackName":{},"deploymentArtifacts":{},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"}}},"S1o":{"type":"structure","required":["branchArn","branchName","description","stage","displayName","enableNotification","createTime","updateTime","environmentVariables","enableAutoBuild","customDomains","framework","activeJobId","totalNumberOfJobs","enableBasicAuth","ttl","enablePullRequestPreview"],"members":{"branchArn":{},"branchName":{},"description":{},"tags":{"shape":"Sm"},"stage":{},"displayName":{},"enableNotification":{"type":"boolean"},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"},"environmentVariables":{"shape":"S9"},"enableAutoBuild":{"type":"boolean"},"customDomains":{"type":"list","member":{}},"framework":{},"activeJobId":{},"totalNumberOfJobs":{},"enableBasicAuth":{"type":"boolean"},"enablePerformanceMode":{"type":"boolean"},"thumbnailUrl":{},"basicAuthCredentials":{"shape":"Sf"},"buildSpec":{},"ttl":{},"associatedResources":{"type":"list","member":{}},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{},"destinationBranch":{},"sourceBranch":{},"backendEnvironmentArn":{}}},"S27":{"type":"list","member":{"shape":"S28"}},"S28":{"type":"structure","required":["prefix","branchName"],"members":{"prefix":{},"branchName":{}}},"S2a":{"type":"list","member":{}},"S2e":{"type":"structure","required":["domainAssociationArn","domainName","enableAutoSubDomain","domainStatus","statusReason","subDomains"],"members":{"domainAssociationArn":{},"domainName":{},"enableAutoSubDomain":{"type":"boolean"},"autoSubDomainCreationPatterns":{"shape":"S2a"},"autoSubDomainIAMRole":{},"domainStatus":{},"statusReason":{},"certificateVerificationDNSRecord":{},"subDomains":{"type":"list","member":{"type":"structure","required":["subDomainSetting","verified","dnsRecord"],"members":{"subDomainSetting":{"shape":"S28"},"verified":{"type":"boolean"},"dnsRecord":{}}}}}},"S2p":{"type":"structure","required":["webhookArn","webhookId","webhookUrl","branchName","description","createTime","updateTime"],"members":{"webhookArn":{},"webhookId":{},"webhookUrl":{},"branchName":{},"description":{},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"}}},"S33":{"type":"structure","required":["jobArn","jobId","commitId","commitMessage","commitTime","startTime","status","jobType"],"members":{"jobArn":{},"jobId":{},"commitId":{},"commitMessage":{},"commitTime":{"type":"timestamp"},"startTime":{"type":"timestamp"},"status":{},"endTime":{"type":"timestamp"},"jobType":{}}}}}; - XMLStringifier.prototype.dtdPubID = function (val) { - return "" + val || ""; - }; +/***/ }), - XMLStringifier.prototype.dtdSysID = function (val) { - return "" + val || ""; - }; +/***/ 2911: +/***/ (function(module) { - XMLStringifier.prototype.dtdElementValue = function (val) { - return "" + val || ""; - }; +module.exports = {"pagination":{"GetClassifiers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetConnections":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetCrawlerMetrics":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetCrawlers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetDatabases":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetDevEndpoints":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetJobRuns":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetJobs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetMLTaskRuns":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetMLTransforms":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetPartitionIndexes":{"input_token":"NextToken","output_token":"NextToken","result_key":"PartitionIndexDescriptorList"},"GetPartitions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetResourcePolicies":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"GetResourcePoliciesResponseList"},"GetSecurityConfigurations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SecurityConfigurations"},"GetTableVersions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetTriggers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetUserDefinedFunctions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"GetWorkflowRuns":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListCrawlers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListDevEndpoints":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListJobs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListMLTransforms":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListRegistries":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Registries"},"ListSchemaVersions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Schemas"},"ListSchemas":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Schemas"},"ListTriggers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListWorkflows":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"SearchTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"}}}; - XMLStringifier.prototype.dtdAttType = function (val) { - return "" + val || ""; - }; +/***/ }), - XMLStringifier.prototype.dtdAttDefault = function (val) { - if (val != null) { - return "" + val || ""; - } else { - return val; - } - }; +/***/ 2920: +/***/ (function(module) { - XMLStringifier.prototype.dtdEntityValue = function (val) { - return "" + val || ""; - }; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-07-01","endpointPrefix":"featurestore-runtime.sagemaker","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon SageMaker Feature Store Runtime","serviceId":"SageMaker FeatureStore Runtime","signatureVersion":"v4","signingName":"sagemaker","uid":"sagemaker-featurestore-runtime-2020-07-01"},"operations":{"DeleteRecord":{"http":{"method":"DELETE","requestUri":"/FeatureGroup/{FeatureGroupName}"},"input":{"type":"structure","required":["FeatureGroupName","RecordIdentifierValueAsString","EventTime"],"members":{"FeatureGroupName":{"location":"uri","locationName":"FeatureGroupName"},"RecordIdentifierValueAsString":{"location":"querystring","locationName":"RecordIdentifierValueAsString"},"EventTime":{"location":"querystring","locationName":"EventTime"}}}},"GetRecord":{"http":{"method":"GET","requestUri":"/FeatureGroup/{FeatureGroupName}"},"input":{"type":"structure","required":["FeatureGroupName","RecordIdentifierValueAsString"],"members":{"FeatureGroupName":{"location":"uri","locationName":"FeatureGroupName"},"RecordIdentifierValueAsString":{"location":"querystring","locationName":"RecordIdentifierValueAsString"},"FeatureNames":{"location":"querystring","locationName":"FeatureName","type":"list","member":{}}}},"output":{"type":"structure","members":{"Record":{"shape":"S8"}}}},"PutRecord":{"http":{"method":"PUT","requestUri":"/FeatureGroup/{FeatureGroupName}"},"input":{"type":"structure","required":["FeatureGroupName","Record"],"members":{"FeatureGroupName":{"location":"uri","locationName":"FeatureGroupName"},"Record":{"shape":"S8"}}}}},"shapes":{"S8":{"type":"list","member":{"type":"structure","required":["FeatureName","ValueAsString"],"members":{"FeatureName":{},"ValueAsString":{}}}}}}; - XMLStringifier.prototype.dtdNData = function (val) { - return "" + val || ""; - }; +/***/ }), - XMLStringifier.prototype.convertAttKey = "@"; +/***/ 2922: +/***/ (function(module) { - XMLStringifier.prototype.convertPIKey = "?"; +module.exports = {"metadata":{"apiVersion":"2018-05-14","endpointPrefix":"devices.iot1click","signingName":"iot1click","serviceFullName":"AWS IoT 1-Click Devices Service","serviceId":"IoT 1Click Devices Service","protocol":"rest-json","jsonVersion":"1.1","uid":"devices-2018-05-14","signatureVersion":"v4"},"operations":{"ClaimDevicesByClaimCode":{"http":{"method":"PUT","requestUri":"/claims/{claimCode}","responseCode":200},"input":{"type":"structure","members":{"ClaimCode":{"location":"uri","locationName":"claimCode"}},"required":["ClaimCode"]},"output":{"type":"structure","members":{"ClaimCode":{"locationName":"claimCode"},"Total":{"locationName":"total","type":"integer"}}}},"DescribeDevice":{"http":{"method":"GET","requestUri":"/devices/{deviceId}","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"}},"required":["DeviceId"]},"output":{"type":"structure","members":{"DeviceDescription":{"shape":"S8","locationName":"deviceDescription"}}}},"FinalizeDeviceClaim":{"http":{"method":"PUT","requestUri":"/devices/{deviceId}/finalize-claim","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"},"Tags":{"shape":"Sc","locationName":"tags"}},"required":["DeviceId"]},"output":{"type":"structure","members":{"State":{"locationName":"state"}}}},"GetDeviceMethods":{"http":{"method":"GET","requestUri":"/devices/{deviceId}/methods","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"}},"required":["DeviceId"]},"output":{"type":"structure","members":{"DeviceMethods":{"locationName":"deviceMethods","type":"list","member":{"shape":"Si"}}}}},"InitiateDeviceClaim":{"http":{"method":"PUT","requestUri":"/devices/{deviceId}/initiate-claim","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"}},"required":["DeviceId"]},"output":{"type":"structure","members":{"State":{"locationName":"state"}}}},"InvokeDeviceMethod":{"http":{"requestUri":"/devices/{deviceId}/methods","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"},"DeviceMethod":{"shape":"Si","locationName":"deviceMethod"},"DeviceMethodParameters":{"locationName":"deviceMethodParameters"}},"required":["DeviceId"]},"output":{"type":"structure","members":{"DeviceMethodResponse":{"locationName":"deviceMethodResponse"}}}},"ListDeviceEvents":{"http":{"method":"GET","requestUri":"/devices/{deviceId}/events","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"},"FromTimeStamp":{"shape":"So","location":"querystring","locationName":"fromTimeStamp"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"ToTimeStamp":{"shape":"So","location":"querystring","locationName":"toTimeStamp"}},"required":["DeviceId","FromTimeStamp","ToTimeStamp"]},"output":{"type":"structure","members":{"Events":{"locationName":"events","type":"list","member":{"type":"structure","members":{"Device":{"locationName":"device","type":"structure","members":{"Attributes":{"locationName":"attributes","type":"structure","members":{}},"DeviceId":{"locationName":"deviceId"},"Type":{"locationName":"type"}}},"StdEvent":{"locationName":"stdEvent"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListDevices":{"http":{"method":"GET","requestUri":"/devices","responseCode":200},"input":{"type":"structure","members":{"DeviceType":{"location":"querystring","locationName":"deviceType"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Devices":{"locationName":"devices","type":"list","member":{"shape":"S8"}},"NextToken":{"locationName":"nextToken"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"Tags":{"shape":"Sc","locationName":"tags"}}}},"TagResource":{"http":{"requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"shape":"Sc","locationName":"tags"}},"required":["ResourceArn","Tags"]}},"UnclaimDevice":{"http":{"method":"PUT","requestUri":"/devices/{deviceId}/unclaim","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"}},"required":["DeviceId"]},"output":{"type":"structure","members":{"State":{"locationName":"state"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}},"required":["TagKeys","ResourceArn"]}},"UpdateDeviceState":{"http":{"method":"PUT","requestUri":"/devices/{deviceId}/state","responseCode":200},"input":{"type":"structure","members":{"DeviceId":{"location":"uri","locationName":"deviceId"},"Enabled":{"locationName":"enabled","type":"boolean"}},"required":["DeviceId"]},"output":{"type":"structure","members":{}}}},"shapes":{"S8":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Attributes":{"locationName":"attributes","type":"map","key":{},"value":{}},"DeviceId":{"locationName":"deviceId"},"Enabled":{"locationName":"enabled","type":"boolean"},"RemainingLife":{"locationName":"remainingLife","type":"double"},"Type":{"locationName":"type"},"Tags":{"shape":"Sc","locationName":"tags"}}},"Sc":{"type":"map","key":{},"value":{}},"Si":{"type":"structure","members":{"DeviceType":{"locationName":"deviceType"},"MethodName":{"locationName":"methodName"}}},"So":{"type":"timestamp","timestampFormat":"iso8601"}}}; - XMLStringifier.prototype.convertTextKey = "#text"; +/***/ }), - XMLStringifier.prototype.convertCDataKey = "#cdata"; +/***/ 2950: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - XMLStringifier.prototype.convertCommentKey = "#comment"; +"use strict"; - XMLStringifier.prototype.convertRawKey = "#raw"; +Object.defineProperty(exports, "__esModule", { value: true }); +const url = __webpack_require__(8835); +function getProxyUrl(reqUrl) { + let usingSsl = reqUrl.protocol === 'https:'; + let proxyUrl; + if (checkBypass(reqUrl)) { + return proxyUrl; + } + let proxyVar; + if (usingSsl) { + proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + if (proxyVar) { + proxyUrl = url.parse(proxyVar); + } + return proxyUrl; +} +exports.getProxyUrl = getProxyUrl; +function checkBypass(reqUrl) { + if (!reqUrl.hostname) { + return false; + } + let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + if (!noProxy) { + return false; + } + // Determine the request port + let reqPort; + if (reqUrl.port) { + reqPort = Number(reqUrl.port); + } + else if (reqUrl.protocol === 'http:') { + reqPort = 80; + } + else if (reqUrl.protocol === 'https:') { + reqPort = 443; + } + // Format the request hostname and hostname with port + let upperReqHosts = [reqUrl.hostname.toUpperCase()]; + if (typeof reqPort === 'number') { + upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + } + // Compare request host against noproxy + for (let upperNoProxyItem of noProxy + .split(',') + .map(x => x.trim().toUpperCase()) + .filter(x => x)) { + if (upperReqHosts.some(x => x === upperNoProxyItem)) { + return true; + } + } + return false; +} +exports.checkBypass = checkBypass; + + +/***/ }), + +/***/ 2966: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var STS = __webpack_require__(1733); + +/** + * Represents credentials retrieved from STS SAML support. + * + * By default this provider gets credentials using the + * {AWS.STS.assumeRoleWithSAML} service operation. This operation + * requires a `RoleArn` containing the ARN of the IAM trust policy for the + * application for which credentials will be given, as well as a `PrincipalArn` + * representing the ARN for the SAML identity provider. In addition, the + * `SAMLAssertion` must be set to the token provided by the identity + * provider. See {constructor} for an example on creating a credentials + * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values. + * + * ## Refreshing Credentials from Identity Service + * + * In addition to AWS credentials expiring after a given amount of time, the + * login token from the identity provider will also expire. Once this token + * expires, it will not be usable to refresh AWS credentials, and another + * token will be needed. The SDK does not manage refreshing of the token value, + * but this can be done through a "refresh token" supported by most identity + * providers. Consult the documentation for the identity provider for refreshing + * tokens. Once the refreshed token is acquired, you should make sure to update + * this new token in the credentials object's {params} property. The following + * code will update the SAMLAssertion, assuming you have retrieved an updated + * token from the identity provider: + * + * ```javascript + * AWS.config.credentials.params.SAMLAssertion = updatedToken; + * ``` + * + * Future calls to `credentials.refresh()` will now use the new token. + * + * @!attribute params + * @return [map] the map of params passed to + * {AWS.STS.assumeRoleWithSAML}. To update the token, set the + * `params.SAMLAssertion` property. + */ +AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { + /** + * Creates a new credentials object. + * @param (see AWS.STS.assumeRoleWithSAML) + * @example Creating a new credentials object + * AWS.config.credentials = new AWS.SAMLCredentials({ + * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole', + * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal', + * SAMLAssertion: 'base64-token', // base64-encoded token from IdP + * }); + * @see AWS.STS.assumeRoleWithSAML + */ + constructor: function SAMLCredentials(params) { + AWS.Credentials.call(this); + this.expired = true; + this.params = params; + }, + + /** + * Refreshes credentials using {AWS.STS.assumeRoleWithSAML} + * + * @callback callback function(err) + * Called when the STS service responds (or fails). When + * this callback is called with no error, it means that the credentials + * information has been loaded into the object (as the `accessKeyId`, + * `secretAccessKey`, and `sessionToken` properties). + * @param err [Error] if an error occurred, this value will be filled + * @see get + */ + refresh: function refresh(callback) { + this.coalesceRefresh(callback || AWS.util.fn.callback); + }, + + /** + * @api private + */ + load: function load(callback) { + var self = this; + self.createClients(); + self.service.assumeRoleWithSAML(function (err, data) { + if (!err) { + self.service.credentialsFrom(data, self); + } + callback(err); + }); + }, + + /** + * @api private + */ + createClients: function() { + this.service = this.service || new STS({params: this.params}); + } - XMLStringifier.prototype.assertLegalChar = function (str) { - var res; - res = str.match( - /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/ - ); - if (res) { - throw new Error( - "Invalid character in string: " + str + " at index " + res.index - ); - } - return str; - }; +}); + + +/***/ }), + +/***/ 2971: +/***/ (function(module) { + +module.exports = {"pagination":{"ListApplicationRevisions":{"input_token":"nextToken","output_token":"nextToken","result_key":"revisions"},"ListApplications":{"input_token":"nextToken","output_token":"nextToken","result_key":"applications"},"ListDeploymentConfigs":{"input_token":"nextToken","output_token":"nextToken","result_key":"deploymentConfigsList"},"ListDeploymentGroups":{"input_token":"nextToken","output_token":"nextToken","result_key":"deploymentGroups"},"ListDeploymentInstances":{"input_token":"nextToken","output_token":"nextToken","result_key":"instancesList"},"ListDeployments":{"input_token":"nextToken","output_token":"nextToken","result_key":"deployments"}}}; + +/***/ }), + +/***/ 2982: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var proc = __webpack_require__(3129); +var iniLoader = AWS.util.iniLoader; + +/** + * Represents credentials loaded from shared credentials file + * (defaulting to ~/.aws/credentials or defined by the + * `AWS_SHARED_CREDENTIALS_FILE` environment variable). + * + * ## Using process credentials + * + * The credentials file can specify a credential provider that executes + * a given process and attempts to read its stdout to recieve a JSON payload + * containing the credentials: + * + * [default] + * credential_process = /usr/bin/credential_proc + * + * Automatically handles refreshing credentials if an Expiration time is + * provided in the credentials payload. Credentials supplied in the same profile + * will take precedence over the credential_process. + * + * Sourcing credentials from an external process can potentially be dangerous, + * so proceed with caution. Other credential providers should be preferred if + * at all possible. If using this option, you should make sure that the shared + * credentials file is as locked down as possible using security best practices + * for your operating system. + * + * ## Using custom profiles + * + * The SDK supports loading credentials for separate profiles. This can be done + * in two ways: + * + * 1. Set the `AWS_PROFILE` environment variable in your process prior to + * loading the SDK. + * 2. Directly load the AWS.ProcessCredentials provider: + * + * ```javascript + * var creds = new AWS.ProcessCredentials({profile: 'myprofile'}); + * AWS.config.credentials = creds; + * ``` + * + * @!macro nobrowser + */ +AWS.ProcessCredentials = AWS.util.inherit(AWS.Credentials, { + /** + * Creates a new ProcessCredentials object. + * + * @param options [map] a set of options + * @option options profile [String] (AWS_PROFILE env var or 'default') + * the name of the profile to load. + * @option options filename [String] ('~/.aws/credentials' or defined by + * AWS_SHARED_CREDENTIALS_FILE process env var) + * the filename to use when loading credentials. + * @option options callback [Function] (err) Credentials are eagerly loaded + * by the constructor. When the callback is called with no error, the + * credentials have been loaded successfully. + */ + constructor: function ProcessCredentials(options) { + AWS.Credentials.call(this); + + options = options || {}; + + this.filename = options.filename; + this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile; + this.get(options.callback || AWS.util.fn.noop); + }, + + /** + * @api private + */ + load: function load(callback) { + var self = this; + try { + var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename); + var profile = profiles[this.profile] || {}; + + if (Object.keys(profile).length === 0) { + throw AWS.util.error( + new Error('Profile ' + this.profile + ' not found'), + { code: 'ProcessCredentialsProviderFailure' } + ); + } - XMLStringifier.prototype.elEscape = function (str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str - .replace(ampregex, "&") - .replace(//g, ">") - .replace(/\r/g, " "); - }; + if (profile['credential_process']) { + this.loadViaCredentialProcess(profile, function(err, data) { + if (err) { + callback(err, null); + } else { + self.expired = false; + self.accessKeyId = data.AccessKeyId; + self.secretAccessKey = data.SecretAccessKey; + self.sessionToken = data.SessionToken; + if (data.Expiration) { + self.expireTime = new Date(data.Expiration); + } + callback(null); + } + }); + } else { + throw AWS.util.error( + new Error('Profile ' + this.profile + ' did not include credential process'), + { code: 'ProcessCredentialsProviderFailure' } + ); + } + } catch (err) { + callback(err); + } + }, + + /** + * Executes the credential_process and retrieves + * credentials from the output + * @api private + * @param profile [map] credentials profile + * @throws ProcessCredentialsProviderFailure + */ + loadViaCredentialProcess: function loadViaCredentialProcess(profile, callback) { + proc.exec(profile['credential_process'], function(err, stdOut, stdErr) { + if (err) { + callback(AWS.util.error( + new Error('credential_process returned error'), + { code: 'ProcessCredentialsProviderFailure'} + ), null); + } else { + try { + var credData = JSON.parse(stdOut); + if (credData.Expiration) { + var currentTime = AWS.util.date.getDate(); + var expireTime = new Date(credData.Expiration); + if (expireTime < currentTime) { + throw Error('credential_process returned expired credentials'); + } + } - XMLStringifier.prototype.attEscape = function (str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str - .replace(ampregex, "&") - .replace(/] a map of service + * identifiers (the lowercase service class name) with the API version to + * use when instantiating a service. Specify 'latest' for each individual + * that can use the latest available version. + * @option options logger [#write,#log] an object that responds to .write() + * (like a stream) or .log() (like the console object) in order to log + * information about requests + * @option options systemClockOffset [Number] an offset value in milliseconds + * to apply to all signing times. Use this to compensate for clock skew + * when your system may be out of sync with the service time. Note that + * this configuration option can only be applied to the global `AWS.config` + * object and cannot be overridden in service-specific configuration. + * Defaults to 0 milliseconds. + * @option options signatureVersion [String] the signature version to sign + * requests with (overriding the API configuration). Possible values are: + * 'v2', 'v3', 'v4'. + * @option options signatureCache [Boolean] whether the signature to sign + * requests with (overriding the API configuration) is cached. Only applies + * to the signature version 'v4'. Defaults to `true`. + * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32 + * checksum of HTTP response bodies returned by DynamoDB. Default: `true`. + * @option options useAccelerateEndpoint [Boolean] Whether to use the + * S3 Transfer Acceleration endpoint with the S3 service. Default: `false`. + * @option options clientSideMonitoring [Boolean] whether to collect and + * publish this client's performance metrics of all its API requests. + * @option options endpointDiscoveryEnabled [Boolean|undefined] whether to + * call operations with endpoints given by service dynamically. Setting this + * config to `true` will enable endpoint discovery for all applicable operations. + * Setting it to `false` will explicitly disable endpoint discovery even though + * operations that require endpoint discovery will presumably fail. Leaving it + * to `undefined` means SDK will only do endpoint discovery when it's required. + * Defaults to `undefined` + * @option options endpointCacheSize [Number] the size of the global cache storing + * endpoints from endpoint discovery operations. Once endpoint cache is created, + * updating this setting cannot change existing cache size. + * Defaults to 1000 + * @option options hostPrefixEnabled [Boolean] whether to marshal request + * parameters to the prefix of hostname. + * Defaults to `true`. + * @option options stsRegionalEndpoints ['legacy'|'regional'] whether to send sts request + * to global endpoints or regional endpoints. + * Defaults to 'legacy'. + */ + constructor: function Config(options) { + if (options === undefined) options = {}; + options = this.extractCredentials(options); + + AWS.util.each.call(this, this.keys, function (key, value) { + this.set(key, options[key], value); + }); + }, + + /** + * @!group Managing Credentials + */ + + /** + * Loads credentials from the configuration object. This is used internally + * by the SDK to ensure that refreshable {Credentials} objects are properly + * refreshed and loaded when sending a request. If you want to ensure that + * your credentials are loaded prior to a request, you can use this method + * directly to provide accurate credential data stored in the object. + * + * @note If you configure the SDK with static or environment credentials, + * the credential data should already be present in {credentials} attribute. + * This method is primarily necessary to load credentials from asynchronous + * sources, or sources that can refresh credentials periodically. + * @example Getting your access key + * AWS.config.getCredentials(function(err) { + * if (err) console.log(err.stack); // credentials not loaded + * else console.log("Access Key:", AWS.config.credentials.accessKeyId); + * }) + * @callback callback function(err) + * Called when the {credentials} have been properly set on the configuration + * object. + * + * @param err [Error] if this is set, credentials were not successfully + * loaded and this error provides information why. + * @see credentials + * @see Credentials + */ + getCredentials: function getCredentials(callback) { + var self = this; + + function finish(err) { + callback(err, err ? null : self.credentials); + } + + function credError(msg, err) { + return new AWS.util.error(err || new Error(), { + code: 'CredentialsError', + message: msg, + name: 'CredentialsError' + }); + } + + function getAsyncCredentials() { + self.credentials.get(function(err) { + if (err) { + var msg = 'Could not load credentials from ' + + self.credentials.constructor.name; + err = credError(msg, err); } - } + finish(err); + }); + } - function ListShape(shape, options) { - var self = this, - firstInit = !this.isShape; - CompositeShape.apply(this, arguments); + function getStaticCredentials() { + var err = null; + if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) { + err = credError('Missing credentials'); + } + finish(err); + } - if (firstInit) { - property(this, "defaultValue", function () { - return []; - }); + if (self.credentials) { + if (typeof self.credentials.get === 'function') { + getAsyncCredentials(); + } else { // static credentials + getStaticCredentials(); + } + } else if (self.credentialProvider) { + self.credentialProvider.resolve(function(err, creds) { + if (err) { + err = credError('Could not load credentials from any providers', err); } + self.credentials = creds; + finish(err); + }); + } else { + finish(credError('No credentials to load')); + } + }, + + /** + * @!group Loading and Setting Configuration Options + */ + + /** + * @overload update(options, allowUnknownKeys = false) + * Updates the current configuration object with new options. + * + * @example Update maxRetries property of a configuration object + * config.update({maxRetries: 10}); + * @param [Object] options a map of option keys and values. + * @param [Boolean] allowUnknownKeys whether unknown keys can be set on + * the configuration object. Defaults to `false`. + * @see constructor + */ + update: function update(options, allowUnknownKeys) { + allowUnknownKeys = allowUnknownKeys || false; + options = this.extractCredentials(options); + AWS.util.each.call(this, options, function (key, value) { + if (allowUnknownKeys || Object.prototype.hasOwnProperty.call(this.keys, key) || + AWS.Service.hasService(key)) { + this.set(key, value); + } + }); + }, + + /** + * Loads configuration data from a JSON file into this config object. + * @note Loading configuration will reset all existing configuration + * on the object. + * @!macro nobrowser + * @param path [String] the path relative to your process's current + * working directory to load configuration from. + * @return [AWS.Config] the same configuration object + */ + loadFromPath: function loadFromPath(path) { + this.clear(); + + var options = JSON.parse(AWS.util.readFileSync(path)); + var fileSystemCreds = new AWS.FileSystemCredentials(path); + var chain = new AWS.CredentialProviderChain(); + chain.providers.unshift(fileSystemCreds); + chain.resolve(function (err, creds) { + if (err) throw err; + else options.credentials = creds; + }); + + this.constructor(options); + + return this; + }, + + /** + * Clears configuration data on this object + * + * @api private + */ + clear: function clear() { + /*jshint forin:false */ + AWS.util.each.call(this, this.keys, function (key) { + delete this[key]; + }); + + // reset credential provider + this.set('credentials', undefined); + this.set('credentialProvider', undefined); + }, + + /** + * Sets a property on the configuration object, allowing for a + * default value + * @api private + */ + set: function set(property, value, defaultValue) { + if (value === undefined) { + if (defaultValue === undefined) { + defaultValue = this.keys[property]; + } + if (typeof defaultValue === 'function') { + this[property] = defaultValue.call(this); + } else { + this[property] = defaultValue; + } + } else if (property === 'httpOptions' && this[property]) { + // deep merge httpOptions + this[property] = AWS.util.merge(this[property], value); + } else { + this[property] = value; + } + }, + + /** + * All of the keys with their default values. + * + * @constant + * @api private + */ + keys: { + credentials: null, + credentialProvider: null, + region: null, + logger: null, + apiVersions: {}, + apiVersion: null, + endpoint: undefined, + httpOptions: { + timeout: 120000 + }, + maxRetries: undefined, + maxRedirects: 10, + paramValidation: true, + sslEnabled: true, + s3ForcePathStyle: false, + s3BucketEndpoint: false, + s3DisableBodySigning: true, + s3UsEast1RegionalEndpoint: 'legacy', + s3UseArnRegion: undefined, + computeChecksums: true, + convertResponseTypes: true, + correctClockSkew: false, + customUserAgent: null, + dynamoDbCrc32: true, + systemClockOffset: 0, + signatureVersion: null, + signatureCache: true, + retryDelayOptions: {}, + useAccelerateEndpoint: false, + clientSideMonitoring: false, + endpointDiscoveryEnabled: undefined, + endpointCacheSize: 1000, + hostPrefixEnabled: true, + stsRegionalEndpoints: 'legacy' + }, + + /** + * Extracts accessKeyId, secretAccessKey and sessionToken + * from a configuration hash. + * + * @api private + */ + extractCredentials: function extractCredentials(options) { + if (options.accessKeyId && options.secretAccessKey) { + options = AWS.util.copy(options); + options.credentials = new AWS.Credentials(options); + } + return options; + }, + + /** + * Sets the promise dependency the SDK will use wherever Promises are returned. + * Passing `null` will force the SDK to use native Promises if they are available. + * If native Promises are not available, passing `null` will have no effect. + * @param [Constructor] dep A reference to a Promise constructor + */ + setPromisesDependency: function setPromisesDependency(dep) { + PromisesDependency = dep; + // if null was passed in, we should try to use native promises + if (dep === null && typeof Promise === 'function') { + PromisesDependency = Promise; + } + var constructors = [AWS.Request, AWS.Credentials, AWS.CredentialProviderChain]; + if (AWS.S3) { + constructors.push(AWS.S3); + if (AWS.S3.ManagedUpload) { + constructors.push(AWS.S3.ManagedUpload); + } + } + AWS.util.addPromises(constructors, PromisesDependency); + }, + + /** + * Gets the promise dependency set by `AWS.config.setPromisesDependency`. + */ + getPromisesDependency: function getPromisesDependency() { + return PromisesDependency; + } +}); - if (shape.member) { - memoizedProperty(this, "member", function () { - return Shape.create(shape.member, options); - }); - } +/** + * @return [AWS.Config] The global configuration object singleton instance + * @readonly + * @see AWS.Config + */ +AWS.config = new AWS.Config(); - if (this.flattened) { - var oldName = this.name; - memoizedProperty(this, "name", function () { - return self.member.name || oldName; - }); - } - } - function MapShape(shape, options) { - var firstInit = !this.isShape; - CompositeShape.apply(this, arguments); +/***/ }), + +/***/ 3206: +/***/ (function(module, __unusedexports, __webpack_require__) { - if (firstInit) { - property(this, "defaultValue", function () { - return {}; - }); - property(this, "key", Shape.create({ type: "string" }, options)); - property(this, "value", Shape.create({ type: "string" }, options)); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - if (shape.key) { - memoizedProperty(this, "key", function () { - return Shape.create(shape.key, options); - }); - } - if (shape.value) { - memoizedProperty(this, "value", function () { - return Shape.create(shape.value, options); - }); - } - } +apiLoader.services['route53domains'] = {}; +AWS.Route53Domains = Service.defineService('route53domains', ['2014-05-15']); +Object.defineProperty(apiLoader.services['route53domains'], '2014-05-15', { + get: function get() { + var model = __webpack_require__(7591); + model.paginators = __webpack_require__(9983).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function TimestampShape(shape) { - var self = this; - Shape.apply(this, arguments); - - if (shape.timestampFormat) { - property(this, "timestampFormat", shape.timestampFormat); - } else if (self.isTimestampFormatSet && this.timestampFormat) { - property(this, "timestampFormat", this.timestampFormat); - } else if (this.location === "header") { - property(this, "timestampFormat", "rfc822"); - } else if (this.location === "querystring") { - property(this, "timestampFormat", "iso8601"); - } else if (this.api) { - switch (this.api.protocol) { - case "json": - case "rest-json": - property(this, "timestampFormat", "unixTimestamp"); - break; - case "rest-xml": - case "query": - case "ec2": - property(this, "timestampFormat", "iso8601"); - break; - } - } +module.exports = AWS.Route53Domains; - this.toType = function (value) { - if (value === null || value === undefined) return null; - if (typeof value.toUTCString === "function") return value; - return typeof value === "string" || typeof value === "number" - ? util.date.parseTimestamp(value) - : null; - }; - this.toWireFormat = function (value) { - return util.date.format(value, self.timestampFormat); - }; - } +/***/ }), - function StringShape() { - Shape.apply(this, arguments); - - var nullLessProtocols = ["rest-xml", "query", "ec2"]; - this.toType = function (value) { - value = - this.api && nullLessProtocols.indexOf(this.api.protocol) > -1 - ? value || "" - : value; - if (this.isJsonValue) { - return JSON.parse(value); - } +/***/ 3209: +/***/ (function(module) { - return value && typeof value.toString === "function" - ? value.toString() - : value; - }; +module.exports = {"pagination":{}}; - this.toWireFormat = function (value) { - return this.isJsonValue ? JSON.stringify(value) : value; - }; - } +/***/ }), - function FloatShape() { - Shape.apply(this, arguments); +/***/ 3220: +/***/ (function(module, __unusedexports, __webpack_require__) { - this.toType = function (value) { - if (value === null || value === undefined) return null; - return parseFloat(value); - }; - this.toWireFormat = this.toType; - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function IntegerShape() { - Shape.apply(this, arguments); +apiLoader.services['managedblockchain'] = {}; +AWS.ManagedBlockchain = Service.defineService('managedblockchain', ['2018-09-24']); +Object.defineProperty(apiLoader.services['managedblockchain'], '2018-09-24', { + get: function get() { + var model = __webpack_require__(3762); + model.paginators = __webpack_require__(2816).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - this.toType = function (value) { - if (value === null || value === undefined) return null; - return parseInt(value, 10); - }; - this.toWireFormat = this.toType; - } +module.exports = AWS.ManagedBlockchain; - function BinaryShape() { - Shape.apply(this, arguments); - this.toType = function (value) { - var buf = util.base64.decode(value); - if ( - this.isSensitive && - util.isNode() && - typeof util.Buffer.alloc === "function" - ) { - /* Node.js can create a Buffer that is not isolated. - * i.e. buf.byteLength !== buf.buffer.byteLength - * This means that the sensitive data is accessible to anyone with access to buf.buffer. - * If this is the node shared Buffer, then other code within this process _could_ find this secret. - * Copy sensitive data to an isolated Buffer and zero the sensitive data. - * While this is safe to do here, copying this code somewhere else may produce unexpected results. - */ - var secureBuf = util.Buffer.alloc(buf.length, buf); - buf.fill(0); - buf = secureBuf; - } - return buf; - }; - this.toWireFormat = util.base64.encode; - } - function Base64Shape() { - BinaryShape.apply(this, arguments); - } +/***/ }), - function BooleanShape() { - Shape.apply(this, arguments); +/***/ 3222: +/***/ (function(module, __unusedexports, __webpack_require__) { - this.toType = function (value) { - if (typeof value === "boolean") return value; - if (value === null || value === undefined) return null; - return value === "true"; - }; - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /** - * @api private - */ - Shape.shapes = { - StructureShape: StructureShape, - ListShape: ListShape, - MapShape: MapShape, - StringShape: StringShape, - BooleanShape: BooleanShape, - Base64Shape: Base64Shape, - }; +apiLoader.services['iotevents'] = {}; +AWS.IoTEvents = Service.defineService('iotevents', ['2018-07-27']); +Object.defineProperty(apiLoader.services['iotevents'], '2018-07-27', { + get: function get() { + var model = __webpack_require__(7430); + model.paginators = __webpack_require__(3658).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /** - * @api private - */ - module.exports = Shape; +module.exports = AWS.IoTEvents; - /***/ - }, - /***/ 3691: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2009-04-15", - endpointPrefix: "sdb", - serviceFullName: "Amazon SimpleDB", - serviceId: "SimpleDB", - signatureVersion: "v2", - xmlNamespace: "http://sdb.amazonaws.com/doc/2009-04-15/", - protocol: "query", - }, - operations: { - BatchDeleteAttributes: { - input: { - type: "structure", - required: ["DomainName", "Items"], - members: { - DomainName: {}, - Items: { - type: "list", - member: { - locationName: "Item", - type: "structure", - required: ["Name"], - members: { - Name: { locationName: "ItemName" }, - Attributes: { shape: "S5" }, - }, - }, - flattened: true, - }, - }, - }, - }, - BatchPutAttributes: { - input: { - type: "structure", - required: ["DomainName", "Items"], - members: { - DomainName: {}, - Items: { - type: "list", - member: { - locationName: "Item", - type: "structure", - required: ["Name", "Attributes"], - members: { - Name: { locationName: "ItemName" }, - Attributes: { shape: "Sa" }, - }, - }, - flattened: true, - }, - }, - }, - }, - CreateDomain: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - }, - DeleteAttributes: { - input: { - type: "structure", - required: ["DomainName", "ItemName"], - members: { - DomainName: {}, - ItemName: {}, - Attributes: { shape: "S5" }, - Expected: { shape: "Sf" }, - }, - }, - }, - DeleteDomain: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - }, - DomainMetadata: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "DomainMetadataResult", - type: "structure", - members: { - ItemCount: { type: "integer" }, - ItemNamesSizeBytes: { type: "long" }, - AttributeNameCount: { type: "integer" }, - AttributeNamesSizeBytes: { type: "long" }, - AttributeValueCount: { type: "integer" }, - AttributeValuesSizeBytes: { type: "long" }, - Timestamp: { type: "integer" }, - }, - }, - }, - GetAttributes: { - input: { - type: "structure", - required: ["DomainName", "ItemName"], - members: { - DomainName: {}, - ItemName: {}, - AttributeNames: { - type: "list", - member: { locationName: "AttributeName" }, - flattened: true, - }, - ConsistentRead: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "GetAttributesResult", - type: "structure", - members: { Attributes: { shape: "So" } }, - }, - }, - ListDomains: { - input: { - type: "structure", - members: { - MaxNumberOfDomains: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - resultWrapper: "ListDomainsResult", - type: "structure", - members: { - DomainNames: { - type: "list", - member: { locationName: "DomainName" }, - flattened: true, - }, - NextToken: {}, - }, - }, - }, - PutAttributes: { - input: { - type: "structure", - required: ["DomainName", "ItemName", "Attributes"], - members: { - DomainName: {}, - ItemName: {}, - Attributes: { shape: "Sa" }, - Expected: { shape: "Sf" }, - }, - }, - }, - Select: { - input: { - type: "structure", - required: ["SelectExpression"], - members: { - SelectExpression: {}, - NextToken: {}, - ConsistentRead: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "SelectResult", - type: "structure", - members: { - Items: { - type: "list", - member: { - locationName: "Item", - type: "structure", - required: ["Name", "Attributes"], - members: { - Name: {}, - AlternateNameEncoding: {}, - Attributes: { shape: "So" }, - }, - }, - flattened: true, - }, - NextToken: {}, - }, - }, - }, - }, - shapes: { - S5: { - type: "list", - member: { - locationName: "Attribute", - type: "structure", - required: ["Name"], - members: { Name: {}, Value: {} }, - }, - flattened: true, - }, - Sa: { - type: "list", - member: { - locationName: "Attribute", - type: "structure", - required: ["Name", "Value"], - members: { Name: {}, Value: {}, Replace: { type: "boolean" } }, - }, - flattened: true, - }, - Sf: { - type: "structure", - members: { Name: {}, Value: {}, Exists: { type: "boolean" } }, - }, - So: { - type: "list", - member: { - locationName: "Attribute", - type: "structure", - required: ["Name", "Value"], - members: { - Name: {}, - AlternateNameEncoding: {}, - Value: {}, - AlternateValueEncoding: {}, - }, - }, - flattened: true, - }, - }, - }; +/***/ }), + +/***/ 3223: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['textract'] = {}; +AWS.Textract = Service.defineService('textract', ['2018-06-27']); +Object.defineProperty(apiLoader.services['textract'], '2018-06-27', { + get: function get() { + var model = __webpack_require__(918); + model.paginators = __webpack_require__(2449).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.Textract; + + +/***/ }), + +/***/ 3224: +/***/ (function(module) { + +module.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":{},"Origin":{},"CustomKeyStoreId":{},"BypassPolicyLockoutSafetyCheck":{"type":"boolean"},"Tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"KeyMetadata":{"shape":"S14"}}}},"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":"S1i"},"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":"S14"}}}},"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":"S1i"},"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":"S1i"},"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":"S1i"},"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":"S1i"}}}},"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":"S1i"},"ParametersValidTo":{"type":"timestamp"}}}},"GetPublicKey":{"input":{"type":"structure","required":["KeyId"],"members":{"KeyId":{},"GrantTokens":{"shape":"Sn"}}},"output":{"type":"structure","members":{"KeyId":{},"PublicKey":{"type":"blob"},"CustomerMasterKeySpec":{},"KeyUsage":{},"EncryptionAlgorithms":{"shape":"S1b"},"SigningAlgorithms":{"shape":"S1d"}}}},"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":{}}},"output":{"shape":"S31"}},"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":"Sz"},"NextMarker":{},"Truncated":{"type":"boolean"}}}},"ListRetirableGrants":{"input":{"type":"structure","required":["RetiringPrincipal"],"members":{"Limit":{"type":"integer"},"Marker":{},"RetiringPrincipal":{}}},"output":{"shape":"S31"}},"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":{}}}},"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"}}}},"Sign":{"input":{"type":"structure","required":["KeyId","Message","SigningAlgorithm"],"members":{"KeyId":{},"Message":{"shape":"S1i"},"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":"Sz"}}}},"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":{}}}},"Verify":{"input":{"type":"structure","required":["KeyId","Message","Signature","SigningAlgorithm"],"members":{"KeyId":{},"Message":{"shape":"S1i"},"MessageType":{},"Signature":{"type":"blob"},"SigningAlgorithm":{},"GrantTokens":{"shape":"Sn"}}},"output":{"type":"structure","members":{"KeyId":{},"SignatureValid":{"type":"boolean"},"SigningAlgorithm":{}}}}},"shapes":{"Sd":{"type":"string","sensitive":true},"Sh":{"type":"list","member":{}},"Sj":{"type":"structure","members":{"EncryptionContextSubset":{"shape":"Sk"},"EncryptionContextEquals":{"shape":"Sk"}}},"Sk":{"type":"map","key":{},"value":{}},"Sn":{"type":"list","member":{}},"Sz":{"type":"list","member":{"type":"structure","required":["TagKey","TagValue"],"members":{"TagKey":{},"TagValue":{}}}},"S14":{"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":{},"EncryptionAlgorithms":{"shape":"S1b"},"SigningAlgorithms":{"shape":"S1d"}}},"S1b":{"type":"list","member":{}},"S1d":{"type":"list","member":{}},"S1i":{"type":"blob","sensitive":true},"S31":{"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"}}}}}; + +/***/ }), + +/***/ 3229: +/***/ (function(module) { + +module.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"}}}; + +/***/ }), + +/***/ 3234: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var util = __webpack_require__(153); + +util.isBrowser = function() { return false; }; +util.isNode = function() { return true; }; + +// node.js specific modules +util.crypto.lib = __webpack_require__(6417); +util.Buffer = __webpack_require__(4293).Buffer; +util.domain = __webpack_require__(5229); +util.stream = __webpack_require__(2413); +util.url = __webpack_require__(8835); +util.querystring = __webpack_require__(1191); +util.environment = 'nodejs'; +util.createEventStream = util.stream.Readable ? + __webpack_require__(445).createEventStream : __webpack_require__(1661).createEventStream; +util.realClock = __webpack_require__(6693); +util.clientSideMonitoring = { + Publisher: __webpack_require__(1701).Publisher, + configProvider: __webpack_require__(1762), +}; +util.iniLoader = __webpack_require__(5892).iniLoader; +util.getSystemErrorName = __webpack_require__(1669).getSystemErrorName; + +var AWS; + +/** + * @api private + */ +module.exports = AWS = __webpack_require__(395); + +__webpack_require__(4923); +__webpack_require__(4906); +__webpack_require__(3043); +__webpack_require__(9543); +__webpack_require__(747); +__webpack_require__(7170); +__webpack_require__(2966); +__webpack_require__(2982); + +// Load the xml2js XML parser +AWS.XML.Parser = __webpack_require__(9810); + +// Load Node HTTP client +__webpack_require__(6888); + +__webpack_require__(7960); + +// Load custom credential providers +__webpack_require__(8868); +__webpack_require__(6103); +__webpack_require__(7426); +__webpack_require__(9316); +__webpack_require__(872); +__webpack_require__(634); +__webpack_require__(6431); +__webpack_require__(2982); + +// Setup default chain providers +// If this changes, please update documentation for +// AWS.CredentialProviderChain.defaultProviders in +// credentials/credential_provider_chain.js +AWS.CredentialProviderChain.defaultProviders = [ + function () { return new AWS.EnvironmentCredentials('AWS'); }, + function () { return new AWS.EnvironmentCredentials('AMAZON'); }, + function () { return new AWS.SharedIniFileCredentials(); }, + function () { return new AWS.ECSCredentials(); }, + function () { return new AWS.ProcessCredentials(); }, + function () { return new AWS.TokenFileWebIdentityCredentials(); }, + function () { return new AWS.EC2MetadataCredentials(); } +]; + +// Update configuration keys +AWS.util.update(AWS.Config.prototype.keys, { + credentials: function () { + var credentials = null; + new AWS.CredentialProviderChain([ + function () { return new AWS.EnvironmentCredentials('AWS'); }, + function () { return new AWS.EnvironmentCredentials('AMAZON'); }, + function () { return new AWS.SharedIniFileCredentials({ disableAssumeRole: true }); } + ]).resolve(function(err, creds) { + if (!err) credentials = creds; + }); + return credentials; + }, + credentialProvider: function() { + return new AWS.CredentialProviderChain(); + }, + logger: function () { + return process.env.AWSJS_DEBUG ? console : null; + }, + region: function() { + var env = process.env; + var region = env.AWS_REGION || env.AMAZON_REGION; + if (env[AWS.util.configOptInEnv]) { + var toCheck = [ + {filename: env[AWS.util.sharedCredentialsFileEnv]}, + {isConfig: true, filename: env[AWS.util.sharedConfigFileEnv]} + ]; + var iniLoader = AWS.util.iniLoader; + while (!region && toCheck.length) { + var configFile = iniLoader.loadFrom(toCheck.shift()); + var profile = configFile[env.AWS_PROFILE || AWS.util.defaultProfile]; + region = profile && profile.region; + } + } + return region; + } +}); - /***/ - }, +// Reset configuration +AWS.config = new AWS.Config(); - /***/ 3693: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2011-01-01", - endpointPrefix: "autoscaling", - protocol: "query", - serviceFullName: "Auto Scaling", - serviceId: "Auto Scaling", - signatureVersion: "v4", - uid: "autoscaling-2011-01-01", - xmlNamespace: "http://autoscaling.amazonaws.com/doc/2011-01-01/", - }, - operations: { - AttachInstances: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - }, - }, - }, - AttachLoadBalancerTargetGroups: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "TargetGroupARNs"], - members: { - AutoScalingGroupName: {}, - TargetGroupARNs: { shape: "S6" }, - }, - }, - output: { - resultWrapper: "AttachLoadBalancerTargetGroupsResult", - type: "structure", - members: {}, - }, - }, - AttachLoadBalancers: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "LoadBalancerNames"], - members: { - AutoScalingGroupName: {}, - LoadBalancerNames: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "AttachLoadBalancersResult", - type: "structure", - members: {}, - }, - }, - BatchDeleteScheduledAction: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "ScheduledActionNames"], - members: { - AutoScalingGroupName: {}, - ScheduledActionNames: { shape: "Se" }, - }, - }, - output: { - resultWrapper: "BatchDeleteScheduledActionResult", - type: "structure", - members: { FailedScheduledActions: { shape: "Sg" } }, - }, - }, - BatchPutScheduledUpdateGroupAction: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "ScheduledUpdateGroupActions"], - members: { - AutoScalingGroupName: {}, - ScheduledUpdateGroupActions: { - type: "list", - member: { - type: "structure", - required: ["ScheduledActionName"], - members: { - ScheduledActionName: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Recurrence: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - }, - }, - }, - }, - }, - output: { - resultWrapper: "BatchPutScheduledUpdateGroupActionResult", - type: "structure", - members: { FailedScheduledUpdateGroupActions: { shape: "Sg" } }, - }, - }, - CompleteLifecycleAction: { - input: { - type: "structure", - required: [ - "LifecycleHookName", - "AutoScalingGroupName", - "LifecycleActionResult", - ], - members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleActionToken: {}, - LifecycleActionResult: {}, - InstanceId: {}, - }, - }, - output: { - resultWrapper: "CompleteLifecycleActionResult", - type: "structure", - members: {}, - }, - }, - CreateAutoScalingGroup: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "MinSize", "MaxSize"], - members: { - AutoScalingGroupName: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - MixedInstancesPolicy: { shape: "S10" }, - InstanceId: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - DefaultCooldown: { type: "integer" }, - AvailabilityZones: { shape: "S1b" }, - LoadBalancerNames: { shape: "Sa" }, - TargetGroupARNs: { shape: "S6" }, - HealthCheckType: {}, - HealthCheckGracePeriod: { type: "integer" }, - PlacementGroup: {}, - VPCZoneIdentifier: {}, - TerminationPolicies: { shape: "S1e" }, - NewInstancesProtectedFromScaleIn: { type: "boolean" }, - LifecycleHookSpecificationList: { - type: "list", - member: { - type: "structure", - required: ["LifecycleHookName", "LifecycleTransition"], - members: { - LifecycleHookName: {}, - LifecycleTransition: {}, - NotificationMetadata: {}, - HeartbeatTimeout: { type: "integer" }, - DefaultResult: {}, - NotificationTargetARN: {}, - RoleARN: {}, - }, - }, - }, - Tags: { shape: "S1n" }, - ServiceLinkedRoleARN: {}, - MaxInstanceLifetime: { type: "integer" }, - }, - }, - }, - CreateLaunchConfiguration: { - input: { - type: "structure", - required: ["LaunchConfigurationName"], - members: { - LaunchConfigurationName: {}, - ImageId: {}, - KeyName: {}, - SecurityGroups: { shape: "S1u" }, - ClassicLinkVPCId: {}, - ClassicLinkVPCSecurityGroups: { shape: "S1v" }, - UserData: {}, - InstanceId: {}, - InstanceType: {}, - KernelId: {}, - RamdiskId: {}, - BlockDeviceMappings: { shape: "S1x" }, - InstanceMonitoring: { shape: "S26" }, - SpotPrice: {}, - IamInstanceProfile: {}, - EbsOptimized: { type: "boolean" }, - AssociatePublicIpAddress: { type: "boolean" }, - PlacementTenancy: {}, - }, - }, - }, - CreateOrUpdateTags: { - input: { - type: "structure", - required: ["Tags"], - members: { Tags: { shape: "S1n" } }, - }, - }, - DeleteAutoScalingGroup: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - AutoScalingGroupName: {}, - ForceDelete: { type: "boolean" }, - }, - }, - }, - DeleteLaunchConfiguration: { - input: { - type: "structure", - required: ["LaunchConfigurationName"], - members: { LaunchConfigurationName: {} }, - }, - }, - DeleteLifecycleHook: { - input: { - type: "structure", - required: ["LifecycleHookName", "AutoScalingGroupName"], - members: { LifecycleHookName: {}, AutoScalingGroupName: {} }, - }, - output: { - resultWrapper: "DeleteLifecycleHookResult", - type: "structure", - members: {}, - }, - }, - DeleteNotificationConfiguration: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "TopicARN"], - members: { AutoScalingGroupName: {}, TopicARN: {} }, - }, - }, - DeletePolicy: { - input: { - type: "structure", - required: ["PolicyName"], - members: { AutoScalingGroupName: {}, PolicyName: {} }, - }, - }, - DeleteScheduledAction: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "ScheduledActionName"], - members: { AutoScalingGroupName: {}, ScheduledActionName: {} }, - }, - }, - DeleteTags: { - input: { - type: "structure", - required: ["Tags"], - members: { Tags: { shape: "S1n" } }, - }, - }, - DescribeAccountLimits: { - output: { - resultWrapper: "DescribeAccountLimitsResult", - type: "structure", - members: { - MaxNumberOfAutoScalingGroups: { type: "integer" }, - MaxNumberOfLaunchConfigurations: { type: "integer" }, - NumberOfAutoScalingGroups: { type: "integer" }, - NumberOfLaunchConfigurations: { type: "integer" }, - }, - }, - }, - DescribeAdjustmentTypes: { - output: { - resultWrapper: "DescribeAdjustmentTypesResult", - type: "structure", - members: { - AdjustmentTypes: { - type: "list", - member: { - type: "structure", - members: { AdjustmentType: {} }, - }, - }, - }, - }, - }, - DescribeAutoScalingGroups: { - input: { - type: "structure", - members: { - AutoScalingGroupNames: { shape: "S2u" }, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeAutoScalingGroupsResult", - type: "structure", - required: ["AutoScalingGroups"], - members: { - AutoScalingGroups: { - type: "list", - member: { - type: "structure", - required: [ - "AutoScalingGroupName", - "MinSize", - "MaxSize", - "DesiredCapacity", - "DefaultCooldown", - "AvailabilityZones", - "HealthCheckType", - "CreatedTime", - ], - members: { - AutoScalingGroupName: {}, - AutoScalingGroupARN: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - MixedInstancesPolicy: { shape: "S10" }, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - DefaultCooldown: { type: "integer" }, - AvailabilityZones: { shape: "S1b" }, - LoadBalancerNames: { shape: "Sa" }, - TargetGroupARNs: { shape: "S6" }, - HealthCheckType: {}, - HealthCheckGracePeriod: { type: "integer" }, - Instances: { - type: "list", - member: { - type: "structure", - required: [ - "InstanceId", - "AvailabilityZone", - "LifecycleState", - "HealthStatus", - "ProtectedFromScaleIn", - ], - members: { - InstanceId: {}, - InstanceType: {}, - AvailabilityZone: {}, - LifecycleState: {}, - HealthStatus: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - ProtectedFromScaleIn: { type: "boolean" }, - WeightedCapacity: {}, - }, - }, - }, - CreatedTime: { type: "timestamp" }, - SuspendedProcesses: { - type: "list", - member: { - type: "structure", - members: { ProcessName: {}, SuspensionReason: {} }, - }, - }, - PlacementGroup: {}, - VPCZoneIdentifier: {}, - EnabledMetrics: { - type: "list", - member: { - type: "structure", - members: { Metric: {}, Granularity: {} }, - }, - }, - Status: {}, - Tags: { shape: "S36" }, - TerminationPolicies: { shape: "S1e" }, - NewInstancesProtectedFromScaleIn: { type: "boolean" }, - ServiceLinkedRoleARN: {}, - MaxInstanceLifetime: { type: "integer" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeAutoScalingInstances: { - input: { - type: "structure", - members: { - InstanceIds: { shape: "S2" }, - MaxRecords: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - resultWrapper: "DescribeAutoScalingInstancesResult", - type: "structure", - members: { - AutoScalingInstances: { - type: "list", - member: { - type: "structure", - required: [ - "InstanceId", - "AutoScalingGroupName", - "AvailabilityZone", - "LifecycleState", - "HealthStatus", - "ProtectedFromScaleIn", - ], - members: { - InstanceId: {}, - InstanceType: {}, - AutoScalingGroupName: {}, - AvailabilityZone: {}, - LifecycleState: {}, - HealthStatus: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - ProtectedFromScaleIn: { type: "boolean" }, - WeightedCapacity: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeAutoScalingNotificationTypes: { - output: { - resultWrapper: "DescribeAutoScalingNotificationTypesResult", - type: "structure", - members: { AutoScalingNotificationTypes: { shape: "S3d" } }, - }, - }, - DescribeLaunchConfigurations: { - input: { - type: "structure", - members: { - LaunchConfigurationNames: { type: "list", member: {} }, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeLaunchConfigurationsResult", - type: "structure", - required: ["LaunchConfigurations"], - members: { - LaunchConfigurations: { - type: "list", - member: { - type: "structure", - required: [ - "LaunchConfigurationName", - "ImageId", - "InstanceType", - "CreatedTime", - ], - members: { - LaunchConfigurationName: {}, - LaunchConfigurationARN: {}, - ImageId: {}, - KeyName: {}, - SecurityGroups: { shape: "S1u" }, - ClassicLinkVPCId: {}, - ClassicLinkVPCSecurityGroups: { shape: "S1v" }, - UserData: {}, - InstanceType: {}, - KernelId: {}, - RamdiskId: {}, - BlockDeviceMappings: { shape: "S1x" }, - InstanceMonitoring: { shape: "S26" }, - SpotPrice: {}, - IamInstanceProfile: {}, - CreatedTime: { type: "timestamp" }, - EbsOptimized: { type: "boolean" }, - AssociatePublicIpAddress: { type: "boolean" }, - PlacementTenancy: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeLifecycleHookTypes: { - output: { - resultWrapper: "DescribeLifecycleHookTypesResult", - type: "structure", - members: { LifecycleHookTypes: { shape: "S3d" } }, - }, - }, - DescribeLifecycleHooks: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - AutoScalingGroupName: {}, - LifecycleHookNames: { type: "list", member: {} }, - }, - }, - output: { - resultWrapper: "DescribeLifecycleHooksResult", - type: "structure", - members: { - LifecycleHooks: { - type: "list", - member: { - type: "structure", - members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleTransition: {}, - NotificationTargetARN: {}, - RoleARN: {}, - NotificationMetadata: {}, - HeartbeatTimeout: { type: "integer" }, - GlobalTimeout: { type: "integer" }, - DefaultResult: {}, - }, - }, - }, - }, - }, - }, - DescribeLoadBalancerTargetGroups: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - AutoScalingGroupName: {}, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeLoadBalancerTargetGroupsResult", - type: "structure", - members: { - LoadBalancerTargetGroups: { - type: "list", - member: { - type: "structure", - members: { LoadBalancerTargetGroupARN: {}, State: {} }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeLoadBalancers: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - AutoScalingGroupName: {}, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeLoadBalancersResult", - type: "structure", - members: { - LoadBalancers: { - type: "list", - member: { - type: "structure", - members: { LoadBalancerName: {}, State: {} }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeMetricCollectionTypes: { - output: { - resultWrapper: "DescribeMetricCollectionTypesResult", - type: "structure", - members: { - Metrics: { - type: "list", - member: { type: "structure", members: { Metric: {} } }, - }, - Granularities: { - type: "list", - member: { type: "structure", members: { Granularity: {} } }, - }, - }, - }, - }, - DescribeNotificationConfigurations: { - input: { - type: "structure", - members: { - AutoScalingGroupNames: { shape: "S2u" }, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeNotificationConfigurationsResult", - type: "structure", - required: ["NotificationConfigurations"], - members: { - NotificationConfigurations: { - type: "list", - member: { - type: "structure", - members: { - AutoScalingGroupName: {}, - TopicARN: {}, - NotificationType: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribePolicies: { - input: { - type: "structure", - members: { - AutoScalingGroupName: {}, - PolicyNames: { type: "list", member: {} }, - PolicyTypes: { type: "list", member: {} }, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribePoliciesResult", - type: "structure", - members: { - ScalingPolicies: { - type: "list", - member: { - type: "structure", - members: { - AutoScalingGroupName: {}, - PolicyName: {}, - PolicyARN: {}, - PolicyType: {}, - AdjustmentType: {}, - MinAdjustmentStep: { shape: "S4d" }, - MinAdjustmentMagnitude: { type: "integer" }, - ScalingAdjustment: { type: "integer" }, - Cooldown: { type: "integer" }, - StepAdjustments: { shape: "S4g" }, - MetricAggregationType: {}, - EstimatedInstanceWarmup: { type: "integer" }, - Alarms: { shape: "S4k" }, - TargetTrackingConfiguration: { shape: "S4m" }, - Enabled: { type: "boolean" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeScalingActivities: { - input: { - type: "structure", - members: { - ActivityIds: { type: "list", member: {} }, - AutoScalingGroupName: {}, - MaxRecords: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - resultWrapper: "DescribeScalingActivitiesResult", - type: "structure", - required: ["Activities"], - members: { Activities: { shape: "S53" }, NextToken: {} }, - }, - }, - DescribeScalingProcessTypes: { - output: { - resultWrapper: "DescribeScalingProcessTypesResult", - type: "structure", - members: { - Processes: { - type: "list", - member: { - type: "structure", - required: ["ProcessName"], - members: { ProcessName: {} }, - }, - }, - }, - }, - }, - DescribeScheduledActions: { - input: { - type: "structure", - members: { - AutoScalingGroupName: {}, - ScheduledActionNames: { shape: "Se" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeScheduledActionsResult", - type: "structure", - members: { - ScheduledUpdateGroupActions: { - type: "list", - member: { - type: "structure", - members: { - AutoScalingGroupName: {}, - ScheduledActionName: {}, - ScheduledActionARN: {}, - Time: { type: "timestamp" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Recurrence: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - DescribeTags: { - input: { - type: "structure", - members: { - Filters: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Values: { type: "list", member: {} } }, - }, - }, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeTagsResult", - type: "structure", - members: { Tags: { shape: "S36" }, NextToken: {} }, - }, - }, - DescribeTerminationPolicyTypes: { - output: { - resultWrapper: "DescribeTerminationPolicyTypesResult", - type: "structure", - members: { TerminationPolicyTypes: { shape: "S1e" } }, - }, - }, - DetachInstances: { - input: { - type: "structure", - required: [ - "AutoScalingGroupName", - "ShouldDecrementDesiredCapacity", - ], - members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - ShouldDecrementDesiredCapacity: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DetachInstancesResult", - type: "structure", - members: { Activities: { shape: "S53" } }, - }, - }, - DetachLoadBalancerTargetGroups: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "TargetGroupARNs"], - members: { - AutoScalingGroupName: {}, - TargetGroupARNs: { shape: "S6" }, - }, - }, - output: { - resultWrapper: "DetachLoadBalancerTargetGroupsResult", - type: "structure", - members: {}, - }, - }, - DetachLoadBalancers: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "LoadBalancerNames"], - members: { - AutoScalingGroupName: {}, - LoadBalancerNames: { shape: "Sa" }, - }, - }, - output: { - resultWrapper: "DetachLoadBalancersResult", - type: "structure", - members: {}, - }, - }, - DisableMetricsCollection: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { AutoScalingGroupName: {}, Metrics: { shape: "S5s" } }, - }, - }, - EnableMetricsCollection: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "Granularity"], - members: { - AutoScalingGroupName: {}, - Metrics: { shape: "S5s" }, - Granularity: {}, - }, - }, - }, - EnterStandby: { - input: { - type: "structure", - required: [ - "AutoScalingGroupName", - "ShouldDecrementDesiredCapacity", - ], - members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - ShouldDecrementDesiredCapacity: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "EnterStandbyResult", - type: "structure", - members: { Activities: { shape: "S53" } }, - }, - }, - ExecutePolicy: { - input: { - type: "structure", - required: ["PolicyName"], - members: { - AutoScalingGroupName: {}, - PolicyName: {}, - HonorCooldown: { type: "boolean" }, - MetricValue: { type: "double" }, - BreachThreshold: { type: "double" }, - }, - }, - }, - ExitStandby: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - }, - }, - output: { - resultWrapper: "ExitStandbyResult", - type: "structure", - members: { Activities: { shape: "S53" } }, - }, - }, - PutLifecycleHook: { - input: { - type: "structure", - required: ["LifecycleHookName", "AutoScalingGroupName"], - members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleTransition: {}, - RoleARN: {}, - NotificationTargetARN: {}, - NotificationMetadata: {}, - HeartbeatTimeout: { type: "integer" }, - DefaultResult: {}, - }, - }, - output: { - resultWrapper: "PutLifecycleHookResult", - type: "structure", - members: {}, - }, - }, - PutNotificationConfiguration: { - input: { - type: "structure", - required: [ - "AutoScalingGroupName", - "TopicARN", - "NotificationTypes", - ], - members: { - AutoScalingGroupName: {}, - TopicARN: {}, - NotificationTypes: { shape: "S3d" }, - }, - }, - }, - PutScalingPolicy: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "PolicyName"], - members: { - AutoScalingGroupName: {}, - PolicyName: {}, - PolicyType: {}, - AdjustmentType: {}, - MinAdjustmentStep: { shape: "S4d" }, - MinAdjustmentMagnitude: { type: "integer" }, - ScalingAdjustment: { type: "integer" }, - Cooldown: { type: "integer" }, - MetricAggregationType: {}, - StepAdjustments: { shape: "S4g" }, - EstimatedInstanceWarmup: { type: "integer" }, - TargetTrackingConfiguration: { shape: "S4m" }, - Enabled: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "PutScalingPolicyResult", - type: "structure", - members: { PolicyARN: {}, Alarms: { shape: "S4k" } }, - }, - }, - PutScheduledUpdateGroupAction: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "ScheduledActionName"], - members: { - AutoScalingGroupName: {}, - ScheduledActionName: {}, - Time: { type: "timestamp" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Recurrence: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - }, - }, - }, - RecordLifecycleActionHeartbeat: { - input: { - type: "structure", - required: ["LifecycleHookName", "AutoScalingGroupName"], - members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleActionToken: {}, - InstanceId: {}, - }, - }, - output: { - resultWrapper: "RecordLifecycleActionHeartbeatResult", - type: "structure", - members: {}, - }, - }, - ResumeProcesses: { input: { shape: "S68" } }, - SetDesiredCapacity: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "DesiredCapacity"], - members: { - AutoScalingGroupName: {}, - DesiredCapacity: { type: "integer" }, - HonorCooldown: { type: "boolean" }, - }, - }, - }, - SetInstanceHealth: { - input: { - type: "structure", - required: ["InstanceId", "HealthStatus"], - members: { - InstanceId: {}, - HealthStatus: {}, - ShouldRespectGracePeriod: { type: "boolean" }, - }, - }, - }, - SetInstanceProtection: { - input: { - type: "structure", - required: [ - "InstanceIds", - "AutoScalingGroupName", - "ProtectedFromScaleIn", - ], - members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - ProtectedFromScaleIn: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "SetInstanceProtectionResult", - type: "structure", - members: {}, - }, - }, - SuspendProcesses: { input: { shape: "S68" } }, - TerminateInstanceInAutoScalingGroup: { - input: { - type: "structure", - required: ["InstanceId", "ShouldDecrementDesiredCapacity"], - members: { - InstanceId: {}, - ShouldDecrementDesiredCapacity: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "TerminateInstanceInAutoScalingGroupResult", - type: "structure", - members: { Activity: { shape: "S54" } }, - }, - }, - UpdateAutoScalingGroup: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - AutoScalingGroupName: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - MixedInstancesPolicy: { shape: "S10" }, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - DefaultCooldown: { type: "integer" }, - AvailabilityZones: { shape: "S1b" }, - HealthCheckType: {}, - HealthCheckGracePeriod: { type: "integer" }, - PlacementGroup: {}, - VPCZoneIdentifier: {}, - TerminationPolicies: { shape: "S1e" }, - NewInstancesProtectedFromScaleIn: { type: "boolean" }, - ServiceLinkedRoleARN: {}, - MaxInstanceLifetime: { type: "integer" }, - }, - }, - }, - }, - shapes: { - S2: { type: "list", member: {} }, - S6: { type: "list", member: {} }, - Sa: { type: "list", member: {} }, - Se: { type: "list", member: {} }, - Sg: { - type: "list", - member: { - type: "structure", - required: ["ScheduledActionName"], - members: { - ScheduledActionName: {}, - ErrorCode: {}, - ErrorMessage: {}, - }, - }, - }, - Sy: { - type: "structure", - members: { - LaunchTemplateId: {}, - LaunchTemplateName: {}, - Version: {}, - }, - }, - S10: { - type: "structure", - members: { - LaunchTemplate: { - type: "structure", - members: { - LaunchTemplateSpecification: { shape: "Sy" }, - Overrides: { - type: "list", - member: { - type: "structure", - members: { InstanceType: {}, WeightedCapacity: {} }, - }, - }, - }, - }, - InstancesDistribution: { - type: "structure", - members: { - OnDemandAllocationStrategy: {}, - OnDemandBaseCapacity: { type: "integer" }, - OnDemandPercentageAboveBaseCapacity: { type: "integer" }, - SpotAllocationStrategy: {}, - SpotInstancePools: { type: "integer" }, - SpotMaxPrice: {}, - }, - }, - }, - }, - S1b: { type: "list", member: {} }, - S1e: { type: "list", member: {} }, - S1n: { - type: "list", - member: { - type: "structure", - required: ["Key"], - members: { - ResourceId: {}, - ResourceType: {}, - Key: {}, - Value: {}, - PropagateAtLaunch: { type: "boolean" }, - }, - }, - }, - S1u: { type: "list", member: {} }, - S1v: { type: "list", member: {} }, - S1x: { - type: "list", - member: { - type: "structure", - required: ["DeviceName"], - members: { - VirtualName: {}, - DeviceName: {}, - Ebs: { - type: "structure", - members: { - SnapshotId: {}, - VolumeSize: { type: "integer" }, - VolumeType: {}, - DeleteOnTermination: { type: "boolean" }, - Iops: { type: "integer" }, - Encrypted: { type: "boolean" }, - }, - }, - NoDevice: { type: "boolean" }, - }, - }, - }, - S26: { type: "structure", members: { Enabled: { type: "boolean" } } }, - S2u: { type: "list", member: {} }, - S36: { - type: "list", - member: { - type: "structure", - members: { - ResourceId: {}, - ResourceType: {}, - Key: {}, - Value: {}, - PropagateAtLaunch: { type: "boolean" }, - }, - }, - }, - S3d: { type: "list", member: {} }, - S4d: { type: "integer", deprecated: true }, - S4g: { - type: "list", - member: { - type: "structure", - required: ["ScalingAdjustment"], - members: { - MetricIntervalLowerBound: { type: "double" }, - MetricIntervalUpperBound: { type: "double" }, - ScalingAdjustment: { type: "integer" }, - }, - }, - }, - S4k: { - type: "list", - member: { - type: "structure", - members: { AlarmName: {}, AlarmARN: {} }, - }, - }, - S4m: { - type: "structure", - required: ["TargetValue"], - members: { - PredefinedMetricSpecification: { - type: "structure", - required: ["PredefinedMetricType"], - members: { PredefinedMetricType: {}, ResourceLabel: {} }, - }, - CustomizedMetricSpecification: { - type: "structure", - required: ["MetricName", "Namespace", "Statistic"], - members: { - MetricName: {}, - Namespace: {}, - Dimensions: { - type: "list", - member: { - type: "structure", - required: ["Name", "Value"], - members: { Name: {}, Value: {} }, - }, - }, - Statistic: {}, - Unit: {}, - }, - }, - TargetValue: { type: "double" }, - DisableScaleIn: { type: "boolean" }, - }, - }, - S53: { type: "list", member: { shape: "S54" } }, - S54: { - type: "structure", - required: [ - "ActivityId", - "AutoScalingGroupName", - "Cause", - "StartTime", - "StatusCode", - ], - members: { - ActivityId: {}, - AutoScalingGroupName: {}, - Description: {}, - Cause: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - StatusCode: {}, - StatusMessage: {}, - Progress: { type: "integer" }, - Details: {}, - }, - }, - S5s: { type: "list", member: {} }, - S68: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { - AutoScalingGroupName: {}, - ScalingProcesses: { type: "list", member: {} }, - }, - }, - }, - }; - /***/ - }, +/***/ }), - /***/ 3694: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["schemas"] = {}; - AWS.Schemas = Service.defineService("schemas", ["2019-12-02"]); - Object.defineProperty(apiLoader.services["schemas"], "2019-12-02", { - get: function get() { - var model = __webpack_require__(1176); - model.paginators = __webpack_require__(8116).pagination; - model.waiters = __webpack_require__(9999).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 3252: +/***/ (function(module) { - module.exports = AWS.Schemas; +module.exports = {"metadata":{"apiVersion":"2017-09-08","endpointPrefix":"serverlessrepo","signingName":"serverlessrepo","serviceFullName":"AWSServerlessApplicationRepository","serviceId":"ServerlessApplicationRepository","protocol":"rest-json","jsonVersion":"1.1","uid":"serverlessrepo-2017-09-08","signatureVersion":"v4"},"operations":{"CreateApplication":{"http":{"requestUri":"/applications","responseCode":201},"input":{"type":"structure","members":{"Author":{"locationName":"author"},"Description":{"locationName":"description"},"HomePageUrl":{"locationName":"homePageUrl"},"Labels":{"shape":"S3","locationName":"labels"},"LicenseBody":{"locationName":"licenseBody"},"LicenseUrl":{"locationName":"licenseUrl"},"Name":{"locationName":"name"},"ReadmeBody":{"locationName":"readmeBody"},"ReadmeUrl":{"locationName":"readmeUrl"},"SemanticVersion":{"locationName":"semanticVersion"},"SourceCodeArchiveUrl":{"locationName":"sourceCodeArchiveUrl"},"SourceCodeUrl":{"locationName":"sourceCodeUrl"},"SpdxLicenseId":{"locationName":"spdxLicenseId"},"TemplateBody":{"locationName":"templateBody"},"TemplateUrl":{"locationName":"templateUrl"}},"required":["Description","Name","Author"]},"output":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"Author":{"locationName":"author"},"CreationTime":{"locationName":"creationTime"},"Description":{"locationName":"description"},"HomePageUrl":{"locationName":"homePageUrl"},"IsVerifiedAuthor":{"locationName":"isVerifiedAuthor","type":"boolean"},"Labels":{"shape":"S3","locationName":"labels"},"LicenseUrl":{"locationName":"licenseUrl"},"Name":{"locationName":"name"},"ReadmeUrl":{"locationName":"readmeUrl"},"SpdxLicenseId":{"locationName":"spdxLicenseId"},"VerifiedAuthorUrl":{"locationName":"verifiedAuthorUrl"},"Version":{"shape":"S6","locationName":"version"}}}},"CreateApplicationVersion":{"http":{"method":"PUT","requestUri":"/applications/{applicationId}/versions/{semanticVersion}","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"SemanticVersion":{"location":"uri","locationName":"semanticVersion"},"SourceCodeArchiveUrl":{"locationName":"sourceCodeArchiveUrl"},"SourceCodeUrl":{"locationName":"sourceCodeUrl"},"TemplateBody":{"locationName":"templateBody"},"TemplateUrl":{"locationName":"templateUrl"}},"required":["ApplicationId","SemanticVersion"]},"output":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"CreationTime":{"locationName":"creationTime"},"ParameterDefinitions":{"shape":"S7","locationName":"parameterDefinitions"},"RequiredCapabilities":{"shape":"Sa","locationName":"requiredCapabilities"},"ResourcesSupported":{"locationName":"resourcesSupported","type":"boolean"},"SemanticVersion":{"locationName":"semanticVersion"},"SourceCodeArchiveUrl":{"locationName":"sourceCodeArchiveUrl"},"SourceCodeUrl":{"locationName":"sourceCodeUrl"},"TemplateUrl":{"locationName":"templateUrl"}}}},"CreateCloudFormationChangeSet":{"http":{"requestUri":"/applications/{applicationId}/changesets","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"Capabilities":{"shape":"S3","locationName":"capabilities"},"ChangeSetName":{"locationName":"changeSetName"},"ClientToken":{"locationName":"clientToken"},"Description":{"locationName":"description"},"NotificationArns":{"shape":"S3","locationName":"notificationArns"},"ParameterOverrides":{"locationName":"parameterOverrides","type":"list","member":{"type":"structure","members":{"Name":{"locationName":"name"},"Value":{"locationName":"value"}},"required":["Value","Name"]}},"ResourceTypes":{"shape":"S3","locationName":"resourceTypes"},"RollbackConfiguration":{"locationName":"rollbackConfiguration","type":"structure","members":{"MonitoringTimeInMinutes":{"locationName":"monitoringTimeInMinutes","type":"integer"},"RollbackTriggers":{"locationName":"rollbackTriggers","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Type":{"locationName":"type"}},"required":["Type","Arn"]}}}},"SemanticVersion":{"locationName":"semanticVersion"},"StackName":{"locationName":"stackName"},"Tags":{"locationName":"tags","type":"list","member":{"type":"structure","members":{"Key":{"locationName":"key"},"Value":{"locationName":"value"}},"required":["Value","Key"]}},"TemplateId":{"locationName":"templateId"}},"required":["ApplicationId","StackName"]},"output":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"ChangeSetId":{"locationName":"changeSetId"},"SemanticVersion":{"locationName":"semanticVersion"},"StackId":{"locationName":"stackId"}}}},"CreateCloudFormationTemplate":{"http":{"requestUri":"/applications/{applicationId}/templates","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"SemanticVersion":{"locationName":"semanticVersion"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"CreationTime":{"locationName":"creationTime"},"ExpirationTime":{"locationName":"expirationTime"},"SemanticVersion":{"locationName":"semanticVersion"},"Status":{"locationName":"status"},"TemplateId":{"locationName":"templateId"},"TemplateUrl":{"locationName":"templateUrl"}}}},"DeleteApplication":{"http":{"method":"DELETE","requestUri":"/applications/{applicationId}","responseCode":204},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"}},"required":["ApplicationId"]}},"GetApplication":{"http":{"method":"GET","requestUri":"/applications/{applicationId}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"SemanticVersion":{"location":"querystring","locationName":"semanticVersion"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"Author":{"locationName":"author"},"CreationTime":{"locationName":"creationTime"},"Description":{"locationName":"description"},"HomePageUrl":{"locationName":"homePageUrl"},"IsVerifiedAuthor":{"locationName":"isVerifiedAuthor","type":"boolean"},"Labels":{"shape":"S3","locationName":"labels"},"LicenseUrl":{"locationName":"licenseUrl"},"Name":{"locationName":"name"},"ReadmeUrl":{"locationName":"readmeUrl"},"SpdxLicenseId":{"locationName":"spdxLicenseId"},"VerifiedAuthorUrl":{"locationName":"verifiedAuthorUrl"},"Version":{"shape":"S6","locationName":"version"}}}},"GetApplicationPolicy":{"http":{"method":"GET","requestUri":"/applications/{applicationId}/policy","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"Statements":{"shape":"Sv","locationName":"statements"}}}},"GetCloudFormationTemplate":{"http":{"method":"GET","requestUri":"/applications/{applicationId}/templates/{templateId}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"TemplateId":{"location":"uri","locationName":"templateId"}},"required":["ApplicationId","TemplateId"]},"output":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"CreationTime":{"locationName":"creationTime"},"ExpirationTime":{"locationName":"expirationTime"},"SemanticVersion":{"locationName":"semanticVersion"},"Status":{"locationName":"status"},"TemplateId":{"locationName":"templateId"},"TemplateUrl":{"locationName":"templateUrl"}}}},"ListApplicationDependencies":{"http":{"method":"GET","requestUri":"/applications/{applicationId}/dependencies","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"MaxItems":{"location":"querystring","locationName":"maxItems","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"SemanticVersion":{"location":"querystring","locationName":"semanticVersion"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"Dependencies":{"locationName":"dependencies","type":"list","member":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"SemanticVersion":{"locationName":"semanticVersion"}},"required":["ApplicationId","SemanticVersion"]}},"NextToken":{"locationName":"nextToken"}}}},"ListApplicationVersions":{"http":{"method":"GET","requestUri":"/applications/{applicationId}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"MaxItems":{"location":"querystring","locationName":"maxItems","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Versions":{"locationName":"versions","type":"list","member":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"CreationTime":{"locationName":"creationTime"},"SemanticVersion":{"locationName":"semanticVersion"},"SourceCodeUrl":{"locationName":"sourceCodeUrl"}},"required":["CreationTime","ApplicationId","SemanticVersion"]}}}}},"ListApplications":{"http":{"method":"GET","requestUri":"/applications","responseCode":200},"input":{"type":"structure","members":{"MaxItems":{"location":"querystring","locationName":"maxItems","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Applications":{"locationName":"applications","type":"list","member":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"Author":{"locationName":"author"},"CreationTime":{"locationName":"creationTime"},"Description":{"locationName":"description"},"HomePageUrl":{"locationName":"homePageUrl"},"Labels":{"shape":"S3","locationName":"labels"},"Name":{"locationName":"name"},"SpdxLicenseId":{"locationName":"spdxLicenseId"}},"required":["Description","Author","ApplicationId","Name"]}},"NextToken":{"locationName":"nextToken"}}}},"PutApplicationPolicy":{"http":{"method":"PUT","requestUri":"/applications/{applicationId}/policy","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"Statements":{"shape":"Sv","locationName":"statements"}},"required":["ApplicationId","Statements"]},"output":{"type":"structure","members":{"Statements":{"shape":"Sv","locationName":"statements"}}}},"UnshareApplication":{"http":{"requestUri":"/applications/{applicationId}/unshare","responseCode":204},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"OrganizationId":{"locationName":"organizationId"}},"required":["ApplicationId","OrganizationId"]}},"UpdateApplication":{"http":{"method":"PATCH","requestUri":"/applications/{applicationId}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"applicationId"},"Author":{"locationName":"author"},"Description":{"locationName":"description"},"HomePageUrl":{"locationName":"homePageUrl"},"Labels":{"shape":"S3","locationName":"labels"},"ReadmeBody":{"locationName":"readmeBody"},"ReadmeUrl":{"locationName":"readmeUrl"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"Author":{"locationName":"author"},"CreationTime":{"locationName":"creationTime"},"Description":{"locationName":"description"},"HomePageUrl":{"locationName":"homePageUrl"},"IsVerifiedAuthor":{"locationName":"isVerifiedAuthor","type":"boolean"},"Labels":{"shape":"S3","locationName":"labels"},"LicenseUrl":{"locationName":"licenseUrl"},"Name":{"locationName":"name"},"ReadmeUrl":{"locationName":"readmeUrl"},"SpdxLicenseId":{"locationName":"spdxLicenseId"},"VerifiedAuthorUrl":{"locationName":"verifiedAuthorUrl"},"Version":{"shape":"S6","locationName":"version"}}}}},"shapes":{"S3":{"type":"list","member":{}},"S6":{"type":"structure","members":{"ApplicationId":{"locationName":"applicationId"},"CreationTime":{"locationName":"creationTime"},"ParameterDefinitions":{"shape":"S7","locationName":"parameterDefinitions"},"RequiredCapabilities":{"shape":"Sa","locationName":"requiredCapabilities"},"ResourcesSupported":{"locationName":"resourcesSupported","type":"boolean"},"SemanticVersion":{"locationName":"semanticVersion"},"SourceCodeArchiveUrl":{"locationName":"sourceCodeArchiveUrl"},"SourceCodeUrl":{"locationName":"sourceCodeUrl"},"TemplateUrl":{"locationName":"templateUrl"}},"required":["TemplateUrl","ParameterDefinitions","ResourcesSupported","CreationTime","RequiredCapabilities","ApplicationId","SemanticVersion"]},"S7":{"type":"list","member":{"type":"structure","members":{"AllowedPattern":{"locationName":"allowedPattern"},"AllowedValues":{"shape":"S3","locationName":"allowedValues"},"ConstraintDescription":{"locationName":"constraintDescription"},"DefaultValue":{"locationName":"defaultValue"},"Description":{"locationName":"description"},"MaxLength":{"locationName":"maxLength","type":"integer"},"MaxValue":{"locationName":"maxValue","type":"integer"},"MinLength":{"locationName":"minLength","type":"integer"},"MinValue":{"locationName":"minValue","type":"integer"},"Name":{"locationName":"name"},"NoEcho":{"locationName":"noEcho","type":"boolean"},"ReferencedByResources":{"shape":"S3","locationName":"referencedByResources"},"Type":{"locationName":"type"}},"required":["ReferencedByResources","Name"]}},"Sa":{"type":"list","member":{}},"Sv":{"type":"list","member":{"type":"structure","members":{"Actions":{"shape":"S3","locationName":"actions"},"PrincipalOrgIDs":{"shape":"S3","locationName":"principalOrgIDs"},"Principals":{"shape":"S3","locationName":"principals"},"StatementId":{"locationName":"statementId"}},"required":["Principals","Actions"]}}}}; - /***/ - }, +/***/ }), - /***/ 3696: /***/ function (module) { - function AcceptorStateMachine(states, state) { - this.currentState = state || null; - this.states = states || {}; - } +/***/ 3253: +/***/ (function(module) { - AcceptorStateMachine.prototype.runTo = function runTo( - finalState, - done, - bindObject, - inputError - ) { - if (typeof finalState === "function") { - inputError = bindObject; - bindObject = done; - done = finalState; - finalState = null; - } +module.exports = {"version":2,"waiters":{"DistributionDeployed":{"delay":60,"operation":"GetDistribution","maxAttempts":25,"description":"Wait until a distribution is deployed.","acceptors":[{"expected":"Deployed","matcher":"path","state":"success","argument":"Distribution.Status"}]},"InvalidationCompleted":{"delay":20,"operation":"GetInvalidation","maxAttempts":30,"description":"Wait until an invalidation has completed.","acceptors":[{"expected":"Completed","matcher":"path","state":"success","argument":"Invalidation.Status"}]},"StreamingDistributionDeployed":{"delay":60,"operation":"GetStreamingDistribution","maxAttempts":25,"description":"Wait until a streaming distribution is deployed.","acceptors":[{"expected":"Deployed","matcher":"path","state":"success","argument":"StreamingDistribution.Status"}]}}}; - var self = this; - var state = self.states[self.currentState]; - state.fn.call(bindObject || self, inputError, function (err) { - if (err) { - if (state.fail) self.currentState = state.fail; - else return done ? done.call(bindObject, err) : null; - } else { - if (state.accept) self.currentState = state.accept; - else return done ? done.call(bindObject) : null; - } - if (self.currentState === finalState) { - return done ? done.call(bindObject, err) : null; - } +/***/ }), - self.runTo(finalState, done, bindObject, err); - }); - }; +/***/ 3260: +/***/ (function(module) { - AcceptorStateMachine.prototype.addState = function addState( - name, - acceptState, - failState, - fn - ) { - if (typeof acceptState === "function") { - fn = acceptState; - acceptState = null; - failState = null; - } else if (typeof failState === "function") { - fn = failState; - failState = null; - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-04-01","endpointPrefix":"quicksight","jsonVersion":"1.0","protocol":"rest-json","serviceFullName":"Amazon QuickSight","serviceId":"QuickSight","signatureVersion":"v4","uid":"quicksight-2018-04-01"},"operations":{"CancelIngestion":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}"},"input":{"type":"structure","required":["AwsAccountId","DataSetId","IngestionId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{"location":"uri","locationName":"DataSetId"},"IngestionId":{"location":"uri","locationName":"IngestionId"}}},"output":{"type":"structure","members":{"Arn":{},"IngestionId":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateAccountCustomization":{"http":{"requestUri":"/accounts/{AwsAccountId}/customizations"},"input":{"type":"structure","required":["AwsAccountId","AccountCustomization"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"querystring","locationName":"namespace"},"AccountCustomization":{"shape":"Sa"},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"AwsAccountId":{},"Namespace":{},"AccountCustomization":{"shape":"Sa"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateAnalysis":{"http":{"requestUri":"/accounts/{AwsAccountId}/analyses/{AnalysisId}"},"input":{"type":"structure","required":["AwsAccountId","AnalysisId","Name","SourceEntity"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AnalysisId":{"location":"uri","locationName":"AnalysisId"},"Name":{},"Parameters":{"shape":"Sk"},"Permissions":{"shape":"S11"},"SourceEntity":{"shape":"S15"},"ThemeArn":{},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"AnalysisId":{},"CreationStatus":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"CreateDashboard":{"http":{"requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}"},"input":{"type":"structure","required":["AwsAccountId","DashboardId","Name","SourceEntity"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"Name":{},"Parameters":{"shape":"Sk"},"Permissions":{"shape":"S11"},"SourceEntity":{"shape":"S1d"},"Tags":{"shape":"Sb"},"VersionDescription":{},"DashboardPublishOptions":{"shape":"S1g"},"ThemeArn":{}}},"output":{"type":"structure","members":{"Arn":{},"VersionArn":{},"DashboardId":{},"CreationStatus":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"CreateDataSet":{"http":{"requestUri":"/accounts/{AwsAccountId}/data-sets"},"input":{"type":"structure","required":["AwsAccountId","DataSetId","Name","PhysicalTableMap","ImportMode"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{},"Name":{},"PhysicalTableMap":{"shape":"S1q"},"LogicalTableMap":{"shape":"S2b"},"ImportMode":{},"ColumnGroups":{"shape":"S35"},"Permissions":{"shape":"S11"},"RowLevelPermissionDataSet":{"shape":"S3b"},"ColumnLevelPermissionRules":{"shape":"S3d"},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"DataSetId":{},"IngestionArn":{},"IngestionId":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateDataSource":{"http":{"requestUri":"/accounts/{AwsAccountId}/data-sources"},"input":{"type":"structure","required":["AwsAccountId","DataSourceId","Name","Type"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSourceId":{},"Name":{},"Type":{},"DataSourceParameters":{"shape":"S3k"},"Credentials":{"shape":"S4l"},"Permissions":{"shape":"S11"},"VpcConnectionProperties":{"shape":"S4r"},"SslProperties":{"shape":"S4s"},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"DataSourceId":{},"CreationStatus":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateGroup":{"http":{"requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups"},"input":{"type":"structure","required":["GroupName","AwsAccountId","Namespace"],"members":{"GroupName":{},"Description":{},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"Group":{"shape":"S4y"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateGroupMembership":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}"},"input":{"type":"structure","required":["MemberName","GroupName","AwsAccountId","Namespace"],"members":{"MemberName":{"location":"uri","locationName":"MemberName"},"GroupName":{"location":"uri","locationName":"GroupName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"GroupMember":{"shape":"S52"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateIAMPolicyAssignment":{"http":{"requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/"},"input":{"type":"structure","required":["AwsAccountId","AssignmentName","AssignmentStatus","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AssignmentName":{},"AssignmentStatus":{},"PolicyArn":{},"Identities":{"shape":"S56"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"AssignmentName":{},"AssignmentId":{},"AssignmentStatus":{},"PolicyArn":{},"Identities":{"shape":"S56"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateIngestion":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}"},"input":{"type":"structure","required":["DataSetId","IngestionId","AwsAccountId"],"members":{"DataSetId":{"location":"uri","locationName":"DataSetId"},"IngestionId":{"location":"uri","locationName":"IngestionId"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"}}},"output":{"type":"structure","members":{"Arn":{},"IngestionId":{},"IngestionStatus":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateNamespace":{"http":{"requestUri":"/accounts/{AwsAccountId}"},"input":{"type":"structure","required":["AwsAccountId","Namespace","IdentityStore"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{},"IdentityStore":{},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{},"CapacityRegion":{},"CreationStatus":{},"IdentityStore":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"CreateTemplate":{"http":{"requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId","SourceEntity"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"Name":{},"Permissions":{"shape":"S11"},"SourceEntity":{"shape":"S5j"},"Tags":{"shape":"Sb"},"VersionDescription":{}}},"output":{"type":"structure","members":{"Arn":{},"VersionArn":{},"TemplateId":{},"CreationStatus":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"CreateTemplateAlias":{"http":{"requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId","AliasName","TemplateVersionNumber"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"AliasName":{"location":"uri","locationName":"AliasName"},"TemplateVersionNumber":{"type":"long"}}},"output":{"type":"structure","members":{"TemplateAlias":{"shape":"S5r"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"CreateTheme":{"http":{"requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId","Name","BaseThemeId","Configuration"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"Name":{},"BaseThemeId":{},"VersionDescription":{},"Configuration":{"shape":"S5u"},"Permissions":{"shape":"S11"},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"Arn":{},"VersionArn":{},"ThemeId":{},"CreationStatus":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"CreateThemeAlias":{"http":{"requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId","AliasName","ThemeVersionNumber"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"AliasName":{"location":"uri","locationName":"AliasName"},"ThemeVersionNumber":{"type":"long"}}},"output":{"type":"structure","members":{"ThemeAlias":{"shape":"S69"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DeleteAccountCustomization":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/customizations"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"querystring","locationName":"namespace"}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteAnalysis":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/analyses/{AnalysisId}"},"input":{"type":"structure","required":["AwsAccountId","AnalysisId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AnalysisId":{"location":"uri","locationName":"AnalysisId"},"RecoveryWindowInDays":{"location":"querystring","locationName":"recovery-window-in-days","type":"long"},"ForceDeleteWithoutRecovery":{"location":"querystring","locationName":"force-delete-without-recovery","type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"location":"statusCode","type":"integer"},"Arn":{},"AnalysisId":{},"DeletionTime":{"type":"timestamp"},"RequestId":{}}}},"DeleteDashboard":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}"},"input":{"type":"structure","required":["AwsAccountId","DashboardId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"VersionNumber":{"location":"querystring","locationName":"version-number","type":"long"}}},"output":{"type":"structure","members":{"Status":{"location":"statusCode","type":"integer"},"Arn":{},"DashboardId":{},"RequestId":{}}}},"DeleteDataSet":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}"},"input":{"type":"structure","required":["AwsAccountId","DataSetId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{"location":"uri","locationName":"DataSetId"}}},"output":{"type":"structure","members":{"Arn":{},"DataSetId":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteDataSource":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/data-sources/{DataSourceId}"},"input":{"type":"structure","required":["AwsAccountId","DataSourceId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSourceId":{"location":"uri","locationName":"DataSourceId"}}},"output":{"type":"structure","members":{"Arn":{},"DataSourceId":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteGroup":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}"},"input":{"type":"structure","required":["GroupName","AwsAccountId","Namespace"],"members":{"GroupName":{"location":"uri","locationName":"GroupName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteGroupMembership":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}"},"input":{"type":"structure","required":["MemberName","GroupName","AwsAccountId","Namespace"],"members":{"MemberName":{"location":"uri","locationName":"MemberName"},"GroupName":{"location":"uri","locationName":"GroupName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteIAMPolicyAssignment":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}"},"input":{"type":"structure","required":["AwsAccountId","AssignmentName","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AssignmentName":{"location":"uri","locationName":"AssignmentName"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"AssignmentName":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteNamespace":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}"},"input":{"type":"structure","required":["AwsAccountId","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteTemplate":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"VersionNumber":{"location":"querystring","locationName":"version-number","type":"long"}}},"output":{"type":"structure","members":{"RequestId":{},"Arn":{},"TemplateId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteTemplateAlias":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId","AliasName"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"AliasName":{"location":"uri","locationName":"AliasName"}}},"output":{"type":"structure","members":{"Status":{"location":"statusCode","type":"integer"},"TemplateId":{},"AliasName":{},"Arn":{},"RequestId":{}}}},"DeleteTheme":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"VersionNumber":{"location":"querystring","locationName":"version-number","type":"long"}}},"output":{"type":"structure","members":{"Arn":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"},"ThemeId":{}}}},"DeleteThemeAlias":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId","AliasName"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"AliasName":{"location":"uri","locationName":"AliasName"}}},"output":{"type":"structure","members":{"AliasName":{},"Arn":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"},"ThemeId":{}}}},"DeleteUser":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}"},"input":{"type":"structure","required":["UserName","AwsAccountId","Namespace"],"members":{"UserName":{"location":"uri","locationName":"UserName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DeleteUserByPrincipalId":{"http":{"method":"DELETE","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}"},"input":{"type":"structure","required":["PrincipalId","AwsAccountId","Namespace"],"members":{"PrincipalId":{"location":"uri","locationName":"PrincipalId"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeAccountCustomization":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/customizations"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"querystring","locationName":"namespace"},"Resolved":{"location":"querystring","locationName":"resolved","type":"boolean"}}},"output":{"type":"structure","members":{"Arn":{},"AwsAccountId":{},"Namespace":{},"AccountCustomization":{"shape":"Sa"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeAccountSettings":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/settings"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"}}},"output":{"type":"structure","members":{"AccountSettings":{"type":"structure","members":{"AccountName":{},"Edition":{},"DefaultNamespace":{},"NotificationEmail":{}}},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeAnalysis":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/analyses/{AnalysisId}"},"input":{"type":"structure","required":["AwsAccountId","AnalysisId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AnalysisId":{"location":"uri","locationName":"AnalysisId"}}},"output":{"type":"structure","members":{"Analysis":{"type":"structure","members":{"AnalysisId":{},"Arn":{},"Name":{},"Status":{},"Errors":{"type":"list","member":{"type":"structure","members":{"Type":{},"Message":{}}}},"DataSetArns":{"shape":"S7i"},"ThemeArn":{},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"Sheets":{"shape":"S7j"}}},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeAnalysisPermissions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","AnalysisId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AnalysisId":{"location":"uri","locationName":"AnalysisId"}}},"output":{"type":"structure","members":{"AnalysisId":{},"AnalysisArn":{},"Permissions":{"shape":"S11"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeDashboard":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}"},"input":{"type":"structure","required":["AwsAccountId","DashboardId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"VersionNumber":{"location":"querystring","locationName":"version-number","type":"long"},"AliasName":{"location":"querystring","locationName":"alias-name"}}},"output":{"type":"structure","members":{"Dashboard":{"type":"structure","members":{"DashboardId":{},"Arn":{},"Name":{},"Version":{"type":"structure","members":{"CreatedTime":{"type":"timestamp"},"Errors":{"type":"list","member":{"type":"structure","members":{"Type":{},"Message":{}}}},"VersionNumber":{"type":"long"},"Status":{},"Arn":{},"SourceEntityArn":{},"DataSetArns":{"shape":"S7i"},"Description":{},"ThemeArn":{},"Sheets":{"shape":"S7j"}}},"CreatedTime":{"type":"timestamp"},"LastPublishedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"}}},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeDashboardPermissions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","DashboardId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"}}},"output":{"type":"structure","members":{"DashboardId":{},"DashboardArn":{},"Permissions":{"shape":"S11"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeDataSet":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}"},"input":{"type":"structure","required":["AwsAccountId","DataSetId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{"location":"uri","locationName":"DataSetId"}}},"output":{"type":"structure","members":{"DataSet":{"type":"structure","members":{"Arn":{},"DataSetId":{},"Name":{},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"PhysicalTableMap":{"shape":"S1q"},"LogicalTableMap":{"shape":"S2b"},"OutputColumns":{"type":"list","member":{"type":"structure","members":{"Name":{},"Description":{},"Type":{}}}},"ImportMode":{},"ConsumedSpiceCapacityInBytes":{"type":"long"},"ColumnGroups":{"shape":"S35"},"RowLevelPermissionDataSet":{"shape":"S3b"},"ColumnLevelPermissionRules":{"shape":"S3d"}}},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeDataSetPermissions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","DataSetId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{"location":"uri","locationName":"DataSetId"}}},"output":{"type":"structure","members":{"DataSetArn":{},"DataSetId":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeDataSource":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sources/{DataSourceId}"},"input":{"type":"structure","required":["AwsAccountId","DataSourceId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSourceId":{"location":"uri","locationName":"DataSourceId"}}},"output":{"type":"structure","members":{"DataSource":{"shape":"S85"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeDataSourcePermissions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","DataSourceId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSourceId":{"location":"uri","locationName":"DataSourceId"}}},"output":{"type":"structure","members":{"DataSourceArn":{},"DataSourceId":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeGroup":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}"},"input":{"type":"structure","required":["GroupName","AwsAccountId","Namespace"],"members":{"GroupName":{"location":"uri","locationName":"GroupName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"Group":{"shape":"S4y"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeIAMPolicyAssignment":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}"},"input":{"type":"structure","required":["AwsAccountId","AssignmentName","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AssignmentName":{"location":"uri","locationName":"AssignmentName"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"IAMPolicyAssignment":{"type":"structure","members":{"AwsAccountId":{},"AssignmentId":{},"AssignmentName":{},"PolicyArn":{},"Identities":{"shape":"S56"},"AssignmentStatus":{}}},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeIngestion":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}"},"input":{"type":"structure","required":["AwsAccountId","DataSetId","IngestionId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{"location":"uri","locationName":"DataSetId"},"IngestionId":{"location":"uri","locationName":"IngestionId"}}},"output":{"type":"structure","members":{"Ingestion":{"shape":"S8h"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeNamespace":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}"},"input":{"type":"structure","required":["AwsAccountId","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"Namespace":{"shape":"S8s"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeTemplate":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"VersionNumber":{"location":"querystring","locationName":"version-number","type":"long"},"AliasName":{"location":"querystring","locationName":"alias-name"}}},"output":{"type":"structure","members":{"Template":{"type":"structure","members":{"Arn":{},"Name":{},"Version":{"type":"structure","members":{"CreatedTime":{"type":"timestamp"},"Errors":{"type":"list","member":{"type":"structure","members":{"Type":{},"Message":{}}}},"VersionNumber":{"type":"long"},"Status":{},"DataSetConfigurations":{"type":"list","member":{"type":"structure","members":{"Placeholder":{},"DataSetSchema":{"type":"structure","members":{"ColumnSchemaList":{"type":"list","member":{"type":"structure","members":{"Name":{},"DataType":{},"GeographicRole":{}}}}}},"ColumnGroupSchemaList":{"type":"list","member":{"type":"structure","members":{"Name":{},"ColumnGroupColumnSchemaList":{"type":"list","member":{"type":"structure","members":{"Name":{}}}}}}}}}},"Description":{},"SourceEntityArn":{},"ThemeArn":{},"Sheets":{"shape":"S7j"}}},"TemplateId":{},"LastUpdatedTime":{"type":"timestamp"},"CreatedTime":{"type":"timestamp"}}},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeTemplateAlias":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId","AliasName"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"AliasName":{"location":"uri","locationName":"AliasName"}}},"output":{"type":"structure","members":{"TemplateAlias":{"shape":"S5r"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeTemplatePermissions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","TemplateId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"}}},"output":{"type":"structure","members":{"TemplateId":{},"TemplateArn":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeTheme":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"VersionNumber":{"location":"querystring","locationName":"version-number","type":"long"},"AliasName":{"location":"querystring","locationName":"alias-name"}}},"output":{"type":"structure","members":{"Theme":{"type":"structure","members":{"Arn":{},"Name":{},"ThemeId":{},"Version":{"type":"structure","members":{"VersionNumber":{"type":"long"},"Arn":{},"Description":{},"BaseThemeId":{},"CreatedTime":{"type":"timestamp"},"Configuration":{"shape":"S5u"},"Errors":{"type":"list","member":{"type":"structure","members":{"Type":{},"Message":{}}}},"Status":{}}},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"Type":{}}},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeThemeAlias":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId","AliasName"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"AliasName":{"location":"uri","locationName":"AliasName"}}},"output":{"type":"structure","members":{"ThemeAlias":{"shape":"S69"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"DescribeThemePermissions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","ThemeId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"}}},"output":{"type":"structure","members":{"ThemeId":{},"ThemeArn":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"DescribeUser":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}"},"input":{"type":"structure","required":["UserName","AwsAccountId","Namespace"],"members":{"UserName":{"location":"uri","locationName":"UserName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"User":{"shape":"S9u"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"GetDashboardEmbedUrl":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url"},"input":{"type":"structure","required":["AwsAccountId","DashboardId","IdentityType"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"IdentityType":{"location":"querystring","locationName":"creds-type"},"SessionLifetimeInMinutes":{"location":"querystring","locationName":"session-lifetime","type":"long"},"UndoRedoDisabled":{"location":"querystring","locationName":"undo-redo-disabled","type":"boolean"},"ResetDisabled":{"location":"querystring","locationName":"reset-disabled","type":"boolean"},"StatePersistenceEnabled":{"location":"querystring","locationName":"state-persistence-enabled","type":"boolean"},"UserArn":{"location":"querystring","locationName":"user-arn"},"Namespace":{"location":"querystring","locationName":"namespace"},"AdditionalDashboardIds":{"location":"querystring","locationName":"additional-dashboard-ids","type":"list","member":{}}}},"output":{"type":"structure","members":{"EmbedUrl":{"shape":"Sa3"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"GetSessionEmbedUrl":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/session-embed-url"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"EntryPoint":{"location":"querystring","locationName":"entry-point"},"SessionLifetimeInMinutes":{"location":"querystring","locationName":"session-lifetime","type":"long"},"UserArn":{"location":"querystring","locationName":"user-arn"}}},"output":{"type":"structure","members":{"EmbedUrl":{"shape":"Sa3"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListAnalyses":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/analyses"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"AnalysisSummaryList":{"shape":"Saa"},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListDashboardVersions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions"},"input":{"type":"structure","required":["AwsAccountId","DashboardId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"DashboardVersionSummaryList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreatedTime":{"type":"timestamp"},"VersionNumber":{"type":"long"},"Status":{},"SourceEntityArn":{},"Description":{}}}},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListDashboards":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/dashboards"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"DashboardSummaryList":{"shape":"Sai"},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListDataSets":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sets"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"DataSetSummaries":{"type":"list","member":{"type":"structure","members":{"Arn":{},"DataSetId":{},"Name":{},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"ImportMode":{},"RowLevelPermissionDataSet":{"shape":"S3b"},"ColumnLevelPermissionRulesApplied":{"type":"boolean"}}}},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListDataSources":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sources"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"DataSources":{"type":"list","member":{"shape":"S85"}},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListGroupMemberships":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members"},"input":{"type":"structure","required":["GroupName","AwsAccountId","Namespace"],"members":{"GroupName":{"location":"uri","locationName":"GroupName"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"GroupMemberList":{"type":"list","member":{"shape":"S52"}},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListGroups":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups"},"input":{"type":"structure","required":["AwsAccountId","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"GroupList":{"shape":"Saw"},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListIAMPolicyAssignments":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments"},"input":{"type":"structure","required":["AwsAccountId","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AssignmentStatus":{},"Namespace":{"location":"uri","locationName":"Namespace"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"IAMPolicyAssignments":{"type":"list","member":{"type":"structure","members":{"AssignmentName":{},"AssignmentStatus":{}}}},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListIAMPolicyAssignmentsForUser":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments"},"input":{"type":"structure","required":["AwsAccountId","UserName","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"UserName":{"location":"uri","locationName":"UserName"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"ActiveAssignments":{"type":"list","member":{"type":"structure","members":{"AssignmentName":{},"PolicyArn":{}}}},"RequestId":{},"NextToken":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListIngestions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions"},"input":{"type":"structure","required":["DataSetId","AwsAccountId"],"members":{"DataSetId":{"location":"uri","locationName":"DataSetId"},"NextToken":{"location":"querystring","locationName":"next-token"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"Ingestions":{"type":"list","member":{"shape":"S8h"}},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListNamespaces":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"Namespaces":{"type":"list","member":{"shape":"S8s"}},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/resources/{ResourceArn}/tags"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sb"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListTemplateAliases":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases"},"input":{"type":"structure","required":["AwsAccountId","TemplateId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-result","type":"integer"}}},"output":{"type":"structure","members":{"TemplateAliasList":{"type":"list","member":{"shape":"S5r"}},"Status":{"location":"statusCode","type":"integer"},"RequestId":{},"NextToken":{}}}},"ListTemplateVersions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/versions"},"input":{"type":"structure","required":["AwsAccountId","TemplateId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"TemplateVersionSummaryList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"VersionNumber":{"type":"long"},"CreatedTime":{"type":"timestamp"},"Status":{},"Description":{}}}},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListTemplates":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/templates"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-result","type":"integer"}}},"output":{"type":"structure","members":{"TemplateSummaryList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"TemplateId":{},"Name":{},"LatestVersionNumber":{"type":"long"},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"}}}},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListThemeAliases":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases"},"input":{"type":"structure","required":["AwsAccountId","ThemeId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-result","type":"integer"}}},"output":{"type":"structure","members":{"ThemeAliasList":{"type":"list","member":{"shape":"S69"}},"Status":{"location":"statusCode","type":"integer"},"RequestId":{},"NextToken":{}}}},"ListThemeVersions":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/versions"},"input":{"type":"structure","required":["AwsAccountId","ThemeId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"ThemeVersionSummaryList":{"type":"list","member":{"type":"structure","members":{"VersionNumber":{"type":"long"},"Arn":{},"Description":{},"CreatedTime":{"type":"timestamp"},"Status":{}}}},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListThemes":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/themes"},"input":{"type":"structure","required":["AwsAccountId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"Type":{"location":"querystring","locationName":"type"}}},"output":{"type":"structure","members":{"ThemeSummaryList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"ThemeId":{},"LatestVersionNumber":{"type":"long"},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"}}}},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"ListUserGroups":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups"},"input":{"type":"structure","required":["UserName","AwsAccountId","Namespace"],"members":{"UserName":{"location":"uri","locationName":"UserName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"GroupList":{"shape":"Saw"},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"ListUsers":{"http":{"method":"GET","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/users"},"input":{"type":"structure","required":["AwsAccountId","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"UserList":{"type":"list","member":{"shape":"S9u"}},"NextToken":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"RegisterUser":{"http":{"requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/users"},"input":{"type":"structure","required":["IdentityType","Email","UserRole","AwsAccountId","Namespace"],"members":{"IdentityType":{},"Email":{},"UserRole":{},"IamArn":{},"SessionName":{},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"},"UserName":{},"CustomPermissionsName":{}}},"output":{"type":"structure","members":{"User":{"shape":"S9u"},"UserInvitationUrl":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"RestoreAnalysis":{"http":{"requestUri":"/accounts/{AwsAccountId}/restore/analyses/{AnalysisId}"},"input":{"type":"structure","required":["AwsAccountId","AnalysisId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AnalysisId":{"location":"uri","locationName":"AnalysisId"}}},"output":{"type":"structure","members":{"Status":{"location":"statusCode","type":"integer"},"Arn":{},"AnalysisId":{},"RequestId":{}}}},"SearchAnalyses":{"http":{"requestUri":"/accounts/{AwsAccountId}/search/analyses"},"input":{"type":"structure","required":["AwsAccountId","Filters"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Filters":{"type":"list","member":{"type":"structure","members":{"Operator":{},"Name":{},"Value":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AnalysisSummaryList":{"shape":"Saa"},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"SearchDashboards":{"http":{"requestUri":"/accounts/{AwsAccountId}/search/dashboards"},"input":{"type":"structure","required":["AwsAccountId","Filters"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Filters":{"type":"list","member":{"type":"structure","required":["Operator"],"members":{"Operator":{},"Name":{},"Value":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DashboardSummaryList":{"shape":"Sai"},"NextToken":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"TagResource":{"http":{"requestUri":"/resources/{ResourceArn}/tags"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/resources/{ResourceArn}/tags"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"keys","type":"list","member":{}}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateAccountCustomization":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/customizations"},"input":{"type":"structure","required":["AwsAccountId","AccountCustomization"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"querystring","locationName":"namespace"},"AccountCustomization":{"shape":"Sa"}}},"output":{"type":"structure","members":{"Arn":{},"AwsAccountId":{},"Namespace":{},"AccountCustomization":{"shape":"Sa"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateAccountSettings":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/settings"},"input":{"type":"structure","required":["AwsAccountId","DefaultNamespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DefaultNamespace":{},"NotificationEmail":{}}},"output":{"type":"structure","members":{"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateAnalysis":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/analyses/{AnalysisId}"},"input":{"type":"structure","required":["AwsAccountId","AnalysisId","Name","SourceEntity"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AnalysisId":{"location":"uri","locationName":"AnalysisId"},"Name":{},"Parameters":{"shape":"Sk"},"SourceEntity":{"shape":"S15"},"ThemeArn":{}}},"output":{"type":"structure","members":{"Arn":{},"AnalysisId":{},"UpdateStatus":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"UpdateAnalysisPermissions":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","AnalysisId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AnalysisId":{"location":"uri","locationName":"AnalysisId"},"GrantPermissions":{"shape":"Scx"},"RevokePermissions":{"shape":"Scx"}}},"output":{"type":"structure","members":{"AnalysisArn":{},"AnalysisId":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateDashboard":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}"},"input":{"type":"structure","required":["AwsAccountId","DashboardId","Name","SourceEntity"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"Name":{},"SourceEntity":{"shape":"S1d"},"Parameters":{"shape":"Sk"},"VersionDescription":{},"DashboardPublishOptions":{"shape":"S1g"},"ThemeArn":{}}},"output":{"type":"structure","members":{"Arn":{},"VersionArn":{},"DashboardId":{},"CreationStatus":{},"Status":{"type":"integer"},"RequestId":{}}}},"UpdateDashboardPermissions":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","DashboardId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"GrantPermissions":{"shape":"Scx"},"RevokePermissions":{"shape":"Scx"}}},"output":{"type":"structure","members":{"DashboardArn":{},"DashboardId":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateDashboardPublishedVersion":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}"},"input":{"type":"structure","required":["AwsAccountId","DashboardId","VersionNumber"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DashboardId":{"location":"uri","locationName":"DashboardId"},"VersionNumber":{"location":"uri","locationName":"VersionNumber","type":"long"}}},"output":{"type":"structure","members":{"DashboardId":{},"DashboardArn":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"UpdateDataSet":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}"},"input":{"type":"structure","required":["AwsAccountId","DataSetId","Name","PhysicalTableMap","ImportMode"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{"location":"uri","locationName":"DataSetId"},"Name":{},"PhysicalTableMap":{"shape":"S1q"},"LogicalTableMap":{"shape":"S2b"},"ImportMode":{},"ColumnGroups":{"shape":"S35"},"RowLevelPermissionDataSet":{"shape":"S3b"},"ColumnLevelPermissionRules":{"shape":"S3d"}}},"output":{"type":"structure","members":{"Arn":{},"DataSetId":{},"IngestionArn":{},"IngestionId":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateDataSetPermissions":{"http":{"requestUri":"/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","DataSetId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSetId":{"location":"uri","locationName":"DataSetId"},"GrantPermissions":{"shape":"S11"},"RevokePermissions":{"shape":"S11"}}},"output":{"type":"structure","members":{"DataSetArn":{},"DataSetId":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateDataSource":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/data-sources/{DataSourceId}"},"input":{"type":"structure","required":["AwsAccountId","DataSourceId","Name"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSourceId":{"location":"uri","locationName":"DataSourceId"},"Name":{},"DataSourceParameters":{"shape":"S3k"},"Credentials":{"shape":"S4l"},"VpcConnectionProperties":{"shape":"S4r"},"SslProperties":{"shape":"S4s"}}},"output":{"type":"structure","members":{"Arn":{},"DataSourceId":{},"UpdateStatus":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateDataSourcePermissions":{"http":{"requestUri":"/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","DataSourceId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"DataSourceId":{"location":"uri","locationName":"DataSourceId"},"GrantPermissions":{"shape":"S11"},"RevokePermissions":{"shape":"S11"}}},"output":{"type":"structure","members":{"DataSourceArn":{},"DataSourceId":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateGroup":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}"},"input":{"type":"structure","required":["GroupName","AwsAccountId","Namespace"],"members":{"GroupName":{"location":"uri","locationName":"GroupName"},"Description":{},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"}}},"output":{"type":"structure","members":{"Group":{"shape":"S4y"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateIAMPolicyAssignment":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}"},"input":{"type":"structure","required":["AwsAccountId","AssignmentName","Namespace"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"AssignmentName":{"location":"uri","locationName":"AssignmentName"},"Namespace":{"location":"uri","locationName":"Namespace"},"AssignmentStatus":{},"PolicyArn":{},"Identities":{"shape":"S56"}}},"output":{"type":"structure","members":{"AssignmentName":{},"AssignmentId":{},"PolicyArn":{},"Identities":{"shape":"S56"},"AssignmentStatus":{},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateTemplate":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId","SourceEntity"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"SourceEntity":{"shape":"S5j"},"VersionDescription":{},"Name":{}}},"output":{"type":"structure","members":{"TemplateId":{},"Arn":{},"VersionArn":{},"CreationStatus":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"UpdateTemplateAlias":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","TemplateId","AliasName","TemplateVersionNumber"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"AliasName":{"location":"uri","locationName":"AliasName"},"TemplateVersionNumber":{"type":"long"}}},"output":{"type":"structure","members":{"TemplateAlias":{"shape":"S5r"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"UpdateTemplatePermissions":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/templates/{TemplateId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","TemplateId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"TemplateId":{"location":"uri","locationName":"TemplateId"},"GrantPermissions":{"shape":"Scx"},"RevokePermissions":{"shape":"Scx"}}},"output":{"type":"structure","members":{"TemplateId":{},"TemplateArn":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateTheme":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId","BaseThemeId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"Name":{},"BaseThemeId":{},"VersionDescription":{},"Configuration":{"shape":"S5u"}}},"output":{"type":"structure","members":{"ThemeId":{},"Arn":{},"VersionArn":{},"CreationStatus":{},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"UpdateThemeAlias":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}"},"input":{"type":"structure","required":["AwsAccountId","ThemeId","AliasName","ThemeVersionNumber"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"AliasName":{"location":"uri","locationName":"AliasName"},"ThemeVersionNumber":{"type":"long"}}},"output":{"type":"structure","members":{"ThemeAlias":{"shape":"S69"},"Status":{"location":"statusCode","type":"integer"},"RequestId":{}}}},"UpdateThemePermissions":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/themes/{ThemeId}/permissions"},"input":{"type":"structure","required":["AwsAccountId","ThemeId"],"members":{"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"ThemeId":{"location":"uri","locationName":"ThemeId"},"GrantPermissions":{"shape":"Scx"},"RevokePermissions":{"shape":"Scx"}}},"output":{"type":"structure","members":{"ThemeId":{},"ThemeArn":{},"Permissions":{"shape":"S11"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}},"UpdateUser":{"http":{"method":"PUT","requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}"},"input":{"type":"structure","required":["UserName","AwsAccountId","Namespace","Email","Role"],"members":{"UserName":{"location":"uri","locationName":"UserName"},"AwsAccountId":{"location":"uri","locationName":"AwsAccountId"},"Namespace":{"location":"uri","locationName":"Namespace"},"Email":{},"Role":{},"CustomPermissionsName":{},"UnapplyCustomPermissions":{"type":"boolean"}}},"output":{"type":"structure","members":{"User":{"shape":"S9u"},"RequestId":{},"Status":{"location":"statusCode","type":"integer"}}}}},"shapes":{"Sa":{"type":"structure","members":{"DefaultTheme":{}}},"Sb":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sk":{"type":"structure","members":{"StringParameters":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{}}}}},"IntegerParameters":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{"type":"long"}}}}},"DecimalParameters":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{"type":"double"}}}}},"DateTimeParameters":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{"type":"timestamp"}}}}}}},"S11":{"type":"list","member":{"shape":"S12"}},"S12":{"type":"structure","required":["Principal","Actions"],"members":{"Principal":{},"Actions":{"type":"list","member":{}}}},"S15":{"type":"structure","members":{"SourceTemplate":{"type":"structure","required":["DataSetReferences","Arn"],"members":{"DataSetReferences":{"shape":"S17"},"Arn":{}}}}},"S17":{"type":"list","member":{"type":"structure","required":["DataSetPlaceholder","DataSetArn"],"members":{"DataSetPlaceholder":{},"DataSetArn":{}}}},"S1d":{"type":"structure","members":{"SourceTemplate":{"type":"structure","required":["DataSetReferences","Arn"],"members":{"DataSetReferences":{"shape":"S17"},"Arn":{}}}}},"S1g":{"type":"structure","members":{"AdHocFilteringOption":{"type":"structure","members":{"AvailabilityStatus":{}}},"ExportToCSVOption":{"type":"structure","members":{"AvailabilityStatus":{}}},"SheetControlsOption":{"type":"structure","members":{"VisibilityState":{}}}}},"S1q":{"type":"map","key":{},"value":{"type":"structure","members":{"RelationalTable":{"type":"structure","required":["DataSourceArn","Name","InputColumns"],"members":{"DataSourceArn":{},"Catalog":{},"Schema":{},"Name":{},"InputColumns":{"shape":"S1x"}}},"CustomSql":{"type":"structure","required":["DataSourceArn","Name","SqlQuery"],"members":{"DataSourceArn":{},"Name":{},"SqlQuery":{},"Columns":{"shape":"S1x"}}},"S3Source":{"type":"structure","required":["DataSourceArn","InputColumns"],"members":{"DataSourceArn":{},"UploadSettings":{"type":"structure","members":{"Format":{},"StartFromRow":{"type":"integer"},"ContainsHeader":{"type":"boolean"},"TextQualifier":{},"Delimiter":{}}},"InputColumns":{"shape":"S1x"}}}}}},"S1x":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{}}}},"S2b":{"type":"map","key":{},"value":{"type":"structure","required":["Alias","Source"],"members":{"Alias":{},"DataTransforms":{"type":"list","member":{"type":"structure","members":{"ProjectOperation":{"type":"structure","required":["ProjectedColumns"],"members":{"ProjectedColumns":{"type":"list","member":{}}}},"FilterOperation":{"type":"structure","required":["ConditionExpression"],"members":{"ConditionExpression":{}}},"CreateColumnsOperation":{"type":"structure","required":["Columns"],"members":{"Columns":{"type":"list","member":{"type":"structure","required":["ColumnName","ColumnId","Expression"],"members":{"ColumnName":{},"ColumnId":{},"Expression":{}}}}}},"RenameColumnOperation":{"type":"structure","required":["ColumnName","NewColumnName"],"members":{"ColumnName":{},"NewColumnName":{}}},"CastColumnTypeOperation":{"type":"structure","required":["ColumnName","NewColumnType"],"members":{"ColumnName":{},"NewColumnType":{},"Format":{}}},"TagColumnOperation":{"type":"structure","required":["ColumnName","Tags"],"members":{"ColumnName":{},"Tags":{"type":"list","member":{"type":"structure","members":{"ColumnGeographicRole":{},"ColumnDescription":{"type":"structure","members":{"Text":{}}}}}}}}}}},"Source":{"type":"structure","members":{"JoinInstruction":{"type":"structure","required":["LeftOperand","RightOperand","Type","OnClause"],"members":{"LeftOperand":{},"RightOperand":{},"LeftJoinKeyProperties":{"shape":"S31"},"RightJoinKeyProperties":{"shape":"S31"},"Type":{},"OnClause":{}}},"PhysicalTableId":{}}}}}},"S31":{"type":"structure","members":{"UniqueKey":{"type":"boolean"}}},"S35":{"type":"list","member":{"type":"structure","members":{"GeoSpatialColumnGroup":{"type":"structure","required":["Name","CountryCode","Columns"],"members":{"Name":{},"CountryCode":{},"Columns":{"type":"list","member":{}}}}}}},"S3b":{"type":"structure","required":["Arn","PermissionPolicy"],"members":{"Namespace":{},"Arn":{},"PermissionPolicy":{}}},"S3d":{"type":"list","member":{"type":"structure","members":{"Principals":{"type":"list","member":{}},"ColumnNames":{"type":"list","member":{}}}}},"S3k":{"type":"structure","members":{"AmazonElasticsearchParameters":{"type":"structure","required":["Domain"],"members":{"Domain":{}}},"AthenaParameters":{"type":"structure","members":{"WorkGroup":{}}},"AuroraParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"AuroraPostgreSqlParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"AwsIotAnalyticsParameters":{"type":"structure","required":["DataSetName"],"members":{"DataSetName":{}}},"JiraParameters":{"type":"structure","required":["SiteBaseUrl"],"members":{"SiteBaseUrl":{}}},"MariaDbParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"MySqlParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"OracleParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"PostgreSqlParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"PrestoParameters":{"type":"structure","required":["Host","Port","Catalog"],"members":{"Host":{},"Port":{"type":"integer"},"Catalog":{}}},"RdsParameters":{"type":"structure","required":["InstanceId","Database"],"members":{"InstanceId":{},"Database":{}}},"RedshiftParameters":{"type":"structure","required":["Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{},"ClusterId":{}}},"S3Parameters":{"type":"structure","required":["ManifestFileLocation"],"members":{"ManifestFileLocation":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}}}},"ServiceNowParameters":{"type":"structure","required":["SiteBaseUrl"],"members":{"SiteBaseUrl":{}}},"SnowflakeParameters":{"type":"structure","required":["Host","Database","Warehouse"],"members":{"Host":{},"Database":{},"Warehouse":{}}},"SparkParameters":{"type":"structure","required":["Host","Port"],"members":{"Host":{},"Port":{"type":"integer"}}},"SqlServerParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"TeradataParameters":{"type":"structure","required":["Host","Port","Database"],"members":{"Host":{},"Port":{"type":"integer"},"Database":{}}},"TwitterParameters":{"type":"structure","required":["Query","MaxRows"],"members":{"Query":{},"MaxRows":{"type":"integer"}}}}},"S4l":{"type":"structure","members":{"CredentialPair":{"type":"structure","required":["Username","Password"],"members":{"Username":{},"Password":{},"AlternateDataSourceParameters":{"shape":"S4p"}}},"CopySourceArn":{}},"sensitive":true},"S4p":{"type":"list","member":{"shape":"S3k"}},"S4r":{"type":"structure","required":["VpcConnectionArn"],"members":{"VpcConnectionArn":{}}},"S4s":{"type":"structure","members":{"DisableSsl":{"type":"boolean"}}},"S4y":{"type":"structure","members":{"Arn":{},"GroupName":{},"Description":{},"PrincipalId":{}}},"S52":{"type":"structure","members":{"Arn":{},"MemberName":{}}},"S56":{"type":"map","key":{},"value":{"type":"list","member":{}}},"S5j":{"type":"structure","members":{"SourceAnalysis":{"type":"structure","required":["Arn","DataSetReferences"],"members":{"Arn":{},"DataSetReferences":{"shape":"S17"}}},"SourceTemplate":{"type":"structure","required":["Arn"],"members":{"Arn":{}}}}},"S5r":{"type":"structure","members":{"AliasName":{},"Arn":{},"TemplateVersionNumber":{"type":"long"}}},"S5u":{"type":"structure","members":{"DataColorPalette":{"type":"structure","members":{"Colors":{"shape":"S5w"},"MinMaxGradient":{"shape":"S5w"},"EmptyFillColor":{}}},"UIColorPalette":{"type":"structure","members":{"PrimaryForeground":{},"PrimaryBackground":{},"SecondaryForeground":{},"SecondaryBackground":{},"Accent":{},"AccentForeground":{},"Danger":{},"DangerForeground":{},"Warning":{},"WarningForeground":{},"Success":{},"SuccessForeground":{},"Dimension":{},"DimensionForeground":{},"Measure":{},"MeasureForeground":{}}},"Sheet":{"type":"structure","members":{"Tile":{"type":"structure","members":{"Border":{"type":"structure","members":{"Show":{"type":"boolean"}}}}},"TileLayout":{"type":"structure","members":{"Gutter":{"type":"structure","members":{"Show":{"type":"boolean"}}},"Margin":{"type":"structure","members":{"Show":{"type":"boolean"}}}}}}}}},"S5w":{"type":"list","member":{}},"S69":{"type":"structure","members":{"Arn":{},"AliasName":{},"ThemeVersionNumber":{"type":"long"}}},"S7i":{"type":"list","member":{}},"S7j":{"type":"list","member":{"type":"structure","members":{"SheetId":{},"Name":{}}}},"S85":{"type":"structure","members":{"Arn":{},"DataSourceId":{},"Name":{},"Type":{},"Status":{},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"DataSourceParameters":{"shape":"S3k"},"AlternateDataSourceParameters":{"shape":"S4p"},"VpcConnectionProperties":{"shape":"S4r"},"SslProperties":{"shape":"S4s"},"ErrorInfo":{"type":"structure","members":{"Type":{},"Message":{}}}}},"S8h":{"type":"structure","required":["Arn","IngestionStatus","CreatedTime"],"members":{"Arn":{},"IngestionId":{},"IngestionStatus":{},"ErrorInfo":{"type":"structure","members":{"Type":{},"Message":{}}},"RowInfo":{"type":"structure","members":{"RowsIngested":{"type":"long"},"RowsDropped":{"type":"long"}}},"QueueInfo":{"type":"structure","required":["WaitingOnIngestion","QueuedIngestion"],"members":{"WaitingOnIngestion":{},"QueuedIngestion":{}}},"CreatedTime":{"type":"timestamp"},"IngestionTimeInSeconds":{"type":"long"},"IngestionSizeInBytes":{"type":"long"},"RequestSource":{},"RequestType":{}}},"S8s":{"type":"structure","members":{"Name":{},"Arn":{},"CapacityRegion":{},"CreationStatus":{},"IdentityStore":{},"NamespaceError":{"type":"structure","members":{"Type":{},"Message":{}}}}},"S9u":{"type":"structure","members":{"Arn":{},"UserName":{},"Email":{},"Role":{},"IdentityType":{},"Active":{"type":"boolean"},"PrincipalId":{},"CustomPermissionsName":{}}},"Sa3":{"type":"string","sensitive":true},"Saa":{"type":"list","member":{"type":"structure","members":{"Arn":{},"AnalysisId":{},"Name":{},"Status":{},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"}}}},"Sai":{"type":"list","member":{"type":"structure","members":{"Arn":{},"DashboardId":{},"Name":{},"CreatedTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"PublishedVersionNumber":{"type":"long"},"LastPublishedTime":{"type":"timestamp"}}}},"Saw":{"type":"list","member":{"shape":"S4y"}},"Scx":{"type":"list","member":{"shape":"S12"}}}}; - if (!this.currentState) this.currentState = name; - this.states[name] = { accept: acceptState, fail: failState, fn: fn }; - return this; - }; +/***/ }), - /** - * @api private - */ - module.exports = AcceptorStateMachine; +/***/ 3265: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +module.exports = getPage - /***/ 3707: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +const deprecate = __webpack_require__(6370) +const getPageLinks = __webpack_require__(4577) +const HttpError = __webpack_require__(2297) - apiLoader.services["kinesisvideo"] = {}; - AWS.KinesisVideo = Service.defineService("kinesisvideo", ["2017-09-30"]); - Object.defineProperty(apiLoader.services["kinesisvideo"], "2017-09-30", { - get: function get() { - var model = __webpack_require__(2766); - model.paginators = __webpack_require__(6207).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +function getPage (octokit, link, which, headers) { + deprecate(`octokit.get${which.charAt(0).toUpperCase() + which.slice(1)}Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) + const url = getPageLinks(link)[which] - module.exports = AWS.KinesisVideo; + if (!url) { + const urlError = new HttpError(`No ${which} page found`, 404) + return Promise.reject(urlError) + } - /***/ - }, + const requestOptions = { + url, + headers: applyAcceptHeader(link, headers) + } - /***/ 3711: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var inherit = AWS.util.inherit; - - /** - * The endpoint that a service will talk to, for example, - * `'https://ec2.ap-southeast-1.amazonaws.com'`. If - * you need to override an endpoint for a service, you can - * set the endpoint on a service by passing the endpoint - * object with the `endpoint` option key: - * - * ```javascript - * var ep = new AWS.Endpoint('awsproxy.example.com'); - * var s3 = new AWS.S3({endpoint: ep}); - * s3.service.endpoint.hostname == 'awsproxy.example.com' - * ``` - * - * Note that if you do not specify a protocol, the protocol will - * be selected based on your current {AWS.config} configuration. - * - * @!attribute protocol - * @return [String] the protocol (http or https) of the endpoint - * URL - * @!attribute hostname - * @return [String] the host portion of the endpoint, e.g., - * example.com - * @!attribute host - * @return [String] the host portion of the endpoint including - * the port, e.g., example.com:80 - * @!attribute port - * @return [Integer] the port of the endpoint - * @!attribute href - * @return [String] the full URL of the endpoint - */ - AWS.Endpoint = inherit({ - /** - * @overload Endpoint(endpoint) - * Constructs a new endpoint given an endpoint URL. If the - * URL omits a protocol (http or https), the default protocol - * set in the global {AWS.config} will be used. - * @param endpoint [String] the URL to construct an endpoint from - */ - constructor: function Endpoint(endpoint, config) { - AWS.util.hideProperties(this, [ - "slashes", - "auth", - "hash", - "search", - "query", - ]); - - if (typeof endpoint === "undefined" || endpoint === null) { - throw new Error("Invalid endpoint: " + endpoint); - } else if (typeof endpoint !== "string") { - return AWS.util.copy(endpoint); - } + const promise = octokit.request(requestOptions) - if (!endpoint.match(/^http/)) { - var useSSL = - config && config.sslEnabled !== undefined - ? config.sslEnabled - : AWS.config.sslEnabled; - endpoint = (useSSL ? "https" : "http") + "://" + endpoint; - } + return promise +} - AWS.util.update(this, AWS.util.urlParse(endpoint)); +function applyAcceptHeader (res, headers) { + const previous = res.headers && res.headers['x-github-media-type'] - // Ensure the port property is set as an integer - if (this.port) { - this.port = parseInt(this.port, 10); - } else { - this.port = this.protocol === "https:" ? 443 : 80; - } - }, - }); + if (!previous || (headers && headers.accept)) { + return headers + } + headers = headers || {} + headers.accept = 'application/vnd.' + previous + .replace('; param=', '.') + .replace('; format=', '+') + + return headers +} + + +/***/ }), + +/***/ 3288: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['connectcontactlens'] = {}; +AWS.ConnectContactLens = Service.defineService('connectcontactlens', ['2020-08-21']); +Object.defineProperty(apiLoader.services['connectcontactlens'], '2020-08-21', { + get: function get() { + var model = __webpack_require__(1035); + model.paginators = __webpack_require__(3087).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.ConnectContactLens; + + +/***/ }), + +/***/ 3315: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var util = __webpack_require__(153); +var Rest = __webpack_require__(4618); +var Json = __webpack_require__(9912); +var JsonBuilder = __webpack_require__(337); +var JsonParser = __webpack_require__(9806); + +function populateBody(req) { + var builder = new JsonBuilder(); + var input = req.service.api.operations[req.operation].input; + + if (input.payload) { + var params = {}; + var payloadShape = input.members[input.payload]; + params = req.params[input.payload]; + if (params === undefined) return; + + if (payloadShape.type === 'structure') { + req.httpRequest.body = builder.build(params, payloadShape); + applyContentTypeHeader(req); + } else { // non-JSON payload + req.httpRequest.body = params; + if (payloadShape.type === 'binary' || payloadShape.isStreaming) { + applyContentTypeHeader(req, true); + } + } + } else { + var body = builder.build(req.params, input); + if (body !== '{}' || req.httpRequest.method !== 'GET') { //don't send empty body for GET method + req.httpRequest.body = body; + } + applyContentTypeHeader(req); + } +} - /** - * The low level HTTP request object, encapsulating all HTTP header - * and body data sent by a service request. - * - * @!attribute method - * @return [String] the HTTP method of the request - * @!attribute path - * @return [String] the path portion of the URI, e.g., - * "/list/?start=5&num=10" - * @!attribute headers - * @return [map] - * a map of header keys and their respective values - * @!attribute body - * @return [String] the request body payload - * @!attribute endpoint - * @return [AWS.Endpoint] the endpoint for the request - * @!attribute region - * @api private - * @return [String] the region, for signing purposes only. - */ - AWS.HttpRequest = inherit({ - /** - * @api private - */ - constructor: function HttpRequest(endpoint, region) { - endpoint = new AWS.Endpoint(endpoint); - this.method = "POST"; - this.path = endpoint.path || "/"; - this.headers = {}; - this.body = ""; - this.endpoint = endpoint; - this.region = region; - this._userAgent = ""; - this.setUserAgent(); - }, - - /** - * @api private - */ - setUserAgent: function setUserAgent() { - this._userAgent = this.headers[ - this.getUserAgentHeaderName() - ] = AWS.util.userAgent(); - }, - - getUserAgentHeaderName: function getUserAgentHeaderName() { - var prefix = AWS.util.isBrowser() ? "X-Amz-" : ""; - return prefix + "User-Agent"; - }, - - /** - * @api private - */ - appendToUserAgent: function appendToUserAgent(agentPartial) { - if (typeof agentPartial === "string" && agentPartial) { - this._userAgent += " " + agentPartial; - } - this.headers[this.getUserAgentHeaderName()] = this._userAgent; - }, +function applyContentTypeHeader(req, isBinary) { + var operation = req.service.api.operations[req.operation]; + var input = operation.input; - /** - * @api private - */ - getUserAgent: function getUserAgent() { - return this._userAgent; - }, + if (!req.httpRequest.headers['Content-Type']) { + var type = isBinary ? 'binary/octet-stream' : 'application/json'; + req.httpRequest.headers['Content-Type'] = type; + } +} - /** - * @return [String] the part of the {path} excluding the - * query string - */ - pathname: function pathname() { - return this.path.split("?", 1)[0]; - }, +function buildRequest(req) { + Rest.buildRequest(req); - /** - * @return [String] the query string portion of the {path} - */ - search: function search() { - var query = this.path.split("?", 2)[1]; - if (query) { - query = AWS.util.queryStringParse(query); - return AWS.util.queryParamsToString(query); - } - return ""; - }, - - /** - * @api private - * update httpRequest endpoint with endpoint string - */ - updateEndpoint: function updateEndpoint(endpointStr) { - var newEndpoint = new AWS.Endpoint(endpointStr); - this.endpoint = newEndpoint; - this.path = newEndpoint.path || "/"; - if (this.headers["Host"]) { - this.headers["Host"] = newEndpoint.host; - } - }, - }); + // never send body payload on HEAD/DELETE + if (['HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) { + populateBody(req); + } +} + +function extractError(resp) { + Json.extractError(resp); +} + +function extractData(resp) { + Rest.extractData(resp); + + var req = resp.request; + var operation = req.service.api.operations[req.operation]; + var rules = req.service.api.operations[req.operation].output || {}; + var parser; + var hasEventOutput = operation.hasEventOutput; + + if (rules.payload) { + var payloadMember = rules.members[rules.payload]; + var body = resp.httpResponse.body; + if (payloadMember.isEventStream) { + parser = new JsonParser(); + resp.data[payload] = util.createEventStream( + AWS.HttpClient.streamsApiVersion === 2 ? resp.httpResponse.stream : body, + parser, + payloadMember + ); + } else if (payloadMember.type === 'structure' || payloadMember.type === 'list') { + var parser = new JsonParser(); + resp.data[rules.payload] = parser.parse(body, payloadMember); + } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) { + resp.data[rules.payload] = body; + } else { + resp.data[rules.payload] = payloadMember.toType(body); + } + } else { + var data = resp.data; + Json.extractData(resp); + resp.data = util.merge(data, resp.data); + } +} - /** - * The low level HTTP response object, encapsulating all HTTP header - * and body data returned from the request. - * - * @!attribute statusCode - * @return [Integer] the HTTP status code of the response (e.g., 200, 404) - * @!attribute headers - * @return [map] - * a map of response header keys and their respective values - * @!attribute body - * @return [String] the response body payload - * @!attribute [r] streaming - * @return [Boolean] whether this response is being streamed at a low-level. - * Defaults to `false` (buffered reads). Do not modify this manually, use - * {createUnbufferedStream} to convert the stream to unbuffered mode - * instead. - */ - AWS.HttpResponse = inherit({ - /** - * @api private - */ - constructor: function HttpResponse() { - this.statusCode = undefined; - this.headers = {}; - this.body = undefined; - this.streaming = false; - this.stream = null; - }, - - /** - * Disables buffering on the HTTP response and returns the stream for reading. - * @return [Stream, XMLHttpRequest, null] the underlying stream object. - * Use this object to directly read data off of the stream. - * @note This object is only available after the {AWS.Request~httpHeaders} - * event has fired. This method must be called prior to - * {AWS.Request~httpData}. - * @example Taking control of a stream - * request.on('httpHeaders', function(statusCode, headers) { - * if (statusCode < 300) { - * if (headers.etag === 'xyz') { - * // pipe the stream, disabling buffering - * var stream = this.response.httpResponse.createUnbufferedStream(); - * stream.pipe(process.stdout); - * } else { // abort this request and set a better error message - * this.abort(); - * this.response.error = new Error('Invalid ETag'); - * } - * } - * }).send(console.log); - */ - createUnbufferedStream: function createUnbufferedStream() { - this.streaming = true; - return this.stream; - }, - }); +/** + * @api private + */ +module.exports = { + buildRequest: buildRequest, + extractError: extractError, + extractData: extractData +}; - AWS.HttpClient = inherit({}); - /** - * @api private - */ - AWS.HttpClient.getInstance = function getInstance() { - if (this.singleton === undefined) { - this.singleton = new this(); - } - return this.singleton; - }; +/***/ }), - /***/ - }, +/***/ 3336: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 3725: /***/ function (module) { - module.exports = { pagination: {} }; +module.exports = hasLastPage - /***/ - }, +const deprecate = __webpack_require__(6370) +const getPageLinks = __webpack_require__(4577) - /***/ 3753: /***/ function (module) { - module.exports = { - pagination: { - DescribeBackups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeDataRepositoryTasks: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeFileSystems: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +function hasLastPage (link) { + deprecate(`octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) + return getPageLinks(link).last +} - /***/ - }, - /***/ 3754: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var v4Credentials = __webpack_require__(9819); - var inherit = AWS.util.inherit; - - /** - * @api private - */ - var expiresHeader = "presigned-expires"; - - /** - * @api private - */ - AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { - constructor: function V4(request, serviceName, options) { - AWS.Signers.RequestSigner.call(this, request); - this.serviceName = serviceName; - options = options || {}; - this.signatureCache = - typeof options.signatureCache === "boolean" - ? options.signatureCache - : true; - this.operation = options.operation; - this.signatureVersion = options.signatureVersion; - }, - - algorithm: "AWS4-HMAC-SHA256", - - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date - .iso8601(date) - .replace(/[:\-]|\.\d{3}/g, ""); - - if (this.isPresigned()) { - this.updateForPresigned(credentials, datetime); - } else { - this.addHeaders(credentials, datetime); - } +/***/ }), - this.request.headers["Authorization"] = this.authorization( - credentials, - datetime - ); - }, +/***/ 3346: +/***/ (function(module, __unusedexports, __webpack_require__) { - addHeaders: function addHeaders(credentials, datetime) { - this.request.headers["X-Amz-Date"] = datetime; - if (credentials.sessionToken) { - this.request.headers["x-amz-security-token"] = - credentials.sessionToken; - } - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - updateForPresigned: function updateForPresigned(credentials, datetime) { - var credString = this.credentialString(datetime); - var qs = { - "X-Amz-Date": datetime, - "X-Amz-Algorithm": this.algorithm, - "X-Amz-Credential": credentials.accessKeyId + "/" + credString, - "X-Amz-Expires": this.request.headers[expiresHeader], - "X-Amz-SignedHeaders": this.signedHeaders(), - }; +apiLoader.services['mq'] = {}; +AWS.MQ = Service.defineService('mq', ['2017-11-27']); +Object.defineProperty(apiLoader.services['mq'], '2017-11-27', { + get: function get() { + var model = __webpack_require__(4074); + model.paginators = __webpack_require__(7571).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - if (credentials.sessionToken) { - qs["X-Amz-Security-Token"] = credentials.sessionToken; - } +module.exports = AWS.MQ; - if (this.request.headers["Content-Type"]) { - qs["Content-Type"] = this.request.headers["Content-Type"]; - } - if (this.request.headers["Content-MD5"]) { - qs["Content-MD5"] = this.request.headers["Content-MD5"]; - } - if (this.request.headers["Cache-Control"]) { - qs["Cache-Control"] = this.request.headers["Cache-Control"]; - } - // need to pull in any other X-Amz-* headers - AWS.util.each.call(this, this.request.headers, function (key, value) { - if (key === expiresHeader) return; - if (this.isSignableHeader(key)) { - var lowerKey = key.toLowerCase(); - // Metadata should be normalized - if (lowerKey.indexOf("x-amz-meta-") === 0) { - qs[lowerKey] = value; - } else if (lowerKey.indexOf("x-amz-") === 0) { - qs[key] = value; - } - } - }); +/***/ }), - var sep = this.request.path.indexOf("?") >= 0 ? "&" : "?"; - this.request.path += sep + AWS.util.queryParamsToString(qs); - }, +/***/ 3370: +/***/ (function(module) { - authorization: function authorization(credentials, datetime) { - var parts = []; - var credString = this.credentialString(datetime); - parts.push( - this.algorithm + - " Credential=" + - credentials.accessKeyId + - "/" + - credString - ); - parts.push("SignedHeaders=" + this.signedHeaders()); - parts.push("Signature=" + this.signature(credentials, datetime)); - return parts.join(", "); - }, - - signature: function signature(credentials, datetime) { - var signingKey = v4Credentials.getSigningKey( - credentials, - datetime.substr(0, 8), - this.request.region, - this.serviceName, - this.signatureCache - ); - return AWS.util.crypto.hmac( - signingKey, - this.stringToSign(datetime), - "hex" - ); - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-11-01","endpointPrefix":"eks","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon EKS","serviceFullName":"Amazon Elastic Kubernetes Service","serviceId":"EKS","signatureVersion":"v4","signingName":"eks","uid":"eks-2017-11-01"},"operations":{"CreateAddon":{"http":{"requestUri":"/clusters/{name}/addons"},"input":{"type":"structure","required":["clusterName","addonName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"addonName":{},"addonVersion":{},"serviceAccountRoleArn":{},"resolveConflicts":{},"clientRequestToken":{"idempotencyToken":true},"tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"addon":{"shape":"Sa"}}}},"CreateCluster":{"http":{"requestUri":"/clusters"},"input":{"type":"structure","required":["name","roleArn","resourcesVpcConfig"],"members":{"name":{},"version":{},"roleArn":{},"resourcesVpcConfig":{"shape":"Sj"},"kubernetesNetworkConfig":{"type":"structure","members":{"serviceIpv4Cidr":{}}},"logging":{"shape":"Sm"},"clientRequestToken":{"idempotencyToken":true},"tags":{"shape":"S6"},"encryptionConfig":{"shape":"Sr"}}},"output":{"type":"structure","members":{"cluster":{"shape":"Sv"}}}},"CreateFargateProfile":{"http":{"requestUri":"/clusters/{name}/fargate-profiles"},"input":{"type":"structure","required":["fargateProfileName","clusterName","podExecutionRoleArn"],"members":{"fargateProfileName":{},"clusterName":{"location":"uri","locationName":"name"},"podExecutionRoleArn":{},"subnets":{"shape":"Sg"},"selectors":{"shape":"S14"},"clientRequestToken":{"idempotencyToken":true},"tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"fargateProfile":{"shape":"S18"}}}},"CreateNodegroup":{"http":{"requestUri":"/clusters/{name}/node-groups"},"input":{"type":"structure","required":["clusterName","nodegroupName","subnets","nodeRole"],"members":{"clusterName":{"location":"uri","locationName":"name"},"nodegroupName":{},"scalingConfig":{"shape":"S1b"},"diskSize":{"type":"integer"},"subnets":{"shape":"Sg"},"instanceTypes":{"shape":"Sg"},"amiType":{},"remoteAccess":{"shape":"S1f"},"nodeRole":{},"labels":{"shape":"S1g"},"tags":{"shape":"S6"},"clientRequestToken":{"idempotencyToken":true},"launchTemplate":{"shape":"S1j"},"capacityType":{},"version":{},"releaseVersion":{}}},"output":{"type":"structure","members":{"nodegroup":{"shape":"S1m"}}}},"DeleteAddon":{"http":{"method":"DELETE","requestUri":"/clusters/{name}/addons/{addonName}"},"input":{"type":"structure","required":["clusterName","addonName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"addonName":{"location":"uri","locationName":"addonName"}}},"output":{"type":"structure","members":{"addon":{"shape":"Sa"}}}},"DeleteCluster":{"http":{"method":"DELETE","requestUri":"/clusters/{name}"},"input":{"type":"structure","required":["name"],"members":{"name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"cluster":{"shape":"Sv"}}}},"DeleteFargateProfile":{"http":{"method":"DELETE","requestUri":"/clusters/{name}/fargate-profiles/{fargateProfileName}"},"input":{"type":"structure","required":["clusterName","fargateProfileName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"fargateProfileName":{"location":"uri","locationName":"fargateProfileName"}}},"output":{"type":"structure","members":{"fargateProfile":{"shape":"S18"}}}},"DeleteNodegroup":{"http":{"method":"DELETE","requestUri":"/clusters/{name}/node-groups/{nodegroupName}"},"input":{"type":"structure","required":["clusterName","nodegroupName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"nodegroupName":{"location":"uri","locationName":"nodegroupName"}}},"output":{"type":"structure","members":{"nodegroup":{"shape":"S1m"}}}},"DescribeAddon":{"http":{"method":"GET","requestUri":"/clusters/{name}/addons/{addonName}"},"input":{"type":"structure","required":["clusterName","addonName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"addonName":{"location":"uri","locationName":"addonName"}}},"output":{"type":"structure","members":{"addon":{"shape":"Sa"}}}},"DescribeAddonVersions":{"http":{"method":"GET","requestUri":"/addons/supported-versions"},"input":{"type":"structure","members":{"kubernetesVersion":{"location":"querystring","locationName":"kubernetesVersion"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"addonName":{"location":"querystring","locationName":"addonName"}}},"output":{"type":"structure","members":{"addons":{"type":"list","member":{"type":"structure","members":{"addonName":{},"type":{},"addonVersions":{"type":"list","member":{"type":"structure","members":{"addonVersion":{},"architecture":{"shape":"Sg"},"compatibilities":{"type":"list","member":{"type":"structure","members":{"clusterVersion":{},"platformVersions":{"shape":"Sg"},"defaultVersion":{"type":"boolean"}}}}}}}}}},"nextToken":{}}}},"DescribeCluster":{"http":{"method":"GET","requestUri":"/clusters/{name}"},"input":{"type":"structure","required":["name"],"members":{"name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"cluster":{"shape":"Sv"}}}},"DescribeFargateProfile":{"http":{"method":"GET","requestUri":"/clusters/{name}/fargate-profiles/{fargateProfileName}"},"input":{"type":"structure","required":["clusterName","fargateProfileName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"fargateProfileName":{"location":"uri","locationName":"fargateProfileName"}}},"output":{"type":"structure","members":{"fargateProfile":{"shape":"S18"}}}},"DescribeNodegroup":{"http":{"method":"GET","requestUri":"/clusters/{name}/node-groups/{nodegroupName}"},"input":{"type":"structure","required":["clusterName","nodegroupName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"nodegroupName":{"location":"uri","locationName":"nodegroupName"}}},"output":{"type":"structure","members":{"nodegroup":{"shape":"S1m"}}}},"DescribeUpdate":{"http":{"method":"GET","requestUri":"/clusters/{name}/updates/{updateId}"},"input":{"type":"structure","required":["name","updateId"],"members":{"name":{"location":"uri","locationName":"name"},"updateId":{"location":"uri","locationName":"updateId"},"nodegroupName":{"location":"querystring","locationName":"nodegroupName"},"addonName":{"location":"querystring","locationName":"addonName"}}},"output":{"type":"structure","members":{"update":{"shape":"S2m"}}}},"ListAddons":{"http":{"method":"GET","requestUri":"/clusters/{name}/addons"},"input":{"type":"structure","required":["clusterName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"addons":{"shape":"Sg"},"nextToken":{}}}},"ListClusters":{"http":{"method":"GET","requestUri":"/clusters"},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"clusters":{"shape":"Sg"},"nextToken":{}}}},"ListFargateProfiles":{"http":{"method":"GET","requestUri":"/clusters/{name}/fargate-profiles"},"input":{"type":"structure","required":["clusterName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"fargateProfileNames":{"shape":"Sg"},"nextToken":{}}}},"ListNodegroups":{"http":{"method":"GET","requestUri":"/clusters/{name}/node-groups"},"input":{"type":"structure","required":["clusterName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"nodegroups":{"shape":"Sg"},"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":"S6"}}}},"ListUpdates":{"http":{"method":"GET","requestUri":"/clusters/{name}/updates"},"input":{"type":"structure","required":["name"],"members":{"name":{"location":"uri","locationName":"name"},"nodegroupName":{"location":"querystring","locationName":"nodegroupName"},"addonName":{"location":"querystring","locationName":"addonName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"updateIds":{"shape":"Sg"},"nextToken":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S6"}}},"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":{}}},"UpdateAddon":{"http":{"requestUri":"/clusters/{name}/addons/{addonName}/update"},"input":{"type":"structure","required":["clusterName","addonName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"addonName":{"location":"uri","locationName":"addonName"},"addonVersion":{},"serviceAccountRoleArn":{},"resolveConflicts":{},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"update":{"shape":"S2m"}}}},"UpdateClusterConfig":{"http":{"requestUri":"/clusters/{name}/update-config"},"input":{"type":"structure","required":["name"],"members":{"name":{"location":"uri","locationName":"name"},"resourcesVpcConfig":{"shape":"Sj"},"logging":{"shape":"Sm"},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"update":{"shape":"S2m"}}}},"UpdateClusterVersion":{"http":{"requestUri":"/clusters/{name}/updates"},"input":{"type":"structure","required":["name","version"],"members":{"name":{"location":"uri","locationName":"name"},"version":{},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"update":{"shape":"S2m"}}}},"UpdateNodegroupConfig":{"http":{"requestUri":"/clusters/{name}/node-groups/{nodegroupName}/update-config"},"input":{"type":"structure","required":["clusterName","nodegroupName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"nodegroupName":{"location":"uri","locationName":"nodegroupName"},"labels":{"type":"structure","members":{"addOrUpdateLabels":{"shape":"S1g"},"removeLabels":{"type":"list","member":{}}}},"scalingConfig":{"shape":"S1b"},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"update":{"shape":"S2m"}}}},"UpdateNodegroupVersion":{"http":{"requestUri":"/clusters/{name}/node-groups/{nodegroupName}/update-version"},"input":{"type":"structure","required":["clusterName","nodegroupName"],"members":{"clusterName":{"location":"uri","locationName":"name"},"nodegroupName":{"location":"uri","locationName":"nodegroupName"},"version":{},"releaseVersion":{},"launchTemplate":{"shape":"S1j"},"force":{"type":"boolean"},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"update":{"shape":"S2m"}}}}},"shapes":{"S6":{"type":"map","key":{},"value":{}},"Sa":{"type":"structure","members":{"addonName":{},"clusterName":{},"status":{},"addonVersion":{},"health":{"type":"structure","members":{"issues":{"type":"list","member":{"type":"structure","members":{"code":{},"message":{},"resourceIds":{"shape":"Sg"}}}}}},"addonArn":{},"createdAt":{"type":"timestamp"},"modifiedAt":{"type":"timestamp"},"serviceAccountRoleArn":{},"tags":{"shape":"S6"}}},"Sg":{"type":"list","member":{}},"Sj":{"type":"structure","members":{"subnetIds":{"shape":"Sg"},"securityGroupIds":{"shape":"Sg"},"endpointPublicAccess":{"type":"boolean"},"endpointPrivateAccess":{"type":"boolean"},"publicAccessCidrs":{"shape":"Sg"}}},"Sm":{"type":"structure","members":{"clusterLogging":{"type":"list","member":{"type":"structure","members":{"types":{"type":"list","member":{}},"enabled":{"type":"boolean"}}}}}},"Sr":{"type":"list","member":{"type":"structure","members":{"resources":{"shape":"Sg"},"provider":{"type":"structure","members":{"keyArn":{}}}}}},"Sv":{"type":"structure","members":{"name":{},"arn":{},"createdAt":{"type":"timestamp"},"version":{},"endpoint":{},"roleArn":{},"resourcesVpcConfig":{"type":"structure","members":{"subnetIds":{"shape":"Sg"},"securityGroupIds":{"shape":"Sg"},"clusterSecurityGroupId":{},"vpcId":{},"endpointPublicAccess":{"type":"boolean"},"endpointPrivateAccess":{"type":"boolean"},"publicAccessCidrs":{"shape":"Sg"}}},"kubernetesNetworkConfig":{"type":"structure","members":{"serviceIpv4Cidr":{}}},"logging":{"shape":"Sm"},"identity":{"type":"structure","members":{"oidc":{"type":"structure","members":{"issuer":{}}}}},"status":{},"certificateAuthority":{"type":"structure","members":{"data":{}}},"clientRequestToken":{},"platformVersion":{},"tags":{"shape":"S6"},"encryptionConfig":{"shape":"Sr"}}},"S14":{"type":"list","member":{"type":"structure","members":{"namespace":{},"labels":{"type":"map","key":{},"value":{}}}}},"S18":{"type":"structure","members":{"fargateProfileName":{},"fargateProfileArn":{},"clusterName":{},"createdAt":{"type":"timestamp"},"podExecutionRoleArn":{},"subnets":{"shape":"Sg"},"selectors":{"shape":"S14"},"status":{},"tags":{"shape":"S6"}}},"S1b":{"type":"structure","members":{"minSize":{"type":"integer"},"maxSize":{"type":"integer"},"desiredSize":{"type":"integer"}}},"S1f":{"type":"structure","members":{"ec2SshKey":{},"sourceSecurityGroups":{"shape":"Sg"}}},"S1g":{"type":"map","key":{},"value":{}},"S1j":{"type":"structure","members":{"name":{},"version":{},"id":{}}},"S1m":{"type":"structure","members":{"nodegroupName":{},"nodegroupArn":{},"clusterName":{},"version":{},"releaseVersion":{},"createdAt":{"type":"timestamp"},"modifiedAt":{"type":"timestamp"},"status":{},"capacityType":{},"scalingConfig":{"shape":"S1b"},"instanceTypes":{"shape":"Sg"},"subnets":{"shape":"Sg"},"remoteAccess":{"shape":"S1f"},"amiType":{},"nodeRole":{},"labels":{"shape":"S1g"},"resources":{"type":"structure","members":{"autoScalingGroups":{"type":"list","member":{"type":"structure","members":{"name":{}}}},"remoteAccessSecurityGroup":{}}},"diskSize":{"type":"integer"},"health":{"type":"structure","members":{"issues":{"type":"list","member":{"type":"structure","members":{"code":{},"message":{},"resourceIds":{"shape":"Sg"}}}}}},"launchTemplate":{"shape":"S1j"},"tags":{"shape":"S6"}}},"S2m":{"type":"structure","members":{"id":{},"status":{},"type":{},"params":{"type":"list","member":{"type":"structure","members":{"type":{},"value":{}}}},"createdAt":{"type":"timestamp"},"errors":{"type":"list","member":{"type":"structure","members":{"errorCode":{},"errorMessage":{},"resourceIds":{"shape":"Sg"}}}}}}}}; - stringToSign: function stringToSign(datetime) { - var parts = []; - parts.push("AWS4-HMAC-SHA256"); - parts.push(datetime); - parts.push(this.credentialString(datetime)); - parts.push(this.hexEncodedHash(this.canonicalString())); - return parts.join("\n"); - }, +/***/ }), - canonicalString: function canonicalString() { - var parts = [], - pathname = this.request.pathname(); - if (this.serviceName !== "s3" && this.signatureVersion !== "s3v4") - pathname = AWS.util.uriEscapePath(pathname); +/***/ 3387: +/***/ (function(module) { - parts.push(this.request.method); - parts.push(pathname); - parts.push(this.request.search()); - parts.push(this.canonicalHeaders() + "\n"); - parts.push(this.signedHeaders()); - parts.push(this.hexEncodedBodyHash()); - return parts.join("\n"); - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-05-13","endpointPrefix":"runtime.sagemaker","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon SageMaker Runtime","serviceId":"SageMaker Runtime","signatureVersion":"v4","signingName":"sagemaker","uid":"runtime.sagemaker-2017-05-13"},"operations":{"InvokeEndpoint":{"http":{"requestUri":"/endpoints/{EndpointName}/invocations"},"input":{"type":"structure","required":["EndpointName","Body"],"members":{"EndpointName":{"location":"uri","locationName":"EndpointName"},"Body":{"shape":"S3"},"ContentType":{"location":"header","locationName":"Content-Type"},"Accept":{"location":"header","locationName":"Accept"},"CustomAttributes":{"shape":"S5","location":"header","locationName":"X-Amzn-SageMaker-Custom-Attributes"},"TargetModel":{"location":"header","locationName":"X-Amzn-SageMaker-Target-Model"},"TargetVariant":{"location":"header","locationName":"X-Amzn-SageMaker-Target-Variant"},"InferenceId":{"location":"header","locationName":"X-Amzn-SageMaker-Inference-Id"}},"payload":"Body"},"output":{"type":"structure","required":["Body"],"members":{"Body":{"shape":"S3"},"ContentType":{"location":"header","locationName":"Content-Type"},"InvokedProductionVariant":{"location":"header","locationName":"x-Amzn-Invoked-Production-Variant"},"CustomAttributes":{"shape":"S5","location":"header","locationName":"X-Amzn-SageMaker-Custom-Attributes"}},"payload":"Body"}}},"shapes":{"S3":{"type":"blob","sensitive":true},"S5":{"type":"string","sensitive":true}}}; - canonicalHeaders: function canonicalHeaders() { - var headers = []; - AWS.util.each.call(this, this.request.headers, function (key, item) { - headers.push([key, item]); - }); - headers.sort(function (a, b) { - return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; - }); - var parts = []; - AWS.util.arrayEach.call(this, headers, function (item) { - var key = item[0].toLowerCase(); - if (this.isSignableHeader(key)) { - var value = item[1]; - if ( - typeof value === "undefined" || - value === null || - typeof value.toString !== "function" - ) { - throw AWS.util.error( - new Error("Header " + key + " contains invalid value"), - { - code: "InvalidHeader", - } - ); - } - parts.push( - key + ":" + this.canonicalHeaderValues(value.toString()) - ); - } - }); - return parts.join("\n"); - }, +/***/ }), - canonicalHeaderValues: function canonicalHeaderValues(values) { - return values.replace(/\s+/g, " ").replace(/^\s+|\s+$/g, ""); - }, +/***/ 3393: +/***/ (function(module) { - signedHeaders: function signedHeaders() { - var keys = []; - AWS.util.each.call(this, this.request.headers, function (key) { - key = key.toLowerCase(); - if (this.isSignableHeader(key)) keys.push(key); - }); - return keys.sort().join(";"); - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2013-01-01","endpointPrefix":"cloudsearch","protocol":"query","serviceFullName":"Amazon CloudSearch","serviceId":"CloudSearch","signatureVersion":"v4","uid":"cloudsearch-2013-01-01","xmlNamespace":"http://cloudsearch.amazonaws.com/doc/2013-01-01/"},"operations":{"BuildSuggesters":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"resultWrapper":"BuildSuggestersResult","type":"structure","members":{"FieldNames":{"shape":"S4"}}}},"CreateDomain":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"resultWrapper":"CreateDomainResult","type":"structure","members":{"DomainStatus":{"shape":"S8"}}}},"DefineAnalysisScheme":{"input":{"type":"structure","required":["DomainName","AnalysisScheme"],"members":{"DomainName":{},"AnalysisScheme":{"shape":"Sl"}}},"output":{"resultWrapper":"DefineAnalysisSchemeResult","type":"structure","required":["AnalysisScheme"],"members":{"AnalysisScheme":{"shape":"Ss"}}}},"DefineExpression":{"input":{"type":"structure","required":["DomainName","Expression"],"members":{"DomainName":{},"Expression":{"shape":"Sy"}}},"output":{"resultWrapper":"DefineExpressionResult","type":"structure","required":["Expression"],"members":{"Expression":{"shape":"S11"}}}},"DefineIndexField":{"input":{"type":"structure","required":["DomainName","IndexField"],"members":{"DomainName":{},"IndexField":{"shape":"S13"}}},"output":{"resultWrapper":"DefineIndexFieldResult","type":"structure","required":["IndexField"],"members":{"IndexField":{"shape":"S1n"}}}},"DefineSuggester":{"input":{"type":"structure","required":["DomainName","Suggester"],"members":{"DomainName":{},"Suggester":{"shape":"S1p"}}},"output":{"resultWrapper":"DefineSuggesterResult","type":"structure","required":["Suggester"],"members":{"Suggester":{"shape":"S1t"}}}},"DeleteAnalysisScheme":{"input":{"type":"structure","required":["DomainName","AnalysisSchemeName"],"members":{"DomainName":{},"AnalysisSchemeName":{}}},"output":{"resultWrapper":"DeleteAnalysisSchemeResult","type":"structure","required":["AnalysisScheme"],"members":{"AnalysisScheme":{"shape":"Ss"}}}},"DeleteDomain":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"resultWrapper":"DeleteDomainResult","type":"structure","members":{"DomainStatus":{"shape":"S8"}}}},"DeleteExpression":{"input":{"type":"structure","required":["DomainName","ExpressionName"],"members":{"DomainName":{},"ExpressionName":{}}},"output":{"resultWrapper":"DeleteExpressionResult","type":"structure","required":["Expression"],"members":{"Expression":{"shape":"S11"}}}},"DeleteIndexField":{"input":{"type":"structure","required":["DomainName","IndexFieldName"],"members":{"DomainName":{},"IndexFieldName":{}}},"output":{"resultWrapper":"DeleteIndexFieldResult","type":"structure","required":["IndexField"],"members":{"IndexField":{"shape":"S1n"}}}},"DeleteSuggester":{"input":{"type":"structure","required":["DomainName","SuggesterName"],"members":{"DomainName":{},"SuggesterName":{}}},"output":{"resultWrapper":"DeleteSuggesterResult","type":"structure","required":["Suggester"],"members":{"Suggester":{"shape":"S1t"}}}},"DescribeAnalysisSchemes":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"AnalysisSchemeNames":{"shape":"S25"},"Deployed":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeAnalysisSchemesResult","type":"structure","required":["AnalysisSchemes"],"members":{"AnalysisSchemes":{"type":"list","member":{"shape":"Ss"}}}}},"DescribeAvailabilityOptions":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"Deployed":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeAvailabilityOptionsResult","type":"structure","members":{"AvailabilityOptions":{"shape":"S2a"}}}},"DescribeDomainEndpointOptions":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"Deployed":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDomainEndpointOptionsResult","type":"structure","members":{"DomainEndpointOptions":{"shape":"S2e"}}}},"DescribeDomains":{"input":{"type":"structure","members":{"DomainNames":{"type":"list","member":{}}}},"output":{"resultWrapper":"DescribeDomainsResult","type":"structure","required":["DomainStatusList"],"members":{"DomainStatusList":{"type":"list","member":{"shape":"S8"}}}}},"DescribeExpressions":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"ExpressionNames":{"shape":"S25"},"Deployed":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeExpressionsResult","type":"structure","required":["Expressions"],"members":{"Expressions":{"type":"list","member":{"shape":"S11"}}}}},"DescribeIndexFields":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"FieldNames":{"type":"list","member":{}},"Deployed":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeIndexFieldsResult","type":"structure","required":["IndexFields"],"members":{"IndexFields":{"type":"list","member":{"shape":"S1n"}}}}},"DescribeScalingParameters":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"resultWrapper":"DescribeScalingParametersResult","type":"structure","required":["ScalingParameters"],"members":{"ScalingParameters":{"shape":"S2u"}}}},"DescribeServiceAccessPolicies":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"Deployed":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeServiceAccessPoliciesResult","type":"structure","required":["AccessPolicies"],"members":{"AccessPolicies":{"shape":"S2z"}}}},"DescribeSuggesters":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"SuggesterNames":{"shape":"S25"},"Deployed":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeSuggestersResult","type":"structure","required":["Suggesters"],"members":{"Suggesters":{"type":"list","member":{"shape":"S1t"}}}}},"IndexDocuments":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"resultWrapper":"IndexDocumentsResult","type":"structure","members":{"FieldNames":{"shape":"S4"}}}},"ListDomainNames":{"output":{"resultWrapper":"ListDomainNamesResult","type":"structure","members":{"DomainNames":{"type":"map","key":{},"value":{}}}}},"UpdateAvailabilityOptions":{"input":{"type":"structure","required":["DomainName","MultiAZ"],"members":{"DomainName":{},"MultiAZ":{"type":"boolean"}}},"output":{"resultWrapper":"UpdateAvailabilityOptionsResult","type":"structure","members":{"AvailabilityOptions":{"shape":"S2a"}}}},"UpdateDomainEndpointOptions":{"input":{"type":"structure","required":["DomainName","DomainEndpointOptions"],"members":{"DomainName":{},"DomainEndpointOptions":{"shape":"S2f"}}},"output":{"resultWrapper":"UpdateDomainEndpointOptionsResult","type":"structure","members":{"DomainEndpointOptions":{"shape":"S2e"}}}},"UpdateScalingParameters":{"input":{"type":"structure","required":["DomainName","ScalingParameters"],"members":{"DomainName":{},"ScalingParameters":{"shape":"S2v"}}},"output":{"resultWrapper":"UpdateScalingParametersResult","type":"structure","required":["ScalingParameters"],"members":{"ScalingParameters":{"shape":"S2u"}}}},"UpdateServiceAccessPolicies":{"input":{"type":"structure","required":["DomainName","AccessPolicies"],"members":{"DomainName":{},"AccessPolicies":{}}},"output":{"resultWrapper":"UpdateServiceAccessPoliciesResult","type":"structure","required":["AccessPolicies"],"members":{"AccessPolicies":{"shape":"S2z"}}}}},"shapes":{"S4":{"type":"list","member":{}},"S8":{"type":"structure","required":["DomainId","DomainName","RequiresIndexDocuments"],"members":{"DomainId":{},"DomainName":{},"ARN":{},"Created":{"type":"boolean"},"Deleted":{"type":"boolean"},"DocService":{"shape":"Sc"},"SearchService":{"shape":"Sc"},"RequiresIndexDocuments":{"type":"boolean"},"Processing":{"type":"boolean"},"SearchInstanceType":{},"SearchPartitionCount":{"type":"integer"},"SearchInstanceCount":{"type":"integer"},"Limits":{"type":"structure","required":["MaximumReplicationCount","MaximumPartitionCount"],"members":{"MaximumReplicationCount":{"type":"integer"},"MaximumPartitionCount":{"type":"integer"}}}}},"Sc":{"type":"structure","members":{"Endpoint":{}}},"Sl":{"type":"structure","required":["AnalysisSchemeName","AnalysisSchemeLanguage"],"members":{"AnalysisSchemeName":{},"AnalysisSchemeLanguage":{},"AnalysisOptions":{"type":"structure","members":{"Synonyms":{},"Stopwords":{},"StemmingDictionary":{},"JapaneseTokenizationDictionary":{},"AlgorithmicStemming":{}}}}},"Ss":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"Sl"},"Status":{"shape":"St"}}},"St":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"PendingDeletion":{"type":"boolean"}}},"Sy":{"type":"structure","required":["ExpressionName","ExpressionValue"],"members":{"ExpressionName":{},"ExpressionValue":{}}},"S11":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"Sy"},"Status":{"shape":"St"}}},"S13":{"type":"structure","required":["IndexFieldName","IndexFieldType"],"members":{"IndexFieldName":{},"IndexFieldType":{},"IntOptions":{"type":"structure","members":{"DefaultValue":{"type":"long"},"SourceField":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"},"SortEnabled":{"type":"boolean"}}},"DoubleOptions":{"type":"structure","members":{"DefaultValue":{"type":"double"},"SourceField":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"},"SortEnabled":{"type":"boolean"}}},"LiteralOptions":{"type":"structure","members":{"DefaultValue":{},"SourceField":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"},"SortEnabled":{"type":"boolean"}}},"TextOptions":{"type":"structure","members":{"DefaultValue":{},"SourceField":{},"ReturnEnabled":{"type":"boolean"},"SortEnabled":{"type":"boolean"},"HighlightEnabled":{"type":"boolean"},"AnalysisScheme":{}}},"DateOptions":{"type":"structure","members":{"DefaultValue":{},"SourceField":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"},"SortEnabled":{"type":"boolean"}}},"LatLonOptions":{"type":"structure","members":{"DefaultValue":{},"SourceField":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"},"SortEnabled":{"type":"boolean"}}},"IntArrayOptions":{"type":"structure","members":{"DefaultValue":{"type":"long"},"SourceFields":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"}}},"DoubleArrayOptions":{"type":"structure","members":{"DefaultValue":{"type":"double"},"SourceFields":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"}}},"LiteralArrayOptions":{"type":"structure","members":{"DefaultValue":{},"SourceFields":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"}}},"TextArrayOptions":{"type":"structure","members":{"DefaultValue":{},"SourceFields":{},"ReturnEnabled":{"type":"boolean"},"HighlightEnabled":{"type":"boolean"},"AnalysisScheme":{}}},"DateArrayOptions":{"type":"structure","members":{"DefaultValue":{},"SourceFields":{},"FacetEnabled":{"type":"boolean"},"SearchEnabled":{"type":"boolean"},"ReturnEnabled":{"type":"boolean"}}}}},"S1n":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S13"},"Status":{"shape":"St"}}},"S1p":{"type":"structure","required":["SuggesterName","DocumentSuggesterOptions"],"members":{"SuggesterName":{},"DocumentSuggesterOptions":{"type":"structure","required":["SourceField"],"members":{"SourceField":{},"FuzzyMatching":{},"SortExpression":{}}}}},"S1t":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1p"},"Status":{"shape":"St"}}},"S25":{"type":"list","member":{}},"S2a":{"type":"structure","required":["Options","Status"],"members":{"Options":{"type":"boolean"},"Status":{"shape":"St"}}},"S2e":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2f"},"Status":{"shape":"St"}}},"S2f":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{}}},"S2u":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2v"},"Status":{"shape":"St"}}},"S2v":{"type":"structure","members":{"DesiredInstanceType":{},"DesiredReplicationCount":{"type":"integer"},"DesiredPartitionCount":{"type":"integer"}}},"S2z":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"St"}}}}}; - credentialString: function credentialString(datetime) { - return v4Credentials.createScope( - datetime.substr(0, 8), - this.request.region, - this.serviceName - ); - }, +/***/ }), - hexEncodedHash: function hash(string) { - return AWS.util.crypto.sha256(string, "hex"); - }, +/***/ 3396: +/***/ (function(module) { - hexEncodedBodyHash: function hexEncodedBodyHash() { - var request = this.request; - if ( - this.isPresigned() && - this.serviceName === "s3" && - !request.body - ) { - return "UNSIGNED-PAYLOAD"; - } else if (request.headers["X-Amz-Content-Sha256"]) { - return request.headers["X-Amz-Content-Sha256"]; - } else { - return this.hexEncodedHash(this.request.body || ""); - } - }, +module.exports = {"pagination":{}}; - unsignableHeaders: [ - "authorization", - "content-type", - "content-length", - "user-agent", - expiresHeader, - "expect", - "x-amzn-trace-id", - ], +/***/ }), - isSignableHeader: function isSignableHeader(key) { - if (key.toLowerCase().indexOf("x-amz-") === 0) return true; - return this.unsignableHeaders.indexOf(key) < 0; - }, +/***/ 3405: +/***/ (function(module) { - isPresigned: function isPresigned() { - return this.request.headers[expiresHeader] ? true : false; - }, - }); +module.exports = {"pagination":{"ListAliases":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListGroupMembers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailboxExportJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMailboxPermissions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListOrganizations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListResourceDelegates":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListResources":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListUsers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - /** - * @api private - */ - module.exports = AWS.Signers.V4; +/***/ }), - /***/ - }, +/***/ 3410: +/***/ (function(module) { - /***/ 3756: /***/ function (module) { - module.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" }, - }, - }; +module.exports = {"pagination":{"ListBundles":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListProjects":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}}; - /***/ - }, +/***/ }), - /***/ 3762: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-09-24", - endpointPrefix: "managedblockchain", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "ManagedBlockchain", - serviceFullName: "Amazon Managed Blockchain", - serviceId: "ManagedBlockchain", - signatureVersion: "v4", - signingName: "managedblockchain", - uid: "managedblockchain-2018-09-24", - }, - operations: { - CreateMember: { - http: { requestUri: "/networks/{networkId}/members" }, - input: { - type: "structure", - required: [ - "ClientRequestToken", - "InvitationId", - "NetworkId", - "MemberConfiguration", - ], - members: { - ClientRequestToken: { idempotencyToken: true }, - InvitationId: {}, - NetworkId: { location: "uri", locationName: "networkId" }, - MemberConfiguration: { shape: "S4" }, - }, - }, - output: { type: "structure", members: { MemberId: {} } }, - }, - CreateNetwork: { - http: { requestUri: "/networks" }, - input: { - type: "structure", - required: [ - "ClientRequestToken", - "Name", - "Framework", - "FrameworkVersion", - "VotingPolicy", - "MemberConfiguration", - ], - members: { - ClientRequestToken: { idempotencyToken: true }, - Name: {}, - Description: {}, - Framework: {}, - FrameworkVersion: {}, - FrameworkConfiguration: { - type: "structure", - members: { - Fabric: { - type: "structure", - required: ["Edition"], - members: { Edition: {} }, - }, - }, - }, - VotingPolicy: { shape: "So" }, - MemberConfiguration: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { NetworkId: {}, MemberId: {} }, - }, - }, - CreateNode: { - http: { - requestUri: "/networks/{networkId}/members/{memberId}/nodes", - }, - input: { - type: "structure", - required: [ - "ClientRequestToken", - "NetworkId", - "MemberId", - "NodeConfiguration", - ], - members: { - ClientRequestToken: { idempotencyToken: true }, - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeConfiguration: { - type: "structure", - required: ["InstanceType", "AvailabilityZone"], - members: { - InstanceType: {}, - AvailabilityZone: {}, - LogPublishingConfiguration: { shape: "Sy" }, - }, - }, - }, - }, - output: { type: "structure", members: { NodeId: {} } }, - }, - CreateProposal: { - http: { requestUri: "/networks/{networkId}/proposals" }, - input: { - type: "structure", - required: [ - "ClientRequestToken", - "NetworkId", - "MemberId", - "Actions", - ], - members: { - ClientRequestToken: { idempotencyToken: true }, - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: {}, - Actions: { shape: "S12" }, - Description: {}, - }, - }, - output: { type: "structure", members: { ProposalId: {} } }, - }, - DeleteMember: { - http: { - method: "DELETE", - requestUri: "/networks/{networkId}/members/{memberId}", - }, - input: { - type: "structure", - required: ["NetworkId", "MemberId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteNode: { - http: { - method: "DELETE", - requestUri: - "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", - }, - input: { - type: "structure", - required: ["NetworkId", "MemberId", "NodeId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeId: { location: "uri", locationName: "nodeId" }, - }, - }, - output: { type: "structure", members: {} }, - }, - GetMember: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/members/{memberId}", - }, - input: { - type: "structure", - required: ["NetworkId", "MemberId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - }, - }, - output: { - type: "structure", - members: { - Member: { - type: "structure", - members: { - NetworkId: {}, - Id: {}, - Name: {}, - Description: {}, - FrameworkAttributes: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { AdminUsername: {}, CaEndpoint: {} }, - }, - }, - }, - LogPublishingConfiguration: { shape: "Sb" }, - Status: {}, - CreationDate: { shape: "S1k" }, - }, - }, - }, - }, - }, - GetNetwork: { - http: { method: "GET", requestUri: "/networks/{networkId}" }, - input: { - type: "structure", - required: ["NetworkId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - }, - }, - output: { - type: "structure", - members: { - Network: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - Framework: {}, - FrameworkVersion: {}, - FrameworkAttributes: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { OrderingServiceEndpoint: {}, Edition: {} }, - }, - }, - }, - VpcEndpointServiceName: {}, - VotingPolicy: { shape: "So" }, - Status: {}, - CreationDate: { shape: "S1k" }, - }, - }, - }, - }, - }, - GetNode: { - http: { - method: "GET", - requestUri: - "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", - }, - input: { - type: "structure", - required: ["NetworkId", "MemberId", "NodeId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeId: { location: "uri", locationName: "nodeId" }, - }, - }, - output: { - type: "structure", - members: { - Node: { - type: "structure", - members: { - NetworkId: {}, - MemberId: {}, - Id: {}, - InstanceType: {}, - AvailabilityZone: {}, - FrameworkAttributes: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { PeerEndpoint: {}, PeerEventEndpoint: {} }, - }, - }, - }, - LogPublishingConfiguration: { shape: "Sy" }, - Status: {}, - CreationDate: { shape: "S1k" }, - }, - }, - }, - }, - }, - GetProposal: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/proposals/{proposalId}", - }, - input: { - type: "structure", - required: ["NetworkId", "ProposalId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - ProposalId: { location: "uri", locationName: "proposalId" }, - }, - }, - output: { - type: "structure", - members: { - Proposal: { - type: "structure", - members: { - ProposalId: {}, - NetworkId: {}, - Description: {}, - Actions: { shape: "S12" }, - ProposedByMemberId: {}, - ProposedByMemberName: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - ExpirationDate: { shape: "S1k" }, - YesVoteCount: { type: "integer" }, - NoVoteCount: { type: "integer" }, - OutstandingVoteCount: { type: "integer" }, - }, - }, - }, - }, - }, - 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: { - type: "structure", - members: { - InvitationId: {}, - CreationDate: { shape: "S1k" }, - ExpirationDate: { shape: "S1k" }, - Status: {}, - NetworkSummary: { shape: "S29" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListMembers: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/members", - }, - input: { - type: "structure", - required: ["NetworkId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - Name: { location: "querystring", locationName: "name" }, - Status: { location: "querystring", locationName: "status" }, - IsOwned: { - location: "querystring", - locationName: "isOwned", - type: "boolean", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Members: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - IsOwned: { type: "boolean" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListNetworks: { - http: { method: "GET", requestUri: "/networks" }, - input: { - type: "structure", - members: { - Name: { location: "querystring", locationName: "name" }, - Framework: { - location: "querystring", - locationName: "framework", - }, - Status: { location: "querystring", locationName: "status" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Networks: { type: "list", member: { shape: "S29" } }, - NextToken: {}, - }, - }, - }, - ListNodes: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/members/{memberId}/nodes", - }, - input: { - type: "structure", - required: ["NetworkId", "MemberId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - Status: { location: "querystring", locationName: "status" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Nodes: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - AvailabilityZone: {}, - InstanceType: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListProposalVotes: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/proposals/{proposalId}/votes", - }, - input: { - type: "structure", - required: ["NetworkId", "ProposalId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - ProposalId: { location: "uri", locationName: "proposalId" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - ProposalVotes: { - type: "list", - member: { - type: "structure", - members: { Vote: {}, MemberName: {}, MemberId: {} }, - }, - }, - NextToken: {}, - }, - }, - }, - ListProposals: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/proposals", - }, - input: { - type: "structure", - required: ["NetworkId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Proposals: { - type: "list", - member: { - type: "structure", - members: { - ProposalId: {}, - Description: {}, - ProposedByMemberId: {}, - ProposedByMemberName: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - ExpirationDate: { shape: "S1k" }, - }, - }, - }, - NextToken: {}, - }, - }, - }, - RejectInvitation: { - http: { - method: "DELETE", - requestUri: "/invitations/{invitationId}", - }, - input: { - type: "structure", - required: ["InvitationId"], - members: { - InvitationId: { location: "uri", locationName: "invitationId" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateMember: { - http: { - method: "PATCH", - requestUri: "/networks/{networkId}/members/{memberId}", - }, - input: { - type: "structure", - required: ["NetworkId", "MemberId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - LogPublishingConfiguration: { shape: "Sb" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateNode: { - http: { - method: "PATCH", - requestUri: - "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", - }, - input: { - type: "structure", - required: ["NetworkId", "MemberId", "NodeId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeId: { location: "uri", locationName: "nodeId" }, - LogPublishingConfiguration: { shape: "Sy" }, - }, - }, - output: { type: "structure", members: {} }, - }, - VoteOnProposal: { - http: { - requestUri: "/networks/{networkId}/proposals/{proposalId}/votes", - }, - input: { - type: "structure", - required: ["NetworkId", "ProposalId", "VoterMemberId", "Vote"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - ProposalId: { location: "uri", locationName: "proposalId" }, - VoterMemberId: {}, - Vote: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S4: { - type: "structure", - required: ["Name", "FrameworkConfiguration"], - members: { - Name: {}, - Description: {}, - FrameworkConfiguration: { - type: "structure", - members: { - Fabric: { - type: "structure", - required: ["AdminUsername", "AdminPassword"], - members: { - AdminUsername: {}, - AdminPassword: { type: "string", sensitive: true }, - }, - }, - }, - }, - LogPublishingConfiguration: { shape: "Sb" }, - }, - }, - Sb: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { CaLogs: { shape: "Sd" } }, - }, - }, - }, - Sd: { - type: "structure", - members: { - Cloudwatch: { - type: "structure", - members: { Enabled: { type: "boolean" } }, - }, - }, - }, - So: { - type: "structure", - members: { - ApprovalThresholdPolicy: { - type: "structure", - members: { - ThresholdPercentage: { type: "integer" }, - ProposalDurationInHours: { type: "integer" }, - ThresholdComparator: {}, - }, - }, - }, - }, - Sy: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { - ChaincodeLogs: { shape: "Sd" }, - PeerLogs: { shape: "Sd" }, - }, - }, - }, - }, - S12: { - type: "structure", - members: { - Invitations: { - type: "list", - member: { - type: "structure", - required: ["Principal"], - members: { Principal: {} }, - }, - }, - Removals: { - type: "list", - member: { - type: "structure", - required: ["MemberId"], - members: { MemberId: {} }, - }, - }, - }, - }, - S1k: { type: "timestamp", timestampFormat: "iso8601" }, - S29: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - Framework: {}, - FrameworkVersion: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - }, - }, - }, - }; +/***/ 3413: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"ListDevices":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDomains":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListFleets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListWebsiteAuthorizationProviders":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListWebsiteCertificateAuthorities":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - /***/ 3763: /***/ function (module) { - module.exports = { pagination: {} }; +/***/ }), - /***/ - }, +/***/ 3421: +/***/ (function(module) { - /***/ 3768: /***/ function (module) { - "use strict"; +module.exports = {"pagination":{}}; - module.exports = function (x) { - var lf = typeof x === "string" ? "\n" : "\n".charCodeAt(); - var cr = typeof x === "string" ? "\r" : "\r".charCodeAt(); +/***/ }), - if (x[x.length - 1] === lf) { - x = x.slice(0, x.length - 1); - } +/***/ 3458: +/***/ (function(module, __unusedexports, __webpack_require__) { - if (x[x.length - 1] === cr) { - x = x.slice(0, x.length - 1); - } +// Generated by CoffeeScript 1.12.7 +(function() { + var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStreamWriter, XMLText, XMLWriterBase, + extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + hasProp = {}.hasOwnProperty; - return x; - }; + XMLDeclaration = __webpack_require__(7738); - /***/ - }, + XMLDocType = __webpack_require__(5735); - /***/ 3773: /***/ function (module, __unusedexports, __webpack_require__) { - var rng = __webpack_require__(1881); - var bytesToUuid = __webpack_require__(2390); + XMLCData = __webpack_require__(9657); - // **`v1()` - Generate time-based UUID** - // - // Inspired by https://github.com/LiosK/UUID.js - // and http://docs.python.org/library/uuid.html + XMLComment = __webpack_require__(7919); - var _nodeId; - var _clockseq; + XMLElement = __webpack_require__(5796); - // Previous uuid creation time - var _lastMSecs = 0; - var _lastNSecs = 0; + XMLRaw = __webpack_require__(7660); - // See https://github.com/broofa/node-uuid for API details - function v1(options, buf, offset) { - var i = (buf && offset) || 0; - var b = buf || []; + XMLText = __webpack_require__(9708); - options = options || {}; - var node = options.node || _nodeId; - var clockseq = - options.clockseq !== undefined ? options.clockseq : _clockseq; - - // node and clockseq need to be initialized to random values if they're not - // specified. We do this lazily to minimize issues related to insufficient - // system entropy. See #189 - if (node == null || clockseq == null) { - var seedBytes = rng(); - if (node == null) { - // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) - node = _nodeId = [ - seedBytes[0] | 0x01, - seedBytes[1], - seedBytes[2], - seedBytes[3], - seedBytes[4], - seedBytes[5], - ]; - } - if (clockseq == null) { - // Per 4.2.2, randomize (14 bit) clockseq - clockseq = _clockseq = - ((seedBytes[6] << 8) | seedBytes[7]) & 0x3fff; - } - } + XMLProcessingInstruction = __webpack_require__(2491); - // UUID timestamps are 100 nano-second units since the Gregorian epoch, - // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so - // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' - // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. - var msecs = - options.msecs !== undefined ? options.msecs : new Date().getTime(); + XMLDTDAttList = __webpack_require__(3801); - // Per 4.2.1.2, use count of uuid's generated during the current clock - // cycle to simulate higher resolution clock - var nsecs = - options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; + XMLDTDElement = __webpack_require__(9463); - // Time since last uuid creation (in msecs) - var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; + XMLDTDEntity = __webpack_require__(7661); - // Per 4.2.1.2, Bump clockseq on clock regression - if (dt < 0 && options.clockseq === undefined) { - clockseq = (clockseq + 1) & 0x3fff; - } + XMLDTDNotation = __webpack_require__(9019); - // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new - // time interval - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } + XMLWriterBase = __webpack_require__(9423); - // Per 4.2.1.2 Throw error if too many uuids are requested - if (nsecs >= 10000) { - throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); - } + module.exports = XMLStreamWriter = (function(superClass) { + extend(XMLStreamWriter, superClass); - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; + function XMLStreamWriter(stream, options) { + XMLStreamWriter.__super__.constructor.call(this, options); + this.stream = stream; + } - // Per 4.1.4 - Convert from unix epoch to Gregorian epoch - msecs += 12219292800000; + XMLStreamWriter.prototype.document = function(doc) { + var child, i, j, len, len1, ref, ref1, results; + ref = doc.children; + for (i = 0, len = ref.length; i < len; i++) { + child = ref[i]; + child.isLastRootNode = false; + } + doc.children[doc.children.length - 1].isLastRootNode = true; + ref1 = doc.children; + results = []; + for (j = 0, len1 = ref1.length; j < len1; j++) { + child = ref1[j]; + switch (false) { + case !(child instanceof XMLDeclaration): + results.push(this.declaration(child)); + break; + case !(child instanceof XMLDocType): + results.push(this.docType(child)); + break; + case !(child instanceof XMLComment): + results.push(this.comment(child)); + break; + case !(child instanceof XMLProcessingInstruction): + results.push(this.processingInstruction(child)); + break; + default: + results.push(this.element(child)); + } + } + return results; + }; + + XMLStreamWriter.prototype.attribute = function(att) { + return this.stream.write(' ' + att.name + '="' + att.value + '"'); + }; + + XMLStreamWriter.prototype.cdata = function(node, level) { + return this.stream.write(this.space(level) + '' + this.endline(node)); + }; + + XMLStreamWriter.prototype.comment = function(node, level) { + return this.stream.write(this.space(level) + '' + this.endline(node)); + }; + + XMLStreamWriter.prototype.declaration = function(node, level) { + this.stream.write(this.space(level)); + this.stream.write(''); + return this.stream.write(this.endline(node)); + }; + + XMLStreamWriter.prototype.docType = function(node, level) { + var child, i, len, ref; + level || (level = 0); + this.stream.write(this.space(level)); + this.stream.write(' 0) { + this.stream.write(' ['); + this.stream.write(this.endline(node)); + ref = node.children; + for (i = 0, len = ref.length; i < len; i++) { + child = ref[i]; + switch (false) { + case !(child instanceof XMLDTDAttList): + this.dtdAttList(child, level + 1); + break; + case !(child instanceof XMLDTDElement): + this.dtdElement(child, level + 1); + break; + case !(child instanceof XMLDTDEntity): + this.dtdEntity(child, level + 1); + break; + case !(child instanceof XMLDTDNotation): + this.dtdNotation(child, level + 1); + break; + case !(child instanceof XMLCData): + this.cdata(child, level + 1); + break; + case !(child instanceof XMLComment): + this.comment(child, level + 1); + break; + case !(child instanceof XMLProcessingInstruction): + this.processingInstruction(child, level + 1); + break; + default: + throw new Error("Unknown DTD node type: " + child.constructor.name); + } + } + this.stream.write(']'); + } + this.stream.write(this.spacebeforeslash + '>'); + return this.stream.write(this.endline(node)); + }; + + XMLStreamWriter.prototype.element = function(node, level) { + var att, child, i, len, name, ref, ref1, space; + level || (level = 0); + space = this.space(level); + this.stream.write(space + '<' + node.name); + ref = node.attributes; + for (name in ref) { + if (!hasProp.call(ref, name)) continue; + att = ref[name]; + this.attribute(att); + } + if (node.children.length === 0 || node.children.every(function(e) { + return e.value === ''; + })) { + if (this.allowEmpty) { + this.stream.write('>'); + } else { + this.stream.write(this.spacebeforeslash + '/>'); + } + } else if (this.pretty && node.children.length === 1 && (node.children[0].value != null)) { + this.stream.write('>'); + this.stream.write(node.children[0].value); + this.stream.write(''); + } else { + this.stream.write('>' + this.newline); + ref1 = node.children; + for (i = 0, len = ref1.length; i < len; i++) { + child = ref1[i]; + switch (false) { + case !(child instanceof XMLCData): + this.cdata(child, level + 1); + break; + case !(child instanceof XMLComment): + this.comment(child, level + 1); + break; + case !(child instanceof XMLElement): + this.element(child, level + 1); + break; + case !(child instanceof XMLRaw): + this.raw(child, level + 1); + break; + case !(child instanceof XMLText): + this.text(child, level + 1); + break; + case !(child instanceof XMLProcessingInstruction): + this.processingInstruction(child, level + 1); + break; + default: + throw new Error("Unknown XML node type: " + child.constructor.name); + } + } + this.stream.write(space + ''); + } + return this.stream.write(this.endline(node)); + }; - // `time_low` - var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; - b[i++] = (tl >>> 24) & 0xff; - b[i++] = (tl >>> 16) & 0xff; - b[i++] = (tl >>> 8) & 0xff; - b[i++] = tl & 0xff; + XMLStreamWriter.prototype.processingInstruction = function(node, level) { + this.stream.write(this.space(level) + '' + this.endline(node)); + }; - // `time_mid` - var tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff; - b[i++] = (tmh >>> 8) & 0xff; - b[i++] = tmh & 0xff; + XMLStreamWriter.prototype.raw = function(node, level) { + return this.stream.write(this.space(level) + node.value + this.endline(node)); + }; - // `time_high_and_version` - b[i++] = ((tmh >>> 24) & 0xf) | 0x10; // include version - b[i++] = (tmh >>> 16) & 0xff; + XMLStreamWriter.prototype.text = function(node, level) { + return this.stream.write(this.space(level) + node.value + this.endline(node)); + }; - // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) - b[i++] = (clockseq >>> 8) | 0x80; + XMLStreamWriter.prototype.dtdAttList = function(node, level) { + this.stream.write(this.space(level) + '' + this.endline(node)); + }; - // `clock_seq_low` - b[i++] = clockseq & 0xff; + XMLStreamWriter.prototype.dtdElement = function(node, level) { + this.stream.write(this.space(level) + '' + this.endline(node)); + }; - // `node` - for (var n = 0; n < 6; ++n) { - b[i + n] = node[n]; + XMLStreamWriter.prototype.dtdEntity = function(node, level) { + this.stream.write(this.space(level) + '' + this.endline(node)); + }; - return buf ? buf : bytesToUuid(b); + XMLStreamWriter.prototype.dtdNotation = function(node, level) { + this.stream.write(this.space(level) + '' + this.endline(node)); + }; - module.exports = v1; + XMLStreamWriter.prototype.endline = function(node) { + if (!node.isLastRootNode) { + return this.newline; + } else { + return ''; + } + }; - /***/ - }, + return XMLStreamWriter; - /***/ 3777: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = getFirstPage; + })(XMLWriterBase); - const getPage = __webpack_require__(3265); +}).call(this); - function getFirstPage(octokit, link, headers) { - return getPage(octokit, link, "first", headers); - } - /***/ - }, +/***/ }), - /***/ 3788: /***/ function (module) { - module.exports = { - pagination: { - GetComplianceSummary: { - input_token: "PaginationToken", - limit_key: "MaxResults", - output_token: "PaginationToken", - result_key: "SummaryList", - }, - GetResources: { - input_token: "PaginationToken", - limit_key: "ResourcesPerPage", - output_token: "PaginationToken", - result_key: "ResourceTagMappingList", - }, - GetTagKeys: { - input_token: "PaginationToken", - output_token: "PaginationToken", - result_key: "TagKeys", - }, - GetTagValues: { - input_token: "PaginationToken", - output_token: "PaginationToken", - result_key: "TagValues", - }, - }, - }; +/***/ 3494: +/***/ (function(module) { - /***/ - }, +module.exports = {"pagination":{"DescribeEndpoints":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Endpoints"},"ListJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Jobs"},"ListPresets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Presets"},"ListJobTemplates":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"JobTemplates"},"ListQueues":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults","result_key":"Queues"}}}; - /***/ 3801: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLDTDAttList, - XMLNode, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; +/***/ }), - XMLNode = __webpack_require__(6855); +/***/ 3497: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - module.exports = XMLDTDAttList = (function (superClass) { - extend(XMLDTDAttList, superClass); +"use strict"; - function XMLDTDAttList( - parent, - elementName, - attributeName, - attributeType, - defaultValueType, - defaultValue - ) { - XMLDTDAttList.__super__.constructor.call(this, parent); - if (elementName == null) { - throw new Error("Missing DTD element name"); - } - if (attributeName == null) { - throw new Error("Missing DTD attribute name"); - } - if (!attributeType) { - throw new Error("Missing DTD attribute type"); - } - if (!defaultValueType) { - throw new Error("Missing DTD attribute default"); - } - if (defaultValueType.indexOf("#") !== 0) { - defaultValueType = "#" + defaultValueType; - } - if ( - !defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/) - ) { - throw new Error( - "Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT" - ); - } - if ( - defaultValue && - !defaultValueType.match(/^(#FIXED|#DEFAULT)$/) - ) { - throw new Error( - "Default value only applies to #FIXED or #DEFAULT" - ); - } - this.elementName = this.stringify.eleName(elementName); - this.attributeName = this.stringify.attName(attributeName); - this.attributeType = this.stringify.dtdAttType(attributeType); - this.defaultValue = this.stringify.dtdAttDefault(defaultValue); - this.defaultValueType = defaultValueType; - } - XMLDTDAttList.prototype.toString = function (options) { - return this.options.writer.set(options).dtdAttList(this); - }; +Object.defineProperty(exports, '__esModule', { value: true }); - return XMLDTDAttList; - })(XMLNode); - }.call(this)); +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - /***/ - }, +var deprecation = __webpack_require__(7692); +var once = _interopDefault(__webpack_require__(6049)); - /***/ 3814: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = which; - which.sync = whichSync; +const logOnce = once(deprecation => console.warn(deprecation)); +/** + * Error with extra properties to help with debugging + */ - var isWindows = - process.platform === "win32" || - process.env.OSTYPE === "cygwin" || - process.env.OSTYPE === "msys"; +class RequestError extends Error { + constructor(message, statusCode, options) { + super(message); // Maintains proper stack trace (only available on V8) - var path = __webpack_require__(5622); - var COLON = isWindows ? ";" : ":"; - var isexe = __webpack_require__(8742); + /* istanbul ignore next */ - function getNotFoundError(cmd) { - var er = new Error("not found: " + cmd); - er.code = "ENOENT"; + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } - return er; + this.name = "HttpError"; + this.status = statusCode; + Object.defineProperty(this, "code", { + get() { + logOnce(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); + return statusCode; } - function getPathInfo(cmd, opt) { - var colon = opt.colon || COLON; - var pathEnv = opt.path || process.env.PATH || ""; - var pathExt = [""]; - - pathEnv = pathEnv.split(colon); + }); + this.headers = options.headers || {}; // redact request credentials without mutating original request options - var pathExtExe = ""; - if (isWindows) { - pathEnv.unshift(process.cwd()); - pathExtExe = - opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM"; - pathExt = pathExtExe.split(colon); + const requestCopy = Object.assign({}, options.request); - // Always test the cmd itself first. isexe will check to make sure - // it's found in the pathExt set. - if (cmd.indexOf(".") !== -1 && pathExt[0] !== "") pathExt.unshift(""); - } - - // If it has a slash, then we don't bother searching the pathenv. - // just check the file itself, and that's it. - if (cmd.match(/\//) || (isWindows && cmd.match(/\\/))) pathEnv = [""]; + if (options.request.headers.authorization) { + requestCopy.headers = Object.assign({}, options.request.headers, { + authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]") + }); + } + + requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit + // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications + .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended + // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header + .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); + this.request = requestCopy; + } - return { - env: pathEnv, - ext: pathExt, - extExe: pathExtExe, +} + +exports.RequestError = RequestError; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 3501: +/***/ (function(module) { + +module.exports = {"version":2,"waiters":{"TableExists":{"delay":20,"operation":"DescribeTable","maxAttempts":25,"acceptors":[{"expected":"ACTIVE","matcher":"path","state":"success","argument":"Table.TableStatus"},{"expected":"ResourceNotFoundException","matcher":"error","state":"retry"}]},"TableNotExists":{"delay":20,"operation":"DescribeTable","maxAttempts":25,"acceptors":[{"expected":"ResourceNotFoundException","matcher":"error","state":"success"}]}}}; + +/***/ }), + +/***/ 3503: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var Api = __webpack_require__(7788); +var regionConfig = __webpack_require__(3546); + +var inherit = AWS.util.inherit; +var clientCount = 0; + +/** + * The service class representing an AWS service. + * + * @class_abstract This class is an abstract class. + * + * @!attribute apiVersions + * @return [Array] the list of API versions supported by this service. + * @readonly + */ +AWS.Service = inherit({ + /** + * Create a new service object with a configuration object + * + * @param config [map] a map of configuration options + */ + constructor: function Service(config) { + if (!this.loadServiceClass) { + throw AWS.util.error(new Error(), + 'Service must be constructed with `new\' operator'); + } + var ServiceClass = this.loadServiceClass(config || {}); + if (ServiceClass) { + var originalConfig = AWS.util.copy(config); + var svc = new ServiceClass(config); + Object.defineProperty(svc, '_originalConfig', { + get: function() { return originalConfig; }, + enumerable: false, + configurable: true + }); + svc._clientId = ++clientCount; + return svc; + } + this.initialize(config); + }, + + /** + * @api private + */ + initialize: function initialize(config) { + var svcConfig = AWS.config[this.serviceIdentifier]; + this.config = new AWS.Config(AWS.config); + if (svcConfig) this.config.update(svcConfig, true); + if (config) this.config.update(config, true); + + this.validateService(); + if (!this.config.endpoint) regionConfig.configureEndpoint(this); + + this.config.endpoint = this.endpointFromTemplate(this.config.endpoint); + this.setEndpoint(this.config.endpoint); + //enable attaching listeners to service client + AWS.SequentialExecutor.call(this); + AWS.Service.addDefaultMonitoringListeners(this); + if ((this.config.clientSideMonitoring || AWS.Service._clientSideMonitoring) && this.publisher) { + var publisher = this.publisher; + this.addNamedListener('PUBLISH_API_CALL', 'apiCall', function PUBLISH_API_CALL(event) { + process.nextTick(function() {publisher.eventHandler(event);}); + }); + this.addNamedListener('PUBLISH_API_ATTEMPT', 'apiCallAttempt', function PUBLISH_API_ATTEMPT(event) { + process.nextTick(function() {publisher.eventHandler(event);}); + }); + } + }, + + /** + * @api private + */ + validateService: function validateService() { + }, + + /** + * @api private + */ + loadServiceClass: function loadServiceClass(serviceConfig) { + var config = serviceConfig; + if (!AWS.util.isEmpty(this.api)) { + return null; + } else if (config.apiConfig) { + return AWS.Service.defineServiceApi(this.constructor, config.apiConfig); + } else if (!this.constructor.services) { + return null; + } else { + config = new AWS.Config(AWS.config); + config.update(serviceConfig, true); + var version = config.apiVersions[this.constructor.serviceIdentifier]; + version = version || config.apiVersion; + return this.getLatestServiceClass(version); + } + }, + + /** + * @api private + */ + getLatestServiceClass: function getLatestServiceClass(version) { + version = this.getLatestServiceVersion(version); + if (this.constructor.services[version] === null) { + AWS.Service.defineServiceApi(this.constructor, version); + } + + return this.constructor.services[version]; + }, + + /** + * @api private + */ + getLatestServiceVersion: function getLatestServiceVersion(version) { + if (!this.constructor.services || this.constructor.services.length === 0) { + throw new Error('No services defined on ' + + this.constructor.serviceIdentifier); + } + + if (!version) { + version = 'latest'; + } else if (AWS.util.isType(version, Date)) { + version = AWS.util.date.iso8601(version).split('T')[0]; + } + + if (Object.hasOwnProperty(this.constructor.services, version)) { + return version; + } + + var keys = Object.keys(this.constructor.services).sort(); + var selectedVersion = null; + for (var i = keys.length - 1; i >= 0; i--) { + // versions that end in "*" are not available on disk and can be + // skipped, so do not choose these as selectedVersions + if (keys[i][keys[i].length - 1] !== '*') { + selectedVersion = keys[i]; + } + if (keys[i].substr(0, 10) <= version) { + return selectedVersion; + } + } + + throw new Error('Could not find ' + this.constructor.serviceIdentifier + + ' API to satisfy version constraint `' + version + '\''); + }, + + /** + * @api private + */ + api: {}, + + /** + * @api private + */ + defaultRetryCount: 3, + + /** + * @api private + */ + customizeRequests: function customizeRequests(callback) { + if (!callback) { + this.customRequestHandler = null; + } else if (typeof callback === 'function') { + this.customRequestHandler = callback; + } else { + throw new Error('Invalid callback type \'' + typeof callback + '\' provided in customizeRequests'); + } + }, + + /** + * Calls an operation on a service with the given input parameters. + * + * @param operation [String] the name of the operation to call on the service. + * @param params [map] a map of input options for the operation + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + */ + makeRequest: function makeRequest(operation, params, callback) { + if (typeof params === 'function') { + callback = params; + params = null; + } + + params = params || {}; + if (this.config.params) { // copy only toplevel bound params + var rules = this.api.operations[operation]; + if (rules) { + params = AWS.util.copy(params); + AWS.util.each(this.config.params, function(key, value) { + if (rules.input.members[key]) { + if (params[key] === undefined || params[key] === null) { + params[key] = value; + } + } + }); + } + } + + var request = new AWS.Request(this, operation, params); + this.addAllRequestListeners(request); + this.attachMonitoringEmitter(request); + if (callback) request.send(callback); + return request; + }, + + /** + * Calls an operation on a service with the given input parameters, without + * any authentication data. This method is useful for "public" API operations. + * + * @param operation [String] the name of the operation to call on the service. + * @param params [map] a map of input options for the operation + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + */ + makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) { + if (typeof params === 'function') { + callback = params; + params = {}; + } + + var request = this.makeRequest(operation, params).toUnauthenticated(); + return callback ? request.send(callback) : request; + }, + + /** + * Waits for a given state + * + * @param state [String] the state on the service to wait for + * @param params [map] a map of parameters to pass with each request + * @option params $waiter [map] a map of configuration options for the waiter + * @option params $waiter.delay [Number] The number of seconds to wait between + * requests + * @option params $waiter.maxAttempts [Number] The maximum number of requests + * to send while waiting + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + */ + waitFor: function waitFor(state, params, callback) { + var waiter = new AWS.ResourceWaiter(this, state); + return waiter.wait(params, callback); + }, + + /** + * @api private + */ + addAllRequestListeners: function addAllRequestListeners(request) { + var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(), + AWS.EventListeners.CorePost]; + for (var i = 0; i < list.length; i++) { + if (list[i]) request.addListeners(list[i]); + } + + // disable parameter validation + if (!this.config.paramValidation) { + request.removeListener('validate', + AWS.EventListeners.Core.VALIDATE_PARAMETERS); + } + + if (this.config.logger) { // add logging events + request.addListeners(AWS.EventListeners.Logger); + } + + this.setupRequestListeners(request); + // call prototype's customRequestHandler + if (typeof this.constructor.prototype.customRequestHandler === 'function') { + this.constructor.prototype.customRequestHandler(request); + } + // call instance's customRequestHandler + if (Object.prototype.hasOwnProperty.call(this, 'customRequestHandler') && typeof this.customRequestHandler === 'function') { + this.customRequestHandler(request); + } + }, + + /** + * Event recording metrics for a whole API call. + * @returns {object} a subset of api call metrics + * @api private + */ + apiCallEvent: function apiCallEvent(request) { + var api = request.service.api.operations[request.operation]; + var monitoringEvent = { + Type: 'ApiCall', + Api: api ? api.name : request.operation, + Version: 1, + Service: request.service.api.serviceId || request.service.api.endpointPrefix, + Region: request.httpRequest.region, + MaxRetriesExceeded: 0, + UserAgent: request.httpRequest.getUserAgent(), + }; + var response = request.response; + if (response.httpResponse.statusCode) { + monitoringEvent.FinalHttpStatusCode = response.httpResponse.statusCode; + } + if (response.error) { + var error = response.error; + var statusCode = response.httpResponse.statusCode; + if (statusCode > 299) { + if (error.code) monitoringEvent.FinalAwsException = error.code; + if (error.message) monitoringEvent.FinalAwsExceptionMessage = error.message; + } else { + if (error.code || error.name) monitoringEvent.FinalSdkException = error.code || error.name; + if (error.message) monitoringEvent.FinalSdkExceptionMessage = error.message; + } + } + return monitoringEvent; + }, + + /** + * Event recording metrics for an API call attempt. + * @returns {object} a subset of api call attempt metrics + * @api private + */ + apiAttemptEvent: function apiAttemptEvent(request) { + var api = request.service.api.operations[request.operation]; + var monitoringEvent = { + Type: 'ApiCallAttempt', + Api: api ? api.name : request.operation, + Version: 1, + Service: request.service.api.serviceId || request.service.api.endpointPrefix, + Fqdn: request.httpRequest.endpoint.hostname, + UserAgent: request.httpRequest.getUserAgent(), + }; + var response = request.response; + if (response.httpResponse.statusCode) { + monitoringEvent.HttpStatusCode = response.httpResponse.statusCode; + } + if ( + !request._unAuthenticated && + request.service.config.credentials && + request.service.config.credentials.accessKeyId + ) { + monitoringEvent.AccessKey = request.service.config.credentials.accessKeyId; + } + if (!response.httpResponse.headers) return monitoringEvent; + if (request.httpRequest.headers['x-amz-security-token']) { + monitoringEvent.SessionToken = request.httpRequest.headers['x-amz-security-token']; + } + if (response.httpResponse.headers['x-amzn-requestid']) { + monitoringEvent.XAmznRequestId = response.httpResponse.headers['x-amzn-requestid']; + } + if (response.httpResponse.headers['x-amz-request-id']) { + monitoringEvent.XAmzRequestId = response.httpResponse.headers['x-amz-request-id']; + } + if (response.httpResponse.headers['x-amz-id-2']) { + monitoringEvent.XAmzId2 = response.httpResponse.headers['x-amz-id-2']; + } + return monitoringEvent; + }, + + /** + * Add metrics of failed request. + * @api private + */ + attemptFailEvent: function attemptFailEvent(request) { + var monitoringEvent = this.apiAttemptEvent(request); + var response = request.response; + var error = response.error; + if (response.httpResponse.statusCode > 299 ) { + if (error.code) monitoringEvent.AwsException = error.code; + if (error.message) monitoringEvent.AwsExceptionMessage = error.message; + } else { + if (error.code || error.name) monitoringEvent.SdkException = error.code || error.name; + if (error.message) monitoringEvent.SdkExceptionMessage = error.message; + } + return monitoringEvent; + }, + + /** + * Attach listeners to request object to fetch metrics of each request + * and emit data object through \'ApiCall\' and \'ApiCallAttempt\' events. + * @api private + */ + attachMonitoringEmitter: function attachMonitoringEmitter(request) { + var attemptTimestamp; //timestamp marking the beginning of a request attempt + var attemptStartRealTime; //Start time of request attempt. Used to calculating attemptLatency + var attemptLatency; //latency from request sent out to http response reaching SDK + var callStartRealTime; //Start time of API call. Used to calculating API call latency + var attemptCount = 0; //request.retryCount is not reliable here + var region; //region cache region for each attempt since it can be updated in plase (e.g. s3) + var callTimestamp; //timestamp when the request is created + var self = this; + var addToHead = true; + + request.on('validate', function () { + callStartRealTime = AWS.util.realClock.now(); + callTimestamp = Date.now(); + }, addToHead); + request.on('sign', function () { + attemptStartRealTime = AWS.util.realClock.now(); + attemptTimestamp = Date.now(); + region = request.httpRequest.region; + attemptCount++; + }, addToHead); + request.on('validateResponse', function() { + attemptLatency = Math.round(AWS.util.realClock.now() - attemptStartRealTime); + }); + request.addNamedListener('API_CALL_ATTEMPT', 'success', function API_CALL_ATTEMPT() { + var apiAttemptEvent = self.apiAttemptEvent(request); + apiAttemptEvent.Timestamp = attemptTimestamp; + apiAttemptEvent.AttemptLatency = attemptLatency >= 0 ? attemptLatency : 0; + apiAttemptEvent.Region = region; + self.emit('apiCallAttempt', [apiAttemptEvent]); + }); + request.addNamedListener('API_CALL_ATTEMPT_RETRY', 'retry', function API_CALL_ATTEMPT_RETRY() { + var apiAttemptEvent = self.attemptFailEvent(request); + apiAttemptEvent.Timestamp = attemptTimestamp; + //attemptLatency may not be available if fail before response + attemptLatency = attemptLatency || + Math.round(AWS.util.realClock.now() - attemptStartRealTime); + apiAttemptEvent.AttemptLatency = attemptLatency >= 0 ? attemptLatency : 0; + apiAttemptEvent.Region = region; + self.emit('apiCallAttempt', [apiAttemptEvent]); + }); + request.addNamedListener('API_CALL', 'complete', function API_CALL() { + var apiCallEvent = self.apiCallEvent(request); + apiCallEvent.AttemptCount = attemptCount; + if (apiCallEvent.AttemptCount <= 0) return; + apiCallEvent.Timestamp = callTimestamp; + var latency = Math.round(AWS.util.realClock.now() - callStartRealTime); + apiCallEvent.Latency = latency >= 0 ? latency : 0; + var response = request.response; + if ( + response.error && + response.error.retryable && + typeof response.retryCount === 'number' && + typeof response.maxRetries === 'number' && + (response.retryCount >= response.maxRetries) + ) { + apiCallEvent.MaxRetriesExceeded = 1; + } + self.emit('apiCall', [apiCallEvent]); + }); + }, + + /** + * Override this method to setup any custom request listeners for each + * new request to the service. + * + * @method_abstract This is an abstract method. + */ + setupRequestListeners: function setupRequestListeners(request) { + }, + + /** + * Gets the signing name for a given request + * @api private + */ + getSigningName: function getSigningName() { + return this.api.signingName || this.api.endpointPrefix; + }, + + /** + * Gets the signer class for a given request + * @api private + */ + getSignerClass: function getSignerClass(request) { + var version; + // get operation authtype if present + var operation = null; + var authtype = ''; + if (request) { + var operations = request.service.api.operations || {}; + operation = operations[request.operation] || null; + authtype = operation ? operation.authtype : ''; + } + if (this.config.signatureVersion) { + version = this.config.signatureVersion; + } else if (authtype === 'v4' || authtype === 'v4-unsigned-body') { + version = 'v4'; + } else { + version = this.api.signatureVersion; + } + return AWS.Signers.RequestSigner.getVersion(version); + }, + + /** + * @api private + */ + serviceInterface: function serviceInterface() { + switch (this.api.protocol) { + case 'ec2': return AWS.EventListeners.Query; + case 'query': return AWS.EventListeners.Query; + case 'json': return AWS.EventListeners.Json; + case 'rest-json': return AWS.EventListeners.RestJson; + case 'rest-xml': return AWS.EventListeners.RestXml; + } + if (this.api.protocol) { + throw new Error('Invalid service `protocol\' ' + + this.api.protocol + ' in API config'); + } + }, + + /** + * @api private + */ + successfulResponse: function successfulResponse(resp) { + return resp.httpResponse.statusCode < 300; + }, + + /** + * How many times a failed request should be retried before giving up. + * the defaultRetryCount can be overriden by service classes. + * + * @api private + */ + numRetries: function numRetries() { + if (this.config.maxRetries !== undefined) { + return this.config.maxRetries; + } else { + return this.defaultRetryCount; + } + }, + + /** + * @api private + */ + retryDelays: function retryDelays(retryCount, err) { + return AWS.util.calculateRetryDelay(retryCount, this.config.retryDelayOptions, err); + }, + + /** + * @api private + */ + retryableError: function retryableError(error) { + if (this.timeoutError(error)) return true; + if (this.networkingError(error)) return true; + if (this.expiredCredentialsError(error)) return true; + if (this.throttledError(error)) return true; + if (error.statusCode >= 500) return true; + return false; + }, + + /** + * @api private + */ + networkingError: function networkingError(error) { + return error.code === 'NetworkingError'; + }, + + /** + * @api private + */ + timeoutError: function timeoutError(error) { + return error.code === 'TimeoutError'; + }, + + /** + * @api private + */ + expiredCredentialsError: function expiredCredentialsError(error) { + // TODO : this only handles *one* of the expired credential codes + return (error.code === 'ExpiredTokenException'); + }, + + /** + * @api private + */ + clockSkewError: function clockSkewError(error) { + switch (error.code) { + case 'RequestTimeTooSkewed': + case 'RequestExpired': + case 'InvalidSignatureException': + case 'SignatureDoesNotMatch': + case 'AuthFailure': + case 'RequestInTheFuture': + return true; + default: return false; + } + }, + + /** + * @api private + */ + getSkewCorrectedDate: function getSkewCorrectedDate() { + return new Date(Date.now() + this.config.systemClockOffset); + }, + + /** + * @api private + */ + applyClockOffset: function applyClockOffset(newServerTime) { + if (newServerTime) { + this.config.systemClockOffset = newServerTime - Date.now(); + } + }, + + /** + * @api private + */ + isClockSkewed: function isClockSkewed(newServerTime) { + if (newServerTime) { + return Math.abs(this.getSkewCorrectedDate().getTime() - newServerTime) >= 300000; + } + }, + + /** + * @api private + */ + throttledError: function throttledError(error) { + // this logic varies between services + if (error.statusCode === 429) return true; + switch (error.code) { + case 'ProvisionedThroughputExceededException': + case 'Throttling': + case 'ThrottlingException': + case 'RequestLimitExceeded': + case 'RequestThrottled': + case 'RequestThrottledException': + case 'TooManyRequestsException': + case 'TransactionInProgressException': //dynamodb + case 'EC2ThrottledException': + return true; + default: + return false; + } + }, + + /** + * @api private + */ + endpointFromTemplate: function endpointFromTemplate(endpoint) { + if (typeof endpoint !== 'string') return endpoint; + + var e = endpoint; + e = e.replace(/\{service\}/g, this.api.endpointPrefix); + e = e.replace(/\{region\}/g, this.config.region); + e = e.replace(/\{scheme\}/g, this.config.sslEnabled ? 'https' : 'http'); + return e; + }, + + /** + * @api private + */ + setEndpoint: function setEndpoint(endpoint) { + this.endpoint = new AWS.Endpoint(endpoint, this.config); + }, + + /** + * @api private + */ + paginationConfig: function paginationConfig(operation, throwException) { + var paginator = this.api.operations[operation].paginator; + if (!paginator) { + if (throwException) { + var e = new Error(); + throw AWS.util.error(e, 'No pagination configuration for ' + operation); + } + return null; + } + + return paginator; + } +}); + +AWS.util.update(AWS.Service, { + + /** + * Adds one method for each operation described in the api configuration + * + * @api private + */ + defineMethods: function defineMethods(svc) { + AWS.util.each(svc.prototype.api.operations, function iterator(method) { + if (svc.prototype[method]) return; + var operation = svc.prototype.api.operations[method]; + if (operation.authtype === 'none') { + svc.prototype[method] = function (params, callback) { + return this.makeUnauthenticatedRequest(method, params, callback); }; + } else { + svc.prototype[method] = function (params, callback) { + return this.makeRequest(method, params, callback); + }; + } + }); + }, + + /** + * Defines a new Service class using a service identifier and list of versions + * including an optional set of features (functions) to apply to the class + * prototype. + * + * @param serviceIdentifier [String] the identifier for the service + * @param versions [Array] a list of versions that work with this + * service + * @param features [Object] an object to attach to the prototype + * @return [Class] the service class defined by this function. + */ + defineService: function defineService(serviceIdentifier, versions, features) { + AWS.Service._serviceMap[serviceIdentifier] = true; + if (!Array.isArray(versions)) { + features = versions; + versions = []; + } + + var svc = inherit(AWS.Service, features || {}); + + if (typeof serviceIdentifier === 'string') { + AWS.Service.addVersions(svc, versions); + + var identifier = svc.serviceIdentifier || serviceIdentifier; + svc.serviceIdentifier = identifier; + } else { // defineService called with an API + svc.prototype.api = serviceIdentifier; + AWS.Service.defineMethods(svc); + } + AWS.SequentialExecutor.call(this.prototype); + //util.clientSideMonitoring is only available in node + if (!this.prototype.publisher && AWS.util.clientSideMonitoring) { + var Publisher = AWS.util.clientSideMonitoring.Publisher; + var configProvider = AWS.util.clientSideMonitoring.configProvider; + var publisherConfig = configProvider(); + this.prototype.publisher = new Publisher(publisherConfig); + if (publisherConfig.enabled) { + //if csm is enabled in environment, SDK should send all metrics + AWS.Service._clientSideMonitoring = true; + } + } + AWS.SequentialExecutor.call(svc.prototype); + AWS.Service.addDefaultMonitoringListeners(svc.prototype); + return svc; + }, + + /** + * @api private + */ + addVersions: function addVersions(svc, versions) { + if (!Array.isArray(versions)) versions = [versions]; + + svc.services = svc.services || {}; + for (var i = 0; i < versions.length; i++) { + if (svc.services[versions[i]] === undefined) { + svc.services[versions[i]] = null; + } + } + + svc.apiVersions = Object.keys(svc.services).sort(); + }, + + /** + * @api private + */ + defineServiceApi: function defineServiceApi(superclass, version, apiConfig) { + var svc = inherit(superclass, { + serviceIdentifier: superclass.serviceIdentifier + }); + + function setApi(api) { + if (api.isApi) { + svc.prototype.api = api; + } else { + svc.prototype.api = new Api(api, { + serviceIdentifier: superclass.serviceIdentifier + }); } + } - function which(cmd, opt, cb) { - if (typeof opt === "function") { - cb = opt; - opt = {}; + if (typeof version === 'string') { + if (apiConfig) { + setApi(apiConfig); + } else { + try { + setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); + } catch (err) { + throw AWS.util.error(err, { + message: 'Could not find API configuration ' + + superclass.serviceIdentifier + '-' + version + }); } + } + if (!Object.prototype.hasOwnProperty.call(superclass.services, version)) { + superclass.apiVersions = superclass.apiVersions.concat(version).sort(); + } + superclass.services[version] = svc; + } else { + setApi(version); + } + + AWS.Service.defineMethods(svc); + return svc; + }, + + /** + * @api private + */ + hasService: function(identifier) { + return Object.prototype.hasOwnProperty.call(AWS.Service._serviceMap, identifier); + }, + + /** + * @param attachOn attach default monitoring listeners to object + * + * Each monitoring event should be emitted from service client to service constructor prototype and then + * to global service prototype like bubbling up. These default monitoring events listener will transfer + * the monitoring events to the upper layer. + * @api private + */ + addDefaultMonitoringListeners: function addDefaultMonitoringListeners(attachOn) { + attachOn.addNamedListener('MONITOR_EVENTS_BUBBLE', 'apiCallAttempt', function EVENTS_BUBBLE(event) { + var baseClass = Object.getPrototypeOf(attachOn); + if (baseClass._events) baseClass.emit('apiCallAttempt', [event]); + }); + attachOn.addNamedListener('CALL_EVENTS_BUBBLE', 'apiCall', function CALL_EVENTS_BUBBLE(event) { + var baseClass = Object.getPrototypeOf(attachOn); + if (baseClass._events) baseClass.emit('apiCall', [event]); + }); + }, + + /** + * @api private + */ + _serviceMap: {} +}); + +AWS.util.mixin(AWS.Service, AWS.SequentialExecutor); + +/** + * @api private + */ +module.exports = AWS.Service; + + +/***/ }), + +/***/ 3506: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['kinesisanalytics'] = {}; +AWS.KinesisAnalytics = Service.defineService('kinesisanalytics', ['2015-08-14']); +Object.defineProperty(apiLoader.services['kinesisanalytics'], '2015-08-14', { + get: function get() { + var model = __webpack_require__(5616); + model.paginators = __webpack_require__(5873).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.KinesisAnalytics; + + +/***/ }), + +/***/ 3520: +/***/ (function(module) { + +module.exports = {"pagination":{"ListMemberAccounts":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListS3Resources":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}}; + +/***/ }), + +/***/ 3523: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var register = __webpack_require__(363) +var addHook = __webpack_require__(2510) +var removeHook = __webpack_require__(5866) + +// bind with array of arguments: https://stackoverflow.com/a/21792913 +var bind = Function.bind +var bindable = bind.bind(bind) + +function bindApi (hook, state, name) { + var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state]) + hook.api = { remove: removeHookRef } + hook.remove = removeHookRef + + ;['before', 'error', 'after', 'wrap'].forEach(function (kind) { + var args = name ? [state, kind, name] : [state, kind] + hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args) + }) +} + +function HookSingular () { + var singularHookName = 'h' + var singularHookState = { + registry: {} + } + var singularHook = register.bind(null, singularHookState, singularHookName) + bindApi(singularHook, singularHookState, singularHookName) + return singularHook +} + +function HookCollection () { + var state = { + registry: {} + } - var info = getPathInfo(cmd, opt); - var pathEnv = info.env; - var pathExt = info.ext; - var pathExtExe = info.extExe; - var found = []; + var hook = register.bind(null, state) + bindApi(hook, state) - (function F(i, l) { - if (i === l) { - if (opt.all && found.length) return cb(null, found); - else return cb(getNotFoundError(cmd)); - } + return hook +} - var pathPart = pathEnv[i]; - if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') - pathPart = pathPart.slice(1, -1); +var collectionHookDeprecationMessageDisplayed = false +function Hook () { + if (!collectionHookDeprecationMessageDisplayed) { + console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4') + collectionHookDeprecationMessageDisplayed = true + } + return HookCollection() +} + +Hook.Singular = HookSingular.bind() +Hook.Collection = HookCollection.bind() + +module.exports = Hook +// expose constructors as a named property for TypeScript +module.exports.Hook = Hook +module.exports.Singular = Hook.Singular +module.exports.Collection = Hook.Collection + + +/***/ }), + +/***/ 3530: +/***/ (function(module) { + +module.exports = {"version":2,"waiters":{"SuccessfulSigningJob":{"delay":20,"operation":"DescribeSigningJob","maxAttempts":25,"acceptors":[{"expected":"Succeeded","matcher":"path","state":"success","argument":"status"},{"expected":"Failed","matcher":"path","state":"failure","argument":"status"},{"expected":"ResourceNotFoundException","matcher":"error","state":"failure"}]}}}; + +/***/ }), + +/***/ 3536: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['lookoutvision'] = {}; +AWS.LookoutVision = Service.defineService('lookoutvision', ['2020-11-20']); +Object.defineProperty(apiLoader.services['lookoutvision'], '2020-11-20', { + get: function get() { + var model = __webpack_require__(4259); + model.paginators = __webpack_require__(9730).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.LookoutVision; + + +/***/ }), + +/***/ 3546: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var util = __webpack_require__(153); +var regionConfig = __webpack_require__(2572); + +function generateRegionPrefix(region) { + if (!region) return null; + + var parts = region.split('-'); + if (parts.length < 3) return null; + return parts.slice(0, parts.length - 2).join('-') + '-*'; +} + +function derivedKeys(service) { + var region = service.config.region; + var regionPrefix = generateRegionPrefix(region); + var endpointPrefix = service.api.endpointPrefix; + + return [ + [region, endpointPrefix], + [regionPrefix, endpointPrefix], + [region, '*'], + [regionPrefix, '*'], + ['*', endpointPrefix], + ['*', '*'] + ].map(function(item) { + return item[0] && item[1] ? item.join('/') : null; + }); +} + +function applyConfig(service, config) { + util.each(config, function(key, value) { + if (key === 'globalEndpoint') return; + if (service.config[key] === undefined || service.config[key] === null) { + service.config[key] = value; + } + }); +} + +function configureEndpoint(service) { + var keys = derivedKeys(service); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!key) continue; + + if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) { + var config = regionConfig.rules[key]; + if (typeof config === 'string') { + config = regionConfig.patterns[config]; + } + + // set dualstack endpoint + if (service.config.useDualstack && util.isDualstackAvailable(service)) { + config = util.copy(config); + config.endpoint = config.endpoint.replace( + /{service}\.({region}\.)?/, + '{service}.dualstack.{region}.' + ); + } - var p = path.join(pathPart, cmd); - if (!pathPart && /^\.[\\\/]/.test(cmd)) { - p = cmd.slice(0, 2) + p; - } - (function E(ii, ll) { - if (ii === ll) return F(i + 1, l); - var ext = pathExt[ii]; - isexe(p + ext, { pathExt: pathExtExe }, function (er, is) { - if (!er && is) { - if (opt.all) found.push(p + ext); - else return cb(null, p + ext); - } - return E(ii + 1, ll); - }); - })(0, pathExt.length); - })(0, pathEnv.length); + // set global endpoint + service.isGlobalEndpoint = !!config.globalEndpoint; + if (config.signingRegion) { + service.signingRegion = config.signingRegion; } - function whichSync(cmd, opt) { - opt = opt || {}; + // signature version + if (!config.signatureVersion) config.signatureVersion = 'v4'; - var info = getPathInfo(cmd, opt); - var pathEnv = info.env; - var pathExt = info.ext; - var pathExtExe = info.extExe; - var found = []; + // merge config + applyConfig(service, config); + return; + } + } +} + +function getEndpointSuffix(region) { + var regionRegexes = { + '^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$': 'amazonaws.com', + '^cn\\-\\w+\\-\\d+$': 'amazonaws.com.cn', + '^us\\-gov\\-\\w+\\-\\d+$': 'amazonaws.com', + '^us\\-iso\\-\\w+\\-\\d+$': 'c2s.ic.gov', + '^us\\-isob\\-\\w+\\-\\d+$': 'sc2s.sgov.gov' + }; + var defaultSuffix = 'amazonaws.com'; + var regexes = Object.keys(regionRegexes); + for (var i = 0; i < regexes.length; i++) { + var regionPattern = RegExp(regexes[i]); + var dnsSuffix = regionRegexes[regexes[i]]; + if (regionPattern.test(region)) return dnsSuffix; + } + return defaultSuffix; +} - for (var i = 0, l = pathEnv.length; i < l; i++) { - var pathPart = pathEnv[i]; - if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') - pathPart = pathPart.slice(1, -1); +/** + * @api private + */ +module.exports = { + configureEndpoint: configureEndpoint, + getEndpointSuffix: getEndpointSuffix +}; - var p = path.join(pathPart, cmd); - if (!pathPart && /^\.[\\\/]/.test(cmd)) { - p = cmd.slice(0, 2) + p; - } - for (var j = 0, ll = pathExt.length; j < ll; j++) { - var cur = p + pathExt[j]; - var is; - try { - is = isexe.sync(cur, { pathExt: pathExtExe }); - if (is) { - if (opt.all) found.push(cur); - else return cur; - } - } catch (ex) {} - } - } - if (opt.all && found.length) return found; +/***/ }), - if (opt.nothrow) return null; +/***/ 3558: +/***/ (function(module, __unusedexports, __webpack_require__) { - throw getNotFoundError(cmd); - } +module.exports = hasPreviousPage - /***/ - }, +const deprecate = __webpack_require__(6370) +const getPageLinks = __webpack_require__(4577) - /***/ 3815: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(395).util; - var typeOf = __webpack_require__(8194).typeOf; - - /** - * @api private - */ - var memberTypeToSetType = { - String: "String", - Number: "Number", - NumberValue: "Number", - Binary: "Binary", - }; +function hasPreviousPage (link) { + deprecate(`octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) + return getPageLinks(link).prev +} - /** - * @api private - */ - var DynamoDBSet = util.inherit({ - constructor: function Set(list, options) { - options = options || {}; - this.wrapperName = "Set"; - this.initialize(list, options.validate); - }, - - initialize: function (list, validate) { - var self = this; - self.values = [].concat(list); - self.detectType(); - if (validate) { - self.validate(); - } - }, - detectType: function () { - this.type = memberTypeToSetType[typeOf(this.values[0])]; - if (!this.type) { - throw util.error(new Error(), { - code: "InvalidSetType", - message: "Sets can contain string, number, or binary values", - }); - } - }, +/***/ }), - validate: function () { - var self = this; - var length = self.values.length; - var values = self.values; - for (var i = 0; i < length; i++) { - if (memberTypeToSetType[typeOf(values[i])] !== self.type) { - throw util.error(new Error(), { - code: "InvalidType", - message: - self.type + " Set contains " + typeOf(values[i]) + " value", - }); - } - } - }, +/***/ 3562: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - /** - * Render the underlying values only when converting to JSON. - */ - toJSON: function () { - var self = this; - return self.values; - }, - }); +"use strict"; - /** - * @api private - */ - module.exports = DynamoDBSet; - /***/ - }, +Object.defineProperty(exports, '__esModule', { value: true }); - /***/ 3824: /***/ function (module) { - module.exports = { - pagination: { - ListMedicalTranscriptionJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListTranscriptionJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListVocabularies: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListVocabularyFilters: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - /***/ - }, +var osName = _interopDefault(__webpack_require__(8002)); - /***/ 3853: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +function getUserAgent() { + try { + return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`; + } catch (error) { + if (/wmic os get Caption/.test(error.message)) { + return "Windows "; + } - apiLoader.services["codestarnotifications"] = {}; - AWS.CodeStarNotifications = Service.defineService( - "codestarnotifications", - ["2019-10-15"] - ); - Object.defineProperty( - apiLoader.services["codestarnotifications"], - "2019-10-15", - { - get: function get() { - var model = __webpack_require__(7913); - model.paginators = __webpack_require__(4409).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); + return ""; + } +} + +exports.getUserAgent = getUserAgent; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 3576: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['databrew'] = {}; +AWS.DataBrew = Service.defineService('databrew', ['2017-07-25']); +Object.defineProperty(apiLoader.services['databrew'], '2017-07-25', { + get: function get() { + var model = __webpack_require__(6524); + model.paginators = __webpack_require__(2848).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.DataBrew; + + +/***/ }), + +/***/ 3602: +/***/ (function(module) { + +// Generated by CoffeeScript 1.12.7 +(function() { + var XMLStringifier, + bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, + hasProp = {}.hasOwnProperty; + + module.exports = XMLStringifier = (function() { + function XMLStringifier(options) { + this.assertLegalChar = bind(this.assertLegalChar, this); + var key, ref, value; + options || (options = {}); + this.noDoubleEncoding = options.noDoubleEncoding; + ref = options.stringify || {}; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; + this[key] = value; + } + } + + XMLStringifier.prototype.eleName = function(val) { + val = '' + val || ''; + return this.assertLegalChar(val); + }; + + XMLStringifier.prototype.eleText = function(val) { + val = '' + val || ''; + return this.assertLegalChar(this.elEscape(val)); + }; + + XMLStringifier.prototype.cdata = function(val) { + val = '' + val || ''; + val = val.replace(']]>', ']]]]>'); + return this.assertLegalChar(val); + }; + + XMLStringifier.prototype.comment = function(val) { + val = '' + val || ''; + if (val.match(/--/)) { + throw new Error("Comment text cannot contain double-hypen: " + val); + } + return this.assertLegalChar(val); + }; + + XMLStringifier.prototype.raw = function(val) { + return '' + val || ''; + }; + + XMLStringifier.prototype.attName = function(val) { + return val = '' + val || ''; + }; + + XMLStringifier.prototype.attValue = function(val) { + val = '' + val || ''; + return this.attEscape(val); + }; + + XMLStringifier.prototype.insTarget = function(val) { + return '' + val || ''; + }; + + XMLStringifier.prototype.insValue = function(val) { + val = '' + val || ''; + if (val.match(/\?>/)) { + throw new Error("Invalid processing instruction value: " + val); + } + return val; + }; + + XMLStringifier.prototype.xmlVersion = function(val) { + val = '' + val || ''; + if (!val.match(/1\.[0-9]+/)) { + throw new Error("Invalid version number: " + val); + } + return val; + }; + + XMLStringifier.prototype.xmlEncoding = function(val) { + val = '' + val || ''; + if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) { + throw new Error("Invalid encoding: " + val); + } + return val; + }; + + XMLStringifier.prototype.xmlStandalone = function(val) { + if (val) { + return "yes"; + } else { + return "no"; + } + }; - module.exports = AWS.CodeStarNotifications; + XMLStringifier.prototype.dtdPubID = function(val) { + return '' + val || ''; + }; - /***/ - }, + XMLStringifier.prototype.dtdSysID = function(val) { + return '' + val || ''; + }; - /***/ 3861: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var resolveRegionalEndpointsFlag = __webpack_require__(6232); - var ENV_REGIONAL_ENDPOINT_ENABLED = "AWS_STS_REGIONAL_ENDPOINTS"; - var CONFIG_REGIONAL_ENDPOINT_ENABLED = "sts_regional_endpoints"; - - AWS.util.update(AWS.STS.prototype, { - /** - * @overload credentialsFrom(data, credentials = null) - * Creates a credentials object from STS response data containing - * credentials information. Useful for quickly setting AWS credentials. - * - * @note This is a low-level utility function. If you want to load temporary - * credentials into your process for subsequent requests to AWS resources, - * you should use {AWS.TemporaryCredentials} instead. - * @param data [map] data retrieved from a call to {getFederatedToken}, - * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}. - * @param credentials [AWS.Credentials] an optional credentials object to - * fill instead of creating a new object. Useful when modifying an - * existing credentials object from a refresh call. - * @return [AWS.TemporaryCredentials] the set of temporary credentials - * loaded from a raw STS operation response. - * @example Using credentialsFrom to load global AWS credentials - * var sts = new AWS.STS(); - * sts.getSessionToken(function (err, data) { - * if (err) console.log("Error getting credentials"); - * else { - * AWS.config.credentials = sts.credentialsFrom(data); - * } - * }); - * @see AWS.TemporaryCredentials - */ - credentialsFrom: function credentialsFrom(data, credentials) { - if (!data) return null; - if (!credentials) credentials = new AWS.TemporaryCredentials(); - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretAccessKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - return credentials; - }, - - assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity( - params, - callback - ) { - return this.makeUnauthenticatedRequest( - "assumeRoleWithWebIdentity", - params, - callback - ); - }, + XMLStringifier.prototype.dtdElementValue = function(val) { + return '' + val || ''; + }; - assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { - return this.makeUnauthenticatedRequest( - "assumeRoleWithSAML", - params, - callback - ); - }, + XMLStringifier.prototype.dtdAttType = function(val) { + return '' + val || ''; + }; - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("validate", this.optInRegionalEndpoint, true); - }, + XMLStringifier.prototype.dtdAttDefault = function(val) { + if (val != null) { + return '' + val || ''; + } else { + return val; + } + }; - /** - * @api private - */ - optInRegionalEndpoint: function optInRegionalEndpoint(req) { - var service = req.service; - var config = service.config; - config.stsRegionalEndpoints = resolveRegionalEndpointsFlag( - service._originalConfig, - { - env: ENV_REGIONAL_ENDPOINT_ENABLED, - sharedConfig: CONFIG_REGIONAL_ENDPOINT_ENABLED, - clientConfig: "stsRegionalEndpoints", - } - ); - if ( - config.stsRegionalEndpoints === "regional" && - service.isGlobalEndpoint - ) { - //client will throw if region is not supplied; request will be signed with specified region - if (!config.region) { - throw AWS.util.error(new Error(), { - code: "ConfigError", - message: "Missing region in config", - }); - } - var insertPoint = config.endpoint.indexOf(".amazonaws.com"); - var regionalEndpoint = - config.endpoint.substring(0, insertPoint) + - "." + - config.region + - config.endpoint.substring(insertPoint); - req.httpRequest.updateEndpoint(regionalEndpoint); - req.httpRequest.region = config.region; - } - }, - }); + XMLStringifier.prototype.dtdEntityValue = function(val) { + return '' + val || ''; + }; - /***/ - }, + XMLStringifier.prototype.dtdNData = function(val) { + return '' + val || ''; + }; - /***/ 3862: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(395).util; - var Transform = __webpack_require__(2413).Transform; - var allocBuffer = util.buffer.alloc; + XMLStringifier.prototype.convertAttKey = '@'; - /** @type {Transform} */ - function EventMessageChunkerStream(options) { - Transform.call(this, options); + XMLStringifier.prototype.convertPIKey = '?'; - this.currentMessageTotalLength = 0; - this.currentMessagePendingLength = 0; - /** @type {Buffer} */ - this.currentMessage = null; + XMLStringifier.prototype.convertTextKey = '#text'; - /** @type {Buffer} */ - this.messageLengthBuffer = null; - } + XMLStringifier.prototype.convertCDataKey = '#cdata'; - EventMessageChunkerStream.prototype = Object.create(Transform.prototype); - - /** - * - * @param {Buffer} chunk - * @param {string} encoding - * @param {*} callback - */ - EventMessageChunkerStream.prototype._transform = function ( - chunk, - encoding, - callback - ) { - var chunkLength = chunk.length; - var currentOffset = 0; + XMLStringifier.prototype.convertCommentKey = '#comment'; - while (currentOffset < chunkLength) { - // create new message if necessary - if (!this.currentMessage) { - // working on a new message, determine total length - var bytesRemaining = chunkLength - currentOffset; - // prevent edge case where total length spans 2 chunks - if (!this.messageLengthBuffer) { - this.messageLengthBuffer = allocBuffer(4); - } - var numBytesForTotal = Math.min( - 4 - this.currentMessagePendingLength, // remaining bytes to fill the messageLengthBuffer - bytesRemaining // bytes left in chunk - ); + XMLStringifier.prototype.convertRawKey = '#raw'; - chunk.copy( - this.messageLengthBuffer, - this.currentMessagePendingLength, - currentOffset, - currentOffset + numBytesForTotal - ); + XMLStringifier.prototype.assertLegalChar = function(str) { + var res; + res = str.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/); + if (res) { + throw new Error("Invalid character in string: " + str + " at index " + res.index); + } + return str; + }; - this.currentMessagePendingLength += numBytesForTotal; - currentOffset += numBytesForTotal; + XMLStringifier.prototype.elEscape = function(str) { + var ampregex; + ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; + return str.replace(ampregex, '&').replace(//g, '>').replace(/\r/g, ' '); + }; - if (this.currentMessagePendingLength < 4) { - // not enough information to create the current message - break; - } - this.allocateMessage(this.messageLengthBuffer.readUInt32BE(0)); - this.messageLengthBuffer = null; - } + XMLStringifier.prototype.attEscape = function(str) { + var ampregex; + ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; + return str.replace(ampregex, '&').replace(/ 1) { - var msg = this.errors.join("\n* "); - msg = - "There were " + - this.errors.length + - " validation errors:\n* " + - msg; - throw AWS.util.error(new Error(msg), { - code: "MultipleValidationErrors", - errors: this.errors, - }); - } else if (this.errors.length === 1) { - throw this.errors[0]; - } else { - return true; - } - }, +/***/ 3649: +/***/ (function(module, __unusedexports, __webpack_require__) { - fail: function fail(code, message) { - this.errors.push(AWS.util.error(new Error(message), { code: code })); - }, +module.exports = getLastPage - validateStructure: function validateStructure(shape, params, context) { - this.validateType(params, context, ["object"], "structure"); +const getPage = __webpack_require__(3265) - var paramName; - for (var i = 0; shape.required && i < shape.required.length; i++) { - paramName = shape.required[i]; - var value = params[paramName]; - if (value === undefined || value === null) { - this.fail( - "MissingRequiredParameter", - "Missing required key '" + paramName + "' in " + context - ); - } - } +function getLastPage (octokit, link, headers) { + return getPage(octokit, link, 'last', headers) +} - // validate hash members - for (paramName in params) { - if (!Object.prototype.hasOwnProperty.call(params, paramName)) - continue; - var paramValue = params[paramName], - memberShape = shape.members[paramName]; +/***/ }), - if (memberShape !== undefined) { - var memberContext = [context, paramName].join("."); - this.validateMember(memberShape, paramValue, memberContext); - } else { - this.fail( - "UnexpectedParameter", - "Unexpected key '" + paramName + "' found in " + context - ); - } - } +/***/ 3658: +/***/ (function(module) { - return true; - }, +module.exports = {"pagination":{}}; - validateMember: function validateMember(shape, param, context) { - switch (shape.type) { - case "structure": - return this.validateStructure(shape, param, context); - case "list": - return this.validateList(shape, param, context); - case "map": - return this.validateMap(shape, param, context); - default: - return this.validateScalar(shape, param, context); - } - }, +/***/ }), - validateList: function validateList(shape, params, context) { - if (this.validateType(params, context, [Array])) { - this.validateRange( - shape, - params.length, - context, - "list member count" - ); - // validate array members - for (var i = 0; i < params.length; i++) { - this.validateMember( - shape.member, - params[i], - context + "[" + i + "]" - ); - } - } - }, +/***/ 3660: +/***/ (function(module) { - validateMap: function validateMap(shape, params, context) { - if (this.validateType(params, context, ["object"], "map")) { - // Build up a count of map members to validate range traits. - var mapCount = 0; - for (var param in params) { - if (!Object.prototype.hasOwnProperty.call(params, param)) - continue; - // Validate any map key trait constraints - this.validateMember( - shape.key, - param, - context + "[key='" + param + "']" - ); - this.validateMember( - shape.value, - params[param], - context + "['" + param + "']" - ); - mapCount++; - } - this.validateRange(shape, mapCount, context, "map member count"); - } - }, +module.exports = {"pagination":{}}; - validateScalar: function validateScalar(shape, value, context) { - switch (shape.type) { - case null: - case undefined: - case "string": - return this.validateString(shape, value, context); - case "base64": - case "binary": - return this.validatePayload(value, context); - case "integer": - case "float": - return this.validateNumber(shape, value, context); - case "boolean": - return this.validateType(value, context, ["boolean"]); - case "timestamp": - return this.validateType( - value, - context, - [ - Date, - /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, - "number", - ], - "Date object, ISO-8601 string, or a UNIX timestamp" - ); - default: - return this.fail( - "UnkownType", - "Unhandled type " + shape.type + " for " + context - ); - } - }, +/***/ }), - validateString: function validateString(shape, value, context) { - var validTypes = ["string"]; - if (shape.isJsonValue) { - validTypes = validTypes.concat(["number", "object", "boolean"]); - } - if (value !== null && this.validateType(value, context, validTypes)) { - this.validateEnum(shape, value, context); - this.validateRange(shape, value.length, context, "string length"); - this.validatePattern(shape, value, context); - this.validateUri(shape, value, context); - } - }, +/***/ 3681: +/***/ (function(module) { - validateUri: function validateUri(shape, value, context) { - if (shape["location"] === "uri") { - if (value.length === 0) { - this.fail( - "UriParameterError", - "Expected uri parameter to have length >= 1," + - ' but found "' + - value + - '" for ' + - context - ); - } - } - }, +module.exports = {"pagination":{"ListJournalKinesisStreamsForLedger":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListJournalS3Exports":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListJournalS3ExportsForLedger":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListLedgers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - validatePattern: function validatePattern(shape, value, context) { - if (this.validation["pattern"] && shape["pattern"] !== undefined) { - if (!new RegExp(shape["pattern"]).test(value)) { - this.fail( - "PatternMatchError", - 'Provided value "' + - value + - '" ' + - "does not match regex pattern /" + - shape["pattern"] + - "/ for " + - context - ); - } - } - }, +/***/ }), - validateRange: function validateRange( - shape, - value, - context, - descriptor - ) { - if (this.validation["min"]) { - if (shape["min"] !== undefined && value < shape["min"]) { - this.fail( - "MinRangeError", - "Expected " + - descriptor + - " >= " + - shape["min"] + - ", but found " + - value + - " for " + - context - ); - } - } - if (this.validation["max"]) { - if (shape["max"] !== undefined && value > shape["max"]) { - this.fail( - "MaxRangeError", - "Expected " + - descriptor + - " <= " + - shape["max"] + - ", but found " + - value + - " for " + - context - ); - } - } - }, +/***/ 3682: +/***/ (function(module, __unusedexports, __webpack_require__) { - validateEnum: function validateRange(shape, value, context) { - if (this.validation["enum"] && shape["enum"] !== undefined) { - // Fail if the string value is not present in the enum list - if (shape["enum"].indexOf(value) === -1) { - this.fail( - "EnumError", - "Found string value of " + - value + - ", but " + - "expected " + - shape["enum"].join("|") + - " for " + - context - ); - } - } - }, +var Collection = __webpack_require__(1583); - validateType: function validateType( - value, - context, - acceptedTypes, - type - ) { - // We will not log an error for null or undefined, but we will return - // false so that callers know that the expected type was not strictly met. - if (value === null || value === undefined) return false; - - var foundInvalidType = false; - for (var i = 0; i < acceptedTypes.length; i++) { - if (typeof acceptedTypes[i] === "string") { - if (typeof value === acceptedTypes[i]) return true; - } else if (acceptedTypes[i] instanceof RegExp) { - if ((value || "").toString().match(acceptedTypes[i])) return true; - } else { - if (value instanceof acceptedTypes[i]) return true; - if (AWS.util.isType(value, acceptedTypes[i])) return true; - if (!type && !foundInvalidType) - acceptedTypes = acceptedTypes.slice(); - acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); - } - foundInvalidType = true; - } +var util = __webpack_require__(153); - var acceptedType = type; - if (!acceptedType) { - acceptedType = acceptedTypes - .join(", ") - .replace(/,([^,]+)$/, ", or$1"); - } +function property(obj, name, value) { + if (value !== null && value !== undefined) { + util.property.apply(this, arguments); + } +} - var vowel = acceptedType.match(/^[aeiou]/i) ? "n" : ""; - this.fail( - "InvalidParameterType", - "Expected " + context + " to be a" + vowel + " " + acceptedType - ); - return false; - }, +function memoizedProperty(obj, name) { + if (!obj.constructor.prototype[name]) { + util.memoizedProperty.apply(this, arguments); + } +} + +function Shape(shape, options, memberName) { + options = options || {}; + + property(this, 'shape', shape.shape); + property(this, 'api', options.api, false); + property(this, 'type', shape.type); + property(this, 'enum', shape.enum); + property(this, 'min', shape.min); + property(this, 'max', shape.max); + property(this, 'pattern', shape.pattern); + property(this, 'location', shape.location || this.location || 'body'); + property(this, 'name', this.name || shape.xmlName || shape.queryName || + shape.locationName || memberName); + property(this, 'isStreaming', shape.streaming || this.isStreaming || false); + property(this, 'requiresLength', shape.requiresLength, false); + property(this, 'isComposite', shape.isComposite || false); + property(this, 'isShape', true, false); + property(this, 'isQueryName', Boolean(shape.queryName), false); + property(this, 'isLocationName', Boolean(shape.locationName), false); + property(this, 'isIdempotent', shape.idempotencyToken === true); + property(this, 'isJsonValue', shape.jsonvalue === true); + property(this, 'isSensitive', shape.sensitive === true || shape.prototype && shape.prototype.sensitive === true); + property(this, 'isEventStream', Boolean(shape.eventstream), false); + property(this, 'isEvent', Boolean(shape.event), false); + property(this, 'isEventPayload', Boolean(shape.eventpayload), false); + property(this, 'isEventHeader', Boolean(shape.eventheader), false); + property(this, 'isTimestampFormatSet', Boolean(shape.timestampFormat) || shape.prototype && shape.prototype.isTimestampFormatSet === true, false); + property(this, 'endpointDiscoveryId', Boolean(shape.endpointdiscoveryid), false); + property(this, 'hostLabel', Boolean(shape.hostLabel), false); + + if (options.documentation) { + property(this, 'documentation', shape.documentation); + property(this, 'documentationUrl', shape.documentationUrl); + } - validateNumber: function validateNumber(shape, value, context) { - if (value === null || value === undefined) return; - if (typeof value === "string") { - var castedValue = parseFloat(value); - if (castedValue.toString() === value) value = castedValue; - } - if (this.validateType(value, context, ["number"])) { - this.validateRange(shape, value, context, "numeric value"); - } - }, + if (shape.xmlAttribute) { + property(this, 'isXmlAttribute', shape.xmlAttribute || false); + } - validatePayload: function validatePayload(value, context) { - if (value === null || value === undefined) return; - if (typeof value === "string") return; - if (value && typeof value.byteLength === "number") return; // typed arrays - if (AWS.util.isNode()) { - // special check for buffer/stream in Node.js - var Stream = AWS.util.stream.Stream; - if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) - return; - } else { - if (typeof Blob !== void 0 && value instanceof Blob) return; - } + // type conversion and parsing + property(this, 'defaultValue', null); + this.toWireFormat = function(value) { + if (value === null || value === undefined) return ''; + return value; + }; + this.toType = function(value) { return value; }; +} + +/** + * @api private + */ +Shape.normalizedTypes = { + character: 'string', + double: 'float', + long: 'integer', + short: 'integer', + biginteger: 'integer', + bigdecimal: 'float', + blob: 'binary' +}; + +/** + * @api private + */ +Shape.types = { + 'structure': StructureShape, + 'list': ListShape, + 'map': MapShape, + 'boolean': BooleanShape, + 'timestamp': TimestampShape, + 'float': FloatShape, + 'integer': IntegerShape, + 'string': StringShape, + 'base64': Base64Shape, + 'binary': BinaryShape +}; + +Shape.resolve = function resolve(shape, options) { + if (shape.shape) { + var refShape = options.api.shapes[shape.shape]; + if (!refShape) { + throw new Error('Cannot find shape reference: ' + shape.shape); + } + + return refShape; + } else { + return null; + } +}; - var types = [ - "Buffer", - "Stream", - "File", - "Blob", - "ArrayBuffer", - "DataView", - ]; - if (value) { - for (var i = 0; i < types.length; i++) { - if (AWS.util.isType(value, types[i])) return; - if (AWS.util.typeName(value.constructor) === types[i]) return; - } - } +Shape.create = function create(shape, options, memberName) { + if (shape.isShape) return shape; - this.fail( - "InvalidParameterType", - "Expected " + - context + - " to be a " + - "string, Buffer, Stream, Blob, or typed array object" - ); - }, + var refShape = Shape.resolve(shape, options); + if (refShape) { + var filteredKeys = Object.keys(shape); + if (!options.documentation) { + filteredKeys = filteredKeys.filter(function(name) { + return !name.match(/documentation/); }); + } + + // create an inline shape with extra members + var InlineShape = function() { + refShape.constructor.call(this, shape, options, memberName); + }; + InlineShape.prototype = refShape; + return new InlineShape(); + } else { + // set type if not set + if (!shape.type) { + if (shape.members) shape.type = 'structure'; + else if (shape.member) shape.type = 'list'; + else if (shape.key) shape.type = 'map'; + else shape.type = 'string'; + } + + // normalize types + var origType = shape.type; + if (Shape.normalizedTypes[shape.type]) { + shape.type = Shape.normalizedTypes[shape.type]; + } + + if (Shape.types[shape.type]) { + return new Shape.types[shape.type](shape, options, memberName); + } else { + throw new Error('Unrecognized shape type: ' + origType); + } + } +}; - /***/ - }, +function CompositeShape(shape) { + Shape.apply(this, arguments); + property(this, 'isComposite', true); - /***/ 3985: /***/ function (module) { - module.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: {} }, - }, - }, - CreateTopic: { - input: { - type: "structure", - required: ["Name"], - members: { - Name: {}, - Attributes: { shape: "Sp" }, - Tags: { shape: "Ss" }, - }, - }, - output: { - resultWrapper: "CreateTopicResult", - type: "structure", - members: { TopicArn: {} }, - }, - }, - DeleteEndpoint: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, - }, - }, - DeletePlatformApplication: { - input: { - type: "structure", - required: ["PlatformApplicationArn"], - members: { PlatformApplicationArn: {} }, - }, - }, - 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" } }, - }, - }, - GetSubscriptionAttributes: { - input: { - type: "structure", - required: ["SubscriptionArn"], - members: { SubscriptionArn: {} }, - }, - output: { - resultWrapper: "GetSubscriptionAttributesResult", - type: "structure", - members: { Attributes: { shape: "S19" } }, - }, - }, - GetTopicAttributes: { - input: { - type: "structure", - required: ["TopicArn"], - members: { TopicArn: {} }, - }, - output: { - resultWrapper: "GetTopicAttributesResult", - type: "structure", - members: { Attributes: { shape: "Sp" } }, - }, - }, - 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: {}, - }, - }, - }, - 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: {}, - }, - }, - }, - ListSubscriptions: { - input: { type: "structure", members: { NextToken: {} } }, - output: { - resultWrapper: "ListSubscriptionsResult", - type: "structure", - members: { Subscriptions: { shape: "S1r" }, NextToken: {} }, - }, - }, - ListSubscriptionsByTopic: { - input: { - type: "structure", - required: ["TopicArn"], - members: { TopicArn: {}, NextToken: {} }, - }, - output: { - resultWrapper: "ListSubscriptionsByTopicResult", - type: "structure", - members: { Subscriptions: { shape: "S1r" }, NextToken: {} }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { - resultWrapper: "ListTagsForResourceResult", - type: "structure", - members: { Tags: { shape: "Ss" } }, - }, - }, - 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: { - type: "map", - key: { locationName: "Name" }, - value: { - locationName: "Value", - type: "structure", - required: ["DataType"], - members: { - DataType: {}, - StringValue: {}, - BinaryValue: { type: "blob" }, - }, - }, - }, - }, - }, - output: { - resultWrapper: "PublishResult", - type: "structure", - members: { MessageId: {} }, - }, - }, - 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: "S19" }, - ReturnSubscriptionArn: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "SubscribeResult", - type: "structure", - members: { SubscriptionArn: {} }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "Ss" } }, - }, - 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: {}, - }, - }, - }, - shapes: { - Sj: { type: "map", key: {}, value: {} }, - Sp: { type: "map", key: {}, value: {} }, - Ss: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S19: { type: "map", key: {}, value: {} }, - S1r: { - type: "list", - member: { - type: "structure", - members: { - SubscriptionArn: {}, - Owner: {}, - Protocol: {}, - Endpoint: {}, - TopicArn: {}, - }, - }, - }, - }, - }; + if (shape.flattened) { + property(this, 'flattened', shape.flattened || false); + } +} - /***/ - }, +function StructureShape(shape, options) { + var self = this; + var requiredMap = null, firstInit = !this.isShape; - /***/ 3989: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + CompositeShape.apply(this, arguments); - apiLoader.services["pricing"] = {}; - AWS.Pricing = Service.defineService("pricing", ["2017-10-15"]); - Object.defineProperty(apiLoader.services["pricing"], "2017-10-15", { - get: function get() { - var model = __webpack_require__(2760); - model.paginators = __webpack_require__(5437).pagination; - return model; - }, - enumerable: true, - configurable: true, + if (firstInit) { + property(this, 'defaultValue', function() { return {}; }); + property(this, 'members', {}); + property(this, 'memberNames', []); + property(this, 'required', []); + property(this, 'isRequired', function() { return false; }); + } + + if (shape.members) { + property(this, 'members', new Collection(shape.members, options, function(name, member) { + return Shape.create(member, options, name); + })); + memoizedProperty(this, 'memberNames', function() { + return shape.xmlOrder || Object.keys(shape.members); + }); + + if (shape.event) { + memoizedProperty(this, 'eventPayloadMemberName', function() { + var members = self.members; + var memberNames = self.memberNames; + // iterate over members to find ones that are event payloads + for (var i = 0, iLen = memberNames.length; i < iLen; i++) { + if (members[memberNames[i]].isEventPayload) { + return memberNames[i]; + } + } }); - module.exports = AWS.Pricing; + memoizedProperty(this, 'eventHeaderMemberNames', function() { + var members = self.members; + var memberNames = self.memberNames; + var eventHeaderMemberNames = []; + // iterate over members to find ones that are event headers + for (var i = 0, iLen = memberNames.length; i < iLen; i++) { + if (members[memberNames[i]].isEventHeader) { + eventHeaderMemberNames.push(memberNames[i]); + } + } + return eventHeaderMemberNames; + }); + } + } - /***/ - }, + if (shape.required) { + property(this, 'required', shape.required); + property(this, 'isRequired', function(name) { + if (!requiredMap) { + requiredMap = {}; + for (var i = 0; i < shape.required.length; i++) { + requiredMap[shape.required[i]] = true; + } + } - /***/ 3992: /***/ function (__unusedmodule, exports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - "use strict"; - var builder, - defaults, - parser, - processors, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; + return requiredMap[name]; + }, false, true); + } - defaults = __webpack_require__(1514); + property(this, 'resultWrapper', shape.resultWrapper || null); - builder = __webpack_require__(2476); + if (shape.payload) { + property(this, 'payload', shape.payload); + } - parser = __webpack_require__(1885); + if (typeof shape.xmlNamespace === 'string') { + property(this, 'xmlNamespaceUri', shape.xmlNamespace); + } else if (typeof shape.xmlNamespace === 'object') { + property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix); + property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri); + } +} - processors = __webpack_require__(5350); +function ListShape(shape, options) { + var self = this, firstInit = !this.isShape; + CompositeShape.apply(this, arguments); - exports.defaults = defaults.defaults; + if (firstInit) { + property(this, 'defaultValue', function() { return []; }); + } - exports.processors = processors; + if (shape.member) { + memoizedProperty(this, 'member', function() { + return Shape.create(shape.member, options); + }); + } - exports.ValidationError = (function (superClass) { - extend(ValidationError, superClass); + if (this.flattened) { + var oldName = this.name; + memoizedProperty(this, 'name', function() { + return self.member.name || oldName; + }); + } +} - function ValidationError(message) { - this.message = message; - } +function MapShape(shape, options) { + var firstInit = !this.isShape; + CompositeShape.apply(this, arguments); - return ValidationError; - })(Error); + if (firstInit) { + property(this, 'defaultValue', function() { return {}; }); + property(this, 'key', Shape.create({type: 'string'}, options)); + property(this, 'value', Shape.create({type: 'string'}, options)); + } - exports.Builder = builder.Builder; + if (shape.key) { + memoizedProperty(this, 'key', function() { + return Shape.create(shape.key, options); + }); + } + if (shape.value) { + memoizedProperty(this, 'value', function() { + return Shape.create(shape.value, options); + }); + } +} + +function TimestampShape(shape) { + var self = this; + Shape.apply(this, arguments); + + if (shape.timestampFormat) { + property(this, 'timestampFormat', shape.timestampFormat); + } else if (self.isTimestampFormatSet && this.timestampFormat) { + property(this, 'timestampFormat', this.timestampFormat); + } else if (this.location === 'header') { + property(this, 'timestampFormat', 'rfc822'); + } else if (this.location === 'querystring') { + property(this, 'timestampFormat', 'iso8601'); + } else if (this.api) { + switch (this.api.protocol) { + case 'json': + case 'rest-json': + property(this, 'timestampFormat', 'unixTimestamp'); + break; + case 'rest-xml': + case 'query': + case 'ec2': + property(this, 'timestampFormat', 'iso8601'); + break; + } + } - exports.Parser = parser.Parser; + this.toType = function(value) { + if (value === null || value === undefined) return null; + if (typeof value.toUTCString === 'function') return value; + return typeof value === 'string' || typeof value === 'number' ? + util.date.parseTimestamp(value) : null; + }; + + this.toWireFormat = function(value) { + return util.date.format(value, self.timestampFormat); + }; +} + +function StringShape() { + Shape.apply(this, arguments); + + var nullLessProtocols = ['rest-xml', 'query', 'ec2']; + this.toType = function(value) { + value = this.api && nullLessProtocols.indexOf(this.api.protocol) > -1 ? + value || '' : value; + if (this.isJsonValue) { + return JSON.parse(value); + } + + return value && typeof value.toString === 'function' ? + value.toString() : value; + }; + + this.toWireFormat = function(value) { + return this.isJsonValue ? JSON.stringify(value) : value; + }; +} + +function FloatShape() { + Shape.apply(this, arguments); + + this.toType = function(value) { + if (value === null || value === undefined) return null; + return parseFloat(value); + }; + this.toWireFormat = this.toType; +} + +function IntegerShape() { + Shape.apply(this, arguments); + + this.toType = function(value) { + if (value === null || value === undefined) return null; + return parseInt(value, 10); + }; + this.toWireFormat = this.toType; +} + +function BinaryShape() { + Shape.apply(this, arguments); + this.toType = function(value) { + var buf = util.base64.decode(value); + if (this.isSensitive && util.isNode() && typeof util.Buffer.alloc === 'function') { + /* Node.js can create a Buffer that is not isolated. + * i.e. buf.byteLength !== buf.buffer.byteLength + * This means that the sensitive data is accessible to anyone with access to buf.buffer. + * If this is the node shared Buffer, then other code within this process _could_ find this secret. + * Copy sensitive data to an isolated Buffer and zero the sensitive data. + * While this is safe to do here, copying this code somewhere else may produce unexpected results. + */ + var secureBuf = util.Buffer.alloc(buf.length, buf); + buf.fill(0); + buf = secureBuf; + } + return buf; + }; + this.toWireFormat = util.base64.encode; +} + +function Base64Shape() { + BinaryShape.apply(this, arguments); +} + +function BooleanShape() { + Shape.apply(this, arguments); + + this.toType = function(value) { + if (typeof value === 'boolean') return value; + if (value === null || value === undefined) return null; + return value === 'true'; + }; +} + +/** + * @api private + */ +Shape.shapes = { + StructureShape: StructureShape, + ListShape: ListShape, + MapShape: MapShape, + StringShape: StringShape, + BooleanShape: BooleanShape, + Base64Shape: Base64Shape +}; + +/** + * @api private + */ +module.exports = Shape; + + +/***/ }), + +/***/ 3691: +/***/ (function(module) { + +module.exports = {"metadata":{"apiVersion":"2009-04-15","endpointPrefix":"sdb","serviceFullName":"Amazon SimpleDB","serviceId":"SimpleDB","signatureVersion":"v2","xmlNamespace":"http://sdb.amazonaws.com/doc/2009-04-15/","protocol":"query"},"operations":{"BatchDeleteAttributes":{"input":{"type":"structure","required":["DomainName","Items"],"members":{"DomainName":{},"Items":{"type":"list","member":{"locationName":"Item","type":"structure","required":["Name"],"members":{"Name":{"locationName":"ItemName"},"Attributes":{"shape":"S5"}}},"flattened":true}}}},"BatchPutAttributes":{"input":{"type":"structure","required":["DomainName","Items"],"members":{"DomainName":{},"Items":{"type":"list","member":{"locationName":"Item","type":"structure","required":["Name","Attributes"],"members":{"Name":{"locationName":"ItemName"},"Attributes":{"shape":"Sa"}}},"flattened":true}}}},"CreateDomain":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}}},"DeleteAttributes":{"input":{"type":"structure","required":["DomainName","ItemName"],"members":{"DomainName":{},"ItemName":{},"Attributes":{"shape":"S5"},"Expected":{"shape":"Sf"}}}},"DeleteDomain":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}}},"DomainMetadata":{"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"resultWrapper":"DomainMetadataResult","type":"structure","members":{"ItemCount":{"type":"integer"},"ItemNamesSizeBytes":{"type":"long"},"AttributeNameCount":{"type":"integer"},"AttributeNamesSizeBytes":{"type":"long"},"AttributeValueCount":{"type":"integer"},"AttributeValuesSizeBytes":{"type":"long"},"Timestamp":{"type":"integer"}}}},"GetAttributes":{"input":{"type":"structure","required":["DomainName","ItemName"],"members":{"DomainName":{},"ItemName":{},"AttributeNames":{"type":"list","member":{"locationName":"AttributeName"},"flattened":true},"ConsistentRead":{"type":"boolean"}}},"output":{"resultWrapper":"GetAttributesResult","type":"structure","members":{"Attributes":{"shape":"So"}}}},"ListDomains":{"input":{"type":"structure","members":{"MaxNumberOfDomains":{"type":"integer"},"NextToken":{}}},"output":{"resultWrapper":"ListDomainsResult","type":"structure","members":{"DomainNames":{"type":"list","member":{"locationName":"DomainName"},"flattened":true},"NextToken":{}}}},"PutAttributes":{"input":{"type":"structure","required":["DomainName","ItemName","Attributes"],"members":{"DomainName":{},"ItemName":{},"Attributes":{"shape":"Sa"},"Expected":{"shape":"Sf"}}}},"Select":{"input":{"type":"structure","required":["SelectExpression"],"members":{"SelectExpression":{},"NextToken":{},"ConsistentRead":{"type":"boolean"}}},"output":{"resultWrapper":"SelectResult","type":"structure","members":{"Items":{"type":"list","member":{"locationName":"Item","type":"structure","required":["Name","Attributes"],"members":{"Name":{},"AlternateNameEncoding":{},"Attributes":{"shape":"So"}}},"flattened":true},"NextToken":{}}}}},"shapes":{"S5":{"type":"list","member":{"locationName":"Attribute","type":"structure","required":["Name"],"members":{"Name":{},"Value":{}}},"flattened":true},"Sa":{"type":"list","member":{"locationName":"Attribute","type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{},"Replace":{"type":"boolean"}}},"flattened":true},"Sf":{"type":"structure","members":{"Name":{},"Value":{},"Exists":{"type":"boolean"}}},"So":{"type":"list","member":{"locationName":"Attribute","type":"structure","required":["Name","Value"],"members":{"Name":{},"AlternateNameEncoding":{},"Value":{},"AlternateValueEncoding":{}}},"flattened":true}}}; + +/***/ }), + +/***/ 3693: +/***/ (function(module) { + +module.exports = {"version":"2.0","metadata":{"apiVersion":"2011-01-01","endpointPrefix":"autoscaling","protocol":"query","serviceFullName":"Auto Scaling","serviceId":"Auto Scaling","signatureVersion":"v4","uid":"autoscaling-2011-01-01","xmlNamespace":"http://autoscaling.amazonaws.com/doc/2011-01-01/"},"operations":{"AttachInstances":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"InstanceIds":{"shape":"S2"},"AutoScalingGroupName":{}}}},"AttachLoadBalancerTargetGroups":{"input":{"type":"structure","required":["AutoScalingGroupName","TargetGroupARNs"],"members":{"AutoScalingGroupName":{},"TargetGroupARNs":{"shape":"S6"}}},"output":{"resultWrapper":"AttachLoadBalancerTargetGroupsResult","type":"structure","members":{}}},"AttachLoadBalancers":{"input":{"type":"structure","required":["AutoScalingGroupName","LoadBalancerNames"],"members":{"AutoScalingGroupName":{},"LoadBalancerNames":{"shape":"Sa"}}},"output":{"resultWrapper":"AttachLoadBalancersResult","type":"structure","members":{}}},"BatchDeleteScheduledAction":{"input":{"type":"structure","required":["AutoScalingGroupName","ScheduledActionNames"],"members":{"AutoScalingGroupName":{},"ScheduledActionNames":{"shape":"Sd"}}},"output":{"resultWrapper":"BatchDeleteScheduledActionResult","type":"structure","members":{"FailedScheduledActions":{"shape":"Sf"}}}},"BatchPutScheduledUpdateGroupAction":{"input":{"type":"structure","required":["AutoScalingGroupName","ScheduledUpdateGroupActions"],"members":{"AutoScalingGroupName":{},"ScheduledUpdateGroupActions":{"type":"list","member":{"type":"structure","required":["ScheduledActionName"],"members":{"ScheduledActionName":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Recurrence":{},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"DesiredCapacity":{"type":"integer"}}}}}},"output":{"resultWrapper":"BatchPutScheduledUpdateGroupActionResult","type":"structure","members":{"FailedScheduledUpdateGroupActions":{"shape":"Sf"}}}},"CancelInstanceRefresh":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{}}},"output":{"resultWrapper":"CancelInstanceRefreshResult","type":"structure","members":{"InstanceRefreshId":{}}}},"CompleteLifecycleAction":{"input":{"type":"structure","required":["LifecycleHookName","AutoScalingGroupName","LifecycleActionResult"],"members":{"LifecycleHookName":{},"AutoScalingGroupName":{},"LifecycleActionToken":{},"LifecycleActionResult":{},"InstanceId":{}}},"output":{"resultWrapper":"CompleteLifecycleActionResult","type":"structure","members":{}}},"CreateAutoScalingGroup":{"input":{"type":"structure","required":["AutoScalingGroupName","MinSize","MaxSize"],"members":{"AutoScalingGroupName":{},"LaunchConfigurationName":{},"LaunchTemplate":{"shape":"S10"},"MixedInstancesPolicy":{"shape":"S12"},"InstanceId":{},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"DesiredCapacity":{"type":"integer"},"DefaultCooldown":{"type":"integer"},"AvailabilityZones":{"shape":"S1d"},"LoadBalancerNames":{"shape":"Sa"},"TargetGroupARNs":{"shape":"S6"},"HealthCheckType":{},"HealthCheckGracePeriod":{"type":"integer"},"PlacementGroup":{},"VPCZoneIdentifier":{},"TerminationPolicies":{"shape":"S1g"},"NewInstancesProtectedFromScaleIn":{"type":"boolean"},"CapacityRebalance":{"type":"boolean"},"LifecycleHookSpecificationList":{"type":"list","member":{"type":"structure","required":["LifecycleHookName","LifecycleTransition"],"members":{"LifecycleHookName":{},"LifecycleTransition":{},"NotificationMetadata":{},"HeartbeatTimeout":{"type":"integer"},"DefaultResult":{},"NotificationTargetARN":{},"RoleARN":{}}}},"Tags":{"shape":"S1q"},"ServiceLinkedRoleARN":{},"MaxInstanceLifetime":{"type":"integer"}}}},"CreateLaunchConfiguration":{"input":{"type":"structure","required":["LaunchConfigurationName"],"members":{"LaunchConfigurationName":{},"ImageId":{},"KeyName":{},"SecurityGroups":{"shape":"S1x"},"ClassicLinkVPCId":{},"ClassicLinkVPCSecurityGroups":{"shape":"S1y"},"UserData":{},"InstanceId":{},"InstanceType":{},"KernelId":{},"RamdiskId":{},"BlockDeviceMappings":{"shape":"S20"},"InstanceMonitoring":{"shape":"S29"},"SpotPrice":{},"IamInstanceProfile":{},"EbsOptimized":{"type":"boolean"},"AssociatePublicIpAddress":{"type":"boolean"},"PlacementTenancy":{},"MetadataOptions":{"shape":"S2e"}}}},"CreateOrUpdateTags":{"input":{"type":"structure","required":["Tags"],"members":{"Tags":{"shape":"S1q"}}}},"DeleteAutoScalingGroup":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"ForceDelete":{"type":"boolean"}}}},"DeleteLaunchConfiguration":{"input":{"type":"structure","required":["LaunchConfigurationName"],"members":{"LaunchConfigurationName":{}}}},"DeleteLifecycleHook":{"input":{"type":"structure","required":["LifecycleHookName","AutoScalingGroupName"],"members":{"LifecycleHookName":{},"AutoScalingGroupName":{}}},"output":{"resultWrapper":"DeleteLifecycleHookResult","type":"structure","members":{}}},"DeleteNotificationConfiguration":{"input":{"type":"structure","required":["AutoScalingGroupName","TopicARN"],"members":{"AutoScalingGroupName":{},"TopicARN":{}}}},"DeletePolicy":{"input":{"type":"structure","required":["PolicyName"],"members":{"AutoScalingGroupName":{},"PolicyName":{}}}},"DeleteScheduledAction":{"input":{"type":"structure","required":["AutoScalingGroupName","ScheduledActionName"],"members":{"AutoScalingGroupName":{},"ScheduledActionName":{}}}},"DeleteTags":{"input":{"type":"structure","required":["Tags"],"members":{"Tags":{"shape":"S1q"}}}},"DescribeAccountLimits":{"output":{"resultWrapper":"DescribeAccountLimitsResult","type":"structure","members":{"MaxNumberOfAutoScalingGroups":{"type":"integer"},"MaxNumberOfLaunchConfigurations":{"type":"integer"},"NumberOfAutoScalingGroups":{"type":"integer"},"NumberOfLaunchConfigurations":{"type":"integer"}}}},"DescribeAdjustmentTypes":{"output":{"resultWrapper":"DescribeAdjustmentTypesResult","type":"structure","members":{"AdjustmentTypes":{"type":"list","member":{"type":"structure","members":{"AdjustmentType":{}}}}}}},"DescribeAutoScalingGroups":{"input":{"type":"structure","members":{"AutoScalingGroupNames":{"shape":"S31"},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeAutoScalingGroupsResult","type":"structure","required":["AutoScalingGroups"],"members":{"AutoScalingGroups":{"type":"list","member":{"type":"structure","required":["AutoScalingGroupName","MinSize","MaxSize","DesiredCapacity","DefaultCooldown","AvailabilityZones","HealthCheckType","CreatedTime"],"members":{"AutoScalingGroupName":{},"AutoScalingGroupARN":{},"LaunchConfigurationName":{},"LaunchTemplate":{"shape":"S10"},"MixedInstancesPolicy":{"shape":"S12"},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"DesiredCapacity":{"type":"integer"},"DefaultCooldown":{"type":"integer"},"AvailabilityZones":{"shape":"S1d"},"LoadBalancerNames":{"shape":"Sa"},"TargetGroupARNs":{"shape":"S6"},"HealthCheckType":{},"HealthCheckGracePeriod":{"type":"integer"},"Instances":{"type":"list","member":{"type":"structure","required":["InstanceId","AvailabilityZone","LifecycleState","HealthStatus","ProtectedFromScaleIn"],"members":{"InstanceId":{},"InstanceType":{},"AvailabilityZone":{},"LifecycleState":{},"HealthStatus":{},"LaunchConfigurationName":{},"LaunchTemplate":{"shape":"S10"},"ProtectedFromScaleIn":{"type":"boolean"},"WeightedCapacity":{}}}},"CreatedTime":{"type":"timestamp"},"SuspendedProcesses":{"type":"list","member":{"type":"structure","members":{"ProcessName":{},"SuspensionReason":{}}}},"PlacementGroup":{},"VPCZoneIdentifier":{},"EnabledMetrics":{"type":"list","member":{"type":"structure","members":{"Metric":{},"Granularity":{}}}},"Status":{},"Tags":{"shape":"S3d"},"TerminationPolicies":{"shape":"S1g"},"NewInstancesProtectedFromScaleIn":{"type":"boolean"},"ServiceLinkedRoleARN":{},"MaxInstanceLifetime":{"type":"integer"},"CapacityRebalance":{"type":"boolean"}}}},"NextToken":{}}}},"DescribeAutoScalingInstances":{"input":{"type":"structure","members":{"InstanceIds":{"shape":"S2"},"MaxRecords":{"type":"integer"},"NextToken":{}}},"output":{"resultWrapper":"DescribeAutoScalingInstancesResult","type":"structure","members":{"AutoScalingInstances":{"type":"list","member":{"type":"structure","required":["InstanceId","AutoScalingGroupName","AvailabilityZone","LifecycleState","HealthStatus","ProtectedFromScaleIn"],"members":{"InstanceId":{},"InstanceType":{},"AutoScalingGroupName":{},"AvailabilityZone":{},"LifecycleState":{},"HealthStatus":{},"LaunchConfigurationName":{},"LaunchTemplate":{"shape":"S10"},"ProtectedFromScaleIn":{"type":"boolean"},"WeightedCapacity":{}}}},"NextToken":{}}}},"DescribeAutoScalingNotificationTypes":{"output":{"resultWrapper":"DescribeAutoScalingNotificationTypesResult","type":"structure","members":{"AutoScalingNotificationTypes":{"shape":"S3k"}}}},"DescribeInstanceRefreshes":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"InstanceRefreshIds":{"type":"list","member":{}},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeInstanceRefreshesResult","type":"structure","members":{"InstanceRefreshes":{"type":"list","member":{"type":"structure","members":{"InstanceRefreshId":{},"AutoScalingGroupName":{},"Status":{},"StatusReason":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"PercentageComplete":{"type":"integer"},"InstancesToUpdate":{"type":"integer"}}}},"NextToken":{}}}},"DescribeLaunchConfigurations":{"input":{"type":"structure","members":{"LaunchConfigurationNames":{"type":"list","member":{}},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeLaunchConfigurationsResult","type":"structure","required":["LaunchConfigurations"],"members":{"LaunchConfigurations":{"type":"list","member":{"type":"structure","required":["LaunchConfigurationName","ImageId","InstanceType","CreatedTime"],"members":{"LaunchConfigurationName":{},"LaunchConfigurationARN":{},"ImageId":{},"KeyName":{},"SecurityGroups":{"shape":"S1x"},"ClassicLinkVPCId":{},"ClassicLinkVPCSecurityGroups":{"shape":"S1y"},"UserData":{},"InstanceType":{},"KernelId":{},"RamdiskId":{},"BlockDeviceMappings":{"shape":"S20"},"InstanceMonitoring":{"shape":"S29"},"SpotPrice":{},"IamInstanceProfile":{},"CreatedTime":{"type":"timestamp"},"EbsOptimized":{"type":"boolean"},"AssociatePublicIpAddress":{"type":"boolean"},"PlacementTenancy":{},"MetadataOptions":{"shape":"S2e"}}}},"NextToken":{}}}},"DescribeLifecycleHookTypes":{"output":{"resultWrapper":"DescribeLifecycleHookTypesResult","type":"structure","members":{"LifecycleHookTypes":{"shape":"S3k"}}}},"DescribeLifecycleHooks":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"LifecycleHookNames":{"type":"list","member":{}}}},"output":{"resultWrapper":"DescribeLifecycleHooksResult","type":"structure","members":{"LifecycleHooks":{"type":"list","member":{"type":"structure","members":{"LifecycleHookName":{},"AutoScalingGroupName":{},"LifecycleTransition":{},"NotificationTargetARN":{},"RoleARN":{},"NotificationMetadata":{},"HeartbeatTimeout":{"type":"integer"},"GlobalTimeout":{"type":"integer"},"DefaultResult":{}}}}}}},"DescribeLoadBalancerTargetGroups":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeLoadBalancerTargetGroupsResult","type":"structure","members":{"LoadBalancerTargetGroups":{"type":"list","member":{"type":"structure","members":{"LoadBalancerTargetGroupARN":{},"State":{}}}},"NextToken":{}}}},"DescribeLoadBalancers":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeLoadBalancersResult","type":"structure","members":{"LoadBalancers":{"type":"list","member":{"type":"structure","members":{"LoadBalancerName":{},"State":{}}}},"NextToken":{}}}},"DescribeMetricCollectionTypes":{"output":{"resultWrapper":"DescribeMetricCollectionTypesResult","type":"structure","members":{"Metrics":{"type":"list","member":{"type":"structure","members":{"Metric":{}}}},"Granularities":{"type":"list","member":{"type":"structure","members":{"Granularity":{}}}}}}},"DescribeNotificationConfigurations":{"input":{"type":"structure","members":{"AutoScalingGroupNames":{"shape":"S31"},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeNotificationConfigurationsResult","type":"structure","required":["NotificationConfigurations"],"members":{"NotificationConfigurations":{"type":"list","member":{"type":"structure","members":{"AutoScalingGroupName":{},"TopicARN":{},"NotificationType":{}}}},"NextToken":{}}}},"DescribePolicies":{"input":{"type":"structure","members":{"AutoScalingGroupName":{},"PolicyNames":{"type":"list","member":{}},"PolicyTypes":{"type":"list","member":{}},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribePoliciesResult","type":"structure","members":{"ScalingPolicies":{"type":"list","member":{"type":"structure","members":{"AutoScalingGroupName":{},"PolicyName":{},"PolicyARN":{},"PolicyType":{},"AdjustmentType":{},"MinAdjustmentStep":{"shape":"S4s"},"MinAdjustmentMagnitude":{"type":"integer"},"ScalingAdjustment":{"type":"integer"},"Cooldown":{"type":"integer"},"StepAdjustments":{"shape":"S4v"},"MetricAggregationType":{},"EstimatedInstanceWarmup":{"type":"integer"},"Alarms":{"shape":"S4z"},"TargetTrackingConfiguration":{"shape":"S51"},"Enabled":{"type":"boolean"}}}},"NextToken":{}}}},"DescribeScalingActivities":{"input":{"type":"structure","members":{"ActivityIds":{"type":"list","member":{}},"AutoScalingGroupName":{},"MaxRecords":{"type":"integer"},"NextToken":{}}},"output":{"resultWrapper":"DescribeScalingActivitiesResult","type":"structure","required":["Activities"],"members":{"Activities":{"shape":"S5i"},"NextToken":{}}}},"DescribeScalingProcessTypes":{"output":{"resultWrapper":"DescribeScalingProcessTypesResult","type":"structure","members":{"Processes":{"type":"list","member":{"type":"structure","required":["ProcessName"],"members":{"ProcessName":{}}}}}}},"DescribeScheduledActions":{"input":{"type":"structure","members":{"AutoScalingGroupName":{},"ScheduledActionNames":{"shape":"Sd"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeScheduledActionsResult","type":"structure","members":{"ScheduledUpdateGroupActions":{"type":"list","member":{"type":"structure","members":{"AutoScalingGroupName":{},"ScheduledActionName":{},"ScheduledActionARN":{},"Time":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Recurrence":{},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"DesiredCapacity":{"type":"integer"}}}},"NextToken":{}}}},"DescribeTags":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"NextToken":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeTagsResult","type":"structure","members":{"Tags":{"shape":"S3d"},"NextToken":{}}}},"DescribeTerminationPolicyTypes":{"output":{"resultWrapper":"DescribeTerminationPolicyTypesResult","type":"structure","members":{"TerminationPolicyTypes":{"shape":"S1g"}}}},"DetachInstances":{"input":{"type":"structure","required":["AutoScalingGroupName","ShouldDecrementDesiredCapacity"],"members":{"InstanceIds":{"shape":"S2"},"AutoScalingGroupName":{},"ShouldDecrementDesiredCapacity":{"type":"boolean"}}},"output":{"resultWrapper":"DetachInstancesResult","type":"structure","members":{"Activities":{"shape":"S5i"}}}},"DetachLoadBalancerTargetGroups":{"input":{"type":"structure","required":["AutoScalingGroupName","TargetGroupARNs"],"members":{"AutoScalingGroupName":{},"TargetGroupARNs":{"shape":"S6"}}},"output":{"resultWrapper":"DetachLoadBalancerTargetGroupsResult","type":"structure","members":{}}},"DetachLoadBalancers":{"input":{"type":"structure","required":["AutoScalingGroupName","LoadBalancerNames"],"members":{"AutoScalingGroupName":{},"LoadBalancerNames":{"shape":"Sa"}}},"output":{"resultWrapper":"DetachLoadBalancersResult","type":"structure","members":{}}},"DisableMetricsCollection":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"Metrics":{"shape":"S67"}}}},"EnableMetricsCollection":{"input":{"type":"structure","required":["AutoScalingGroupName","Granularity"],"members":{"AutoScalingGroupName":{},"Metrics":{"shape":"S67"},"Granularity":{}}}},"EnterStandby":{"input":{"type":"structure","required":["AutoScalingGroupName","ShouldDecrementDesiredCapacity"],"members":{"InstanceIds":{"shape":"S2"},"AutoScalingGroupName":{},"ShouldDecrementDesiredCapacity":{"type":"boolean"}}},"output":{"resultWrapper":"EnterStandbyResult","type":"structure","members":{"Activities":{"shape":"S5i"}}}},"ExecutePolicy":{"input":{"type":"structure","required":["PolicyName"],"members":{"AutoScalingGroupName":{},"PolicyName":{},"HonorCooldown":{"type":"boolean"},"MetricValue":{"type":"double"},"BreachThreshold":{"type":"double"}}}},"ExitStandby":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"InstanceIds":{"shape":"S2"},"AutoScalingGroupName":{}}},"output":{"resultWrapper":"ExitStandbyResult","type":"structure","members":{"Activities":{"shape":"S5i"}}}},"PutLifecycleHook":{"input":{"type":"structure","required":["LifecycleHookName","AutoScalingGroupName"],"members":{"LifecycleHookName":{},"AutoScalingGroupName":{},"LifecycleTransition":{},"RoleARN":{},"NotificationTargetARN":{},"NotificationMetadata":{},"HeartbeatTimeout":{"type":"integer"},"DefaultResult":{}}},"output":{"resultWrapper":"PutLifecycleHookResult","type":"structure","members":{}}},"PutNotificationConfiguration":{"input":{"type":"structure","required":["AutoScalingGroupName","TopicARN","NotificationTypes"],"members":{"AutoScalingGroupName":{},"TopicARN":{},"NotificationTypes":{"shape":"S3k"}}}},"PutScalingPolicy":{"input":{"type":"structure","required":["AutoScalingGroupName","PolicyName"],"members":{"AutoScalingGroupName":{},"PolicyName":{},"PolicyType":{},"AdjustmentType":{},"MinAdjustmentStep":{"shape":"S4s"},"MinAdjustmentMagnitude":{"type":"integer"},"ScalingAdjustment":{"type":"integer"},"Cooldown":{"type":"integer"},"MetricAggregationType":{},"StepAdjustments":{"shape":"S4v"},"EstimatedInstanceWarmup":{"type":"integer"},"TargetTrackingConfiguration":{"shape":"S51"},"Enabled":{"type":"boolean"}}},"output":{"resultWrapper":"PutScalingPolicyResult","type":"structure","members":{"PolicyARN":{},"Alarms":{"shape":"S4z"}}}},"PutScheduledUpdateGroupAction":{"input":{"type":"structure","required":["AutoScalingGroupName","ScheduledActionName"],"members":{"AutoScalingGroupName":{},"ScheduledActionName":{},"Time":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Recurrence":{},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"DesiredCapacity":{"type":"integer"}}}},"RecordLifecycleActionHeartbeat":{"input":{"type":"structure","required":["LifecycleHookName","AutoScalingGroupName"],"members":{"LifecycleHookName":{},"AutoScalingGroupName":{},"LifecycleActionToken":{},"InstanceId":{}}},"output":{"resultWrapper":"RecordLifecycleActionHeartbeatResult","type":"structure","members":{}}},"ResumeProcesses":{"input":{"shape":"S6n"}},"SetDesiredCapacity":{"input":{"type":"structure","required":["AutoScalingGroupName","DesiredCapacity"],"members":{"AutoScalingGroupName":{},"DesiredCapacity":{"type":"integer"},"HonorCooldown":{"type":"boolean"}}}},"SetInstanceHealth":{"input":{"type":"structure","required":["InstanceId","HealthStatus"],"members":{"InstanceId":{},"HealthStatus":{},"ShouldRespectGracePeriod":{"type":"boolean"}}}},"SetInstanceProtection":{"input":{"type":"structure","required":["InstanceIds","AutoScalingGroupName","ProtectedFromScaleIn"],"members":{"InstanceIds":{"shape":"S2"},"AutoScalingGroupName":{},"ProtectedFromScaleIn":{"type":"boolean"}}},"output":{"resultWrapper":"SetInstanceProtectionResult","type":"structure","members":{}}},"StartInstanceRefresh":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"Strategy":{},"Preferences":{"type":"structure","members":{"MinHealthyPercentage":{"type":"integer"},"InstanceWarmup":{"type":"integer"}}}}},"output":{"resultWrapper":"StartInstanceRefreshResult","type":"structure","members":{"InstanceRefreshId":{}}}},"SuspendProcesses":{"input":{"shape":"S6n"}},"TerminateInstanceInAutoScalingGroup":{"input":{"type":"structure","required":["InstanceId","ShouldDecrementDesiredCapacity"],"members":{"InstanceId":{},"ShouldDecrementDesiredCapacity":{"type":"boolean"}}},"output":{"resultWrapper":"TerminateInstanceInAutoScalingGroupResult","type":"structure","members":{"Activity":{"shape":"S5j"}}}},"UpdateAutoScalingGroup":{"input":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"LaunchConfigurationName":{},"LaunchTemplate":{"shape":"S10"},"MixedInstancesPolicy":{"shape":"S12"},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"DesiredCapacity":{"type":"integer"},"DefaultCooldown":{"type":"integer"},"AvailabilityZones":{"shape":"S1d"},"HealthCheckType":{},"HealthCheckGracePeriod":{"type":"integer"},"PlacementGroup":{},"VPCZoneIdentifier":{},"TerminationPolicies":{"shape":"S1g"},"NewInstancesProtectedFromScaleIn":{"type":"boolean"},"ServiceLinkedRoleARN":{},"MaxInstanceLifetime":{"type":"integer"},"CapacityRebalance":{"type":"boolean"}}}}},"shapes":{"S2":{"type":"list","member":{}},"S6":{"type":"list","member":{}},"Sa":{"type":"list","member":{}},"Sd":{"type":"list","member":{}},"Sf":{"type":"list","member":{"type":"structure","required":["ScheduledActionName"],"members":{"ScheduledActionName":{},"ErrorCode":{},"ErrorMessage":{}}}},"S10":{"type":"structure","members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"S12":{"type":"structure","members":{"LaunchTemplate":{"type":"structure","members":{"LaunchTemplateSpecification":{"shape":"S10"},"Overrides":{"type":"list","member":{"type":"structure","members":{"InstanceType":{},"WeightedCapacity":{},"LaunchTemplateSpecification":{"shape":"S10"}}}}}},"InstancesDistribution":{"type":"structure","members":{"OnDemandAllocationStrategy":{},"OnDemandBaseCapacity":{"type":"integer"},"OnDemandPercentageAboveBaseCapacity":{"type":"integer"},"SpotAllocationStrategy":{},"SpotInstancePools":{"type":"integer"},"SpotMaxPrice":{}}}}},"S1d":{"type":"list","member":{}},"S1g":{"type":"list","member":{}},"S1q":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"ResourceId":{},"ResourceType":{},"Key":{},"Value":{},"PropagateAtLaunch":{"type":"boolean"}}}},"S1x":{"type":"list","member":{}},"S1y":{"type":"list","member":{}},"S20":{"type":"list","member":{"type":"structure","required":["DeviceName"],"members":{"VirtualName":{},"DeviceName":{},"Ebs":{"type":"structure","members":{"SnapshotId":{},"VolumeSize":{"type":"integer"},"VolumeType":{},"DeleteOnTermination":{"type":"boolean"},"Iops":{"type":"integer"},"Encrypted":{"type":"boolean"}}},"NoDevice":{"type":"boolean"}}}},"S29":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"S2e":{"type":"structure","members":{"HttpTokens":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpEndpoint":{}}},"S31":{"type":"list","member":{}},"S3d":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"ResourceType":{},"Key":{},"Value":{},"PropagateAtLaunch":{"type":"boolean"}}}},"S3k":{"type":"list","member":{}},"S4s":{"type":"integer","deprecated":true},"S4v":{"type":"list","member":{"type":"structure","required":["ScalingAdjustment"],"members":{"MetricIntervalLowerBound":{"type":"double"},"MetricIntervalUpperBound":{"type":"double"},"ScalingAdjustment":{"type":"integer"}}}},"S4z":{"type":"list","member":{"type":"structure","members":{"AlarmName":{},"AlarmARN":{}}}},"S51":{"type":"structure","required":["TargetValue"],"members":{"PredefinedMetricSpecification":{"type":"structure","required":["PredefinedMetricType"],"members":{"PredefinedMetricType":{},"ResourceLabel":{}}},"CustomizedMetricSpecification":{"type":"structure","required":["MetricName","Namespace","Statistic"],"members":{"MetricName":{},"Namespace":{},"Dimensions":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"Statistic":{},"Unit":{}}},"TargetValue":{"type":"double"},"DisableScaleIn":{"type":"boolean"}}},"S5i":{"type":"list","member":{"shape":"S5j"}},"S5j":{"type":"structure","required":["ActivityId","AutoScalingGroupName","Cause","StartTime","StatusCode"],"members":{"ActivityId":{},"AutoScalingGroupName":{},"Description":{},"Cause":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"StatusCode":{},"StatusMessage":{},"Progress":{"type":"integer"},"Details":{}}},"S67":{"type":"list","member":{}},"S6n":{"type":"structure","required":["AutoScalingGroupName"],"members":{"AutoScalingGroupName":{},"ScalingProcesses":{"type":"list","member":{}}}}}}; + +/***/ }), + +/***/ 3694: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['schemas'] = {}; +AWS.Schemas = Service.defineService('schemas', ['2019-12-02']); +Object.defineProperty(apiLoader.services['schemas'], '2019-12-02', { + get: function get() { + var model = __webpack_require__(1176); + model.paginators = __webpack_require__(8116).pagination; + model.waiters = __webpack_require__(9999).waiters; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.Schemas; + + +/***/ }), + +/***/ 3696: +/***/ (function(module) { + +function AcceptorStateMachine(states, state) { + this.currentState = state || null; + this.states = states || {}; +} + +AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) { + if (typeof finalState === 'function') { + inputError = bindObject; bindObject = done; + done = finalState; finalState = null; + } - exports.parseString = parser.parseString; - }.call(this)); + var self = this; + var state = self.states[self.currentState]; + state.fn.call(bindObject || self, inputError, function(err) { + if (err) { + if (state.fail) self.currentState = state.fail; + else return done ? done.call(bindObject, err) : null; + } else { + if (state.accept) self.currentState = state.accept; + else return done ? done.call(bindObject) : null; + } + if (self.currentState === finalState) { + return done ? done.call(bindObject, err) : null; + } + + self.runTo(finalState, done, bindObject, err); + }); +}; + +AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) { + if (typeof acceptState === 'function') { + fn = acceptState; acceptState = null; failState = null; + } else if (typeof failState === 'function') { + fn = failState; failState = null; + } - /***/ - }, + if (!this.currentState) this.currentState = name; + this.states[name] = { accept: acceptState, fail: failState, fn: fn }; + return this; +}; + +/** + * @api private + */ +module.exports = AcceptorStateMachine; + + +/***/ }), + +/***/ 3707: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['kinesisvideo'] = {}; +AWS.KinesisVideo = Service.defineService('kinesisvideo', ['2017-09-30']); +Object.defineProperty(apiLoader.services['kinesisvideo'], '2017-09-30', { + get: function get() { + var model = __webpack_require__(2766); + model.paginators = __webpack_require__(6207).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.KinesisVideo; + + +/***/ }), + +/***/ 3711: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var inherit = AWS.util.inherit; + +/** + * The endpoint that a service will talk to, for example, + * `'https://ec2.ap-southeast-1.amazonaws.com'`. If + * you need to override an endpoint for a service, you can + * set the endpoint on a service by passing the endpoint + * object with the `endpoint` option key: + * + * ```javascript + * var ep = new AWS.Endpoint('awsproxy.example.com'); + * var s3 = new AWS.S3({endpoint: ep}); + * s3.service.endpoint.hostname == 'awsproxy.example.com' + * ``` + * + * Note that if you do not specify a protocol, the protocol will + * be selected based on your current {AWS.config} configuration. + * + * @!attribute protocol + * @return [String] the protocol (http or https) of the endpoint + * URL + * @!attribute hostname + * @return [String] the host portion of the endpoint, e.g., + * example.com + * @!attribute host + * @return [String] the host portion of the endpoint including + * the port, e.g., example.com:80 + * @!attribute port + * @return [Integer] the port of the endpoint + * @!attribute href + * @return [String] the full URL of the endpoint + */ +AWS.Endpoint = inherit({ + + /** + * @overload Endpoint(endpoint) + * Constructs a new endpoint given an endpoint URL. If the + * URL omits a protocol (http or https), the default protocol + * set in the global {AWS.config} will be used. + * @param endpoint [String] the URL to construct an endpoint from + */ + constructor: function Endpoint(endpoint, config) { + AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']); + + if (typeof endpoint === 'undefined' || endpoint === null) { + throw new Error('Invalid endpoint: ' + endpoint); + } else if (typeof endpoint !== 'string') { + return AWS.util.copy(endpoint); + } + + if (!endpoint.match(/^http/)) { + var useSSL = config && config.sslEnabled !== undefined ? + config.sslEnabled : AWS.config.sslEnabled; + endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint; + } + + AWS.util.update(this, AWS.util.urlParse(endpoint)); + + // Ensure the port property is set as an integer + if (this.port) { + this.port = parseInt(this.port, 10); + } else { + this.port = this.protocol === 'https:' ? 443 : 80; + } + } - /***/ 3998: /***/ function (module) { - module.exports = { - pagination: { - DescribeActionTargets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeProducts: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeStandards: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeStandardsControls: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - GetEnabledStandards: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - GetFindings: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - GetInsights: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListEnabledProductsForImport: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListInvitations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +}); + +/** + * The low level HTTP request object, encapsulating all HTTP header + * and body data sent by a service request. + * + * @!attribute method + * @return [String] the HTTP method of the request + * @!attribute path + * @return [String] the path portion of the URI, e.g., + * "/list/?start=5&num=10" + * @!attribute headers + * @return [map] + * a map of header keys and their respective values + * @!attribute body + * @return [String] the request body payload + * @!attribute endpoint + * @return [AWS.Endpoint] the endpoint for the request + * @!attribute region + * @api private + * @return [String] the region, for signing purposes only. + */ +AWS.HttpRequest = inherit({ + + /** + * @api private + */ + constructor: function HttpRequest(endpoint, region) { + endpoint = new AWS.Endpoint(endpoint); + this.method = 'POST'; + this.path = endpoint.path || '/'; + this.headers = {}; + this.body = ''; + this.endpoint = endpoint; + this.region = region; + this._userAgent = ''; + this.setUserAgent(); + }, + + /** + * @api private + */ + setUserAgent: function setUserAgent() { + this._userAgent = this.headers[this.getUserAgentHeaderName()] = AWS.util.userAgent(); + }, + + getUserAgentHeaderName: function getUserAgentHeaderName() { + var prefix = AWS.util.isBrowser() ? 'X-Amz-' : ''; + return prefix + 'User-Agent'; + }, + + /** + * @api private + */ + appendToUserAgent: function appendToUserAgent(agentPartial) { + if (typeof agentPartial === 'string' && agentPartial) { + this._userAgent += ' ' + agentPartial; + } + this.headers[this.getUserAgentHeaderName()] = this._userAgent; + }, + + /** + * @api private + */ + getUserAgent: function getUserAgent() { + return this._userAgent; + }, + + /** + * @return [String] the part of the {path} excluding the + * query string + */ + pathname: function pathname() { + return this.path.split('?', 1)[0]; + }, + + /** + * @return [String] the query string portion of the {path} + */ + search: function search() { + var query = this.path.split('?', 2)[1]; + if (query) { + query = AWS.util.queryStringParse(query); + return AWS.util.queryParamsToString(query); + } + return ''; + }, + + /** + * @api private + * update httpRequest endpoint with endpoint string + */ + updateEndpoint: function updateEndpoint(endpointStr) { + var newEndpoint = new AWS.Endpoint(endpointStr); + this.endpoint = newEndpoint; + this.path = newEndpoint.path || '/'; + if (this.headers['Host']) { + this.headers['Host'] = newEndpoint.host; + } + } +}); + +/** + * The low level HTTP response object, encapsulating all HTTP header + * and body data returned from the request. + * + * @!attribute statusCode + * @return [Integer] the HTTP status code of the response (e.g., 200, 404) + * @!attribute headers + * @return [map] + * a map of response header keys and their respective values + * @!attribute body + * @return [String] the response body payload + * @!attribute [r] streaming + * @return [Boolean] whether this response is being streamed at a low-level. + * Defaults to `false` (buffered reads). Do not modify this manually, use + * {createUnbufferedStream} to convert the stream to unbuffered mode + * instead. + */ +AWS.HttpResponse = inherit({ + + /** + * @api private + */ + constructor: function HttpResponse() { + this.statusCode = undefined; + this.headers = {}; + this.body = undefined; + this.streaming = false; + this.stream = null; + }, + + /** + * Disables buffering on the HTTP response and returns the stream for reading. + * @return [Stream, XMLHttpRequest, null] the underlying stream object. + * Use this object to directly read data off of the stream. + * @note This object is only available after the {AWS.Request~httpHeaders} + * event has fired. This method must be called prior to + * {AWS.Request~httpData}. + * @example Taking control of a stream + * request.on('httpHeaders', function(statusCode, headers) { + * if (statusCode < 300) { + * if (headers.etag === 'xyz') { + * // pipe the stream, disabling buffering + * var stream = this.response.httpResponse.createUnbufferedStream(); + * stream.pipe(process.stdout); + * } else { // abort this request and set a better error message + * this.abort(); + * this.response.error = new Error('Invalid ETag'); + * } + * } + * }).send(console.log); + */ + createUnbufferedStream: function createUnbufferedStream() { + this.streaming = true; + return this.stream; + } +}); - /***/ - }, - /***/ 4008: /***/ function (module) { - module.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: true }, - }, - }, - output: { type: "structure", members: { CopyProductToken: {} } }, - }, - CreateConstraint: { - input: { - type: "structure", - required: [ - "PortfolioId", - "ProductId", - "Parameters", - "Type", - "IdempotencyToken", - ], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - ProductId: {}, - Parameters: {}, - Type: {}, - Description: {}, - IdempotencyToken: { idempotencyToken: true }, - }, - }, - 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: true }, - }, - }, - output: { - type: "structure", - members: { - PortfolioDetail: { shape: "S1n" }, - Tags: { shape: "S1q" }, - }, - }, - }, - CreatePortfolioShare: { - input: { - type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - AccountId: {}, - OrganizationNode: { shape: "S1s" }, - }, - }, - 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: "S23" }, - IdempotencyToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - ProductViewDetail: { shape: "S2c" }, - ProvisioningArtifactDetail: { shape: "S2h" }, - Tags: { shape: "S1q" }, - }, - }, - }, - CreateProvisionedProductPlan: { - input: { - type: "structure", - required: [ - "PlanName", - "PlanType", - "ProductId", - "ProvisionedProductName", - "ProvisioningArtifactId", - "IdempotencyToken", - ], - members: { - AcceptLanguage: {}, - PlanName: {}, - PlanType: {}, - NotificationArns: { shape: "S2n" }, - PathId: {}, - ProductId: {}, - ProvisionedProductName: {}, - ProvisioningArtifactId: {}, - ProvisioningParameters: { shape: "S2q" }, - IdempotencyToken: { idempotencyToken: true }, - 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: "S23" }, - IdempotencyToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - ProvisioningArtifactDetail: { shape: "S2h" }, - Info: { shape: "S26" }, - Status: {}, - }, - }, - }, - CreateServiceAction: { - input: { - type: "structure", - required: [ - "Name", - "DefinitionType", - "Definition", - "IdempotencyToken", - ], - members: { - Name: {}, - DefinitionType: {}, - Definition: { shape: "S31" }, - Description: {}, - AcceptLanguage: {}, - IdempotencyToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { ServiceActionDetail: { shape: "S36" } }, - }, - }, - CreateTagOption: { - input: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - output: { - type: "structure", - members: { TagOptionDetail: { shape: "S3c" } }, - }, - }, - 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: "S43" }, - Budgets: { shape: "S44" }, - }, - }, - }, - 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: {}, - }, - }, - }, - }, - }, - }, - }, - }, - DescribeProduct: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, - output: { - type: "structure", - members: { - ProductViewSummary: { shape: "S2d" }, - ProvisioningArtifacts: { shape: "S4i" }, - Budgets: { shape: "S44" }, - }, - }, - }, - DescribeProductAsAdmin: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, - output: { - type: "structure", - members: { - ProductViewDetail: { shape: "S2c" }, - ProvisioningArtifactSummaries: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - CreatedTime: { type: "timestamp" }, - ProvisioningArtifactMetadata: { shape: "S26" }, - }, - }, - }, - Tags: { shape: "S1q" }, - TagOptions: { shape: "S43" }, - Budgets: { shape: "S44" }, - }, - }, - }, - DescribeProductView: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, - output: { - type: "structure", - members: { - ProductViewSummary: { shape: "S2d" }, - ProvisioningArtifacts: { shape: "S4i" }, - }, - }, - }, - DescribeProvisionedProduct: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, - output: { - type: "structure", - members: { - ProvisionedProductDetail: { shape: "S4t" }, - 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: "S2n" }, - ProvisioningParameters: { shape: "S2q" }, - 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", - required: ["ProvisioningArtifactId", "ProductId"], - members: { - AcceptLanguage: {}, - ProvisioningArtifactId: {}, - ProductId: {}, - Verbose: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - ProvisioningArtifactDetail: { shape: "S2h" }, - Info: { shape: "S26" }, - Status: {}, - }, - }, - }, - DescribeProvisioningParameters: { - input: { - type: "structure", - required: ["ProductId", "ProvisioningArtifactId"], - members: { - AcceptLanguage: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - PathId: {}, - }, - }, - 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: {} }, - }, - }, - }, - }, - }, - ConstraintSummaries: { shape: "S65" }, - 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: "S6f" }, - StackSetRegions: { shape: "S6g" }, - }, - }, - }, - }, - }, - DescribeRecord: { - input: { - type: "structure", - required: ["Id"], - members: { - AcceptLanguage: {}, - Id: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - RecordDetail: { shape: "S6k" }, - RecordOutputs: { - type: "list", - member: { - type: "structure", - members: { - OutputKey: {}, - OutputValue: {}, - Description: {}, - }, - }, - }, - NextPageToken: {}, - }, - }, - }, - DescribeServiceAction: { - input: { - type: "structure", - required: ["Id"], - members: { Id: {}, AcceptLanguage: {} }, - }, - output: { - type: "structure", - members: { ServiceActionDetail: { shape: "S36" } }, - }, - }, - 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: "S77" }, - }, - }, - }, - }, - }, - }, - DescribeTagOption: { - input: { type: "structure", required: ["Id"], members: { Id: {} } }, - output: { - type: "structure", - members: { TagOptionDetail: { shape: "S3c" } }, - }, - }, - 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: true }, - }, - }, - output: { - type: "structure", - members: { RecordDetail: { shape: "S6k" } }, - }, - }, - ExecuteProvisionedProductServiceAction: { - input: { - type: "structure", - required: [ - "ProvisionedProductId", - "ServiceActionId", - "ExecuteToken", - ], - members: { - ProvisionedProductId: {}, - ServiceActionId: {}, - ExecuteToken: { idempotencyToken: true }, - AcceptLanguage: {}, - Parameters: { type: "map", key: {}, value: { shape: "S77" } }, - }, - }, - output: { - type: "structure", - members: { RecordDetail: { shape: "S6k" } }, - }, - }, - GetAWSOrganizationsAccessStatus: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: { AccessStatus: {} } }, - }, - ListAcceptedPortfolioShares: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - PageToken: {}, - PageSize: { type: "integer" }, - PortfolioShareType: {}, - }, - }, - output: { - type: "structure", - members: { - PortfolioDetails: { shape: "S7z" }, - NextPageToken: {}, - }, - }, - }, - ListBudgetsForResource: { - input: { - type: "structure", - required: ["ResourceId"], - members: { - AcceptLanguage: {}, - ResourceId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, - }, - output: { - type: "structure", - members: { Budgets: { shape: "S44" }, 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: "S65" }, - 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: "S7z" }, - NextPageToken: {}, - }, - }, - }, - ListPortfoliosForProduct: { - input: { - type: "structure", - required: ["ProductId"], - members: { - AcceptLanguage: {}, - ProductId: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - PortfolioDetails: { shape: "S7z" }, - 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: "S8p" }, - }, - }, - 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: "S2h" }, - }, - 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: "S2d" }, - ProvisioningArtifact: { shape: "S4j" }, - }, - }, - }, - NextPageToken: {}, - }, - }, - }, - ListRecordHistory: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - AccessLevelFilter: { shape: "S8p" }, - SearchFilter: { - type: "structure", - members: { Key: {}, Value: {} }, - }, - PageSize: { type: "integer" }, - PageToken: {}, - }, - }, - output: { - type: "structure", - members: { - RecordDetails: { type: "list", member: { shape: "S6k" } }, - 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: "S9k" }, - NextPageToken: {}, - }, - }, - }, - ListServiceActionsForProvisioningArtifact: { - input: { - type: "structure", - required: ["ProductId", "ProvisioningArtifactId"], - members: { - ProductId: {}, - ProvisioningArtifactId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - AcceptLanguage: {}, - }, - }, - output: { - type: "structure", - members: { - ServiceActionSummaries: { shape: "S9k" }, - 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: "S43" }, PageToken: {} }, - }, - }, - ProvisionProduct: { - input: { - type: "structure", - required: [ - "ProductId", - "ProvisioningArtifactId", - "ProvisionedProductName", - "ProvisionToken", - ], - members: { - AcceptLanguage: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - PathId: {}, - ProvisionedProductName: {}, - ProvisioningParameters: { - type: "list", - member: { - type: "structure", - members: { Key: {}, Value: {} }, - }, - }, - ProvisioningPreferences: { - type: "structure", - members: { - StackSetAccounts: { shape: "S6f" }, - StackSetRegions: { shape: "S6g" }, - StackSetFailureToleranceCount: { type: "integer" }, - StackSetFailureTolerancePercentage: { type: "integer" }, - StackSetMaxConcurrencyCount: { type: "integer" }, - StackSetMaxConcurrencyPercentage: { type: "integer" }, - }, - }, - Tags: { shape: "S1q" }, - NotificationArns: { shape: "S2n" }, - ProvisionToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { RecordDetail: { shape: "S6k" } }, - }, - }, - RejectPortfolioShare: { - input: { - type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - PortfolioShareType: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - ScanProvisionedProducts: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - AccessLevelFilter: { shape: "S8p" }, - PageSize: { type: "integer" }, - PageToken: {}, - }, - }, - output: { - type: "structure", - members: { - ProvisionedProducts: { type: "list", member: { shape: "S4t" } }, - NextPageToken: {}, - }, - }, - }, - SearchProducts: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - Filters: { shape: "Saa" }, - PageSize: { type: "integer" }, - SortBy: {}, - SortOrder: {}, - PageToken: {}, - }, - }, - output: { - type: "structure", - members: { - ProductViewSummaries: { - type: "list", - member: { shape: "S2d" }, - }, - 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: "Saa" }, - SortBy: {}, - SortOrder: {}, - PageToken: {}, - PageSize: { type: "integer" }, - ProductSource: {}, - }, - }, - output: { - type: "structure", - members: { - ProductViewDetails: { type: "list", member: { shape: "S2c" } }, - NextPageToken: {}, - }, - }, - }, - SearchProvisionedProducts: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - AccessLevelFilter: { shape: "S8p" }, - 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: {}, - Tags: { shape: "S1q" }, - PhysicalId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - UserArn: {}, - UserArnSession: {}, - }, - }, - }, - TotalResultsCount: { type: "integer" }, - NextPageToken: {}, - }, - }, - }, - TerminateProvisionedProduct: { - input: { - type: "structure", - required: ["TerminateToken"], - members: { - ProvisionedProductName: {}, - ProvisionedProductId: {}, - TerminateToken: { idempotencyToken: true }, - IgnoreErrors: { type: "boolean" }, - AcceptLanguage: {}, - }, - }, - output: { - type: "structure", - members: { RecordDetail: { shape: "S6k" } }, - }, - }, - 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: "Sbb" }, - }, - }, - output: { - type: "structure", - members: { - PortfolioDetail: { shape: "S1n" }, - Tags: { shape: "S1q" }, - }, - }, - }, - UpdateProduct: { - input: { - type: "structure", - required: ["Id"], - members: { - AcceptLanguage: {}, - Id: {}, - Name: {}, - Owner: {}, - Description: {}, - Distributor: {}, - SupportDescription: {}, - SupportEmail: {}, - SupportUrl: {}, - AddTags: { shape: "S1i" }, - RemoveTags: { shape: "Sbb" }, - }, - }, - output: { - type: "structure", - members: { - ProductViewDetail: { shape: "S2c" }, - Tags: { shape: "S1q" }, - }, - }, - }, - UpdateProvisionedProduct: { - input: { - type: "structure", - required: ["UpdateToken"], - members: { - AcceptLanguage: {}, - ProvisionedProductName: {}, - ProvisionedProductId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - PathId: {}, - ProvisioningParameters: { shape: "S2q" }, - ProvisioningPreferences: { - type: "structure", - members: { - StackSetAccounts: { shape: "S6f" }, - StackSetRegions: { shape: "S6g" }, - StackSetFailureToleranceCount: { type: "integer" }, - StackSetFailureTolerancePercentage: { type: "integer" }, - StackSetMaxConcurrencyCount: { type: "integer" }, - StackSetMaxConcurrencyPercentage: { type: "integer" }, - StackSetOperationType: {}, - }, - }, - Tags: { shape: "S1q" }, - UpdateToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { RecordDetail: { shape: "S6k" } }, - }, - }, - UpdateProvisionedProductProperties: { - input: { - type: "structure", - required: [ - "ProvisionedProductId", - "ProvisionedProductProperties", - "IdempotencyToken", - ], - members: { - AcceptLanguage: {}, - ProvisionedProductId: {}, - ProvisionedProductProperties: { shape: "Sbk" }, - IdempotencyToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - ProvisionedProductId: {}, - ProvisionedProductProperties: { shape: "Sbk" }, - 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: "S2h" }, - Info: { shape: "S26" }, - Status: {}, - }, - }, - }, - UpdateServiceAction: { - input: { - type: "structure", - required: ["Id"], - members: { - Id: {}, - Name: {}, - Definition: { shape: "S31" }, - Description: {}, - AcceptLanguage: {}, - }, - }, - output: { - type: "structure", - members: { ServiceActionDetail: { shape: "S36" } }, - }, - }, - UpdateTagOption: { - input: { - type: "structure", - required: ["Id"], - members: { Id: {}, Value: {}, Active: { type: "boolean" } }, - }, - output: { - type: "structure", - members: { TagOptionDetail: { shape: "S3c" } }, - }, - }, - }, - 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: {} } }, - S23: { - type: "structure", - required: ["Info"], - members: { - Name: {}, - Description: {}, - Info: { shape: "S26" }, - Type: {}, - DisableTemplateValidation: { type: "boolean" }, - }, - }, - S26: { type: "map", key: {}, value: {} }, - S2c: { - type: "structure", - members: { - ProductViewSummary: { shape: "S2d" }, - Status: {}, - ProductARN: {}, - CreatedTime: { type: "timestamp" }, - }, - }, - S2d: { - type: "structure", - members: { - Id: {}, - ProductId: {}, - Name: {}, - Owner: {}, - ShortDescription: {}, - Type: {}, - Distributor: {}, - HasDefaultPath: { type: "boolean" }, - SupportEmail: {}, - SupportDescription: {}, - SupportUrl: {}, - }, - }, - S2h: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - Type: {}, - CreatedTime: { type: "timestamp" }, - Active: { type: "boolean" }, - Guidance: {}, - }, - }, - S2n: { type: "list", member: {} }, - S2q: { - type: "list", - member: { - type: "structure", - members: { - Key: {}, - Value: {}, - UsePreviousValue: { type: "boolean" }, - }, - }, - }, - S31: { type: "map", key: {}, value: {} }, - S36: { - type: "structure", - members: { - ServiceActionSummary: { shape: "S37" }, - Definition: { shape: "S31" }, - }, - }, - S37: { - type: "structure", - members: { Id: {}, Name: {}, Description: {}, DefinitionType: {} }, - }, - S3c: { - type: "structure", - members: { - Key: {}, - Value: {}, - Active: { type: "boolean" }, - Id: {}, - }, - }, - S43: { type: "list", member: { shape: "S3c" } }, - S44: { - type: "list", - member: { type: "structure", members: { BudgetName: {} } }, - }, - S4i: { type: "list", member: { shape: "S4j" } }, - S4j: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - CreatedTime: { type: "timestamp" }, - Guidance: {}, - }, - }, - S4t: { - type: "structure", - members: { - Name: {}, - Arn: {}, - Type: {}, - Id: {}, - Status: {}, - StatusMessage: {}, - CreatedTime: { type: "timestamp" }, - IdempotencyToken: {}, - LastRecordId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - }, - }, - S65: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Description: {} }, - }, - }, - S6f: { type: "list", member: {} }, - S6g: { type: "list", member: {} }, - S6k: { - 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: {} } }, - }, - }, - }, - S77: { type: "list", member: {} }, - S7z: { type: "list", member: { shape: "S1n" } }, - S8p: { type: "structure", members: { Key: {}, Value: {} } }, - S9k: { type: "list", member: { shape: "S37" } }, - Saa: { type: "map", key: {}, value: { type: "list", member: {} } }, - Sbb: { type: "list", member: {} }, - Sbk: { type: "map", key: {}, value: {} }, - }, - }; +AWS.HttpClient = inherit({}); - /***/ - }, +/** + * @api private + */ +AWS.HttpClient.getInstance = function getInstance() { + if (this.singleton === undefined) { + this.singleton = new this(); + } + return this.singleton; +}; + + +/***/ }), + +/***/ 3725: +/***/ (function(module) { + +module.exports = {"pagination":{"DescribeAccelerators":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"acceleratorSet"}}}; + +/***/ }), + +/***/ 3753: +/***/ (function(module) { + +module.exports = {"pagination":{"DescribeBackups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeDataRepositoryTasks":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeFileSystemAliases":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeFileSystems":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; + +/***/ }), + +/***/ 3754: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var v4Credentials = __webpack_require__(9819); +var inherit = AWS.util.inherit; + +/** + * @api private + */ +var expiresHeader = 'presigned-expires'; + +/** + * @api private + */ +AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { + constructor: function V4(request, serviceName, options) { + AWS.Signers.RequestSigner.call(this, request); + this.serviceName = serviceName; + options = options || {}; + this.signatureCache = typeof options.signatureCache === 'boolean' ? options.signatureCache : true; + this.operation = options.operation; + this.signatureVersion = options.signatureVersion; + }, + + algorithm: 'AWS4-HMAC-SHA256', + + addAuthorization: function addAuthorization(credentials, date) { + var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, ''); + + if (this.isPresigned()) { + this.updateForPresigned(credentials, datetime); + } else { + this.addHeaders(credentials, datetime); + } + + this.request.headers['Authorization'] = + this.authorization(credentials, datetime); + }, + + addHeaders: function addHeaders(credentials, datetime) { + this.request.headers['X-Amz-Date'] = datetime; + if (credentials.sessionToken) { + this.request.headers['x-amz-security-token'] = credentials.sessionToken; + } + }, + + updateForPresigned: function updateForPresigned(credentials, datetime) { + var credString = this.credentialString(datetime); + var qs = { + 'X-Amz-Date': datetime, + 'X-Amz-Algorithm': this.algorithm, + 'X-Amz-Credential': credentials.accessKeyId + '/' + credString, + 'X-Amz-Expires': this.request.headers[expiresHeader], + 'X-Amz-SignedHeaders': this.signedHeaders() + }; + + if (credentials.sessionToken) { + qs['X-Amz-Security-Token'] = credentials.sessionToken; + } + + if (this.request.headers['Content-Type']) { + qs['Content-Type'] = this.request.headers['Content-Type']; + } + if (this.request.headers['Content-MD5']) { + qs['Content-MD5'] = this.request.headers['Content-MD5']; + } + if (this.request.headers['Cache-Control']) { + qs['Cache-Control'] = this.request.headers['Cache-Control']; + } + + // need to pull in any other X-Amz-* headers + AWS.util.each.call(this, this.request.headers, function(key, value) { + if (key === expiresHeader) return; + if (this.isSignableHeader(key)) { + var lowerKey = key.toLowerCase(); + // Metadata should be normalized + if (lowerKey.indexOf('x-amz-meta-') === 0) { + qs[lowerKey] = value; + } else if (lowerKey.indexOf('x-amz-') === 0) { + qs[key] = value; + } + } + }); + + var sep = this.request.path.indexOf('?') >= 0 ? '&' : '?'; + this.request.path += sep + AWS.util.queryParamsToString(qs); + }, + + authorization: function authorization(credentials, datetime) { + var parts = []; + var credString = this.credentialString(datetime); + parts.push(this.algorithm + ' Credential=' + + credentials.accessKeyId + '/' + credString); + parts.push('SignedHeaders=' + this.signedHeaders()); + parts.push('Signature=' + this.signature(credentials, datetime)); + return parts.join(', '); + }, + + signature: function signature(credentials, datetime) { + var signingKey = v4Credentials.getSigningKey( + credentials, + datetime.substr(0, 8), + this.request.region, + this.serviceName, + this.signatureCache + ); + return AWS.util.crypto.hmac(signingKey, this.stringToSign(datetime), 'hex'); + }, + + stringToSign: function stringToSign(datetime) { + var parts = []; + parts.push('AWS4-HMAC-SHA256'); + parts.push(datetime); + parts.push(this.credentialString(datetime)); + parts.push(this.hexEncodedHash(this.canonicalString())); + return parts.join('\n'); + }, + + canonicalString: function canonicalString() { + var parts = [], pathname = this.request.pathname(); + if (this.serviceName !== 's3' && this.signatureVersion !== 's3v4') pathname = AWS.util.uriEscapePath(pathname); + + parts.push(this.request.method); + parts.push(pathname); + parts.push(this.request.search()); + parts.push(this.canonicalHeaders() + '\n'); + parts.push(this.signedHeaders()); + parts.push(this.hexEncodedBodyHash()); + return parts.join('\n'); + }, + + canonicalHeaders: function canonicalHeaders() { + var headers = []; + AWS.util.each.call(this, this.request.headers, function (key, item) { + headers.push([key, item]); + }); + headers.sort(function (a, b) { + return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; + }); + var parts = []; + AWS.util.arrayEach.call(this, headers, function (item) { + var key = item[0].toLowerCase(); + if (this.isSignableHeader(key)) { + var value = item[1]; + if (typeof value === 'undefined' || value === null || typeof value.toString !== 'function') { + throw AWS.util.error(new Error('Header ' + key + ' contains invalid value'), { + code: 'InvalidHeader' + }); + } + parts.push(key + ':' + + this.canonicalHeaderValues(value.toString())); + } + }); + return parts.join('\n'); + }, + + canonicalHeaderValues: function canonicalHeaderValues(values) { + return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, ''); + }, + + signedHeaders: function signedHeaders() { + var keys = []; + AWS.util.each.call(this, this.request.headers, function (key) { + key = key.toLowerCase(); + if (this.isSignableHeader(key)) keys.push(key); + }); + return keys.sort().join(';'); + }, + + credentialString: function credentialString(datetime) { + return v4Credentials.createScope( + datetime.substr(0, 8), + this.request.region, + this.serviceName + ); + }, + + hexEncodedHash: function hash(string) { + return AWS.util.crypto.sha256(string, 'hex'); + }, + + hexEncodedBodyHash: function hexEncodedBodyHash() { + var request = this.request; + if (this.isPresigned() && this.serviceName === 's3' && !request.body) { + return 'UNSIGNED-PAYLOAD'; + } else if (request.headers['X-Amz-Content-Sha256']) { + return request.headers['X-Amz-Content-Sha256']; + } else { + return this.hexEncodedHash(this.request.body || ''); + } + }, + + unsignableHeaders: [ + 'authorization', + 'content-type', + 'content-length', + 'user-agent', + expiresHeader, + 'expect', + 'x-amzn-trace-id' + ], + + isSignableHeader: function isSignableHeader(key) { + if (key.toLowerCase().indexOf('x-amz-') === 0) return true; + return this.unsignableHeaders.indexOf(key) < 0; + }, + + isPresigned: function isPresigned() { + return this.request.headers[expiresHeader] ? true : false; + } - /***/ 4016: /***/ function (module) { - module.exports = require("tls"); +}); - /***/ - }, +/** + * @api private + */ +module.exports = AWS.Signers.V4; - /***/ 4068: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["forecastqueryservice"] = {}; - AWS.ForecastQueryService = Service.defineService("forecastqueryservice", [ - "2018-06-26", - ]); - Object.defineProperty( - apiLoader.services["forecastqueryservice"], - "2018-06-26", - { - get: function get() { - var model = __webpack_require__(890); - model.paginators = __webpack_require__(520).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - module.exports = AWS.ForecastQueryService; +/***/ }), - /***/ - }, +/***/ 3756: +/***/ (function(module) { - /***/ 4074: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2017-11-27", - endpointPrefix: "mq", - signingName: "mq", - serviceFullName: "AmazonMQ", - serviceId: "mq", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "mq-2017-11-27", - signatureVersion: "v4", - }, - operations: { - CreateBroker: { - http: { requestUri: "/v1/brokers", responseCode: 200 }, - input: { - type: "structure", - members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerName: { locationName: "brokerName" }, - Configuration: { shape: "S4", locationName: "configuration" }, - CreatorRequestId: { - locationName: "creatorRequestId", - idempotencyToken: true, - }, - DeploymentMode: { locationName: "deploymentMode" }, - EncryptionOptions: { - shape: "S7", - locationName: "encryptionOptions", - }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { shape: "S9", locationName: "logs" }, - MaintenanceWindowStartTime: { - shape: "Sa", - locationName: "maintenanceWindowStartTime", - }, - PubliclyAccessible: { - locationName: "publiclyAccessible", - type: "boolean", - }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, - StorageType: { locationName: "storageType" }, - SubnetIds: { shape: "Sc", locationName: "subnetIds" }, - Tags: { shape: "Se", locationName: "tags" }, - Users: { - locationName: "users", - type: "list", - member: { - type: "structure", - members: { - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Password: { locationName: "password" }, - Username: { locationName: "username" }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - BrokerArn: { locationName: "brokerArn" }, - BrokerId: { locationName: "brokerId" }, - }, - }, - }, - CreateConfiguration: { - http: { requestUri: "/v1/configurations", responseCode: 200 }, - input: { - type: "structure", - members: { - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - Name: { locationName: "name" }, - Tags: { shape: "Se", locationName: "tags" }, - }, - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Created: { shape: "Sk", locationName: "created" }, - Id: { locationName: "id" }, - LatestRevision: { shape: "Sl", locationName: "latestRevision" }, - Name: { locationName: "name" }, - }, - }, - }, - CreateTags: { - http: { requestUri: "/v1/tags/{resource-arn}", responseCode: 204 }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "Se", locationName: "tags" }, - }, - required: ["ResourceArn"], - }, - }, - CreateUser: { - http: { - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Password: { locationName: "password" }, - Username: { location: "uri", locationName: "username" }, - }, - required: ["Username", "BrokerId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteBroker: { - http: { - method: "DELETE", - requestUri: "/v1/brokers/{broker-id}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - }, - required: ["BrokerId"], - }, - output: { - type: "structure", - members: { BrokerId: { locationName: "brokerId" } }, - }, - }, - DeleteTags: { - http: { - method: "DELETE", - requestUri: "/v1/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - shape: "Sc", - location: "querystring", - locationName: "tagKeys", - }, - }, - required: ["TagKeys", "ResourceArn"], - }, - }, - DeleteUser: { - http: { - method: "DELETE", - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - Username: { location: "uri", locationName: "username" }, - }, - required: ["Username", "BrokerId"], - }, - output: { type: "structure", members: {} }, - }, - DescribeBroker: { - http: { - method: "GET", - requestUri: "/v1/brokers/{broker-id}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - }, - required: ["BrokerId"], - }, - output: { - type: "structure", - members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerArn: { locationName: "brokerArn" }, - BrokerId: { locationName: "brokerId" }, - BrokerInstances: { - locationName: "brokerInstances", - type: "list", - member: { - type: "structure", - members: { - ConsoleURL: { locationName: "consoleURL" }, - Endpoints: { shape: "Sc", locationName: "endpoints" }, - IpAddress: { locationName: "ipAddress" }, - }, - }, - }, - BrokerName: { locationName: "brokerName" }, - BrokerState: { locationName: "brokerState" }, - Configurations: { - locationName: "configurations", - type: "structure", - members: { - Current: { shape: "S4", locationName: "current" }, - History: { - locationName: "history", - type: "list", - member: { shape: "S4" }, - }, - Pending: { shape: "S4", locationName: "pending" }, - }, - }, - Created: { shape: "Sk", locationName: "created" }, - DeploymentMode: { locationName: "deploymentMode" }, - EncryptionOptions: { - shape: "S7", - locationName: "encryptionOptions", - }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { - locationName: "logs", - type: "structure", - members: { - Audit: { locationName: "audit", type: "boolean" }, - AuditLogGroup: { locationName: "auditLogGroup" }, - General: { locationName: "general", type: "boolean" }, - GeneralLogGroup: { locationName: "generalLogGroup" }, - Pending: { - locationName: "pending", - type: "structure", - members: { - Audit: { locationName: "audit", type: "boolean" }, - General: { locationName: "general", type: "boolean" }, - }, - }, - }, - }, - MaintenanceWindowStartTime: { - shape: "Sa", - locationName: "maintenanceWindowStartTime", - }, - PendingEngineVersion: { locationName: "pendingEngineVersion" }, - PendingHostInstanceType: { - locationName: "pendingHostInstanceType", - }, - PendingSecurityGroups: { - shape: "Sc", - locationName: "pendingSecurityGroups", - }, - PubliclyAccessible: { - locationName: "publiclyAccessible", - type: "boolean", - }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, - StorageType: { locationName: "storageType" }, - SubnetIds: { shape: "Sc", locationName: "subnetIds" }, - Tags: { shape: "Se", locationName: "tags" }, - Users: { shape: "S13", locationName: "users" }, - }, - }, - }, - DescribeBrokerEngineTypes: { - http: { - method: "GET", - requestUri: "/v1/broker-engine-types", - responseCode: 200, - }, - input: { - type: "structure", - members: { - EngineType: { - location: "querystring", - locationName: "engineType", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - BrokerEngineTypes: { - locationName: "brokerEngineTypes", - type: "list", - member: { - type: "structure", - members: { - EngineType: { locationName: "engineType" }, - EngineVersions: { - locationName: "engineVersions", - type: "list", - member: { - type: "structure", - members: { Name: { locationName: "name" } }, - }, - }, - }, - }, - }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - DescribeBrokerInstanceOptions: { - http: { - method: "GET", - requestUri: "/v1/broker-instance-options", - responseCode: 200, - }, - input: { - type: "structure", - members: { - EngineType: { - location: "querystring", - locationName: "engineType", - }, - HostInstanceType: { - location: "querystring", - locationName: "hostInstanceType", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - StorageType: { - location: "querystring", - locationName: "storageType", - }, - }, - }, - output: { - type: "structure", - members: { - BrokerInstanceOptions: { - locationName: "brokerInstanceOptions", - type: "list", - member: { - type: "structure", - members: { - AvailabilityZones: { - locationName: "availabilityZones", - type: "list", - member: { - type: "structure", - members: { Name: { locationName: "name" } }, - }, - }, - EngineType: { locationName: "engineType" }, - HostInstanceType: { locationName: "hostInstanceType" }, - StorageType: { locationName: "storageType" }, - SupportedDeploymentModes: { - locationName: "supportedDeploymentModes", - type: "list", - member: {}, - }, - SupportedEngineVersions: { - shape: "Sc", - locationName: "supportedEngineVersions", - }, - }, - }, - }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - DescribeConfiguration: { - http: { - method: "GET", - requestUri: "/v1/configurations/{configuration-id}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - }, - required: ["ConfigurationId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Created: { shape: "Sk", locationName: "created" }, - Description: { locationName: "description" }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - Id: { locationName: "id" }, - LatestRevision: { shape: "Sl", locationName: "latestRevision" }, - Name: { locationName: "name" }, - Tags: { shape: "Se", locationName: "tags" }, - }, - }, - }, - DescribeConfigurationRevision: { - http: { - method: "GET", - requestUri: - "/v1/configurations/{configuration-id}/revisions/{configuration-revision}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - ConfigurationRevision: { - location: "uri", - locationName: "configuration-revision", - }, - }, - required: ["ConfigurationRevision", "ConfigurationId"], - }, - output: { - type: "structure", - members: { - ConfigurationId: { locationName: "configurationId" }, - Created: { shape: "Sk", locationName: "created" }, - Data: { locationName: "data" }, - Description: { locationName: "description" }, - }, - }, - }, - DescribeUser: { - http: { - method: "GET", - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - Username: { location: "uri", locationName: "username" }, - }, - required: ["Username", "BrokerId"], - }, - output: { - type: "structure", - members: { - BrokerId: { locationName: "brokerId" }, - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Pending: { - locationName: "pending", - type: "structure", - members: { - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - PendingChange: { locationName: "pendingChange" }, - }, - }, - Username: { locationName: "username" }, - }, - }, - }, - ListBrokers: { - http: { - method: "GET", - requestUri: "/v1/brokers", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - BrokerSummaries: { - locationName: "brokerSummaries", - type: "list", - member: { - type: "structure", - members: { - BrokerArn: { locationName: "brokerArn" }, - BrokerId: { locationName: "brokerId" }, - BrokerName: { locationName: "brokerName" }, - BrokerState: { locationName: "brokerState" }, - Created: { shape: "Sk", locationName: "created" }, - DeploymentMode: { locationName: "deploymentMode" }, - HostInstanceType: { locationName: "hostInstanceType" }, - }, - }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - ListConfigurationRevisions: { - http: { - method: "GET", - requestUri: "/v1/configurations/{configuration-id}/revisions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - required: ["ConfigurationId"], - }, - output: { - type: "structure", - members: { - ConfigurationId: { locationName: "configurationId" }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, - Revisions: { - locationName: "revisions", - type: "list", - member: { shape: "Sl" }, - }, - }, - }, - }, - 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" }, - Created: { shape: "Sk", locationName: "created" }, - Description: { locationName: "description" }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - Id: { locationName: "id" }, - LatestRevision: { - shape: "Sl", - locationName: "latestRevision", - }, - Name: { locationName: "name" }, - Tags: { shape: "Se", locationName: "tags" }, - }, - }, - }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - ListTags: { - 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: { Tags: { shape: "Se", locationName: "tags" } }, - }, - }, - ListUsers: { - http: { - method: "GET", - requestUri: "/v1/brokers/{broker-id}/users", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - required: ["BrokerId"], - }, - output: { - type: "structure", - members: { - BrokerId: { locationName: "brokerId" }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, - Users: { shape: "S13", locationName: "users" }, - }, - }, - }, - RebootBroker: { - http: { - requestUri: "/v1/brokers/{broker-id}/reboot", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - }, - required: ["BrokerId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateBroker: { - http: { - method: "PUT", - requestUri: "/v1/brokers/{broker-id}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerId: { location: "uri", locationName: "broker-id" }, - Configuration: { shape: "S4", locationName: "configuration" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { shape: "S9", locationName: "logs" }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, - }, - required: ["BrokerId"], - }, - output: { - type: "structure", - members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerId: { locationName: "brokerId" }, - Configuration: { shape: "S4", locationName: "configuration" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { shape: "S9", locationName: "logs" }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, - }, - }, - }, - UpdateConfiguration: { - http: { - method: "PUT", - requestUri: "/v1/configurations/{configuration-id}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - Data: { locationName: "data" }, - Description: { locationName: "description" }, - }, - required: ["ConfigurationId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Created: { shape: "Sk", locationName: "created" }, - Id: { locationName: "id" }, - LatestRevision: { shape: "Sl", locationName: "latestRevision" }, - Name: { locationName: "name" }, - Warnings: { - locationName: "warnings", - type: "list", - member: { - type: "structure", - members: { - AttributeName: { locationName: "attributeName" }, - ElementName: { locationName: "elementName" }, - Reason: { locationName: "reason" }, - }, - }, - }, - }, - }, - }, - UpdateUser: { - http: { - method: "PUT", - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Password: { locationName: "password" }, - Username: { location: "uri", locationName: "username" }, - }, - required: ["Username", "BrokerId"], - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S4: { - type: "structure", - members: { - Id: { locationName: "id" }, - Revision: { locationName: "revision", type: "integer" }, - }, - }, - S7: { - type: "structure", - members: { - KmsKeyId: { locationName: "kmsKeyId" }, - UseAwsOwnedKey: { - locationName: "useAwsOwnedKey", - type: "boolean", - }, - }, - required: ["UseAwsOwnedKey"], - }, - S9: { - type: "structure", - members: { - Audit: { locationName: "audit", type: "boolean" }, - General: { locationName: "general", type: "boolean" }, - }, - }, - Sa: { - type: "structure", - members: { - DayOfWeek: { locationName: "dayOfWeek" }, - TimeOfDay: { locationName: "timeOfDay" }, - TimeZone: { locationName: "timeZone" }, - }, - }, - Sc: { type: "list", member: {} }, - Se: { type: "map", key: {}, value: {} }, - Sk: { type: "timestamp", timestampFormat: "iso8601" }, - Sl: { - type: "structure", - members: { - Created: { shape: "Sk", locationName: "created" }, - Description: { locationName: "description" }, - Revision: { locationName: "revision", type: "integer" }, - }, - }, - S13: { - type: "list", - member: { - type: "structure", - members: { - PendingChange: { locationName: "pendingChange" }, - Username: { locationName: "username" }, - }, - }, - }, - }, - authorizers: { - authorization_strategy: { - name: "authorization_strategy", - type: "provided", - placement: { location: "header", name: "Authorization" }, - }, - }, - }; +module.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"}}}; - /***/ - }, +/***/ }), - /***/ 4080: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-04-19", - endpointPrefix: "dax", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "Amazon DAX", - serviceFullName: "Amazon DynamoDB Accelerator (DAX)", - serviceId: "DAX", - signatureVersion: "v4", - targetPrefix: "AmazonDAXV3", - uid: "dax-2017-04-19", - }, - operations: { - CreateCluster: { - input: { - type: "structure", - required: [ - "ClusterName", - "NodeType", - "ReplicationFactor", - "IamRoleArn", - ], - members: { - ClusterName: {}, - NodeType: {}, - Description: {}, - ReplicationFactor: { type: "integer" }, - AvailabilityZones: { shape: "S4" }, - SubnetGroupName: {}, - SecurityGroupIds: { shape: "S5" }, - PreferredMaintenanceWindow: {}, - NotificationTopicArn: {}, - IamRoleArn: {}, - ParameterGroupName: {}, - Tags: { shape: "S6" }, - SSESpecification: { - type: "structure", - required: ["Enabled"], - members: { Enabled: { type: "boolean" } }, - }, - }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - CreateParameterGroup: { - input: { - type: "structure", - required: ["ParameterGroupName"], - members: { ParameterGroupName: {}, Description: {} }, - }, - output: { - type: "structure", - members: { ParameterGroup: { shape: "Sq" } }, - }, - }, - CreateSubnetGroup: { - input: { - type: "structure", - required: ["SubnetGroupName", "SubnetIds"], - members: { - SubnetGroupName: {}, - Description: {}, - SubnetIds: { shape: "Ss" }, - }, - }, - output: { - type: "structure", - members: { SubnetGroup: { shape: "Su" } }, - }, - }, - DecreaseReplicationFactor: { - input: { - type: "structure", - required: ["ClusterName", "NewReplicationFactor"], - members: { - ClusterName: {}, - NewReplicationFactor: { type: "integer" }, - AvailabilityZones: { shape: "S4" }, - NodeIdsToRemove: { shape: "Se" }, - }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - DeleteCluster: { - input: { - type: "structure", - required: ["ClusterName"], - members: { ClusterName: {} }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - DeleteParameterGroup: { - input: { - type: "structure", - required: ["ParameterGroupName"], - members: { ParameterGroupName: {} }, - }, - output: { type: "structure", members: { DeletionMessage: {} } }, - }, - DeleteSubnetGroup: { - input: { - type: "structure", - required: ["SubnetGroupName"], - members: { SubnetGroupName: {} }, - }, - output: { type: "structure", members: { DeletionMessage: {} } }, - }, - DescribeClusters: { - input: { - type: "structure", - members: { - ClusterNames: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - Clusters: { type: "list", member: { shape: "Sb" } }, - }, - }, - }, - DescribeDefaultParameters: { - input: { - type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, - }, - output: { - type: "structure", - members: { NextToken: {}, Parameters: { shape: "S1b" } }, - }, - }, - DescribeEvents: { - input: { - type: "structure", - members: { - SourceName: {}, - SourceType: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Duration: { type: "integer" }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - Events: { - type: "list", - member: { - type: "structure", - members: { - SourceName: {}, - SourceType: {}, - Message: {}, - Date: { type: "timestamp" }, - }, - }, - }, - }, - }, - }, - DescribeParameterGroups: { - input: { - type: "structure", - members: { - ParameterGroupNames: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - ParameterGroups: { type: "list", member: { shape: "Sq" } }, - }, - }, - }, - DescribeParameters: { - input: { - type: "structure", - required: ["ParameterGroupName"], - members: { - ParameterGroupName: {}, - Source: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { NextToken: {}, Parameters: { shape: "S1b" } }, - }, - }, - DescribeSubnetGroups: { - input: { - type: "structure", - members: { - SubnetGroupNames: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - SubnetGroups: { type: "list", member: { shape: "Su" } }, - }, - }, - }, - IncreaseReplicationFactor: { - input: { - type: "structure", - required: ["ClusterName", "NewReplicationFactor"], - members: { - ClusterName: {}, - NewReplicationFactor: { type: "integer" }, - AvailabilityZones: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - ListTags: { - input: { - type: "structure", - required: ["ResourceName"], - members: { ResourceName: {}, NextToken: {} }, - }, - output: { - type: "structure", - members: { Tags: { shape: "S6" }, NextToken: {} }, - }, - }, - RebootNode: { - input: { - type: "structure", - required: ["ClusterName", "NodeId"], - members: { ClusterName: {}, NodeId: {} }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceName", "Tags"], - members: { ResourceName: {}, Tags: { shape: "S6" } }, - }, - output: { type: "structure", members: { Tags: { shape: "S6" } } }, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceName", "TagKeys"], - members: { - ResourceName: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: { Tags: { shape: "S6" } } }, - }, - UpdateCluster: { - input: { - type: "structure", - required: ["ClusterName"], - members: { - ClusterName: {}, - Description: {}, - PreferredMaintenanceWindow: {}, - NotificationTopicArn: {}, - NotificationTopicStatus: {}, - ParameterGroupName: {}, - SecurityGroupIds: { shape: "S5" }, - }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - UpdateParameterGroup: { - input: { - type: "structure", - required: ["ParameterGroupName", "ParameterNameValues"], - members: { - ParameterGroupName: {}, - ParameterNameValues: { - type: "list", - member: { - type: "structure", - members: { ParameterName: {}, ParameterValue: {} }, - }, - }, - }, - }, - output: { - type: "structure", - members: { ParameterGroup: { shape: "Sq" } }, - }, - }, - UpdateSubnetGroup: { - input: { - type: "structure", - required: ["SubnetGroupName"], - members: { - SubnetGroupName: {}, - Description: {}, - SubnetIds: { shape: "Ss" }, - }, - }, - output: { - type: "structure", - members: { SubnetGroup: { shape: "Su" } }, - }, - }, - }, - shapes: { - S4: { type: "list", member: {} }, - S5: { type: "list", member: {} }, - S6: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - Sb: { - type: "structure", - members: { - ClusterName: {}, - Description: {}, - ClusterArn: {}, - TotalNodes: { type: "integer" }, - ActiveNodes: { type: "integer" }, - NodeType: {}, - Status: {}, - ClusterDiscoveryEndpoint: { shape: "Sd" }, - NodeIdsToRemove: { shape: "Se" }, - Nodes: { - type: "list", - member: { - type: "structure", - members: { - NodeId: {}, - Endpoint: { shape: "Sd" }, - NodeCreateTime: { type: "timestamp" }, - AvailabilityZone: {}, - NodeStatus: {}, - ParameterGroupStatus: {}, - }, - }, - }, - PreferredMaintenanceWindow: {}, - NotificationConfiguration: { - type: "structure", - members: { TopicArn: {}, TopicStatus: {} }, - }, - SubnetGroup: {}, - SecurityGroups: { - type: "list", - member: { - type: "structure", - members: { SecurityGroupIdentifier: {}, Status: {} }, - }, - }, - IamRoleArn: {}, - ParameterGroup: { - type: "structure", - members: { - ParameterGroupName: {}, - ParameterApplyStatus: {}, - NodeIdsToReboot: { shape: "Se" }, - }, - }, - SSEDescription: { type: "structure", members: { Status: {} } }, - }, - }, - Sd: { - type: "structure", - members: { Address: {}, Port: { type: "integer" } }, - }, - Se: { type: "list", member: {} }, - Sq: { - type: "structure", - members: { ParameterGroupName: {}, Description: {} }, - }, - Ss: { type: "list", member: {} }, - Su: { - type: "structure", - members: { - SubnetGroupName: {}, - Description: {}, - VpcId: {}, - Subnets: { - type: "list", - member: { - type: "structure", - members: { SubnetIdentifier: {}, SubnetAvailabilityZone: {} }, - }, - }, - }, - }, - S1b: { - type: "list", - member: { - type: "structure", - members: { - ParameterName: {}, - ParameterType: {}, - ParameterValue: {}, - NodeTypeSpecificValues: { - type: "list", - member: { - type: "structure", - members: { NodeType: {}, Value: {} }, - }, - }, - Description: {}, - Source: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: {}, - ChangeType: {}, - }, - }, - }, - }, - }; +/***/ 3762: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-09-24","endpointPrefix":"managedblockchain","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"ManagedBlockchain","serviceFullName":"Amazon Managed Blockchain","serviceId":"ManagedBlockchain","signatureVersion":"v4","signingName":"managedblockchain","uid":"managedblockchain-2018-09-24"},"operations":{"CreateMember":{"http":{"requestUri":"/networks/{networkId}/members"},"input":{"type":"structure","required":["ClientRequestToken","InvitationId","NetworkId","MemberConfiguration"],"members":{"ClientRequestToken":{"idempotencyToken":true},"InvitationId":{},"NetworkId":{"location":"uri","locationName":"networkId"},"MemberConfiguration":{"shape":"S4"}}},"output":{"type":"structure","members":{"MemberId":{}}}},"CreateNetwork":{"http":{"requestUri":"/networks"},"input":{"type":"structure","required":["ClientRequestToken","Name","Framework","FrameworkVersion","VotingPolicy","MemberConfiguration"],"members":{"ClientRequestToken":{"idempotencyToken":true},"Name":{},"Description":{},"Framework":{},"FrameworkVersion":{},"FrameworkConfiguration":{"type":"structure","members":{"Fabric":{"type":"structure","required":["Edition"],"members":{"Edition":{}}}}},"VotingPolicy":{"shape":"So"},"MemberConfiguration":{"shape":"S4"}}},"output":{"type":"structure","members":{"NetworkId":{},"MemberId":{}}}},"CreateNode":{"http":{"requestUri":"/networks/{networkId}/members/{memberId}/nodes"},"input":{"type":"structure","required":["ClientRequestToken","NetworkId","MemberId","NodeConfiguration"],"members":{"ClientRequestToken":{"idempotencyToken":true},"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"},"NodeConfiguration":{"type":"structure","required":["InstanceType","AvailabilityZone"],"members":{"InstanceType":{},"AvailabilityZone":{},"LogPublishingConfiguration":{"shape":"Sy"},"StateDB":{}}}}},"output":{"type":"structure","members":{"NodeId":{}}}},"CreateProposal":{"http":{"requestUri":"/networks/{networkId}/proposals"},"input":{"type":"structure","required":["ClientRequestToken","NetworkId","MemberId","Actions"],"members":{"ClientRequestToken":{"idempotencyToken":true},"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{},"Actions":{"shape":"S13"},"Description":{}}},"output":{"type":"structure","members":{"ProposalId":{}}}},"DeleteMember":{"http":{"method":"DELETE","requestUri":"/networks/{networkId}/members/{memberId}"},"input":{"type":"structure","required":["NetworkId","MemberId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"}}},"output":{"type":"structure","members":{}}},"DeleteNode":{"http":{"method":"DELETE","requestUri":"/networks/{networkId}/members/{memberId}/nodes/{nodeId}"},"input":{"type":"structure","required":["NetworkId","MemberId","NodeId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"},"NodeId":{"location":"uri","locationName":"nodeId"}}},"output":{"type":"structure","members":{}}},"GetMember":{"http":{"method":"GET","requestUri":"/networks/{networkId}/members/{memberId}"},"input":{"type":"structure","required":["NetworkId","MemberId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"}}},"output":{"type":"structure","members":{"Member":{"type":"structure","members":{"NetworkId":{},"Id":{},"Name":{},"Description":{},"FrameworkAttributes":{"type":"structure","members":{"Fabric":{"type":"structure","members":{"AdminUsername":{},"CaEndpoint":{}}}}},"LogPublishingConfiguration":{"shape":"Sb"},"Status":{},"CreationDate":{"shape":"S1l"}}}}}},"GetNetwork":{"http":{"method":"GET","requestUri":"/networks/{networkId}"},"input":{"type":"structure","required":["NetworkId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"}}},"output":{"type":"structure","members":{"Network":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"Framework":{},"FrameworkVersion":{},"FrameworkAttributes":{"type":"structure","members":{"Fabric":{"type":"structure","members":{"OrderingServiceEndpoint":{},"Edition":{}}}}},"VpcEndpointServiceName":{},"VotingPolicy":{"shape":"So"},"Status":{},"CreationDate":{"shape":"S1l"}}}}}},"GetNode":{"http":{"method":"GET","requestUri":"/networks/{networkId}/members/{memberId}/nodes/{nodeId}"},"input":{"type":"structure","required":["NetworkId","MemberId","NodeId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"},"NodeId":{"location":"uri","locationName":"nodeId"}}},"output":{"type":"structure","members":{"Node":{"type":"structure","members":{"NetworkId":{},"MemberId":{},"Id":{},"InstanceType":{},"AvailabilityZone":{},"FrameworkAttributes":{"type":"structure","members":{"Fabric":{"type":"structure","members":{"PeerEndpoint":{},"PeerEventEndpoint":{}}}}},"LogPublishingConfiguration":{"shape":"Sy"},"StateDB":{},"Status":{},"CreationDate":{"shape":"S1l"}}}}}},"GetProposal":{"http":{"method":"GET","requestUri":"/networks/{networkId}/proposals/{proposalId}"},"input":{"type":"structure","required":["NetworkId","ProposalId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"ProposalId":{"location":"uri","locationName":"proposalId"}}},"output":{"type":"structure","members":{"Proposal":{"type":"structure","members":{"ProposalId":{},"NetworkId":{},"Description":{},"Actions":{"shape":"S13"},"ProposedByMemberId":{},"ProposedByMemberName":{},"Status":{},"CreationDate":{"shape":"S1l"},"ExpirationDate":{"shape":"S1l"},"YesVoteCount":{"type":"integer"},"NoVoteCount":{"type":"integer"},"OutstandingVoteCount":{"type":"integer"}}}}}},"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":{"type":"structure","members":{"InvitationId":{},"CreationDate":{"shape":"S1l"},"ExpirationDate":{"shape":"S1l"},"Status":{},"NetworkSummary":{"shape":"S2a"}}}},"NextToken":{}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/networks/{networkId}/members"},"input":{"type":"structure","required":["NetworkId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"Name":{"location":"querystring","locationName":"name"},"Status":{"location":"querystring","locationName":"status"},"IsOwned":{"location":"querystring","locationName":"isOwned","type":"boolean"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Members":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"Status":{},"CreationDate":{"shape":"S1l"},"IsOwned":{"type":"boolean"}}}},"NextToken":{}}}},"ListNetworks":{"http":{"method":"GET","requestUri":"/networks"},"input":{"type":"structure","members":{"Name":{"location":"querystring","locationName":"name"},"Framework":{"location":"querystring","locationName":"framework"},"Status":{"location":"querystring","locationName":"status"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Networks":{"type":"list","member":{"shape":"S2a"}},"NextToken":{}}}},"ListNodes":{"http":{"method":"GET","requestUri":"/networks/{networkId}/members/{memberId}/nodes"},"input":{"type":"structure","required":["NetworkId","MemberId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"},"Status":{"location":"querystring","locationName":"status"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Nodes":{"type":"list","member":{"type":"structure","members":{"Id":{},"Status":{},"CreationDate":{"shape":"S1l"},"AvailabilityZone":{},"InstanceType":{}}}},"NextToken":{}}}},"ListProposalVotes":{"http":{"method":"GET","requestUri":"/networks/{networkId}/proposals/{proposalId}/votes"},"input":{"type":"structure","required":["NetworkId","ProposalId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"ProposalId":{"location":"uri","locationName":"proposalId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ProposalVotes":{"type":"list","member":{"type":"structure","members":{"Vote":{},"MemberName":{},"MemberId":{}}}},"NextToken":{}}}},"ListProposals":{"http":{"method":"GET","requestUri":"/networks/{networkId}/proposals"},"input":{"type":"structure","required":["NetworkId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Proposals":{"type":"list","member":{"type":"structure","members":{"ProposalId":{},"Description":{},"ProposedByMemberId":{},"ProposedByMemberName":{},"Status":{},"CreationDate":{"shape":"S1l"},"ExpirationDate":{"shape":"S1l"}}}},"NextToken":{}}}},"RejectInvitation":{"http":{"method":"DELETE","requestUri":"/invitations/{invitationId}"},"input":{"type":"structure","required":["InvitationId"],"members":{"InvitationId":{"location":"uri","locationName":"invitationId"}}},"output":{"type":"structure","members":{}}},"UpdateMember":{"http":{"method":"PATCH","requestUri":"/networks/{networkId}/members/{memberId}"},"input":{"type":"structure","required":["NetworkId","MemberId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"},"LogPublishingConfiguration":{"shape":"Sb"}}},"output":{"type":"structure","members":{}}},"UpdateNode":{"http":{"method":"PATCH","requestUri":"/networks/{networkId}/members/{memberId}/nodes/{nodeId}"},"input":{"type":"structure","required":["NetworkId","MemberId","NodeId"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"MemberId":{"location":"uri","locationName":"memberId"},"NodeId":{"location":"uri","locationName":"nodeId"},"LogPublishingConfiguration":{"shape":"Sy"}}},"output":{"type":"structure","members":{}}},"VoteOnProposal":{"http":{"requestUri":"/networks/{networkId}/proposals/{proposalId}/votes"},"input":{"type":"structure","required":["NetworkId","ProposalId","VoterMemberId","Vote"],"members":{"NetworkId":{"location":"uri","locationName":"networkId"},"ProposalId":{"location":"uri","locationName":"proposalId"},"VoterMemberId":{},"Vote":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S4":{"type":"structure","required":["Name","FrameworkConfiguration"],"members":{"Name":{},"Description":{},"FrameworkConfiguration":{"type":"structure","members":{"Fabric":{"type":"structure","required":["AdminUsername","AdminPassword"],"members":{"AdminUsername":{},"AdminPassword":{"type":"string","sensitive":true}}}}},"LogPublishingConfiguration":{"shape":"Sb"}}},"Sb":{"type":"structure","members":{"Fabric":{"type":"structure","members":{"CaLogs":{"shape":"Sd"}}}}},"Sd":{"type":"structure","members":{"Cloudwatch":{"type":"structure","members":{"Enabled":{"type":"boolean"}}}}},"So":{"type":"structure","members":{"ApprovalThresholdPolicy":{"type":"structure","members":{"ThresholdPercentage":{"type":"integer"},"ProposalDurationInHours":{"type":"integer"},"ThresholdComparator":{}}}}},"Sy":{"type":"structure","members":{"Fabric":{"type":"structure","members":{"ChaincodeLogs":{"shape":"Sd"},"PeerLogs":{"shape":"Sd"}}}}},"S13":{"type":"structure","members":{"Invitations":{"type":"list","member":{"type":"structure","required":["Principal"],"members":{"Principal":{}}}},"Removals":{"type":"list","member":{"type":"structure","required":["MemberId"],"members":{"MemberId":{}}}}}},"S1l":{"type":"timestamp","timestampFormat":"iso8601"},"S2a":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"Framework":{},"FrameworkVersion":{},"Status":{},"CreationDate":{"shape":"S1l"}}}}}; - /***/ 4086: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ }), - apiLoader.services["codecommit"] = {}; - AWS.CodeCommit = Service.defineService("codecommit", ["2015-04-13"]); - Object.defineProperty(apiLoader.services["codecommit"], "2015-04-13", { - get: function get() { - var model = __webpack_require__(4208); - model.paginators = __webpack_require__(1327).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ 3763: +/***/ (function(module) { - module.exports = AWS.CodeCommit; +module.exports = {"pagination":{}}; - /***/ - }, +/***/ }), - /***/ 4105: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ 3768: +/***/ (function(module) { - apiLoader.services["eventbridge"] = {}; - AWS.EventBridge = Service.defineService("eventbridge", ["2015-10-07"]); - Object.defineProperty(apiLoader.services["eventbridge"], "2015-10-07", { - get: function get() { - var model = __webpack_require__(887); - model.paginators = __webpack_require__(6257).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +"use strict"; - module.exports = AWS.EventBridge; +module.exports = function (x) { + var lf = typeof x === 'string' ? '\n' : '\n'.charCodeAt(); + var cr = typeof x === 'string' ? '\r' : '\r'.charCodeAt(); - /***/ - }, + if (x[x.length - 1] === lf) { + x = x.slice(0, x.length - 1); + } - /***/ 4112: /***/ function (module) { - module.exports = { pagination: {} }; + if (x[x.length - 1] === cr) { + x = x.slice(0, x.length - 1); + } - /***/ - }, + return x; +}; - /***/ 4120: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - var LRU_1 = __webpack_require__(8629); - var CACHE_SIZE = 1000; - /** - * Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache] - */ - var EndpointCache = /** @class */ (function () { - function EndpointCache(maxSize) { - if (maxSize === void 0) { - maxSize = CACHE_SIZE; - } - this.maxSize = maxSize; - this.cache = new LRU_1.LRUCache(maxSize); - } - Object.defineProperty(EndpointCache.prototype, "size", { - get: function () { - return this.cache.length; - }, - enumerable: true, - configurable: true, - }); - EndpointCache.prototype.put = function (key, value) { - var keyString = - typeof key !== "string" ? EndpointCache.getKeyString(key) : key; - var endpointRecord = this.populateValue(value); - this.cache.put(keyString, endpointRecord); - }; - EndpointCache.prototype.get = function (key) { - var keyString = - typeof key !== "string" ? EndpointCache.getKeyString(key) : key; - var now = Date.now(); - var records = this.cache.get(keyString); - if (records) { - for (var i = 0; i < records.length; i++) { - var record = records[i]; - if (record.Expire < now) { - this.cache.remove(keyString); - return undefined; - } - } - } - return records; - }; - EndpointCache.getKeyString = function (key) { - var identifiers = []; - var identifierNames = Object.keys(key).sort(); - for (var i = 0; i < identifierNames.length; i++) { - var identifierName = identifierNames[i]; - if (key[identifierName] === undefined) continue; - identifiers.push(key[identifierName]); - } - return identifiers.join(" "); - }; - EndpointCache.prototype.populateValue = function (endpoints) { - var now = Date.now(); - return endpoints.map(function (endpoint) { - return { - Address: endpoint.Address || "", - Expire: now + (endpoint.CachePeriodInMinutes || 1) * 60 * 1000, - }; - }); - }; - EndpointCache.prototype.empty = function () { - this.cache.empty(); - }; - EndpointCache.prototype.remove = function (key) { - var keyString = - typeof key !== "string" ? EndpointCache.getKeyString(key) : key; - this.cache.remove(keyString); - }; - return EndpointCache; - })(); - exports.EndpointCache = EndpointCache; - /***/ - }, +/***/ }), - /***/ 4122: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["connectparticipant"] = {}; - AWS.ConnectParticipant = Service.defineService("connectparticipant", [ - "2018-09-07", - ]); - Object.defineProperty( - apiLoader.services["connectparticipant"], - "2018-09-07", - { - get: function get() { - var model = __webpack_require__(8301); - model.paginators = __webpack_require__(4371).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/***/ 3773: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.ConnectParticipant; +var rng = __webpack_require__(1881); +var bytesToUuid = __webpack_require__(2390); - /***/ - }, +// **`v1()` - Generate time-based UUID** +// +// Inspired by https://github.com/LiosK/UUID.js +// and http://docs.python.org/library/uuid.html - /***/ 4126: /***/ function (module) { - module.exports = { - pagination: { - ListJobs: { - input_token: "Marker", - output_token: "Jobs[-1].JobId", - more_results: "IsTruncated", - limit_key: "MaxJobs", - result_key: "Jobs", - }, - }, - }; +var _nodeId; +var _clockseq; - /***/ - }, +// Previous uuid creation time +var _lastMSecs = 0; +var _lastNSecs = 0; - /***/ 4128: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["networkmanager"] = {}; - AWS.NetworkManager = Service.defineService("networkmanager", [ - "2019-07-05", - ]); - Object.defineProperty( - apiLoader.services["networkmanager"], - "2019-07-05", - { - get: function get() { - var model = __webpack_require__(8424); - model.paginators = __webpack_require__(8934).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +// See https://github.com/broofa/node-uuid for API details +function v1(options, buf, offset) { + var i = buf && offset || 0; + var b = buf || []; - module.exports = AWS.NetworkManager; + options = options || {}; + var node = options.node || _nodeId; + var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; - /***/ - }, + // node and clockseq need to be initialized to random values if they're not + // specified. We do this lazily to minimize issues related to insufficient + // system entropy. See #189 + if (node == null || clockseq == null) { + var seedBytes = rng(); + if (node == null) { + // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) + node = _nodeId = [ + seedBytes[0] | 0x01, + seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5] + ]; + } + if (clockseq == null) { + // Per 4.2.2, randomize (14 bit) clockseq + clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff; + } + } - /***/ 4136: /***/ function (module) { - module.exports = { - pagination: { - DescribeInstanceHealth: { result_key: "InstanceStates" }, - DescribeLoadBalancerPolicies: { result_key: "PolicyDescriptions" }, - DescribeLoadBalancerPolicyTypes: { - result_key: "PolicyTypeDescriptions", - }, - DescribeLoadBalancers: { - input_token: "Marker", - output_token: "NextMarker", - result_key: "LoadBalancerDescriptions", - }, - }, - }; + // UUID timestamps are 100 nano-second units since the Gregorian epoch, + // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so + // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' + // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. + var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); - /***/ - }, + // Per 4.2.1.2, use count of uuid's generated during the current clock + // cycle to simulate higher resolution clock + var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; - /***/ 4155: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2014-05-30", - endpointPrefix: "cloudhsm", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "CloudHSM", - serviceFullName: "Amazon CloudHSM", - serviceId: "CloudHSM", - signatureVersion: "v4", - targetPrefix: "CloudHsmFrontendService", - uid: "cloudhsm-2014-05-30", - }, - operations: { - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceArn", "TagList"], - members: { ResourceArn: {}, TagList: { shape: "S3" } }, - }, - output: { - type: "structure", - required: ["Status"], - members: { Status: {} }, - }, - }, - CreateHapg: { - input: { - type: "structure", - required: ["Label"], - members: { Label: {} }, - }, - output: { type: "structure", members: { HapgArn: {} } }, - }, - CreateHsm: { - input: { - type: "structure", - required: [ - "SubnetId", - "SshKey", - "IamRoleArn", - "SubscriptionType", - ], - members: { - SubnetId: { locationName: "SubnetId" }, - SshKey: { locationName: "SshKey" }, - EniIp: { locationName: "EniIp" }, - IamRoleArn: { locationName: "IamRoleArn" }, - ExternalId: { locationName: "ExternalId" }, - SubscriptionType: { locationName: "SubscriptionType" }, - ClientToken: { locationName: "ClientToken" }, - SyslogIp: { locationName: "SyslogIp" }, - }, - locationName: "CreateHsmRequest", - }, - output: { type: "structure", members: { HsmArn: {} } }, - }, - CreateLunaClient: { - input: { - type: "structure", - required: ["Certificate"], - members: { Label: {}, Certificate: {} }, - }, - output: { type: "structure", members: { ClientArn: {} } }, - }, - DeleteHapg: { - input: { - type: "structure", - required: ["HapgArn"], - members: { HapgArn: {} }, - }, - output: { - type: "structure", - required: ["Status"], - members: { Status: {} }, - }, - }, - DeleteHsm: { - input: { - type: "structure", - required: ["HsmArn"], - members: { HsmArn: { locationName: "HsmArn" } }, - locationName: "DeleteHsmRequest", - }, - output: { - type: "structure", - required: ["Status"], - members: { Status: {} }, - }, - }, - DeleteLunaClient: { - input: { - type: "structure", - required: ["ClientArn"], - members: { ClientArn: {} }, - }, - output: { - type: "structure", - required: ["Status"], - members: { Status: {} }, - }, - }, - DescribeHapg: { - input: { - type: "structure", - required: ["HapgArn"], - members: { HapgArn: {} }, - }, - output: { - type: "structure", - members: { - HapgArn: {}, - HapgSerial: {}, - HsmsLastActionFailed: { shape: "Sz" }, - HsmsPendingDeletion: { shape: "Sz" }, - HsmsPendingRegistration: { shape: "Sz" }, - Label: {}, - LastModifiedTimestamp: {}, - PartitionSerialList: { shape: "S11" }, - State: {}, - }, - }, - }, - DescribeHsm: { - input: { - type: "structure", - members: { HsmArn: {}, HsmSerialNumber: {} }, - }, - output: { - type: "structure", - members: { - HsmArn: {}, - Status: {}, - StatusDetails: {}, - AvailabilityZone: {}, - EniId: {}, - EniIp: {}, - SubscriptionType: {}, - SubscriptionStartDate: {}, - SubscriptionEndDate: {}, - VpcId: {}, - SubnetId: {}, - IamRoleArn: {}, - SerialNumber: {}, - VendorName: {}, - HsmType: {}, - SoftwareVersion: {}, - SshPublicKey: {}, - SshKeyLastUpdated: {}, - ServerCertUri: {}, - ServerCertLastUpdated: {}, - Partitions: { type: "list", member: {} }, - }, - }, - }, - DescribeLunaClient: { - input: { - type: "structure", - members: { ClientArn: {}, CertificateFingerprint: {} }, - }, - output: { - type: "structure", - members: { - ClientArn: {}, - Certificate: {}, - CertificateFingerprint: {}, - LastModifiedTimestamp: {}, - Label: {}, - }, - }, - }, - GetConfig: { - input: { - type: "structure", - required: ["ClientArn", "ClientVersion", "HapgList"], - members: { - ClientArn: {}, - ClientVersion: {}, - HapgList: { shape: "S1i" }, - }, - }, - output: { - type: "structure", - members: { ConfigType: {}, ConfigFile: {}, ConfigCred: {} }, - }, - }, - ListAvailableZones: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { AZList: { type: "list", member: {} } }, - }, - }, - ListHapgs: { - input: { type: "structure", members: { NextToken: {} } }, - output: { - type: "structure", - required: ["HapgList"], - members: { HapgList: { shape: "S1i" }, NextToken: {} }, - }, - }, - ListHsms: { - input: { type: "structure", members: { NextToken: {} } }, - output: { - type: "structure", - members: { HsmList: { shape: "Sz" }, NextToken: {} }, - }, - }, - ListLunaClients: { - input: { type: "structure", members: { NextToken: {} } }, - output: { - type: "structure", - required: ["ClientList"], - members: { - ClientList: { type: "list", member: {} }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { - type: "structure", - required: ["TagList"], - members: { TagList: { shape: "S3" } }, - }, - }, - ModifyHapg: { - input: { - type: "structure", - required: ["HapgArn"], - members: { - HapgArn: {}, - Label: {}, - PartitionSerialList: { shape: "S11" }, - }, - }, - output: { type: "structure", members: { HapgArn: {} } }, - }, - ModifyHsm: { - input: { - type: "structure", - required: ["HsmArn"], - members: { - HsmArn: { locationName: "HsmArn" }, - SubnetId: { locationName: "SubnetId" }, - EniIp: { locationName: "EniIp" }, - IamRoleArn: { locationName: "IamRoleArn" }, - ExternalId: { locationName: "ExternalId" }, - SyslogIp: { locationName: "SyslogIp" }, - }, - locationName: "ModifyHsmRequest", - }, - output: { type: "structure", members: { HsmArn: {} } }, - }, - ModifyLunaClient: { - input: { - type: "structure", - required: ["ClientArn", "Certificate"], - members: { ClientArn: {}, Certificate: {} }, - }, - output: { type: "structure", members: { ClientArn: {} } }, - }, - RemoveTagsFromResource: { - input: { - type: "structure", - required: ["ResourceArn", "TagKeyList"], - members: { - ResourceArn: {}, - TagKeyList: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - required: ["Status"], - members: { Status: {} }, - }, - }, - }, - shapes: { - S3: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sz: { type: "list", member: {} }, - S11: { type: "list", member: {} }, - S1i: { type: "list", member: {} }, - }, - }; + // Time since last uuid creation (in msecs) + var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000; - /***/ - }, + // Per 4.2.1.2, Bump clockseq on clock regression + if (dt < 0 && options.clockseq === undefined) { + clockseq = clockseq + 1 & 0x3fff; + } - /***/ 4190: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = authenticationPlugin; + // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new + // time interval + if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { + nsecs = 0; + } - const { createTokenAuth } = __webpack_require__(9813); - const { Deprecation } = __webpack_require__(7692); - const once = __webpack_require__(6049); + // Per 4.2.1.2 Throw error if too many uuids are requested + if (nsecs >= 10000) { + throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec'); + } - const beforeRequest = __webpack_require__(6863); - const requestError = __webpack_require__(7293); - const validate = __webpack_require__(6489); - const withAuthorizationPrefix = __webpack_require__(3143); + _lastMSecs = msecs; + _lastNSecs = nsecs; + _clockseq = clockseq; - const deprecateAuthBasic = once((log, deprecation) => - log.warn(deprecation) - ); - const deprecateAuthObject = once((log, deprecation) => - log.warn(deprecation) - ); + // Per 4.1.4 - Convert from unix epoch to Gregorian epoch + msecs += 12219292800000; - function authenticationPlugin(octokit, options) { - // If `options.authStrategy` is set then use it and pass in `options.auth` - if (options.authStrategy) { - const auth = options.authStrategy(options.auth); - octokit.hook.wrap("request", auth.hook); - octokit.auth = auth; - return; - } + // `time_low` + var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; + b[i++] = tl >>> 24 & 0xff; + b[i++] = tl >>> 16 & 0xff; + b[i++] = tl >>> 8 & 0xff; + b[i++] = tl & 0xff; - // If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `octokit.auth()` method is a no-op and no request hook is registred. - if (!options.auth) { - octokit.auth = () => - Promise.resolve({ - type: "unauthenticated", - }); - return; - } + // `time_mid` + var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff; + b[i++] = tmh >>> 8 & 0xff; + b[i++] = tmh & 0xff; - const isBasicAuthString = - typeof options.auth === "string" && - /^basic/.test(withAuthorizationPrefix(options.auth)); + // `time_high_and_version` + b[i++] = tmh >>> 24 & 0xf | 0x10; // include version + b[i++] = tmh >>> 16 & 0xff; - // If only `options.auth` is set to a string, use the default token authentication strategy. - if (typeof options.auth === "string" && !isBasicAuthString) { - const auth = createTokenAuth(options.auth); - octokit.hook.wrap("request", auth.hook); - octokit.auth = auth; - return; - } + // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) + b[i++] = clockseq >>> 8 | 0x80; - // Otherwise log a deprecation message - const [deprecationMethod, deprecationMessapge] = isBasicAuthString - ? [ - deprecateAuthBasic, - 'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)', - ] - : [ - deprecateAuthObject, - 'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)', - ]; - deprecationMethod( - octokit.log, - new Deprecation("[@octokit/rest] " + deprecationMessapge) - ); + // `clock_seq_low` + b[i++] = clockseq & 0xff; - octokit.auth = () => - Promise.resolve({ - type: "deprecated", - message: deprecationMessapge, - }); + // `node` + for (var n = 0; n < 6; ++n) { + b[i + n] = node[n]; + } - validate(options.auth); + return buf ? buf : bytesToUuid(b); +} - const state = { - octokit, - auth: options.auth, - }; +module.exports = v1; - octokit.hook.before("request", beforeRequest.bind(null, state)); - octokit.hook.error("request", requestError.bind(null, state)); - } - /***/ - }, +/***/ }), - /***/ 4208: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-04-13", - endpointPrefix: "codecommit", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "CodeCommit", - serviceFullName: "AWS CodeCommit", - serviceId: "CodeCommit", - signatureVersion: "v4", - targetPrefix: "CodeCommit_20150413", - uid: "codecommit-2015-04-13", - }, - operations: { - AssociateApprovalRuleTemplateWithRepository: { - input: { - type: "structure", - required: ["approvalRuleTemplateName", "repositoryName"], - members: { approvalRuleTemplateName: {}, repositoryName: {} }, - }, - }, - BatchAssociateApprovalRuleTemplateWithRepositories: { - input: { - type: "structure", - required: ["approvalRuleTemplateName", "repositoryNames"], - members: { - approvalRuleTemplateName: {}, - repositoryNames: { shape: "S5" }, - }, - }, - output: { - type: "structure", - required: ["associatedRepositoryNames", "errors"], - members: { - associatedRepositoryNames: { shape: "S5" }, - errors: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - errorCode: {}, - errorMessage: {}, - }, - }, - }, - }, - }, - }, - BatchDescribeMergeConflicts: { - input: { - type: "structure", - required: [ - "repositoryName", - "destinationCommitSpecifier", - "sourceCommitSpecifier", - "mergeOption", - ], - members: { - repositoryName: {}, - destinationCommitSpecifier: {}, - sourceCommitSpecifier: {}, - mergeOption: {}, - maxMergeHunks: { type: "integer" }, - maxConflictFiles: { type: "integer" }, - filePaths: { type: "list", member: {} }, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - nextToken: {}, - }, - }, - output: { - type: "structure", - required: ["conflicts", "destinationCommitId", "sourceCommitId"], - members: { - conflicts: { - type: "list", - member: { - type: "structure", - members: { - conflictMetadata: { shape: "Sn" }, - mergeHunks: { shape: "S12" }, - }, - }, - }, - nextToken: {}, - errors: { - type: "list", - member: { - type: "structure", - required: ["filePath", "exceptionName", "message"], - members: { filePath: {}, exceptionName: {}, message: {} }, - }, - }, - destinationCommitId: {}, - sourceCommitId: {}, - baseCommitId: {}, - }, - }, - }, - BatchDisassociateApprovalRuleTemplateFromRepositories: { - input: { - type: "structure", - required: ["approvalRuleTemplateName", "repositoryNames"], - members: { - approvalRuleTemplateName: {}, - repositoryNames: { shape: "S5" }, - }, - }, - output: { - type: "structure", - required: ["disassociatedRepositoryNames", "errors"], - members: { - disassociatedRepositoryNames: { shape: "S5" }, - errors: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - errorCode: {}, - errorMessage: {}, - }, - }, - }, - }, - }, - }, - BatchGetCommits: { - input: { - type: "structure", - required: ["commitIds", "repositoryName"], - members: { - commitIds: { type: "list", member: {} }, - repositoryName: {}, - }, - }, - output: { - type: "structure", - members: { - commits: { type: "list", member: { shape: "S1l" } }, - errors: { - type: "list", - member: { - type: "structure", - members: { commitId: {}, errorCode: {}, errorMessage: {} }, - }, - }, - }, - }, - }, - BatchGetRepositories: { - input: { - type: "structure", - required: ["repositoryNames"], - members: { repositoryNames: { shape: "S5" } }, - }, - output: { - type: "structure", - members: { - repositories: { type: "list", member: { shape: "S1x" } }, - repositoriesNotFound: { type: "list", member: {} }, - }, - }, - }, - CreateApprovalRuleTemplate: { - input: { - type: "structure", - required: [ - "approvalRuleTemplateName", - "approvalRuleTemplateContent", - ], - members: { - approvalRuleTemplateName: {}, - approvalRuleTemplateContent: {}, - approvalRuleTemplateDescription: {}, - }, - }, - output: { - type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, - }, - }, - CreateBranch: { - input: { - type: "structure", - required: ["repositoryName", "branchName", "commitId"], - members: { repositoryName: {}, branchName: {}, commitId: {} }, - }, - }, - CreateCommit: { - input: { - type: "structure", - required: ["repositoryName", "branchName"], - members: { - repositoryName: {}, - branchName: {}, - parentCommitId: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - putFiles: { - type: "list", - member: { - type: "structure", - required: ["filePath"], - members: { - filePath: {}, - fileMode: {}, - fileContent: { type: "blob" }, - sourceFile: { - type: "structure", - required: ["filePath"], - members: { filePath: {}, isMove: { type: "boolean" } }, - }, - }, - }, - }, - deleteFiles: { shape: "S2o" }, - setFileModes: { shape: "S2q" }, - }, - }, - output: { - type: "structure", - members: { - commitId: {}, - treeId: {}, - filesAdded: { shape: "S2t" }, - filesUpdated: { shape: "S2t" }, - filesDeleted: { shape: "S2t" }, - }, - }, - }, - CreatePullRequest: { - input: { - type: "structure", - required: ["title", "targets"], - members: { - title: {}, - description: {}, - targets: { - type: "list", - member: { - type: "structure", - required: ["repositoryName", "sourceReference"], - members: { - repositoryName: {}, - sourceReference: {}, - destinationReference: {}, - }, - }, - }, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, - }, - }, - CreatePullRequestApprovalRule: { - input: { - type: "structure", - required: [ - "pullRequestId", - "approvalRuleName", - "approvalRuleContent", - ], - members: { - pullRequestId: {}, - approvalRuleName: {}, - approvalRuleContent: {}, - }, - }, - output: { - type: "structure", - required: ["approvalRule"], - members: { approvalRule: { shape: "S3c" } }, - }, - }, - CreateRepository: { - input: { - type: "structure", - required: ["repositoryName"], - members: { - repositoryName: {}, - repositoryDescription: {}, - tags: { shape: "S3k" }, - }, - }, - output: { - type: "structure", - members: { repositoryMetadata: { shape: "S1x" } }, - }, - }, - CreateUnreferencedMergeCommit: { - input: { - type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - "mergeOption", - ], - members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - mergeOption: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, - }, - }, - output: { - type: "structure", - members: { commitId: {}, treeId: {} }, - }, - }, - DeleteApprovalRuleTemplate: { - input: { - type: "structure", - required: ["approvalRuleTemplateName"], - members: { approvalRuleTemplateName: {} }, - }, - output: { - type: "structure", - required: ["approvalRuleTemplateId"], - members: { approvalRuleTemplateId: {} }, - }, - }, - DeleteBranch: { - input: { - type: "structure", - required: ["repositoryName", "branchName"], - members: { repositoryName: {}, branchName: {} }, - }, - output: { - type: "structure", - members: { deletedBranch: { shape: "S3y" } }, - }, - }, - DeleteCommentContent: { - input: { - type: "structure", - required: ["commentId"], - members: { commentId: {} }, - }, - output: { - type: "structure", - members: { comment: { shape: "S42" } }, - }, - }, - DeleteFile: { - input: { - type: "structure", - required: [ - "repositoryName", - "branchName", - "filePath", - "parentCommitId", - ], - members: { - repositoryName: {}, - branchName: {}, - filePath: {}, - parentCommitId: {}, - keepEmptyFolders: { type: "boolean" }, - commitMessage: {}, - name: {}, - email: {}, - }, - }, - output: { - type: "structure", - required: ["commitId", "blobId", "treeId", "filePath"], - members: { commitId: {}, blobId: {}, treeId: {}, filePath: {} }, - }, - }, - DeletePullRequestApprovalRule: { - input: { - type: "structure", - required: ["pullRequestId", "approvalRuleName"], - members: { pullRequestId: {}, approvalRuleName: {} }, - }, - output: { - type: "structure", - required: ["approvalRuleId"], - members: { approvalRuleId: {} }, - }, - }, - DeleteRepository: { - input: { - type: "structure", - required: ["repositoryName"], - members: { repositoryName: {} }, - }, - output: { type: "structure", members: { repositoryId: {} } }, - }, - DescribeMergeConflicts: { - input: { - type: "structure", - required: [ - "repositoryName", - "destinationCommitSpecifier", - "sourceCommitSpecifier", - "mergeOption", - "filePath", - ], - members: { - repositoryName: {}, - destinationCommitSpecifier: {}, - sourceCommitSpecifier: {}, - mergeOption: {}, - maxMergeHunks: { type: "integer" }, - filePath: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - nextToken: {}, - }, - }, - output: { - type: "structure", - required: [ - "conflictMetadata", - "mergeHunks", - "destinationCommitId", - "sourceCommitId", - ], - members: { - conflictMetadata: { shape: "Sn" }, - mergeHunks: { shape: "S12" }, - nextToken: {}, - destinationCommitId: {}, - sourceCommitId: {}, - baseCommitId: {}, - }, - }, - }, - DescribePullRequestEvents: { - input: { - type: "structure", - required: ["pullRequestId"], - members: { - pullRequestId: {}, - pullRequestEventType: {}, - actorArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - required: ["pullRequestEvents"], - members: { - pullRequestEvents: { - type: "list", - member: { - type: "structure", - members: { - pullRequestId: {}, - eventDate: { type: "timestamp" }, - pullRequestEventType: {}, - actorArn: {}, - pullRequestCreatedEventMetadata: { - type: "structure", - members: { - repositoryName: {}, - sourceCommitId: {}, - destinationCommitId: {}, - mergeBase: {}, - }, - }, - pullRequestStatusChangedEventMetadata: { - type: "structure", - members: { pullRequestStatus: {} }, - }, - pullRequestSourceReferenceUpdatedEventMetadata: { - type: "structure", - members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - mergeBase: {}, - }, - }, - pullRequestMergedStateChangedEventMetadata: { - type: "structure", - members: { - repositoryName: {}, - destinationReference: {}, - mergeMetadata: { shape: "S38" }, - }, - }, - approvalRuleEventMetadata: { - type: "structure", - members: { - approvalRuleName: {}, - approvalRuleId: {}, - approvalRuleContent: {}, - }, - }, - approvalStateChangedEventMetadata: { - type: "structure", - members: { revisionId: {}, approvalStatus: {} }, - }, - approvalRuleOverriddenEventMetadata: { - type: "structure", - members: { revisionId: {}, overrideStatus: {} }, - }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - DisassociateApprovalRuleTemplateFromRepository: { - input: { - type: "structure", - required: ["approvalRuleTemplateName", "repositoryName"], - members: { approvalRuleTemplateName: {}, repositoryName: {} }, - }, - }, - EvaluatePullRequestApprovalRules: { - input: { - type: "structure", - required: ["pullRequestId", "revisionId"], - members: { pullRequestId: {}, revisionId: {} }, - }, - output: { - type: "structure", - required: ["evaluation"], - members: { - evaluation: { - type: "structure", - members: { - approved: { type: "boolean" }, - overridden: { type: "boolean" }, - approvalRulesSatisfied: { type: "list", member: {} }, - approvalRulesNotSatisfied: { type: "list", member: {} }, - }, - }, - }, - }, - }, - GetApprovalRuleTemplate: { - input: { - type: "structure", - required: ["approvalRuleTemplateName"], - members: { approvalRuleTemplateName: {} }, - }, - output: { - type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, - }, - }, - GetBlob: { - input: { - type: "structure", - required: ["repositoryName", "blobId"], - members: { repositoryName: {}, blobId: {} }, - }, - output: { - type: "structure", - required: ["content"], - members: { content: { type: "blob" } }, - }, - }, - GetBranch: { - input: { - type: "structure", - members: { repositoryName: {}, branchName: {} }, - }, - output: { - type: "structure", - members: { branch: { shape: "S3y" } }, - }, - }, - GetComment: { - input: { - type: "structure", - required: ["commentId"], - members: { commentId: {} }, - }, - output: { - type: "structure", - members: { comment: { shape: "S42" } }, - }, - }, - GetCommentsForComparedCommit: { - input: { - type: "structure", - required: ["repositoryName", "afterCommitId"], - members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - commentsForComparedCommitData: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comments: { shape: "S5g" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - GetCommentsForPullRequest: { - input: { - type: "structure", - required: ["pullRequestId"], - members: { - pullRequestId: {}, - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - commentsForPullRequestData: { - type: "list", - member: { - type: "structure", - members: { - pullRequestId: {}, - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comments: { shape: "S5g" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - GetCommit: { - input: { - type: "structure", - required: ["repositoryName", "commitId"], - members: { repositoryName: {}, commitId: {} }, - }, - output: { - type: "structure", - required: ["commit"], - members: { commit: { shape: "S1l" } }, - }, - }, - GetDifferences: { - input: { - type: "structure", - required: ["repositoryName", "afterCommitSpecifier"], - members: { - repositoryName: {}, - beforeCommitSpecifier: {}, - afterCommitSpecifier: {}, - beforePath: {}, - afterPath: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - differences: { - type: "list", - member: { - type: "structure", - members: { - beforeBlob: { shape: "S5s" }, - afterBlob: { shape: "S5s" }, - changeType: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - GetFile: { - input: { - type: "structure", - required: ["repositoryName", "filePath"], - members: { - repositoryName: {}, - commitSpecifier: {}, - filePath: {}, - }, - }, - output: { - type: "structure", - required: [ - "commitId", - "blobId", - "filePath", - "fileMode", - "fileSize", - "fileContent", - ], - members: { - commitId: {}, - blobId: {}, - filePath: {}, - fileMode: {}, - fileSize: { type: "long" }, - fileContent: { type: "blob" }, - }, - }, - }, - GetFolder: { - input: { - type: "structure", - required: ["repositoryName", "folderPath"], - members: { - repositoryName: {}, - commitSpecifier: {}, - folderPath: {}, - }, - }, - output: { - type: "structure", - required: ["commitId", "folderPath"], - members: { - commitId: {}, - folderPath: {}, - treeId: {}, - subFolders: { - type: "list", - member: { - type: "structure", - members: { treeId: {}, absolutePath: {}, relativePath: {} }, - }, - }, - files: { - type: "list", - member: { - type: "structure", - members: { - blobId: {}, - absolutePath: {}, - relativePath: {}, - fileMode: {}, - }, - }, - }, - symbolicLinks: { - type: "list", - member: { - type: "structure", - members: { - blobId: {}, - absolutePath: {}, - relativePath: {}, - fileMode: {}, - }, - }, - }, - subModules: { - type: "list", - member: { - type: "structure", - members: { - commitId: {}, - absolutePath: {}, - relativePath: {}, - }, - }, - }, - }, - }, - }, - GetMergeCommit: { - input: { - type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], - members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - }, - }, - output: { - type: "structure", - members: { - sourceCommitId: {}, - destinationCommitId: {}, - baseCommitId: {}, - mergedCommitId: {}, - }, - }, - }, - GetMergeConflicts: { - input: { - type: "structure", - required: [ - "repositoryName", - "destinationCommitSpecifier", - "sourceCommitSpecifier", - "mergeOption", - ], - members: { - repositoryName: {}, - destinationCommitSpecifier: {}, - sourceCommitSpecifier: {}, - mergeOption: {}, - conflictDetailLevel: {}, - maxConflictFiles: { type: "integer" }, - conflictResolutionStrategy: {}, - nextToken: {}, - }, - }, - output: { - type: "structure", - required: [ - "mergeable", - "destinationCommitId", - "sourceCommitId", - "conflictMetadataList", - ], - members: { - mergeable: { type: "boolean" }, - destinationCommitId: {}, - sourceCommitId: {}, - baseCommitId: {}, - conflictMetadataList: { type: "list", member: { shape: "Sn" } }, - nextToken: {}, - }, - }, - }, - GetMergeOptions: { - input: { - type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], - members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - }, - }, - output: { - type: "structure", - required: [ - "mergeOptions", - "sourceCommitId", - "destinationCommitId", - "baseCommitId", - ], - members: { - mergeOptions: { type: "list", member: {} }, - sourceCommitId: {}, - destinationCommitId: {}, - baseCommitId: {}, - }, - }, - }, - GetPullRequest: { - input: { - type: "structure", - required: ["pullRequestId"], - members: { pullRequestId: {} }, - }, - output: { - type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, - }, - }, - GetPullRequestApprovalStates: { - input: { - type: "structure", - required: ["pullRequestId", "revisionId"], - members: { pullRequestId: {}, revisionId: {} }, - }, - output: { - type: "structure", - members: { - approvals: { - type: "list", - member: { - type: "structure", - members: { userArn: {}, approvalState: {} }, - }, - }, - }, - }, - }, - GetPullRequestOverrideState: { - input: { - type: "structure", - required: ["pullRequestId", "revisionId"], - members: { pullRequestId: {}, revisionId: {} }, - }, - output: { - type: "structure", - members: { overridden: { type: "boolean" }, overrider: {} }, - }, - }, - GetRepository: { - input: { - type: "structure", - required: ["repositoryName"], - members: { repositoryName: {} }, - }, - output: { - type: "structure", - members: { repositoryMetadata: { shape: "S1x" } }, - }, - }, - GetRepositoryTriggers: { - input: { - type: "structure", - required: ["repositoryName"], - members: { repositoryName: {} }, - }, - output: { - type: "structure", - members: { configurationId: {}, triggers: { shape: "S6t" } }, - }, - }, - ListApprovalRuleTemplates: { - input: { - type: "structure", - members: { nextToken: {}, maxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - approvalRuleTemplateNames: { shape: "S72" }, - nextToken: {}, - }, - }, - }, - ListAssociatedApprovalRuleTemplatesForRepository: { - input: { - type: "structure", - required: ["repositoryName"], - members: { - repositoryName: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - approvalRuleTemplateNames: { shape: "S72" }, - nextToken: {}, - }, - }, - }, - ListBranches: { - input: { - type: "structure", - required: ["repositoryName"], - members: { repositoryName: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { branches: { shape: "S6x" }, nextToken: {} }, - }, - }, - ListPullRequests: { - input: { - type: "structure", - required: ["repositoryName"], - members: { - repositoryName: {}, - authorArn: {}, - pullRequestStatus: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - required: ["pullRequestIds"], - members: { - pullRequestIds: { type: "list", member: {} }, - nextToken: {}, - }, - }, - }, - ListRepositories: { - input: { - type: "structure", - members: { nextToken: {}, sortBy: {}, order: {} }, - }, - output: { - type: "structure", - members: { - repositories: { - type: "list", - member: { - type: "structure", - members: { repositoryName: {}, repositoryId: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListRepositoriesForApprovalRuleTemplate: { - input: { - type: "structure", - required: ["approvalRuleTemplateName"], - members: { - approvalRuleTemplateName: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { repositoryNames: { shape: "S5" }, nextToken: {} }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["resourceArn"], - members: { resourceArn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { tags: { shape: "S3k" }, nextToken: {} }, - }, - }, - MergeBranchesByFastForward: { - input: { - type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], - members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - targetBranch: {}, - }, - }, - output: { - type: "structure", - members: { commitId: {}, treeId: {} }, - }, - }, - MergeBranchesBySquash: { - input: { - type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], - members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - targetBranch: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, - }, - }, - output: { - type: "structure", - members: { commitId: {}, treeId: {} }, - }, - }, - MergeBranchesByThreeWay: { - input: { - type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], - members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - targetBranch: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, - }, - }, - output: { - type: "structure", - members: { commitId: {}, treeId: {} }, - }, - }, - MergePullRequestByFastForward: { - input: { - type: "structure", - required: ["pullRequestId", "repositoryName"], - members: { - pullRequestId: {}, - repositoryName: {}, - sourceCommitId: {}, - }, - }, - output: { - type: "structure", - members: { pullRequest: { shape: "S33" } }, - }, - }, - MergePullRequestBySquash: { - input: { - type: "structure", - required: ["pullRequestId", "repositoryName"], - members: { - pullRequestId: {}, - repositoryName: {}, - sourceCommitId: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - commitMessage: {}, - authorName: {}, - email: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, - }, - }, - output: { - type: "structure", - members: { pullRequest: { shape: "S33" } }, - }, - }, - MergePullRequestByThreeWay: { - input: { - type: "structure", - required: ["pullRequestId", "repositoryName"], - members: { - pullRequestId: {}, - repositoryName: {}, - sourceCommitId: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - commitMessage: {}, - authorName: {}, - email: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, - }, - }, - output: { - type: "structure", - members: { pullRequest: { shape: "S33" } }, - }, - }, - OverridePullRequestApprovalRules: { - input: { - type: "structure", - required: ["pullRequestId", "revisionId", "overrideStatus"], - members: { - pullRequestId: {}, - revisionId: {}, - overrideStatus: {}, - }, - }, - }, - PostCommentForComparedCommit: { - input: { - type: "structure", - required: ["repositoryName", "afterCommitId", "content"], - members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - location: { shape: "S5d" }, - content: {}, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comment: { shape: "S42" }, - }, - }, - idempotent: true, - }, - PostCommentForPullRequest: { - input: { - type: "structure", - required: [ - "pullRequestId", - "repositoryName", - "beforeCommitId", - "afterCommitId", - "content", - ], - members: { - pullRequestId: {}, - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - location: { shape: "S5d" }, - content: {}, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { - type: "structure", - members: { - repositoryName: {}, - pullRequestId: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comment: { shape: "S42" }, - }, - }, - idempotent: true, - }, - PostCommentReply: { - input: { - type: "structure", - required: ["inReplyTo", "content"], - members: { - inReplyTo: {}, - clientRequestToken: { idempotencyToken: true }, - content: {}, - }, - }, - output: { - type: "structure", - members: { comment: { shape: "S42" } }, - }, - idempotent: true, - }, - PutFile: { - input: { - type: "structure", - required: [ - "repositoryName", - "branchName", - "fileContent", - "filePath", - ], - members: { - repositoryName: {}, - branchName: {}, - fileContent: { type: "blob" }, - filePath: {}, - fileMode: {}, - parentCommitId: {}, - commitMessage: {}, - name: {}, - email: {}, - }, - }, - output: { - type: "structure", - required: ["commitId", "blobId", "treeId"], - members: { commitId: {}, blobId: {}, treeId: {} }, - }, - }, - PutRepositoryTriggers: { - input: { - type: "structure", - required: ["repositoryName", "triggers"], - members: { repositoryName: {}, triggers: { shape: "S6t" } }, - }, - output: { type: "structure", members: { configurationId: {} } }, - }, - TagResource: { - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { resourceArn: {}, tags: { shape: "S3k" } }, - }, - }, - TestRepositoryTriggers: { - input: { - type: "structure", - required: ["repositoryName", "triggers"], - members: { repositoryName: {}, triggers: { shape: "S6t" } }, - }, - output: { - type: "structure", - members: { - successfulExecutions: { type: "list", member: {} }, - failedExecutions: { - type: "list", - member: { - type: "structure", - members: { trigger: {}, failureMessage: {} }, - }, - }, - }, - }, - }, - UntagResource: { - input: { - type: "structure", - required: ["resourceArn", "tagKeys"], - members: { - resourceArn: {}, - tagKeys: { type: "list", member: {} }, - }, - }, - }, - UpdateApprovalRuleTemplateContent: { - input: { - type: "structure", - required: ["approvalRuleTemplateName", "newRuleContent"], - members: { - approvalRuleTemplateName: {}, - newRuleContent: {}, - existingRuleContentSha256: {}, - }, - }, - output: { - type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, - }, - }, - UpdateApprovalRuleTemplateDescription: { - input: { - type: "structure", - required: [ - "approvalRuleTemplateName", - "approvalRuleTemplateDescription", - ], - members: { - approvalRuleTemplateName: {}, - approvalRuleTemplateDescription: {}, - }, - }, - output: { - type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, - }, - }, - UpdateApprovalRuleTemplateName: { - input: { - type: "structure", - required: [ - "oldApprovalRuleTemplateName", - "newApprovalRuleTemplateName", - ], - members: { - oldApprovalRuleTemplateName: {}, - newApprovalRuleTemplateName: {}, - }, - }, - output: { - type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, - }, - }, - UpdateComment: { - input: { - type: "structure", - required: ["commentId", "content"], - members: { commentId: {}, content: {} }, - }, - output: { - type: "structure", - members: { comment: { shape: "S42" } }, - }, - }, - UpdateDefaultBranch: { - input: { - type: "structure", - required: ["repositoryName", "defaultBranchName"], - members: { repositoryName: {}, defaultBranchName: {} }, - }, - }, - UpdatePullRequestApprovalRuleContent: { - input: { - type: "structure", - required: ["pullRequestId", "approvalRuleName", "newRuleContent"], - members: { - pullRequestId: {}, - approvalRuleName: {}, - existingRuleContentSha256: {}, - newRuleContent: {}, - }, - }, - output: { - type: "structure", - required: ["approvalRule"], - members: { approvalRule: { shape: "S3c" } }, - }, - }, - UpdatePullRequestApprovalState: { - input: { - type: "structure", - required: ["pullRequestId", "revisionId", "approvalState"], - members: { pullRequestId: {}, revisionId: {}, approvalState: {} }, - }, - }, - UpdatePullRequestDescription: { - input: { - type: "structure", - required: ["pullRequestId", "description"], - members: { pullRequestId: {}, description: {} }, - }, - output: { - type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, - }, - }, - UpdatePullRequestStatus: { - input: { - type: "structure", - required: ["pullRequestId", "pullRequestStatus"], - members: { pullRequestId: {}, pullRequestStatus: {} }, - }, - output: { - type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, - }, - }, - UpdatePullRequestTitle: { - input: { - type: "structure", - required: ["pullRequestId", "title"], - members: { pullRequestId: {}, title: {} }, - }, - output: { - type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, - }, - }, - UpdateRepositoryDescription: { - input: { - type: "structure", - required: ["repositoryName"], - members: { repositoryName: {}, repositoryDescription: {} }, - }, - }, - UpdateRepositoryName: { - input: { - type: "structure", - required: ["oldName", "newName"], - members: { oldName: {}, newName: {} }, - }, - }, - }, - shapes: { - S5: { type: "list", member: {} }, - Sn: { - type: "structure", - members: { - filePath: {}, - fileSizes: { - type: "structure", - members: { - source: { type: "long" }, - destination: { type: "long" }, - base: { type: "long" }, - }, - }, - fileModes: { - type: "structure", - members: { source: {}, destination: {}, base: {} }, - }, - objectTypes: { - type: "structure", - members: { source: {}, destination: {}, base: {} }, - }, - numberOfConflicts: { type: "integer" }, - isBinaryFile: { - type: "structure", - members: { - source: { type: "boolean" }, - destination: { type: "boolean" }, - base: { type: "boolean" }, - }, - }, - contentConflict: { type: "boolean" }, - fileModeConflict: { type: "boolean" }, - objectTypeConflict: { type: "boolean" }, - mergeOperations: { - type: "structure", - members: { source: {}, destination: {} }, - }, - }, - }, - S12: { - type: "list", - member: { - type: "structure", - members: { - isConflict: { type: "boolean" }, - source: { shape: "S15" }, - destination: { shape: "S15" }, - base: { shape: "S15" }, - }, - }, - }, - S15: { - type: "structure", - members: { - startLine: { type: "integer" }, - endLine: { type: "integer" }, - hunkContent: {}, - }, - }, - S1l: { - type: "structure", - members: { - commitId: {}, - treeId: {}, - parents: { type: "list", member: {} }, - message: {}, - author: { shape: "S1n" }, - committer: { shape: "S1n" }, - additionalData: {}, - }, - }, - S1n: { - type: "structure", - members: { name: {}, email: {}, date: {} }, - }, - S1x: { - type: "structure", - members: { - accountId: {}, - repositoryId: {}, - repositoryName: {}, - repositoryDescription: {}, - defaultBranch: {}, - lastModifiedDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - cloneUrlHttp: {}, - cloneUrlSsh: {}, - Arn: {}, - }, - }, - S2c: { - type: "structure", - members: { - approvalRuleTemplateId: {}, - approvalRuleTemplateName: {}, - approvalRuleTemplateDescription: {}, - approvalRuleTemplateContent: {}, - ruleContentSha256: {}, - lastModifiedDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - lastModifiedUser: {}, - }, - }, - S2o: { - type: "list", - member: { - type: "structure", - required: ["filePath"], - members: { filePath: {} }, - }, - }, - S2q: { - type: "list", - member: { - type: "structure", - required: ["filePath", "fileMode"], - members: { filePath: {}, fileMode: {} }, - }, - }, - S2t: { - type: "list", - member: { - type: "structure", - members: { absolutePath: {}, blobId: {}, fileMode: {} }, - }, - }, - S33: { - type: "structure", - members: { - pullRequestId: {}, - title: {}, - description: {}, - lastActivityDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - pullRequestStatus: {}, - authorArn: {}, - pullRequestTargets: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - sourceReference: {}, - destinationReference: {}, - destinationCommit: {}, - sourceCommit: {}, - mergeBase: {}, - mergeMetadata: { shape: "S38" }, - }, - }, - }, - clientRequestToken: {}, - revisionId: {}, - approvalRules: { type: "list", member: { shape: "S3c" } }, - }, - }, - S38: { - type: "structure", - members: { - isMerged: { type: "boolean" }, - mergedBy: {}, - mergeCommitId: {}, - mergeOption: {}, - }, - }, - S3c: { - type: "structure", - members: { - approvalRuleId: {}, - approvalRuleName: {}, - approvalRuleContent: {}, - ruleContentSha256: {}, - lastModifiedDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - lastModifiedUser: {}, - originApprovalRuleTemplate: { - type: "structure", - members: { - approvalRuleTemplateId: {}, - approvalRuleTemplateName: {}, - }, - }, - }, - }, - S3k: { type: "map", key: {}, value: {} }, - S3p: { - type: "structure", - members: { - replaceContents: { - type: "list", - member: { - type: "structure", - required: ["filePath", "replacementType"], - members: { - filePath: {}, - replacementType: {}, - content: { type: "blob" }, - fileMode: {}, - }, - }, - }, - deleteFiles: { shape: "S2o" }, - setFileModes: { shape: "S2q" }, - }, - }, - S3y: { type: "structure", members: { branchName: {}, commitId: {} } }, - S42: { - type: "structure", - members: { - commentId: {}, - content: {}, - inReplyTo: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - authorArn: {}, - deleted: { type: "boolean" }, - clientRequestToken: {}, - }, - }, - S5d: { - type: "structure", - members: { - filePath: {}, - filePosition: { type: "long" }, - relativeFileVersion: {}, - }, - }, - S5g: { type: "list", member: { shape: "S42" } }, - S5s: { - type: "structure", - members: { blobId: {}, path: {}, mode: {} }, - }, - S6t: { - type: "list", - member: { - type: "structure", - required: ["name", "destinationArn", "events"], - members: { - name: {}, - destinationArn: {}, - customData: {}, - branches: { shape: "S6x" }, - events: { type: "list", member: {} }, - }, - }, - }, - S6x: { type: "list", member: {} }, - S72: { type: "list", member: {} }, - }, - }; +/***/ 3777: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +module.exports = getFirstPage - /***/ 4211: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["polly"] = {}; - AWS.Polly = Service.defineService("polly", ["2016-06-10"]); - __webpack_require__(1531); - Object.defineProperty(apiLoader.services["polly"], "2016-06-10", { - get: function get() { - var model = __webpack_require__(3132); - model.paginators = __webpack_require__(5902).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +const getPage = __webpack_require__(3265) - module.exports = AWS.Polly; +function getFirstPage (octokit, link, headers) { + return getPage(octokit, link, 'first', headers) +} - /***/ - }, - /***/ 4220: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-10-01", - endpointPrefix: "workmail", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon WorkMail", - serviceId: "WorkMail", - signatureVersion: "v4", - targetPrefix: "WorkMailService", - uid: "workmail-2017-10-01", - }, - operations: { - AssociateDelegateToResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId", "EntityId"], - members: { OrganizationId: {}, ResourceId: {}, EntityId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - AssociateMemberToGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId", "MemberId"], - members: { OrganizationId: {}, GroupId: {}, MemberId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - CreateAlias: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId", "Alias"], - members: { OrganizationId: {}, EntityId: {}, Alias: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - CreateGroup: { - input: { - type: "structure", - required: ["OrganizationId", "Name"], - members: { OrganizationId: {}, Name: {} }, - }, - output: { type: "structure", members: { GroupId: {} } }, - idempotent: true, - }, - CreateResource: { - input: { - type: "structure", - required: ["OrganizationId", "Name", "Type"], - members: { OrganizationId: {}, Name: {}, Type: {} }, - }, - output: { type: "structure", members: { ResourceId: {} } }, - idempotent: true, - }, - CreateUser: { - input: { - type: "structure", - required: ["OrganizationId", "Name", "DisplayName", "Password"], - members: { - OrganizationId: {}, - Name: {}, - DisplayName: {}, - Password: { shape: "Sl" }, - }, - }, - output: { type: "structure", members: { UserId: {} } }, - idempotent: true, - }, - DeleteAccessControlRule: { - input: { - type: "structure", - required: ["Name"], - members: { OrganizationId: {}, Name: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteAlias: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId", "Alias"], - members: { OrganizationId: {}, EntityId: {}, Alias: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId"], - members: { OrganizationId: {}, GroupId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteMailboxPermissions: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId", "GranteeId"], - members: { OrganizationId: {}, EntityId: {}, GranteeId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId"], - members: { OrganizationId: {}, ResourceId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteUser: { - input: { - type: "structure", - required: ["OrganizationId", "UserId"], - members: { OrganizationId: {}, UserId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeregisterFromWorkMail: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId"], - members: { OrganizationId: {}, EntityId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DescribeGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId"], - members: { OrganizationId: {}, GroupId: {} }, - }, - output: { - type: "structure", - members: { - GroupId: {}, - Name: {}, - Email: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - idempotent: true, - }, - DescribeOrganization: { - input: { - type: "structure", - required: ["OrganizationId"], - members: { OrganizationId: {} }, - }, - output: { - type: "structure", - members: { - OrganizationId: {}, - Alias: {}, - State: {}, - DirectoryId: {}, - DirectoryType: {}, - DefaultMailDomain: {}, - CompletedDate: { type: "timestamp" }, - ErrorMessage: {}, - ARN: {}, - }, - }, - idempotent: true, - }, - DescribeResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId"], - members: { OrganizationId: {}, ResourceId: {} }, - }, - output: { - type: "structure", - members: { - ResourceId: {}, - Email: {}, - Name: {}, - Type: {}, - BookingOptions: { shape: "S1c" }, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - idempotent: true, - }, - DescribeUser: { - input: { - type: "structure", - required: ["OrganizationId", "UserId"], - members: { OrganizationId: {}, UserId: {} }, - }, - output: { - type: "structure", - members: { - UserId: {}, - Name: {}, - Email: {}, - DisplayName: {}, - State: {}, - UserRole: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - idempotent: true, - }, - DisassociateDelegateFromResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId", "EntityId"], - members: { OrganizationId: {}, ResourceId: {}, EntityId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DisassociateMemberFromGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId", "MemberId"], - members: { OrganizationId: {}, GroupId: {}, MemberId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - GetAccessControlEffect: { - input: { - type: "structure", - required: ["OrganizationId", "IpAddress", "Action", "UserId"], - members: { - OrganizationId: {}, - IpAddress: {}, - Action: {}, - UserId: {}, - }, - }, - output: { - type: "structure", - members: { - Effect: {}, - MatchedRules: { type: "list", member: {} }, - }, - }, - }, - GetMailboxDetails: { - input: { - type: "structure", - required: ["OrganizationId", "UserId"], - members: { OrganizationId: {}, UserId: {} }, - }, - output: { - type: "structure", - members: { - MailboxQuota: { type: "integer" }, - MailboxSize: { type: "double" }, - }, - }, - idempotent: true, - }, - ListAccessControlRules: { - input: { - type: "structure", - required: ["OrganizationId"], - members: { OrganizationId: {} }, - }, - output: { - type: "structure", - members: { - Rules: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Effect: {}, - Description: {}, - IpRanges: { shape: "S20" }, - NotIpRanges: { shape: "S20" }, - Actions: { shape: "S22" }, - NotActions: { shape: "S22" }, - UserIds: { shape: "S23" }, - NotUserIds: { shape: "S23" }, - DateCreated: { type: "timestamp" }, - DateModified: { type: "timestamp" }, - }, - }, - }, - }, - }, - }, - ListAliases: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId"], - members: { - OrganizationId: {}, - EntityId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Aliases: { type: "list", member: {} }, NextToken: {} }, - }, - idempotent: true, - }, - ListGroupMembers: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId"], - members: { - OrganizationId: {}, - GroupId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Members: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - Type: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListGroups: { - input: { - type: "structure", - required: ["OrganizationId"], - members: { - OrganizationId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Groups: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Email: {}, - Name: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListMailboxPermissions: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId"], - members: { - OrganizationId: {}, - EntityId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Permissions: { - type: "list", - member: { - type: "structure", - required: ["GranteeId", "GranteeType", "PermissionValues"], - members: { - GranteeId: {}, - GranteeType: {}, - PermissionValues: { shape: "S2m" }, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListOrganizations: { - input: { - type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - OrganizationSummaries: { - type: "list", - member: { - type: "structure", - members: { - OrganizationId: {}, - Alias: {}, - ErrorMessage: {}, - State: {}, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListResourceDelegates: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId"], - members: { - OrganizationId: {}, - ResourceId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Delegates: { - type: "list", - member: { - type: "structure", - required: ["Id", "Type"], - members: { Id: {}, Type: {} }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListResources: { - input: { - type: "structure", - required: ["OrganizationId"], - members: { - OrganizationId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Resources: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Email: {}, - Name: {}, - Type: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceARN"], - members: { ResourceARN: {} }, - }, - output: { type: "structure", members: { Tags: { shape: "S32" } } }, - }, - ListUsers: { - input: { - type: "structure", - required: ["OrganizationId"], - members: { - OrganizationId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Users: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Email: {}, - Name: {}, - DisplayName: {}, - State: {}, - UserRole: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, - }, - }, - idempotent: true, - }, - PutAccessControlRule: { - input: { - type: "structure", - required: ["Name", "Effect", "Description", "OrganizationId"], - members: { - Name: {}, - Effect: {}, - Description: {}, - IpRanges: { shape: "S20" }, - NotIpRanges: { shape: "S20" }, - Actions: { shape: "S22" }, - NotActions: { shape: "S22" }, - UserIds: { shape: "S23" }, - NotUserIds: { shape: "S23" }, - OrganizationId: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - PutMailboxPermissions: { - input: { - type: "structure", - required: [ - "OrganizationId", - "EntityId", - "GranteeId", - "PermissionValues", - ], - members: { - OrganizationId: {}, - EntityId: {}, - GranteeId: {}, - PermissionValues: { shape: "S2m" }, - }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - RegisterToWorkMail: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId", "Email"], - members: { OrganizationId: {}, EntityId: {}, Email: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - ResetPassword: { - input: { - type: "structure", - required: ["OrganizationId", "UserId", "Password"], - members: { - OrganizationId: {}, - UserId: {}, - Password: { shape: "Sl" }, - }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S32" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceARN", "TagKeys"], - members: { - ResourceARN: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateMailboxQuota: { - input: { - type: "structure", - required: ["OrganizationId", "UserId", "MailboxQuota"], - members: { - OrganizationId: {}, - UserId: {}, - MailboxQuota: { type: "integer" }, - }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - UpdatePrimaryEmailAddress: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId", "Email"], - members: { OrganizationId: {}, EntityId: {}, Email: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - UpdateResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId"], - members: { - OrganizationId: {}, - ResourceId: {}, - Name: {}, - BookingOptions: { shape: "S1c" }, - }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - }, - shapes: { - Sl: { type: "string", sensitive: true }, - S1c: { - type: "structure", - members: { - AutoAcceptRequests: { type: "boolean" }, - AutoDeclineRecurringRequests: { type: "boolean" }, - AutoDeclineConflictingRequests: { type: "boolean" }, - }, - }, - S20: { type: "list", member: {} }, - S22: { type: "list", member: {} }, - S23: { type: "list", member: {} }, - S2m: { type: "list", member: {} }, - S32: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 3788: +/***/ (function(module) { - /***/ 4221: /***/ function (module) { - module.exports = { - pagination: { - DescribeRemediationExceptions: { - input_token: "NextToken", - limit_key: "Limit", - output_token: "NextToken", - }, - DescribeRemediationExecutionStatus: { - input_token: "NextToken", - limit_key: "Limit", - output_token: "NextToken", - result_key: "RemediationExecutionStatuses", - }, - GetResourceConfigHistory: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "configurationItems", - }, - SelectAggregateResourceConfig: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - }, - }; +module.exports = {"pagination":{"GetComplianceSummary":{"input_token":"PaginationToken","limit_key":"MaxResults","output_token":"PaginationToken","result_key":"SummaryList"},"GetResources":{"input_token":"PaginationToken","limit_key":"ResourcesPerPage","output_token":"PaginationToken","result_key":"ResourceTagMappingList"},"GetTagKeys":{"input_token":"PaginationToken","output_token":"PaginationToken","result_key":"TagKeys"},"GetTagValues":{"input_token":"PaginationToken","output_token":"PaginationToken","result_key":"TagValues"}}}; - /***/ - }, +/***/ }), - /***/ 4227: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["cloudwatchlogs"] = {}; - AWS.CloudWatchLogs = Service.defineService("cloudwatchlogs", [ - "2014-03-28", - ]); - Object.defineProperty( - apiLoader.services["cloudwatchlogs"], - "2014-03-28", - { - get: function get() { - var model = __webpack_require__(7684); - model.paginators = __webpack_require__(6288).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/***/ 3801: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.CloudWatchLogs; +// Generated by CoffeeScript 1.12.7 +(function() { + var XMLDTDAttList, XMLNode, + extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + hasProp = {}.hasOwnProperty; - /***/ - }, + XMLNode = __webpack_require__(6855); - /***/ 4237: /***/ function (module) { - module.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: true, - }, - }, - }, - }, - 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: true, - }, - }, - }, - }, - }, - 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: true, - }, - }, - 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: 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" }, - }, - }, - }, - 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: true, - }, - 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: true, - }, - 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: true, - }, - 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: true, - }, - 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: true, - }, - S14: { - type: "structure", - members: { Name: {}, ProvisionedIopsCapable: { type: "boolean" } }, - wrapper: true, - }, - S1d: { - type: "structure", - members: { - DBParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - }, - wrapper: true, - }, - 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: true, - }, - 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: true, - }, - S3y: { - type: "list", - member: { - locationName: "RecurringCharge", - type: "structure", - members: { - RecurringChargeAmount: { type: "double" }, - RecurringChargeFrequency: {}, - }, - wrapper: true, - }, - }, - S4b: { type: "structure", members: { DBParameterGroupName: {} } }, - }, - }; + module.exports = XMLDTDAttList = (function(superClass) { + extend(XMLDTDAttList, superClass); - /***/ - }, + function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { + XMLDTDAttList.__super__.constructor.call(this, parent); + if (elementName == null) { + throw new Error("Missing DTD element name"); + } + if (attributeName == null) { + throw new Error("Missing DTD attribute name"); + } + if (!attributeType) { + throw new Error("Missing DTD attribute type"); + } + if (!defaultValueType) { + throw new Error("Missing DTD attribute default"); + } + if (defaultValueType.indexOf('#') !== 0) { + defaultValueType = '#' + defaultValueType; + } + if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) { + throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"); + } + if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) { + throw new Error("Default value only applies to #FIXED or #DEFAULT"); + } + this.elementName = this.stringify.eleName(elementName); + this.attributeName = this.stringify.attName(attributeName); + this.attributeType = this.stringify.dtdAttType(attributeType); + this.defaultValue = this.stringify.dtdAttDefault(defaultValue); + this.defaultValueType = defaultValueType; + } - /***/ 4238: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); + XMLDTDAttList.prototype.toString = function(options) { + return this.options.writer.set(options).dtdAttList(this); + }; - // pull in CloudFront signer - __webpack_require__(1647); + return XMLDTDAttList; - AWS.util.update(AWS.CloudFront.prototype, { - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("extractData", AWS.util.hoistPayloadMember); - }, - }); + })(XMLNode); - /***/ - }, +}).call(this); - /***/ 4252: /***/ function (module) { - module.exports = { pagination: {} }; - /***/ - }, +/***/ }), - /***/ 4258: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ 3814: +/***/ (function(module, __unusedexports, __webpack_require__) { - apiLoader.services["waf"] = {}; - AWS.WAF = Service.defineService("waf", ["2015-08-24"]); - Object.defineProperty(apiLoader.services["waf"], "2015-08-24", { - get: function get() { - var model = __webpack_require__(5340); - model.paginators = __webpack_require__(9732).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +module.exports = which +which.sync = whichSync - module.exports = AWS.WAF; +var isWindows = process.platform === 'win32' || + process.env.OSTYPE === 'cygwin' || + process.env.OSTYPE === 'msys' - /***/ - }, +var path = __webpack_require__(5622) +var COLON = isWindows ? ';' : ':' +var isexe = __webpack_require__(8742) - /***/ 4281: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var rest = AWS.Protocol.Rest; - - /** - * A presigner object can be used to generate presigned urls for the Polly service. - */ - AWS.Polly.Presigner = AWS.util.inherit({ - /** - * Creates a presigner object with a set of configuration options. - * - * @option options params [map] An optional map of parameters to bind to every - * request sent by this service object. - * @option options service [AWS.Polly] An optional pre-configured instance - * of the AWS.Polly service object to use for requests. The object may - * bound parameters used by the presigner. - * @see AWS.Polly.constructor - */ - constructor: function Signer(options) { - options = options || {}; - this.options = options; - this.service = options.service; - this.bindServiceObject(options); - this._operations = {}; - }, - - /** - * @api private - */ - bindServiceObject: function bindServiceObject(options) { - options = options || {}; - if (!this.service) { - this.service = new AWS.Polly(options); - } else { - var config = AWS.util.copy(this.service.config); - this.service = new this.service.constructor.__super__(config); - this.service.config.params = AWS.util.merge( - this.service.config.params || {}, - options.params - ); - } - }, +function getNotFoundError (cmd) { + var er = new Error('not found: ' + cmd) + er.code = 'ENOENT' - /** - * @api private - */ - modifyInputMembers: function modifyInputMembers(input) { - // make copies of the input so we don't overwrite the api - // need to be careful to copy anything we access/modify - var modifiedInput = AWS.util.copy(input); - modifiedInput.members = AWS.util.copy(input.members); - AWS.util.each(input.members, function (name, member) { - modifiedInput.members[name] = AWS.util.copy(member); - // update location and locationName - if (!member.location || member.location === "body") { - modifiedInput.members[name].location = "querystring"; - modifiedInput.members[name].locationName = name; - } - }); - return modifiedInput; - }, + return er +} - /** - * @api private - */ - convertPostToGet: function convertPostToGet(req) { - // convert method - req.httpRequest.method = "GET"; +function getPathInfo (cmd, opt) { + var colon = opt.colon || COLON + var pathEnv = opt.path || process.env.PATH || '' + var pathExt = [''] - var operation = req.service.api.operations[req.operation]; - // get cached operation input first - var input = this._operations[req.operation]; - if (!input) { - // modify the original input - this._operations[req.operation] = input = this.modifyInputMembers( - operation.input - ); - } + pathEnv = pathEnv.split(colon) - var uri = rest.generateURI( - req.httpRequest.endpoint.path, - operation.httpPath, - input, - req.params - ); + var pathExtExe = '' + if (isWindows) { + pathEnv.unshift(process.cwd()) + pathExtExe = (opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM') + pathExt = pathExtExe.split(colon) - req.httpRequest.path = uri; - req.httpRequest.body = ""; - - // don't need these headers on a GET request - delete req.httpRequest.headers["Content-Length"]; - delete req.httpRequest.headers["Content-Type"]; - }, - - /** - * @overload getSynthesizeSpeechUrl(params = {}, [expires = 3600], [callback]) - * Generate a presigned url for {AWS.Polly.synthesizeSpeech}. - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * @param params [map] parameters to pass to the operation. See the {AWS.Polly.synthesizeSpeech} - * operation for the expected operation parameters. - * @param expires [Integer] (3600) the number of seconds to expire the pre-signed URL operation in. - * Defaults to 1 hour. - * @return [string] if called synchronously (with no callback), returns the signed URL. - * @return [null] nothing is returned if a callback is provided. - * @callback callback function (err, url) - * If a callback is supplied, it is called when a signed URL has been generated. - * @param err [Error] the error object returned from the presigner. - * @param url [String] the signed URL. - * @see AWS.Polly.synthesizeSpeech - */ - getSynthesizeSpeechUrl: function getSynthesizeSpeechUrl( - params, - expires, - callback - ) { - var self = this; - var request = this.service.makeRequest("synthesizeSpeech", params); - // remove existing build listeners - request.removeAllListeners("build"); - request.on("build", function (req) { - self.convertPostToGet(req); - }); - return request.presign(expires, callback); - }, - }); - /***/ - }, + // Always test the cmd itself first. isexe will check to make sure + // it's found in the pathExt set. + if (cmd.indexOf('.') !== -1 && pathExt[0] !== '') + pathExt.unshift('') + } - /***/ 4289: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-06-30", - endpointPrefix: "migrationhub-config", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Migration Hub Config", - serviceId: "MigrationHub Config", - signatureVersion: "v4", - signingName: "mgh", - targetPrefix: "AWSMigrationHubMultiAccountService", - uid: "migrationhub-config-2019-06-30", - }, - operations: { - CreateHomeRegionControl: { - input: { - type: "structure", - required: ["HomeRegion", "Target"], - members: { - HomeRegion: {}, - Target: { shape: "S3" }, - DryRun: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { HomeRegionControl: { shape: "S8" } }, - }, - }, - DescribeHomeRegionControls: { - input: { - type: "structure", - members: { - ControlId: {}, - HomeRegion: {}, - Target: { shape: "S3" }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - HomeRegionControls: { type: "list", member: { shape: "S8" } }, - NextToken: {}, - }, - }, - }, - GetHomeRegion: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: { HomeRegion: {} } }, - }, - }, - shapes: { - S3: { - type: "structure", - required: ["Type"], - members: { Type: {}, Id: {} }, - }, - S8: { - type: "structure", - members: { - ControlId: {}, - HomeRegion: {}, - Target: { shape: "S3" }, - RequestedTime: { type: "timestamp" }, - }, - }, - }, - }; + // If it has a slash, then we don't bother searching the pathenv. + // just check the file itself, and that's it. + if (cmd.match(/\//) || isWindows && cmd.match(/\\/)) + pathEnv = [''] - /***/ - }, + return { + env: pathEnv, + ext: pathExt, + extExe: pathExtExe + } +} - /***/ 4290: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +function which (cmd, opt, cb) { + if (typeof opt === 'function') { + cb = opt + opt = {} + } - apiLoader.services["greengrass"] = {}; - AWS.Greengrass = Service.defineService("greengrass", ["2017-06-07"]); - Object.defineProperty(apiLoader.services["greengrass"], "2017-06-07", { - get: function get() { - var model = __webpack_require__(2053); - return model; - }, - enumerable: true, - configurable: true, + var info = getPathInfo(cmd, opt) + var pathEnv = info.env + var pathExt = info.ext + var pathExtExe = info.extExe + var found = [] + + ;(function F (i, l) { + if (i === l) { + if (opt.all && found.length) + return cb(null, found) + else + return cb(getNotFoundError(cmd)) + } + + var pathPart = pathEnv[i] + if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') + pathPart = pathPart.slice(1, -1) + + var p = path.join(pathPart, cmd) + if (!pathPart && (/^\.[\\\/]/).test(cmd)) { + p = cmd.slice(0, 2) + p + } + ;(function E (ii, ll) { + if (ii === ll) return F(i + 1, l) + var ext = pathExt[ii] + isexe(p + ext, { pathExt: pathExtExe }, function (er, is) { + if (!er && is) { + if (opt.all) + found.push(p + ext) + else + return cb(null, p + ext) + } + return E(ii + 1, ll) + }) + })(0, pathExt.length) + })(0, pathEnv.length) +} + +function whichSync (cmd, opt) { + opt = opt || {} + + var info = getPathInfo(cmd, opt) + var pathEnv = info.env + var pathExt = info.ext + var pathExtExe = info.extExe + var found = [] + + for (var i = 0, l = pathEnv.length; i < l; i ++) { + var pathPart = pathEnv[i] + if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') + pathPart = pathPart.slice(1, -1) + + var p = path.join(pathPart, cmd) + if (!pathPart && /^\.[\\\/]/.test(cmd)) { + p = cmd.slice(0, 2) + p + } + for (var j = 0, ll = pathExt.length; j < ll; j ++) { + var cur = p + pathExt[j] + var is + try { + is = isexe.sync(cur, { pathExt: pathExtExe }) + if (is) { + if (opt.all) + found.push(cur) + else + return cur + } + } catch (ex) {} + } + } + + if (opt.all && found.length) + return found + + if (opt.nothrow) + return null + + throw getNotFoundError(cmd) +} + + +/***/ }), + +/***/ 3815: +/***/ (function(module, __unusedexports, __webpack_require__) { + +var util = __webpack_require__(395).util; +var typeOf = __webpack_require__(8194).typeOf; + +/** + * @api private + */ +var memberTypeToSetType = { + 'String': 'String', + 'Number': 'Number', + 'NumberValue': 'Number', + 'Binary': 'Binary' +}; + +/** + * @api private + */ +var DynamoDBSet = util.inherit({ + + constructor: function Set(list, options) { + options = options || {}; + this.wrapperName = 'Set'; + this.initialize(list, options.validate); + }, + + initialize: function(list, validate) { + var self = this; + self.values = [].concat(list); + self.detectType(); + if (validate) { + self.validate(); + } + }, + + detectType: function() { + this.type = memberTypeToSetType[typeOf(this.values[0])]; + if (!this.type) { + throw util.error(new Error(), { + code: 'InvalidSetType', + message: 'Sets can contain string, number, or binary values' }); + } + }, + + validate: function() { + var self = this; + var length = self.values.length; + var values = self.values; + for (var i = 0; i < length; i++) { + if (memberTypeToSetType[typeOf(values[i])] !== self.type) { + throw util.error(new Error(), { + code: 'InvalidType', + message: self.type + ' Set contains ' + typeOf(values[i]) + ' value' + }); + } + } + }, - module.exports = AWS.Greengrass; + /** + * Render the underlying values only when converting to JSON. + */ + toJSON: function() { + var self = this; + return self.values; + } - /***/ - }, +}); + +/** + * @api private + */ +module.exports = DynamoDBSet; + + +/***/ }), + +/***/ 3824: +/***/ (function(module) { + +module.exports = {"pagination":{"ListLanguageModels":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMedicalTranscriptionJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMedicalVocabularies":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListTranscriptionJobs":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListVocabularies":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListVocabularyFilters":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; + +/***/ }), + +/***/ 3825: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['sagemakeredge'] = {}; +AWS.SagemakerEdge = Service.defineService('sagemakeredge', ['2020-09-23']); +Object.defineProperty(apiLoader.services['sagemakeredge'], '2020-09-23', { + get: function get() { + var model = __webpack_require__(7375); + model.paginators = __webpack_require__(6178).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.SagemakerEdge; + + +/***/ }), + +/***/ 3853: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['codestarnotifications'] = {}; +AWS.CodeStarNotifications = Service.defineService('codestarnotifications', ['2019-10-15']); +Object.defineProperty(apiLoader.services['codestarnotifications'], '2019-10-15', { + get: function get() { + var model = __webpack_require__(7913); + model.paginators = __webpack_require__(4409).pagination; + return model; + }, + enumerable: true, + configurable: true +}); + +module.exports = AWS.CodeStarNotifications; + + +/***/ }), + +/***/ 3861: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); +var resolveRegionalEndpointsFlag = __webpack_require__(6232); +var ENV_REGIONAL_ENDPOINT_ENABLED = 'AWS_STS_REGIONAL_ENDPOINTS'; +var CONFIG_REGIONAL_ENDPOINT_ENABLED = 'sts_regional_endpoints'; + +AWS.util.update(AWS.STS.prototype, { + /** + * @overload credentialsFrom(data, credentials = null) + * Creates a credentials object from STS response data containing + * credentials information. Useful for quickly setting AWS credentials. + * + * @note This is a low-level utility function. If you want to load temporary + * credentials into your process for subsequent requests to AWS resources, + * you should use {AWS.TemporaryCredentials} instead. + * @param data [map] data retrieved from a call to {getFederatedToken}, + * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}. + * @param credentials [AWS.Credentials] an optional credentials object to + * fill instead of creating a new object. Useful when modifying an + * existing credentials object from a refresh call. + * @return [AWS.TemporaryCredentials] the set of temporary credentials + * loaded from a raw STS operation response. + * @example Using credentialsFrom to load global AWS credentials + * var sts = new AWS.STS(); + * sts.getSessionToken(function (err, data) { + * if (err) console.log("Error getting credentials"); + * else { + * AWS.config.credentials = sts.credentialsFrom(data); + * } + * }); + * @see AWS.TemporaryCredentials + */ + credentialsFrom: function credentialsFrom(data, credentials) { + if (!data) return null; + if (!credentials) credentials = new AWS.TemporaryCredentials(); + credentials.expired = false; + credentials.accessKeyId = data.Credentials.AccessKeyId; + credentials.secretAccessKey = data.Credentials.SecretAccessKey; + credentials.sessionToken = data.Credentials.SessionToken; + credentials.expireTime = data.Credentials.Expiration; + return credentials; + }, + + assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) { + return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback); + }, + + assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { + return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback); + }, + + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + request.addListener('validate', this.optInRegionalEndpoint, true); + }, + + /** + * @api private + */ + optInRegionalEndpoint: function optInRegionalEndpoint(req) { + var service = req.service; + var config = service.config; + config.stsRegionalEndpoints = resolveRegionalEndpointsFlag(service._originalConfig, { + env: ENV_REGIONAL_ENDPOINT_ENABLED, + sharedConfig: CONFIG_REGIONAL_ENDPOINT_ENABLED, + clientConfig: 'stsRegionalEndpoints' + }); + if ( + config.stsRegionalEndpoints === 'regional' && + service.isGlobalEndpoint + ) { + //client will throw if region is not supplied; request will be signed with specified region + if (!config.region) { + throw AWS.util.error(new Error(), + {code: 'ConfigError', message: 'Missing region in config'}); + } + var insertPoint = config.endpoint.indexOf('.amazonaws.com'); + var regionalEndpoint = config.endpoint.substring(0, insertPoint) + + '.' + config.region + config.endpoint.substring(insertPoint); + req.httpRequest.updateEndpoint(regionalEndpoint); + req.httpRequest.region = config.region; + } + } - /***/ 4293: /***/ function (module) { - module.exports = require("buffer"); +}); - /***/ - }, - /***/ 4303: /***/ function (module) { - module.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", - }, - ], - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 3862: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 4304: /***/ function (module) { - module.exports = require("string_decoder"); +var util = __webpack_require__(395).util; +var Transform = __webpack_require__(2413).Transform; +var allocBuffer = util.buffer.alloc; - /***/ - }, +/** @type {Transform} */ +function EventMessageChunkerStream(options) { + Transform.call(this, options); - /***/ 4341: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + this.currentMessageTotalLength = 0; + this.currentMessagePendingLength = 0; + /** @type {Buffer} */ + this.currentMessage = null; - apiLoader.services["discovery"] = {}; - AWS.Discovery = Service.defineService("discovery", ["2015-11-01"]); - Object.defineProperty(apiLoader.services["discovery"], "2015-11-01", { - get: function get() { - var model = __webpack_require__(9389); - model.paginators = __webpack_require__(5266).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + /** @type {Buffer} */ + this.messageLengthBuffer = null; +} - module.exports = AWS.Discovery; +EventMessageChunkerStream.prototype = Object.create(Transform.prototype); - /***/ - }, +/** + * + * @param {Buffer} chunk + * @param {string} encoding + * @param {*} callback + */ +EventMessageChunkerStream.prototype._transform = function(chunk, encoding, callback) { + var chunkLength = chunk.length; + var currentOffset = 0; - /***/ 4343: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["inspector"] = {}; - AWS.Inspector = Service.defineService("inspector", [ - "2015-08-18*", - "2016-02-16", - ]); - Object.defineProperty(apiLoader.services["inspector"], "2016-02-16", { - get: function get() { - var model = __webpack_require__(612); - model.paginators = __webpack_require__(1283).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + while (currentOffset < chunkLength) { + // create new message if necessary + if (!this.currentMessage) { + // working on a new message, determine total length + var bytesRemaining = chunkLength - currentOffset; + // prevent edge case where total length spans 2 chunks + if (!this.messageLengthBuffer) { + this.messageLengthBuffer = allocBuffer(4); + } + var numBytesForTotal = Math.min( + 4 - this.currentMessagePendingLength, // remaining bytes to fill the messageLengthBuffer + bytesRemaining // bytes left in chunk + ); - module.exports = AWS.Inspector; + chunk.copy( + this.messageLengthBuffer, + this.currentMessagePendingLength, + currentOffset, + currentOffset + numBytesForTotal + ); - /***/ - }, + this.currentMessagePendingLength += numBytesForTotal; + currentOffset += numBytesForTotal; - /***/ 4344: /***/ function (module) { - module.exports = { pagination: {} }; + if (this.currentMessagePendingLength < 4) { + // not enough information to create the current message + break; + } + this.allocateMessage(this.messageLengthBuffer.readUInt32BE(0)); + this.messageLengthBuffer = null; + } - /***/ - }, + // write data into current message + var numBytesToWrite = Math.min( + this.currentMessageTotalLength - this.currentMessagePendingLength, // number of bytes left to complete message + chunkLength - currentOffset // number of bytes left in the original chunk + ); + chunk.copy( + this.currentMessage, // target buffer + this.currentMessagePendingLength, // target offset + currentOffset, // chunk offset + currentOffset + numBytesToWrite // chunk end to write + ); + this.currentMessagePendingLength += numBytesToWrite; + currentOffset += numBytesToWrite; - /***/ 4371: /***/ function (module) { - module.exports = { - pagination: { - GetTranscript: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; + // check if a message is ready to be pushed + if (this.currentMessageTotalLength && this.currentMessageTotalLength === this.currentMessagePendingLength) { + // push out the message + this.push(this.currentMessage); + // cleanup + this.currentMessage = null; + this.currentMessageTotalLength = 0; + this.currentMessagePendingLength = 0; + } + } - /***/ - }, + callback(); +}; - /***/ 4373: /***/ function (module) { - module.exports = { - pagination: { - ListPlacements: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "placements", - }, - ListProjects: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "projects", - }, - }, - }; +EventMessageChunkerStream.prototype._flush = function(callback) { + if (this.currentMessageTotalLength) { + if (this.currentMessageTotalLength === this.currentMessagePendingLength) { + callback(null, this.currentMessage); + } else { + callback(new Error('Truncated event message received.')); + } + } else { + callback(); + } +}; - /***/ - }, +/** + * @param {number} size Size of the message to be allocated. + * @api private + */ +EventMessageChunkerStream.prototype.allocateMessage = function(size) { + if (typeof size !== 'number') { + throw new Error('Attempted to allocate an event message where size was not a number: ' + size); + } + this.currentMessageTotalLength = size; + this.currentMessagePendingLength = 4; + this.currentMessage = allocBuffer(size); + this.currentMessage.writeUInt32BE(size, 0); +}; - /***/ 4389: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; +/** + * @api private + */ +module.exports = { + EventMessageChunkerStream: EventMessageChunkerStream +}; - const fs = __webpack_require__(5747); - const shebangCommand = __webpack_require__(2866); - function readShebang(command) { - // Read the first 150 bytes from the file - const size = 150; - let buffer; +/***/ }), - if (Buffer.alloc) { - // Node.js v4.5+ / v5.10+ - buffer = Buffer.alloc(size); - } else { - // Old Node.js API - buffer = new Buffer(size); - buffer.fill(0); // zero-fill - } +/***/ 3870: +/***/ (function(module, __unusedexports, __webpack_require__) { - let fd; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - try { - fd = fs.openSync(command, "r"); - fs.readSync(fd, buffer, 0, size, 0); - fs.closeSync(fd); - } catch (e) { - /* Empty */ - } +apiLoader.services['appflow'] = {}; +AWS.Appflow = Service.defineService('appflow', ['2020-08-23']); +Object.defineProperty(apiLoader.services['appflow'], '2020-08-23', { + get: function get() { + var model = __webpack_require__(8431); + model.paginators = __webpack_require__(9839).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - // Attempt to extract shebang (null is returned if not a shebang) - return shebangCommand(buffer.toString()); - } +module.exports = AWS.Appflow; - module.exports = readShebang; - /***/ - }, +/***/ }), - /***/ 4392: /***/ function (module) { - module.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: {}, - }, - }, - output: { - resultWrapper: "CopySnapshotResult", - type: "structure", - members: { Snapshot: { shape: "S19" } }, - }, - }, - CreateCacheCluster: { - input: { - type: "structure", - required: ["CacheClusterId"], - members: { - CacheClusterId: {}, - ReplicationGroupId: {}, - AZMode: {}, - PreferredAvailabilityZone: {}, - PreferredAvailabilityZones: { shape: "S1h" }, - NumCacheNodes: { type: "integer" }, - CacheNodeType: {}, - Engine: {}, - EngineVersion: {}, - CacheParameterGroupName: {}, - CacheSubnetGroupName: {}, - CacheSecurityGroupNames: { shape: "S1i" }, - SecurityGroupIds: { shape: "S1j" }, - Tags: { shape: "S3" }, - SnapshotArns: { shape: "S1k" }, - SnapshotName: {}, - PreferredMaintenanceWindow: {}, - Port: { type: "integer" }, - NotificationTopicArn: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - SnapshotRetentionLimit: { type: "integer" }, - SnapshotWindow: {}, - AuthToken: {}, - }, - }, - output: { - resultWrapper: "CreateCacheClusterResult", - type: "structure", - members: { CacheCluster: { shape: "S1m" } }, - }, - }, - CreateCacheParameterGroup: { - input: { - type: "structure", - required: [ - "CacheParameterGroupName", - "CacheParameterGroupFamily", - "Description", - ], - members: { - CacheParameterGroupName: {}, - CacheParameterGroupFamily: {}, - Description: {}, - }, - }, - output: { - resultWrapper: "CreateCacheParameterGroupResult", - type: "structure", - members: { CacheParameterGroup: { shape: "S1z" } }, - }, - }, - CreateCacheSecurityGroup: { - input: { - type: "structure", - required: ["CacheSecurityGroupName", "Description"], - members: { CacheSecurityGroupName: {}, Description: {} }, - }, - output: { - resultWrapper: "CreateCacheSecurityGroupResult", - type: "structure", - members: { CacheSecurityGroup: { shape: "S8" } }, - }, - }, - CreateCacheSubnetGroup: { - input: { - type: "structure", - required: [ - "CacheSubnetGroupName", - "CacheSubnetGroupDescription", - "SubnetIds", - ], - members: { - CacheSubnetGroupName: {}, - CacheSubnetGroupDescription: {}, - SubnetIds: { shape: "S23" }, - }, - }, - output: { - resultWrapper: "CreateCacheSubnetGroupResult", - type: "structure", - members: { CacheSubnetGroup: { shape: "S25" } }, - }, - }, - CreateGlobalReplicationGroup: { - input: { - type: "structure", - required: [ - "GlobalReplicationGroupIdSuffix", - "PrimaryReplicationGroupId", - ], - members: { - GlobalReplicationGroupIdSuffix: {}, - GlobalReplicationGroupDescription: {}, - PrimaryReplicationGroupId: {}, - }, - }, - output: { - resultWrapper: "CreateGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - CreateReplicationGroup: { - input: { - type: "structure", - required: ["ReplicationGroupId", "ReplicationGroupDescription"], - members: { - ReplicationGroupId: {}, - ReplicationGroupDescription: {}, - GlobalReplicationGroupId: {}, - PrimaryClusterId: {}, - AutomaticFailoverEnabled: { type: "boolean" }, - NumCacheClusters: { type: "integer" }, - PreferredCacheClusterAZs: { shape: "S1e" }, - NumNodeGroups: { type: "integer" }, - ReplicasPerNodeGroup: { type: "integer" }, - NodeGroupConfiguration: { - type: "list", - member: { - shape: "S1c", - locationName: "NodeGroupConfiguration", - }, - }, - CacheNodeType: {}, - Engine: {}, - EngineVersion: {}, - CacheParameterGroupName: {}, - CacheSubnetGroupName: {}, - CacheSecurityGroupNames: { shape: "S1i" }, - SecurityGroupIds: { shape: "S1j" }, - Tags: { shape: "S3" }, - SnapshotArns: { shape: "S1k" }, - SnapshotName: {}, - PreferredMaintenanceWindow: {}, - Port: { type: "integer" }, - NotificationTopicArn: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - SnapshotRetentionLimit: { type: "integer" }, - SnapshotWindow: {}, - AuthToken: {}, - TransitEncryptionEnabled: { type: "boolean" }, - AtRestEncryptionEnabled: { type: "boolean" }, - KmsKeyId: {}, - }, - }, - output: { - resultWrapper: "CreateReplicationGroupResult", - type: "structure", - members: { ReplicationGroup: { shape: "So" } }, - }, - }, - CreateSnapshot: { - input: { - type: "structure", - required: ["SnapshotName"], - members: { - ReplicationGroupId: {}, - CacheClusterId: {}, - SnapshotName: {}, - KmsKeyId: {}, - }, - }, - output: { - resultWrapper: "CreateSnapshotResult", - type: "structure", - members: { Snapshot: { shape: "S19" } }, - }, - }, - DecreaseNodeGroupsInGlobalReplicationGroup: { - input: { - type: "structure", - required: [ - "GlobalReplicationGroupId", - "NodeGroupCount", - "ApplyImmediately", - ], - members: { - GlobalReplicationGroupId: {}, - NodeGroupCount: { type: "integer" }, - GlobalNodeGroupsToRemove: { shape: "S2m" }, - GlobalNodeGroupsToRetain: { shape: "S2m" }, - ApplyImmediately: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "DecreaseNodeGroupsInGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - DecreaseReplicaCount: { - input: { - type: "structure", - required: ["ReplicationGroupId", "ApplyImmediately"], - members: { - ReplicationGroupId: {}, - NewReplicaCount: { type: "integer" }, - ReplicaConfiguration: { shape: "S2p" }, - 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: "S1m" } }, - }, - }, - 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: "S2b" } }, - }, - }, - 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: "S19" } }, - }, - }, - 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: "S1m", 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: "S1z", locationName: "CacheParameterGroup" }, - }, - }, - }, - }, - DescribeCacheParameters: { - input: { - type: "structure", - required: ["CacheParameterGroupName"], - members: { - CacheParameterGroupName: {}, - Source: {}, - MaxRecords: { type: "integer" }, - Marker: {}, - }, - }, - output: { - resultWrapper: "DescribeCacheParametersResult", - type: "structure", - members: { - Marker: {}, - Parameters: { shape: "S3g" }, - CacheNodeTypeSpecificParameters: { shape: "S3j" }, - }, - }, - }, - 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: "S25", 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: "S3g" }, - CacheNodeTypeSpecificParameters: { shape: "S3j" }, - }, - wrapper: true, - }, - }, - }, - }, - 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: "S2b", - 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: "S4a", 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: "S4b" }, - }, - wrapper: true, - }, - }, - }, - }, - }, - DescribeServiceUpdates: { - input: { - type: "structure", - members: { - ServiceUpdateName: {}, - ServiceUpdateStatus: { shape: "S4i" }, - 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: "S19", locationName: "Snapshot" }, - }, - }, - }, - }, - DescribeUpdateActions: { - input: { - type: "structure", - members: { - ServiceUpdateName: {}, - ReplicationGroupIds: { shape: "Sc" }, - CacheClusterIds: { shape: "Sd" }, - Engine: {}, - ServiceUpdateStatus: { shape: "S4i" }, - 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: {}, - }, - }, - }, - }, - }, - }, - DisassociateGlobalReplicationGroup: { - input: { - type: "structure", - required: [ - "GlobalReplicationGroupId", - "ReplicationGroupId", - "ReplicationGroupRegion", - ], - members: { - GlobalReplicationGroupId: {}, - ReplicationGroupId: {}, - ReplicationGroupRegion: {}, - }, - }, - output: { - resultWrapper: "DisassociateGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - FailoverGlobalReplicationGroup: { - input: { - type: "structure", - required: [ - "GlobalReplicationGroupId", - "PrimaryRegion", - "PrimaryReplicationGroupId", - ], - members: { - GlobalReplicationGroupId: {}, - PrimaryRegion: {}, - PrimaryReplicationGroupId: {}, - }, - }, - output: { - resultWrapper: "FailoverGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - 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: "S5e" }, - }, - }, - }, - ApplyImmediately: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "IncreaseNodeGroupsInGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - IncreaseReplicaCount: { - input: { - type: "structure", - required: ["ReplicationGroupId", "ApplyImmediately"], - members: { - ReplicationGroupId: {}, - NewReplicaCount: { type: "integer" }, - ReplicaConfiguration: { shape: "S2p" }, - 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: "S5l" }, - ScaleDownModifications: { shape: "S5l" }, - }, - }, - }, - 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: "S1o" }, - AZMode: {}, - NewAvailabilityZones: { shape: "S1h" }, - CacheSecurityGroupNames: { shape: "S1i" }, - SecurityGroupIds: { shape: "S1j" }, - PreferredMaintenanceWindow: {}, - NotificationTopicArn: {}, - CacheParameterGroupName: {}, - NotificationTopicStatus: {}, - ApplyImmediately: { type: "boolean" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - SnapshotRetentionLimit: { type: "integer" }, - SnapshotWindow: {}, - CacheNodeType: {}, - AuthToken: {}, - AuthTokenUpdateStrategy: {}, - }, - }, - output: { - resultWrapper: "ModifyCacheClusterResult", - type: "structure", - members: { CacheCluster: { shape: "S1m" } }, - }, - }, - ModifyCacheParameterGroup: { - input: { - type: "structure", - required: ["CacheParameterGroupName", "ParameterNameValues"], - members: { - CacheParameterGroupName: {}, - ParameterNameValues: { shape: "S5r" }, - }, - }, - output: { - shape: "S5t", - resultWrapper: "ModifyCacheParameterGroupResult", - }, - }, - ModifyCacheSubnetGroup: { - input: { - type: "structure", - required: ["CacheSubnetGroupName"], - members: { - CacheSubnetGroupName: {}, - CacheSubnetGroupDescription: {}, - SubnetIds: { shape: "S23" }, - }, - }, - output: { - resultWrapper: "ModifyCacheSubnetGroupResult", - type: "structure", - members: { CacheSubnetGroup: { shape: "S25" } }, - }, - }, - ModifyGlobalReplicationGroup: { - input: { - type: "structure", - required: ["GlobalReplicationGroupId", "ApplyImmediately"], - members: { - GlobalReplicationGroupId: {}, - ApplyImmediately: { type: "boolean" }, - CacheNodeType: {}, - EngineVersion: {}, - GlobalReplicationGroupDescription: {}, - AutomaticFailoverEnabled: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "ModifyGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - ModifyReplicationGroup: { - input: { - type: "structure", - required: ["ReplicationGroupId"], - members: { - ReplicationGroupId: {}, - ReplicationGroupDescription: {}, - PrimaryClusterId: {}, - SnapshottingClusterId: {}, - AutomaticFailoverEnabled: { type: "boolean" }, - NodeGroupId: { deprecated: true }, - CacheSecurityGroupNames: { shape: "S1i" }, - SecurityGroupIds: { shape: "S1j" }, - PreferredMaintenanceWindow: {}, - NotificationTopicArn: {}, - CacheParameterGroupName: {}, - NotificationTopicStatus: {}, - ApplyImmediately: { type: "boolean" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - SnapshotRetentionLimit: { type: "integer" }, - SnapshotWindow: {}, - CacheNodeType: {}, - AuthToken: {}, - AuthTokenUpdateStrategy: {}, - }, - }, - 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: "S5e" }, - NodeGroupsToRemove: { - type: "list", - member: { locationName: "NodeGroupToRemove" }, - }, - NodeGroupsToRetain: { - type: "list", - member: { locationName: "NodeGroupToRetain" }, - }, - }, - }, - output: { - resultWrapper: "ModifyReplicationGroupShardConfigurationResult", - type: "structure", - members: { ReplicationGroup: { shape: "So" } }, - }, - }, - PurchaseReservedCacheNodesOffering: { - input: { - type: "structure", - required: ["ReservedCacheNodesOfferingId"], - members: { - ReservedCacheNodesOfferingId: {}, - ReservedCacheNodeId: {}, - CacheNodeCount: { type: "integer" }, - }, - }, - output: { - resultWrapper: "PurchaseReservedCacheNodesOfferingResult", - type: "structure", - members: { ReservedCacheNode: { shape: "S4a" } }, - }, - }, - RebalanceSlotsInGlobalReplicationGroup: { - input: { - type: "structure", - required: ["GlobalReplicationGroupId", "ApplyImmediately"], - members: { - GlobalReplicationGroupId: {}, - ApplyImmediately: { type: "boolean" }, - }, - }, - output: { - resultWrapper: "RebalanceSlotsInGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - RebootCacheCluster: { - input: { - type: "structure", - required: ["CacheClusterId", "CacheNodeIdsToReboot"], - members: { - CacheClusterId: {}, - CacheNodeIdsToReboot: { shape: "S1o" }, - }, - }, - output: { - resultWrapper: "RebootCacheClusterResult", - type: "structure", - members: { CacheCluster: { shape: "S1m" } }, - }, - }, - 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: "S5r" }, - }, - }, - output: { - shape: "S5t", - 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: {}, - }, - }, - }, - }, - wrapper: true, - }, - 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: {}, - }, - }, - MemberClusters: { - type: "list", - member: { locationName: "ClusterId" }, - }, - NodeGroups: { - type: "list", - member: { - locationName: "NodeGroup", - type: "structure", - members: { - NodeGroupId: {}, - Status: {}, - PrimaryEndpoint: { shape: "Sz" }, - ReaderEndpoint: { shape: "Sz" }, - Slots: {}, - NodeGroupMembers: { - type: "list", - member: { - locationName: "NodeGroupMember", - type: "structure", - members: { - CacheClusterId: {}, - CacheNodeId: {}, - ReadEndpoint: { shape: "Sz" }, - PreferredAvailabilityZone: {}, - CurrentRole: {}, - }, - }, - }, - }, - }, - }, - SnapshottingClusterId: {}, - AutomaticFailover: {}, - ConfigurationEndpoint: { shape: "Sz" }, - SnapshotRetentionLimit: { type: "integer" }, - SnapshotWindow: {}, - ClusterEnabled: { type: "boolean" }, - CacheNodeType: {}, - AuthTokenEnabled: { type: "boolean" }, - AuthTokenLastModifiedDate: { type: "timestamp" }, - TransitEncryptionEnabled: { type: "boolean" }, - AtRestEncryptionEnabled: { type: "boolean" }, - KmsKeyId: {}, - }, - wrapper: true, - }, - Sz: { - type: "structure", - members: { Address: {}, Port: { type: "integer" } }, - }, - S19: { - type: "structure", - members: { - SnapshotName: {}, - ReplicationGroupId: {}, - ReplicationGroupDescription: {}, - CacheClusterId: {}, - SnapshotStatus: {}, - SnapshotSource: {}, - CacheNodeType: {}, - Engine: {}, - EngineVersion: {}, - NumCacheNodes: { type: "integer" }, - PreferredAvailabilityZone: {}, - 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: "S1c" }, - CacheSize: {}, - CacheNodeCreateTime: { type: "timestamp" }, - SnapshotCreateTime: { type: "timestamp" }, - }, - wrapper: true, - }, - }, - KmsKeyId: {}, - }, - wrapper: true, - }, - S1c: { - type: "structure", - members: { - NodeGroupId: {}, - Slots: {}, - ReplicaCount: { type: "integer" }, - PrimaryAvailabilityZone: {}, - ReplicaAvailabilityZones: { shape: "S1e" }, - }, - }, - S1e: { type: "list", member: { locationName: "AvailabilityZone" } }, - S1h: { - type: "list", - member: { locationName: "PreferredAvailabilityZone" }, - }, - S1i: { - type: "list", - member: { locationName: "CacheSecurityGroupName" }, - }, - S1j: { type: "list", member: { locationName: "SecurityGroupId" } }, - S1k: { type: "list", member: { locationName: "SnapshotArn" } }, - S1m: { - type: "structure", - members: { - CacheClusterId: {}, - ConfigurationEndpoint: { shape: "Sz" }, - ClientDownloadLandingPage: {}, - CacheNodeType: {}, - Engine: {}, - EngineVersion: {}, - CacheClusterStatus: {}, - NumCacheNodes: { type: "integer" }, - PreferredAvailabilityZone: {}, - CacheClusterCreateTime: { type: "timestamp" }, - PreferredMaintenanceWindow: {}, - PendingModifiedValues: { - type: "structure", - members: { - NumCacheNodes: { type: "integer" }, - CacheNodeIdsToRemove: { shape: "S1o" }, - EngineVersion: {}, - CacheNodeType: {}, - AuthTokenStatus: {}, - }, - }, - 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: "S1o" }, - }, - }, - CacheSubnetGroupName: {}, - CacheNodes: { - type: "list", - member: { - locationName: "CacheNode", - type: "structure", - members: { - CacheNodeId: {}, - CacheNodeStatus: {}, - CacheNodeCreateTime: { type: "timestamp" }, - Endpoint: { shape: "Sz" }, - ParameterGroupStatus: {}, - SourceCacheNodeId: {}, - CustomerAvailabilityZone: {}, - }, - }, - }, - 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" }, - }, - wrapper: true, - }, - S1o: { type: "list", member: { locationName: "CacheNodeId" } }, - S1z: { - type: "structure", - members: { - CacheParameterGroupName: {}, - CacheParameterGroupFamily: {}, - Description: {}, - IsGlobal: { type: "boolean" }, - }, - wrapper: true, - }, - S23: { type: "list", member: { locationName: "SubnetIdentifier" } }, - S25: { - type: "structure", - members: { - CacheSubnetGroupName: {}, - CacheSubnetGroupDescription: {}, - VpcId: {}, - Subnets: { - type: "list", - member: { - locationName: "Subnet", - type: "structure", - members: { - SubnetIdentifier: {}, - SubnetAvailabilityZone: { - type: "structure", - members: { Name: {} }, - wrapper: true, - }, - }, - }, - }, - }, - wrapper: true, - }, - S2b: { - type: "structure", - members: { - GlobalReplicationGroupId: {}, - GlobalReplicationGroupDescription: {}, - Status: {}, - CacheNodeType: {}, - Engine: {}, - EngineVersion: {}, - Members: { - type: "list", - member: { - locationName: "GlobalReplicationGroupMember", - type: "structure", - members: { - ReplicationGroupId: {}, - ReplicationGroupRegion: {}, - Role: {}, - AutomaticFailover: {}, - Status: {}, - }, - wrapper: true, - }, - }, - ClusterEnabled: { type: "boolean" }, - GlobalNodeGroups: { - type: "list", - member: { - locationName: "GlobalNodeGroup", - type: "structure", - members: { GlobalNodeGroupId: {}, Slots: {} }, - }, - }, - AuthTokenEnabled: { type: "boolean" }, - TransitEncryptionEnabled: { type: "boolean" }, - AtRestEncryptionEnabled: { type: "boolean" }, - }, - wrapper: true, - }, - S2m: { type: "list", member: { locationName: "GlobalNodeGroupId" } }, - S2p: { - type: "list", - member: { - locationName: "ConfigureShard", - type: "structure", - required: ["NodeGroupId", "NewReplicaCount"], - members: { - NodeGroupId: {}, - NewReplicaCount: { type: "integer" }, - PreferredAvailabilityZones: { shape: "S1h" }, - }, - }, - }, - S3g: { - type: "list", - member: { - locationName: "Parameter", - type: "structure", - members: { - ParameterName: {}, - ParameterValue: {}, - Description: {}, - Source: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: { type: "boolean" }, - MinimumEngineVersion: {}, - ChangeType: {}, - }, - }, - }, - S3j: { - 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: {}, - }, - }, - }, - S4a: { - 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: "S4b" }, - ReservationARN: {}, - }, - wrapper: true, - }, - S4b: { - type: "list", - member: { - locationName: "RecurringCharge", - type: "structure", - members: { - RecurringChargeAmount: { type: "double" }, - RecurringChargeFrequency: {}, - }, - wrapper: true, - }, - }, - S4i: { type: "list", member: {} }, - S5e: { - type: "list", - member: { - locationName: "ReshardingConfiguration", - type: "structure", - members: { - NodeGroupId: {}, - PreferredAvailabilityZones: { shape: "S1e" }, - }, - }, - }, - S5l: { type: "list", member: {} }, - S5r: { - type: "list", - member: { - locationName: "ParameterNameValue", - type: "structure", - members: { ParameterName: {}, ParameterValue: {} }, - }, - }, - S5t: { type: "structure", members: { CacheParameterGroupName: {} } }, - }, - }; +/***/ 3877: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 4400: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +apiLoader.services['ec2'] = {}; +AWS.EC2 = Service.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']); +__webpack_require__(6925); +Object.defineProperty(apiLoader.services['ec2'], '2016-11-15', { + get: function get() { + var model = __webpack_require__(9206); + model.paginators = __webpack_require__(47).pagination; + model.waiters = __webpack_require__(1511).waiters; + return model; + }, + enumerable: true, + configurable: true +}); - apiLoader.services["workspaces"] = {}; - AWS.WorkSpaces = Service.defineService("workspaces", ["2015-04-08"]); - Object.defineProperty(apiLoader.services["workspaces"], "2015-04-08", { - get: function get() { - var model = __webpack_require__(5168); - model.paginators = __webpack_require__(7854).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +module.exports = AWS.EC2; - module.exports = AWS.WorkSpaces; - /***/ - }, +/***/ }), - /***/ 4409: /***/ function (module) { - module.exports = { - pagination: { - ListEventTypes: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "EventTypes", - }, - ListNotificationRules: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "NotificationRules", - }, - ListTargets: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "Targets", - }, - }, - }; +/***/ 3881: +/***/ (function(module) { - /***/ - }, +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-06-10","endpointPrefix":"portal.sso","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"SSO","serviceFullName":"AWS Single Sign-On","serviceId":"SSO","signatureVersion":"v4","signingName":"awsssoportal","uid":"sso-2019-06-10"},"operations":{"GetRoleCredentials":{"http":{"method":"GET","requestUri":"/federation/credentials"},"input":{"type":"structure","required":["roleName","accountId","accessToken"],"members":{"roleName":{"location":"querystring","locationName":"role_name"},"accountId":{"location":"querystring","locationName":"account_id"},"accessToken":{"shape":"S4","location":"header","locationName":"x-amz-sso_bearer_token"}}},"output":{"type":"structure","members":{"roleCredentials":{"type":"structure","members":{"accessKeyId":{},"secretAccessKey":{"type":"string","sensitive":true},"sessionToken":{"type":"string","sensitive":true},"expiration":{"type":"long"}}}}},"authtype":"none"},"ListAccountRoles":{"http":{"method":"GET","requestUri":"/assignment/roles"},"input":{"type":"structure","required":["accessToken","accountId"],"members":{"nextToken":{"location":"querystring","locationName":"next_token"},"maxResults":{"location":"querystring","locationName":"max_result","type":"integer"},"accessToken":{"shape":"S4","location":"header","locationName":"x-amz-sso_bearer_token"},"accountId":{"location":"querystring","locationName":"account_id"}}},"output":{"type":"structure","members":{"nextToken":{},"roleList":{"type":"list","member":{"type":"structure","members":{"roleName":{},"accountId":{}}}}}},"authtype":"none"},"ListAccounts":{"http":{"method":"GET","requestUri":"/assignment/accounts"},"input":{"type":"structure","required":["accessToken"],"members":{"nextToken":{"location":"querystring","locationName":"next_token"},"maxResults":{"location":"querystring","locationName":"max_result","type":"integer"},"accessToken":{"shape":"S4","location":"header","locationName":"x-amz-sso_bearer_token"}}},"output":{"type":"structure","members":{"nextToken":{},"accountList":{"type":"list","member":{"type":"structure","members":{"accountId":{},"accountName":{},"emailAddress":{}}}}}},"authtype":"none"},"Logout":{"http":{"requestUri":"/logout"},"input":{"type":"structure","required":["accessToken"],"members":{"accessToken":{"shape":"S4","location":"header","locationName":"x-amz-sso_bearer_token"}}},"authtype":"none"}},"shapes":{"S4":{"type":"string","sensitive":true}}}; - /***/ 4427: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; +/***/ }), - // Older verions of Node.js might not have `util.getSystemErrorName()`. - // In that case, fall back to a deprecated internal. - const util = __webpack_require__(1669); +/***/ 3889: +/***/ (function(module) { - let uv; +module.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"}}}; - if (typeof util.getSystemErrorName === "function") { - module.exports = util.getSystemErrorName; - } else { - try { - uv = process.binding("uv"); +/***/ }), - if (typeof uv.errname !== "function") { - throw new TypeError("uv.errname is not a function"); - } - } catch (err) { - console.error( - "execa/lib/errname: unable to establish process.binding('uv')", - err - ); - uv = null; - } +/***/ 3916: +/***/ (function(module) { - module.exports = (code) => errname(uv, code); - } +module.exports = {"pagination":{"DescribeDBClusterEndpoints":{"input_token":"Marker","limit_key":"MaxRecords","output_token":"Marker","result_key":"DBClusterEndpoints"},"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"},"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"},"DescribeOrderableDBInstanceOptions":{"input_token":"Marker","limit_key":"MaxRecords","output_token":"Marker","result_key":"OrderableDBInstanceOptions"},"ListTagsForResource":{"result_key":"TagList"}}}; - // Used for testing the fallback behavior - module.exports.__test__ = errname; +/***/ }), - function errname(uv, code) { - if (uv) { - return uv.errname(code); - } +/***/ 3929: +/***/ (function(module, __unusedexports, __webpack_require__) { - if (!(code < 0)) { - throw new Error("err >= 0"); - } +module.exports = hasNextPage - return `Unknown system error ${code}`; - } +const deprecate = __webpack_require__(6370) +const getPageLinks = __webpack_require__(4577) - /***/ - }, +function hasNextPage (link) { + deprecate(`octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) + return getPageLinks(link).next +} - /***/ 4430: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = octokitValidate; - const validate = __webpack_require__(1348); +/***/ }), - function octokitValidate(octokit) { - octokit.hook.before("request", validate.bind(null, octokit)); - } +/***/ 3964: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +var Shape = __webpack_require__(3682); - /***/ 4431: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - var __importStar = - (this && this.__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; - }; - Object.defineProperty(exports, "__esModule", { value: true }); - const os = __importStar(__webpack_require__(2087)); - const utils_1 = __webpack_require__(5082); - /** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value - */ - function issueCommand(command, properties, message) { - const cmd = new Command(command, properties, message); - process.stdout.write(cmd.toString() + os.EOL); - } - exports.issueCommand = issueCommand; - function issue(name, message = "") { - issueCommand(name, {}, message); - } - exports.issue = issue; - const CMD_STRING = "::"; - class Command { - constructor(command, properties, message) { - if (!command) { - command = "missing.command"; - } - this.command = command; - this.properties = properties; - this.message = message; - } - toString() { - let cmdStr = CMD_STRING + this.command; - if (this.properties && Object.keys(this.properties).length > 0) { - cmdStr += " "; - let first = true; - for (const key in this.properties) { - if (this.properties.hasOwnProperty(key)) { - const val = this.properties[key]; - if (val) { - if (first) { - first = false; - } else { - cmdStr += ","; - } - cmdStr += `${key}=${escapeProperty(val)}`; - } - } - } - } - cmdStr += `${CMD_STRING}${escapeData(this.message)}`; - return cmdStr; - } - } - function escapeData(s) { - return utils_1 - .toCommandValue(s) - .replace(/%/g, "%25") - .replace(/\r/g, "%0D") - .replace(/\n/g, "%0A"); - } - function escapeProperty(s) { - return utils_1 - .toCommandValue(s) - .replace(/%/g, "%25") - .replace(/\r/g, "%0D") - .replace(/\n/g, "%0A") - .replace(/:/g, "%3A") - .replace(/,/g, "%2C"); - } - //# sourceMappingURL=command.js.map +var util = __webpack_require__(153); +var property = util.property; +var memoizedProperty = util.memoizedProperty; - /***/ - }, +function Operation(name, operation, options) { + var self = this; + options = options || {}; - /***/ 4437: /***/ function (module) { - module.exports = { - pagination: { - ListMeshes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "meshes", - }, - ListRoutes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "routes", - }, - ListVirtualNodes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualNodes", - }, - ListVirtualRouters: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualRouters", - }, - }, - }; + property(this, 'name', operation.name || name); + property(this, 'api', options.api, false); - /***/ - }, + operation.http = operation.http || {}; + property(this, 'endpoint', operation.endpoint); + property(this, 'httpMethod', operation.http.method || 'POST'); + property(this, 'httpPath', operation.http.requestUri || '/'); + property(this, 'authtype', operation.authtype || ''); + property( + this, + 'endpointDiscoveryRequired', + operation.endpointdiscovery ? + (operation.endpointdiscovery.required ? 'REQUIRED' : 'OPTIONAL') : + 'NULL' + ); - /***/ 4444: /***/ function (module) { - 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: { - 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: "S4", - locationName: "scheduleActions", - }, - }, - required: ["ScheduleActions"], - }, - Deletes: { - locationName: "deletes", - type: "structure", - members: { - ActionNames: { shape: "Sf", locationName: "actionNames" }, - }, - required: ["ActionNames"], - }, - }, - required: ["ChannelId"], - }, - output: { - type: "structure", - members: { - Creates: { - locationName: "creates", - type: "structure", - members: { - ScheduleActions: { - shape: "S4", - locationName: "scheduleActions", - }, - }, - required: ["ScheduleActions"], - }, - Deletes: { - locationName: "deletes", - type: "structure", - members: { - ScheduleActions: { - shape: "S4", - locationName: "scheduleActions", - }, - }, - required: ["ScheduleActions"], - }, - }, - }, - }, - CreateChannel: { - http: { requestUri: "/prod/channels", responseCode: 201 }, - input: { - type: "structure", - members: { - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - Reserved: { locationName: "reserved", deprecated: true }, - RoleArn: { locationName: "roleArn" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - output: { - type: "structure", - members: { Channel: { shape: "Sbo", locationName: "channel" } }, - }, - }, - CreateInput: { - http: { requestUri: "/prod/inputs", responseCode: 201 }, - input: { - type: "structure", - members: { - Destinations: { shape: "Sbv", locationName: "destinations" }, - InputSecurityGroups: { - shape: "Sf", - locationName: "inputSecurityGroups", - }, - MediaConnectFlows: { - shape: "Sbx", - locationName: "mediaConnectFlows", - }, - Name: { locationName: "name" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - RoleArn: { locationName: "roleArn" }, - Sources: { shape: "Sbz", locationName: "sources" }, - Tags: { shape: "Sbm", locationName: "tags" }, - Type: { locationName: "type" }, - Vpc: { - locationName: "vpc", - type: "structure", - members: { - SecurityGroupIds: { - shape: "Sf", - locationName: "securityGroupIds", - }, - SubnetIds: { shape: "Sf", locationName: "subnetIds" }, - }, - required: ["SubnetIds"], - }, - }, - }, - output: { - type: "structure", - members: { Input: { shape: "Sc4", locationName: "input" } }, - }, - }, - CreateInputSecurityGroup: { - http: { - requestUri: "/prod/inputSecurityGroups", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { - shape: "Scg", - locationName: "whitelistRules", - }, - }, - }, - output: { - type: "structure", - members: { - SecurityGroup: { shape: "Scj", locationName: "securityGroup" }, - }, - }, - }, - CreateMultiplex: { - http: { requestUri: "/prod/multiplexes", responseCode: 201 }, - input: { - type: "structure", - members: { - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", - }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - required: [ - "RequestId", - "MultiplexSettings", - "AvailabilityZones", - "Name", - ], - }, - output: { - type: "structure", - members: { - Multiplex: { shape: "Sct", locationName: "multiplex" }, - }, - }, - }, - CreateMultiplexProgram: { - http: { - requestUri: "/prod/multiplexes/{multiplexId}/programs", - responseCode: 201, - }, - input: { - type: "structure", - members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - MultiplexProgramSettings: { - shape: "Scz", - locationName: "multiplexProgramSettings", - }, - ProgramName: { locationName: "programName" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - }, - required: [ - "MultiplexId", - "RequestId", - "MultiplexProgramSettings", - "ProgramName", - ], - }, - output: { - type: "structure", - members: { - MultiplexProgram: { - shape: "Sd7", - locationName: "multiplexProgram", - }, - }, - }, - }, - CreateTags: { - http: { - requestUri: "/prod/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "Sbm", 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" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", - }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - 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: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", 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: "Scz", - locationName: "multiplexProgramSettings", - }, - PacketIdentifiersMap: { - shape: "Sd8", - locationName: "packetIdentifiersMap", - }, - 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: "Sdp", - locationName: "resourceSpecification", - }, - Start: { locationName: "start" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", 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: "Sf", - 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" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", - }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - 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: "Sf", - locationName: "attachedChannels", - }, - Destinations: { shape: "Sc5", locationName: "destinations" }, - Id: { locationName: "id" }, - InputClass: { locationName: "inputClass" }, - InputSourceType: { locationName: "inputSourceType" }, - MediaConnectFlows: { - shape: "Sca", - locationName: "mediaConnectFlows", - }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - SecurityGroups: { shape: "Sf", locationName: "securityGroups" }, - Sources: { shape: "Scc", locationName: "sources" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - Type: { locationName: "type" }, - }, - }, - }, - 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: "Sf", locationName: "inputs" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { - shape: "Scl", - 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: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", 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: "Scz", - locationName: "multiplexProgramSettings", - }, - PacketIdentifiersMap: { - shape: "Sd8", - locationName: "packetIdentifiersMap", - }, - 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: "Sdp", - 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: "Sdp", - locationName: "resourceSpecification", - }, - Start: { locationName: "start" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", 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: "S4", - 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" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { - shape: "S1j", - locationName: "destinations", - }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - 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: "Scj" }, - }, - 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: "Sc4" }, - }, - 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: "Sf", - 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: "Sbm", 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: "Sdp", - 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: "Sf8" }, - }, - }, - }, - }, - 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: "Sbm", 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: "Sbm", locationName: "tags" }, - }, - required: ["OfferingId", "Count"], - }, - output: { - type: "structure", - members: { - Reservation: { shape: "Sf8", locationName: "reservation" }, - }, - }, - }, - 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" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", - }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - 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: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", 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" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", - }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - 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: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - UpdateChannel: { - http: { - method: "PUT", - requestUri: "/prod/channels/{channelId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ChannelId: { location: "uri", locationName: "channelId" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - }, - required: ["ChannelId"], - }, - output: { - type: "structure", - members: { Channel: { shape: "Sbo", 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: "S1j", locationName: "destinations" }, - }, - required: ["ChannelId", "ChannelClass"], - }, - output: { - type: "structure", - members: { Channel: { shape: "Sbo", locationName: "channel" } }, - }, - }, - UpdateInput: { - http: { - method: "PUT", - requestUri: "/prod/inputs/{inputId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Destinations: { shape: "Sbv", locationName: "destinations" }, - InputId: { location: "uri", locationName: "inputId" }, - InputSecurityGroups: { - shape: "Sf", - locationName: "inputSecurityGroups", - }, - MediaConnectFlows: { - shape: "Sbx", - locationName: "mediaConnectFlows", - }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - Sources: { shape: "Sbz", locationName: "sources" }, - }, - required: ["InputId"], - }, - output: { - type: "structure", - members: { Input: { shape: "Sc4", locationName: "input" } }, - }, - }, - UpdateInputSecurityGroup: { - http: { - method: "PUT", - requestUri: "/prod/inputSecurityGroups/{inputSecurityGroupId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - InputSecurityGroupId: { - location: "uri", - locationName: "inputSecurityGroupId", - }, - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { - shape: "Scg", - locationName: "whitelistRules", - }, - }, - required: ["InputSecurityGroupId"], - }, - output: { - type: "structure", - members: { - SecurityGroup: { shape: "Scj", locationName: "securityGroup" }, - }, - }, - }, - UpdateMultiplex: { - http: { - method: "PUT", - requestUri: "/prod/multiplexes/{multiplexId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - }, - required: ["MultiplexId"], - }, - output: { - type: "structure", - members: { - Multiplex: { shape: "Sct", 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: "Scz", - locationName: "multiplexProgramSettings", - }, - ProgramName: { location: "uri", locationName: "programName" }, - }, - required: ["MultiplexId", "ProgramName"], - }, - output: { - type: "structure", - members: { - MultiplexProgram: { - shape: "Sd7", - 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: "Sf8", locationName: "reservation" }, - }, - }, - }, - }, - shapes: { - S4: { - 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"], - }, - InputSwitchSettings: { - locationName: "inputSwitchSettings", - type: "structure", - members: { - InputAttachmentNameReference: { - locationName: "inputAttachmentNameReference", - }, - InputClippingSettings: { - locationName: "inputClippingSettings", - 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"], - }, - UrlPath: { shape: "Sf", locationName: "urlPath" }, - }, - required: ["InputAttachmentNameReference"], - }, - 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: "S14", 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", - ], - }, - }, - Sf: { type: "list", member: {} }, - S14: { - type: "structure", - members: { - PasswordParam: { locationName: "passwordParam" }, - Uri: { locationName: "uri" }, - Username: { locationName: "username" }, - }, - required: ["Uri"], - }, - S1j: { - 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" }, - }, - }, - }, - }, - }, - }, - S1r: { - 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" }, - 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: {}, - }, - }, - }, - 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: "S14", - 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: "S14", - locationName: "blackoutSlateImage", - }, - NetworkEndBlackout: { locationName: "networkEndBlackout" }, - NetworkEndBlackoutImage: { - shape: "S14", - 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: "S14", 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: "S14", 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", - }, - }, - }, - 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: {}, - }, - }, - }, - LanguageCode: { locationName: "languageCode" }, - LanguageDescription: { - locationName: "languageDescription", - }, - Name: { locationName: "name" }, - }, - required: ["CaptionSelectorName", "Name"], - }, - }, - 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: "S14", - locationName: "inputLossImageSlate", - }, - InputLossImageType: { - locationName: "inputLossImageType", - }, - RepeatFrameMsec: { - locationName: "repeatFrameMsec", - type: "integer", - }, - }, - }, - OutputLockingMode: { locationName: "outputLockingMode" }, - OutputTimingSource: { locationName: "outputTimingSource" }, - SupportLowFramerateInputs: { - locationName: "supportLowFramerateInputs", - }, - }, - }, - 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: { - Destination: { - shape: "S51", - locationName: "destination", - }, - RolloverInterval: { - locationName: "rolloverInterval", - type: "integer", - }, - }, - required: ["Destination"], - }, - FrameCaptureGroupSettings: { - locationName: "frameCaptureGroupSettings", - type: "structure", - members: { - Destination: { - shape: "S51", - locationName: "destination", - }, - }, - 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: "S51", - locationName: "destination", - }, - DirectoryStructure: { - locationName: "directoryStructure", - }, - 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", - }, - }, - }, - 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", - }, - 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: "S14", - 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: "S51", - 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: "S51", - 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: { - 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: "Sf", - locationName: "audioDescriptionNames", - }, - CaptionDescriptionNames: { - shape: "Sf", - 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: "S6z", - locationName: "m2tsSettings", - }, - }, - }, - 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: "S14", - locationName: "audioOnlyImage", - }, - AudioTrackType: { - locationName: "audioTrackType", - }, - SegmentType: { - locationName: "segmentType", - }, - }, - }, - Fmp4HlsSettings: { - locationName: "fmp4HlsSettings", - type: "structure", - members: { - AudioRenditionSets: { - locationName: "audioRenditionSets", - }, - }, - }, - 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: "S51", - locationName: "destination", - }, - }, - required: ["Destination"], - }, - RtmpOutputSettings: { - locationName: "rtmpOutputSettings", - type: "structure", - members: { - CertificateMode: { - locationName: "certificateMode", - }, - ConnectionRetryInterval: { - locationName: "connectionRetryInterval", - type: "integer", - }, - Destination: { - shape: "S51", - 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: "S6z", - locationName: "m2tsSettings", - }, - }, - }, - Destination: { - shape: "S51", - 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", - }, - }, - required: ["CaptureInterval"], - }, - 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: "S92", - locationName: "colorSpacePassthroughSettings", - }, - Rec601Settings: { - shape: "S93", - locationName: "rec601Settings", - }, - Rec709Settings: { - shape: "S94", - locationName: "rec709Settings", - }, - }, - }, - EntropyEncoding: { - locationName: "entropyEncoding", - }, - 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" }, - 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: "S92", - locationName: "colorSpacePassthroughSettings", - }, - Hdr10Settings: { - locationName: "hdr10Settings", - type: "structure", - members: { - MaxCll: { - locationName: "maxCll", - type: "integer", - }, - MaxFall: { - locationName: "maxFall", - type: "integer", - }, - }, - }, - Rec601Settings: { - shape: "S93", - locationName: "rec601Settings", - }, - Rec709Settings: { - shape: "S94", - locationName: "rec709Settings", - }, - }, - }, - 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", - ], - }, - }, - }, - 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", - ], - }, - S51: { - type: "structure", - members: { DestinationRefId: { locationName: "destinationRefId" } }, - }, - S6z: { - 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" }, - }, - }, - S92: { type: "structure", members: {} }, - S93: { type: "structure", members: {} }, - S94: { type: "structure", members: {} }, - Saf: { - type: "list", - member: { - type: "structure", - members: { - AutomaticInputFailoverSettings: { - locationName: "automaticInputFailoverSettings", - type: "structure", - members: { - 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: { - 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"], - }, - }, - }, - }, - required: ["Name"], - }, - }, - CaptionSelectors: { - locationName: "captionSelectors", - type: "list", - member: { - type: "structure", - members: { - LanguageCode: { locationName: "languageCode" }, - Name: { locationName: "name" }, - SelectorSettings: { - locationName: "selectorSettings", - type: "structure", - members: { - AribSourceSettings: { - locationName: "aribSourceSettings", - type: "structure", - members: {}, - }, - DvbSubSourceSettings: { - locationName: "dvbSubSourceSettings", - type: "structure", - members: { - 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: { - Pid: { locationName: "pid", type: "integer" }, - }, - }, - TeletextSourceSettings: { - locationName: "teletextSourceSettings", - type: "structure", - members: { - 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", - }, - }, - }, - ServerValidation: { locationName: "serverValidation" }, - }, - }, - SourceEndBehavior: { locationName: "sourceEndBehavior" }, - VideoSelector: { - locationName: "videoSelector", - type: "structure", - members: { - ColorSpace: { locationName: "colorSpace" }, - 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", - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - Sbh: { - type: "structure", - members: { - Codec: { locationName: "codec" }, - MaximumBitrate: { locationName: "maximumBitrate" }, - Resolution: { locationName: "resolution" }, - }, - }, - Sbm: { type: "map", key: {}, value: {} }, - Sbo: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", - }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - Sbp: { - type: "list", - member: { - type: "structure", - members: { SourceIp: { locationName: "sourceIp" } }, - }, - }, - Sbr: { - type: "list", - member: { - type: "structure", - members: { - ActiveInputAttachmentName: { - locationName: "activeInputAttachmentName", - }, - ActiveInputSwitchActionName: { - locationName: "activeInputSwitchActionName", - }, - PipelineId: { locationName: "pipelineId" }, - }, - }, - }, - Sbv: { - type: "list", - member: { - type: "structure", - members: { StreamName: { locationName: "streamName" } }, - }, - }, - Sbx: { - type: "list", - member: { - type: "structure", - members: { FlowArn: { locationName: "flowArn" } }, - }, - }, - Sbz: { - type: "list", - member: { - type: "structure", - members: { - PasswordParam: { locationName: "passwordParam" }, - Url: { locationName: "url" }, - Username: { locationName: "username" }, - }, - }, - }, - Sc4: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - AttachedChannels: { - shape: "Sf", - locationName: "attachedChannels", - }, - Destinations: { shape: "Sc5", locationName: "destinations" }, - Id: { locationName: "id" }, - InputClass: { locationName: "inputClass" }, - InputSourceType: { locationName: "inputSourceType" }, - MediaConnectFlows: { - shape: "Sca", - locationName: "mediaConnectFlows", - }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - SecurityGroups: { shape: "Sf", locationName: "securityGroups" }, - Sources: { shape: "Scc", locationName: "sources" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - Type: { locationName: "type" }, - }, - }, - Sc5: { - 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" }, - }, - }, - }, - }, - }, - Sca: { - type: "list", - member: { - type: "structure", - members: { FlowArn: { locationName: "flowArn" } }, - }, - }, - Scc: { - type: "list", - member: { - type: "structure", - members: { - PasswordParam: { locationName: "passwordParam" }, - Url: { locationName: "url" }, - Username: { locationName: "username" }, - }, - }, - }, - Scg: { - type: "list", - member: { - type: "structure", - members: { Cidr: { locationName: "cidr" } }, - }, - }, - Scj: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Id: { locationName: "id" }, - Inputs: { shape: "Sf", locationName: "inputs" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { shape: "Scl", locationName: "whitelistRules" }, - }, - }, - Scl: { - type: "list", - member: { - type: "structure", - members: { Cidr: { locationName: "cidr" } }, - }, - }, - Sco: { - 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"], - }, - Sct: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - Scu: { - type: "list", - member: { - type: "structure", - members: { - MediaConnectSettings: { - locationName: "mediaConnectSettings", - type: "structure", - members: { - EntitlementArn: { locationName: "entitlementArn" }, - }, - }, - }, - }, - }, - Scz: { - 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", - }, - }, - }, - }, - }, - }, - required: ["ProgramNumber"], - }, - Sd7: { - type: "structure", - members: { - ChannelId: { locationName: "channelId" }, - MultiplexProgramSettings: { - shape: "Scz", - locationName: "multiplexProgramSettings", - }, - PacketIdentifiersMap: { - shape: "Sd8", - locationName: "packetIdentifiersMap", - }, - ProgramName: { locationName: "programName" }, - }, - }, - Sd8: { - type: "structure", - members: { - AudioPids: { shape: "Sd9", locationName: "audioPids" }, - DvbSubPids: { shape: "Sd9", locationName: "dvbSubPids" }, - DvbTeletextPid: { - locationName: "dvbTeletextPid", - type: "integer", - }, - EtvPlatformPid: { - locationName: "etvPlatformPid", - type: "integer", - }, - EtvSignalPid: { locationName: "etvSignalPid", type: "integer" }, - KlvDataPids: { shape: "Sd9", locationName: "klvDataPids" }, - PcrPid: { locationName: "pcrPid", type: "integer" }, - PmtPid: { locationName: "pmtPid", type: "integer" }, - PrivateMetadataPid: { - locationName: "privateMetadataPid", - type: "integer", - }, - Scte27Pids: { shape: "Sd9", locationName: "scte27Pids" }, - Scte35Pid: { locationName: "scte35Pid", type: "integer" }, - TimedMetadataPid: { - locationName: "timedMetadataPid", - type: "integer", - }, - VideoPid: { locationName: "videoPid", type: "integer" }, - }, - }, - Sd9: { type: "list", member: { type: "integer" } }, - Sdp: { - 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" }, - }, - }, - Sf8: { - 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: "Sdp", - locationName: "resourceSpecification", - }, - Start: { locationName: "start" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - UsagePrice: { locationName: "usagePrice", type: "double" }, - }, - }, - }, - }; + memoizedProperty(this, 'input', function() { + if (!operation.input) { + return new Shape.create({type: 'structure'}, options); + } + return Shape.create(operation.input, options); + }); - /***/ - }, + memoizedProperty(this, 'output', function() { + if (!operation.output) { + return new Shape.create({type: 'structure'}, options); + } + return Shape.create(operation.output, options); + }); - /***/ 4454: /***/ function (module, exports, __webpack_require__) { - "use strict"; + memoizedProperty(this, 'errors', function() { + var list = []; + if (!operation.errors) return null; - Object.defineProperty(exports, "__esModule", { value: true }); + for (var i = 0; i < operation.errors.length; i++) { + list.push(Shape.create(operation.errors[i], options)); + } - function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex - ? ex["default"] - : ex; - } + return list; + }); - var Stream = _interopDefault(__webpack_require__(2413)); - var http = _interopDefault(__webpack_require__(8605)); - var Url = _interopDefault(__webpack_require__(8835)); - var https = _interopDefault(__webpack_require__(7211)); - var zlib = _interopDefault(__webpack_require__(8761)); - - // Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js - - // fix for "Readable" isn't a named export issue - const Readable = Stream.Readable; - - const BUFFER = Symbol("buffer"); - const TYPE = Symbol("type"); - - class Blob { - constructor() { - this[TYPE] = ""; - - const blobParts = arguments[0]; - const options = arguments[1]; - - const buffers = []; - let size = 0; - - if (blobParts) { - const a = blobParts; - const length = Number(a.length); - for (let i = 0; i < length; i++) { - const element = a[i]; - let buffer; - if (element instanceof Buffer) { - buffer = element; - } else if (ArrayBuffer.isView(element)) { - buffer = Buffer.from( - element.buffer, - element.byteOffset, - element.byteLength - ); - } else if (element instanceof ArrayBuffer) { - buffer = Buffer.from(element); - } else if (element instanceof Blob) { - buffer = element[BUFFER]; - } else { - buffer = Buffer.from( - typeof element === "string" ? element : String(element) - ); - } - size += buffer.length; - buffers.push(buffer); - } - } + memoizedProperty(this, 'paginator', function() { + return options.api.paginators[name]; + }); - this[BUFFER] = Buffer.concat(buffers); + if (options.documentation) { + property(this, 'documentation', operation.documentation); + property(this, 'documentationUrl', operation.documentationUrl); + } - let type = - options && - options.type !== undefined && - String(options.type).toLowerCase(); - if (type && !/[^\u0020-\u007E]/.test(type)) { - this[TYPE] = type; - } - } - get size() { - return this[BUFFER].length; - } - get type() { - return this[TYPE]; - } - text() { - return Promise.resolve(this[BUFFER].toString()); - } - arrayBuffer() { - const buf = this[BUFFER]; - const ab = buf.buffer.slice( - buf.byteOffset, - buf.byteOffset + buf.byteLength - ); - return Promise.resolve(ab); - } - stream() { - const readable = new Readable(); - readable._read = function () {}; - readable.push(this[BUFFER]); - readable.push(null); - return readable; - } - toString() { - return "[object Blob]"; - } - slice() { - const size = this.size; - - const start = arguments[0]; - const end = arguments[1]; - let relativeStart, relativeEnd; - if (start === undefined) { - relativeStart = 0; - } else if (start < 0) { - relativeStart = Math.max(size + start, 0); - } else { - relativeStart = Math.min(start, size); - } - if (end === undefined) { - relativeEnd = size; - } else if (end < 0) { - relativeEnd = Math.max(size + end, 0); - } else { - relativeEnd = Math.min(end, size); - } - const span = Math.max(relativeEnd - relativeStart, 0); + // idempotentMembers only tracks top-level input shapes + memoizedProperty(this, 'idempotentMembers', function() { + var idempotentMembers = []; + var input = self.input; + var members = input.members; + if (!input.members) { + return idempotentMembers; + } + for (var name in members) { + if (!members.hasOwnProperty(name)) { + continue; + } + if (members[name].isIdempotent === true) { + idempotentMembers.push(name); + } + } + return idempotentMembers; + }); + + memoizedProperty(this, 'hasEventOutput', function() { + var output = self.output; + return hasEventStream(output); + }); +} + +function hasEventStream(topLevelShape) { + var members = topLevelShape.members; + var payload = topLevelShape.payload; + + if (!topLevelShape.members) { + return false; + } - const buffer = this[BUFFER]; - const slicedBuffer = buffer.slice( - relativeStart, - relativeStart + span - ); - const blob = new Blob([], { type: arguments[2] }); - blob[BUFFER] = slicedBuffer; - return blob; - } + if (payload) { + var payloadMember = members[payload]; + return payloadMember.isEventStream; + } + + // check if any member is an event stream + for (var name in members) { + if (!members.hasOwnProperty(name)) { + if (members[name].isEventStream === true) { + return true; } + } + } + return false; +} + +/** + * @api private + */ +module.exports = Operation; + + +/***/ }), + +/***/ 3977: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { + +var AWS = __webpack_require__(395); + +/** + * @api private + */ +AWS.ParamValidator = AWS.util.inherit({ + /** + * Create a new validator object. + * + * @param validation [Boolean|map] whether input parameters should be + * validated against the operation description before sending the + * request. Pass a map to enable any of the following specific + * validation features: + * + * * **min** [Boolean] — Validates that a value meets the min + * constraint. This is enabled by default when paramValidation is set + * to `true`. + * * **max** [Boolean] — Validates that a value meets the max + * constraint. + * * **pattern** [Boolean] — Validates that a string value matches a + * regular expression. + * * **enum** [Boolean] — Validates that a string value matches one + * of the allowable enum values. + */ + constructor: function ParamValidator(validation) { + if (validation === true || validation === undefined) { + validation = {'min': true}; + } + this.validation = validation; + }, + + validate: function validate(shape, params, context) { + this.errors = []; + this.validateMember(shape, params || {}, context || 'params'); + + if (this.errors.length > 1) { + var msg = this.errors.join('\n* '); + msg = 'There were ' + this.errors.length + + ' validation errors:\n* ' + msg; + throw AWS.util.error(new Error(msg), + {code: 'MultipleValidationErrors', errors: this.errors}); + } else if (this.errors.length === 1) { + throw this.errors[0]; + } else { + return true; + } + }, + + fail: function fail(code, message) { + this.errors.push(AWS.util.error(new Error(message), {code: code})); + }, + + validateStructure: function validateStructure(shape, params, context) { + this.validateType(params, context, ['object'], 'structure'); + + var paramName; + for (var i = 0; shape.required && i < shape.required.length; i++) { + paramName = shape.required[i]; + var value = params[paramName]; + if (value === undefined || value === null) { + this.fail('MissingRequiredParameter', + 'Missing required key \'' + paramName + '\' in ' + context); + } + } + + // validate hash members + for (paramName in params) { + if (!Object.prototype.hasOwnProperty.call(params, paramName)) continue; + + var paramValue = params[paramName], + memberShape = shape.members[paramName]; + + if (memberShape !== undefined) { + var memberContext = [context, paramName].join('.'); + this.validateMember(memberShape, paramValue, memberContext); + } else { + this.fail('UnexpectedParameter', + 'Unexpected key \'' + paramName + '\' found in ' + context); + } + } + + return true; + }, + + validateMember: function validateMember(shape, param, context) { + switch (shape.type) { + case 'structure': + return this.validateStructure(shape, param, context); + case 'list': + return this.validateList(shape, param, context); + case 'map': + return this.validateMap(shape, param, context); + default: + return this.validateScalar(shape, param, context); + } + }, + + validateList: function validateList(shape, params, context) { + if (this.validateType(params, context, [Array])) { + this.validateRange(shape, params.length, context, 'list member count'); + // validate array members + for (var i = 0; i < params.length; i++) { + this.validateMember(shape.member, params[i], context + '[' + i + ']'); + } + } + }, + + validateMap: function validateMap(shape, params, context) { + if (this.validateType(params, context, ['object'], 'map')) { + // Build up a count of map members to validate range traits. + var mapCount = 0; + for (var param in params) { + if (!Object.prototype.hasOwnProperty.call(params, param)) continue; + // Validate any map key trait constraints + this.validateMember(shape.key, param, + context + '[key=\'' + param + '\']'); + this.validateMember(shape.value, params[param], + context + '[\'' + param + '\']'); + mapCount++; + } + this.validateRange(shape, mapCount, context, 'map member count'); + } + }, + + validateScalar: function validateScalar(shape, value, context) { + switch (shape.type) { + case null: + case undefined: + case 'string': + return this.validateString(shape, value, context); + case 'base64': + case 'binary': + return this.validatePayload(value, context); + case 'integer': + case 'float': + return this.validateNumber(shape, value, context); + case 'boolean': + return this.validateType(value, context, ['boolean']); + case 'timestamp': + return this.validateType(value, context, [Date, + /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'], + 'Date object, ISO-8601 string, or a UNIX timestamp'); + default: + return this.fail('UnkownType', 'Unhandled type ' + + shape.type + ' for ' + context); + } + }, + + validateString: function validateString(shape, value, context) { + var validTypes = ['string']; + if (shape.isJsonValue) { + validTypes = validTypes.concat(['number', 'object', 'boolean']); + } + if (value !== null && this.validateType(value, context, validTypes)) { + this.validateEnum(shape, value, context); + this.validateRange(shape, value.length, context, 'string length'); + this.validatePattern(shape, value, context); + this.validateUri(shape, value, context); + } + }, + + validateUri: function validateUri(shape, value, context) { + if (shape['location'] === 'uri') { + if (value.length === 0) { + this.fail('UriParameterError', 'Expected uri parameter to have length >= 1,' + + ' but found "' + value +'" for ' + context); + } + } + }, + + validatePattern: function validatePattern(shape, value, context) { + if (this.validation['pattern'] && shape['pattern'] !== undefined) { + if (!(new RegExp(shape['pattern'])).test(value)) { + this.fail('PatternMatchError', 'Provided value "' + value + '" ' + + 'does not match regex pattern /' + shape['pattern'] + '/ for ' + + context); + } + } + }, + + validateRange: function validateRange(shape, value, context, descriptor) { + if (this.validation['min']) { + if (shape['min'] !== undefined && value < shape['min']) { + this.fail('MinRangeError', 'Expected ' + descriptor + ' >= ' + + shape['min'] + ', but found ' + value + ' for ' + context); + } + } + if (this.validation['max']) { + if (shape['max'] !== undefined && value > shape['max']) { + this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= ' + + shape['max'] + ', but found ' + value + ' for ' + context); + } + } + }, + + validateEnum: function validateRange(shape, value, context) { + if (this.validation['enum'] && shape['enum'] !== undefined) { + // Fail if the string value is not present in the enum list + if (shape['enum'].indexOf(value) === -1) { + this.fail('EnumError', 'Found string value of ' + value + ', but ' + + 'expected ' + shape['enum'].join('|') + ' for ' + context); + } + } + }, + + validateType: function validateType(value, context, acceptedTypes, type) { + // We will not log an error for null or undefined, but we will return + // false so that callers know that the expected type was not strictly met. + if (value === null || value === undefined) return false; + + var foundInvalidType = false; + for (var i = 0; i < acceptedTypes.length; i++) { + if (typeof acceptedTypes[i] === 'string') { + if (typeof value === acceptedTypes[i]) return true; + } else if (acceptedTypes[i] instanceof RegExp) { + if ((value || '').toString().match(acceptedTypes[i])) return true; + } else { + if (value instanceof acceptedTypes[i]) return true; + if (AWS.util.isType(value, acceptedTypes[i])) return true; + if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice(); + acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); + } + foundInvalidType = true; + } + + var acceptedType = type; + if (!acceptedType) { + acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1'); + } + + var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : ''; + this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' + + vowel + ' ' + acceptedType); + return false; + }, + + validateNumber: function validateNumber(shape, value, context) { + if (value === null || value === undefined) return; + if (typeof value === 'string') { + var castedValue = parseFloat(value); + if (castedValue.toString() === value) value = castedValue; + } + if (this.validateType(value, context, ['number'])) { + this.validateRange(shape, value, context, 'numeric value'); + } + }, + + validatePayload: function validatePayload(value, context) { + if (value === null || value === undefined) return; + if (typeof value === 'string') return; + if (value && typeof value.byteLength === 'number') return; // typed arrays + if (AWS.util.isNode()) { // special check for buffer/stream in Node.js + var Stream = AWS.util.stream.Stream; + if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return; + } else { + if (typeof Blob !== void 0 && value instanceof Blob) return; + } - Object.defineProperties(Blob.prototype, { - size: { enumerable: true }, - type: { enumerable: true }, - slice: { enumerable: true }, - }); + var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView']; + if (value) { + for (var i = 0; i < types.length; i++) { + if (AWS.util.isType(value, types[i])) return; + if (AWS.util.typeName(value.constructor) === types[i]) return; + } + } - Object.defineProperty(Blob.prototype, Symbol.toStringTag, { - value: "Blob", - writable: false, - enumerable: false, - configurable: true, - }); + this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' + + 'string, Buffer, Stream, Blob, or typed array object'); + } +}); - /** - * fetch-error.js - * - * FetchError interface for operational errors - */ - - /** - * Create FetchError instance - * - * @param String message Error message for human - * @param String type Error type for machine - * @param String systemError For Node.js system error - * @return FetchError - */ - function FetchError(message, type, systemError) { - Error.call(this, message); - this.message = message; - this.type = type; +/***/ }), - // when err.type is `system`, err.code contains system error code - if (systemError) { - this.code = this.errno = systemError.code; - } +/***/ 3985: +/***/ (function(module) { - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); - } +module.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":{}}}},"CreateTopic":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Attributes":{"shape":"Sp"},"Tags":{"shape":"Ss"}}},"output":{"resultWrapper":"CreateTopicResult","type":"structure","members":{"TopicArn":{}}}},"DeleteEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}}},"DeletePlatformApplication":{"input":{"type":"structure","required":["PlatformApplicationArn"],"members":{"PlatformApplicationArn":{}}}},"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"}}}},"GetSubscriptionAttributes":{"input":{"type":"structure","required":["SubscriptionArn"],"members":{"SubscriptionArn":{}}},"output":{"resultWrapper":"GetSubscriptionAttributesResult","type":"structure","members":{"Attributes":{"shape":"S19"}}}},"GetTopicAttributes":{"input":{"type":"structure","required":["TopicArn"],"members":{"TopicArn":{}}},"output":{"resultWrapper":"GetTopicAttributesResult","type":"structure","members":{"Attributes":{"shape":"Sp"}}}},"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":{}}}},"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":{}}}},"ListSubscriptions":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"resultWrapper":"ListSubscriptionsResult","type":"structure","members":{"Subscriptions":{"shape":"S1r"},"NextToken":{}}}},"ListSubscriptionsByTopic":{"input":{"type":"structure","required":["TopicArn"],"members":{"TopicArn":{},"NextToken":{}}},"output":{"resultWrapper":"ListSubscriptionsByTopicResult","type":"structure","members":{"Subscriptions":{"shape":"S1r"},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"resultWrapper":"ListTagsForResourceResult","type":"structure","members":{"Tags":{"shape":"Ss"}}}},"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":{"type":"map","key":{"locationName":"Name"},"value":{"locationName":"Value","type":"structure","required":["DataType"],"members":{"DataType":{},"StringValue":{},"BinaryValue":{"type":"blob"}}}},"MessageDeduplicationId":{},"MessageGroupId":{}}},"output":{"resultWrapper":"PublishResult","type":"structure","members":{"MessageId":{},"SequenceNumber":{}}}},"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":"S19"},"ReturnSubscriptionArn":{"type":"boolean"}}},"output":{"resultWrapper":"SubscribeResult","type":"structure","members":{"SubscriptionArn":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Ss"}}},"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":{}}}},"shapes":{"Sj":{"type":"map","key":{},"value":{}},"Sp":{"type":"map","key":{},"value":{}},"Ss":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S19":{"type":"map","key":{},"value":{}},"S1r":{"type":"list","member":{"type":"structure","members":{"SubscriptionArn":{},"Owner":{},"Protocol":{},"Endpoint":{},"TopicArn":{}}}}}}; - FetchError.prototype = Object.create(Error.prototype); - FetchError.prototype.constructor = FetchError; - FetchError.prototype.name = "FetchError"; +/***/ }), - let convert; - try { - convert = __webpack_require__(1018).convert; - } catch (e) {} - - const INTERNALS = Symbol("Body internals"); - - // fix an issue where "PassThrough" isn't a named export for node <10 - const PassThrough = Stream.PassThrough; - - /** - * Body mixin - * - * Ref: https://fetch.spec.whatwg.org/#body - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ - function Body(body) { - var _this = this; - - var _ref = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}, - _ref$size = _ref.size; - - let size = _ref$size === undefined ? 0 : _ref$size; - var _ref$timeout = _ref.timeout; - let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; - - if (body == null) { - // body is undefined or null - body = null; - } else if (isURLSearchParams(body)) { - // body is a URLSearchParams - body = Buffer.from(body.toString()); - } else if (isBlob(body)); - else if (Buffer.isBuffer(body)); - else if ( - Object.prototype.toString.call(body) === "[object ArrayBuffer]" - ) { - // body is ArrayBuffer - body = Buffer.from(body); - } else if (ArrayBuffer.isView(body)) { - // body is ArrayBufferView - body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); - } else if (body instanceof Stream); - else { - // none of the above - // coerce to string then buffer - body = Buffer.from(String(body)); - } - this[INTERNALS] = { - body, - disturbed: false, - error: null, - }; - this.size = size; - this.timeout = timeout; - - if (body instanceof Stream) { - body.on("error", function (err) { - const error = - err.name === "AbortError" - ? err - : new FetchError( - `Invalid response body while trying to fetch ${_this.url}: ${err.message}`, - "system", - err - ); - _this[INTERNALS].error = error; - }); - } - } +/***/ 3989: +/***/ (function(module, __unusedexports, __webpack_require__) { - Body.prototype = { - get body() { - return this[INTERNALS].body; - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - get bodyUsed() { - return this[INTERNALS].disturbed; - }, +apiLoader.services['pricing'] = {}; +AWS.Pricing = Service.defineService('pricing', ['2017-10-15']); +Object.defineProperty(apiLoader.services['pricing'], '2017-10-15', { + get: function get() { + var model = __webpack_require__(2760); + model.paginators = __webpack_require__(5437).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /** - * Decode response as ArrayBuffer - * - * @return Promise - */ - arrayBuffer() { - return consumeBody.call(this).then(function (buf) { - return buf.buffer.slice( - buf.byteOffset, - buf.byteOffset + buf.byteLength - ); - }); - }, +module.exports = AWS.Pricing; - /** - * Return raw response as Blob - * - * @return Promise - */ - blob() { - let ct = (this.headers && this.headers.get("content-type")) || ""; - return consumeBody.call(this).then(function (buf) { - return Object.assign( - // Prevent copying - new Blob([], { - type: ct.toLowerCase(), - }), - { - [BUFFER]: buf, - } - ); - }); - }, - /** - * Decode response as json - * - * @return Promise - */ - json() { - var _this2 = this; +/***/ }), - return consumeBody.call(this).then(function (buffer) { - try { - return JSON.parse(buffer.toString()); - } catch (err) { - return Body.Promise.reject( - new FetchError( - `invalid json response body at ${_this2.url} reason: ${err.message}`, - "invalid-json" - ) - ); - } - }); - }, +/***/ 3992: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - /** - * Decode response as text - * - * @return Promise - */ - text() { - return consumeBody.call(this).then(function (buffer) { - return buffer.toString(); - }); - }, +// Generated by CoffeeScript 1.12.7 +(function() { + "use strict"; + var builder, defaults, parser, processors, + extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + hasProp = {}.hasOwnProperty; - /** - * Decode response as buffer (non-spec api) - * - * @return Promise - */ - buffer() { - return consumeBody.call(this); - }, + defaults = __webpack_require__(1514); - /** - * Decode response as text, while automatically detecting the encoding and - * trying to decode to UTF-8 (non-spec api) - * - * @return Promise - */ - textConverted() { - var _this3 = this; + builder = __webpack_require__(2476); - return consumeBody.call(this).then(function (buffer) { - return convertBody(buffer, _this3.headers); - }); - }, - }; + parser = __webpack_require__(1885); - // In browsers, all properties are enumerable. - Object.defineProperties(Body.prototype, { - body: { enumerable: true }, - bodyUsed: { enumerable: true }, - arrayBuffer: { enumerable: true }, - blob: { enumerable: true }, - json: { enumerable: true }, - text: { enumerable: true }, - }); + processors = __webpack_require__(5350); - Body.mixIn = function (proto) { - for (const name of Object.getOwnPropertyNames(Body.prototype)) { - // istanbul ignore else: future proof - if (!(name in proto)) { - const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); - Object.defineProperty(proto, name, desc); - } - } - }; + exports.defaults = defaults.defaults; - /** - * Consume and convert an entire Body to a Buffer. - * - * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body - * - * @return Promise - */ - function consumeBody() { - var _this4 = this; - - if (this[INTERNALS].disturbed) { - return Body.Promise.reject( - new TypeError(`body used already for: ${this.url}`) - ); - } + exports.processors = processors; - this[INTERNALS].disturbed = true; + exports.ValidationError = (function(superClass) { + extend(ValidationError, superClass); - if (this[INTERNALS].error) { - return Body.Promise.reject(this[INTERNALS].error); - } + function ValidationError(message) { + this.message = message; + } - let body = this.body; + return ValidationError; - // body is null - if (body === null) { - return Body.Promise.resolve(Buffer.alloc(0)); - } + })(Error); - // body is blob - if (isBlob(body)) { - body = body.stream(); - } + exports.Builder = builder.Builder; - // body is buffer - if (Buffer.isBuffer(body)) { - return Body.Promise.resolve(body); - } + exports.Parser = parser.Parser; - // istanbul ignore if: should never happen - if (!(body instanceof Stream)) { - return Body.Promise.resolve(Buffer.alloc(0)); - } + exports.parseString = parser.parseString; - // body is stream - // get ready to actually consume the body - let accum = []; - let accumBytes = 0; - let abort = false; - - return new Body.Promise(function (resolve, reject) { - let resTimeout; - - // allow timeout on slow response body - if (_this4.timeout) { - resTimeout = setTimeout(function () { - abort = true; - reject( - new FetchError( - `Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, - "body-timeout" - ) - ); - }, _this4.timeout); - } +}).call(this); - // handle stream errors - body.on("error", function (err) { - if (err.name === "AbortError") { - // if the request was aborted, reject with this Error - abort = true; - reject(err); - } else { - // other errors, such as incorrect content-encoding - reject( - new FetchError( - `Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, - "system", - err - ) - ); - } - }); - body.on("data", function (chunk) { - if (abort || chunk === null) { - return; - } +/***/ }), - if (_this4.size && accumBytes + chunk.length > _this4.size) { - abort = true; - reject( - new FetchError( - `content size at ${_this4.url} over limit: ${_this4.size}`, - "max-size" - ) - ); - return; - } +/***/ 3998: +/***/ (function(module) { - accumBytes += chunk.length; - accum.push(chunk); - }); +module.exports = {"pagination":{"DescribeActionTargets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeProducts":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeStandards":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeStandardsControls":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetEnabledStandards":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetFindings":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetInsights":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListEnabledProductsForImport":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListInvitations":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListMembers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListOrganizationAdminAccounts":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - body.on("end", function () { - if (abort) { - return; - } +/***/ }), - clearTimeout(resTimeout); +/***/ 4008: +/***/ (function(module) { - try { - resolve(Buffer.concat(accum, accumBytes)); - } catch (err) { - // handle streams that have accumulated too much data (issue #414) - reject( - new FetchError( - `Could not create Buffer from response body for ${_this4.url}: ${err.message}`, - "system", - err - ) - ); - } - }); - }); - } +module.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":true}}},"output":{"type":"structure","members":{"CopyProductToken":{}}}},"CreateConstraint":{"input":{"type":"structure","required":["PortfolioId","ProductId","Parameters","Type","IdempotencyToken"],"members":{"AcceptLanguage":{},"PortfolioId":{},"ProductId":{},"Parameters":{},"Type":{},"Description":{},"IdempotencyToken":{"idempotencyToken":true}}},"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":true}}},"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":true}}},"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":true},"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":true}}},"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":true}}},"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":{}}}}}}},"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":true}}},"output":{"type":"structure","members":{"RecordDetail":{"shape":"S70"}}}},"ExecuteProvisionedProductServiceAction":{"input":{"type":"structure","required":["ProvisionedProductId","ServiceActionId","ExecuteToken"],"members":{"ProvisionedProductId":{},"ServiceActionId":{},"ExecuteToken":{"idempotencyToken":true},"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":true}}},"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":true}}},"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":true},"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":true}}},"output":{"type":"structure","members":{"RecordDetail":{"shape":"S70"}}}},"UpdateProvisionedProductProperties":{"input":{"type":"structure","required":["ProvisionedProductId","ProvisionedProductProperties","IdempotencyToken"],"members":{"AcceptLanguage":{},"ProvisionedProductId":{},"ProvisionedProductProperties":{"shape":"Sc8"},"IdempotencyToken":{"idempotencyToken":true}}},"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":{}}}}; - /** - * Detect buffer encoding and convert to target encoding - * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding - * - * @param Buffer buffer Incoming buffer - * @param String encoding Target encoding - * @return String - */ - function convertBody(buffer, headers) { - if (typeof convert !== "function") { - throw new Error( - "The package `encoding` must be installed to use the textConverted() function" - ); - } +/***/ }), - const ct = headers.get("content-type"); - let charset = "utf-8"; - let res, str; +/***/ 4016: +/***/ (function(module) { - // header - if (ct) { - res = /charset=([^;]*)/i.exec(ct); - } +module.exports = require("tls"); - // no charset in content type, peek at response body for at most 1024 bytes - str = buffer.slice(0, 1024).toString(); +/***/ }), - // html5 - if (!res && str) { - res = / 0 && arguments[0] !== undefined - ? arguments[0] - : undefined; - - this[MAP] = Object.create(null); - - if (init instanceof Headers) { - const rawHeaders = init.raw(); - const headerNames = Object.keys(rawHeaders); - - for (const headerName of headerNames) { - for (const value of rawHeaders[headerName]) { - this.append(headerName, value); - } - } - return; - } +/***/ }), - // We don't worry about converting prop to ByteString here as append() - // will handle it. - if (init == null); - else if (typeof init === "object") { - const method = init[Symbol.iterator]; - if (method != null) { - if (typeof method !== "function") { - throw new TypeError("Header pairs must be iterable"); - } +/***/ 4105: +/***/ (function(module, __unusedexports, __webpack_require__) { - // sequence> - // Note: per spec we have to first exhaust the lists then process them - const pairs = []; - for (const pair of init) { - if ( - typeof pair !== "object" || - typeof pair[Symbol.iterator] !== "function" - ) { - throw new TypeError("Each header pair must be iterable"); - } - pairs.push(Array.from(pair)); - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - for (const pair of pairs) { - if (pair.length !== 2) { - throw new TypeError( - "Each header pair must be a name/value tuple" - ); - } - this.append(pair[0], pair[1]); - } - } else { - // record - for (const key of Object.keys(init)) { - const value = init[key]; - this.append(key, value); - } - } - } else { - throw new TypeError("Provided initializer must be an object"); - } - } +apiLoader.services['eventbridge'] = {}; +AWS.EventBridge = Service.defineService('eventbridge', ['2015-10-07']); +Object.defineProperty(apiLoader.services['eventbridge'], '2015-10-07', { + get: function get() { + var model = __webpack_require__(887); + model.paginators = __webpack_require__(6257).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /** - * Return combined header value given name - * - * @param String name Header name - * @return Mixed - */ - get(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key === undefined) { - return null; - } +module.exports = AWS.EventBridge; - return this[MAP][key].join(", "); - } - /** - * Iterate over all headers - * - * @param Function callback Executed for each item with parameters (value, name, thisArg) - * @param Boolean thisArg `this` context for callback function - * @return Void - */ - forEach(callback) { - let thisArg = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : undefined; - - let pairs = getHeaders(this); - let i = 0; - while (i < pairs.length) { - var _pairs$i = pairs[i]; - const name = _pairs$i[0], - value = _pairs$i[1]; - - callback.call(thisArg, value, name, this); - pairs = getHeaders(this); - i++; - } - } +/***/ }), - /** - * Overwrite header values given name - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - set(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - this[MAP][key !== undefined ? key : name] = [value]; - } +/***/ 4112: +/***/ (function(module) { - /** - * Append a value onto existing header - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - append(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - if (key !== undefined) { - this[MAP][key].push(value); - } else { - this[MAP][name] = [value]; - } - } +module.exports = {"pagination":{"DescribeBackups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Backups"},"DescribeEvents":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ServerEvents"},"DescribeServers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Servers"},"ListTagsForResource":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Tags"}}}; - /** - * Check for header name existence - * - * @param String name Header name - * @return Boolean - */ - has(name) { - name = `${name}`; - validateName(name); - return find(this[MAP], name) !== undefined; - } +/***/ }), - /** - * Delete all header values given name - * - * @param String name Header name - * @return Void - */ - delete(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key !== undefined) { - delete this[MAP][key]; - } - } +/***/ 4120: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - /** - * Return raw headers (non-spec api) - * - * @return Object - */ - raw() { - return this[MAP]; - } +"use strict"; - /** - * Get an iterator on keys. - * - * @return Iterator - */ - keys() { - return createHeadersIterator(this, "key"); +Object.defineProperty(exports, "__esModule", { value: true }); +var LRU_1 = __webpack_require__(8629); +var CACHE_SIZE = 1000; +/** + * Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache] + */ +var EndpointCache = /** @class */ (function () { + function EndpointCache(maxSize) { + if (maxSize === void 0) { maxSize = CACHE_SIZE; } + this.maxSize = maxSize; + this.cache = new LRU_1.LRUCache(maxSize); + } + ; + Object.defineProperty(EndpointCache.prototype, "size", { + get: function () { + return this.cache.length; + }, + enumerable: true, + configurable: true + }); + EndpointCache.prototype.put = function (key, value) { + var keyString = typeof key !== 'string' ? EndpointCache.getKeyString(key) : key; + var endpointRecord = this.populateValue(value); + this.cache.put(keyString, endpointRecord); + }; + EndpointCache.prototype.get = function (key) { + var keyString = typeof key !== 'string' ? EndpointCache.getKeyString(key) : key; + var now = Date.now(); + var records = this.cache.get(keyString); + if (records) { + for (var i = 0; i < records.length; i++) { + var record = records[i]; + if (record.Expire < now) { + this.cache.remove(keyString); + return undefined; + } + } } - - /** - * Get an iterator on values. - * - * @return Iterator - */ - values() { - return createHeadersIterator(this, "value"); + return records; + }; + EndpointCache.getKeyString = function (key) { + var identifiers = []; + var identifierNames = Object.keys(key).sort(); + for (var i = 0; i < identifierNames.length; i++) { + var identifierName = identifierNames[i]; + if (key[identifierName] === undefined) + continue; + identifiers.push(key[identifierName]); } + return identifiers.join(' '); + }; + EndpointCache.prototype.populateValue = function (endpoints) { + var now = Date.now(); + return endpoints.map(function (endpoint) { return ({ + Address: endpoint.Address || '', + Expire: now + (endpoint.CachePeriodInMinutes || 1) * 60 * 1000 + }); }); + }; + EndpointCache.prototype.empty = function () { + this.cache.empty(); + }; + EndpointCache.prototype.remove = function (key) { + var keyString = typeof key !== 'string' ? EndpointCache.getKeyString(key) : key; + this.cache.remove(keyString); + }; + return EndpointCache; +}()); +exports.EndpointCache = EndpointCache; - /** - * Get an iterator on entries. - * - * This is the default iterator of the Headers object. - * - * @return Iterator - */ - [Symbol.iterator]() { - return createHeadersIterator(this, "key+value"); - } - } - Headers.prototype.entries = Headers.prototype[Symbol.iterator]; +/***/ }), - Object.defineProperty(Headers.prototype, Symbol.toStringTag, { - value: "Headers", - writable: false, - enumerable: false, - configurable: true, - }); +/***/ 4121: +/***/ (function(module) { - Object.defineProperties(Headers.prototype, { - get: { enumerable: true }, - forEach: { enumerable: true }, - set: { enumerable: true }, - append: { enumerable: true }, - has: { enumerable: true }, - delete: { enumerable: true }, - keys: { enumerable: true }, - values: { enumerable: true }, - entries: { enumerable: true }, - }); +module.exports = {"pagination":{"ListSuiteDefinitions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListSuiteRuns":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListTestCases":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}}; - function getHeaders(headers) { - let kind = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : "key+value"; - - const keys = Object.keys(headers[MAP]).sort(); - return keys.map( - kind === "key" - ? function (k) { - return k.toLowerCase(); - } - : kind === "value" - ? function (k) { - return headers[MAP][k].join(", "); - } - : function (k) { - return [k.toLowerCase(), headers[MAP][k].join(", ")]; - } - ); - } +/***/ }), - const INTERNAL = Symbol("internal"); +/***/ 4122: +/***/ (function(module, __unusedexports, __webpack_require__) { - function createHeadersIterator(target, kind) { - const iterator = Object.create(HeadersIteratorPrototype); - iterator[INTERNAL] = { - target, - kind, - index: 0, - }; - return iterator; - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - const HeadersIteratorPrototype = Object.setPrototypeOf( - { - next() { - // istanbul ignore if - if ( - !this || - Object.getPrototypeOf(this) !== HeadersIteratorPrototype - ) { - throw new TypeError("Value of `this` is not a HeadersIterator"); - } +apiLoader.services['connectparticipant'] = {}; +AWS.ConnectParticipant = Service.defineService('connectparticipant', ['2018-09-07']); +Object.defineProperty(apiLoader.services['connectparticipant'], '2018-09-07', { + get: function get() { + var model = __webpack_require__(8301); + model.paginators = __webpack_require__(4371).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - var _INTERNAL = this[INTERNAL]; - const target = _INTERNAL.target, - kind = _INTERNAL.kind, - index = _INTERNAL.index; +module.exports = AWS.ConnectParticipant; - const values = getHeaders(target, kind); - const len = values.length; - if (index >= len) { - return { - value: undefined, - done: true, - }; - } - this[INTERNAL].index = index + 1; +/***/ }), - return { - value: values[index], - done: false, - }; - }, - }, - Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())) - ); +/***/ 4126: +/***/ (function(module) { - Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { - value: "HeadersIterator", - writable: false, - enumerable: false, - configurable: true, - }); +module.exports = {"pagination":{"ListJobs":{"input_token":"Marker","output_token":"Jobs[-1].JobId","more_results":"IsTruncated","limit_key":"MaxJobs","result_key":"Jobs"}}}; - /** - * Export the Headers object in a form that Node.js can consume. - * - * @param Headers headers - * @return Object - */ - function exportNodeCompatibleHeaders(headers) { - const obj = Object.assign({ __proto__: null }, headers[MAP]); - - // http.request() only supports string as Host header. This hack makes - // specifying custom Host header possible. - const hostHeaderKey = find(headers[MAP], "Host"); - if (hostHeaderKey !== undefined) { - obj[hostHeaderKey] = obj[hostHeaderKey][0]; - } +/***/ }), - return obj; - } +/***/ 4128: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * Create a Headers object from an object of headers, ignoring those that do - * not conform to HTTP grammar productions. - * - * @param Object obj Object of headers - * @return Headers - */ - function createHeadersLenient(obj) { - const headers = new Headers(); - for (const name of Object.keys(obj)) { - if (invalidTokenRegex.test(name)) { - continue; - } - if (Array.isArray(obj[name])) { - for (const val of obj[name]) { - if (invalidHeaderCharRegex.test(val)) { - continue; - } - if (headers[MAP][name] === undefined) { - headers[MAP][name] = [val]; - } else { - headers[MAP][name].push(val); - } - } - } else if (!invalidHeaderCharRegex.test(obj[name])) { - headers[MAP][name] = [obj[name]]; - } - } - return headers; - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - const INTERNALS$1 = Symbol("Response internals"); - - // fix an issue where "STATUS_CODES" aren't a named export for node <10 - const STATUS_CODES = http.STATUS_CODES; - - /** - * Response class - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ - class Response { - constructor() { - let body = - arguments.length > 0 && arguments[0] !== undefined - ? arguments[0] - : null; - let opts = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}; - - Body.call(this, body, opts); - - const status = opts.status || 200; - const headers = new Headers(opts.headers); - - if (body != null && !headers.has("Content-Type")) { - const contentType = extractContentType(body); - if (contentType) { - headers.append("Content-Type", contentType); - } - } +apiLoader.services['networkmanager'] = {}; +AWS.NetworkManager = Service.defineService('networkmanager', ['2019-07-05']); +Object.defineProperty(apiLoader.services['networkmanager'], '2019-07-05', { + get: function get() { + var model = __webpack_require__(8424); + model.paginators = __webpack_require__(8934).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - this[INTERNALS$1] = { - url: opts.url, - status, - statusText: opts.statusText || STATUS_CODES[status], - headers, - counter: opts.counter, - }; - } +module.exports = AWS.NetworkManager; - get url() { - return this[INTERNALS$1].url || ""; - } - get status() { - return this[INTERNALS$1].status; - } +/***/ }), - /** - * Convenience property representing if the request ended normally - */ - get ok() { - return ( - this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300 - ); - } +/***/ 4136: +/***/ (function(module) { - get redirected() { - return this[INTERNALS$1].counter > 0; - } +module.exports = {"pagination":{"DescribeInstanceHealth":{"result_key":"InstanceStates"},"DescribeLoadBalancerPolicies":{"result_key":"PolicyDescriptions"},"DescribeLoadBalancerPolicyTypes":{"result_key":"PolicyTypeDescriptions"},"DescribeLoadBalancers":{"input_token":"Marker","output_token":"NextMarker","result_key":"LoadBalancerDescriptions"}}}; - get statusText() { - return this[INTERNALS$1].statusText; - } +/***/ }), - get headers() { - return this[INTERNALS$1].headers; - } +/***/ 4152: +/***/ (function(module) { - /** - * Clone this response - * - * @return Response - */ - clone() { - return new Response(clone(this), { - url: this.url, - status: this.status, - statusText: this.statusText, - headers: this.headers, - ok: this.ok, - redirected: this.redirected, - }); - } - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-15","endpointPrefix":"profile","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Customer Profiles","serviceFullName":"Amazon Connect Customer Profiles","serviceId":"Customer Profiles","signatureVersion":"v4","signingName":"profile","uid":"customer-profiles-2020-08-15"},"operations":{"AddProfileKey":{"http":{"requestUri":"/domains/{DomainName}/profiles/keys"},"input":{"type":"structure","required":["ProfileId","KeyName","Values","DomainName"],"members":{"ProfileId":{},"KeyName":{},"Values":{"shape":"S4"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"KeyName":{},"Values":{"shape":"S4"}}}},"CreateDomain":{"http":{"requestUri":"/domains/{DomainName}"},"input":{"type":"structure","required":["DomainName","DefaultExpirationDays"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"DefaultExpirationDays":{"type":"integer"},"DefaultEncryptionKey":{},"DeadLetterQueueUrl":{},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","required":["DomainName","DefaultExpirationDays","CreatedAt","LastUpdatedAt"],"members":{"DomainName":{},"DefaultExpirationDays":{"type":"integer"},"DefaultEncryptionKey":{},"DeadLetterQueueUrl":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"CreateProfile":{"http":{"requestUri":"/domains/{DomainName}/profiles"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"AccountNumber":{},"AdditionalInformation":{},"PartyType":{},"BusinessName":{},"FirstName":{},"MiddleName":{},"LastName":{},"BirthDate":{},"Gender":{},"PhoneNumber":{},"MobilePhoneNumber":{},"HomePhoneNumber":{},"BusinessPhoneNumber":{},"EmailAddress":{},"PersonalEmailAddress":{},"BusinessEmailAddress":{},"Address":{"shape":"Sk"},"ShippingAddress":{"shape":"Sk"},"MailingAddress":{"shape":"Sk"},"BillingAddress":{"shape":"Sk"},"Attributes":{"shape":"Sl"}}},"output":{"type":"structure","required":["ProfileId"],"members":{"ProfileId":{}}}},"DeleteDomain":{"http":{"method":"DELETE","requestUri":"/domains/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["Message"],"members":{"Message":{}}}},"DeleteIntegration":{"http":{"requestUri":"/domains/{DomainName}/integrations/delete"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"Uri":{}}},"output":{"type":"structure","required":["Message"],"members":{"Message":{}}}},"DeleteProfile":{"http":{"requestUri":"/domains/{DomainName}/profiles/delete"},"input":{"type":"structure","required":["ProfileId","DomainName"],"members":{"ProfileId":{},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"Message":{}}}},"DeleteProfileKey":{"http":{"requestUri":"/domains/{DomainName}/profiles/keys/delete"},"input":{"type":"structure","required":["ProfileId","KeyName","Values","DomainName"],"members":{"ProfileId":{},"KeyName":{},"Values":{"shape":"S4"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"Message":{}}}},"DeleteProfileObject":{"http":{"requestUri":"/domains/{DomainName}/profiles/objects/delete"},"input":{"type":"structure","required":["ProfileId","ProfileObjectUniqueKey","ObjectTypeName","DomainName"],"members":{"ProfileId":{},"ProfileObjectUniqueKey":{},"ObjectTypeName":{},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"Message":{}}}},"DeleteProfileObjectType":{"http":{"method":"DELETE","requestUri":"/domains/{DomainName}/object-types/{ObjectTypeName}"},"input":{"type":"structure","required":["DomainName","ObjectTypeName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ObjectTypeName":{"location":"uri","locationName":"ObjectTypeName"}}},"output":{"type":"structure","required":["Message"],"members":{"Message":{}}}},"GetDomain":{"http":{"method":"GET","requestUri":"/domains/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainName","CreatedAt","LastUpdatedAt"],"members":{"DomainName":{},"DefaultExpirationDays":{"type":"integer"},"DefaultEncryptionKey":{},"DeadLetterQueueUrl":{},"Stats":{"type":"structure","members":{"ProfileCount":{"type":"long"},"MeteringProfileCount":{"type":"long"},"ObjectCount":{"type":"long"},"TotalSize":{"type":"long"}}},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"GetIntegration":{"http":{"requestUri":"/domains/{DomainName}/integrations"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"Uri":{}}},"output":{"type":"structure","required":["DomainName","Uri","ObjectTypeName","CreatedAt","LastUpdatedAt"],"members":{"DomainName":{},"Uri":{},"ObjectTypeName":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"GetProfileObjectType":{"http":{"method":"GET","requestUri":"/domains/{DomainName}/object-types/{ObjectTypeName}"},"input":{"type":"structure","required":["DomainName","ObjectTypeName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ObjectTypeName":{"location":"uri","locationName":"ObjectTypeName"}}},"output":{"type":"structure","required":["ObjectTypeName","Description"],"members":{"ObjectTypeName":{},"Description":{},"TemplateId":{},"ExpirationDays":{"type":"integer"},"EncryptionKey":{},"AllowProfileCreation":{"type":"boolean"},"Fields":{"shape":"S1b"},"Keys":{"shape":"S1e"},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"GetProfileObjectTypeTemplate":{"http":{"method":"GET","requestUri":"/templates/{TemplateId}"},"input":{"type":"structure","required":["TemplateId"],"members":{"TemplateId":{"location":"uri","locationName":"TemplateId"}}},"output":{"type":"structure","members":{"TemplateId":{},"SourceName":{},"SourceObject":{},"AllowProfileCreation":{"type":"boolean"},"Fields":{"shape":"S1b"},"Keys":{"shape":"S1e"}}}},"ListAccountIntegrations":{"http":{"requestUri":"/integrations"},"input":{"type":"structure","required":["Uri"],"members":{"Uri":{},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"Items":{"shape":"S1q"},"NextToken":{}}}},"ListDomains":{"http":{"method":"GET","requestUri":"/domains"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","required":["DomainName","CreatedAt","LastUpdatedAt"],"members":{"DomainName":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"NextToken":{}}}},"ListIntegrations":{"http":{"method":"GET","requestUri":"/domains/{DomainName}/integrations"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"Items":{"shape":"S1q"},"NextToken":{}}}},"ListProfileObjectTypeTemplates":{"http":{"method":"GET","requestUri":"/templates"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"TemplateId":{},"SourceName":{},"SourceObject":{}}}},"NextToken":{}}}},"ListProfileObjectTypes":{"http":{"method":"GET","requestUri":"/domains/{DomainName}/object-types"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","required":["ObjectTypeName","Description"],"members":{"ObjectTypeName":{},"Description":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"NextToken":{}}}},"ListProfileObjects":{"http":{"requestUri":"/domains/{DomainName}/profiles/objects"},"input":{"type":"structure","required":["DomainName","ObjectTypeName","ProfileId"],"members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"DomainName":{"location":"uri","locationName":"DomainName"},"ObjectTypeName":{},"ProfileId":{}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ObjectTypeName":{},"ProfileObjectUniqueKey":{},"Object":{}}}},"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":"Sb"}}}},"PutIntegration":{"http":{"method":"PUT","requestUri":"/domains/{DomainName}/integrations"},"input":{"type":"structure","required":["DomainName","Uri","ObjectTypeName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"Uri":{},"ObjectTypeName":{},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","required":["DomainName","Uri","ObjectTypeName","CreatedAt","LastUpdatedAt"],"members":{"DomainName":{},"Uri":{},"ObjectTypeName":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"PutProfileObject":{"http":{"method":"PUT","requestUri":"/domains/{DomainName}/profiles/objects"},"input":{"type":"structure","required":["ObjectTypeName","Object","DomainName"],"members":{"ObjectTypeName":{},"Object":{},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"ProfileObjectUniqueKey":{}}}},"PutProfileObjectType":{"http":{"method":"PUT","requestUri":"/domains/{DomainName}/object-types/{ObjectTypeName}"},"input":{"type":"structure","required":["DomainName","ObjectTypeName","Description"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ObjectTypeName":{"location":"uri","locationName":"ObjectTypeName"},"Description":{},"TemplateId":{},"ExpirationDays":{"type":"integer"},"EncryptionKey":{},"AllowProfileCreation":{"type":"boolean"},"Fields":{"shape":"S1b"},"Keys":{"shape":"S1e"},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","required":["ObjectTypeName","Description"],"members":{"ObjectTypeName":{},"Description":{},"TemplateId":{},"ExpirationDays":{"type":"integer"},"EncryptionKey":{},"AllowProfileCreation":{"type":"boolean"},"Fields":{"shape":"S1b"},"Keys":{"shape":"S1e"},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"SearchProfiles":{"http":{"requestUri":"/domains/{DomainName}/profiles/search"},"input":{"type":"structure","required":["DomainName","KeyName","Values"],"members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"DomainName":{"location":"uri","locationName":"DomainName"},"KeyName":{},"Values":{"shape":"S4"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ProfileId":{},"AccountNumber":{},"AdditionalInformation":{},"PartyType":{},"BusinessName":{},"FirstName":{},"MiddleName":{},"LastName":{},"BirthDate":{},"Gender":{},"PhoneNumber":{},"MobilePhoneNumber":{},"HomePhoneNumber":{},"BusinessPhoneNumber":{},"EmailAddress":{},"PersonalEmailAddress":{},"BusinessEmailAddress":{},"Address":{"shape":"Sk"},"ShippingAddress":{"shape":"Sk"},"MailingAddress":{"shape":"Sk"},"BillingAddress":{"shape":"Sk"},"Attributes":{"shape":"Sl"}}}},"NextToken":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Sb"}}},"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":{}}},"UpdateDomain":{"http":{"method":"PUT","requestUri":"/domains/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"DefaultExpirationDays":{"type":"integer"},"DefaultEncryptionKey":{},"DeadLetterQueueUrl":{},"Tags":{"shape":"Sb"}}},"output":{"type":"structure","required":["DomainName","CreatedAt","LastUpdatedAt"],"members":{"DomainName":{},"DefaultExpirationDays":{"type":"integer"},"DefaultEncryptionKey":{},"DeadLetterQueueUrl":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"UpdateProfile":{"http":{"method":"PUT","requestUri":"/domains/{DomainName}/profiles"},"input":{"type":"structure","required":["DomainName","ProfileId"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ProfileId":{},"AdditionalInformation":{},"AccountNumber":{},"PartyType":{},"BusinessName":{},"FirstName":{},"MiddleName":{},"LastName":{},"BirthDate":{},"Gender":{},"PhoneNumber":{},"MobilePhoneNumber":{},"HomePhoneNumber":{},"BusinessPhoneNumber":{},"EmailAddress":{},"PersonalEmailAddress":{},"BusinessEmailAddress":{},"Address":{"shape":"S2y"},"ShippingAddress":{"shape":"S2y"},"MailingAddress":{"shape":"S2y"},"BillingAddress":{"shape":"S2y"},"Attributes":{"type":"map","key":{},"value":{}}}},"output":{"type":"structure","required":["ProfileId"],"members":{"ProfileId":{}}}}},"shapes":{"S4":{"type":"list","member":{}},"Sb":{"type":"map","key":{},"value":{}},"Sk":{"type":"structure","members":{"Address1":{},"Address2":{},"Address3":{},"Address4":{},"City":{},"County":{},"State":{},"Province":{},"Country":{},"PostalCode":{}}},"Sl":{"type":"map","key":{},"value":{}},"S1b":{"type":"map","key":{},"value":{"type":"structure","members":{"Source":{},"Target":{},"ContentType":{}}}},"S1e":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","members":{"StandardIdentifiers":{"type":"list","member":{}},"FieldNames":{"type":"list","member":{}}}}}},"S1q":{"type":"list","member":{"type":"structure","required":["DomainName","Uri","ObjectTypeName","CreatedAt","LastUpdatedAt"],"members":{"DomainName":{},"Uri":{},"ObjectTypeName":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"Tags":{"shape":"Sb"}}}},"S2y":{"type":"structure","members":{"Address1":{},"Address2":{},"Address3":{},"Address4":{},"City":{},"County":{},"State":{},"Province":{},"Country":{},"PostalCode":{}}}}}; - Body.mixIn(Response.prototype); +/***/ }), - Object.defineProperties(Response.prototype, { - url: { enumerable: true }, - status: { enumerable: true }, - ok: { enumerable: true }, - redirected: { enumerable: true }, - statusText: { enumerable: true }, - headers: { enumerable: true }, - clone: { enumerable: true }, - }); +/***/ 4155: +/***/ (function(module) { - Object.defineProperty(Response.prototype, Symbol.toStringTag, { - value: "Response", - writable: false, - enumerable: false, - configurable: true, - }); +module.exports = {"version":"2.0","metadata":{"apiVersion":"2014-05-30","endpointPrefix":"cloudhsm","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"CloudHSM","serviceFullName":"Amazon CloudHSM","serviceId":"CloudHSM","signatureVersion":"v4","targetPrefix":"CloudHsmFrontendService","uid":"cloudhsm-2014-05-30"},"operations":{"AddTagsToResource":{"input":{"type":"structure","required":["ResourceArn","TagList"],"members":{"ResourceArn":{},"TagList":{"shape":"S3"}}},"output":{"type":"structure","required":["Status"],"members":{"Status":{}}}},"CreateHapg":{"input":{"type":"structure","required":["Label"],"members":{"Label":{}}},"output":{"type":"structure","members":{"HapgArn":{}}}},"CreateHsm":{"input":{"type":"structure","required":["SubnetId","SshKey","IamRoleArn","SubscriptionType"],"members":{"SubnetId":{"locationName":"SubnetId"},"SshKey":{"locationName":"SshKey"},"EniIp":{"locationName":"EniIp"},"IamRoleArn":{"locationName":"IamRoleArn"},"ExternalId":{"locationName":"ExternalId"},"SubscriptionType":{"locationName":"SubscriptionType"},"ClientToken":{"locationName":"ClientToken"},"SyslogIp":{"locationName":"SyslogIp"}},"locationName":"CreateHsmRequest"},"output":{"type":"structure","members":{"HsmArn":{}}}},"CreateLunaClient":{"input":{"type":"structure","required":["Certificate"],"members":{"Label":{},"Certificate":{}}},"output":{"type":"structure","members":{"ClientArn":{}}}},"DeleteHapg":{"input":{"type":"structure","required":["HapgArn"],"members":{"HapgArn":{}}},"output":{"type":"structure","required":["Status"],"members":{"Status":{}}}},"DeleteHsm":{"input":{"type":"structure","required":["HsmArn"],"members":{"HsmArn":{"locationName":"HsmArn"}},"locationName":"DeleteHsmRequest"},"output":{"type":"structure","required":["Status"],"members":{"Status":{}}}},"DeleteLunaClient":{"input":{"type":"structure","required":["ClientArn"],"members":{"ClientArn":{}}},"output":{"type":"structure","required":["Status"],"members":{"Status":{}}}},"DescribeHapg":{"input":{"type":"structure","required":["HapgArn"],"members":{"HapgArn":{}}},"output":{"type":"structure","members":{"HapgArn":{},"HapgSerial":{},"HsmsLastActionFailed":{"shape":"Sz"},"HsmsPendingDeletion":{"shape":"Sz"},"HsmsPendingRegistration":{"shape":"Sz"},"Label":{},"LastModifiedTimestamp":{},"PartitionSerialList":{"shape":"S11"},"State":{}}}},"DescribeHsm":{"input":{"type":"structure","members":{"HsmArn":{},"HsmSerialNumber":{}}},"output":{"type":"structure","members":{"HsmArn":{},"Status":{},"StatusDetails":{},"AvailabilityZone":{},"EniId":{},"EniIp":{},"SubscriptionType":{},"SubscriptionStartDate":{},"SubscriptionEndDate":{},"VpcId":{},"SubnetId":{},"IamRoleArn":{},"SerialNumber":{},"VendorName":{},"HsmType":{},"SoftwareVersion":{},"SshPublicKey":{},"SshKeyLastUpdated":{},"ServerCertUri":{},"ServerCertLastUpdated":{},"Partitions":{"type":"list","member":{}}}}},"DescribeLunaClient":{"input":{"type":"structure","members":{"ClientArn":{},"CertificateFingerprint":{}}},"output":{"type":"structure","members":{"ClientArn":{},"Certificate":{},"CertificateFingerprint":{},"LastModifiedTimestamp":{},"Label":{}}}},"GetConfig":{"input":{"type":"structure","required":["ClientArn","ClientVersion","HapgList"],"members":{"ClientArn":{},"ClientVersion":{},"HapgList":{"shape":"S1i"}}},"output":{"type":"structure","members":{"ConfigType":{},"ConfigFile":{},"ConfigCred":{}}}},"ListAvailableZones":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"AZList":{"type":"list","member":{}}}}},"ListHapgs":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","required":["HapgList"],"members":{"HapgList":{"shape":"S1i"},"NextToken":{}}}},"ListHsms":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","members":{"HsmList":{"shape":"Sz"},"NextToken":{}}}},"ListLunaClients":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","required":["ClientList"],"members":{"ClientList":{"type":"list","member":{}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","required":["TagList"],"members":{"TagList":{"shape":"S3"}}}},"ModifyHapg":{"input":{"type":"structure","required":["HapgArn"],"members":{"HapgArn":{},"Label":{},"PartitionSerialList":{"shape":"S11"}}},"output":{"type":"structure","members":{"HapgArn":{}}}},"ModifyHsm":{"input":{"type":"structure","required":["HsmArn"],"members":{"HsmArn":{"locationName":"HsmArn"},"SubnetId":{"locationName":"SubnetId"},"EniIp":{"locationName":"EniIp"},"IamRoleArn":{"locationName":"IamRoleArn"},"ExternalId":{"locationName":"ExternalId"},"SyslogIp":{"locationName":"SyslogIp"}},"locationName":"ModifyHsmRequest"},"output":{"type":"structure","members":{"HsmArn":{}}}},"ModifyLunaClient":{"input":{"type":"structure","required":["ClientArn","Certificate"],"members":{"ClientArn":{},"Certificate":{}}},"output":{"type":"structure","members":{"ClientArn":{}}}},"RemoveTagsFromResource":{"input":{"type":"structure","required":["ResourceArn","TagKeyList"],"members":{"ResourceArn":{},"TagKeyList":{"type":"list","member":{}}}},"output":{"type":"structure","required":["Status"],"members":{"Status":{}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sz":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S1i":{"type":"list","member":{}}}}; - const INTERNALS$2 = Symbol("Request internals"); +/***/ }), - // fix an issue where "format", "parse" aren't a named export for node <10 - const parse_url = Url.parse; - const format_url = Url.format; +/***/ 4190: +/***/ (function(module, __unusedexports, __webpack_require__) { - const streamDestructionSupported = "destroy" in Stream.Readable.prototype; +module.exports = authenticationPlugin; - /** - * Check if a value is an instance of Request. - * - * @param Mixed input - * @return Boolean - */ - function isRequest(input) { - return ( - typeof input === "object" && typeof input[INTERNALS$2] === "object" - ); - } +const { createTokenAuth } = __webpack_require__(9813); +const { Deprecation } = __webpack_require__(7692); +const once = __webpack_require__(6049); - function isAbortSignal(signal) { - const proto = - signal && typeof signal === "object" && Object.getPrototypeOf(signal); - return !!(proto && proto.constructor.name === "AbortSignal"); - } +const beforeRequest = __webpack_require__(6863); +const requestError = __webpack_require__(7293); +const validate = __webpack_require__(6489); +const withAuthorizationPrefix = __webpack_require__(3143); - /** - * Request class - * - * @param Mixed input Url or Request instance - * @param Object init Custom options - * @return Void - */ - class Request { - constructor(input) { - let init = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}; - - let parsedURL; - - // normalize input - if (!isRequest(input)) { - if (input && input.href) { - // in order to support Node.js' Url objects; though WHATWG's URL objects - // will fall into this branch also (since their `toString()` will return - // `href` property anyway) - parsedURL = parse_url(input.href); - } else { - // coerce input to a string before attempting to parse - parsedURL = parse_url(`${input}`); - } - input = {}; - } else { - parsedURL = parse_url(input.url); - } +const deprecateAuthBasic = once((log, deprecation) => log.warn(deprecation)); +const deprecateAuthObject = once((log, deprecation) => log.warn(deprecation)); - let method = init.method || input.method || "GET"; - method = method.toUpperCase(); +function authenticationPlugin(octokit, options) { + // If `options.authStrategy` is set then use it and pass in `options.auth` + if (options.authStrategy) { + const auth = options.authStrategy(options.auth); + octokit.hook.wrap("request", auth.hook); + octokit.auth = auth; + return; + } - if ( - (init.body != null || (isRequest(input) && input.body !== null)) && - (method === "GET" || method === "HEAD") - ) { - throw new TypeError( - "Request with GET/HEAD method cannot have body" - ); - } + // If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance + // is unauthenticated. The `octokit.auth()` method is a no-op and no request hook is registred. + if (!options.auth) { + octokit.auth = () => + Promise.resolve({ + type: "unauthenticated" + }); + return; + } - let inputBody = - init.body != null - ? init.body - : isRequest(input) && input.body !== null - ? clone(input) - : null; + const isBasicAuthString = + typeof options.auth === "string" && + /^basic/.test(withAuthorizationPrefix(options.auth)); - Body.call(this, inputBody, { - timeout: init.timeout || input.timeout || 0, - size: init.size || input.size || 0, - }); + // If only `options.auth` is set to a string, use the default token authentication strategy. + if (typeof options.auth === "string" && !isBasicAuthString) { + const auth = createTokenAuth(options.auth); + octokit.hook.wrap("request", auth.hook); + octokit.auth = auth; + return; + } - const headers = new Headers(init.headers || input.headers || {}); + // Otherwise log a deprecation message + const [deprecationMethod, deprecationMessapge] = isBasicAuthString + ? [ + deprecateAuthBasic, + 'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)' + ] + : [ + deprecateAuthObject, + 'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)' + ]; + deprecationMethod( + octokit.log, + new Deprecation("[@octokit/rest] " + deprecationMessapge) + ); - if (inputBody != null && !headers.has("Content-Type")) { - const contentType = extractContentType(inputBody); - if (contentType) { - headers.append("Content-Type", contentType); - } - } + octokit.auth = () => + Promise.resolve({ + type: "deprecated", + message: deprecationMessapge + }); - let signal = isRequest(input) ? input.signal : null; - if ("signal" in init) signal = init.signal; + validate(options.auth); - if (signal != null && !isAbortSignal(signal)) { - throw new TypeError( - "Expected signal to be an instanceof AbortSignal" - ); - } + const state = { + octokit, + auth: options.auth + }; - this[INTERNALS$2] = { - method, - redirect: init.redirect || input.redirect || "follow", - headers, - parsedURL, - signal, - }; + octokit.hook.before("request", beforeRequest.bind(null, state)); + octokit.hook.error("request", requestError.bind(null, state)); +} - // node-fetch-only options - this.follow = - init.follow !== undefined - ? init.follow - : input.follow !== undefined - ? input.follow - : 20; - this.compress = - init.compress !== undefined - ? init.compress - : input.compress !== undefined - ? input.compress - : true; - this.counter = init.counter || input.counter || 0; - this.agent = init.agent || input.agent; - } - get method() { - return this[INTERNALS$2].method; - } +/***/ }), - get url() { - return format_url(this[INTERNALS$2].parsedURL); - } +/***/ 4208: +/***/ (function(module) { - get headers() { - return this[INTERNALS$2].headers; - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-04-13","endpointPrefix":"codecommit","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"CodeCommit","serviceFullName":"AWS CodeCommit","serviceId":"CodeCommit","signatureVersion":"v4","targetPrefix":"CodeCommit_20150413","uid":"codecommit-2015-04-13"},"operations":{"AssociateApprovalRuleTemplateWithRepository":{"input":{"type":"structure","required":["approvalRuleTemplateName","repositoryName"],"members":{"approvalRuleTemplateName":{},"repositoryName":{}}}},"BatchAssociateApprovalRuleTemplateWithRepositories":{"input":{"type":"structure","required":["approvalRuleTemplateName","repositoryNames"],"members":{"approvalRuleTemplateName":{},"repositoryNames":{"shape":"S5"}}},"output":{"type":"structure","required":["associatedRepositoryNames","errors"],"members":{"associatedRepositoryNames":{"shape":"S5"},"errors":{"type":"list","member":{"type":"structure","members":{"repositoryName":{},"errorCode":{},"errorMessage":{}}}}}}},"BatchDescribeMergeConflicts":{"input":{"type":"structure","required":["repositoryName","destinationCommitSpecifier","sourceCommitSpecifier","mergeOption"],"members":{"repositoryName":{},"destinationCommitSpecifier":{},"sourceCommitSpecifier":{},"mergeOption":{},"maxMergeHunks":{"type":"integer"},"maxConflictFiles":{"type":"integer"},"filePaths":{"type":"list","member":{}},"conflictDetailLevel":{},"conflictResolutionStrategy":{},"nextToken":{}}},"output":{"type":"structure","required":["conflicts","destinationCommitId","sourceCommitId"],"members":{"conflicts":{"type":"list","member":{"type":"structure","members":{"conflictMetadata":{"shape":"Sn"},"mergeHunks":{"shape":"S12"}}}},"nextToken":{},"errors":{"type":"list","member":{"type":"structure","required":["filePath","exceptionName","message"],"members":{"filePath":{},"exceptionName":{},"message":{}}}},"destinationCommitId":{},"sourceCommitId":{},"baseCommitId":{}}}},"BatchDisassociateApprovalRuleTemplateFromRepositories":{"input":{"type":"structure","required":["approvalRuleTemplateName","repositoryNames"],"members":{"approvalRuleTemplateName":{},"repositoryNames":{"shape":"S5"}}},"output":{"type":"structure","required":["disassociatedRepositoryNames","errors"],"members":{"disassociatedRepositoryNames":{"shape":"S5"},"errors":{"type":"list","member":{"type":"structure","members":{"repositoryName":{},"errorCode":{},"errorMessage":{}}}}}}},"BatchGetCommits":{"input":{"type":"structure","required":["commitIds","repositoryName"],"members":{"commitIds":{"type":"list","member":{}},"repositoryName":{}}},"output":{"type":"structure","members":{"commits":{"type":"list","member":{"shape":"S1l"}},"errors":{"type":"list","member":{"type":"structure","members":{"commitId":{},"errorCode":{},"errorMessage":{}}}}}}},"BatchGetRepositories":{"input":{"type":"structure","required":["repositoryNames"],"members":{"repositoryNames":{"shape":"S5"}}},"output":{"type":"structure","members":{"repositories":{"type":"list","member":{"shape":"S1x"}},"repositoriesNotFound":{"type":"list","member":{}}}}},"CreateApprovalRuleTemplate":{"input":{"type":"structure","required":["approvalRuleTemplateName","approvalRuleTemplateContent"],"members":{"approvalRuleTemplateName":{},"approvalRuleTemplateContent":{},"approvalRuleTemplateDescription":{}}},"output":{"type":"structure","required":["approvalRuleTemplate"],"members":{"approvalRuleTemplate":{"shape":"S2c"}}}},"CreateBranch":{"input":{"type":"structure","required":["repositoryName","branchName","commitId"],"members":{"repositoryName":{},"branchName":{},"commitId":{}}}},"CreateCommit":{"input":{"type":"structure","required":["repositoryName","branchName"],"members":{"repositoryName":{},"branchName":{},"parentCommitId":{},"authorName":{},"email":{},"commitMessage":{},"keepEmptyFolders":{"type":"boolean"},"putFiles":{"type":"list","member":{"type":"structure","required":["filePath"],"members":{"filePath":{},"fileMode":{},"fileContent":{"type":"blob"},"sourceFile":{"type":"structure","required":["filePath"],"members":{"filePath":{},"isMove":{"type":"boolean"}}}}}},"deleteFiles":{"shape":"S2o"},"setFileModes":{"shape":"S2q"}}},"output":{"type":"structure","members":{"commitId":{},"treeId":{},"filesAdded":{"shape":"S2t"},"filesUpdated":{"shape":"S2t"},"filesDeleted":{"shape":"S2t"}}}},"CreatePullRequest":{"input":{"type":"structure","required":["title","targets"],"members":{"title":{},"description":{},"targets":{"type":"list","member":{"type":"structure","required":["repositoryName","sourceReference"],"members":{"repositoryName":{},"sourceReference":{},"destinationReference":{}}}},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["pullRequest"],"members":{"pullRequest":{"shape":"S33"}}}},"CreatePullRequestApprovalRule":{"input":{"type":"structure","required":["pullRequestId","approvalRuleName","approvalRuleContent"],"members":{"pullRequestId":{},"approvalRuleName":{},"approvalRuleContent":{}}},"output":{"type":"structure","required":["approvalRule"],"members":{"approvalRule":{"shape":"S3c"}}}},"CreateRepository":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{},"repositoryDescription":{},"tags":{"shape":"S3k"}}},"output":{"type":"structure","members":{"repositoryMetadata":{"shape":"S1x"}}}},"CreateUnreferencedMergeCommit":{"input":{"type":"structure","required":["repositoryName","sourceCommitSpecifier","destinationCommitSpecifier","mergeOption"],"members":{"repositoryName":{},"sourceCommitSpecifier":{},"destinationCommitSpecifier":{},"mergeOption":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{},"authorName":{},"email":{},"commitMessage":{},"keepEmptyFolders":{"type":"boolean"},"conflictResolution":{"shape":"S3p"}}},"output":{"type":"structure","members":{"commitId":{},"treeId":{}}}},"DeleteApprovalRuleTemplate":{"input":{"type":"structure","required":["approvalRuleTemplateName"],"members":{"approvalRuleTemplateName":{}}},"output":{"type":"structure","required":["approvalRuleTemplateId"],"members":{"approvalRuleTemplateId":{}}}},"DeleteBranch":{"input":{"type":"structure","required":["repositoryName","branchName"],"members":{"repositoryName":{},"branchName":{}}},"output":{"type":"structure","members":{"deletedBranch":{"shape":"S3y"}}}},"DeleteCommentContent":{"input":{"type":"structure","required":["commentId"],"members":{"commentId":{}}},"output":{"type":"structure","members":{"comment":{"shape":"S42"}}}},"DeleteFile":{"input":{"type":"structure","required":["repositoryName","branchName","filePath","parentCommitId"],"members":{"repositoryName":{},"branchName":{},"filePath":{},"parentCommitId":{},"keepEmptyFolders":{"type":"boolean"},"commitMessage":{},"name":{},"email":{}}},"output":{"type":"structure","required":["commitId","blobId","treeId","filePath"],"members":{"commitId":{},"blobId":{},"treeId":{},"filePath":{}}}},"DeletePullRequestApprovalRule":{"input":{"type":"structure","required":["pullRequestId","approvalRuleName"],"members":{"pullRequestId":{},"approvalRuleName":{}}},"output":{"type":"structure","required":["approvalRuleId"],"members":{"approvalRuleId":{}}}},"DeleteRepository":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{}}},"output":{"type":"structure","members":{"repositoryId":{}}}},"DescribeMergeConflicts":{"input":{"type":"structure","required":["repositoryName","destinationCommitSpecifier","sourceCommitSpecifier","mergeOption","filePath"],"members":{"repositoryName":{},"destinationCommitSpecifier":{},"sourceCommitSpecifier":{},"mergeOption":{},"maxMergeHunks":{"type":"integer"},"filePath":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{},"nextToken":{}}},"output":{"type":"structure","required":["conflictMetadata","mergeHunks","destinationCommitId","sourceCommitId"],"members":{"conflictMetadata":{"shape":"Sn"},"mergeHunks":{"shape":"S12"},"nextToken":{},"destinationCommitId":{},"sourceCommitId":{},"baseCommitId":{}}}},"DescribePullRequestEvents":{"input":{"type":"structure","required":["pullRequestId"],"members":{"pullRequestId":{},"pullRequestEventType":{},"actorArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["pullRequestEvents"],"members":{"pullRequestEvents":{"type":"list","member":{"type":"structure","members":{"pullRequestId":{},"eventDate":{"type":"timestamp"},"pullRequestEventType":{},"actorArn":{},"pullRequestCreatedEventMetadata":{"type":"structure","members":{"repositoryName":{},"sourceCommitId":{},"destinationCommitId":{},"mergeBase":{}}},"pullRequestStatusChangedEventMetadata":{"type":"structure","members":{"pullRequestStatus":{}}},"pullRequestSourceReferenceUpdatedEventMetadata":{"type":"structure","members":{"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"mergeBase":{}}},"pullRequestMergedStateChangedEventMetadata":{"type":"structure","members":{"repositoryName":{},"destinationReference":{},"mergeMetadata":{"shape":"S38"}}},"approvalRuleEventMetadata":{"type":"structure","members":{"approvalRuleName":{},"approvalRuleId":{},"approvalRuleContent":{}}},"approvalStateChangedEventMetadata":{"type":"structure","members":{"revisionId":{},"approvalStatus":{}}},"approvalRuleOverriddenEventMetadata":{"type":"structure","members":{"revisionId":{},"overrideStatus":{}}}}}},"nextToken":{}}}},"DisassociateApprovalRuleTemplateFromRepository":{"input":{"type":"structure","required":["approvalRuleTemplateName","repositoryName"],"members":{"approvalRuleTemplateName":{},"repositoryName":{}}}},"EvaluatePullRequestApprovalRules":{"input":{"type":"structure","required":["pullRequestId","revisionId"],"members":{"pullRequestId":{},"revisionId":{}}},"output":{"type":"structure","required":["evaluation"],"members":{"evaluation":{"type":"structure","members":{"approved":{"type":"boolean"},"overridden":{"type":"boolean"},"approvalRulesSatisfied":{"type":"list","member":{}},"approvalRulesNotSatisfied":{"type":"list","member":{}}}}}}},"GetApprovalRuleTemplate":{"input":{"type":"structure","required":["approvalRuleTemplateName"],"members":{"approvalRuleTemplateName":{}}},"output":{"type":"structure","required":["approvalRuleTemplate"],"members":{"approvalRuleTemplate":{"shape":"S2c"}}}},"GetBlob":{"input":{"type":"structure","required":["repositoryName","blobId"],"members":{"repositoryName":{},"blobId":{}}},"output":{"type":"structure","required":["content"],"members":{"content":{"type":"blob"}}}},"GetBranch":{"input":{"type":"structure","members":{"repositoryName":{},"branchName":{}}},"output":{"type":"structure","members":{"branch":{"shape":"S3y"}}}},"GetComment":{"input":{"type":"structure","required":["commentId"],"members":{"commentId":{}}},"output":{"type":"structure","members":{"comment":{"shape":"S42"}}}},"GetCommentReactions":{"input":{"type":"structure","required":["commentId"],"members":{"commentId":{},"reactionUserArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["reactionsForComment"],"members":{"reactionsForComment":{"type":"list","member":{"type":"structure","members":{"reaction":{"type":"structure","members":{"emoji":{},"shortCode":{},"unicode":{}}},"reactionUsers":{"type":"list","member":{}},"reactionsFromDeletedUsersCount":{"type":"integer"}}}},"nextToken":{}}}},"GetCommentsForComparedCommit":{"input":{"type":"structure","required":["repositoryName","afterCommitId"],"members":{"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"commentsForComparedCommitData":{"type":"list","member":{"type":"structure","members":{"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"beforeBlobId":{},"afterBlobId":{},"location":{"shape":"S5q"},"comments":{"shape":"S5t"}}}},"nextToken":{}}}},"GetCommentsForPullRequest":{"input":{"type":"structure","required":["pullRequestId"],"members":{"pullRequestId":{},"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"commentsForPullRequestData":{"type":"list","member":{"type":"structure","members":{"pullRequestId":{},"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"beforeBlobId":{},"afterBlobId":{},"location":{"shape":"S5q"},"comments":{"shape":"S5t"}}}},"nextToken":{}}}},"GetCommit":{"input":{"type":"structure","required":["repositoryName","commitId"],"members":{"repositoryName":{},"commitId":{}}},"output":{"type":"structure","required":["commit"],"members":{"commit":{"shape":"S1l"}}}},"GetDifferences":{"input":{"type":"structure","required":["repositoryName","afterCommitSpecifier"],"members":{"repositoryName":{},"beforeCommitSpecifier":{},"afterCommitSpecifier":{},"beforePath":{},"afterPath":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"differences":{"type":"list","member":{"type":"structure","members":{"beforeBlob":{"shape":"S65"},"afterBlob":{"shape":"S65"},"changeType":{}}}},"NextToken":{}}}},"GetFile":{"input":{"type":"structure","required":["repositoryName","filePath"],"members":{"repositoryName":{},"commitSpecifier":{},"filePath":{}}},"output":{"type":"structure","required":["commitId","blobId","filePath","fileMode","fileSize","fileContent"],"members":{"commitId":{},"blobId":{},"filePath":{},"fileMode":{},"fileSize":{"type":"long"},"fileContent":{"type":"blob"}}}},"GetFolder":{"input":{"type":"structure","required":["repositoryName","folderPath"],"members":{"repositoryName":{},"commitSpecifier":{},"folderPath":{}}},"output":{"type":"structure","required":["commitId","folderPath"],"members":{"commitId":{},"folderPath":{},"treeId":{},"subFolders":{"type":"list","member":{"type":"structure","members":{"treeId":{},"absolutePath":{},"relativePath":{}}}},"files":{"type":"list","member":{"type":"structure","members":{"blobId":{},"absolutePath":{},"relativePath":{},"fileMode":{}}}},"symbolicLinks":{"type":"list","member":{"type":"structure","members":{"blobId":{},"absolutePath":{},"relativePath":{},"fileMode":{}}}},"subModules":{"type":"list","member":{"type":"structure","members":{"commitId":{},"absolutePath":{},"relativePath":{}}}}}}},"GetMergeCommit":{"input":{"type":"structure","required":["repositoryName","sourceCommitSpecifier","destinationCommitSpecifier"],"members":{"repositoryName":{},"sourceCommitSpecifier":{},"destinationCommitSpecifier":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{}}},"output":{"type":"structure","members":{"sourceCommitId":{},"destinationCommitId":{},"baseCommitId":{},"mergedCommitId":{}}}},"GetMergeConflicts":{"input":{"type":"structure","required":["repositoryName","destinationCommitSpecifier","sourceCommitSpecifier","mergeOption"],"members":{"repositoryName":{},"destinationCommitSpecifier":{},"sourceCommitSpecifier":{},"mergeOption":{},"conflictDetailLevel":{},"maxConflictFiles":{"type":"integer"},"conflictResolutionStrategy":{},"nextToken":{}}},"output":{"type":"structure","required":["mergeable","destinationCommitId","sourceCommitId","conflictMetadataList"],"members":{"mergeable":{"type":"boolean"},"destinationCommitId":{},"sourceCommitId":{},"baseCommitId":{},"conflictMetadataList":{"type":"list","member":{"shape":"Sn"}},"nextToken":{}}}},"GetMergeOptions":{"input":{"type":"structure","required":["repositoryName","sourceCommitSpecifier","destinationCommitSpecifier"],"members":{"repositoryName":{},"sourceCommitSpecifier":{},"destinationCommitSpecifier":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{}}},"output":{"type":"structure","required":["mergeOptions","sourceCommitId","destinationCommitId","baseCommitId"],"members":{"mergeOptions":{"type":"list","member":{}},"sourceCommitId":{},"destinationCommitId":{},"baseCommitId":{}}}},"GetPullRequest":{"input":{"type":"structure","required":["pullRequestId"],"members":{"pullRequestId":{}}},"output":{"type":"structure","required":["pullRequest"],"members":{"pullRequest":{"shape":"S33"}}}},"GetPullRequestApprovalStates":{"input":{"type":"structure","required":["pullRequestId","revisionId"],"members":{"pullRequestId":{},"revisionId":{}}},"output":{"type":"structure","members":{"approvals":{"type":"list","member":{"type":"structure","members":{"userArn":{},"approvalState":{}}}}}}},"GetPullRequestOverrideState":{"input":{"type":"structure","required":["pullRequestId","revisionId"],"members":{"pullRequestId":{},"revisionId":{}}},"output":{"type":"structure","members":{"overridden":{"type":"boolean"},"overrider":{}}}},"GetRepository":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{}}},"output":{"type":"structure","members":{"repositoryMetadata":{"shape":"S1x"}}}},"GetRepositoryTriggers":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{}}},"output":{"type":"structure","members":{"configurationId":{},"triggers":{"shape":"S76"}}}},"ListApprovalRuleTemplates":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"approvalRuleTemplateNames":{"shape":"S7f"},"nextToken":{}}}},"ListAssociatedApprovalRuleTemplatesForRepository":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"approvalRuleTemplateNames":{"shape":"S7f"},"nextToken":{}}}},"ListBranches":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{},"nextToken":{}}},"output":{"type":"structure","members":{"branches":{"shape":"S7a"},"nextToken":{}}}},"ListPullRequests":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{},"authorArn":{},"pullRequestStatus":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["pullRequestIds"],"members":{"pullRequestIds":{"type":"list","member":{}},"nextToken":{}}}},"ListRepositories":{"input":{"type":"structure","members":{"nextToken":{},"sortBy":{},"order":{}}},"output":{"type":"structure","members":{"repositories":{"type":"list","member":{"type":"structure","members":{"repositoryName":{},"repositoryId":{}}}},"nextToken":{}}}},"ListRepositoriesForApprovalRuleTemplate":{"input":{"type":"structure","required":["approvalRuleTemplateName"],"members":{"approvalRuleTemplateName":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"repositoryNames":{"shape":"S5"},"nextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{},"nextToken":{}}},"output":{"type":"structure","members":{"tags":{"shape":"S3k"},"nextToken":{}}}},"MergeBranchesByFastForward":{"input":{"type":"structure","required":["repositoryName","sourceCommitSpecifier","destinationCommitSpecifier"],"members":{"repositoryName":{},"sourceCommitSpecifier":{},"destinationCommitSpecifier":{},"targetBranch":{}}},"output":{"type":"structure","members":{"commitId":{},"treeId":{}}}},"MergeBranchesBySquash":{"input":{"type":"structure","required":["repositoryName","sourceCommitSpecifier","destinationCommitSpecifier"],"members":{"repositoryName":{},"sourceCommitSpecifier":{},"destinationCommitSpecifier":{},"targetBranch":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{},"authorName":{},"email":{},"commitMessage":{},"keepEmptyFolders":{"type":"boolean"},"conflictResolution":{"shape":"S3p"}}},"output":{"type":"structure","members":{"commitId":{},"treeId":{}}}},"MergeBranchesByThreeWay":{"input":{"type":"structure","required":["repositoryName","sourceCommitSpecifier","destinationCommitSpecifier"],"members":{"repositoryName":{},"sourceCommitSpecifier":{},"destinationCommitSpecifier":{},"targetBranch":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{},"authorName":{},"email":{},"commitMessage":{},"keepEmptyFolders":{"type":"boolean"},"conflictResolution":{"shape":"S3p"}}},"output":{"type":"structure","members":{"commitId":{},"treeId":{}}}},"MergePullRequestByFastForward":{"input":{"type":"structure","required":["pullRequestId","repositoryName"],"members":{"pullRequestId":{},"repositoryName":{},"sourceCommitId":{}}},"output":{"type":"structure","members":{"pullRequest":{"shape":"S33"}}}},"MergePullRequestBySquash":{"input":{"type":"structure","required":["pullRequestId","repositoryName"],"members":{"pullRequestId":{},"repositoryName":{},"sourceCommitId":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{},"commitMessage":{},"authorName":{},"email":{},"keepEmptyFolders":{"type":"boolean"},"conflictResolution":{"shape":"S3p"}}},"output":{"type":"structure","members":{"pullRequest":{"shape":"S33"}}}},"MergePullRequestByThreeWay":{"input":{"type":"structure","required":["pullRequestId","repositoryName"],"members":{"pullRequestId":{},"repositoryName":{},"sourceCommitId":{},"conflictDetailLevel":{},"conflictResolutionStrategy":{},"commitMessage":{},"authorName":{},"email":{},"keepEmptyFolders":{"type":"boolean"},"conflictResolution":{"shape":"S3p"}}},"output":{"type":"structure","members":{"pullRequest":{"shape":"S33"}}}},"OverridePullRequestApprovalRules":{"input":{"type":"structure","required":["pullRequestId","revisionId","overrideStatus"],"members":{"pullRequestId":{},"revisionId":{},"overrideStatus":{}}}},"PostCommentForComparedCommit":{"input":{"type":"structure","required":["repositoryName","afterCommitId","content"],"members":{"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"location":{"shape":"S5q"},"content":{},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"beforeBlobId":{},"afterBlobId":{},"location":{"shape":"S5q"},"comment":{"shape":"S42"}}},"idempotent":true},"PostCommentForPullRequest":{"input":{"type":"structure","required":["pullRequestId","repositoryName","beforeCommitId","afterCommitId","content"],"members":{"pullRequestId":{},"repositoryName":{},"beforeCommitId":{},"afterCommitId":{},"location":{"shape":"S5q"},"content":{},"clientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"repositoryName":{},"pullRequestId":{},"beforeCommitId":{},"afterCommitId":{},"beforeBlobId":{},"afterBlobId":{},"location":{"shape":"S5q"},"comment":{"shape":"S42"}}},"idempotent":true},"PostCommentReply":{"input":{"type":"structure","required":["inReplyTo","content"],"members":{"inReplyTo":{},"clientRequestToken":{"idempotencyToken":true},"content":{}}},"output":{"type":"structure","members":{"comment":{"shape":"S42"}}},"idempotent":true},"PutCommentReaction":{"input":{"type":"structure","required":["commentId","reactionValue"],"members":{"commentId":{},"reactionValue":{}}}},"PutFile":{"input":{"type":"structure","required":["repositoryName","branchName","fileContent","filePath"],"members":{"repositoryName":{},"branchName":{},"fileContent":{"type":"blob"},"filePath":{},"fileMode":{},"parentCommitId":{},"commitMessage":{},"name":{},"email":{}}},"output":{"type":"structure","required":["commitId","blobId","treeId"],"members":{"commitId":{},"blobId":{},"treeId":{}}}},"PutRepositoryTriggers":{"input":{"type":"structure","required":["repositoryName","triggers"],"members":{"repositoryName":{},"triggers":{"shape":"S76"}}},"output":{"type":"structure","members":{"configurationId":{}}}},"TagResource":{"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{},"tags":{"shape":"S3k"}}}},"TestRepositoryTriggers":{"input":{"type":"structure","required":["repositoryName","triggers"],"members":{"repositoryName":{},"triggers":{"shape":"S76"}}},"output":{"type":"structure","members":{"successfulExecutions":{"type":"list","member":{}},"failedExecutions":{"type":"list","member":{"type":"structure","members":{"trigger":{},"failureMessage":{}}}}}}},"UntagResource":{"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{},"tagKeys":{"type":"list","member":{}}}}},"UpdateApprovalRuleTemplateContent":{"input":{"type":"structure","required":["approvalRuleTemplateName","newRuleContent"],"members":{"approvalRuleTemplateName":{},"newRuleContent":{},"existingRuleContentSha256":{}}},"output":{"type":"structure","required":["approvalRuleTemplate"],"members":{"approvalRuleTemplate":{"shape":"S2c"}}}},"UpdateApprovalRuleTemplateDescription":{"input":{"type":"structure","required":["approvalRuleTemplateName","approvalRuleTemplateDescription"],"members":{"approvalRuleTemplateName":{},"approvalRuleTemplateDescription":{}}},"output":{"type":"structure","required":["approvalRuleTemplate"],"members":{"approvalRuleTemplate":{"shape":"S2c"}}}},"UpdateApprovalRuleTemplateName":{"input":{"type":"structure","required":["oldApprovalRuleTemplateName","newApprovalRuleTemplateName"],"members":{"oldApprovalRuleTemplateName":{},"newApprovalRuleTemplateName":{}}},"output":{"type":"structure","required":["approvalRuleTemplate"],"members":{"approvalRuleTemplate":{"shape":"S2c"}}}},"UpdateComment":{"input":{"type":"structure","required":["commentId","content"],"members":{"commentId":{},"content":{}}},"output":{"type":"structure","members":{"comment":{"shape":"S42"}}}},"UpdateDefaultBranch":{"input":{"type":"structure","required":["repositoryName","defaultBranchName"],"members":{"repositoryName":{},"defaultBranchName":{}}}},"UpdatePullRequestApprovalRuleContent":{"input":{"type":"structure","required":["pullRequestId","approvalRuleName","newRuleContent"],"members":{"pullRequestId":{},"approvalRuleName":{},"existingRuleContentSha256":{},"newRuleContent":{}}},"output":{"type":"structure","required":["approvalRule"],"members":{"approvalRule":{"shape":"S3c"}}}},"UpdatePullRequestApprovalState":{"input":{"type":"structure","required":["pullRequestId","revisionId","approvalState"],"members":{"pullRequestId":{},"revisionId":{},"approvalState":{}}}},"UpdatePullRequestDescription":{"input":{"type":"structure","required":["pullRequestId","description"],"members":{"pullRequestId":{},"description":{}}},"output":{"type":"structure","required":["pullRequest"],"members":{"pullRequest":{"shape":"S33"}}}},"UpdatePullRequestStatus":{"input":{"type":"structure","required":["pullRequestId","pullRequestStatus"],"members":{"pullRequestId":{},"pullRequestStatus":{}}},"output":{"type":"structure","required":["pullRequest"],"members":{"pullRequest":{"shape":"S33"}}}},"UpdatePullRequestTitle":{"input":{"type":"structure","required":["pullRequestId","title"],"members":{"pullRequestId":{},"title":{}}},"output":{"type":"structure","required":["pullRequest"],"members":{"pullRequest":{"shape":"S33"}}}},"UpdateRepositoryDescription":{"input":{"type":"structure","required":["repositoryName"],"members":{"repositoryName":{},"repositoryDescription":{}}}},"UpdateRepositoryName":{"input":{"type":"structure","required":["oldName","newName"],"members":{"oldName":{},"newName":{}}}}},"shapes":{"S5":{"type":"list","member":{}},"Sn":{"type":"structure","members":{"filePath":{},"fileSizes":{"type":"structure","members":{"source":{"type":"long"},"destination":{"type":"long"},"base":{"type":"long"}}},"fileModes":{"type":"structure","members":{"source":{},"destination":{},"base":{}}},"objectTypes":{"type":"structure","members":{"source":{},"destination":{},"base":{}}},"numberOfConflicts":{"type":"integer"},"isBinaryFile":{"type":"structure","members":{"source":{"type":"boolean"},"destination":{"type":"boolean"},"base":{"type":"boolean"}}},"contentConflict":{"type":"boolean"},"fileModeConflict":{"type":"boolean"},"objectTypeConflict":{"type":"boolean"},"mergeOperations":{"type":"structure","members":{"source":{},"destination":{}}}}},"S12":{"type":"list","member":{"type":"structure","members":{"isConflict":{"type":"boolean"},"source":{"shape":"S15"},"destination":{"shape":"S15"},"base":{"shape":"S15"}}}},"S15":{"type":"structure","members":{"startLine":{"type":"integer"},"endLine":{"type":"integer"},"hunkContent":{}}},"S1l":{"type":"structure","members":{"commitId":{},"treeId":{},"parents":{"type":"list","member":{}},"message":{},"author":{"shape":"S1n"},"committer":{"shape":"S1n"},"additionalData":{}}},"S1n":{"type":"structure","members":{"name":{},"email":{},"date":{}}},"S1x":{"type":"structure","members":{"accountId":{},"repositoryId":{},"repositoryName":{},"repositoryDescription":{},"defaultBranch":{},"lastModifiedDate":{"type":"timestamp"},"creationDate":{"type":"timestamp"},"cloneUrlHttp":{},"cloneUrlSsh":{},"Arn":{}}},"S2c":{"type":"structure","members":{"approvalRuleTemplateId":{},"approvalRuleTemplateName":{},"approvalRuleTemplateDescription":{},"approvalRuleTemplateContent":{},"ruleContentSha256":{},"lastModifiedDate":{"type":"timestamp"},"creationDate":{"type":"timestamp"},"lastModifiedUser":{}}},"S2o":{"type":"list","member":{"type":"structure","required":["filePath"],"members":{"filePath":{}}}},"S2q":{"type":"list","member":{"type":"structure","required":["filePath","fileMode"],"members":{"filePath":{},"fileMode":{}}}},"S2t":{"type":"list","member":{"type":"structure","members":{"absolutePath":{},"blobId":{},"fileMode":{}}}},"S33":{"type":"structure","members":{"pullRequestId":{},"title":{},"description":{},"lastActivityDate":{"type":"timestamp"},"creationDate":{"type":"timestamp"},"pullRequestStatus":{},"authorArn":{},"pullRequestTargets":{"type":"list","member":{"type":"structure","members":{"repositoryName":{},"sourceReference":{},"destinationReference":{},"destinationCommit":{},"sourceCommit":{},"mergeBase":{},"mergeMetadata":{"shape":"S38"}}}},"clientRequestToken":{},"revisionId":{},"approvalRules":{"type":"list","member":{"shape":"S3c"}}}},"S38":{"type":"structure","members":{"isMerged":{"type":"boolean"},"mergedBy":{},"mergeCommitId":{},"mergeOption":{}}},"S3c":{"type":"structure","members":{"approvalRuleId":{},"approvalRuleName":{},"approvalRuleContent":{},"ruleContentSha256":{},"lastModifiedDate":{"type":"timestamp"},"creationDate":{"type":"timestamp"},"lastModifiedUser":{},"originApprovalRuleTemplate":{"type":"structure","members":{"approvalRuleTemplateId":{},"approvalRuleTemplateName":{}}}}},"S3k":{"type":"map","key":{},"value":{}},"S3p":{"type":"structure","members":{"replaceContents":{"type":"list","member":{"type":"structure","required":["filePath","replacementType"],"members":{"filePath":{},"replacementType":{},"content":{"type":"blob"},"fileMode":{}}}},"deleteFiles":{"shape":"S2o"},"setFileModes":{"shape":"S2q"}}},"S3y":{"type":"structure","members":{"branchName":{},"commitId":{}}},"S42":{"type":"structure","members":{"commentId":{},"content":{},"inReplyTo":{},"creationDate":{"type":"timestamp"},"lastModifiedDate":{"type":"timestamp"},"authorArn":{},"deleted":{"type":"boolean"},"clientRequestToken":{},"callerReactions":{"type":"list","member":{}},"reactionCounts":{"type":"map","key":{},"value":{"type":"integer"}}}},"S5q":{"type":"structure","members":{"filePath":{},"filePosition":{"type":"long"},"relativeFileVersion":{}}},"S5t":{"type":"list","member":{"shape":"S42"}},"S65":{"type":"structure","members":{"blobId":{},"path":{},"mode":{}}},"S76":{"type":"list","member":{"type":"structure","required":["name","destinationArn","events"],"members":{"name":{},"destinationArn":{},"customData":{},"branches":{"shape":"S7a"},"events":{"type":"list","member":{}}}}},"S7a":{"type":"list","member":{}},"S7f":{"type":"list","member":{}}}}; - get redirect() { - return this[INTERNALS$2].redirect; - } +/***/ }), - get signal() { - return this[INTERNALS$2].signal; - } +/***/ 4211: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * Clone this request - * - * @return Request - */ - clone() { - return new Request(this); - } - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - Body.mixIn(Request.prototype); +apiLoader.services['polly'] = {}; +AWS.Polly = Service.defineService('polly', ['2016-06-10']); +__webpack_require__(1531); +Object.defineProperty(apiLoader.services['polly'], '2016-06-10', { + get: function get() { + var model = __webpack_require__(3132); + model.paginators = __webpack_require__(5902).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - Object.defineProperty(Request.prototype, Symbol.toStringTag, { - value: "Request", - writable: false, - enumerable: false, - configurable: true, - }); +module.exports = AWS.Polly; - Object.defineProperties(Request.prototype, { - method: { enumerable: true }, - url: { enumerable: true }, - headers: { enumerable: true }, - redirect: { enumerable: true }, - clone: { enumerable: true }, - signal: { enumerable: true }, - }); - /** - * 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 - */ - function getNodeRequestOptions(request) { - const parsedURL = request[INTERNALS$2].parsedURL; - const headers = new Headers(request[INTERNALS$2].headers); - - // fetch step 1.3 - if (!headers.has("Accept")) { - headers.set("Accept", "*/*"); - } +/***/ }), - // Basic fetch - if (!parsedURL.protocol || !parsedURL.hostname) { - throw new TypeError("Only absolute URLs are supported"); - } +/***/ 4213: +/***/ (function(module) { - if (!/^https?:$/.test(parsedURL.protocol)) { - throw new TypeError("Only HTTP(S) protocols are supported"); - } +module.exports = require("punycode"); - if ( - request.signal && - request.body instanceof Stream.Readable && - !streamDestructionSupported - ) { - throw new Error( - "Cancellation of streamed requests with AbortSignal is not supported in node < 8" - ); - } +/***/ }), - // HTTP-network-or-cache fetch steps 2.4-2.7 - let contentLengthValue = null; - if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { - contentLengthValue = "0"; - } - if (request.body != null) { - const totalBytes = getTotalBytes(request); - if (typeof totalBytes === "number") { - contentLengthValue = String(totalBytes); - } - } - if (contentLengthValue) { - headers.set("Content-Length", contentLengthValue); - } +/***/ 4220: +/***/ (function(module) { - // HTTP-network-or-cache fetch step 2.11 - if (!headers.has("User-Agent")) { - headers.set( - "User-Agent", - "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - ); - } +module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-01","endpointPrefix":"workmail","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon WorkMail","serviceId":"WorkMail","signatureVersion":"v4","targetPrefix":"WorkMailService","uid":"workmail-2017-10-01"},"operations":{"AssociateDelegateToResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId","EntityId"],"members":{"OrganizationId":{},"ResourceId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"AssociateMemberToGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId","MemberId"],"members":{"OrganizationId":{},"GroupId":{},"MemberId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"CancelMailboxExportJob":{"input":{"type":"structure","required":["ClientToken","JobId","OrganizationId"],"members":{"ClientToken":{"idempotencyToken":true},"JobId":{},"OrganizationId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateAlias":{"input":{"type":"structure","required":["OrganizationId","EntityId","Alias"],"members":{"OrganizationId":{},"EntityId":{},"Alias":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"CreateGroup":{"input":{"type":"structure","required":["OrganizationId","Name"],"members":{"OrganizationId":{},"Name":{}}},"output":{"type":"structure","members":{"GroupId":{}}},"idempotent":true},"CreateOrganization":{"input":{"type":"structure","required":["Alias"],"members":{"DirectoryId":{},"Alias":{},"ClientToken":{"idempotencyToken":true},"Domains":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"HostedZoneId":{}}}},"KmsKeyArn":{},"EnableInteroperability":{"type":"boolean"}}},"output":{"type":"structure","members":{"OrganizationId":{}}},"idempotent":true},"CreateResource":{"input":{"type":"structure","required":["OrganizationId","Name","Type"],"members":{"OrganizationId":{},"Name":{},"Type":{}}},"output":{"type":"structure","members":{"ResourceId":{}}},"idempotent":true},"CreateUser":{"input":{"type":"structure","required":["OrganizationId","Name","DisplayName","Password"],"members":{"OrganizationId":{},"Name":{},"DisplayName":{},"Password":{"shape":"Sz"}}},"output":{"type":"structure","members":{"UserId":{}}},"idempotent":true},"DeleteAccessControlRule":{"input":{"type":"structure","required":["OrganizationId","Name"],"members":{"OrganizationId":{},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteAlias":{"input":{"type":"structure","required":["OrganizationId","EntityId","Alias"],"members":{"OrganizationId":{},"EntityId":{},"Alias":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId","GranteeId"],"members":{"OrganizationId":{},"EntityId":{},"GranteeId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteOrganization":{"input":{"type":"structure","required":["OrganizationId","DeleteDirectory"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"DeleteDirectory":{"type":"boolean"}}},"output":{"type":"structure","members":{"OrganizationId":{},"State":{}}},"idempotent":true},"DeleteResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId","Id"],"members":{"OrganizationId":{},"Id":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteUser":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeregisterFromWorkMail":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DescribeGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{}}},"output":{"type":"structure","members":{"GroupId":{},"Name":{},"Email":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}},"idempotent":true},"DescribeMailboxExportJob":{"input":{"type":"structure","required":["JobId","OrganizationId"],"members":{"JobId":{},"OrganizationId":{}}},"output":{"type":"structure","members":{"EntityId":{},"Description":{},"RoleArn":{},"KmsKeyArn":{},"S3BucketName":{},"S3Prefix":{},"S3Path":{},"EstimatedProgress":{"type":"integer"},"State":{},"ErrorInfo":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"idempotent":true},"DescribeOrganization":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"OrganizationId":{},"Alias":{},"State":{},"DirectoryId":{},"DirectoryType":{},"DefaultMailDomain":{},"CompletedDate":{"type":"timestamp"},"ErrorMessage":{},"ARN":{}}},"idempotent":true},"DescribeResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{}}},"output":{"type":"structure","members":{"ResourceId":{},"Email":{},"Name":{},"Type":{},"BookingOptions":{"shape":"S23"},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}},"idempotent":true},"DescribeUser":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{"UserId":{},"Name":{},"Email":{},"DisplayName":{},"State":{},"UserRole":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}},"idempotent":true},"DisassociateDelegateFromResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId","EntityId"],"members":{"OrganizationId":{},"ResourceId":{},"EntityId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DisassociateMemberFromGroup":{"input":{"type":"structure","required":["OrganizationId","GroupId","MemberId"],"members":{"OrganizationId":{},"GroupId":{},"MemberId":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetAccessControlEffect":{"input":{"type":"structure","required":["OrganizationId","IpAddress","Action","UserId"],"members":{"OrganizationId":{},"IpAddress":{},"Action":{},"UserId":{}}},"output":{"type":"structure","members":{"Effect":{},"MatchedRules":{"type":"list","member":{}}}}},"GetDefaultRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"FolderConfigurations":{"shape":"S2j"}}},"idempotent":true},"GetMailboxDetails":{"input":{"type":"structure","required":["OrganizationId","UserId"],"members":{"OrganizationId":{},"UserId":{}}},"output":{"type":"structure","members":{"MailboxQuota":{"type":"integer"},"MailboxSize":{"type":"double"}}},"idempotent":true},"ListAccessControlRules":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{}}},"output":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"Name":{},"Effect":{},"Description":{},"IpRanges":{"shape":"S2x"},"NotIpRanges":{"shape":"S2x"},"Actions":{"shape":"S2z"},"NotActions":{"shape":"S2z"},"UserIds":{"shape":"S30"},"NotUserIds":{"shape":"S30"},"DateCreated":{"type":"timestamp"},"DateModified":{"type":"timestamp"}}}}}}},"ListAliases":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Aliases":{"type":"list","member":{}},"NextToken":{}}},"idempotent":true},"ListGroupMembers":{"input":{"type":"structure","required":["OrganizationId","GroupId"],"members":{"OrganizationId":{},"GroupId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Members":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Type":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListGroups":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListMailboxExportJobs":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Jobs":{"type":"list","member":{"type":"structure","members":{"JobId":{},"EntityId":{},"Description":{},"S3BucketName":{},"S3Path":{},"EstimatedProgress":{"type":"integer"},"State":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId"],"members":{"OrganizationId":{},"EntityId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"type":"list","member":{"type":"structure","required":["GranteeId","GranteeType","PermissionValues"],"members":{"GranteeId":{},"GranteeType":{},"PermissionValues":{"shape":"S3n"}}}},"NextToken":{}}},"idempotent":true},"ListOrganizations":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"OrganizationSummaries":{"type":"list","member":{"type":"structure","members":{"OrganizationId":{},"Alias":{},"DefaultMailDomain":{},"ErrorMessage":{},"State":{}}}},"NextToken":{}}},"idempotent":true},"ListResourceDelegates":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Delegates":{"type":"list","member":{"type":"structure","required":["Id","Type"],"members":{"Id":{},"Type":{}}}},"NextToken":{}}},"idempotent":true},"ListResources":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Resources":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"Type":{},"State":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S43"}}}},"ListUsers":{"input":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Users":{"type":"list","member":{"type":"structure","members":{"Id":{},"Email":{},"Name":{},"DisplayName":{},"State":{},"UserRole":{},"EnabledDate":{"type":"timestamp"},"DisabledDate":{"type":"timestamp"}}}},"NextToken":{}}},"idempotent":true},"PutAccessControlRule":{"input":{"type":"structure","required":["Name","Effect","Description","OrganizationId"],"members":{"Name":{},"Effect":{},"Description":{},"IpRanges":{"shape":"S2x"},"NotIpRanges":{"shape":"S2x"},"Actions":{"shape":"S2z"},"NotActions":{"shape":"S2z"},"UserIds":{"shape":"S30"},"NotUserIds":{"shape":"S30"},"OrganizationId":{}}},"output":{"type":"structure","members":{}}},"PutMailboxPermissions":{"input":{"type":"structure","required":["OrganizationId","EntityId","GranteeId","PermissionValues"],"members":{"OrganizationId":{},"EntityId":{},"GranteeId":{},"PermissionValues":{"shape":"S3n"}}},"output":{"type":"structure","members":{}},"idempotent":true},"PutRetentionPolicy":{"input":{"type":"structure","required":["OrganizationId","Name","FolderConfigurations"],"members":{"OrganizationId":{},"Id":{},"Name":{},"Description":{"type":"string","sensitive":true},"FolderConfigurations":{"shape":"S2j"}}},"output":{"type":"structure","members":{}},"idempotent":true},"RegisterToWorkMail":{"input":{"type":"structure","required":["OrganizationId","EntityId","Email"],"members":{"OrganizationId":{},"EntityId":{},"Email":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"ResetPassword":{"input":{"type":"structure","required":["OrganizationId","UserId","Password"],"members":{"OrganizationId":{},"UserId":{},"Password":{"shape":"Sz"}}},"output":{"type":"structure","members":{}},"idempotent":true},"StartMailboxExportJob":{"input":{"type":"structure","required":["ClientToken","OrganizationId","EntityId","RoleArn","KmsKeyArn","S3BucketName","S3Prefix"],"members":{"ClientToken":{"idempotencyToken":true},"OrganizationId":{},"EntityId":{},"Description":{},"RoleArn":{},"KmsKeyArn":{},"S3BucketName":{},"S3Prefix":{}}},"output":{"type":"structure","members":{"JobId":{}}},"idempotent":true},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S43"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateMailboxQuota":{"input":{"type":"structure","required":["OrganizationId","UserId","MailboxQuota"],"members":{"OrganizationId":{},"UserId":{},"MailboxQuota":{"type":"integer"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdatePrimaryEmailAddress":{"input":{"type":"structure","required":["OrganizationId","EntityId","Email"],"members":{"OrganizationId":{},"EntityId":{},"Email":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateResource":{"input":{"type":"structure","required":["OrganizationId","ResourceId"],"members":{"OrganizationId":{},"ResourceId":{},"Name":{},"BookingOptions":{"shape":"S23"}}},"output":{"type":"structure","members":{}},"idempotent":true}},"shapes":{"Sz":{"type":"string","sensitive":true},"S23":{"type":"structure","members":{"AutoAcceptRequests":{"type":"boolean"},"AutoDeclineRecurringRequests":{"type":"boolean"},"AutoDeclineConflictingRequests":{"type":"boolean"}}},"S2j":{"type":"list","member":{"type":"structure","required":["Name","Action"],"members":{"Name":{},"Action":{},"Period":{"type":"integer"}}}},"S2x":{"type":"list","member":{}},"S2z":{"type":"list","member":{}},"S30":{"type":"list","member":{}},"S3n":{"type":"list","member":{}},"S43":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}}; - // HTTP-network-or-cache fetch step 2.15 - if (request.compress && !headers.has("Accept-Encoding")) { - headers.set("Accept-Encoding", "gzip,deflate"); - } +/***/ }), - let agent = request.agent; - if (typeof agent === "function") { - agent = agent(parsedURL); - } +/***/ 4221: +/***/ (function(module) { - if (!headers.has("Connection") && !agent) { - headers.set("Connection", "close"); - } +module.exports = {"pagination":{"DescribeRemediationExceptions":{"input_token":"NextToken","limit_key":"Limit","output_token":"NextToken"},"DescribeRemediationExecutionStatus":{"input_token":"NextToken","limit_key":"Limit","output_token":"NextToken","result_key":"RemediationExecutionStatuses"},"GetResourceConfigHistory":{"input_token":"nextToken","limit_key":"limit","output_token":"nextToken","result_key":"configurationItems"},"SelectAggregateResourceConfig":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"}}}; - // HTTP-network fetch step 4.2 - // chunked encoding is handled by Node.js +/***/ }), - return Object.assign({}, parsedURL, { - method: request.method, - headers: exportNodeCompatibleHeaders(headers), - agent, - }); - } +/***/ 4227: +/***/ (function(module, __unusedexports, __webpack_require__) { - /** - * abort-error.js - * - * AbortError interface for cancelled requests - */ - - /** - * Create AbortError instance - * - * @param String message Error message for human - * @return AbortError - */ - function AbortError(message) { - Error.call(this, message); - - this.type = "aborted"; - this.message = message; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); - } +apiLoader.services['cloudwatchlogs'] = {}; +AWS.CloudWatchLogs = Service.defineService('cloudwatchlogs', ['2014-03-28']); +Object.defineProperty(apiLoader.services['cloudwatchlogs'], '2014-03-28', { + get: function get() { + var model = __webpack_require__(7684); + model.paginators = __webpack_require__(6288).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - AbortError.prototype = Object.create(Error.prototype); - AbortError.prototype.constructor = AbortError; - AbortError.prototype.name = "AbortError"; - - // fix an issue where "PassThrough", "resolve" aren't a named export for node <10 - const PassThrough$1 = Stream.PassThrough; - const resolve_url = Url.resolve; - - /** - * Fetch function - * - * @param Mixed url Absolute url or Request instance - * @param Object opts Fetch options - * @return Promise - */ - function fetch(url, opts) { - // allow custom promise - if (!fetch.Promise) { - throw new Error( - "native promise missing, set fetch.Promise to your favorite alternative" - ); - } +module.exports = AWS.CloudWatchLogs; - Body.Promise = fetch.Promise; - // wrap http.request into fetch - return new fetch.Promise(function (resolve, reject) { - // build request object - const request = new Request(url, opts); - const options = getNodeRequestOptions(request); +/***/ }), - const send = (options.protocol === "https:" ? https : http).request; - const signal = request.signal; +/***/ 4237: +/***/ (function(module) { - let response = null; +module.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":true}}}},"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":true}}}}},"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":true}},"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":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"}}}},"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":true},"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":true},"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":true},"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":true},"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":true},"S14":{"type":"structure","members":{"Name":{},"ProvisionedIopsCapable":{"type":"boolean"}},"wrapper":true},"S1d":{"type":"structure","members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{}},"wrapper":true},"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":true},"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":true},"S3y":{"type":"list","member":{"locationName":"RecurringCharge","type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}},"wrapper":true}},"S4b":{"type":"structure","members":{"DBParameterGroupName":{}}}}}; - const abort = function abort() { - let error = new AbortError("The user aborted a request."); - reject(error); - if (request.body && request.body instanceof Stream.Readable) { - request.body.destroy(error); - } - if (!response || !response.body) return; - response.body.emit("error", error); - }; +/***/ }), - if (signal && signal.aborted) { - abort(); - return; - } +/***/ 4238: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { - const abortAndFinalize = function abortAndFinalize() { - abort(); - finalize(); - }; +var AWS = __webpack_require__(395); - // send request - const req = send(options); - let reqTimeout; +// pull in CloudFront signer +__webpack_require__(1647); - if (signal) { - signal.addEventListener("abort", abortAndFinalize); - } +AWS.util.update(AWS.CloudFront.prototype, { - function finalize() { - req.abort(); - if (signal) signal.removeEventListener("abort", abortAndFinalize); - clearTimeout(reqTimeout); - } + setupRequestListeners: function setupRequestListeners(request) { + request.addListener('extractData', AWS.util.hoistPayloadMember); + } - if (request.timeout) { - req.once("socket", function (socket) { - reqTimeout = setTimeout(function () { - reject( - new FetchError( - `network timeout at: ${request.url}`, - "request-timeout" - ) - ); - finalize(); - }, request.timeout); - }); - } +}); - req.on("error", function (err) { - reject( - new FetchError( - `request to ${request.url} failed, reason: ${err.message}`, - "system", - err - ) - ); - finalize(); - }); - req.on("response", function (res) { - clearTimeout(reqTimeout); +/***/ }), - const headers = createHeadersLenient(res.headers); +/***/ 4252: +/***/ (function(module) { - // HTTP fetch step 5 - if (fetch.isRedirect(res.statusCode)) { - // HTTP fetch step 5.2 - const location = headers.get("Location"); +module.exports = {"pagination":{}}; - // HTTP fetch step 5.3 - const locationURL = - location === null ? null : resolve_url(request.url, location); +/***/ }), - // HTTP fetch step 5.5 - switch (request.redirect) { - case "error": - reject( - new FetchError( - `uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, - "no-redirect" - ) - ); - 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) { - // handle corrupted header - try { - headers.set("Location", locationURL); - } catch (err) { - // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request - reject(err); - } - } - break; - case "follow": - // HTTP-redirect fetch step 2 - if (locationURL === null) { - break; - } +/***/ 4258: +/***/ (function(module, __unusedexports, __webpack_require__) { - // HTTP-redirect fetch step 5 - if (request.counter >= request.follow) { - reject( - new FetchError( - `maximum redirect reached at: ${request.url}`, - "max-redirect" - ) - ); - finalize(); - return; - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - // HTTP-redirect fetch step 6 (counter increment) - // Create a new Request object. - const requestOpts = { - headers: new Headers(request.headers), - follow: request.follow, - counter: request.counter + 1, - agent: request.agent, - compress: request.compress, - method: request.method, - body: request.body, - signal: request.signal, - timeout: request.timeout, - size: request.size, - }; - - // HTTP-redirect fetch step 9 - if ( - res.statusCode !== 303 && - request.body && - getTotalBytes(request) === null - ) { - reject( - new FetchError( - "Cannot follow redirect with body being a readable stream", - "unsupported-redirect" - ) - ); - finalize(); - return; - } +apiLoader.services['waf'] = {}; +AWS.WAF = Service.defineService('waf', ['2015-08-24']); +Object.defineProperty(apiLoader.services['waf'], '2015-08-24', { + get: function get() { + var model = __webpack_require__(5340); + model.paginators = __webpack_require__(9732).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - // HTTP-redirect fetch step 11 - if ( - res.statusCode === 303 || - ((res.statusCode === 301 || res.statusCode === 302) && - request.method === "POST") - ) { - requestOpts.method = "GET"; - requestOpts.body = undefined; - requestOpts.headers.delete("content-length"); - } +module.exports = AWS.WAF; - // HTTP-redirect fetch step 15 - resolve(fetch(new Request(locationURL, requestOpts))); - finalize(); - return; - } - } - // prepare response - res.once("end", function () { - if (signal) signal.removeEventListener("abort", abortAndFinalize); - }); - let body = res.pipe(new PassThrough$1()); - - const response_options = { - url: request.url, - status: res.statusCode, - statusText: res.statusMessage, - headers: headers, - size: request.size, - timeout: request.timeout, - counter: request.counter, - }; +/***/ }), - // HTTP-network fetch step 12.1.1.3 - const codings = headers.get("Content-Encoding"); - - // HTTP-network fetch step 12.1.1.4: handle content codings - - // in following scenarios we ignore compression support - // 1. compression support is disabled - // 2. HEAD request - // 3. no Content-Encoding header - // 4. no content response (204) - // 5. content not modified response (304) - if ( - !request.compress || - request.method === "HEAD" || - codings === null || - res.statusCode === 204 || - res.statusCode === 304 - ) { - response = new Response(body, response_options); - resolve(response); - return; - } +/***/ 4259: +/***/ (function(module) { - // For Node v6+ - // Be less strict when decoding compressed responses, since sometimes - // servers send slightly invalid responses that are still accepted - // by common browsers. - // Always using Z_SYNC_FLUSH is what cURL does. - const zlibOptions = { - flush: zlib.Z_SYNC_FLUSH, - finishFlush: zlib.Z_SYNC_FLUSH, - }; +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":{"shape":"Sh"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"OutputConfig":{"shape":"Sp"},"KmsKeyId":{}}},"output":{"type":"structure","members":{"ModelMetadata":{"shape":"Sv"}}}},"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":"Sy"}}}},"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":{"shape":"Sh"}}}},"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":{}}}},"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":"Sv"}},"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":"Sy"}},"NextToken":{}}}},"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":{}}}},"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":{}}}},"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":{}}},"Sh":{"type":"structure","members":{"ModelVersion":{},"ModelArn":{},"CreationTimestamp":{"type":"timestamp"},"Description":{},"Status":{},"StatusMessage":{},"Performance":{"shape":"Sn"},"OutputConfig":{"shape":"Sp"},"EvaluationManifest":{"shape":"Ss"},"EvaluationResult":{"shape":"Ss"},"EvaluationEndTimestamp":{"type":"timestamp"},"KmsKeyId":{}}},"Sn":{"type":"structure","members":{"F1Score":{"type":"float"},"Recall":{"type":"float"},"Precision":{"type":"float"}}},"Sp":{"type":"structure","required":["S3Location"],"members":{"S3Location":{"type":"structure","required":["Bucket"],"members":{"Bucket":{},"Prefix":{}}}}},"Ss":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"Sv":{"type":"structure","members":{"CreationTimestamp":{"type":"timestamp"},"ModelVersion":{},"ModelArn":{},"Description":{},"Status":{},"StatusMessage":{},"Performance":{"shape":"Sn"}}},"Sy":{"type":"structure","members":{"ProjectArn":{},"ProjectName":{},"CreationTimestamp":{"type":"timestamp"}}}}}; - // for gzip - if (codings == "gzip" || codings == "x-gzip") { - body = body.pipe(zlib.createGunzip(zlibOptions)); - response = new Response(body, response_options); - resolve(response); - return; - } +/***/ }), - // for deflate - 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 = res.pipe(new PassThrough$1()); - raw.once("data", function (chunk) { - // see http://stackoverflow.com/questions/37519828 - if ((chunk[0] & 0x0f) === 0x08) { - body = body.pipe(zlib.createInflate()); - } else { - body = body.pipe(zlib.createInflateRaw()); - } - response = new Response(body, response_options); - resolve(response); - }); - return; - } +/***/ 4281: +/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { - // for br - if ( - codings == "br" && - typeof zlib.createBrotliDecompress === "function" - ) { - body = body.pipe(zlib.createBrotliDecompress()); - response = new Response(body, response_options); - resolve(response); - return; +var AWS = __webpack_require__(395); +var rest = AWS.Protocol.Rest; + +/** + * A presigner object can be used to generate presigned urls for the Polly service. + */ +AWS.Polly.Presigner = AWS.util.inherit({ + /** + * Creates a presigner object with a set of configuration options. + * + * @option options params [map] An optional map of parameters to bind to every + * request sent by this service object. + * @option options service [AWS.Polly] An optional pre-configured instance + * of the AWS.Polly service object to use for requests. The object may + * bound parameters used by the presigner. + * @see AWS.Polly.constructor + */ + constructor: function Signer(options) { + options = options || {}; + this.options = options; + this.service = options.service; + this.bindServiceObject(options); + this._operations = {}; + }, + + /** + * @api private + */ + bindServiceObject: function bindServiceObject(options) { + options = options || {}; + if (!this.service) { + this.service = new AWS.Polly(options); + } else { + var config = AWS.util.copy(this.service.config); + this.service = new this.service.constructor.__super__(config); + this.service.config.params = AWS.util.merge(this.service.config.params || {}, options.params); + } + }, + + /** + * @api private + */ + modifyInputMembers: function modifyInputMembers(input) { + // make copies of the input so we don't overwrite the api + // need to be careful to copy anything we access/modify + var modifiedInput = AWS.util.copy(input); + modifiedInput.members = AWS.util.copy(input.members); + AWS.util.each(input.members, function(name, member) { + modifiedInput.members[name] = AWS.util.copy(member); + // update location and locationName + if (!member.location || member.location === 'body') { + modifiedInput.members[name].location = 'querystring'; + modifiedInput.members[name].locationName = name; } + }); + return modifiedInput; + }, - // otherwise, use response as-is - response = new Response(body, response_options); - resolve(response); - }); + /** + * @api private + */ + convertPostToGet: function convertPostToGet(req) { + // convert method + req.httpRequest.method = 'GET'; + + var operation = req.service.api.operations[req.operation]; + // get cached operation input first + var input = this._operations[req.operation]; + if (!input) { + // modify the original input + this._operations[req.operation] = input = this.modifyInputMembers(operation.input); + } + + var uri = rest.generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params); - writeToStream(req, request); + req.httpRequest.path = uri; + req.httpRequest.body = ''; + + // don't need these headers on a GET request + delete req.httpRequest.headers['Content-Length']; + delete req.httpRequest.headers['Content-Type']; + }, + + /** + * @overload getSynthesizeSpeechUrl(params = {}, [expires = 3600], [callback]) + * Generate a presigned url for {AWS.Polly.synthesizeSpeech}. + * @note You must ensure that you have static or previously resolved + * credentials if you call this method synchronously (with no callback), + * otherwise it may not properly sign the request. If you cannot guarantee + * this (you are using an asynchronous credential provider, i.e., EC2 + * IAM roles), you should always call this method with an asynchronous + * callback. + * @param params [map] parameters to pass to the operation. See the {AWS.Polly.synthesizeSpeech} + * operation for the expected operation parameters. + * @param expires [Integer] (3600) the number of seconds to expire the pre-signed URL operation in. + * Defaults to 1 hour. + * @return [string] if called synchronously (with no callback), returns the signed URL. + * @return [null] nothing is returned if a callback is provided. + * @callback callback function (err, url) + * If a callback is supplied, it is called when a signed URL has been generated. + * @param err [Error] the error object returned from the presigner. + * @param url [String] the signed URL. + * @see AWS.Polly.synthesizeSpeech + */ + getSynthesizeSpeechUrl: function getSynthesizeSpeechUrl(params, expires, callback) { + var self = this; + var request = this.service.makeRequest('synthesizeSpeech', params); + // remove existing build listeners + request.removeAllListeners('build'); + request.on('build', function(req) { + self.convertPostToGet(req); }); - } - /** - * Redirect code matching - * - * @param Number code Status code - * @return Boolean - */ - fetch.isRedirect = function (code) { - return ( - code === 301 || - code === 302 || - code === 303 || - code === 307 || - code === 308 - ); - }; + return request.presign(expires, callback); + } +}); - // expose Promise - fetch.Promise = global.Promise; - module.exports = exports = fetch; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = exports; - exports.Headers = Headers; - exports.Request = Request; - exports.Response = Response; - exports.FetchError = FetchError; +/***/ }), - /***/ - }, +/***/ 4289: +/***/ (function(module) { - /***/ 4469: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-06-30","endpointPrefix":"migrationhub-config","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Migration Hub Config","serviceId":"MigrationHub Config","signatureVersion":"v4","signingName":"mgh","targetPrefix":"AWSMigrationHubMultiAccountService","uid":"migrationhub-config-2019-06-30"},"operations":{"CreateHomeRegionControl":{"input":{"type":"structure","required":["HomeRegion","Target"],"members":{"HomeRegion":{},"Target":{"shape":"S3"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"HomeRegionControl":{"shape":"S8"}}}},"DescribeHomeRegionControls":{"input":{"type":"structure","members":{"ControlId":{},"HomeRegion":{},"Target":{"shape":"S3"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"HomeRegionControls":{"type":"list","member":{"shape":"S8"}},"NextToken":{}}}},"GetHomeRegion":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"HomeRegion":{}}}}},"shapes":{"S3":{"type":"structure","required":["Type"],"members":{"Type":{},"Id":{}}},"S8":{"type":"structure","members":{"ControlId":{},"HomeRegion":{},"Target":{"shape":"S3"},"RequestedTime":{"type":"timestamp"}}}}}; - apiLoader.services["workdocs"] = {}; - AWS.WorkDocs = Service.defineService("workdocs", ["2016-05-01"]); - Object.defineProperty(apiLoader.services["workdocs"], "2016-05-01", { - get: function get() { - var model = __webpack_require__(6099); - model.paginators = __webpack_require__(8317).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +/***/ }), - module.exports = AWS.WorkDocs; +/***/ 4290: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 4480: /***/ function (module) { - module.exports = { - pagination: { - ListApplications: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListComponents: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListConfigurationHistory: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListLogPatternSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListLogPatterns: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListProblems: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; +apiLoader.services['greengrass'] = {}; +AWS.Greengrass = Service.defineService('greengrass', ['2017-06-07']); +Object.defineProperty(apiLoader.services['greengrass'], '2017-06-07', { + get: function get() { + var model = __webpack_require__(2053); + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.Greengrass; - /***/ 4483: /***/ function (module) { - module.exports = { - pagination: { - ListItems: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; - /***/ - }, +/***/ }), - /***/ 4487: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["kinesisvideomedia"] = {}; - AWS.KinesisVideoMedia = Service.defineService("kinesisvideomedia", [ - "2017-09-30", - ]); - Object.defineProperty( - apiLoader.services["kinesisvideomedia"], - "2017-09-30", - { - get: function get() { - var model = __webpack_require__(8258); - model.paginators = __webpack_require__(8784).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); +/***/ 4291: +/***/ (function(module, __unusedexports, __webpack_require__) { - module.exports = AWS.KinesisVideoMedia; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ - }, +apiLoader.services['ivs'] = {}; +AWS.IVS = Service.defineService('ivs', ['2020-07-14']); +Object.defineProperty(apiLoader.services['ivs'], '2020-07-14', { + get: function get() { + var model = __webpack_require__(5907); + model.paginators = __webpack_require__(9342).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ 4525: /***/ function (module) { - module.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: true, - 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: true, - 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: true, - 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", - }, - ], - }, - }, - }; +module.exports = AWS.IVS; - /***/ - }, - /***/ 4535: /***/ function (module) { - 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: { - BatchDeleteDocument: { - input: { - type: "structure", - required: ["IndexId", "DocumentIdList"], - members: { - IndexId: {}, - DocumentIdList: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - members: { - FailedDocuments: { - type: "list", - member: { - type: "structure", - members: { Id: {}, ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - }, - 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: "Sg" }, - Attributes: { shape: "Sj" }, - AccessControlList: { - type: "list", - member: { - type: "structure", - required: ["Name", "Type", "Access"], - members: { Name: {}, Type: {}, Access: {} }, - }, - }, - ContentType: {}, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - FailedDocuments: { - type: "list", - member: { - type: "structure", - members: { Id: {}, ErrorCode: {}, ErrorMessage: {} }, - }, - }, - }, - }, - }, - CreateDataSource: { - input: { - type: "structure", - required: ["Name", "IndexId", "Type", "Configuration", "RoleArn"], - members: { - Name: {}, - IndexId: {}, - Type: {}, - Configuration: { shape: "S14" }, - Description: {}, - Schedule: {}, - RoleArn: {}, - }, - }, - output: { - type: "structure", - required: ["Id"], - members: { Id: {} }, - }, - }, - CreateFaq: { - input: { - type: "structure", - required: ["IndexId", "Name", "S3Path", "RoleArn"], - members: { - IndexId: {}, - Name: {}, - Description: {}, - S3Path: { shape: "Sg" }, - RoleArn: {}, - }, - }, - output: { type: "structure", members: { Id: {} } }, - }, - CreateIndex: { - input: { - type: "structure", - required: ["Name", "RoleArn"], - members: { - Name: {}, - RoleArn: {}, - ServerSideEncryptionConfiguration: { shape: "S2b" }, - Description: {}, - ClientToken: { idempotencyToken: true }, - }, - }, - output: { type: "structure", members: { Id: {} } }, - }, - DeleteFaq: { - input: { - type: "structure", - required: ["Id", "IndexId"], - members: { Id: {}, IndexId: {} }, - }, - }, - DeleteIndex: { - input: { type: "structure", required: ["Id"], members: { Id: {} } }, - }, - DescribeDataSource: { - input: { - type: "structure", - required: ["Id", "IndexId"], - members: { Id: {}, IndexId: {} }, - }, - output: { - type: "structure", - members: { - Id: {}, - IndexId: {}, - Name: {}, - Type: {}, - Configuration: { shape: "S14" }, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, - Description: {}, - Status: {}, - Schedule: {}, - 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: "Sg" }, - Status: {}, - RoleArn: {}, - ErrorMessage: {}, - }, - }, - }, - DescribeIndex: { - input: { type: "structure", required: ["Id"], members: { Id: {} } }, - output: { - type: "structure", - members: { - Name: {}, - Id: {}, - RoleArn: {}, - ServerSideEncryptionConfiguration: { shape: "S2b" }, - Status: {}, - Description: {}, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, - DocumentMetadataConfigurations: { shape: "S2q" }, - IndexStatistics: { - type: "structure", - required: ["FaqStatistics", "TextDocumentStatistics"], - members: { - FaqStatistics: { - type: "structure", - required: ["IndexedQuestionAnswersCount"], - members: { - IndexedQuestionAnswersCount: { type: "integer" }, - }, - }, - TextDocumentStatistics: { - type: "structure", - required: ["IndexedTextDocumentsCount"], - members: { - IndexedTextDocumentsCount: { type: "integer" }, - }, - }, - }, - }, - ErrorMessage: {}, - }, - }, - }, - ListDataSourceSyncJobs: { - input: { - type: "structure", - required: ["Id", "IndexId"], - members: { - Id: {}, - IndexId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - StartTimeFilter: { - type: "structure", - members: { - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - }, - }, - StatusFilter: {}, - }, - }, - output: { - type: "structure", - members: { - History: { - type: "list", - member: { - type: "structure", - members: { - ExecutionId: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Status: {}, - ErrorMessage: {}, - ErrorCode: {}, - DataSourceErrorCode: {}, - }, - }, - }, - 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: {}, - }, - }, - }, - 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" }, - }, - }, - }, - }, - }, - }, - 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: {}, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, - Status: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - Query: { - input: { - type: "structure", - required: ["IndexId", "QueryText"], - members: { - IndexId: {}, - QueryText: {}, - AttributeFilter: { shape: "S3w" }, - Facets: { - type: "list", - member: { - type: "structure", - members: { DocumentAttributeKey: {} }, - }, - }, - RequestedDocumentAttributes: { type: "list", member: {} }, - QueryResultTypeFilter: {}, - PageNumber: { type: "integer" }, - PageSize: { type: "integer" }, - }, - }, - 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: "S4c" }, - }, - }, - }, - }, - }, - DocumentId: {}, - DocumentTitle: { shape: "S4c" }, - DocumentExcerpt: { shape: "S4c" }, - DocumentURI: {}, - DocumentAttributes: { shape: "Sj" }, - }, - }, - }, - FacetResults: { - type: "list", - member: { - type: "structure", - members: { - DocumentAttributeKey: {}, - DocumentAttributeValueCountPairs: { - type: "list", - member: { - type: "structure", - members: { - DocumentAttributeValue: { shape: "Sm" }, - 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: {} }, - }, - }, - }, - }, - }, - UpdateDataSource: { - input: { - type: "structure", - required: ["Id", "IndexId"], - members: { - Id: {}, - Name: {}, - IndexId: {}, - Configuration: { shape: "S14" }, - Description: {}, - Schedule: {}, - RoleArn: {}, - }, - }, - }, - UpdateIndex: { - input: { - type: "structure", - required: ["Id"], - members: { - Id: {}, - Name: {}, - RoleArn: {}, - Description: {}, - DocumentMetadataConfigurationUpdates: { shape: "S2q" }, - }, - }, - }, - }, - shapes: { - Sg: { - type: "structure", - required: ["Bucket", "Key"], - members: { Bucket: {}, Key: {} }, - }, - Sj: { type: "list", member: { shape: "Sk" } }, - Sk: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: { shape: "Sm" } }, - }, - Sm: { - type: "structure", - members: { - StringValue: {}, - StringListValue: { type: "list", member: {} }, - LongValue: { type: "long" }, - DateValue: { type: "timestamp" }, - }, - }, - S14: { - type: "structure", - members: { - S3Configuration: { - type: "structure", - required: ["BucketName"], - members: { - BucketName: {}, - InclusionPrefixes: { shape: "S16" }, - ExclusionPatterns: { shape: "S16" }, - 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: "S16" }, - ExclusionPatterns: { shape: "S16" }, - VpcConfiguration: { shape: "S1g" }, - FieldMappings: { shape: "S1l" }, - DocumentTitleFieldName: {}, - }, - }, - 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: "S1g" }, - ColumnConfiguration: { - type: "structure", - required: [ - "DocumentIdColumnName", - "DocumentDataColumnName", - "ChangeDetectingColumns", - ], - members: { - DocumentIdColumnName: {}, - DocumentDataColumnName: {}, - DocumentTitleColumnName: {}, - FieldMappings: { shape: "S1l" }, - ChangeDetectingColumns: { type: "list", member: {} }, - }, - }, - AclConfiguration: { - type: "structure", - required: ["AllowedGroupsColumnName"], - members: { AllowedGroupsColumnName: {} }, - }, - }, - }, - }, - }, - S16: { type: "list", member: {} }, - S1g: { - type: "structure", - required: ["SubnetIds", "SecurityGroupIds"], - members: { - SubnetIds: { type: "list", member: {} }, - SecurityGroupIds: { type: "list", member: {} }, - }, - }, - S1l: { - type: "list", - member: { - type: "structure", - required: ["DataSourceFieldName", "IndexFieldName"], - members: { - DataSourceFieldName: {}, - DateFieldFormat: {}, - IndexFieldName: {}, - }, - }, - }, - S2b: { - type: "structure", - members: { KmsKeyId: { type: "string", sensitive: true } }, - }, - S2q: { - type: "list", - member: { - type: "structure", - required: ["Name", "Type"], - members: { - Name: {}, - Type: {}, - Relevance: { - type: "structure", - members: { - Freshness: { type: "boolean" }, - Importance: { type: "integer" }, - Duration: {}, - RankOrder: {}, - ValueImportanceMap: { - type: "map", - key: {}, - value: { type: "integer" }, - }, - }, - }, - Search: { - type: "structure", - members: { - Facetable: { type: "boolean" }, - Searchable: { type: "boolean" }, - Displayable: { type: "boolean" }, - }, - }, - }, - }, - }, - S3w: { - type: "structure", - members: { - AndAllFilters: { shape: "S3x" }, - OrAllFilters: { shape: "S3x" }, - NotFilter: { shape: "S3w" }, - EqualsTo: { shape: "Sk" }, - ContainsAll: { shape: "Sk" }, - ContainsAny: { shape: "Sk" }, - GreaterThan: { shape: "Sk" }, - GreaterThanOrEquals: { shape: "Sk" }, - LessThan: { shape: "Sk" }, - LessThanOrEquals: { shape: "Sk" }, - }, - }, - S3x: { type: "list", member: { shape: "S3w" } }, - S4c: { - type: "structure", - members: { - Text: {}, - Highlights: { - type: "list", - member: { - type: "structure", - required: ["BeginOffset", "EndOffset"], - members: { - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, - TopAnswer: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - }; +/***/ }), - /***/ - }, +/***/ 4293: +/***/ (function(module) { - /***/ 4540: /***/ function (module) { - module.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: {} }, - }, - output: { type: "structure", members: { TapeARN: {} } }, - }, - 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: "S1c" }, - GatewayARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Role: {}, - LocationARN: {}, - DefaultStorageClass: {}, - ObjectACL: {}, - ClientList: { shape: "S1j" }, - Squash: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - Tags: { shape: "S9" }, - }, - }, - 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" }, - AdminUserList: { shape: "S1p" }, - ValidUserList: { shape: "S1p" }, - InvalidUserList: { shape: "S1p" }, - AuditDestinationARN: {}, - Authentication: {}, - Tags: { shape: "S9" }, - }, - }, - 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: {}, - }, - }, - }, - CreateTapeWithBarcode: { - input: { - type: "structure", - required: ["GatewayARN", "TapeSizeInBytes", "TapeBarcode"], - members: { - GatewayARN: {}, - TapeSizeInBytes: { type: "long" }, - TapeBarcode: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - PoolId: {}, - 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: {}, - Tags: { shape: "S9" }, - }, - }, - output: { - type: "structure", - members: { TapeARNs: { shape: "S2b" } }, - }, - }, - 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: {} }, - }, - output: { type: "structure", members: { TapeARN: {} } }, - }, - DeleteTapeArchive: { - input: { - type: "structure", - required: ["TapeARN"], - members: { TapeARN: {} }, - }, - output: { type: "structure", members: { TapeARN: {} } }, - }, - 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" }, - }, - }, - }, - 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: "S36" } }, - }, - 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: "S3f" }, - 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: "S3o" }, - InitiatorName: {}, - SecretToAuthenticateTarget: { shape: "S3o" }, - }, - }, - }, - }, - }, - }, - 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: {}, - }, - }, - }, - 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: "S48" } }, - }, - output: { - type: "structure", - members: { - NFSFileShareInfoList: { - type: "list", - member: { - type: "structure", - members: { - NFSFileShareDefaults: { shape: "S1c" }, - FileShareARN: {}, - FileShareId: {}, - FileShareStatus: {}, - GatewayARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Path: {}, - Role: {}, - LocationARN: {}, - DefaultStorageClass: {}, - ObjectACL: {}, - ClientList: { shape: "S1j" }, - Squash: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - Tags: { shape: "S9" }, - }, - }, - }, - }, - }, - }, - DescribeSMBFileShares: { - input: { - type: "structure", - required: ["FileShareARNList"], - members: { FileShareARNList: { shape: "S48" } }, - }, - 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" }, - AdminUserList: { shape: "S1p" }, - ValidUserList: { shape: "S1p" }, - InvalidUserList: { shape: "S1p" }, - AuditDestinationARN: {}, - Authentication: {}, - Tags: { shape: "S9" }, - }, - }, - }, - }, - }, - }, - DescribeSMBSettings: { - input: { - type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, - }, - output: { - type: "structure", - members: { - GatewayARN: {}, - DomainName: {}, - ActiveDirectoryStatus: {}, - SMBGuestPasswordSet: { type: "boolean" }, - SMBSecurityStrategy: {}, - }, - }, - }, - 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: "S36" } }, - }, - 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: "S3f" }, - CreatedDate: { type: "timestamp" }, - VolumeUsedInBytes: { type: "long" }, - KMSKey: {}, - TargetName: {}, - }, - }, - }, - }, - }, - }, - DescribeTapeArchives: { - input: { - type: "structure", - members: { - TapeARNs: { shape: "S2b" }, - 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: {}, - }, - }, - }, - 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: "S2b" }, - 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: {}, - }, - }, - }, - 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: {} } }, - }, - JoinDomain: { - input: { - type: "structure", - required: ["GatewayARN", "DomainName", "UserName", "Password"], - members: { - GatewayARN: {}, - DomainName: {}, - OrganizationalUnit: {}, - DomainControllers: { type: "list", member: {} }, - TimeoutInSeconds: { type: "integer" }, - UserName: {}, - Password: { type: "string", sensitive: true }, - }, - }, - output: { - type: "structure", - members: { GatewayARN: {}, ActiveDirectoryStatus: {} }, - }, - }, - 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: {}, - }, - }, - }, - }, - }, - }, - 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: {}, - }, - }, - }, - 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" } }, - }, - }, - ListTapes: { - input: { - type: "structure", - members: { - TapeARNs: { shape: "S2b" }, - Marker: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - TapeInfos: { - type: "list", - member: { - type: "structure", - members: { - TapeARN: {}, - TapeBarcode: {}, - TapeSizeInBytes: { type: "long" }, - TapeStatus: {}, - GatewayARN: {}, - PoolId: {}, - }, - }, - }, - 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: true }, - }, - }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - SetSMBGuestPassword: { - input: { - type: "structure", - required: ["GatewayARN", "Password"], - members: { - GatewayARN: {}, - Password: { type: "string", sensitive: true }, - }, - }, - 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: {} } }, - }, - UpdateBandwidthRateLimit: { - input: { - type: "structure", - required: ["GatewayARN"], - members: { - GatewayARN: {}, - AverageUploadRateLimitInBitsPerSec: { type: "long" }, - AverageDownloadRateLimitInBitsPerSec: { type: "long" }, - }, - }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - UpdateChapCredentials: { - input: { - type: "structure", - required: [ - "TargetARN", - "SecretToAuthenticateInitiator", - "InitiatorName", - ], - members: { - TargetARN: {}, - SecretToAuthenticateInitiator: { shape: "S3o" }, - InitiatorName: {}, - SecretToAuthenticateTarget: { shape: "S3o" }, - }, - }, - output: { - type: "structure", - members: { TargetARN: {}, InitiatorName: {} }, - }, - }, - UpdateGatewayInformation: { - input: { - type: "structure", - required: ["GatewayARN"], - members: { - GatewayARN: {}, - GatewayName: {}, - GatewayTimezone: {}, - CloudWatchLogGroupARN: {}, - }, - }, - 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: "S1c" }, - DefaultStorageClass: {}, - ObjectACL: {}, - ClientList: { shape: "S1j" }, - Squash: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - }, - }, - 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" }, - AdminUserList: { shape: "S1p" }, - ValidUserList: { shape: "S1p" }, - InvalidUserList: { shape: "S1p" }, - AuditDestinationARN: {}, - }, - }, - output: { type: "structure", members: { FileShareARN: {} } }, - }, - 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: {} }, - S1c: { - type: "structure", - members: { - FileMode: {}, - DirectoryMode: {}, - GroupId: { type: "long" }, - OwnerId: { type: "long" }, - }, - }, - S1j: { type: "list", member: {} }, - S1p: { type: "list", member: {} }, - S2b: { type: "list", member: {} }, - S36: { type: "list", member: {} }, - S3f: { - type: "structure", - members: { - TargetARN: {}, - NetworkInterfaceId: {}, - NetworkInterfacePort: { type: "integer" }, - LunNumber: { type: "integer" }, - ChapEnabled: { type: "boolean" }, - }, - }, - S3o: { type: "string", sensitive: true }, - S48: { type: "list", member: {} }, - }, - }; +module.exports = require("buffer"); - /***/ - }, +/***/ }), - /***/ 4563: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = getPreviousPage; +/***/ 4303: +/***/ (function(module) { - const getPage = __webpack_require__(3265); +module.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"}]}}}; - function getPreviousPage(octokit, link, headers) { - return getPage(octokit, link, "prev", headers); - } +/***/ }), - /***/ - }, +/***/ 4304: +/***/ (function(module) { - /***/ 4568: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; +module.exports = require("string_decoder"); - const path = __webpack_require__(5622); - const niceTry = __webpack_require__(948); - const resolveCommand = __webpack_require__(489); - const escape = __webpack_require__(462); - const readShebang = __webpack_require__(4389); - const semver = __webpack_require__(9280); +/***/ }), - const isWin = process.platform === "win32"; - const isExecutableRegExp = /\.(?:com|exe)$/i; - const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i; +/***/ 4341: +/***/ (function(module, __unusedexports, __webpack_require__) { - // `options.shell` is supported in Node ^4.8.0, ^5.7.0 and >= 6.0.0 - const supportsShellOption = - niceTry(() => - semver.satisfies( - process.version, - "^4.8.0 || ^5.7.0 || >= 6.0.0", - true - ) - ) || false; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function detectShebang(parsed) { - parsed.file = resolveCommand(parsed); +apiLoader.services['discovery'] = {}; +AWS.Discovery = Service.defineService('discovery', ['2015-11-01']); +Object.defineProperty(apiLoader.services['discovery'], '2015-11-01', { + get: function get() { + var model = __webpack_require__(9389); + model.paginators = __webpack_require__(5266).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - const shebang = parsed.file && readShebang(parsed.file); +module.exports = AWS.Discovery; - if (shebang) { - parsed.args.unshift(parsed.file); - parsed.command = shebang; - return resolveCommand(parsed); - } +/***/ }), - return parsed.file; - } +/***/ 4343: +/***/ (function(module, __unusedexports, __webpack_require__) { - function parseNonShell(parsed) { - if (!isWin) { - return parsed; - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - // Detect & add support for shebangs - const commandFile = detectShebang(parsed); - - // We don't need a shell if the command filename is an executable - const needsShell = !isExecutableRegExp.test(commandFile); - - // If a shell is required, use cmd.exe and take care of escaping everything correctly - // Note that `forceShell` is an hidden option used only in tests - if (parsed.options.forceShell || needsShell) { - // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/` - // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument - // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called, - // we need to double escape them - const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile); - - // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\bar) - // This is necessary otherwise it will always fail with ENOENT in those cases - parsed.command = path.normalize(parsed.command); - - // Escape command & arguments - parsed.command = escape.command(parsed.command); - parsed.args = parsed.args.map((arg) => - escape.argument(arg, needsDoubleEscapeMetaChars) - ); +apiLoader.services['inspector'] = {}; +AWS.Inspector = Service.defineService('inspector', ['2015-08-18*', '2016-02-16']); +Object.defineProperty(apiLoader.services['inspector'], '2016-02-16', { + get: function get() { + var model = __webpack_require__(612); + model.paginators = __webpack_require__(1283).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - const shellCommand = [parsed.command].concat(parsed.args).join(" "); +module.exports = AWS.Inspector; - parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`]; - parsed.command = process.env.comspec || "cmd.exe"; - parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped - } - return parsed; - } +/***/ }), - function parseShell(parsed) { - // If node supports the shell option, there's no need to mimic its behavior - if (supportsShellOption) { - return parsed; - } +/***/ 4344: +/***/ (function(module) { - // Mimic node shell option - // See https://github.com/nodejs/node/blob/b9f6a2dc059a1062776133f3d4fd848c4da7d150/lib/child_process.js#L335 - const shellCommand = [parsed.command].concat(parsed.args).join(" "); - - if (isWin) { - parsed.command = - typeof parsed.options.shell === "string" - ? parsed.options.shell - : process.env.comspec || "cmd.exe"; - parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`]; - parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped - } else { - if (typeof parsed.options.shell === "string") { - parsed.command = parsed.options.shell; - } else if (process.platform === "android") { - parsed.command = "/system/bin/sh"; - } else { - parsed.command = "/bin/sh"; - } +module.exports = {"pagination":{}}; - parsed.args = ["-c", shellCommand]; - } +/***/ }), - return parsed; - } +/***/ 4371: +/***/ (function(module) { - function parse(command, args, options) { - // Normalize arguments, similar to nodejs - if (args && !Array.isArray(args)) { - options = args; - args = null; - } +module.exports = {"pagination":{"GetTranscript":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - args = args ? args.slice(0) : []; // Clone array to avoid changing the original - options = Object.assign({}, options); // Clone object to avoid changing the original +/***/ }), - // Build our parsed object - const parsed = { - command, - args, - options, - file: undefined, - original: { - command, - args, - }, - }; +/***/ 4373: +/***/ (function(module) { - // Delegate further parsing to shell or non-shell - return options.shell ? parseShell(parsed) : parseNonShell(parsed); - } +module.exports = {"pagination":{"ListPlacements":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"placements"},"ListProjects":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"projects"}}}; - module.exports = parse; +/***/ }), - /***/ - }, +/***/ 4380: +/***/ (function(module) { - /***/ 4571: /***/ function (module) { - module.exports = { - pagination: { - ListProfileTimes: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListProfilingGroups: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; +module.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"}]}}}; - /***/ - }, +/***/ }), - /***/ 4572: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - NotebookInstanceInService: { - delay: 30, - maxAttempts: 60, - operation: "DescribeNotebookInstance", - acceptors: [ - { - expected: "InService", - matcher: "path", - state: "success", - argument: "NotebookInstanceStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "NotebookInstanceStatus", - }, - ], - }, - NotebookInstanceStopped: { - delay: 30, - operation: "DescribeNotebookInstance", - maxAttempts: 60, - acceptors: [ - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "NotebookInstanceStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "NotebookInstanceStatus", - }, - ], - }, - NotebookInstanceDeleted: { - delay: 30, - maxAttempts: 60, - operation: "DescribeNotebookInstance", - acceptors: [ - { - expected: "ValidationException", - matcher: "error", - state: "success", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "NotebookInstanceStatus", - }, - ], - }, - TrainingJobCompletedOrStopped: { - delay: 120, - maxAttempts: 180, - operation: "DescribeTrainingJob", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "TrainingJobStatus", - }, - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "TrainingJobStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "TrainingJobStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", - }, - ], - }, - EndpointInService: { - delay: 30, - maxAttempts: 120, - operation: "DescribeEndpoint", - acceptors: [ - { - expected: "InService", - matcher: "path", - state: "success", - argument: "EndpointStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "EndpointStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", - }, - ], - }, - EndpointDeleted: { - delay: 30, - maxAttempts: 60, - operation: "DescribeEndpoint", - acceptors: [ - { - expected: "ValidationException", - matcher: "error", - state: "success", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "EndpointStatus", - }, - ], - }, - TransformJobCompletedOrStopped: { - delay: 60, - maxAttempts: 60, - operation: "DescribeTransformJob", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "TransformJobStatus", - }, - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "TransformJobStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "TransformJobStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", - }, - ], - }, - ProcessingJobCompletedOrStopped: { - delay: 60, - maxAttempts: 60, - operation: "DescribeProcessingJob", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "ProcessingJobStatus", - }, - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "ProcessingJobStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "ProcessingJobStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", - }, - ], - }, - }, - }; +/***/ 4388: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ - }, +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - /***/ 4575: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-11-01", - endpointPrefix: "access-analyzer", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "Access Analyzer", - serviceId: "AccessAnalyzer", - signatureVersion: "v4", - signingName: "access-analyzer", - uid: "accessanalyzer-2019-11-01", - }, - operations: { - CreateAnalyzer: { - http: { method: "PUT", requestUri: "/analyzer", responseCode: 200 }, - input: { - type: "structure", - required: ["analyzerName", "type"], - members: { - analyzerName: {}, - archiveRules: { - type: "list", - member: { - type: "structure", - required: ["filter", "ruleName"], - members: { filter: { shape: "S5" }, ruleName: {} }, - }, - }, - clientToken: { idempotencyToken: true }, - tags: { shape: "Sa" }, - type: {}, - }, - }, - output: { type: "structure", members: { arn: {} } }, - idempotent: true, - }, - CreateArchiveRule: { - http: { - method: "PUT", - requestUri: "/analyzer/{analyzerName}/archive-rule", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName", "filter", "ruleName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { idempotencyToken: true }, - filter: { shape: "S5" }, - ruleName: {}, - }, - }, - idempotent: true, - }, - DeleteAnalyzer: { - http: { - method: "DELETE", - requestUri: "/analyzer/{analyzerName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { - idempotencyToken: true, - location: "querystring", - locationName: "clientToken", - }, - }, - }, - idempotent: true, - }, - DeleteArchiveRule: { - http: { - method: "DELETE", - requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName", "ruleName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { - idempotencyToken: true, - location: "querystring", - locationName: "clientToken", - }, - ruleName: { location: "uri", locationName: "ruleName" }, - }, - }, - idempotent: true, - }, - GetAnalyzedResource: { - http: { - method: "GET", - requestUri: "/analyzed-resource", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerArn", "resourceArn"], - members: { - analyzerArn: { - location: "querystring", - locationName: "analyzerArn", - }, - resourceArn: { - location: "querystring", - locationName: "resourceArn", - }, - }, - }, - output: { - type: "structure", - members: { - resource: { - type: "structure", - required: [ - "analyzedAt", - "createdAt", - "isPublic", - "resourceArn", - "resourceOwnerAccount", - "resourceType", - "updatedAt", - ], - members: { - actions: { shape: "Sl" }, - analyzedAt: { shape: "Sm" }, - createdAt: { shape: "Sm" }, - error: {}, - isPublic: { type: "boolean" }, - resourceArn: {}, - resourceOwnerAccount: {}, - resourceType: {}, - sharedVia: { type: "list", member: {} }, - status: {}, - updatedAt: { shape: "Sm" }, - }, - }, - }, - }, - }, - GetAnalyzer: { - http: { - method: "GET", - requestUri: "/analyzer/{analyzerName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - }, - }, - output: { - type: "structure", - required: ["analyzer"], - members: { analyzer: { shape: "Ss" } }, - }, - }, - GetArchiveRule: { - http: { - method: "GET", - requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName", "ruleName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - ruleName: { location: "uri", locationName: "ruleName" }, - }, - }, - output: { - type: "structure", - required: ["archiveRule"], - members: { archiveRule: { shape: "Sy" } }, - }, - }, - GetFinding: { - http: { - method: "GET", - requestUri: "/finding/{id}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerArn", "id"], - members: { - analyzerArn: { - location: "querystring", - locationName: "analyzerArn", - }, - id: { location: "uri", locationName: "id" }, - }, - }, - output: { - type: "structure", - members: { - finding: { - type: "structure", - required: [ - "analyzedAt", - "condition", - "createdAt", - "id", - "resourceOwnerAccount", - "resourceType", - "status", - "updatedAt", - ], - members: { - action: { shape: "Sl" }, - analyzedAt: { shape: "Sm" }, - condition: { shape: "S13" }, - createdAt: { shape: "Sm" }, - error: {}, - id: {}, - isPublic: { type: "boolean" }, - principal: { shape: "S14" }, - resource: {}, - resourceOwnerAccount: {}, - resourceType: {}, - status: {}, - updatedAt: { shape: "Sm" }, - }, - }, - }, - }, - }, - ListAnalyzedResources: { - http: { requestUri: "/analyzed-resource", responseCode: 200 }, - input: { - type: "structure", - required: ["analyzerArn"], - members: { - analyzerArn: {}, - maxResults: { type: "integer" }, - nextToken: {}, - resourceType: {}, - }, - }, - output: { - type: "structure", - required: ["analyzedResources"], - members: { - analyzedResources: { - type: "list", - member: { - type: "structure", - required: [ - "resourceArn", - "resourceOwnerAccount", - "resourceType", - ], - members: { - resourceArn: {}, - resourceOwnerAccount: {}, - resourceType: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListAnalyzers: { - http: { method: "GET", requestUri: "/analyzer", responseCode: 200 }, - input: { - type: "structure", - members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - type: { location: "querystring", locationName: "type" }, - }, - }, - output: { - type: "structure", - required: ["analyzers"], - members: { - analyzers: { type: "list", member: { shape: "Ss" } }, - nextToken: {}, - }, - }, - }, - ListArchiveRules: { - http: { - method: "GET", - requestUri: "/analyzer/{analyzerName}/archive-rule", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - required: ["archiveRules"], - members: { - archiveRules: { type: "list", member: { shape: "Sy" } }, - nextToken: {}, - }, - }, - }, - ListFindings: { - http: { requestUri: "/finding", responseCode: 200 }, - input: { - type: "structure", - required: ["analyzerArn"], - members: { - analyzerArn: {}, - filter: { shape: "S5" }, - maxResults: { type: "integer" }, - nextToken: {}, - sort: { - type: "structure", - members: { attributeName: {}, orderBy: {} }, - }, - }, - }, - output: { - type: "structure", - required: ["findings"], - members: { - findings: { - type: "list", - member: { - type: "structure", - required: [ - "analyzedAt", - "condition", - "createdAt", - "id", - "resourceOwnerAccount", - "resourceType", - "status", - "updatedAt", - ], - members: { - action: { shape: "Sl" }, - analyzedAt: { shape: "Sm" }, - condition: { shape: "S13" }, - createdAt: { shape: "Sm" }, - error: {}, - id: {}, - isPublic: { type: "boolean" }, - principal: { shape: "S14" }, - resource: {}, - resourceOwnerAccount: {}, - resourceType: {}, - status: {}, - updatedAt: { shape: "Sm" }, - }, - }, - }, - 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: "Sa" } } }, - }, - StartResourceScan: { - http: { requestUri: "/resource/scan", responseCode: 200 }, - input: { - type: "structure", - required: ["analyzerArn", "resourceArn"], - members: { analyzerArn: {}, resourceArn: {} }, - }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}", responseCode: 200 }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sa" }, - }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - 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, - }, - UpdateArchiveRule: { - http: { - method: "PUT", - requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName", "filter", "ruleName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { idempotencyToken: true }, - filter: { shape: "S5" }, - ruleName: { location: "uri", locationName: "ruleName" }, - }, - }, - idempotent: true, - }, - UpdateFindings: { - http: { method: "PUT", requestUri: "/finding", responseCode: 200 }, - input: { - type: "structure", - required: ["analyzerArn", "status"], - members: { - analyzerArn: {}, - clientToken: { idempotencyToken: true }, - ids: { type: "list", member: {} }, - resourceArn: {}, - status: {}, - }, - }, - idempotent: true, - }, - }, - shapes: { - S5: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - contains: { shape: "S8" }, - eq: { shape: "S8" }, - exists: { type: "boolean" }, - neq: { shape: "S8" }, - }, - }, - }, - S8: { type: "list", member: {} }, - Sa: { type: "map", key: {}, value: {} }, - Sl: { type: "list", member: {} }, - Sm: { type: "timestamp", timestampFormat: "iso8601" }, - Ss: { - type: "structure", - required: ["arn", "createdAt", "name", "status", "type"], - members: { - arn: {}, - createdAt: { shape: "Sm" }, - lastResourceAnalyzed: {}, - lastResourceAnalyzedAt: { shape: "Sm" }, - name: {}, - status: {}, - statusReason: { - type: "structure", - required: ["code"], - members: { code: {} }, - }, - tags: { shape: "Sa" }, - type: {}, - }, - }, - Sy: { - type: "structure", - required: ["createdAt", "filter", "ruleName", "updatedAt"], - members: { - createdAt: { shape: "Sm" }, - filter: { shape: "S5" }, - ruleName: {}, - updatedAt: { shape: "Sm" }, - }, - }, - S13: { type: "map", key: {}, value: {} }, - S14: { type: "map", key: {}, value: {} }, - }, - }; +apiLoader.services['honeycode'] = {}; +AWS.Honeycode = Service.defineService('honeycode', ['2020-03-01']); +Object.defineProperty(apiLoader.services['honeycode'], '2020-03-01', { + get: function get() { + var model = __webpack_require__(8343); + model.paginators = __webpack_require__(1346).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - /***/ - }, +module.exports = AWS.Honeycode; - /***/ 4577: /***/ function (module) { - module.exports = getPageLinks; - function getPageLinks(link) { - link = link.link || link.headers.link || ""; +/***/ }), - const links = {}; +/***/ 4389: +/***/ (function(module, __unusedexports, __webpack_require__) { - // link format: - // '; rel="next", ; rel="last"' - link.replace(/<([^>]*)>;\s*rel="([\w]*)"/g, (m, uri, type) => { - links[type] = uri; - }); +"use strict"; - return links; - } - /***/ - }, +const fs = __webpack_require__(5747); +const shebangCommand = __webpack_require__(2866); - /***/ 4599: /***/ function (module) { - module.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: {}, - }, - }, - 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: true, - }, - 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", - }, - }, - }, - }, - 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: "S1b" }, - }, - }, - }, - 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: {} }, - }, - CreateAuthorizer: { - http: { requestUri: "/authorizer/{authorizerName}" }, - input: { - type: "structure", - required: ["authorizerName", "authorizerFunctionArn"], - members: { - authorizerName: { - location: "uri", - locationName: "authorizerName", - }, - authorizerFunctionArn: {}, - tokenKeyName: {}, - tokenSigningPublicKeys: { shape: "S1n" }, - status: {}, - signingDisabled: { 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: "S1v" }, - tags: { shape: "S1x" }, - }, - }, - 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: {}, - }, - }, - }, - CreateDimension: { - http: { requestUri: "/dimensions/{name}" }, - input: { - type: "structure", - required: ["name", "type", "stringValues", "clientRequestToken"], - members: { - name: { location: "uri", locationName: "name" }, - type: {}, - stringValues: { shape: "S2b" }, - tags: { shape: "S1x" }, - clientRequestToken: { idempotencyToken: true }, - }, - }, - 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: "S2l" }, - serviceType: {}, - }, - }, - 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: "S2r" }, - indexName: {}, - queryString: {}, - queryVersion: {}, - tags: { shape: "S1x" }, - }, - }, - output: { - type: "structure", - members: { - thingGroupName: {}, - thingGroupArn: {}, - thingGroupId: {}, - indexName: {}, - queryString: {}, - queryVersion: {}, - }, - }, - }, - 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: "S36" }, - targetSelection: {}, - jobExecutionsRolloutConfig: { shape: "S3a" }, - abortConfig: { shape: "S3h" }, - timeoutConfig: { shape: "S3o" }, - tags: { shape: "S1x" }, - }, - }, - output: { - type: "structure", - members: { jobArn: {}, jobId: {}, description: {} }, - }, - }, - 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: "S3t" }, - }, - }, - }, - CreateMitigationAction: { - http: { requestUri: "/mitigationactions/actions/{actionName}" }, - input: { - type: "structure", - required: ["actionName", "roleArn", "actionParams"], - members: { - actionName: { location: "uri", locationName: "actionName" }, - roleArn: {}, - actionParams: { shape: "S3y" }, - tags: { shape: "S1x" }, - }, - }, - 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: "S4h" }, - protocols: { shape: "S4j" }, - targetSelection: {}, - awsJobExecutionsRolloutConfig: { shape: "S4l" }, - awsJobPresignedUrlConfig: { shape: "S4n" }, - files: { shape: "S4p" }, - roleArn: {}, - additionalParameters: { shape: "S5m" }, - tags: { shape: "S1x" }, - }, - }, - 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: {}, - }, - }, - 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: "S3t" }, - expiration: { type: "timestamp" }, - }, - }, - }, - CreateProvisioningTemplate: { - http: { requestUri: "/provisioning-templates" }, - input: { - type: "structure", - required: ["templateName", "templateBody", "provisioningRoleArn"], - members: { - templateName: {}, - description: {}, - templateBody: {}, - enabled: { type: "boolean" }, - provisioningRoleArn: {}, - tags: { shape: "S1x" }, - }, - }, - 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" }, - }, - }, - 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: "S6n" }, - scheduledAuditName: { - location: "uri", - locationName: "scheduledAuditName", - }, - tags: { shape: "S1x" }, - }, - }, - 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: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - tags: { shape: "S1x" }, - }, - }, - 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: "S7o" }, - roleArn: {}, - tags: { shape: "S1x" }, - }, - }, - 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: "S2t" }, - 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: "S2r" }, - tags: { shape: "S1x" }, - }, - }, - 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: "S80" }, - tags: { shape: "S1x" }, - }, - }, - 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: "S88" }, - 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: {} }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { topicRuleDestination: { shape: "Sav" } }, - }, - }, - DeleteAccountAuditConfiguration: { - http: { method: "DELETE", requestUri: "/audit/configuration" }, - input: { - type: "structure", - members: { - deleteScheduledAudits: { - location: "querystring", - locationName: "deleteScheduledAudits", - type: "boolean", - }, - }, - }, - 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", - }, - }, - }, - }, - 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: {} }, - }, - 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", - }, - }, - }, - }, - 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", - }, - }, - }, - }, - 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: "Scm" }, - auditCheckConfigurations: { shape: "Scp" }, - }, - }, - }, - 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: "Scu" } }, - }, - }, - 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: "Sdj" }, - auditCheckToActionsMapping: { shape: "Sdn" }, - actionsDefinition: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - id: {}, - roleArn: {}, - actionParams: { shape: "S3y" }, - }, - }, - }, - }, - }, - }, - 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" }, - 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: "Sed" } }, - }, - }, - 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: "S1v" }, - 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: "Seq" }, - }, - }, - registrationConfig: { shape: "Ser" }, - }, - }, - }, - 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: "Seq" }, - }, - }, - }, - }, - }, - DescribeDefaultAuthorizer: { - http: { method: "GET", requestUri: "/default-authorizer" }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { authorizerDescription: { shape: "Sed" } }, - }, - }, - 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: "S2b" }, - 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: "S2l" }, - domainConfigurationStatus: {}, - serviceType: {}, - domainType: {}, - }, - }, - }, - 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: "Sfh" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - }, - }, - }, - 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: "S36" }, - jobExecutionsRolloutConfig: { shape: "S3a" }, - abortConfig: { shape: "S3h" }, - 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: "S3o" }, - }, - }, - }, - }, - }, - 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: "S1b" } }, - }, - thingArn: {}, - queuedAt: { type: "timestamp" }, - startedAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - executionNumber: { type: "long" }, - versionNumber: { type: "long" }, - approximateSecondsBeforeTimedOut: { type: "long" }, - }, - }, - }, - }, - }, - 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: "S3y" }, - 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: {}, - }, - }, - }, - 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: "S6n" }, - 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: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - 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: "S7o" }, - 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: "S2u" }, - 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: "S2r" }, - thingGroupMetadata: { - type: "structure", - members: { - parentGroupName: {}, - rootToParentThingGroups: { shape: "Sgy" }, - 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: "S80" }, - thingTypeMetadata: { shape: "Shb" }, - }, - }, - }, - 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: true, - }, - 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" }, - }, - }, - }, - 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: "Shv" }, - thingGroupIndexingConfiguration: { shape: "Si2" }, - }, - }, - }, - 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: "S4h" }, - protocols: { shape: "S4j" }, - awsJobExecutionsRolloutConfig: { shape: "S4l" }, - awsJobPresignedUrlConfig: { shape: "S4n" }, - targetSelection: {}, - otaUpdateFiles: { shape: "S4p" }, - otaUpdateStatus: {}, - awsIotJobId: {}, - awsIotJobArn: {}, - errorInfo: { - type: "structure", - members: { code: {}, message: {} }, - }, - additionalParameters: { shape: "S5m" }, - }, - }, - }, - }, - }, - 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: "S8b" }, - ruleDisabled: { type: "boolean" }, - awsIotSqlVersion: {}, - errorAction: { shape: "S8c" }, - }, - }, - }, - }, - }, - GetTopicRuleDestination: { - http: { method: "GET", requestUri: "/destinations/{arn+}" }, - input: { - type: "structure", - required: ["arn"], - members: { arn: { location: "uri", locationName: "arn" } }, - }, - output: { - type: "structure", - members: { topicRuleDestination: { shape: "Sav" } }, - }, - }, - 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", - }, - 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: "S6v" }, - lastViolationValue: { shape: "S72" }, - 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: "Sjp" }, nextMarker: {} }, - }, - }, - ListAuditFindings: { - http: { requestUri: "/audit/findings" }, - input: { - type: "structure", - members: { - taskId: {}, - checkName: {}, - resourceIdentifier: { shape: "Scz" }, - maxResults: { type: "integer" }, - nextToken: {}, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - }, - }, - output: { - type: "structure", - members: { - findings: { type: "list", member: { shape: "Scu" } }, - 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: {}, - }, - }, - }, - 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: "Sgz" } }, - 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: "Skm" }, 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: "Skm" }, nextMarker: {} }, - }, - }, - 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: {}, - }, - }, - }, - 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: "Sl6" }, - }, - }, - }, - 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" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - executionSummaries: { - type: "list", - member: { - type: "structure", - members: { - jobId: {}, - jobExecutionSummary: { shape: "Sl6" }, - }, - }, - }, - 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", - }, - }, - }, - 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: {}, - }, - }, - }, - 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: "Sjp" }, 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: "Slv" }, nextMarker: {} }, - }, - deprecated: true, - }, - 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: "Sjp" }, nextMarker: {} }, - }, - deprecated: true, - }, - 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: "Sm5" }, 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", - }, - }, - }, - output: { - type: "structure", - members: { - securityProfileIdentifiers: { - type: "list", - member: { shape: "Smo" }, - }, - 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: "Smo" }, - target: { shape: "Smt" }, - }, - }, - }, - 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: "S1x" }, 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: "Smt" }, - }, - 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: "Sgy" }, 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: "Sgy" }, nextToken: {} }, - }, - }, - ListThingPrincipals: { - http: { - method: "GET", - requestUri: "/things/{thingName}/principals", - }, - input: { - type: "structure", - required: ["thingName"], - members: { - thingName: { location: "uri", locationName: "thingName" }, - }, - }, - output: { - type: "structure", - members: { principals: { shape: "Slv" } }, - }, - }, - 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: "S80" }, - thingTypeMetadata: { shape: "Shb" }, - }, - }, - }, - 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", - }, - }, - }, - output: { - type: "structure", - members: { - things: { - type: "list", - member: { - type: "structure", - members: { - thingName: {}, - thingTypeName: {}, - thingArn: {}, - attributes: { shape: "S2u" }, - 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: "Sm5" }, 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: "Sm5" }, 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: {}, - statusReason: {}, - httpUrlSummary: { - type: "structure", - members: { confirmationUrl: {} }, - }, - }, - }, - }, - 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: "Sof" }, 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", - }, - 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: "S6v" }, - metricValue: { shape: "S72" }, - violationEventType: {}, - violationEventTime: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - 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: "Ser" }, - }, - }, - output: { - type: "structure", - members: { certificateArn: {}, certificateId: {} }, - }, - }, - RegisterCertificate: { - http: { requestUri: "/certificate/register" }, - input: { - type: "structure", - required: ["certificatePem"], - members: { - certificatePem: {}, - caCertificatePem: {}, - setAsActive: { - deprecated: true, - location: "querystring", - locationName: "setAsActive", - type: "boolean", - }, - 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: "S88" }, - }, - 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: "Sp7" }, - attributes: { shape: "S2u" }, - shadow: {}, - connectivity: { - type: "structure", - members: { - connected: { type: "boolean" }, - timestamp: { type: "long" }, - }, - }, - }, - }, - }, - thingGroups: { - type: "list", - member: { - type: "structure", - members: { - thingGroupName: {}, - thingGroupId: {}, - thingGroupDescription: {}, - attributes: { shape: "S2u" }, - parentGroupNames: { shape: "Sp7" }, - }, - }, - }, - }, - }, - }, - 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: "Sof" }, 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: "Sdj" }, - auditCheckToActionsMapping: { shape: "Sdn" }, - clientRequestToken: { idempotencyToken: true }, - }, - }, - output: { type: "structure", members: { taskId: {} } }, - }, - StartOnDemandAuditTask: { - http: { requestUri: "/audit/tasks" }, - input: { - type: "structure", - required: ["targetCheckNames"], - members: { targetCheckNames: { shape: "S6n" } }, - }, - 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: "S1x" } }, - }, - output: { type: "structure", members: {} }, - }, - TestAuthorization: { - http: { requestUri: "/test-authorization" }, - input: { - type: "structure", - required: ["authInfos"], - members: { - principal: {}, - cognitoIdentityPoolId: {}, - authInfos: { type: "list", member: { shape: "Spw" } }, - clientId: { location: "querystring", locationName: "clientId" }, - policyNamesToAdd: { shape: "Sq0" }, - policyNamesToSkip: { shape: "Sq0" }, - }, - }, - output: { - type: "structure", - members: { - authResults: { - type: "list", - member: { - type: "structure", - members: { - authInfo: { shape: "Spw" }, - allowed: { - type: "structure", - members: { policies: { shape: "Sjp" } }, - }, - denied: { - type: "structure", - members: { - implicitDeny: { - type: "structure", - members: { policies: { shape: "Sjp" } }, - }, - explicitDeny: { - type: "structure", - members: { policies: { shape: "Sjp" } }, - }, - }, - }, - 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: "Scm" }, - auditCheckConfigurations: { shape: "Scp" }, - }, - }, - 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: "S1n" }, - status: {}, - }, - }, - 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: "S1v" }, - 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: "Ser" }, - 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", - }, - }, - }, - }, - UpdateDimension: { - http: { method: "PATCH", requestUri: "/dimensions/{name}" }, - input: { - type: "structure", - required: ["name", "stringValues"], - members: { - name: { location: "uri", locationName: "name" }, - stringValues: { shape: "S2b" }, - }, - }, - output: { - type: "structure", - members: { - name: {}, - arn: {}, - type: {}, - stringValues: { shape: "S2b" }, - 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: "S2l" }, - 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: "S2r" }, - 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: "Sfh" } }, - }, - output: { type: "structure", members: {} }, - }, - UpdateIndexingConfiguration: { - http: { requestUri: "/indexing/config" }, - input: { - type: "structure", - members: { - thingIndexingConfiguration: { shape: "Shv" }, - thingGroupIndexingConfiguration: { shape: "Si2" }, - }, - }, - 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: "S36" }, - jobExecutionsRolloutConfig: { shape: "S3a" }, - abortConfig: { shape: "S3h" }, - timeoutConfig: { shape: "S3o" }, - }, - }, - }, - UpdateMitigationAction: { - http: { - method: "PATCH", - requestUri: "/mitigationactions/actions/{actionName}", - }, - input: { - type: "structure", - required: ["actionName"], - members: { - actionName: { location: "uri", locationName: "actionName" }, - roleArn: {}, - actionParams: { shape: "S3y" }, - }, - }, - 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: {}, - }, - }, - 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: "S6n" }, - 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: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - 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: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - 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: "S7o" }, - 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: "S2t" }, - 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: "S2r" }, - 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: "Ss5" }, - thingGroupsToRemove: { shape: "Ss5" }, - 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: "S6u" } }, - }, - output: { - type: "structure", - members: { - valid: { type: "boolean" }, - validationErrors: { - type: "list", - member: { type: "structure", members: { errorMessage: {} } }, - }, - }, - }, - }, - }, - shapes: { - Sg: { type: "list", member: {} }, - S1b: { type: "map", key: {}, value: {} }, - S1n: { type: "map", key: {}, value: {} }, - S1v: { type: "structure", members: { billingGroupDescription: {} } }, - S1x: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - S2b: { type: "list", member: {} }, - S2l: { - type: "structure", - members: { - defaultAuthorizerName: {}, - allowAuthorizerOverride: { type: "boolean" }, - }, - }, - S2r: { - type: "structure", - members: { - thingGroupDescription: {}, - attributePayload: { shape: "S2t" }, - }, - }, - S2t: { - type: "structure", - members: { - attributes: { shape: "S2u" }, - merge: { type: "boolean" }, - }, - }, - S2u: { type: "map", key: {}, value: {} }, - S36: { - type: "structure", - members: { roleArn: {}, expiresInSec: { type: "long" } }, - }, - S3a: { - 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" }, - }, - }, - }, - }, - }, - }, - S3h: { - 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" }, - }, - }, - }, - }, - }, - S3o: { - type: "structure", - members: { inProgressTimeoutInMinutes: { type: "long" } }, - }, - S3t: { - type: "structure", - members: { - PublicKey: {}, - PrivateKey: { type: "string", sensitive: true }, - }, - }, - S3y: { - 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: {} }, - }, - }, - }, - S4h: { type: "list", member: {} }, - S4j: { type: "list", member: {} }, - S4l: { - type: "structure", - members: { maximumPerMinute: { type: "integer" } }, - }, - S4n: { - type: "structure", - members: { expiresInSec: { type: "long" } }, - }, - S4p: { - type: "list", - member: { - type: "structure", - members: { - fileName: {}, - fileVersion: {}, - fileLocation: { - type: "structure", - members: { - stream: { - type: "structure", - members: { streamId: {}, fileId: { type: "integer" } }, - }, - s3Location: { shape: "S4x" }, - }, - }, - 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: {} }, - }, - }, - }, - S4x: { - type: "structure", - members: { bucket: {}, key: {}, version: {} }, - }, - S5m: { type: "map", key: {}, value: {} }, - S6n: { type: "list", member: {} }, - S6u: { type: "list", member: { shape: "S6v" } }, - S6v: { - type: "structure", - required: ["name"], - members: { - name: {}, - metric: {}, - metricDimension: { shape: "S6y" }, - criteria: { - type: "structure", - members: { - comparisonOperator: {}, - value: { shape: "S72" }, - durationSeconds: { type: "integer" }, - consecutiveDatapointsToAlarm: { type: "integer" }, - consecutiveDatapointsToClear: { type: "integer" }, - statisticalThreshold: { - type: "structure", - members: { statistic: {} }, - }, - }, - }, - }, - }, - S6y: { - type: "structure", - required: ["dimensionName"], - members: { dimensionName: {}, operator: {} }, - }, - S72: { - type: "structure", - members: { - count: { type: "long" }, - cidrs: { type: "list", member: {} }, - ports: { type: "list", member: { type: "integer" } }, - }, - }, - S7d: { - type: "map", - key: {}, - value: { - type: "structure", - required: ["alertTargetArn", "roleArn"], - members: { alertTargetArn: {}, roleArn: {} }, - }, - }, - S7h: { type: "list", member: {} }, - S7i: { - type: "list", - member: { - type: "structure", - required: ["metric"], - members: { metric: {}, metricDimension: { shape: "S6y" } }, - }, - }, - S7o: { - type: "list", - member: { - type: "structure", - members: { - fileId: { type: "integer" }, - s3Location: { shape: "S4x" }, - }, - }, - }, - S80: { - type: "structure", - members: { - thingTypeDescription: {}, - searchableAttributes: { type: "list", member: {} }, - }, - }, - S88: { - type: "structure", - required: ["sql", "actions"], - members: { - sql: {}, - description: {}, - actions: { shape: "S8b" }, - ruleDisabled: { type: "boolean" }, - awsIotSqlVersion: {}, - errorAction: { shape: "S8c" }, - }, - }, - S8b: { type: "list", member: { shape: "S8c" } }, - S8c: { - 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: {} }, - }, - 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: {}, roleArn: {} }, - }, - iotEvents: { - type: "structure", - required: ["inputName", "roleArn"], - members: { inputName: {}, messageId: {}, 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: {}, - }, - }, - 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: {}, - }, - }, - }, - }, - }, - }, - }, - }, - Sav: { - type: "structure", - members: { - arn: {}, - status: {}, - statusReason: {}, - httpUrlProperties: { - type: "structure", - members: { confirmationUrl: {} }, - }, - }, - }, - Scm: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - targetArn: {}, - roleArn: {}, - enabled: { type: "boolean" }, - }, - }, - }, - Scp: { - type: "map", - key: {}, - value: { - type: "structure", - members: { enabled: { type: "boolean" } }, - }, - }, - Scu: { - type: "structure", - members: { - findingId: {}, - taskId: {}, - checkName: {}, - taskStartTime: { type: "timestamp" }, - findingTime: { type: "timestamp" }, - severity: {}, - nonCompliantResource: { - type: "structure", - members: { - resourceType: {}, - resourceIdentifier: { shape: "Scz" }, - additionalInfo: { shape: "Sd4" }, - }, - }, - relatedResources: { - type: "list", - member: { - type: "structure", - members: { - resourceType: {}, - resourceIdentifier: { shape: "Scz" }, - additionalInfo: { shape: "Sd4" }, - }, - }, - }, - reasonForNonCompliance: {}, - reasonForNonComplianceCode: {}, - }, - }, - Scz: { - type: "structure", - members: { - deviceCertificateId: {}, - caCertificateId: {}, - cognitoIdentityPoolId: {}, - clientId: {}, - policyVersionIdentifier: { - type: "structure", - members: { policyName: {}, policyVersionId: {} }, - }, - account: {}, - iamRoleArn: {}, - roleAliasArn: {}, - }, - }, - Sd4: { type: "map", key: {}, value: {} }, - Sdj: { - type: "structure", - members: { - auditTaskId: {}, - findingIds: { type: "list", member: {} }, - auditCheckToReasonCodeFilter: { - type: "map", - key: {}, - value: { type: "list", member: {} }, - }, - }, - }, - Sdn: { type: "map", key: {}, value: { type: "list", member: {} } }, - Sed: { - type: "structure", - members: { - authorizerName: {}, - authorizerArn: {}, - authorizerFunctionArn: {}, - tokenKeyName: {}, - tokenSigningPublicKeys: { shape: "S1n" }, - status: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - signingDisabled: { type: "boolean" }, - }, - }, - Seq: { - type: "structure", - members: { - notBefore: { type: "timestamp" }, - notAfter: { type: "timestamp" }, - }, - }, - Ser: { - type: "structure", - members: { templateBody: {}, roleArn: {} }, - }, - Sfh: { - type: "map", - key: {}, - value: { - type: "structure", - members: { Enabled: { type: "boolean" } }, - }, - }, - Sgy: { type: "list", member: { shape: "Sgz" } }, - Sgz: { type: "structure", members: { groupName: {}, groupArn: {} } }, - Shb: { - type: "structure", - members: { - deprecated: { type: "boolean" }, - deprecationDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - }, - }, - Shv: { - type: "structure", - required: ["thingIndexingMode"], - members: { - thingIndexingMode: {}, - thingConnectivityIndexingMode: {}, - managedFields: { shape: "Shy" }, - customFields: { shape: "Shy" }, - }, - }, - Shy: { - type: "list", - member: { type: "structure", members: { name: {}, type: {} } }, - }, - Si2: { - type: "structure", - required: ["thingGroupIndexingMode"], - members: { - thingGroupIndexingMode: {}, - managedFields: { shape: "Shy" }, - customFields: { shape: "Shy" }, - }, - }, - Sjp: { - type: "list", - member: { - type: "structure", - members: { policyName: {}, policyArn: {} }, - }, - }, - Skm: { - type: "list", - member: { - type: "structure", - members: { - certificateArn: {}, - certificateId: {}, - status: {}, - creationDate: { type: "timestamp" }, - }, - }, - }, - Sl6: { - type: "structure", - members: { - status: {}, - queuedAt: { type: "timestamp" }, - startedAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - executionNumber: { type: "long" }, - }, - }, - Slv: { type: "list", member: {} }, - Sm5: { type: "list", member: {} }, - Smo: { - type: "structure", - required: ["name", "arn"], - members: { name: {}, arn: {} }, - }, - Smt: { type: "structure", required: ["arn"], members: { arn: {} } }, - Sof: { - type: "structure", - required: ["targetType"], - members: { targetType: {}, targetName: {} }, - }, - Sp7: { type: "list", member: {} }, - Spw: { - type: "structure", - members: { - actionType: {}, - resources: { type: "list", member: {} }, - }, - }, - Sq0: { type: "list", member: {} }, - Ss5: { type: "list", member: {} }, - }, - }; +function readShebang(command) { + // Read the first 150 bytes from the file + const size = 150; + let buffer; - /***/ - }, + if (Buffer.alloc) { + // Node.js v4.5+ / v5.10+ + buffer = Buffer.alloc(size); + } else { + // Old Node.js API + buffer = new Buffer(size); + buffer.fill(0); // zero-fill + } - /***/ 4604: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + let fd; - apiLoader.services["backup"] = {}; - AWS.Backup = Service.defineService("backup", ["2018-11-15"]); - Object.defineProperty(apiLoader.services["backup"], "2018-11-15", { - get: function get() { - var model = __webpack_require__(9601); - model.paginators = __webpack_require__(8447).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + try { + fd = fs.openSync(command, 'r'); + fs.readSync(fd, buffer, 0, size, 0); + fs.closeSync(fd); + } catch (e) { /* Empty */ } - module.exports = AWS.Backup; + // Attempt to extract shebang (null is returned if not a shebang) + return shebangCommand(buffer.toString()); +} - /***/ - }, +module.exports = readShebang; - /***/ 4608: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2018-11-14", - endpointPrefix: "mediaconnect", - signingName: "mediaconnect", - serviceFullName: "AWS MediaConnect", - serviceId: "MediaConnect", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "mediaconnect-2018-11-14", - signatureVersion: "v4", - }, - operations: { - AddFlowOutputs: { - http: { - requestUri: "/v1/flows/{flowArn}/outputs", - responseCode: 201, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - Outputs: { shape: "S3", locationName: "outputs" }, - }, - required: ["FlowArn", "Outputs"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Outputs: { shape: "Sc", locationName: "outputs" }, - }, - }, - }, - AddFlowSources: { - http: { - requestUri: "/v1/flows/{flowArn}/source", - responseCode: 201, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - Sources: { shape: "Sg", locationName: "sources" }, - }, - required: ["FlowArn", "Sources"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Sources: { shape: "Sj", locationName: "sources" }, - }, - }, - }, - AddFlowVpcInterfaces: { - http: { - requestUri: "/v1/flows/{flowArn}/vpcInterfaces", - responseCode: 201, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - VpcInterfaces: { shape: "Sm", locationName: "vpcInterfaces" }, - }, - required: ["FlowArn", "VpcInterfaces"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - VpcInterfaces: { shape: "Sp", locationName: "vpcInterfaces" }, - }, - }, - }, - CreateFlow: { - http: { requestUri: "/v1/flows", responseCode: 201 }, - input: { - type: "structure", - members: { - AvailabilityZone: { locationName: "availabilityZone" }, - Entitlements: { shape: "Ss", locationName: "entitlements" }, - Name: { locationName: "name" }, - Outputs: { shape: "S3", locationName: "outputs" }, - Source: { shape: "Sh", locationName: "source" }, - SourceFailoverConfig: { - shape: "Su", - locationName: "sourceFailoverConfig", - }, - Sources: { shape: "Sg", locationName: "sources" }, - VpcInterfaces: { shape: "Sm", locationName: "vpcInterfaces" }, - }, - required: ["Name"], - }, - output: { - type: "structure", - members: { Flow: { shape: "Sx", locationName: "flow" } }, - }, - }, - DeleteFlow: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Status: { locationName: "status" }, - }, - }, - }, - DescribeFlow: { - http: { - method: "GET", - requestUri: "/v1/flows/{flowArn}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn"], - }, - output: { - type: "structure", - members: { - Flow: { shape: "Sx", locationName: "flow" }, - Messages: { - locationName: "messages", - type: "structure", - members: { Errors: { shape: "S5", locationName: "errors" } }, - required: ["Errors"], - }, - }, - }, - }, - GrantFlowEntitlements: { - http: { - requestUri: "/v1/flows/{flowArn}/entitlements", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Entitlements: { shape: "Ss", locationName: "entitlements" }, - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn", "Entitlements"], - }, - output: { - type: "structure", - members: { - Entitlements: { shape: "Sy", locationName: "entitlements" }, - FlowArn: { locationName: "flowArn" }, - }, - }, - }, - ListEntitlements: { - http: { - method: "GET", - requestUri: "/v1/entitlements", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Entitlements: { - locationName: "entitlements", - type: "list", - member: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", - }, - EntitlementArn: { locationName: "entitlementArn" }, - EntitlementName: { locationName: "entitlementName" }, - }, - required: ["EntitlementArn", "EntitlementName"], - }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - ListFlows: { - http: { method: "GET", requestUri: "/v1/flows", responseCode: 200 }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Flows: { - locationName: "flows", - type: "list", - member: { - type: "structure", - members: { - AvailabilityZone: { locationName: "availabilityZone" }, - Description: { locationName: "description" }, - FlowArn: { locationName: "flowArn" }, - Name: { locationName: "name" }, - SourceType: { locationName: "sourceType" }, - Status: { locationName: "status" }, - }, - required: [ - "Status", - "Description", - "SourceType", - "AvailabilityZone", - "FlowArn", - "Name", - ], - }, - }, - 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: "S1k", locationName: "tags" } }, - }, - }, - RemoveFlowOutput: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}/outputs/{outputArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - OutputArn: { location: "uri", locationName: "outputArn" }, - }, - required: ["FlowArn", "OutputArn"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - OutputArn: { locationName: "outputArn" }, - }, - }, - }, - RemoveFlowSource: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}/source/{sourceArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - SourceArn: { location: "uri", locationName: "sourceArn" }, - }, - required: ["FlowArn", "SourceArn"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - SourceArn: { locationName: "sourceArn" }, - }, - }, - }, - RemoveFlowVpcInterface: { - http: { - method: "DELETE", - requestUri: - "/v1/flows/{flowArn}/vpcInterfaces/{vpcInterfaceName}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - VpcInterfaceName: { - location: "uri", - locationName: "vpcInterfaceName", - }, - }, - required: ["FlowArn", "VpcInterfaceName"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - NonDeletedNetworkInterfaceIds: { - shape: "S5", - locationName: "nonDeletedNetworkInterfaceIds", - }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, - }, - }, - }, - RevokeFlowEntitlement: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}/entitlements/{entitlementArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - EntitlementArn: { - location: "uri", - locationName: "entitlementArn", - }, - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn", "EntitlementArn"], - }, - output: { - type: "structure", - members: { - EntitlementArn: { locationName: "entitlementArn" }, - FlowArn: { locationName: "flowArn" }, - }, - }, - }, - StartFlow: { - http: { - requestUri: "/v1/flows/start/{flowArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Status: { locationName: "status" }, - }, - }, - }, - StopFlow: { - http: { requestUri: "/v1/flows/stop/{flowArn}", responseCode: 202 }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Status: { locationName: "status" }, - }, - }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}", responseCode: 204 }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "S1k", locationName: "tags" }, - }, - required: ["ResourceArn", "Tags"], - }, - }, - 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"], - }, - }, - UpdateFlow: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - SourceFailoverConfig: { - locationName: "sourceFailoverConfig", - type: "structure", - members: { - RecoveryWindow: { - locationName: "recoveryWindow", - type: "integer", - }, - State: { locationName: "state" }, - }, - }, - }, - required: ["FlowArn"], - }, - output: { - type: "structure", - members: { Flow: { shape: "Sx", locationName: "flow" } }, - }, - }, - UpdateFlowEntitlement: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}/entitlements/{entitlementArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - Description: { locationName: "description" }, - Encryption: { shape: "S23", locationName: "encryption" }, - EntitlementArn: { - location: "uri", - locationName: "entitlementArn", - }, - FlowArn: { location: "uri", locationName: "flowArn" }, - Subscribers: { shape: "S5", locationName: "subscribers" }, - }, - required: ["FlowArn", "EntitlementArn"], - }, - output: { - type: "structure", - members: { - Entitlement: { shape: "Sz", locationName: "entitlement" }, - FlowArn: { locationName: "flowArn" }, - }, - }, - }, - UpdateFlowOutput: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}/outputs/{outputArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - CidrAllowList: { shape: "S5", locationName: "cidrAllowList" }, - Description: { locationName: "description" }, - Destination: { locationName: "destination" }, - Encryption: { shape: "S23", locationName: "encryption" }, - FlowArn: { location: "uri", locationName: "flowArn" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - OutputArn: { location: "uri", locationName: "outputArn" }, - Port: { locationName: "port", type: "integer" }, - Protocol: { locationName: "protocol" }, - RemoteId: { locationName: "remoteId" }, - SmoothingLatency: { - locationName: "smoothingLatency", - type: "integer", - }, - StreamId: { locationName: "streamId" }, - }, - required: ["FlowArn", "OutputArn"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Output: { shape: "Sd", locationName: "output" }, - }, - }, - }, - UpdateFlowSource: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}/source/{sourceArn}", - responseCode: 202, - }, - input: { - type: "structure", - members: { - Decryption: { shape: "S23", locationName: "decryption" }, - Description: { locationName: "description" }, - EntitlementArn: { locationName: "entitlementArn" }, - FlowArn: { location: "uri", locationName: "flowArn" }, - IngestPort: { locationName: "ingestPort", type: "integer" }, - MaxBitrate: { locationName: "maxBitrate", type: "integer" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Protocol: { locationName: "protocol" }, - SourceArn: { location: "uri", locationName: "sourceArn" }, - StreamId: { locationName: "streamId" }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, - WhitelistCidr: { locationName: "whitelistCidr" }, - }, - required: ["FlowArn", "SourceArn"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Source: { shape: "Sk", locationName: "source" }, - }, - }, - }, - }, - shapes: { - S3: { - type: "list", - member: { - type: "structure", - members: { - CidrAllowList: { shape: "S5", locationName: "cidrAllowList" }, - Description: { locationName: "description" }, - Destination: { locationName: "destination" }, - Encryption: { shape: "S6", locationName: "encryption" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Name: { locationName: "name" }, - Port: { locationName: "port", type: "integer" }, - Protocol: { locationName: "protocol" }, - RemoteId: { locationName: "remoteId" }, - SmoothingLatency: { - locationName: "smoothingLatency", - type: "integer", - }, - StreamId: { locationName: "streamId" }, - }, - required: ["Protocol"], - }, - }, - S5: { type: "list", member: {} }, - S6: { - type: "structure", - members: { - Algorithm: { locationName: "algorithm" }, - ConstantInitializationVector: { - locationName: "constantInitializationVector", - }, - DeviceId: { locationName: "deviceId" }, - KeyType: { locationName: "keyType" }, - Region: { locationName: "region" }, - ResourceId: { locationName: "resourceId" }, - RoleArn: { locationName: "roleArn" }, - SecretArn: { locationName: "secretArn" }, - Url: { locationName: "url" }, - }, - required: ["Algorithm", "RoleArn"], - }, - Sc: { type: "list", member: { shape: "Sd" } }, - Sd: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", - }, - Description: { locationName: "description" }, - Destination: { locationName: "destination" }, - Encryption: { shape: "S6", locationName: "encryption" }, - EntitlementArn: { locationName: "entitlementArn" }, - MediaLiveInputArn: { locationName: "mediaLiveInputArn" }, - Name: { locationName: "name" }, - OutputArn: { locationName: "outputArn" }, - Port: { locationName: "port", type: "integer" }, - Transport: { shape: "Se", locationName: "transport" }, - }, - required: ["OutputArn", "Name"], - }, - Se: { - type: "structure", - members: { - CidrAllowList: { shape: "S5", locationName: "cidrAllowList" }, - MaxBitrate: { locationName: "maxBitrate", type: "integer" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Protocol: { locationName: "protocol" }, - RemoteId: { locationName: "remoteId" }, - SmoothingLatency: { - locationName: "smoothingLatency", - type: "integer", - }, - StreamId: { locationName: "streamId" }, - }, - required: ["Protocol"], - }, - Sg: { type: "list", member: { shape: "Sh" } }, - Sh: { - type: "structure", - members: { - Decryption: { shape: "S6", locationName: "decryption" }, - Description: { locationName: "description" }, - EntitlementArn: { locationName: "entitlementArn" }, - IngestPort: { locationName: "ingestPort", type: "integer" }, - MaxBitrate: { locationName: "maxBitrate", type: "integer" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Name: { locationName: "name" }, - Protocol: { locationName: "protocol" }, - StreamId: { locationName: "streamId" }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, - WhitelistCidr: { locationName: "whitelistCidr" }, - }, - }, - Sj: { type: "list", member: { shape: "Sk" } }, - Sk: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", - }, - Decryption: { shape: "S6", locationName: "decryption" }, - Description: { locationName: "description" }, - EntitlementArn: { locationName: "entitlementArn" }, - IngestIp: { locationName: "ingestIp" }, - IngestPort: { locationName: "ingestPort", type: "integer" }, - Name: { locationName: "name" }, - SourceArn: { locationName: "sourceArn" }, - Transport: { shape: "Se", locationName: "transport" }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, - WhitelistCidr: { locationName: "whitelistCidr" }, - }, - required: ["SourceArn", "Name"], - }, - Sm: { - type: "list", - member: { - type: "structure", - members: { - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - SecurityGroupIds: { - shape: "S5", - locationName: "securityGroupIds", - }, - SubnetId: { locationName: "subnetId" }, - }, - required: ["SubnetId", "SecurityGroupIds", "RoleArn", "Name"], - }, - }, - Sp: { - type: "list", - member: { - type: "structure", - members: { - Name: { locationName: "name" }, - NetworkInterfaceIds: { - shape: "S5", - locationName: "networkInterfaceIds", - }, - RoleArn: { locationName: "roleArn" }, - SecurityGroupIds: { - shape: "S5", - locationName: "securityGroupIds", - }, - SubnetId: { locationName: "subnetId" }, - }, - required: [ - "NetworkInterfaceIds", - "SubnetId", - "SecurityGroupIds", - "RoleArn", - "Name", - ], - }, - }, - Ss: { - type: "list", - member: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", - }, - Description: { locationName: "description" }, - Encryption: { shape: "S6", locationName: "encryption" }, - Name: { locationName: "name" }, - Subscribers: { shape: "S5", locationName: "subscribers" }, - }, - required: ["Subscribers"], - }, - }, - Su: { - type: "structure", - members: { - RecoveryWindow: { - locationName: "recoveryWindow", - type: "integer", - }, - State: { locationName: "state" }, - }, - }, - Sx: { - type: "structure", - members: { - AvailabilityZone: { locationName: "availabilityZone" }, - Description: { locationName: "description" }, - EgressIp: { locationName: "egressIp" }, - Entitlements: { shape: "Sy", locationName: "entitlements" }, - FlowArn: { locationName: "flowArn" }, - Name: { locationName: "name" }, - Outputs: { shape: "Sc", locationName: "outputs" }, - Source: { shape: "Sk", locationName: "source" }, - SourceFailoverConfig: { - shape: "Su", - locationName: "sourceFailoverConfig", - }, - Sources: { shape: "Sj", locationName: "sources" }, - Status: { locationName: "status" }, - VpcInterfaces: { shape: "Sp", locationName: "vpcInterfaces" }, - }, - required: [ - "Status", - "Entitlements", - "Outputs", - "AvailabilityZone", - "FlowArn", - "Source", - "Name", - ], - }, - Sy: { type: "list", member: { shape: "Sz" } }, - Sz: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", - }, - Description: { locationName: "description" }, - Encryption: { shape: "S6", locationName: "encryption" }, - EntitlementArn: { locationName: "entitlementArn" }, - Name: { locationName: "name" }, - Subscribers: { shape: "S5", locationName: "subscribers" }, - }, - required: ["EntitlementArn", "Subscribers", "Name"], - }, - S1k: { type: "map", key: {}, value: {} }, - S23: { - type: "structure", - members: { - Algorithm: { locationName: "algorithm" }, - ConstantInitializationVector: { - locationName: "constantInitializationVector", - }, - DeviceId: { locationName: "deviceId" }, - KeyType: { locationName: "keyType" }, - Region: { locationName: "region" }, - ResourceId: { locationName: "resourceId" }, - RoleArn: { locationName: "roleArn" }, - SecretArn: { locationName: "secretArn" }, - Url: { locationName: "url" }, - }, - }, - }, - }; - /***/ - }, +/***/ }), - /***/ 4612: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; +/***/ 4392: +/***/ (function(module) { - apiLoader.services["sso"] = {}; - AWS.SSO = Service.defineService("sso", ["2019-06-10"]); - Object.defineProperty(apiLoader.services["sso"], "2019-06-10", { - get: function get() { - var model = __webpack_require__(3881); - model.paginators = __webpack_require__(682).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); +module.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":{}}},"output":{"resultWrapper":"CopySnapshotResult","type":"structure","members":{"Snapshot":{"shape":"S1e"}}}},"CreateCacheCluster":{"input":{"type":"structure","required":["CacheClusterId"],"members":{"CacheClusterId":{},"ReplicationGroupId":{},"AZMode":{},"PreferredAvailabilityZone":{},"PreferredAvailabilityZones":{"shape":"S1n"},"NumCacheNodes":{"type":"integer"},"CacheNodeType":{},"Engine":{},"EngineVersion":{},"CacheParameterGroupName":{},"CacheSubnetGroupName":{},"CacheSecurityGroupNames":{"shape":"S1o"},"SecurityGroupIds":{"shape":"S1p"},"Tags":{"shape":"S3"},"SnapshotArns":{"shape":"S1q"},"SnapshotName":{},"PreferredMaintenanceWindow":{},"Port":{"type":"integer"},"NotificationTopicArn":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"SnapshotRetentionLimit":{"type":"integer"},"SnapshotWindow":{},"AuthToken":{},"OutpostMode":{},"PreferredOutpostArn":{},"PreferredOutpostArns":{"shape":"S1s"}}},"output":{"resultWrapper":"CreateCacheClusterResult","type":"structure","members":{"CacheCluster":{"shape":"S1u"}}}},"CreateCacheParameterGroup":{"input":{"type":"structure","required":["CacheParameterGroupName","CacheParameterGroupFamily","Description"],"members":{"CacheParameterGroupName":{},"CacheParameterGroupFamily":{},"Description":{}}},"output":{"resultWrapper":"CreateCacheParameterGroupResult","type":"structure","members":{"CacheParameterGroup":{"shape":"S27"}}}},"CreateCacheSecurityGroup":{"input":{"type":"structure","required":["CacheSecurityGroupName","Description"],"members":{"CacheSecurityGroupName":{},"Description":{}}},"output":{"resultWrapper":"CreateCacheSecurityGroupResult","type":"structure","members":{"CacheSecurityGroup":{"shape":"S8"}}}},"CreateCacheSubnetGroup":{"input":{"type":"structure","required":["CacheSubnetGroupName","CacheSubnetGroupDescription","SubnetIds"],"members":{"CacheSubnetGroupName":{},"CacheSubnetGroupDescription":{},"SubnetIds":{"shape":"S2b"}}},"output":{"resultWrapper":"CreateCacheSubnetGroupResult","type":"structure","members":{"CacheSubnetGroup":{"shape":"S2d"}}}},"CreateGlobalReplicationGroup":{"input":{"type":"structure","required":["GlobalReplicationGroupIdSuffix","PrimaryReplicationGroupId"],"members":{"GlobalReplicationGroupIdSuffix":{},"GlobalReplicationGroupDescription":{},"PrimaryReplicationGroupId":{}}},"output":{"resultWrapper":"CreateGlobalReplicationGroupResult","type":"structure","members":{"GlobalReplicationGroup":{"shape":"S2k"}}}},"CreateReplicationGroup":{"input":{"type":"structure","required":["ReplicationGroupId","ReplicationGroupDescription"],"members":{"ReplicationGroupId":{},"ReplicationGroupDescription":{},"GlobalReplicationGroupId":{},"PrimaryClusterId":{},"AutomaticFailoverEnabled":{"type":"boolean"},"MultiAZEnabled":{"type":"boolean"},"NumCacheClusters":{"type":"integer"},"PreferredCacheClusterAZs":{"shape":"S1j"},"NumNodeGroups":{"type":"integer"},"ReplicasPerNodeGroup":{"type":"integer"},"NodeGroupConfiguration":{"type":"list","member":{"shape":"S1h","locationName":"NodeGroupConfiguration"}},"CacheNodeType":{},"Engine":{},"EngineVersion":{},"CacheParameterGroupName":{},"CacheSubnetGroupName":{},"CacheSecurityGroupNames":{"shape":"S1o"},"SecurityGroupIds":{"shape":"S1p"},"Tags":{"shape":"S3"},"SnapshotArns":{"shape":"S1q"},"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":{}}}},"output":{"resultWrapper":"CreateReplicationGroupResult","type":"structure","members":{"ReplicationGroup":{"shape":"So"}}}},"CreateSnapshot":{"input":{"type":"structure","required":["SnapshotName"],"members":{"ReplicationGroupId":{},"CacheClusterId":{},"SnapshotName":{},"KmsKeyId":{}}},"output":{"resultWrapper":"CreateSnapshotResult","type":"structure","members":{"Snapshot":{"shape":"S1e"}}}},"CreateUser":{"input":{"type":"structure","required":["UserId","UserName","Engine","AccessString"],"members":{"UserId":{},"UserName":{},"Engine":{},"Passwords":{"shape":"S2z"},"AccessString":{},"NoPasswordRequired":{"type":"boolean"}}},"output":{"shape":"S31","resultWrapper":"CreateUserResult"}},"CreateUserGroup":{"input":{"type":"structure","required":["UserGroupId","Engine"],"members":{"UserGroupId":{},"Engine":{},"UserIds":{"shape":"S35"}}},"output":{"shape":"S36","resultWrapper":"CreateUserGroupResult"}},"DecreaseNodeGroupsInGlobalReplicationGroup":{"input":{"type":"structure","required":["GlobalReplicationGroupId","NodeGroupCount","ApplyImmediately"],"members":{"GlobalReplicationGroupId":{},"NodeGroupCount":{"type":"integer"},"GlobalNodeGroupsToRemove":{"shape":"S3b"},"GlobalNodeGroupsToRetain":{"shape":"S3b"},"ApplyImmediately":{"type":"boolean"}}},"output":{"resultWrapper":"DecreaseNodeGroupsInGlobalReplicationGroupResult","type":"structure","members":{"GlobalReplicationGroup":{"shape":"S2k"}}}},"DecreaseReplicaCount":{"input":{"type":"structure","required":["ReplicationGroupId","ApplyImmediately"],"members":{"ReplicationGroupId":{},"NewReplicaCount":{"type":"integer"},"ReplicaConfiguration":{"shape":"S3e"},"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":"S1u"}}}},"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":"S2k"}}}},"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":"S1e"}}}},"DeleteUser":{"input":{"type":"structure","required":["UserId"],"members":{"UserId":{}}},"output":{"shape":"S31","resultWrapper":"DeleteUserResult"}},"DeleteUserGroup":{"input":{"type":"structure","required":["UserGroupId"],"members":{"UserGroupId":{}}},"output":{"shape":"S36","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":"S1u","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":"S27","locationName":"CacheParameterGroup"}}}}},"DescribeCacheParameters":{"input":{"type":"structure","required":["CacheParameterGroupName"],"members":{"CacheParameterGroupName":{},"Source":{},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeCacheParametersResult","type":"structure","members":{"Marker":{},"Parameters":{"shape":"S47"},"CacheNodeTypeSpecificParameters":{"shape":"S4a"}}}},"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":"S2d","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":"S47"},"CacheNodeTypeSpecificParameters":{"shape":"S4a"}},"wrapper":true}}}},"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":"S2k","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":"S51","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":"S52"}},"wrapper":true}}}}},"DescribeServiceUpdates":{"input":{"type":"structure","members":{"ServiceUpdateName":{},"ServiceUpdateStatus":{"shape":"S59"},"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":"S1e","locationName":"Snapshot"}}}}},"DescribeUpdateActions":{"input":{"type":"structure","members":{"ServiceUpdateName":{},"ReplicationGroupIds":{"shape":"Sc"},"CacheClusterIds":{"shape":"Sd"},"Engine":{},"ServiceUpdateStatus":{"shape":"S59"},"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":"S36"}},"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":"S31"}},"Marker":{}}}},"DisassociateGlobalReplicationGroup":{"input":{"type":"structure","required":["GlobalReplicationGroupId","ReplicationGroupId","ReplicationGroupRegion"],"members":{"GlobalReplicationGroupId":{},"ReplicationGroupId":{},"ReplicationGroupRegion":{}}},"output":{"resultWrapper":"DisassociateGlobalReplicationGroupResult","type":"structure","members":{"GlobalReplicationGroup":{"shape":"S2k"}}}},"FailoverGlobalReplicationGroup":{"input":{"type":"structure","required":["GlobalReplicationGroupId","PrimaryRegion","PrimaryReplicationGroupId"],"members":{"GlobalReplicationGroupId":{},"PrimaryRegion":{},"PrimaryReplicationGroupId":{}}},"output":{"resultWrapper":"FailoverGlobalReplicationGroupResult","type":"structure","members":{"GlobalReplicationGroup":{"shape":"S2k"}}}},"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":"S6g"}}}},"ApplyImmediately":{"type":"boolean"}}},"output":{"resultWrapper":"IncreaseNodeGroupsInGlobalReplicationGroupResult","type":"structure","members":{"GlobalReplicationGroup":{"shape":"S2k"}}}},"IncreaseReplicaCount":{"input":{"type":"structure","required":["ReplicationGroupId","ApplyImmediately"],"members":{"ReplicationGroupId":{},"NewReplicaCount":{"type":"integer"},"ReplicaConfiguration":{"shape":"S3e"},"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":"S6n"},"ScaleDownModifications":{"shape":"S6n"}}}},"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":"S1w"},"AZMode":{},"NewAvailabilityZones":{"shape":"S1n"},"CacheSecurityGroupNames":{"shape":"S1o"},"SecurityGroupIds":{"shape":"S1p"},"PreferredMaintenanceWindow":{},"NotificationTopicArn":{},"CacheParameterGroupName":{},"NotificationTopicStatus":{},"ApplyImmediately":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"SnapshotRetentionLimit":{"type":"integer"},"SnapshotWindow":{},"CacheNodeType":{},"AuthToken":{},"AuthTokenUpdateStrategy":{}}},"output":{"resultWrapper":"ModifyCacheClusterResult","type":"structure","members":{"CacheCluster":{"shape":"S1u"}}}},"ModifyCacheParameterGroup":{"input":{"type":"structure","required":["CacheParameterGroupName","ParameterNameValues"],"members":{"CacheParameterGroupName":{},"ParameterNameValues":{"shape":"S6t"}}},"output":{"shape":"S6v","resultWrapper":"ModifyCacheParameterGroupResult"}},"ModifyCacheSubnetGroup":{"input":{"type":"structure","required":["CacheSubnetGroupName"],"members":{"CacheSubnetGroupName":{},"CacheSubnetGroupDescription":{},"SubnetIds":{"shape":"S2b"}}},"output":{"resultWrapper":"ModifyCacheSubnetGroupResult","type":"structure","members":{"CacheSubnetGroup":{"shape":"S2d"}}}},"ModifyGlobalReplicationGroup":{"input":{"type":"structure","required":["GlobalReplicationGroupId","ApplyImmediately"],"members":{"GlobalReplicationGroupId":{},"ApplyImmediately":{"type":"boolean"},"CacheNodeType":{},"EngineVersion":{},"GlobalReplicationGroupDescription":{},"AutomaticFailoverEnabled":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyGlobalReplicationGroupResult","type":"structure","members":{"GlobalReplicationGroup":{"shape":"S2k"}}}},"ModifyReplicationGroup":{"input":{"type":"structure","required":["ReplicationGroupId"],"members":{"ReplicationGroupId":{},"ReplicationGroupDescription":{},"PrimaryClusterId":{},"SnapshottingClusterId":{},"AutomaticFailoverEnabled":{"type":"boolean"},"MultiAZEnabled":{"type":"boolean"},"NodeGroupId":{"deprecated":true},"CacheSecurityGroupNames":{"shape":"S1o"},"SecurityGroupIds":{"shape":"S1p"},"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"}}},"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":"S6g"},"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":"S2z"},"NoPasswordRequired":{"type":"boolean"}}},"output":{"shape":"S31","resultWrapper":"ModifyUserResult"}},"ModifyUserGroup":{"input":{"type":"structure","required":["UserGroupId"],"members":{"UserGroupId":{},"UserIdsToAdd":{"shape":"S35"},"UserIdsToRemove":{"shape":"S35"}}},"output":{"shape":"S36","resultWrapper":"ModifyUserGroupResult"}},"PurchaseReservedCacheNodesOffering":{"input":{"type":"structure","required":["ReservedCacheNodesOfferingId"],"members":{"ReservedCacheNodesOfferingId":{},"ReservedCacheNodeId":{},"CacheNodeCount":{"type":"integer"}}},"output":{"resultWrapper":"PurchaseReservedCacheNodesOfferingResult","type":"structure","members":{"ReservedCacheNode":{"shape":"S51"}}}},"RebalanceSlotsInGlobalReplicationGroup":{"input":{"type":"structure","required":["GlobalReplicationGroupId","ApplyImmediately"],"members":{"GlobalReplicationGroupId":{},"ApplyImmediately":{"type":"boolean"}}},"output":{"resultWrapper":"RebalanceSlotsInGlobalReplicationGroupResult","type":"structure","members":{"GlobalReplicationGroup":{"shape":"S2k"}}}},"RebootCacheCluster":{"input":{"type":"structure","required":["CacheClusterId","CacheNodeIdsToReboot"],"members":{"CacheClusterId":{},"CacheNodeIdsToReboot":{"shape":"S1w"}}},"output":{"resultWrapper":"RebootCacheClusterResult","type":"structure","members":{"CacheCluster":{"shape":"S1u"}}}},"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":"S6t"}}},"output":{"shape":"S6v","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":true},"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"}}}}},"MemberClusters":{"type":"list","member":{"locationName":"ClusterId"}},"NodeGroups":{"type":"list","member":{"locationName":"NodeGroup","type":"structure","members":{"NodeGroupId":{},"Status":{},"PrimaryEndpoint":{"shape":"S12"},"ReaderEndpoint":{"shape":"S12"},"Slots":{},"NodeGroupMembers":{"type":"list","member":{"locationName":"NodeGroupMember","type":"structure","members":{"CacheClusterId":{},"CacheNodeId":{},"ReadEndpoint":{"shape":"S12"},"PreferredAvailabilityZone":{},"PreferredOutpostArn":{},"CurrentRole":{}}}}}}},"SnapshottingClusterId":{},"AutomaticFailover":{},"MultiAZ":{},"ConfigurationEndpoint":{"shape":"S12"},"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"}},"wrapper":true},"Sx":{"type":"list","member":{}},"S12":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"}}},"S1e":{"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":"S1h"},"CacheSize":{},"CacheNodeCreateTime":{"type":"timestamp"},"SnapshotCreateTime":{"type":"timestamp"}},"wrapper":true}},"KmsKeyId":{},"ARN":{}},"wrapper":true},"S1h":{"type":"structure","members":{"NodeGroupId":{},"Slots":{},"ReplicaCount":{"type":"integer"},"PrimaryAvailabilityZone":{},"ReplicaAvailabilityZones":{"shape":"S1j"},"PrimaryOutpostArn":{},"ReplicaOutpostArns":{"type":"list","member":{"locationName":"OutpostArn"}}}},"S1j":{"type":"list","member":{"locationName":"AvailabilityZone"}},"S1n":{"type":"list","member":{"locationName":"PreferredAvailabilityZone"}},"S1o":{"type":"list","member":{"locationName":"CacheSecurityGroupName"}},"S1p":{"type":"list","member":{"locationName":"SecurityGroupId"}},"S1q":{"type":"list","member":{"locationName":"SnapshotArn"}},"S1s":{"type":"list","member":{"locationName":"PreferredOutpostArn"}},"S1u":{"type":"structure","members":{"CacheClusterId":{},"ConfigurationEndpoint":{"shape":"S12"},"ClientDownloadLandingPage":{},"CacheNodeType":{},"Engine":{},"EngineVersion":{},"CacheClusterStatus":{},"NumCacheNodes":{"type":"integer"},"PreferredAvailabilityZone":{},"PreferredOutpostArn":{},"CacheClusterCreateTime":{"type":"timestamp"},"PreferredMaintenanceWindow":{},"PendingModifiedValues":{"type":"structure","members":{"NumCacheNodes":{"type":"integer"},"CacheNodeIdsToRemove":{"shape":"S1w"},"EngineVersion":{},"CacheNodeType":{},"AuthTokenStatus":{}}},"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":"S1w"}}},"CacheSubnetGroupName":{},"CacheNodes":{"type":"list","member":{"locationName":"CacheNode","type":"structure","members":{"CacheNodeId":{},"CacheNodeStatus":{},"CacheNodeCreateTime":{"type":"timestamp"},"Endpoint":{"shape":"S12"},"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":{}},"wrapper":true},"S1w":{"type":"list","member":{"locationName":"CacheNodeId"}},"S27":{"type":"structure","members":{"CacheParameterGroupName":{},"CacheParameterGroupFamily":{},"Description":{},"IsGlobal":{"type":"boolean"},"ARN":{}},"wrapper":true},"S2b":{"type":"list","member":{"locationName":"SubnetIdentifier"}},"S2d":{"type":"structure","members":{"CacheSubnetGroupName":{},"CacheSubnetGroupDescription":{},"VpcId":{},"Subnets":{"type":"list","member":{"locationName":"Subnet","type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"type":"structure","members":{"Name":{}},"wrapper":true},"SubnetOutpost":{"type":"structure","members":{"SubnetOutpostArn":{}}}}}},"ARN":{}},"wrapper":true},"S2k":{"type":"structure","members":{"GlobalReplicationGroupId":{},"GlobalReplicationGroupDescription":{},"Status":{},"CacheNodeType":{},"Engine":{},"EngineVersion":{},"Members":{"type":"list","member":{"locationName":"GlobalReplicationGroupMember","type":"structure","members":{"ReplicationGroupId":{},"ReplicationGroupRegion":{},"Role":{},"AutomaticFailover":{},"Status":{}},"wrapper":true}},"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":true},"S2z":{"type":"list","member":{}},"S31":{"type":"structure","members":{"UserId":{},"UserName":{},"Status":{},"Engine":{},"AccessString":{},"UserGroupIds":{"shape":"Sx"},"Authentication":{"type":"structure","members":{"Type":{},"PasswordCount":{"type":"integer"}}},"ARN":{}}},"S35":{"type":"list","member":{}},"S36":{"type":"structure","members":{"UserGroupId":{},"Status":{},"Engine":{},"UserIds":{"shape":"S37"},"PendingChanges":{"type":"structure","members":{"UserIdsToRemove":{"shape":"S37"},"UserIdsToAdd":{"shape":"S37"}}},"ReplicationGroups":{"type":"list","member":{}},"ARN":{}}},"S37":{"type":"list","member":{}},"S3b":{"type":"list","member":{"locationName":"GlobalNodeGroupId"}},"S3e":{"type":"list","member":{"locationName":"ConfigureShard","type":"structure","required":["NodeGroupId","NewReplicaCount"],"members":{"NodeGroupId":{},"NewReplicaCount":{"type":"integer"},"PreferredAvailabilityZones":{"shape":"S1n"},"PreferredOutpostArns":{"shape":"S1s"}}}},"S47":{"type":"list","member":{"locationName":"Parameter","type":"structure","members":{"ParameterName":{},"ParameterValue":{},"Description":{},"Source":{},"DataType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"MinimumEngineVersion":{},"ChangeType":{}}}},"S4a":{"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":{}}}},"S51":{"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":"S52"},"ReservationARN":{}},"wrapper":true},"S52":{"type":"list","member":{"locationName":"RecurringCharge","type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}},"wrapper":true}},"S59":{"type":"list","member":{}},"S6g":{"type":"list","member":{"locationName":"ReshardingConfiguration","type":"structure","members":{"NodeGroupId":{},"PreferredAvailabilityZones":{"shape":"S1j"}}}},"S6n":{"type":"list","member":{}},"S6t":{"type":"list","member":{"locationName":"ParameterNameValue","type":"structure","members":{"ParameterName":{},"ParameterValue":{}}}},"S6v":{"type":"structure","members":{"CacheParameterGroupName":{}}}}}; - module.exports = AWS.SSO; +/***/ }), - /***/ - }, +/***/ 4400: +/***/ (function(module, __unusedexports, __webpack_require__) { - /***/ 4618: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var populateHostPrefix = __webpack_require__(904).populateHostPrefix; +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function populateMethod(req) { - req.httpRequest.method = - req.service.api.operations[req.operation].httpMethod; - } +apiLoader.services['workspaces'] = {}; +AWS.WorkSpaces = Service.defineService('workspaces', ['2015-04-08']); +Object.defineProperty(apiLoader.services['workspaces'], '2015-04-08', { + get: function get() { + var model = __webpack_require__(5168); + model.paginators = __webpack_require__(7854).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - function generateURI(endpointPath, operationPath, input, params) { - var uri = [endpointPath, operationPath].join("/"); - uri = uri.replace(/\/+/g, "/"); - - var queryString = {}, - queryStringSet = false; - util.each(input.members, function (name, member) { - var paramValue = params[name]; - if (paramValue === null || paramValue === undefined) return; - if (member.location === "uri") { - var regex = new RegExp("\\{" + member.name + "(\\+)?\\}"); - uri = uri.replace(regex, function (_, plus) { - var fn = plus ? util.uriEscapePath : util.uriEscape; - return fn(String(paramValue)); - }); - } else if (member.location === "querystring") { - queryStringSet = true; - - if (member.type === "list") { - queryString[member.name] = paramValue.map(function (val) { - return util.uriEscape( - member.member.toWireFormat(val).toString() - ); - }); - } else if (member.type === "map") { - util.each(paramValue, function (key, value) { - if (Array.isArray(value)) { - queryString[key] = value.map(function (val) { - return util.uriEscape(String(val)); - }); - } else { - queryString[key] = util.uriEscape(String(value)); - } - }); - } else { - queryString[member.name] = util.uriEscape( - member.toWireFormat(paramValue).toString() - ); - } - } - }); +module.exports = AWS.WorkSpaces; - if (queryStringSet) { - uri += uri.indexOf("?") >= 0 ? "&" : "?"; - var parts = []; - util.arrayEach(Object.keys(queryString).sort(), function (key) { - if (!Array.isArray(queryString[key])) { - queryString[key] = [queryString[key]]; - } - for (var i = 0; i < queryString[key].length; i++) { - parts.push( - util.uriEscape(String(key)) + "=" + queryString[key][i] - ); - } - }); - uri += parts.join("&"); - } - return uri; - } +/***/ }), - function populateURI(req) { - var operation = req.service.api.operations[req.operation]; - var input = operation.input; +/***/ 4409: +/***/ (function(module) { - var uri = generateURI( - req.httpRequest.endpoint.path, - operation.httpPath, - input, - req.params - ); - req.httpRequest.path = uri; - } +module.exports = {"pagination":{"ListEventTypes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"EventTypes"},"ListNotificationRules":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NotificationRules"},"ListTargets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Targets"}}}; - function populateHeaders(req) { - var operation = req.service.api.operations[req.operation]; - util.each(operation.input.members, function (name, member) { - var value = req.params[name]; - if (value === null || value === undefined) return; +/***/ }), - if (member.location === "headers" && member.type === "map") { - util.each(value, function (key, memberValue) { - req.httpRequest.headers[member.name + key] = memberValue; - }); - } else if (member.location === "header") { - value = member.toWireFormat(value).toString(); - if (member.isJsonValue) { - value = util.base64.encode(value); - } - req.httpRequest.headers[member.name] = value; - } - }); - } +/***/ 4427: +/***/ (function(module, __unusedexports, __webpack_require__) { - function buildRequest(req) { - populateMethod(req); - populateURI(req); - populateHeaders(req); - populateHostPrefix(req); - } +"use strict"; - function extractError() {} +// Older verions of Node.js might not have `util.getSystemErrorName()`. +// In that case, fall back to a deprecated internal. +const util = __webpack_require__(1669); - function extractData(resp) { - var req = resp.request; - var data = {}; - var r = resp.httpResponse; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; +let uv; - // normalize headers names to lower-cased keys for matching - var headers = {}; - util.each(r.headers, function (k, v) { - headers[k.toLowerCase()] = v; - }); +if (typeof util.getSystemErrorName === 'function') { + module.exports = util.getSystemErrorName; +} else { + try { + uv = process.binding('uv'); - util.each(output.members, function (name, member) { - var header = (member.name || name).toLowerCase(); - if (member.location === "headers" && member.type === "map") { - data[name] = {}; - var location = member.isLocationName ? member.name : ""; - var pattern = new RegExp("^" + location + "(.+)", "i"); - util.each(r.headers, function (k, v) { - var result = k.match(pattern); - if (result !== null) { - data[name][result[1]] = v; - } - }); - } else if (member.location === "header") { - if (headers[header] !== undefined) { - var value = member.isJsonValue - ? util.base64.decode(headers[header]) - : headers[header]; - data[name] = member.toType(value); - } - } else if (member.location === "statusCode") { - data[name] = parseInt(r.statusCode, 10); - } - }); + if (typeof uv.errname !== 'function') { + throw new TypeError('uv.errname is not a function'); + } + } catch (err) { + console.error('execa/lib/errname: unable to establish process.binding(\'uv\')', err); + uv = null; + } - resp.data = data; - } + module.exports = code => errname(uv, code); +} - /** - * @api private - */ - module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData, - generateURI: generateURI, - }; +// Used for testing the fallback behavior +module.exports.__test__ = errname; - /***/ - }, +function errname(uv, code) { + if (uv) { + return uv.errname(code); + } - /***/ 4621: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; + if (!(code < 0)) { + throw new Error('err >= 0'); + } - const path = __webpack_require__(5622); - const pathKey = __webpack_require__(1039); + return `Unknown system error ${code}`; +} - module.exports = (opts) => { - opts = Object.assign( - { - cwd: process.cwd(), - path: process.env[pathKey()], - }, - opts - ); - let prev; - let pth = path.resolve(opts.cwd); - const ret = []; - while (prev !== pth) { - ret.push(path.join(pth, "node_modules/.bin")); - prev = pth; - pth = path.resolve(pth, ".."); - } +/***/ }), - // ensure the running `node` binary is used - ret.push(path.dirname(process.execPath)); +/***/ 4430: +/***/ (function(module, __unusedexports, __webpack_require__) { - return ret.concat(opts.path).join(path.delimiter); - }; +module.exports = octokitValidate; - module.exports.env = (opts) => { - opts = Object.assign( - { - env: process.env, - }, - opts - ); +const validate = __webpack_require__(1348); - const env = Object.assign({}, opts.env); - const path = pathKey({ env }); +function octokitValidate(octokit) { + octokit.hook.before("request", validate.bind(null, octokit)); +} - opts.path = env[path]; - env[path] = module.exports(opts); - return env; - }; +/***/ }), - /***/ - }, +/***/ 4431: +/***/ (function(__unusedmodule, exports, __webpack_require__) { - /***/ 4622: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-06-23", - endpointPrefix: "devicefarm", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Device Farm", - serviceId: "Device Farm", - signatureVersion: "v4", - targetPrefix: "DeviceFarm_20150623", - uid: "devicefarm-2015-06-23", - }, - operations: { - CreateDevicePool: { - input: { - type: "structure", - required: ["projectArn", "name", "rules"], - members: { - projectArn: {}, - name: {}, - description: {}, - rules: { shape: "S5" }, - maxDevices: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { devicePool: { shape: "Sc" } }, - }, - }, - CreateInstanceProfile: { - input: { - type: "structure", - required: ["name"], - members: { - name: {}, - description: {}, - packageCleanup: { type: "boolean" }, - excludeAppPackagesFromCleanup: { shape: "Sg" }, - rebootAfterUse: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { instanceProfile: { shape: "Si" } }, - }, - }, - CreateNetworkProfile: { - input: { - type: "structure", - required: ["projectArn", "name"], - members: { - projectArn: {}, - name: {}, - description: {}, - type: {}, - uplinkBandwidthBits: { type: "long" }, - downlinkBandwidthBits: { type: "long" }, - uplinkDelayMs: { type: "long" }, - downlinkDelayMs: { type: "long" }, - uplinkJitterMs: { type: "long" }, - downlinkJitterMs: { type: "long" }, - uplinkLossPercent: { type: "integer" }, - downlinkLossPercent: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { networkProfile: { shape: "So" } }, - }, - }, - CreateProject: { - input: { - type: "structure", - required: ["name"], - members: { - name: {}, - defaultJobTimeoutMinutes: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { project: { shape: "Ss" } }, - }, - }, - CreateRemoteAccessSession: { - input: { - type: "structure", - required: ["projectArn", "deviceArn"], - members: { - projectArn: {}, - deviceArn: {}, - instanceArn: {}, - sshPublicKey: {}, - remoteDebugEnabled: { type: "boolean" }, - remoteRecordEnabled: { type: "boolean" }, - remoteRecordAppArn: {}, - name: {}, - clientId: {}, - configuration: { - type: "structure", - members: { - billingMethod: {}, - vpceConfigurationArns: { shape: "Sz" }, - }, - }, - interactionMode: {}, - skipAppResign: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { remoteAccessSession: { shape: "S12" } }, - }, - }, - CreateTestGridProject: { - input: { - type: "structure", - required: ["name"], - members: { name: {}, description: {} }, - }, - output: { - type: "structure", - members: { testGridProject: { shape: "S1n" } }, - }, - }, - CreateTestGridUrl: { - input: { - type: "structure", - required: ["projectArn", "expiresInSeconds"], - members: { - projectArn: {}, - expiresInSeconds: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { url: {}, expires: { type: "timestamp" } }, - }, - }, - CreateUpload: { - input: { - type: "structure", - required: ["projectArn", "name", "type"], - members: { projectArn: {}, name: {}, type: {}, contentType: {} }, - }, - output: { - type: "structure", - members: { upload: { shape: "S1w" } }, - }, - }, - CreateVPCEConfiguration: { - input: { - type: "structure", - required: [ - "vpceConfigurationName", - "vpceServiceName", - "serviceDnsName", - ], - members: { - vpceConfigurationName: {}, - vpceServiceName: {}, - serviceDnsName: {}, - vpceConfigurationDescription: {}, - }, - }, - output: { - type: "structure", - members: { vpceConfiguration: { shape: "S27" } }, - }, - }, - DeleteDevicePool: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteInstanceProfile: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteNetworkProfile: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteProject: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteRemoteAccessSession: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteRun: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteTestGridProject: { - input: { - type: "structure", - required: ["projectArn"], - members: { projectArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteUpload: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteVPCEConfiguration: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: {} }, - }, - GetAccountSettings: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - accountSettings: { - type: "structure", - members: { - awsAccountNumber: {}, - unmeteredDevices: { shape: "S2u" }, - unmeteredRemoteAccessDevices: { shape: "S2u" }, - maxJobTimeoutMinutes: { type: "integer" }, - trialMinutes: { - type: "structure", - members: { - total: { type: "double" }, - remaining: { type: "double" }, - }, - }, - maxSlots: { - type: "map", - key: {}, - value: { type: "integer" }, - }, - defaultJobTimeoutMinutes: { type: "integer" }, - skipAppResign: { type: "boolean" }, - }, - }, - }, - }, - }, - GetDevice: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { device: { shape: "S15" } }, - }, - }, - GetDeviceInstance: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { deviceInstance: { shape: "S1c" } }, - }, - }, - GetDevicePool: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { devicePool: { shape: "Sc" } }, - }, - }, - GetDevicePoolCompatibility: { - input: { - type: "structure", - required: ["devicePoolArn"], - members: { - devicePoolArn: {}, - appArn: {}, - testType: {}, - test: { shape: "S35" }, - configuration: { shape: "S38" }, - }, - }, - output: { - type: "structure", - members: { - compatibleDevices: { shape: "S3g" }, - incompatibleDevices: { shape: "S3g" }, - }, - }, - }, - GetInstanceProfile: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { instanceProfile: { shape: "Si" } }, - }, - }, - GetJob: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { job: { shape: "S3o" } } }, - }, - GetNetworkProfile: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { networkProfile: { shape: "So" } }, - }, - }, - GetOfferingStatus: { - input: { type: "structure", members: { nextToken: {} } }, - output: { - type: "structure", - members: { - current: { shape: "S3w" }, - nextPeriod: { shape: "S3w" }, - nextToken: {}, - }, - }, - }, - GetProject: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { project: { shape: "Ss" } }, - }, - }, - GetRemoteAccessSession: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { remoteAccessSession: { shape: "S12" } }, - }, - }, - GetRun: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { run: { shape: "S4d" } } }, - }, - GetSuite: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { suite: { shape: "S4m" } } }, - }, - GetTest: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { test: { shape: "S4p" } } }, - }, - GetTestGridProject: { - input: { - type: "structure", - required: ["projectArn"], - members: { projectArn: {} }, - }, - output: { - type: "structure", - members: { testGridProject: { shape: "S1n" } }, - }, - }, - GetTestGridSession: { - input: { - type: "structure", - members: { projectArn: {}, sessionId: {}, sessionArn: {} }, - }, - output: { - type: "structure", - members: { testGridSession: { shape: "S4v" } }, - }, - }, - GetUpload: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { upload: { shape: "S1w" } }, - }, - }, - GetVPCEConfiguration: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { vpceConfiguration: { shape: "S27" } }, - }, - }, - InstallToRemoteAccessSession: { - input: { - type: "structure", - required: ["remoteAccessSessionArn", "appArn"], - members: { remoteAccessSessionArn: {}, appArn: {} }, - }, - output: { - type: "structure", - members: { appUpload: { shape: "S1w" } }, - }, - }, - ListArtifacts: { - input: { - type: "structure", - required: ["arn", "type"], - members: { arn: {}, type: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - artifacts: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - name: {}, - type: {}, - extension: {}, - url: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListDeviceInstances: { - input: { - type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, - }, - output: { - type: "structure", - members: { deviceInstances: { shape: "S1b" }, nextToken: {} }, - }, - }, - ListDevicePools: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, type: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - devicePools: { type: "list", member: { shape: "Sc" } }, - nextToken: {}, - }, - }, - }, - ListDevices: { - input: { - type: "structure", - members: { arn: {}, nextToken: {}, filters: { shape: "S4g" } }, - }, - output: { - type: "structure", - members: { - devices: { type: "list", member: { shape: "S15" } }, - nextToken: {}, - }, - }, - }, - ListInstanceProfiles: { - input: { - type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, - }, - output: { - type: "structure", - members: { - instanceProfiles: { type: "list", member: { shape: "Si" } }, - nextToken: {}, - }, - }, - }, - ListJobs: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - jobs: { type: "list", member: { shape: "S3o" } }, - nextToken: {}, - }, - }, - }, - ListNetworkProfiles: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, type: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - networkProfiles: { type: "list", member: { shape: "So" } }, - nextToken: {}, - }, - }, - }, - ListOfferingPromotions: { - input: { type: "structure", members: { nextToken: {} } }, - output: { - type: "structure", - members: { - offeringPromotions: { - type: "list", - member: { - type: "structure", - members: { id: {}, description: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListOfferingTransactions: { - input: { type: "structure", members: { nextToken: {} } }, - output: { - type: "structure", - members: { - offeringTransactions: { - type: "list", - member: { shape: "S5y" }, - }, - nextToken: {}, - }, - }, - }, - ListOfferings: { - input: { type: "structure", members: { nextToken: {} } }, - output: { - type: "structure", - members: { - offerings: { type: "list", member: { shape: "S40" } }, - nextToken: {}, - }, - }, - }, - ListProjects: { - input: { type: "structure", members: { arn: {}, nextToken: {} } }, - output: { - type: "structure", - members: { - projects: { type: "list", member: { shape: "Ss" } }, - nextToken: {}, - }, - }, - }, - ListRemoteAccessSessions: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - remoteAccessSessions: { - type: "list", - member: { shape: "S12" }, - }, - nextToken: {}, - }, - }, - }, - ListRuns: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - runs: { type: "list", member: { shape: "S4d" } }, - nextToken: {}, - }, - }, - }, - ListSamples: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - samples: { - type: "list", - member: { - type: "structure", - members: { arn: {}, type: {}, url: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListSuites: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - suites: { type: "list", member: { shape: "S4m" } }, - nextToken: {}, - }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceARN"], - members: { ResourceARN: {} }, - }, - output: { type: "structure", members: { Tags: { shape: "S6m" } } }, - }, - ListTestGridProjects: { - input: { - type: "structure", - members: { maxResult: { type: "integer" }, nextToken: {} }, - }, - output: { - type: "structure", - members: { - testGridProjects: { type: "list", member: { shape: "S1n" } }, - nextToken: {}, - }, - }, - }, - ListTestGridSessionActions: { - input: { - type: "structure", - required: ["sessionArn"], - members: { - sessionArn: {}, - maxResult: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - actions: { - type: "list", - member: { - type: "structure", - members: { - action: {}, - started: { type: "timestamp" }, - duration: { type: "long" }, - statusCode: {}, - requestMethod: {}, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListTestGridSessionArtifacts: { - input: { - type: "structure", - required: ["sessionArn"], - members: { - sessionArn: {}, - type: {}, - maxResult: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - artifacts: { - type: "list", - member: { - type: "structure", - members: { filename: {}, type: {}, url: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListTestGridSessions: { - input: { - type: "structure", - required: ["projectArn"], - members: { - projectArn: {}, - status: {}, - creationTimeAfter: { type: "timestamp" }, - creationTimeBefore: { type: "timestamp" }, - endTimeAfter: { type: "timestamp" }, - endTimeBefore: { type: "timestamp" }, - maxResult: { type: "integer" }, - nextToken: {}, - }, - }, - output: { - type: "structure", - members: { - testGridSessions: { type: "list", member: { shape: "S4v" } }, - nextToken: {}, - }, - }, - }, - ListTests: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - tests: { type: "list", member: { shape: "S4p" } }, - nextToken: {}, - }, - }, - }, - ListUniqueProblems: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - uniqueProblems: { - type: "map", - key: {}, - value: { - type: "list", - member: { - type: "structure", - members: { - message: {}, - problems: { - type: "list", - member: { - type: "structure", - members: { - run: { shape: "S7h" }, - job: { shape: "S7h" }, - suite: { shape: "S7h" }, - test: { shape: "S7h" }, - device: { shape: "S15" }, - result: {}, - message: {}, - }, - }, - }, - }, - }, - }, - }, - nextToken: {}, - }, - }, - }, - ListUploads: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, type: {}, nextToken: {} }, - }, - output: { - type: "structure", - members: { - uploads: { type: "list", member: { shape: "S1w" } }, - nextToken: {}, - }, - }, - }, - ListVPCEConfigurations: { - input: { - type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, - }, - output: { - type: "structure", - members: { - vpceConfigurations: { type: "list", member: { shape: "S27" } }, - nextToken: {}, - }, - }, - }, - PurchaseOffering: { - input: { - type: "structure", - members: { - offeringId: {}, - quantity: { type: "integer" }, - offeringPromotionId: {}, - }, - }, - output: { - type: "structure", - members: { offeringTransaction: { shape: "S5y" } }, - }, - }, - RenewOffering: { - input: { - type: "structure", - members: { offeringId: {}, quantity: { type: "integer" } }, - }, - output: { - type: "structure", - members: { offeringTransaction: { shape: "S5y" } }, - }, - }, - ScheduleRun: { - input: { - type: "structure", - required: ["projectArn", "test"], - members: { - projectArn: {}, - appArn: {}, - devicePoolArn: {}, - deviceSelectionConfiguration: { - type: "structure", - required: ["filters", "maxDevices"], - members: { - filters: { shape: "S4g" }, - maxDevices: { type: "integer" }, - }, - }, - name: {}, - test: { shape: "S35" }, - configuration: { shape: "S38" }, - executionConfiguration: { - type: "structure", - members: { - jobTimeoutMinutes: { type: "integer" }, - accountsCleanup: { type: "boolean" }, - appPackagesCleanup: { type: "boolean" }, - videoCapture: { type: "boolean" }, - skipAppResign: { type: "boolean" }, - }, - }, - }, - }, - output: { type: "structure", members: { run: { shape: "S4d" } } }, - }, - StopJob: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { job: { shape: "S3o" } } }, - }, - StopRemoteAccessSession: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { remoteAccessSession: { shape: "S12" } }, - }, - }, - StopRun: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { run: { shape: "S4d" } } }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S6m" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceARN", "TagKeys"], - members: { - ResourceARN: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateDeviceInstance: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, profileArn: {}, labels: { shape: "S1d" } }, - }, - output: { - type: "structure", - members: { deviceInstance: { shape: "S1c" } }, - }, - }, - UpdateDevicePool: { - input: { - type: "structure", - required: ["arn"], - members: { - arn: {}, - name: {}, - description: {}, - rules: { shape: "S5" }, - maxDevices: { type: "integer" }, - clearMaxDevices: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { devicePool: { shape: "Sc" } }, - }, - }, - UpdateInstanceProfile: { - input: { - type: "structure", - required: ["arn"], - members: { - arn: {}, - name: {}, - description: {}, - packageCleanup: { type: "boolean" }, - excludeAppPackagesFromCleanup: { shape: "Sg" }, - rebootAfterUse: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { instanceProfile: { shape: "Si" } }, - }, - }, - UpdateNetworkProfile: { - input: { - type: "structure", - required: ["arn"], - members: { - arn: {}, - name: {}, - description: {}, - type: {}, - uplinkBandwidthBits: { type: "long" }, - downlinkBandwidthBits: { type: "long" }, - uplinkDelayMs: { type: "long" }, - downlinkDelayMs: { type: "long" }, - uplinkJitterMs: { type: "long" }, - downlinkJitterMs: { type: "long" }, - uplinkLossPercent: { type: "integer" }, - downlinkLossPercent: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { networkProfile: { shape: "So" } }, - }, - }, - UpdateProject: { - input: { - type: "structure", - required: ["arn"], - members: { - arn: {}, - name: {}, - defaultJobTimeoutMinutes: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { project: { shape: "Ss" } }, - }, - }, - UpdateTestGridProject: { - input: { - type: "structure", - required: ["projectArn"], - members: { projectArn: {}, name: {}, description: {} }, - }, - output: { - type: "structure", - members: { testGridProject: { shape: "S1n" } }, - }, - }, - UpdateUpload: { - input: { - type: "structure", - required: ["arn"], - members: { - arn: {}, - name: {}, - contentType: {}, - editContent: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { upload: { shape: "S1w" } }, - }, - }, - UpdateVPCEConfiguration: { - input: { - type: "structure", - required: ["arn"], - members: { - arn: {}, - vpceConfigurationName: {}, - vpceServiceName: {}, - serviceDnsName: {}, - vpceConfigurationDescription: {}, - }, - }, - output: { - type: "structure", - members: { vpceConfiguration: { shape: "S27" } }, - }, - }, - }, - shapes: { - S5: { - type: "list", - member: { - type: "structure", - members: { attribute: {}, operator: {}, value: {} }, - }, - }, - Sc: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - type: {}, - rules: { shape: "S5" }, - maxDevices: { type: "integer" }, - }, - }, - Sg: { type: "list", member: {} }, - Si: { - type: "structure", - members: { - arn: {}, - packageCleanup: { type: "boolean" }, - excludeAppPackagesFromCleanup: { shape: "Sg" }, - rebootAfterUse: { type: "boolean" }, - name: {}, - description: {}, - }, - }, - So: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - type: {}, - uplinkBandwidthBits: { type: "long" }, - downlinkBandwidthBits: { type: "long" }, - uplinkDelayMs: { type: "long" }, - downlinkDelayMs: { type: "long" }, - uplinkJitterMs: { type: "long" }, - downlinkJitterMs: { type: "long" }, - uplinkLossPercent: { type: "integer" }, - downlinkLossPercent: { type: "integer" }, - }, - }, - Ss: { - type: "structure", - members: { - arn: {}, - name: {}, - defaultJobTimeoutMinutes: { type: "integer" }, - created: { type: "timestamp" }, - }, - }, - Sz: { type: "list", member: {} }, - S12: { - type: "structure", - members: { - arn: {}, - name: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - message: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - device: { shape: "S15" }, - instanceArn: {}, - remoteDebugEnabled: { type: "boolean" }, - remoteRecordEnabled: { type: "boolean" }, - remoteRecordAppArn: {}, - hostAddress: {}, - clientId: {}, - billingMethod: {}, - deviceMinutes: { shape: "S1h" }, - endpoint: {}, - deviceUdid: {}, - interactionMode: {}, - skipAppResign: { type: "boolean" }, - }, - }, - S15: { - type: "structure", - members: { - arn: {}, - name: {}, - manufacturer: {}, - model: {}, - modelId: {}, - formFactor: {}, - platform: {}, - os: {}, - cpu: { - type: "structure", - members: { - frequency: {}, - architecture: {}, - clock: { type: "double" }, - }, - }, - resolution: { - type: "structure", - members: { - width: { type: "integer" }, - height: { type: "integer" }, - }, - }, - heapSize: { type: "long" }, - memory: { type: "long" }, - image: {}, - carrier: {}, - radio: {}, - remoteAccessEnabled: { type: "boolean" }, - remoteDebugEnabled: { type: "boolean" }, - fleetType: {}, - fleetName: {}, - instances: { shape: "S1b" }, - availability: {}, - }, - }, - S1b: { type: "list", member: { shape: "S1c" } }, - S1c: { - type: "structure", - members: { - arn: {}, - deviceArn: {}, - labels: { shape: "S1d" }, - status: {}, - udid: {}, - instanceProfile: { shape: "Si" }, - }, - }, - S1d: { type: "list", member: {} }, - S1h: { - type: "structure", - members: { - total: { type: "double" }, - metered: { type: "double" }, - unmetered: { type: "double" }, - }, - }, - S1n: { - type: "structure", - members: { - arn: {}, - name: {}, - description: {}, - created: { type: "timestamp" }, - }, - }, - S1w: { - type: "structure", - members: { - arn: {}, - name: {}, - created: { type: "timestamp" }, - type: {}, - status: {}, - url: {}, - metadata: {}, - contentType: {}, - message: {}, - category: {}, - }, - }, - S27: { - type: "structure", - members: { - arn: {}, - vpceConfigurationName: {}, - vpceServiceName: {}, - serviceDnsName: {}, - vpceConfigurationDescription: {}, - }, - }, - S2u: { type: "map", key: {}, value: { type: "integer" } }, - S35: { - type: "structure", - required: ["type"], - members: { - type: {}, - testPackageArn: {}, - testSpecArn: {}, - filter: {}, - parameters: { type: "map", key: {}, value: {} }, - }, - }, - S38: { - type: "structure", - members: { - extraDataPackageArn: {}, - networkProfileArn: {}, - locale: {}, - location: { shape: "S39" }, - vpceConfigurationArns: { shape: "Sz" }, - customerArtifactPaths: { shape: "S3a" }, - radios: { shape: "S3e" }, - auxiliaryApps: { shape: "Sz" }, - billingMethod: {}, - }, - }, - S39: { - type: "structure", - required: ["latitude", "longitude"], - members: { - latitude: { type: "double" }, - longitude: { type: "double" }, - }, - }, - S3a: { - type: "structure", - members: { - iosPaths: { type: "list", member: {} }, - androidPaths: { type: "list", member: {} }, - deviceHostPaths: { type: "list", member: {} }, - }, - }, - S3e: { - type: "structure", - members: { - wifi: { type: "boolean" }, - bluetooth: { type: "boolean" }, - nfc: { type: "boolean" }, - gps: { type: "boolean" }, - }, - }, - S3g: { - type: "list", - member: { - type: "structure", - members: { - device: { shape: "S15" }, - compatible: { type: "boolean" }, - incompatibilityMessages: { - type: "list", - member: { - type: "structure", - members: { message: {}, type: {} }, - }, - }, - }, - }, - }, - S3o: { - type: "structure", - members: { - arn: {}, - name: {}, - type: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - device: { shape: "S15" }, - instanceArn: {}, - deviceMinutes: { shape: "S1h" }, - videoEndpoint: {}, - videoCapture: { type: "boolean" }, - }, - }, - S3p: { - type: "structure", - members: { - total: { type: "integer" }, - passed: { type: "integer" }, - failed: { type: "integer" }, - warned: { type: "integer" }, - errored: { type: "integer" }, - stopped: { type: "integer" }, - skipped: { type: "integer" }, - }, - }, - S3w: { type: "map", key: {}, value: { shape: "S3y" } }, - S3y: { - type: "structure", - members: { - type: {}, - offering: { shape: "S40" }, - quantity: { type: "integer" }, - effectiveOn: { type: "timestamp" }, - }, - }, - S40: { - type: "structure", - members: { - id: {}, - description: {}, - type: {}, - platform: {}, - recurringCharges: { - type: "list", - member: { - type: "structure", - members: { cost: { shape: "S44" }, frequency: {} }, - }, - }, - }, - }, - S44: { - type: "structure", - members: { amount: { type: "double" }, currencyCode: {} }, - }, - S4d: { - type: "structure", - members: { - arn: {}, - name: {}, - type: {}, - platform: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - totalJobs: { type: "integer" }, - completedJobs: { type: "integer" }, - billingMethod: {}, - deviceMinutes: { shape: "S1h" }, - networkProfile: { shape: "So" }, - parsingResultUrl: {}, - resultCode: {}, - seed: { type: "integer" }, - appUpload: {}, - eventCount: { type: "integer" }, - jobTimeoutMinutes: { type: "integer" }, - devicePoolArn: {}, - locale: {}, - radios: { shape: "S3e" }, - location: { shape: "S39" }, - customerArtifactPaths: { shape: "S3a" }, - webUrl: {}, - skipAppResign: { type: "boolean" }, - testSpecArn: {}, - deviceSelectionResult: { - type: "structure", - members: { - filters: { shape: "S4g" }, - matchedDevicesCount: { type: "integer" }, - maxDevices: { type: "integer" }, - }, - }, - }, - }, - S4g: { - type: "list", - member: { - type: "structure", - members: { - attribute: {}, - operator: {}, - values: { type: "list", member: {} }, - }, - }, - }, - S4m: { - type: "structure", - members: { - arn: {}, - name: {}, - type: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - deviceMinutes: { shape: "S1h" }, - }, - }, - S4p: { - type: "structure", - members: { - arn: {}, - name: {}, - type: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - deviceMinutes: { shape: "S1h" }, - }, - }, - S4v: { - type: "structure", - members: { - arn: {}, - status: {}, - created: { type: "timestamp" }, - ended: { type: "timestamp" }, - billingMinutes: { type: "double" }, - seleniumProperties: {}, - }, - }, - S5y: { - type: "structure", - members: { - offeringStatus: { shape: "S3y" }, - transactionId: {}, - offeringPromotionId: {}, - createdOn: { type: "timestamp" }, - cost: { shape: "S44" }, - }, - }, - S6m: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S7h: { type: "structure", members: { arn: {}, name: {} } }, - }, - }; +"use strict"; - /***/ - }, +var __importStar = (this && this.__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; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const os = __importStar(__webpack_require__(2087)); +const utils_1 = __webpack_require__(5082); +/** + * Commands + * + * Command Format: + * ::name key=value,key=value::message + * + * Examples: + * ::warning::This is the message + * ::set-env name=MY_VAR::some value + */ +function issueCommand(command, properties, message) { + const cmd = new Command(command, properties, message); + process.stdout.write(cmd.toString() + os.EOL); +} +exports.issueCommand = issueCommand; +function issue(name, message = '') { + issueCommand(name, {}, message); +} +exports.issue = issue; +const CMD_STRING = '::'; +class Command { + constructor(command, properties, message) { + if (!command) { + command = 'missing.command'; + } + this.command = command; + this.properties = properties; + this.message = message; + } + toString() { + let cmdStr = CMD_STRING + this.command; + if (this.properties && Object.keys(this.properties).length > 0) { + cmdStr += ' '; + let first = true; + for (const key in this.properties) { + if (this.properties.hasOwnProperty(key)) { + const val = this.properties[key]; + if (val) { + if (first) { + first = false; + } + else { + cmdStr += ','; + } + cmdStr += `${key}=${escapeProperty(val)}`; + } + } + } + } + cmdStr += `${CMD_STRING}${escapeData(this.message)}`; + return cmdStr; + } +} +function escapeData(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A'); +} +function escapeProperty(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A') + .replace(/:/g, '%3A') + .replace(/,/g, '%2C'); +} +//# sourceMappingURL=command.js.map + +/***/ }), + +/***/ 4433: +/***/ (function(module) { + +module.exports = {"pagination":{"ListGroups":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListUsers":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; + +/***/ }), + +/***/ 4437: +/***/ (function(module) { + +module.exports = {"pagination":{"ListMeshes":{"input_token":"nextToken","limit_key":"limit","output_token":"nextToken","result_key":"meshes"},"ListRoutes":{"input_token":"nextToken","limit_key":"limit","output_token":"nextToken","result_key":"routes"},"ListVirtualNodes":{"input_token":"nextToken","limit_key":"limit","output_token":"nextToken","result_key":"virtualNodes"},"ListVirtualRouters":{"input_token":"nextToken","limit_key":"limit","output_token":"nextToken","result_key":"virtualRouters"}}}; + +/***/ }), + +/***/ 4444: +/***/ (function(module) { + +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":{}}},"CreateChannel":{"http":{"requestUri":"/prod/channels","responseCode":201},"input":{"type":"structure","members":{"CdiInputSpecification":{"shape":"S1x","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S20","locationName":"destinations"},"EncoderSettings":{"shape":"S28","locationName":"encoderSettings"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Reserved":{"locationName":"reserved","deprecated":true},"RoleArn":{"locationName":"roleArn"},"Tags":{"shape":"Sdb","locationName":"tags"}}},"output":{"type":"structure","members":{"Channel":{"shape":"Sdd","locationName":"channel"}}}},"CreateInput":{"http":{"requestUri":"/prod/inputs","responseCode":201},"input":{"type":"structure","members":{"Destinations":{"shape":"Sdk","locationName":"destinations"},"InputDevices":{"shape":"Sdm","locationName":"inputDevices"},"InputSecurityGroups":{"shape":"S5","locationName":"inputSecurityGroups"},"MediaConnectFlows":{"shape":"Sdo","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"RoleArn":{"locationName":"roleArn"},"Sources":{"shape":"Sdq","locationName":"sources"},"Tags":{"shape":"Sdb","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":"Sdv","locationName":"input"}}}},"CreateInputSecurityGroup":{"http":{"requestUri":"/prod/inputSecurityGroups","responseCode":200},"input":{"type":"structure","members":{"Tags":{"shape":"Sdb","locationName":"tags"},"WhitelistRules":{"shape":"Se7","locationName":"whitelistRules"}}},"output":{"type":"structure","members":{"SecurityGroup":{"shape":"Sea","locationName":"securityGroup"}}}},"CreateMultiplex":{"http":{"requestUri":"/prod/multiplexes","responseCode":201},"input":{"type":"structure","members":{"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"MultiplexSettings":{"shape":"Sef","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Tags":{"shape":"Sdb","locationName":"tags"}},"required":["RequestId","MultiplexSettings","AvailabilityZones","Name"]},"output":{"type":"structure","members":{"Multiplex":{"shape":"Sek","locationName":"multiplex"}}}},"CreateMultiplexProgram":{"http":{"requestUri":"/prod/multiplexes/{multiplexId}/programs","responseCode":201},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexProgramSettings":{"shape":"Seq","locationName":"multiplexProgramSettings"},"ProgramName":{"locationName":"programName"},"RequestId":{"locationName":"requestId","idempotencyToken":true}},"required":["MultiplexId","RequestId","MultiplexProgramSettings","ProgramName"]},"output":{"type":"structure","members":{"MultiplexProgram":{"shape":"Sez","locationName":"multiplexProgram"}}}},"CreateTags":{"http":{"requestUri":"/prod/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"shape":"Sdb","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":"S1x","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S20","locationName":"destinations"},"EgressEndpoints":{"shape":"Sde","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S28","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Sdg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}}},"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":"Sel","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sef","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","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":"Seq","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sf0","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sf2","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":"Sfj","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","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":"S1x","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S20","locationName":"destinations"},"EgressEndpoints":{"shape":"Sde","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S28","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Sdg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}}},"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":"Sdw","locationName":"destinations"},"Id":{"locationName":"id"},"InputClass":{"locationName":"inputClass"},"InputDevices":{"shape":"Sdm","locationName":"inputDevices"},"InputSourceType":{"locationName":"inputSourceType"},"MediaConnectFlows":{"shape":"Se1","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"SecurityGroups":{"shape":"S5","locationName":"securityGroups"},"Sources":{"shape":"Se3","locationName":"sources"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","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":"Sg4","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Sg9","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Sgc","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":"Sdb","locationName":"tags"},"WhitelistRules":{"shape":"Sec","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":"Sel","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sef","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","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":"Seq","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sf0","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sf2","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":"Sfj","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":"Sfj","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","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":"S1x","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S20","locationName":"destinations"},"EgressEndpoints":{"shape":"Sde","locationName":"egressEndpoints"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}}},"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":"Sg4","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Sg9","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Sgc","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":"Sea"}},"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":"Sdv"}},"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":"Sdb","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":"Sfj","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":"Shw"}}}}},"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":"Sdb","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":"Sdb","locationName":"tags"}},"required":["OfferingId","Count"]},"output":{"type":"structure","members":{"Reservation":{"shape":"Shw","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":"S1x","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S20","locationName":"destinations"},"EgressEndpoints":{"shape":"Sde","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S28","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Sdg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}}},"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":"Sel","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sef","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","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":"S1x","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S20","locationName":"destinations"},"EgressEndpoints":{"shape":"Sde","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S28","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Sdg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}}},"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":"Sel","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sef","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}}},"TransferInputDevice":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/transfer","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"TargetCustomerId":{"locationName":"targetCustomerId"},"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":"S1x","locationName":"cdiInputSpecification"},"ChannelId":{"location":"uri","locationName":"channelId"},"Destinations":{"shape":"S20","locationName":"destinations"},"EncoderSettings":{"shape":"S28","locationName":"encoderSettings"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Channel":{"shape":"Sdd","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":"S20","locationName":"destinations"}},"required":["ChannelId","ChannelClass"]},"output":{"type":"structure","members":{"Channel":{"shape":"Sdd","locationName":"channel"}}}},"UpdateInput":{"http":{"method":"PUT","requestUri":"/prod/inputs/{inputId}","responseCode":200},"input":{"type":"structure","members":{"Destinations":{"shape":"Sdk","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":"Sdo","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"Sources":{"shape":"Sdq","locationName":"sources"}},"required":["InputId"]},"output":{"type":"structure","members":{"Input":{"shape":"Sdv","locationName":"input"}}}},"UpdateInputDevice":{"http":{"method":"PUT","requestUri":"/prod/inputDevices/{inputDeviceId}","responseCode":200},"input":{"type":"structure","members":{"HdDeviceSettings":{"shape":"Sim","locationName":"hdDeviceSettings"},"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"Name":{"locationName":"name"},"UhdDeviceSettings":{"shape":"Sim","locationName":"uhdDeviceSettings"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"ConnectionState":{"locationName":"connectionState"},"DeviceSettingsSyncState":{"locationName":"deviceSettingsSyncState"},"DeviceUpdateStatus":{"locationName":"deviceUpdateStatus"},"HdDeviceSettings":{"shape":"Sg4","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Sg9","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Sgc","locationName":"uhdDeviceSettings"}}}},"UpdateInputSecurityGroup":{"http":{"method":"PUT","requestUri":"/prod/inputSecurityGroups/{inputSecurityGroupId}","responseCode":200},"input":{"type":"structure","members":{"InputSecurityGroupId":{"location":"uri","locationName":"inputSecurityGroupId"},"Tags":{"shape":"Sdb","locationName":"tags"},"WhitelistRules":{"shape":"Se7","locationName":"whitelistRules"}},"required":["InputSecurityGroupId"]},"output":{"type":"structure","members":{"SecurityGroup":{"shape":"Sea","locationName":"securityGroup"}}}},"UpdateMultiplex":{"http":{"method":"PUT","requestUri":"/prod/multiplexes/{multiplexId}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexSettings":{"shape":"Sef","locationName":"multiplexSettings"},"Name":{"locationName":"name"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Multiplex":{"shape":"Sek","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":"Seq","locationName":"multiplexProgramSettings"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["MultiplexId","ProgramName"]},"output":{"type":"structure","members":{"MultiplexProgram":{"shape":"Sez","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":"Shw","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"]},"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":"S1h","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"]},"S1h":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Uri":{"locationName":"uri"},"Username":{"locationName":"username"}},"required":["Uri"]},"S1x":{"type":"structure","members":{"Resolution":{"locationName":"resolution"}}},"S20":{"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"}}}}}}},"S28":{"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"},"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":"S1h","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":"S1h","locationName":"blackoutSlateImage"},"NetworkEndBlackout":{"locationName":"networkEndBlackout"},"NetworkEndBlackoutImage":{"shape":"S1h","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":"S1h","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":"S1h","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":{"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":{}}}},"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":"S1h","locationName":"inputLossImageSlate"},"InputLossImageType":{"locationName":"inputLossImageType"},"RepeatFrameMsec":{"locationName":"repeatFrameMsec","type":"integer"}}},"OutputLockingMode":{"locationName":"outputLockingMode"},"OutputTimingSource":{"locationName":"outputTimingSource"},"SupportLowFramerateInputs":{"locationName":"supportLowFramerateInputs"}}},"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":{"Destination":{"shape":"S5p","locationName":"destination"},"RolloverInterval":{"locationName":"rolloverInterval","type":"integer"}},"required":["Destination"]},"FrameCaptureGroupSettings":{"locationName":"frameCaptureGroupSettings","type":"structure","members":{"Destination":{"shape":"S5p","locationName":"destination"}},"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":"S5p","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"}}},"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":"S1h","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":"S5p","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":"S5p","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":"S7s","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":"S1h","locationName":"audioOnlyImage"},"AudioTrackType":{"locationName":"audioTrackType"},"SegmentType":{"locationName":"segmentType"}}},"Fmp4HlsSettings":{"locationName":"fmp4HlsSettings","type":"structure","members":{"AudioRenditionSets":{"locationName":"audioRenditionSets"},"NielsenId3Behavior":{"locationName":"nielsenId3Behavior"},"TimedMetadataBehavior":{"locationName":"timedMetadataBehavior"}}},"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":"S5p","locationName":"destination"}},"required":["Destination"]},"RtmpOutputSettings":{"locationName":"rtmpOutputSettings","type":"structure","members":{"CertificateMode":{"locationName":"certificateMode"},"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"Destination":{"shape":"S5p","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":"S7s","locationName":"m2tsSettings"}}},"Destination":{"shape":"S5p","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"}},"required":["CaptureInterval"]},"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":"S9y","locationName":"colorSpacePassthroughSettings"},"Rec601Settings":{"shape":"S9z","locationName":"rec601Settings"},"Rec709Settings":{"shape":"Sa0","locationName":"rec709Settings"}}},"EntropyEncoding":{"locationName":"entropyEncoding"},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sa3","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":"S9y","locationName":"colorSpacePassthroughSettings"},"Hdr10Settings":{"locationName":"hdr10Settings","type":"structure","members":{"MaxCll":{"locationName":"maxCll","type":"integer"},"MaxFall":{"locationName":"maxFall","type":"integer"}}},"Rec601Settings":{"shape":"S9z","locationName":"rec601Settings"},"Rec709Settings":{"shape":"Sa0","locationName":"rec709Settings"}}},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sa3","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":"Sa3","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"]},"S5p":{"type":"structure","members":{"DestinationRefId":{"locationName":"destinationRefId"}}},"S7s":{"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"}}},"S9y":{"type":"structure","members":{}},"S9z":{"type":"structure","members":{}},"Sa0":{"type":"structure","members":{}},"Sa3":{"type":"structure","members":{"PostFilterSharpening":{"locationName":"postFilterSharpening"},"Strength":{"locationName":"strength"}}},"Sbr":{"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":{"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":{"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":{"Pid":{"locationName":"pid","type":"integer"}}},"TeletextSourceSettings":{"locationName":"teletextSourceSettings","type":"structure","members":{"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"}}},"ServerValidation":{"locationName":"serverValidation"}}},"Smpte2038DataPreference":{"locationName":"smpte2038DataPreference"},"SourceEndBehavior":{"locationName":"sourceEndBehavior"},"VideoSelector":{"locationName":"videoSelector","type":"structure","members":{"ColorSpace":{"locationName":"colorSpace"},"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"}}}}}}}}}}}},"Sd6":{"type":"structure","members":{"Codec":{"locationName":"codec"},"MaximumBitrate":{"locationName":"maximumBitrate"},"Resolution":{"locationName":"resolution"}}},"Sdb":{"type":"map","key":{},"value":{}},"Sdd":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S1x","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S20","locationName":"destinations"},"EgressEndpoints":{"shape":"Sde","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S28","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sbr","locationName":"inputAttachments"},"InputSpecification":{"shape":"Sd6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Sdg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}},"Sde":{"type":"list","member":{"type":"structure","members":{"SourceIp":{"locationName":"sourceIp"}}}},"Sdg":{"type":"list","member":{"type":"structure","members":{"ActiveInputAttachmentName":{"locationName":"activeInputAttachmentName"},"ActiveInputSwitchActionName":{"locationName":"activeInputSwitchActionName"},"PipelineId":{"locationName":"pipelineId"}}}},"Sdk":{"type":"list","member":{"type":"structure","members":{"StreamName":{"locationName":"streamName"}}}},"Sdm":{"type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"}}}},"Sdo":{"type":"list","member":{"type":"structure","members":{"FlowArn":{"locationName":"flowArn"}}}},"Sdq":{"type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}},"Sdv":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AttachedChannels":{"shape":"S5","locationName":"attachedChannels"},"Destinations":{"shape":"Sdw","locationName":"destinations"},"Id":{"locationName":"id"},"InputClass":{"locationName":"inputClass"},"InputDevices":{"shape":"Sdm","locationName":"inputDevices"},"InputSourceType":{"locationName":"inputSourceType"},"MediaConnectFlows":{"shape":"Se1","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"SecurityGroups":{"shape":"S5","locationName":"securityGroups"},"Sources":{"shape":"Se3","locationName":"sources"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"},"Type":{"locationName":"type"}}},"Sdw":{"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"}}}}}},"Se1":{"type":"list","member":{"type":"structure","members":{"FlowArn":{"locationName":"flowArn"}}}},"Se3":{"type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}},"Se7":{"type":"list","member":{"type":"structure","members":{"Cidr":{"locationName":"cidr"}}}},"Sea":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"},"Inputs":{"shape":"S5","locationName":"inputs"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"},"WhitelistRules":{"shape":"Sec","locationName":"whitelistRules"}}},"Sec":{"type":"list","member":{"type":"structure","members":{"Cidr":{"locationName":"cidr"}}}},"Sef":{"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"]},"Sek":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sel","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sef","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"}}},"Sel":{"type":"list","member":{"type":"structure","members":{"MediaConnectSettings":{"locationName":"mediaConnectSettings","type":"structure","members":{"EntitlementArn":{"locationName":"entitlementArn"}}}}}},"Seq":{"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"]},"Sez":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"MultiplexProgramSettings":{"shape":"Seq","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sf0","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sf2","locationName":"pipelineDetails"},"ProgramName":{"locationName":"programName"}}},"Sf0":{"type":"structure","members":{"AudioPids":{"shape":"Sf1","locationName":"audioPids"},"DvbSubPids":{"shape":"Sf1","locationName":"dvbSubPids"},"DvbTeletextPid":{"locationName":"dvbTeletextPid","type":"integer"},"EtvPlatformPid":{"locationName":"etvPlatformPid","type":"integer"},"EtvSignalPid":{"locationName":"etvSignalPid","type":"integer"},"KlvDataPids":{"shape":"Sf1","locationName":"klvDataPids"},"PcrPid":{"locationName":"pcrPid","type":"integer"},"PmtPid":{"locationName":"pmtPid","type":"integer"},"PrivateMetadataPid":{"locationName":"privateMetadataPid","type":"integer"},"Scte27Pids":{"shape":"Sf1","locationName":"scte27Pids"},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"TimedMetadataPid":{"locationName":"timedMetadataPid","type":"integer"},"VideoPid":{"locationName":"videoPid","type":"integer"}}},"Sf1":{"type":"list","member":{"type":"integer"}},"Sf2":{"type":"list","member":{"type":"structure","members":{"ActiveChannelPipeline":{"locationName":"activeChannelPipeline"},"PipelineId":{"locationName":"pipelineId"}}}},"Sfj":{"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"}}},"Sg4":{"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"}}},"Sg9":{"type":"structure","members":{"DnsAddresses":{"shape":"S5","locationName":"dnsAddresses"},"Gateway":{"locationName":"gateway"},"IpAddress":{"locationName":"ipAddress"},"IpScheme":{"locationName":"ipScheme"},"SubnetMask":{"locationName":"subnetMask"}}},"Sgc":{"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"}}},"Shw":{"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":"Sfj","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Sdb","locationName":"tags"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}},"Sim":{"type":"structure","members":{"ConfiguredInput":{"locationName":"configuredInput"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"}}}}}; + +/***/ }), + +/***/ 4454: +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, '__esModule', { value: true }); + +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } + +var Stream = _interopDefault(__webpack_require__(2413)); +var http = _interopDefault(__webpack_require__(8605)); +var Url = _interopDefault(__webpack_require__(8835)); +var whatwgUrl = _interopDefault(__webpack_require__(5176)); +var https = _interopDefault(__webpack_require__(7211)); +var zlib = _interopDefault(__webpack_require__(8761)); + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream.Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } + + this[BUFFER] = Buffer.concat(buffers); + + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); + + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} + +Object.defineProperties(Blob.prototype, { + size: { enumerable: true }, + type: { enumerable: true }, + slice: { enumerable: true } +}); + +Object.defineProperty(Blob.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ + +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); + + this.message = message; + this.type = type; + + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } - /***/ 4645: /***/ function (__unusedmodule, exports, __webpack_require__) { - (function (sax) { - // wrapper for non-node envs - sax.parser = function (strict, opt) { - return new SAXParser(strict, opt); - }; - sax.SAXParser = SAXParser; - sax.SAXStream = SAXStream; - sax.createStream = createStream; - - // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns. - // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)), - // since that's the earliest that a buffer overrun could occur. This way, checks are - // as rare as required, but as often as necessary to ensure never crossing this bound. - // Furthermore, buffers are only tested at most once per write(), so passing a very - // large string into write() might have undesirable effects, but this is manageable by - // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme - // edge case, result in creating at most one complete copy of the string passed in. - // Set to Infinity to have unlimited buffers. - sax.MAX_BUFFER_LENGTH = 64 * 1024; - - var buffers = [ - "comment", - "sgmlDecl", - "textNode", - "tagName", - "doctype", - "procInstName", - "procInstBody", - "entity", - "attribName", - "attribValue", - "cdata", - "script", - ]; + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; + +let convert; +try { + convert = __webpack_require__(1018).convert; +} catch (e) {} + +const INTERNALS = Symbol('Body internals'); + +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream.PassThrough; + +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} + +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } +}; + +// In browsers, all properties are enumerable. +Object.defineProperties(Body.prototype, { + body: { enumerable: true }, + bodyUsed: { enumerable: true }, + arrayBuffer: { enumerable: true }, + blob: { enumerable: true }, + json: { enumerable: true }, + text: { enumerable: true } +}); + +Body.mixIn = function (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; + +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; + + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + + this[INTERNALS].disturbed = true; + + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } + + let body = this.body; + + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is blob + if (isBlob(body)) { + body = body.stream(); + } + + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } + + // istanbul ignore if: should never happen + if (!(body instanceof Stream)) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } + + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } + + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } + + accumBytes += chunk.length; + accum.push(chunk); + }); + + body.on('end', function () { + if (abort) { + return; + } + + clearTimeout(resTimeout); + + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} + +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } + + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; + + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } + + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); + + // html5 + if (!res && str) { + res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; + + this[MAP] = Object.create(null); + + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); + + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } + + return; + } + + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } + + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } + + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } + + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } + + return this[MAP][key].join(', '); + } + + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } + + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } + + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } + + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } + + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } + + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } + + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } + + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } + + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [Symbol.iterator]() { + return createHeadersIterator(this, 'key+value'); + } +} +Headers.prototype.entries = Headers.prototype[Symbol.iterator]; + +Object.defineProperty(Headers.prototype, Symbol.toStringTag, { + value: 'Headers', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Headers.prototype, { + get: { enumerable: true }, + forEach: { enumerable: true }, + set: { enumerable: true }, + append: { enumerable: true }, + has: { enumerable: true }, + delete: { enumerable: true }, + keys: { enumerable: true }, + values: { enumerable: true }, + entries: { enumerable: true } +}); + +function getHeaders(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; + + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} + +const INTERNAL = Symbol('internal'); + +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} + +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } + + this[INTERNAL].index = index + 1; + + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } + + return obj; +} + +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} + +const INTERNALS$1 = Symbol('Response internals'); + +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http.STATUS_CODES; + +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + Body.call(this, body, opts); + + const status = opts.status || 200; + const headers = new Headers(opts.headers); + + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } + + get url() { + return this[INTERNALS$1].url || ''; + } + + get status() { + return this[INTERNALS$1].status; + } + + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } + + get redirected() { + return this[INTERNALS$1].counter > 0; + } + + get statusText() { + return this[INTERNALS$1].statusText; + } + + get headers() { + return this[INTERNALS$1].headers; + } + + /** + * Clone this response + * + * @return Response + */ + clone() { + return new Response(clone(this), { + url: this.url, + status: this.status, + statusText: this.statusText, + headers: this.headers, + ok: this.ok, + redirected: this.redirected + }); + } +} + +Body.mixIn(Response.prototype); + +Object.defineProperties(Response.prototype, { + url: { enumerable: true }, + status: { enumerable: true }, + ok: { enumerable: true }, + redirected: { enumerable: true }, + statusText: { enumerable: true }, + headers: { enumerable: true }, + clone: { enumerable: true } +}); + +Object.defineProperty(Response.prototype, Symbol.toStringTag, { + value: 'Response', + writable: false, + enumerable: false, + configurable: true +}); + +const INTERNALS$2 = Symbol('Request internals'); +const URL = Url.URL || whatwgUrl.URL; + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url.parse; +const format_url = Url.format; + +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); +} + +const streamDestructionSupported = 'destroy' in Stream.Readable.prototype; + +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} + +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} + +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } + + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); + + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + clone() { + return new Request(this); + } +} + +Body.mixIn(Request.prototype); + +Object.defineProperty(Request.prototype, Symbol.toStringTag, { + value: 'Request', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Request.prototype, { + method: { enumerable: true }, + url: { enumerable: true }, + headers: { enumerable: true }, + redirect: { enumerable: true }, + clone: { enumerable: true }, + signal: { enumerable: true } +}); + +/** + * 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 + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); + + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } + + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } + + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } + + if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } + + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } + + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } + + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } + + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } + + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } + + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js + + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); +} + +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ + +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); + + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; + +const URL$1 = Url.URL || whatwgUrl.URL; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream.PassThrough; + +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1(original).hostname; + const dest = new URL$1(destination).hostname; + + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; + +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch(url, opts) { + + // allow custom promise + if (!fetch.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } + + Body.Promise = fetch.Promise; + + // wrap http.request into fetch + return new fetch.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); + + const send = (options.protocol === 'https:' ? https : http).request; + const signal = request.signal; + + let response = null; + + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream.Readable) { + request.body.destroy(error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; + + if (signal && signal.aborted) { + abort(); + return; + } + + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; + + // send request + const req = send(options); + let reqTimeout; + + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } + + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } + + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } + + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + finalize(); + }); + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1(location, request.url).toString(); + } catch (err) { + // 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) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + 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) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } + + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } + + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib.Z_SYNC_FLUSH, + finishFlush: zlib.Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib.createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } + + // for deflate + 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 = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib.createInflate()); + } else { + body = body.pipe(zlib.createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + return; + } + + // for br + if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { + body = body.pipe(zlib.createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } + + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); + + writeToStream(req, request); + }); +} +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; + +// expose Promise +fetch.Promise = global.Promise; + +module.exports = exports = fetch; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = exports; +exports.Headers = Headers; +exports.Request = Request; +exports.Response = Response; +exports.FetchError = FetchError; + + +/***/ }), + +/***/ 4469: +/***/ (function(module, __unusedexports, __webpack_require__) { + +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; + +apiLoader.services['workdocs'] = {}; +AWS.WorkDocs = Service.defineService('workdocs', ['2016-05-01']); +Object.defineProperty(apiLoader.services['workdocs'], '2016-05-01', { + get: function get() { + var model = __webpack_require__(6099); + model.paginators = __webpack_require__(8317).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - sax.EVENTS = [ - "text", - "processinginstruction", - "sgmldeclaration", - "doctype", - "comment", - "opentagstart", - "attribute", - "opentag", - "closetag", - "opencdata", - "cdata", - "closecdata", - "error", - "end", - "ready", - "script", - "opennamespace", - "closenamespace", - ]; +module.exports = AWS.WorkDocs; - function SAXParser(strict, opt) { - if (!(this instanceof SAXParser)) { - return new SAXParser(strict, opt); - } - var parser = this; - clearBuffers(parser); - parser.q = parser.c = ""; - parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH; - parser.opt = opt || {}; - parser.opt.lowercase = - parser.opt.lowercase || parser.opt.lowercasetags; - parser.looseCase = parser.opt.lowercase - ? "toLowerCase" - : "toUpperCase"; - parser.tags = []; - parser.closed = parser.closedRoot = parser.sawRoot = false; - parser.tag = parser.error = null; - parser.strict = !!strict; - parser.noscript = !!(strict || parser.opt.noscript); - parser.state = S.BEGIN; - parser.strictEntities = parser.opt.strictEntities; - parser.ENTITIES = parser.strictEntities - ? Object.create(sax.XML_ENTITIES) - : Object.create(sax.ENTITIES); - parser.attribList = []; - - // namespaces form a prototype chain. - // it always points at the current tag, - // which protos to its parent tag. - if (parser.opt.xmlns) { - parser.ns = Object.create(rootNS); - } +/***/ }), - // mostly just for error reporting - parser.trackPosition = parser.opt.position !== false; - if (parser.trackPosition) { - parser.position = parser.line = parser.column = 0; - } - emit(parser, "onready"); - } +/***/ 4480: +/***/ (function(module) { - if (!Object.create) { - Object.create = function (o) { - function F() {} - F.prototype = o; - var newf = new F(); - return newf; - }; - } +module.exports = {"pagination":{"ListApplications":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListComponents":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListConfigurationHistory":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListLogPatternSets":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListLogPatterns":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListProblems":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - if (!Object.keys) { - Object.keys = function (o) { - var a = []; - for (var i in o) if (o.hasOwnProperty(i)) a.push(i); - return a; - }; - } +/***/ }), - function checkBufferLength(parser) { - var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10); - var maxActual = 0; - for (var i = 0, l = buffers.length; i < l; i++) { - var len = parser[buffers[i]].length; - if (len > maxAllowed) { - // Text/cdata nodes can get big, and since they're buffered, - // we can get here under normal conditions. - // Avoid issues by emitting the text node now, - // so at least it won't get any bigger. - switch (buffers[i]) { - case "textNode": - closeText(parser); - break; +/***/ 4483: +/***/ (function(module) { - case "cdata": - emitNode(parser, "oncdata", parser.cdata); - parser.cdata = ""; - break; +module.exports = {"pagination":{"ListItems":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}}; - case "script": - emitNode(parser, "onscript", parser.script); - parser.script = ""; - break; +/***/ }), - default: - error(parser, "Max buffer length exceeded: " + buffers[i]); - } - } - maxActual = Math.max(maxActual, len); - } - // schedule the next check for the earliest possible buffer overrun. - var m = sax.MAX_BUFFER_LENGTH - maxActual; - parser.bufferCheckPosition = m + parser.position; - } +/***/ 4487: +/***/ (function(module, __unusedexports, __webpack_require__) { - function clearBuffers(parser) { - for (var i = 0, l = buffers.length; i < l; i++) { - parser[buffers[i]] = ""; - } - } +__webpack_require__(3234); +var AWS = __webpack_require__(395); +var Service = AWS.Service; +var apiLoader = AWS.apiLoader; - function flushBuffers(parser) { - closeText(parser); - if (parser.cdata !== "") { - emitNode(parser, "oncdata", parser.cdata); - parser.cdata = ""; - } - if (parser.script !== "") { - emitNode(parser, "onscript", parser.script); - parser.script = ""; - } - } +apiLoader.services['kinesisvideomedia'] = {}; +AWS.KinesisVideoMedia = Service.defineService('kinesisvideomedia', ['2017-09-30']); +Object.defineProperty(apiLoader.services['kinesisvideomedia'], '2017-09-30', { + get: function get() { + var model = __webpack_require__(8258); + model.paginators = __webpack_require__(8784).pagination; + return model; + }, + enumerable: true, + configurable: true +}); - SAXParser.prototype = { - end: function () { - end(this); - }, - write: write, - resume: function () { - this.error = null; - return this; - }, - close: function () { - return this.write(null); - }, - flush: function () { - flushBuffers(this); - }, - }; +module.exports = AWS.KinesisVideoMedia; - var Stream; - try { - Stream = __webpack_require__(2413).Stream; - } catch (ex) { - Stream = function () {}; - } - var streamWraps = sax.EVENTS.filter(function (ev) { - return ev !== "error" && ev !== "end"; - }); +/***/ }), - function createStream(strict, opt) { - return new SAXStream(strict, opt); - } +/***/ 4525: +/***/ (function(module) { - function SAXStream(strict, opt) { - if (!(this instanceof SAXStream)) { - return new SAXStream(strict, opt); - } +module.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":true,"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":true,"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":true,"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"}]}}}; - Stream.apply(this); +/***/ }), - this._parser = new SAXParser(strict, opt); - this.writable = true; - this.readable = true; +/***/ 4535: +/***/ (function(module) { - var me = this; +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":{"BatchDeleteDocument":{"input":{"type":"structure","required":["IndexId","DocumentIdList"],"members":{"IndexId":{},"DocumentIdList":{"type":"list","member":{}},"DataSourceSyncJobMetricTarget":{"type":"structure","required":["DataSourceId","DataSourceSyncJobId"],"members":{"DataSourceId":{},"DataSourceSyncJobId":{}}}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"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":"Sj"},"Attributes":{"shape":"Sm"},"AccessControlList":{"type":"list","member":{"type":"structure","required":["Name","Type","Access"],"members":{"Name":{},"Type":{},"Access":{}}}},"ContentType":{}}}}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"CreateDataSource":{"input":{"type":"structure","required":["Name","IndexId","Type"],"members":{"Name":{},"IndexId":{},"Type":{},"Configuration":{"shape":"S17"},"Description":{},"Schedule":{},"RoleArn":{},"Tags":{"shape":"S3o"},"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":"Sj"},"RoleArn":{},"Tags":{"shape":"S3o"},"FileFormat":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateIndex":{"input":{"type":"structure","required":["Name","RoleArn"],"members":{"Name":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S42"},"Description":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S3o"},"UserTokenConfigurations":{"shape":"S44"},"UserContextPolicy":{}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateThesaurus":{"input":{"type":"structure","required":["IndexId","Name","RoleArn","SourceS3Path"],"members":{"IndexId":{},"Name":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S3o"},"SourceS3Path":{"shape":"Sj"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"DeleteDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteIndex":{"input":{"type":"structure","required":["Id"],"members":{"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":"S17"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"Schedule":{},"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":"Sj"},"Status":{},"RoleArn":{},"ErrorMessage":{},"FileFormat":{}}}},"DescribeIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S42"},"Status":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DocumentMetadataConfigurations":{"shape":"S4w"},"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":"S5e"},"UserTokenConfigurations":{"shape":"S44"},"UserContextPolicy":{}}}},"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":"Sj"},"FileSizeBytes":{"type":"long"},"TermCount":{"type":"long"},"SynonymRuleCount":{"type":"long"}}}},"ListDataSourceSyncJobs":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"},"StartTimeFilter":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"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":{}}}},"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":{}}}}}}},"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":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S3o"}}}},"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"}}}}}}},"Query":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"AttributeFilter":{"shape":"S6j"},"Facets":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{}}}},"RequestedDocumentAttributes":{"type":"list","member":{}},"QueryResultTypeFilter":{},"PageNumber":{"type":"integer"},"PageSize":{"type":"integer"},"SortingConfiguration":{"type":"structure","required":["DocumentAttributeKey","SortOrder"],"members":{"DocumentAttributeKey":{},"SortOrder":{}}},"UserContext":{"type":"structure","members":{"Token":{}}},"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":"S74"}}}}}},"DocumentId":{},"DocumentTitle":{"shape":"S74"},"DocumentExcerpt":{"shape":"S74"},"DocumentURI":{},"DocumentAttributes":{"shape":"Sm"},"ScoreAttributes":{"type":"structure","members":{"ScoreConfidence":{}}},"FeedbackToken":{}}}},"FacetResults":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{},"DocumentAttributeValueType":{},"DocumentAttributeValueCountPairs":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeValue":{"shape":"Sp"},"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":"S3o"}}},"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":"S17"},"Description":{},"Schedule":{},"RoleArn":{}}}},"UpdateIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"Name":{},"RoleArn":{},"Description":{},"DocumentMetadataConfigurationUpdates":{"shape":"S4w"},"CapacityUnits":{"shape":"S5e"},"UserTokenConfigurations":{"shape":"S44"},"UserContextPolicy":{}}}},"UpdateThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Description":{},"RoleArn":{},"SourceS3Path":{"shape":"Sj"}}}}},"shapes":{"Sj":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"Sm":{"type":"list","member":{"shape":"Sn"}},"Sn":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{"shape":"Sp"}}},"Sp":{"type":"structure","members":{"StringValue":{},"StringListValue":{"type":"list","member":{}},"LongValue":{"type":"long"},"DateValue":{"type":"timestamp"}}},"S17":{"type":"structure","members":{"S3Configuration":{"type":"structure","required":["BucketName"],"members":{"BucketName":{},"InclusionPrefixes":{"shape":"S19"},"InclusionPatterns":{"shape":"S19"},"ExclusionPatterns":{"shape":"S19"},"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":"S19"},"ExclusionPatterns":{"shape":"S19"},"VpcConfiguration":{"shape":"S1j"},"FieldMappings":{"shape":"S1o"},"DocumentTitleFieldName":{},"DisableLocalGroups":{"type":"boolean"}}},"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":"S1j"},"ColumnConfiguration":{"type":"structure","required":["DocumentIdColumnName","DocumentDataColumnName","ChangeDetectingColumns"],"members":{"DocumentIdColumnName":{},"DocumentDataColumnName":{},"DocumentTitleColumnName":{},"FieldMappings":{"shape":"S1o"},"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":"S1o"}}}},"KnowledgeArticleConfiguration":{"type":"structure","required":["IncludedStates"],"members":{"IncludedStates":{"type":"list","member":{}},"StandardKnowledgeArticleTypeConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S1o"}}},"CustomKnowledgeArticleTypeConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S1o"}}}}}},"ChatterFeedConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S1o"},"IncludeFilterTypes":{"type":"list","member":{}}}},"CrawlAttachments":{"type":"boolean"},"StandardObjectAttachmentConfiguration":{"type":"structure","members":{"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S1o"}}},"IncludeAttachmentFilePatterns":{"shape":"S19"},"ExcludeAttachmentFilePatterns":{"shape":"S19"}}},"OneDriveConfiguration":{"type":"structure","required":["TenantDomain","SecretArn","OneDriveUsers"],"members":{"TenantDomain":{},"SecretArn":{},"OneDriveUsers":{"type":"structure","members":{"OneDriveUserList":{"type":"list","member":{}},"OneDriveUserS3Path":{"shape":"Sj"}}},"InclusionPatterns":{"shape":"S19"},"ExclusionPatterns":{"shape":"S19"},"FieldMappings":{"shape":"S1o"},"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":"S19"},"ExcludeAttachmentFilePatterns":{"shape":"S19"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S1o"}}},"ServiceCatalogConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S19"},"ExcludeAttachmentFilePatterns":{"shape":"S19"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S1o"}}}}},"ConfluenceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn","Version"],"members":{"ServerUrl":{},"SecretArn":{},"Version":{},"SpaceConfiguration":{"type":"structure","members":{"CrawlPersonalSpaces":{"type":"boolean"},"CrawlArchivedSpaces":{"type":"boolean"},"IncludeSpaces":{"shape":"S2y"},"ExcludeSpaces":{"shape":"S2y"},"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":"S1j"},"InclusionPatterns":{"shape":"S19"},"ExclusionPatterns":{"shape":"S19"}}},"GoogleDriveConfiguration":{"type":"structure","required":["SecretArn"],"members":{"SecretArn":{},"InclusionPatterns":{"shape":"S19"},"ExclusionPatterns":{"shape":"S19"},"FieldMappings":{"shape":"S1o"},"ExcludeMimeTypes":{"type":"list","member":{}},"ExcludeUserAccounts":{"type":"list","member":{}},"ExcludeSharedDrives":{"type":"list","member":{}}}}}},"S19":{"type":"list","member":{}},"S1j":{"type":"structure","required":["SubnetIds","SecurityGroupIds"],"members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S1o":{"type":"list","member":{"type":"structure","required":["DataSourceFieldName","IndexFieldName"],"members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}},"S2y":{"type":"list","member":{}},"S3o":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S42":{"type":"structure","members":{"KmsKeyId":{"type":"string","sensitive":true}}},"S44":{"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":{}}}}}},"S4w":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Relevance":{"type":"structure","members":{"Freshness":{"type":"boolean"},"Importance":{"type":"integer"},"Duration":{},"RankOrder":{},"ValueImportanceMap":{"type":"map","key":{},"value":{"type":"integer"}}}},"Search":{"type":"structure","members":{"Facetable":{"type":"boolean"},"Searchable":{"type":"boolean"},"Displayable":{"type":"boolean"},"Sortable":{"type":"boolean"}}}}}},"S5e":{"type":"structure","required":["StorageCapacityUnits","QueryCapacityUnits"],"members":{"StorageCapacityUnits":{"type":"integer"},"QueryCapacityUnits":{"type":"integer"}}},"S6j":{"type":"structure","members":{"AndAllFilters":{"shape":"S6k"},"OrAllFilters":{"shape":"S6k"},"NotFilter":{"shape":"S6j"},"EqualsTo":{"shape":"Sn"},"ContainsAll":{"shape":"Sn"},"ContainsAny":{"shape":"Sn"},"GreaterThan":{"shape":"Sn"},"GreaterThanOrEquals":{"shape":"Sn"},"LessThan":{"shape":"Sn"},"LessThanOrEquals":{"shape":"Sn"}}},"S6k":{"type":"list","member":{"shape":"S6j"}},"S74":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","required":["BeginOffset","EndOffset"],"members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"TopAnswer":{"type":"boolean"},"Type":{}}}}}}}}; - this._parser.onend = function () { - me.emit("end"); - }; +/***/ }), - this._parser.onerror = function (er) { - me.emit("error", er); +/***/ 4540: +/***/ (function(module) { - // if didn't throw, then means error was handled. - // go ahead and clear error, so we can write again. - me._parser.error = null; - }; +module.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":{}}}},"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":"S1d"},"GatewayARN":{},"KMSEncrypted":{"type":"boolean"},"KMSKey":{},"Role":{},"LocationARN":{},"DefaultStorageClass":{},"ObjectACL":{},"ClientList":{"shape":"S1k"},"Squash":{},"ReadOnly":{"type":"boolean"},"GuessMIMETypeEnabled":{"type":"boolean"},"RequesterPays":{"type":"boolean"},"Tags":{"shape":"S9"},"FileShareName":{},"CacheAttributes":{"shape":"S1o"},"NotificationPolicy":{}}},"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":"S1u"},"ValidUserList":{"shape":"S1u"},"InvalidUserList":{"shape":"S1u"},"AuditDestinationARN":{},"Authentication":{},"CaseSensitivity":{},"Tags":{"shape":"S9"},"FileShareName":{},"CacheAttributes":{"shape":"S1o"},"NotificationPolicy":{}}},"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":"S2n"}}}},"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":"S3k"}}}},"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":"S3u"}}},"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":"S43"},"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":"S4c"},"InitiatorName":{},"SecretToAuthenticateTarget":{"shape":"S4c"}}}}}}},"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":{}}}},"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":"S4w"}}},"output":{"type":"structure","members":{"NFSFileShareInfoList":{"type":"list","member":{"type":"structure","members":{"NFSFileShareDefaults":{"shape":"S1d"},"FileShareARN":{},"FileShareId":{},"FileShareStatus":{},"GatewayARN":{},"KMSEncrypted":{"type":"boolean"},"KMSKey":{},"Path":{},"Role":{},"LocationARN":{},"DefaultStorageClass":{},"ObjectACL":{},"ClientList":{"shape":"S1k"},"Squash":{},"ReadOnly":{"type":"boolean"},"GuessMIMETypeEnabled":{"type":"boolean"},"RequesterPays":{"type":"boolean"},"Tags":{"shape":"S9"},"FileShareName":{},"CacheAttributes":{"shape":"S1o"},"NotificationPolicy":{}}}}}}},"DescribeSMBFileShares":{"input":{"type":"structure","required":["FileShareARNList"],"members":{"FileShareARNList":{"shape":"S4w"}}},"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":"S1u"},"ValidUserList":{"shape":"S1u"},"InvalidUserList":{"shape":"S1u"},"AuditDestinationARN":{},"Authentication":{},"CaseSensitivity":{},"Tags":{"shape":"S9"},"FileShareName":{},"CacheAttributes":{"shape":"S1o"},"NotificationPolicy":{}}}}}}},"DescribeSMBSettings":{"input":{"type":"structure","required":["GatewayARN"],"members":{"GatewayARN":{}}},"output":{"type":"structure","members":{"GatewayARN":{},"DomainName":{},"ActiveDirectoryStatus":{},"SMBGuestPasswordSet":{"type":"boolean"},"SMBSecurityStrategy":{},"FileSharesVisible":{"type":"boolean"}}}},"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":"S3u"}}},"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":"S43"},"CreatedDate":{"type":"timestamp"},"VolumeUsedInBytes":{"type":"long"},"KMSKey":{},"TargetName":{}}}}}}},"DescribeTapeArchives":{"input":{"type":"structure","members":{"TapeARNs":{"shape":"S2n"},"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":"S2n"},"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":{}}}},"JoinDomain":{"input":{"type":"structure","required":["GatewayARN","DomainName","UserName","Password"],"members":{"GatewayARN":{},"DomainName":{},"OrganizationalUnit":{},"DomainControllers":{"type":"list","member":{}},"TimeoutInSeconds":{"type":"integer"},"UserName":{},"Password":{"type":"string","sensitive":true}}},"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":"S6v"},"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":{}}}}}}},"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":{}}}},"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":"S2n"},"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":true}}},"output":{"type":"structure","members":{"GatewayARN":{}}}},"SetSMBGuestPassword":{"input":{"type":"structure","required":["GatewayARN","Password"],"members":{"GatewayARN":{},"Password":{"type":"string","sensitive":true}}},"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":"S6v"},"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":"S3k"}}},"output":{"type":"structure","members":{"GatewayARN":{}}}},"UpdateChapCredentials":{"input":{"type":"structure","required":["TargetARN","SecretToAuthenticateInitiator","InitiatorName"],"members":{"TargetARN":{},"SecretToAuthenticateInitiator":{"shape":"S4c"},"InitiatorName":{},"SecretToAuthenticateTarget":{"shape":"S4c"}}},"output":{"type":"structure","members":{"TargetARN":{},"InitiatorName":{}}}},"UpdateGatewayInformation":{"input":{"type":"structure","required":["GatewayARN"],"members":{"GatewayARN":{},"GatewayName":{},"GatewayTimezone":{},"CloudWatchLogGroupARN":{}}},"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":"S1d"},"DefaultStorageClass":{},"ObjectACL":{},"ClientList":{"shape":"S1k"},"Squash":{},"ReadOnly":{"type":"boolean"},"GuessMIMETypeEnabled":{"type":"boolean"},"RequesterPays":{"type":"boolean"},"FileShareName":{},"CacheAttributes":{"shape":"S1o"},"NotificationPolicy":{}}},"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":"S1u"},"ValidUserList":{"shape":"S1u"},"InvalidUserList":{"shape":"S1u"},"AuditDestinationARN":{},"CaseSensitivity":{},"FileShareName":{},"CacheAttributes":{"shape":"S1o"},"NotificationPolicy":{}}},"output":{"type":"structure","members":{"FileShareARN":{}}}},"UpdateSMBFileShareVisibility":{"input":{"type":"structure","required":["GatewayARN","FileSharesVisible"],"members":{"GatewayARN":{},"FileSharesVisible":{"type":"boolean"}}},"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":{}},"S1d":{"type":"structure","members":{"FileMode":{},"DirectoryMode":{},"GroupId":{"type":"long"},"OwnerId":{"type":"long"}}},"S1k":{"type":"list","member":{}},"S1o":{"type":"structure","members":{"CacheStaleTimeoutInSeconds":{"type":"integer"}}},"S1u":{"type":"list","member":{}},"S2n":{"type":"list","member":{}},"S3k":{"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"}}}},"S3u":{"type":"list","member":{}},"S43":{"type":"structure","members":{"TargetARN":{},"NetworkInterfaceId":{},"NetworkInterfacePort":{"type":"integer"},"LunNumber":{"type":"integer"},"ChapEnabled":{"type":"boolean"}}},"S4c":{"type":"string","sensitive":true},"S4w":{"type":"list","member":{}},"S6v":{"type":"list","member":{"type":"structure","required":["TapeBarcodePrefix","PoolId","TapeSizeInBytes","MinimumNumTapes"],"members":{"TapeBarcodePrefix":{},"PoolId":{},"TapeSizeInBytes":{"type":"long"},"MinimumNumTapes":{"type":"integer"},"Worm":{"type":"boolean"}}}}}}; - this._decoder = null; - - streamWraps.forEach(function (ev) { - Object.defineProperty(me, "on" + ev, { - get: function () { - return me._parser["on" + ev]; - }, - set: function (h) { - if (!h) { - me.removeAllListeners(ev); - me._parser["on" + ev] = h; - return h; - } - me.on(ev, h); - }, - enumerable: true, - configurable: false, - }); - }); - } +/***/ }), - SAXStream.prototype = Object.create(Stream.prototype, { - constructor: { - value: SAXStream, - }, - }); +/***/ 4563: +/***/ (function(module, __unusedexports, __webpack_require__) { - SAXStream.prototype.write = function (data) { - if ( - typeof Buffer === "function" && - typeof Buffer.isBuffer === "function" && - Buffer.isBuffer(data) - ) { - if (!this._decoder) { - var SD = __webpack_require__(4304).StringDecoder; - this._decoder = new SD("utf8"); - } - data = this._decoder.write(data); - } +module.exports = getPreviousPage - this._parser.write(data.toString()); - this.emit("data", data); - return true; - }; +const getPage = __webpack_require__(3265) - SAXStream.prototype.end = function (chunk) { - if (chunk && chunk.length) { - this.write(chunk); - } - this._parser.end(); - return true; - }; +function getPreviousPage (octokit, link, headers) { + return getPage(octokit, link, 'prev', headers) +} - SAXStream.prototype.on = function (ev, handler) { - var me = this; - if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) { - me._parser["on" + ev] = function () { - var args = - arguments.length === 1 - ? [arguments[0]] - : Array.apply(null, arguments); - args.splice(0, 0, ev); - me.emit.apply(me, args); - }; - } - return Stream.prototype.on.call(me, ev, handler); - }; +/***/ }), - // character classes and tokens - var whitespace = "\r\n\t "; - - // this really needs to be replaced with character classes. - // XML allows all manner of ridiculous numbers and digits. - var number = "0124356789"; - var letter = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; - - // (Letter | "_" | ":") - var quote = "'\""; - var attribEnd = whitespace + ">"; - var CDATA = "[CDATA["; - var DOCTYPE = "DOCTYPE"; - var XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"; - var XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/"; - var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }; - - // turn all the string character sets into character class objects. - whitespace = charClass(whitespace); - number = charClass(number); - letter = charClass(letter); - - // http://www.w3.org/TR/REC-xml/#NT-NameStartChar - // This implementation works on strings, a single character at a time - // as such, it cannot ever support astral-plane characters (10000-EFFFF) - // without a significant breaking change to either this parser, or the - // JavaScript language. Implementation of an emoji-capable xml parser - // is left as an exercise for the reader. - var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; - - var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; - - var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; - var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; - - quote = charClass(quote); - attribEnd = charClass(attribEnd); - - function charClass(str) { - return str.split("").reduce(function (s, c) { - s[c] = true; - return s; - }, {}); - } +/***/ 4568: +/***/ (function(module, __unusedexports, __webpack_require__) { - function isRegExp(c) { - return Object.prototype.toString.call(c) === "[object RegExp]"; - } +"use strict"; - function is(charclass, c) { - return isRegExp(charclass) ? !!c.match(charclass) : charclass[c]; - } - function not(charclass, c) { - return !is(charclass, c); - } +const path = __webpack_require__(5622); +const niceTry = __webpack_require__(948); +const resolveCommand = __webpack_require__(489); +const escape = __webpack_require__(462); +const readShebang = __webpack_require__(4389); +const semver = __webpack_require__(9280); - var S = 0; - sax.STATE = { - BEGIN: S++, // leading byte order mark or whitespace - BEGIN_WHITESPACE: S++, // leading whitespace - TEXT: S++, // general stuff - TEXT_ENTITY: S++, // & and such. - OPEN_WAKA: S++, // < - SGML_DECL: S++, // - SCRIPT: S++, //