@aws-sdk/client-codedeploy
Advanced tools
@@ -1,10 +0,7 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.resolveHttpAuthSchemeConfig = exports.defaultCodeDeployHttpAuthSchemeProvider = exports.defaultCodeDeployHttpAuthSchemeParametersProvider = void 0; | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const client_1 = require("@smithy/core/client"); | ||
| const defaultCodeDeployHttpAuthSchemeParametersProvider = async (config, context, input) => { | ||
| const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const { getSmithyContext, normalizeProvider } = require("@smithy/core/client"); | ||
| exports.defaultCodeDeployHttpAuthSchemeParametersProvider = async (config, context, input) => { | ||
| return { | ||
| operation: (0, client_1.getSmithyContext)(context).operation, | ||
| region: await (0, client_1.normalizeProvider)(config.region)() || (() => { | ||
| operation: getSmithyContext(context).operation, | ||
| region: await normalizeProvider(config.region)() || (() => { | ||
| throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); | ||
@@ -14,3 +11,2 @@ })(), | ||
| }; | ||
| exports.defaultCodeDeployHttpAuthSchemeParametersProvider = defaultCodeDeployHttpAuthSchemeParametersProvider; | ||
| function createAwsAuthSigv4HttpAuthOption(authParameters) { | ||
@@ -31,3 +27,3 @@ return { | ||
| } | ||
| const defaultCodeDeployHttpAuthSchemeProvider = (authParameters) => { | ||
| exports.defaultCodeDeployHttpAuthSchemeProvider = (authParameters) => { | ||
| const options = []; | ||
@@ -41,9 +37,7 @@ switch (authParameters.operation) { | ||
| }; | ||
| exports.defaultCodeDeployHttpAuthSchemeProvider = defaultCodeDeployHttpAuthSchemeProvider; | ||
| const resolveHttpAuthSchemeConfig = (config) => { | ||
| const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); | ||
| exports.resolveHttpAuthSchemeConfig = (config) => { | ||
| const config_0 = resolveAwsSdkSigV4Config(config); | ||
| return Object.assign(config_0, { | ||
| authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []), | ||
| authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), | ||
| }); | ||
| }; | ||
| exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; |
@@ -1,5 +0,2 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.bdd = void 0; | ||
| const endpoints_1 = require("@smithy/core/endpoints"); | ||
| const { BinaryDecisionDiagram } = require("@smithy/core/endpoints"); | ||
| const k = "ref"; | ||
@@ -49,2 +46,2 @@ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }]; | ||
| ]); | ||
| exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); | ||
| exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); |
@@ -1,13 +0,10 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.defaultEndpointResolver = void 0; | ||
| const client_1 = require("@aws-sdk/core/client"); | ||
| const endpoints_1 = require("@smithy/core/endpoints"); | ||
| const bdd_1 = require("./bdd"); | ||
| const cache = new endpoints_1.EndpointCache({ | ||
| const { awsEndpointFunctions } = require("@aws-sdk/core/client"); | ||
| const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints"); | ||
| const { bdd } = require("./bdd"); | ||
| const cache = new EndpointCache({ | ||
| size: 50, | ||
| params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], | ||
| }); | ||
| const defaultEndpointResolver = (endpointParams, context = {}) => { | ||
| return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, { | ||
| exports.defaultEndpointResolver = (endpointParams, context = {}) => { | ||
| return cache.get(endpointParams, () => decideEndpoint(bdd, { | ||
| endpointParams: endpointParams, | ||
@@ -17,3 +14,2 @@ logger: context.logger, | ||
| }; | ||
| exports.defaultEndpointResolver = defaultEndpointResolver; | ||
| endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions; | ||
| customEndpointFunctions.aws = awsEndpointFunctions; |
+196
-216
@@ -1,17 +0,20 @@ | ||
| 'use strict'; | ||
| var __exportStar = (m, e) => { Object.assign(e, m); }; | ||
| const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client"); | ||
| const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core"); | ||
| const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client"); | ||
| exports.$Command = Command; | ||
| exports.__Client = Client; | ||
| const { resolveRegionConfig } = require("@smithy/core/config"); | ||
| const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints"); | ||
| const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols"); | ||
| const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry"); | ||
| const { getSchemaSerdePlugin } = require("@smithy/core/schema"); | ||
| const { resolveHttpAuthSchemeConfig, defaultCodeDeployHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider"); | ||
| const { getRuntimeConfig } = require("./runtimeConfig"); | ||
| const { AddTagsToOnPremisesInstances$, BatchGetApplicationRevisions$, BatchGetApplications$, BatchGetDeploymentGroups$, BatchGetDeploymentInstances$, BatchGetDeployments$, BatchGetDeploymentTargets$, BatchGetOnPremisesInstances$, ContinueDeployment$, CreateApplication$, CreateDeployment$, CreateDeploymentConfig$, CreateDeploymentGroup$, DeleteApplication$, DeleteDeploymentConfig$, DeleteDeploymentGroup$, DeleteGitHubAccountToken$, DeleteResourcesByExternalId$, DeregisterOnPremisesInstance$, GetApplication$, GetApplicationRevision$, GetDeployment$, GetDeploymentConfig$, GetDeploymentGroup$, GetDeploymentInstance$, GetDeploymentTarget$, GetOnPremisesInstance$, ListApplicationRevisions$, ListApplications$, ListDeploymentConfigs$, ListDeploymentGroups$, ListDeploymentInstances$, ListDeployments$, ListDeploymentTargets$, ListGitHubAccountTokenNames$, ListOnPremisesInstances$, ListTagsForResource$, PutLifecycleEventHookExecutionStatus$, RegisterApplicationRevision$, RegisterOnPremisesInstance$, RemoveTagsFromOnPremisesInstances$, SkipWaitTimeForInstanceTermination$, StopDeployment$, TagResource$, UntagResource$, UpdateApplication$, UpdateDeploymentGroup$ } = require("./schemas/schemas_0"); | ||
| __exportStar(require("./schemas/schemas_0"), exports); | ||
| __exportStar(require("./models/errors"), exports); | ||
| const { CodeDeployServiceException } = require("./models/CodeDeployServiceException"); | ||
| exports.CodeDeployServiceException = CodeDeployServiceException; | ||
| var client$1 = require('@aws-sdk/core/client'); | ||
| var core = require('@smithy/core'); | ||
| var client = require('@smithy/core/client'); | ||
| var config = require('@smithy/core/config'); | ||
| var endpoints = require('@smithy/core/endpoints'); | ||
| var protocols = require('@smithy/core/protocols'); | ||
| var retry = require('@smithy/core/retry'); | ||
| var schema = require('@smithy/core/schema'); | ||
| var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); | ||
| var runtimeConfig = require('./runtimeConfig'); | ||
| var schemas_0 = require('./schemas/schemas_0'); | ||
| var errors = require('./models/errors'); | ||
| var CodeDeployServiceException = require('./models/CodeDeployServiceException'); | ||
| const resolveClientEndpointParameters = (options) => { | ||
@@ -71,36 +74,36 @@ return Object.assign(options, { | ||
| const resolveRuntimeExtensions = (runtimeConfig, extensions) => { | ||
| const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); | ||
| const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); | ||
| extensions.forEach((extension) => extension.configure(extensionConfiguration)); | ||
| return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); | ||
| return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); | ||
| }; | ||
| class CodeDeployClient extends client.Client { | ||
| class CodeDeployClient extends Client { | ||
| config; | ||
| constructor(...[configuration]) { | ||
| const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); | ||
| const _config_0 = getRuntimeConfig(configuration || {}); | ||
| super(_config_0); | ||
| this.initConfig = _config_0; | ||
| const _config_1 = resolveClientEndpointParameters(_config_0); | ||
| const _config_2 = client$1.resolveUserAgentConfig(_config_1); | ||
| const _config_3 = retry.resolveRetryConfig(_config_2); | ||
| const _config_4 = config.resolveRegionConfig(_config_3); | ||
| const _config_5 = client$1.resolveHostHeaderConfig(_config_4); | ||
| const _config_6 = endpoints.resolveEndpointConfig(_config_5); | ||
| const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); | ||
| const _config_2 = resolveUserAgentConfig(_config_1); | ||
| const _config_3 = resolveRetryConfig(_config_2); | ||
| const _config_4 = resolveRegionConfig(_config_3); | ||
| const _config_5 = resolveHostHeaderConfig(_config_4); | ||
| const _config_6 = resolveEndpointConfig(_config_5); | ||
| const _config_7 = resolveHttpAuthSchemeConfig(_config_6); | ||
| const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); | ||
| this.config = _config_8; | ||
| this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); | ||
| this.middlewareStack.use(retry.getRetryPlugin(this.config)); | ||
| this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); | ||
| this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { | ||
| httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCodeDeployHttpAuthSchemeParametersProvider, | ||
| identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ | ||
| this.middlewareStack.use(getSchemaSerdePlugin(this.config)); | ||
| this.middlewareStack.use(getUserAgentPlugin(this.config)); | ||
| this.middlewareStack.use(getRetryPlugin(this.config)); | ||
| this.middlewareStack.use(getContentLengthPlugin(this.config)); | ||
| this.middlewareStack.use(getHostHeaderPlugin(this.config)); | ||
| this.middlewareStack.use(getLoggerPlugin(this.config)); | ||
| this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); | ||
| this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { | ||
| httpAuthSchemeParametersProvider: defaultCodeDeployHttpAuthSchemeParametersProvider, | ||
| identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ | ||
| "aws.auth#sigv4": config.credentials, | ||
| }), | ||
| })); | ||
| this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); | ||
| this.middlewareStack.use(getHttpSigningPlugin(this.config)); | ||
| } | ||
@@ -112,582 +115,582 @@ destroy() { | ||
| class AddTagsToOnPremisesInstancesCommand extends client.Command | ||
| class AddTagsToOnPremisesInstancesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "AddTagsToOnPremisesInstances", {}) | ||
| .n("CodeDeployClient", "AddTagsToOnPremisesInstancesCommand") | ||
| .sc(schemas_0.AddTagsToOnPremisesInstances$) | ||
| .sc(AddTagsToOnPremisesInstances$) | ||
| .build() { | ||
| } | ||
| class BatchGetApplicationRevisionsCommand extends client.Command | ||
| class BatchGetApplicationRevisionsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "BatchGetApplicationRevisions", {}) | ||
| .n("CodeDeployClient", "BatchGetApplicationRevisionsCommand") | ||
| .sc(schemas_0.BatchGetApplicationRevisions$) | ||
| .sc(BatchGetApplicationRevisions$) | ||
| .build() { | ||
| } | ||
| class BatchGetApplicationsCommand extends client.Command | ||
| class BatchGetApplicationsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "BatchGetApplications", {}) | ||
| .n("CodeDeployClient", "BatchGetApplicationsCommand") | ||
| .sc(schemas_0.BatchGetApplications$) | ||
| .sc(BatchGetApplications$) | ||
| .build() { | ||
| } | ||
| class BatchGetDeploymentGroupsCommand extends client.Command | ||
| class BatchGetDeploymentGroupsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "BatchGetDeploymentGroups", {}) | ||
| .n("CodeDeployClient", "BatchGetDeploymentGroupsCommand") | ||
| .sc(schemas_0.BatchGetDeploymentGroups$) | ||
| .sc(BatchGetDeploymentGroups$) | ||
| .build() { | ||
| } | ||
| class BatchGetDeploymentInstancesCommand extends client.Command | ||
| class BatchGetDeploymentInstancesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "BatchGetDeploymentInstances", {}) | ||
| .n("CodeDeployClient", "BatchGetDeploymentInstancesCommand") | ||
| .sc(schemas_0.BatchGetDeploymentInstances$) | ||
| .sc(BatchGetDeploymentInstances$) | ||
| .build() { | ||
| } | ||
| class BatchGetDeploymentsCommand extends client.Command | ||
| class BatchGetDeploymentsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "BatchGetDeployments", {}) | ||
| .n("CodeDeployClient", "BatchGetDeploymentsCommand") | ||
| .sc(schemas_0.BatchGetDeployments$) | ||
| .sc(BatchGetDeployments$) | ||
| .build() { | ||
| } | ||
| class BatchGetDeploymentTargetsCommand extends client.Command | ||
| class BatchGetDeploymentTargetsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "BatchGetDeploymentTargets", {}) | ||
| .n("CodeDeployClient", "BatchGetDeploymentTargetsCommand") | ||
| .sc(schemas_0.BatchGetDeploymentTargets$) | ||
| .sc(BatchGetDeploymentTargets$) | ||
| .build() { | ||
| } | ||
| class BatchGetOnPremisesInstancesCommand extends client.Command | ||
| class BatchGetOnPremisesInstancesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "BatchGetOnPremisesInstances", {}) | ||
| .n("CodeDeployClient", "BatchGetOnPremisesInstancesCommand") | ||
| .sc(schemas_0.BatchGetOnPremisesInstances$) | ||
| .sc(BatchGetOnPremisesInstances$) | ||
| .build() { | ||
| } | ||
| class ContinueDeploymentCommand extends client.Command | ||
| class ContinueDeploymentCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ContinueDeployment", {}) | ||
| .n("CodeDeployClient", "ContinueDeploymentCommand") | ||
| .sc(schemas_0.ContinueDeployment$) | ||
| .sc(ContinueDeployment$) | ||
| .build() { | ||
| } | ||
| class CreateApplicationCommand extends client.Command | ||
| class CreateApplicationCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "CreateApplication", {}) | ||
| .n("CodeDeployClient", "CreateApplicationCommand") | ||
| .sc(schemas_0.CreateApplication$) | ||
| .sc(CreateApplication$) | ||
| .build() { | ||
| } | ||
| class CreateDeploymentCommand extends client.Command | ||
| class CreateDeploymentCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "CreateDeployment", {}) | ||
| .n("CodeDeployClient", "CreateDeploymentCommand") | ||
| .sc(schemas_0.CreateDeployment$) | ||
| .sc(CreateDeployment$) | ||
| .build() { | ||
| } | ||
| class CreateDeploymentConfigCommand extends client.Command | ||
| class CreateDeploymentConfigCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "CreateDeploymentConfig", {}) | ||
| .n("CodeDeployClient", "CreateDeploymentConfigCommand") | ||
| .sc(schemas_0.CreateDeploymentConfig$) | ||
| .sc(CreateDeploymentConfig$) | ||
| .build() { | ||
| } | ||
| class CreateDeploymentGroupCommand extends client.Command | ||
| class CreateDeploymentGroupCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "CreateDeploymentGroup", {}) | ||
| .n("CodeDeployClient", "CreateDeploymentGroupCommand") | ||
| .sc(schemas_0.CreateDeploymentGroup$) | ||
| .sc(CreateDeploymentGroup$) | ||
| .build() { | ||
| } | ||
| class DeleteApplicationCommand extends client.Command | ||
| class DeleteApplicationCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "DeleteApplication", {}) | ||
| .n("CodeDeployClient", "DeleteApplicationCommand") | ||
| .sc(schemas_0.DeleteApplication$) | ||
| .sc(DeleteApplication$) | ||
| .build() { | ||
| } | ||
| class DeleteDeploymentConfigCommand extends client.Command | ||
| class DeleteDeploymentConfigCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "DeleteDeploymentConfig", {}) | ||
| .n("CodeDeployClient", "DeleteDeploymentConfigCommand") | ||
| .sc(schemas_0.DeleteDeploymentConfig$) | ||
| .sc(DeleteDeploymentConfig$) | ||
| .build() { | ||
| } | ||
| class DeleteDeploymentGroupCommand extends client.Command | ||
| class DeleteDeploymentGroupCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "DeleteDeploymentGroup", {}) | ||
| .n("CodeDeployClient", "DeleteDeploymentGroupCommand") | ||
| .sc(schemas_0.DeleteDeploymentGroup$) | ||
| .sc(DeleteDeploymentGroup$) | ||
| .build() { | ||
| } | ||
| class DeleteGitHubAccountTokenCommand extends client.Command | ||
| class DeleteGitHubAccountTokenCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "DeleteGitHubAccountToken", {}) | ||
| .n("CodeDeployClient", "DeleteGitHubAccountTokenCommand") | ||
| .sc(schemas_0.DeleteGitHubAccountToken$) | ||
| .sc(DeleteGitHubAccountToken$) | ||
| .build() { | ||
| } | ||
| class DeleteResourcesByExternalIdCommand extends client.Command | ||
| class DeleteResourcesByExternalIdCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "DeleteResourcesByExternalId", {}) | ||
| .n("CodeDeployClient", "DeleteResourcesByExternalIdCommand") | ||
| .sc(schemas_0.DeleteResourcesByExternalId$) | ||
| .sc(DeleteResourcesByExternalId$) | ||
| .build() { | ||
| } | ||
| class DeregisterOnPremisesInstanceCommand extends client.Command | ||
| class DeregisterOnPremisesInstanceCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "DeregisterOnPremisesInstance", {}) | ||
| .n("CodeDeployClient", "DeregisterOnPremisesInstanceCommand") | ||
| .sc(schemas_0.DeregisterOnPremisesInstance$) | ||
| .sc(DeregisterOnPremisesInstance$) | ||
| .build() { | ||
| } | ||
| class GetApplicationCommand extends client.Command | ||
| class GetApplicationCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetApplication", {}) | ||
| .n("CodeDeployClient", "GetApplicationCommand") | ||
| .sc(schemas_0.GetApplication$) | ||
| .sc(GetApplication$) | ||
| .build() { | ||
| } | ||
| class GetApplicationRevisionCommand extends client.Command | ||
| class GetApplicationRevisionCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetApplicationRevision", {}) | ||
| .n("CodeDeployClient", "GetApplicationRevisionCommand") | ||
| .sc(schemas_0.GetApplicationRevision$) | ||
| .sc(GetApplicationRevision$) | ||
| .build() { | ||
| } | ||
| class GetDeploymentCommand extends client.Command | ||
| class GetDeploymentCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetDeployment", {}) | ||
| .n("CodeDeployClient", "GetDeploymentCommand") | ||
| .sc(schemas_0.GetDeployment$) | ||
| .sc(GetDeployment$) | ||
| .build() { | ||
| } | ||
| class GetDeploymentConfigCommand extends client.Command | ||
| class GetDeploymentConfigCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetDeploymentConfig", {}) | ||
| .n("CodeDeployClient", "GetDeploymentConfigCommand") | ||
| .sc(schemas_0.GetDeploymentConfig$) | ||
| .sc(GetDeploymentConfig$) | ||
| .build() { | ||
| } | ||
| class GetDeploymentGroupCommand extends client.Command | ||
| class GetDeploymentGroupCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetDeploymentGroup", {}) | ||
| .n("CodeDeployClient", "GetDeploymentGroupCommand") | ||
| .sc(schemas_0.GetDeploymentGroup$) | ||
| .sc(GetDeploymentGroup$) | ||
| .build() { | ||
| } | ||
| class GetDeploymentInstanceCommand extends client.Command | ||
| class GetDeploymentInstanceCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetDeploymentInstance", {}) | ||
| .n("CodeDeployClient", "GetDeploymentInstanceCommand") | ||
| .sc(schemas_0.GetDeploymentInstance$) | ||
| .sc(GetDeploymentInstance$) | ||
| .build() { | ||
| } | ||
| class GetDeploymentTargetCommand extends client.Command | ||
| class GetDeploymentTargetCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetDeploymentTarget", {}) | ||
| .n("CodeDeployClient", "GetDeploymentTargetCommand") | ||
| .sc(schemas_0.GetDeploymentTarget$) | ||
| .sc(GetDeploymentTarget$) | ||
| .build() { | ||
| } | ||
| class GetOnPremisesInstanceCommand extends client.Command | ||
| class GetOnPremisesInstanceCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "GetOnPremisesInstance", {}) | ||
| .n("CodeDeployClient", "GetOnPremisesInstanceCommand") | ||
| .sc(schemas_0.GetOnPremisesInstance$) | ||
| .sc(GetOnPremisesInstance$) | ||
| .build() { | ||
| } | ||
| class ListApplicationRevisionsCommand extends client.Command | ||
| class ListApplicationRevisionsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListApplicationRevisions", {}) | ||
| .n("CodeDeployClient", "ListApplicationRevisionsCommand") | ||
| .sc(schemas_0.ListApplicationRevisions$) | ||
| .sc(ListApplicationRevisions$) | ||
| .build() { | ||
| } | ||
| class ListApplicationsCommand extends client.Command | ||
| class ListApplicationsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListApplications", {}) | ||
| .n("CodeDeployClient", "ListApplicationsCommand") | ||
| .sc(schemas_0.ListApplications$) | ||
| .sc(ListApplications$) | ||
| .build() { | ||
| } | ||
| class ListDeploymentConfigsCommand extends client.Command | ||
| class ListDeploymentConfigsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListDeploymentConfigs", {}) | ||
| .n("CodeDeployClient", "ListDeploymentConfigsCommand") | ||
| .sc(schemas_0.ListDeploymentConfigs$) | ||
| .sc(ListDeploymentConfigs$) | ||
| .build() { | ||
| } | ||
| class ListDeploymentGroupsCommand extends client.Command | ||
| class ListDeploymentGroupsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListDeploymentGroups", {}) | ||
| .n("CodeDeployClient", "ListDeploymentGroupsCommand") | ||
| .sc(schemas_0.ListDeploymentGroups$) | ||
| .sc(ListDeploymentGroups$) | ||
| .build() { | ||
| } | ||
| class ListDeploymentInstancesCommand extends client.Command | ||
| class ListDeploymentInstancesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListDeploymentInstances", {}) | ||
| .n("CodeDeployClient", "ListDeploymentInstancesCommand") | ||
| .sc(schemas_0.ListDeploymentInstances$) | ||
| .sc(ListDeploymentInstances$) | ||
| .build() { | ||
| } | ||
| class ListDeploymentsCommand extends client.Command | ||
| class ListDeploymentsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListDeployments", {}) | ||
| .n("CodeDeployClient", "ListDeploymentsCommand") | ||
| .sc(schemas_0.ListDeployments$) | ||
| .sc(ListDeployments$) | ||
| .build() { | ||
| } | ||
| class ListDeploymentTargetsCommand extends client.Command | ||
| class ListDeploymentTargetsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListDeploymentTargets", {}) | ||
| .n("CodeDeployClient", "ListDeploymentTargetsCommand") | ||
| .sc(schemas_0.ListDeploymentTargets$) | ||
| .sc(ListDeploymentTargets$) | ||
| .build() { | ||
| } | ||
| class ListGitHubAccountTokenNamesCommand extends client.Command | ||
| class ListGitHubAccountTokenNamesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListGitHubAccountTokenNames", {}) | ||
| .n("CodeDeployClient", "ListGitHubAccountTokenNamesCommand") | ||
| .sc(schemas_0.ListGitHubAccountTokenNames$) | ||
| .sc(ListGitHubAccountTokenNames$) | ||
| .build() { | ||
| } | ||
| class ListOnPremisesInstancesCommand extends client.Command | ||
| class ListOnPremisesInstancesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListOnPremisesInstances", {}) | ||
| .n("CodeDeployClient", "ListOnPremisesInstancesCommand") | ||
| .sc(schemas_0.ListOnPremisesInstances$) | ||
| .sc(ListOnPremisesInstances$) | ||
| .build() { | ||
| } | ||
| class ListTagsForResourceCommand extends client.Command | ||
| class ListTagsForResourceCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "ListTagsForResource", {}) | ||
| .n("CodeDeployClient", "ListTagsForResourceCommand") | ||
| .sc(schemas_0.ListTagsForResource$) | ||
| .sc(ListTagsForResource$) | ||
| .build() { | ||
| } | ||
| class PutLifecycleEventHookExecutionStatusCommand extends client.Command | ||
| class PutLifecycleEventHookExecutionStatusCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "PutLifecycleEventHookExecutionStatus", {}) | ||
| .n("CodeDeployClient", "PutLifecycleEventHookExecutionStatusCommand") | ||
| .sc(schemas_0.PutLifecycleEventHookExecutionStatus$) | ||
| .sc(PutLifecycleEventHookExecutionStatus$) | ||
| .build() { | ||
| } | ||
| class RegisterApplicationRevisionCommand extends client.Command | ||
| class RegisterApplicationRevisionCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "RegisterApplicationRevision", {}) | ||
| .n("CodeDeployClient", "RegisterApplicationRevisionCommand") | ||
| .sc(schemas_0.RegisterApplicationRevision$) | ||
| .sc(RegisterApplicationRevision$) | ||
| .build() { | ||
| } | ||
| class RegisterOnPremisesInstanceCommand extends client.Command | ||
| class RegisterOnPremisesInstanceCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "RegisterOnPremisesInstance", {}) | ||
| .n("CodeDeployClient", "RegisterOnPremisesInstanceCommand") | ||
| .sc(schemas_0.RegisterOnPremisesInstance$) | ||
| .sc(RegisterOnPremisesInstance$) | ||
| .build() { | ||
| } | ||
| class RemoveTagsFromOnPremisesInstancesCommand extends client.Command | ||
| class RemoveTagsFromOnPremisesInstancesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "RemoveTagsFromOnPremisesInstances", {}) | ||
| .n("CodeDeployClient", "RemoveTagsFromOnPremisesInstancesCommand") | ||
| .sc(schemas_0.RemoveTagsFromOnPremisesInstances$) | ||
| .sc(RemoveTagsFromOnPremisesInstances$) | ||
| .build() { | ||
| } | ||
| class SkipWaitTimeForInstanceTerminationCommand extends client.Command | ||
| class SkipWaitTimeForInstanceTerminationCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "SkipWaitTimeForInstanceTermination", {}) | ||
| .n("CodeDeployClient", "SkipWaitTimeForInstanceTerminationCommand") | ||
| .sc(schemas_0.SkipWaitTimeForInstanceTermination$) | ||
| .sc(SkipWaitTimeForInstanceTermination$) | ||
| .build() { | ||
| } | ||
| class StopDeploymentCommand extends client.Command | ||
| class StopDeploymentCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "StopDeployment", {}) | ||
| .n("CodeDeployClient", "StopDeploymentCommand") | ||
| .sc(schemas_0.StopDeployment$) | ||
| .sc(StopDeployment$) | ||
| .build() { | ||
| } | ||
| class TagResourceCommand extends client.Command | ||
| class TagResourceCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "TagResource", {}) | ||
| .n("CodeDeployClient", "TagResourceCommand") | ||
| .sc(schemas_0.TagResource$) | ||
| .sc(TagResource$) | ||
| .build() { | ||
| } | ||
| class UntagResourceCommand extends client.Command | ||
| class UntagResourceCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "UntagResource", {}) | ||
| .n("CodeDeployClient", "UntagResourceCommand") | ||
| .sc(schemas_0.UntagResource$) | ||
| .sc(UntagResource$) | ||
| .build() { | ||
| } | ||
| class UpdateApplicationCommand extends client.Command | ||
| class UpdateApplicationCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "UpdateApplication", {}) | ||
| .n("CodeDeployClient", "UpdateApplicationCommand") | ||
| .sc(schemas_0.UpdateApplication$) | ||
| .sc(UpdateApplication$) | ||
| .build() { | ||
| } | ||
| class UpdateDeploymentGroupCommand extends client.Command | ||
| class UpdateDeploymentGroupCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("CodeDeploy_20141006", "UpdateDeploymentGroup", {}) | ||
| .n("CodeDeployClient", "UpdateDeploymentGroupCommand") | ||
| .sc(schemas_0.UpdateDeploymentGroup$) | ||
| .sc(UpdateDeploymentGroup$) | ||
| .build() { | ||
| } | ||
| const paginateListApplicationRevisions = core.createPaginator(CodeDeployClient, ListApplicationRevisionsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListApplicationRevisions = createPaginator(CodeDeployClient, ListApplicationRevisionsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListApplications = core.createPaginator(CodeDeployClient, ListApplicationsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListApplications = createPaginator(CodeDeployClient, ListApplicationsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeploymentConfigs = core.createPaginator(CodeDeployClient, ListDeploymentConfigsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeploymentConfigs = createPaginator(CodeDeployClient, ListDeploymentConfigsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeploymentGroups = core.createPaginator(CodeDeployClient, ListDeploymentGroupsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeploymentGroups = createPaginator(CodeDeployClient, ListDeploymentGroupsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeploymentInstances = core.createPaginator(CodeDeployClient, ListDeploymentInstancesCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeploymentInstances = createPaginator(CodeDeployClient, ListDeploymentInstancesCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeployments = core.createPaginator(CodeDeployClient, ListDeploymentsCommand, "nextToken", "nextToken", ""); | ||
| const paginateListDeployments = createPaginator(CodeDeployClient, ListDeploymentsCommand, "nextToken", "nextToken", ""); | ||
| const checkState = async (client$1, input) => { | ||
| const checkState = async (client, input) => { | ||
| let reason; | ||
| try { | ||
| let result = await client$1.send(new GetDeploymentCommand(input)); | ||
| let result = await client.send(new GetDeploymentCommand(input)); | ||
| reason = result; | ||
@@ -699,3 +702,3 @@ try { | ||
| if (returnComparator() === "Succeeded") { | ||
| return { state: client.WaiterState.SUCCESS, reason }; | ||
| return { state: WaiterState.SUCCESS, reason }; | ||
| } | ||
@@ -709,3 +712,3 @@ } | ||
| if (returnComparator() === "Failed") { | ||
| return { state: client.WaiterState.FAILURE, reason }; | ||
| return { state: WaiterState.FAILURE, reason }; | ||
| } | ||
@@ -719,3 +722,3 @@ } | ||
| if (returnComparator() === "Stopped") { | ||
| return { state: client.WaiterState.FAILURE, reason }; | ||
| return { state: WaiterState.FAILURE, reason }; | ||
| } | ||
@@ -728,12 +731,12 @@ } | ||
| } | ||
| return { state: client.WaiterState.RETRY, reason }; | ||
| return { state: WaiterState.RETRY, reason }; | ||
| }; | ||
| const waitForDeploymentSuccessful = async (params, input) => { | ||
| const serviceDefaults = { minDelay: 15, maxDelay: 120 }; | ||
| return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState); | ||
| return createWaiter({ ...serviceDefaults, ...params }, input, checkState); | ||
| }; | ||
| const waitUntilDeploymentSuccessful = async (params, input) => { | ||
| const serviceDefaults = { minDelay: 15, maxDelay: 120 }; | ||
| const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState); | ||
| return client.checkExceptions(result); | ||
| const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); | ||
| return checkExceptions(result); | ||
| }; | ||
@@ -803,3 +806,3 @@ | ||
| } | ||
| client.createAggregatedClient(commands, CodeDeploy, { paginators, waiters }); | ||
| createAggregatedClient(commands, CodeDeploy, { paginators, waiters }); | ||
@@ -1028,5 +1031,2 @@ const ComputePlatform = { | ||
| exports.$Command = client.Command; | ||
| exports.__Client = client.Client; | ||
| exports.CodeDeployServiceException = CodeDeployServiceException.CodeDeployServiceException; | ||
| exports.AddTagsToOnPremisesInstancesCommand = AddTagsToOnPremisesInstancesCommand; | ||
@@ -1123,21 +1123,1 @@ exports.ApplicationRevisionSortBy = ApplicationRevisionSortBy; | ||
| exports.waitUntilDeploymentSuccessful = waitUntilDeploymentSuccessful; | ||
| Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && | ||
| !Object.prototype.hasOwnProperty.call(exports, '__proto__') && | ||
| Object.defineProperty(exports, '__proto__', { | ||
| enumerable: true, | ||
| value: schemas_0['__proto__'] | ||
| }); | ||
| Object.keys(schemas_0).forEach(function (k) { | ||
| if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; | ||
| }); | ||
| Object.prototype.hasOwnProperty.call(errors, '__proto__') && | ||
| !Object.prototype.hasOwnProperty.call(exports, '__proto__') && | ||
| Object.defineProperty(exports, '__proto__', { | ||
| enumerable: true, | ||
| value: errors['__proto__'] | ||
| }); | ||
| Object.keys(errors).forEach(function (k) { | ||
| if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; | ||
| }); |
@@ -1,7 +0,4 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.CodeDeployServiceException = exports.__ServiceException = void 0; | ||
| const client_1 = require("@smithy/core/client"); | ||
| Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } }); | ||
| class CodeDeployServiceException extends client_1.ServiceException { | ||
| const { ServiceException: __ServiceException } = require("@smithy/core/client"); | ||
| exports.__ServiceException = __ServiceException; | ||
| exports.CodeDeployServiceException = class CodeDeployServiceException extends __ServiceException { | ||
| constructor(options) { | ||
@@ -11,3 +8,2 @@ super(options); | ||
| } | ||
| } | ||
| exports.CodeDeployServiceException = CodeDeployServiceException; | ||
| }; |
+221
-336
@@ -1,8 +0,3 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.InvalidRoleException = exports.InvalidLoadBalancerInfoException = exports.InvalidIgnoreApplicationStopFailuresValueException = exports.InvalidGitHubAccountTokenException = exports.InvalidFileExistsBehaviorException = exports.InvalidDeploymentConfigNameException = exports.InvalidAutoScalingGroupException = exports.InvalidAutoRollbackConfigException = exports.InvalidAlarmConfigException = exports.DescriptionTooLongException = exports.DeploymentLimitExceededException = exports.DeploymentGroupDoesNotExistException = exports.InvalidTagsToAddException = exports.UnsupportedActionForDeploymentTypeException = exports.InvalidDeploymentWaitTypeException = exports.InvalidDeploymentStatusException = exports.DeploymentIsNotInReadyStateException = exports.DeploymentAlreadyCompletedException = exports.BucketNameFilterRequiredException = exports.InvalidDeploymentTargetIdException = exports.InstanceDoesNotExistException = exports.DeploymentTargetListSizeExceededException = exports.DeploymentTargetIdRequiredException = exports.DeploymentTargetDoesNotExistException = exports.DeploymentNotStartedException = exports.InvalidDeploymentIdException = exports.InvalidComputePlatformException = exports.InstanceIdRequiredException = exports.DeploymentIdRequiredException = exports.DeploymentDoesNotExistException = exports.InvalidDeploymentGroupNameException = exports.DeploymentGroupNameRequiredException = exports.DeploymentConfigDoesNotExistException = exports.RevisionRequiredException = exports.InvalidRevisionException = exports.InvalidApplicationNameException = exports.BatchLimitExceededException = exports.ArnNotSupportedException = exports.ApplicationNameRequiredException = exports.ApplicationLimitExceededException = exports.ApplicationDoesNotExistException = exports.ApplicationAlreadyExistsException = exports.AlarmsLimitExceededException = exports.TagRequiredException = exports.TagLimitExceededException = exports.InvalidTagException = exports.InvalidInstanceNameException = exports.InstanceNotRegisteredException = exports.InstanceNameRequiredException = exports.InstanceLimitExceededException = void 0; | ||
| exports.InvalidLifecycleEventHookExecutionIdException = exports.ResourceArnRequiredException = exports.InvalidArnException = exports.InvalidTagFilterException = exports.InvalidRegistrationStatusException = exports.InvalidTimeRangeException = exports.InvalidExternalIdException = exports.InvalidTargetFilterNameException = exports.InvalidInstanceTypeException = exports.InvalidInstanceStatusException = exports.InvalidDeploymentInstanceTypeException = exports.InvalidSortOrderException = exports.InvalidSortByException = exports.InvalidNextTokenException = exports.InvalidKeyPrefixFilterException = exports.InvalidDeployedStateFilterException = exports.InvalidBucketNameFilterException = exports.ResourceValidationException = exports.OperationNotSupportedException = exports.InvalidGitHubAccountTokenNameException = exports.GitHubAccountTokenNameRequiredException = exports.GitHubAccountTokenDoesNotExistException = exports.InvalidOperationException = exports.DeploymentConfigInUseException = exports.TriggerTargetsLimitExceededException = exports.TagSetListLimitExceededException = exports.RoleRequiredException = exports.LifecycleHookLimitExceededException = exports.InvalidTriggerConfigException = exports.InvalidTargetGroupPairException = exports.InvalidOnPremisesTagCombinationException = exports.InvalidInputException = exports.InvalidECSServiceException = exports.InvalidEC2TagException = exports.InvalidEC2TagCombinationException = exports.InvalidDeploymentStyleException = exports.InvalidBlueGreenDeploymentConfigurationException = exports.ECSServiceMappingLimitExceededException = exports.DeploymentGroupLimitExceededException = exports.DeploymentGroupAlreadyExistsException = exports.InvalidZonalDeploymentConfigurationException = exports.InvalidMinimumHealthyHostValueException = exports.DeploymentConfigNameRequiredException = exports.DeploymentConfigLimitExceededException = exports.DeploymentConfigAlreadyExistsException = exports.ThrottlingException = exports.RevisionDoesNotExistException = exports.InvalidUpdateOutdatedInstancesOnlyValueException = exports.InvalidTrafficRoutingConfigurationException = exports.InvalidTargetInstancesException = void 0; | ||
| exports.MultipleIamArnsProvidedException = exports.InvalidIamUserArnException = exports.InvalidIamSessionArnException = exports.InstanceNameAlreadyRegisteredException = exports.IamUserArnRequiredException = exports.IamUserArnAlreadyRegisteredException = exports.IamSessionArnAlreadyRegisteredException = exports.IamArnRequiredException = exports.LifecycleEventAlreadyCompletedException = exports.InvalidLifecycleEventHookExecutionStatusException = void 0; | ||
| const CodeDeployServiceException_1 = require("./CodeDeployServiceException"); | ||
| class InstanceLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| const { CodeDeployServiceException: __BaseException } = require("./CodeDeployServiceException"); | ||
| exports.InstanceLimitExceededException = class InstanceLimitExceededException extends __BaseException { | ||
| name = "InstanceLimitExceededException"; | ||
@@ -18,5 +13,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InstanceLimitExceededException = InstanceLimitExceededException; | ||
| class InstanceNameRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InstanceNameRequiredException = class InstanceNameRequiredException extends __BaseException { | ||
| name = "InstanceNameRequiredException"; | ||
@@ -32,5 +26,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InstanceNameRequiredException = InstanceNameRequiredException; | ||
| class InstanceNotRegisteredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InstanceNotRegisteredException = class InstanceNotRegisteredException extends __BaseException { | ||
| name = "InstanceNotRegisteredException"; | ||
@@ -46,5 +39,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InstanceNotRegisteredException = InstanceNotRegisteredException; | ||
| class InvalidInstanceNameException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidInstanceNameException = class InvalidInstanceNameException extends __BaseException { | ||
| name = "InvalidInstanceNameException"; | ||
@@ -60,5 +52,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidInstanceNameException = InvalidInstanceNameException; | ||
| class InvalidTagException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTagException = class InvalidTagException extends __BaseException { | ||
| name = "InvalidTagException"; | ||
@@ -74,5 +65,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTagException = InvalidTagException; | ||
| class TagLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.TagLimitExceededException = class TagLimitExceededException extends __BaseException { | ||
| name = "TagLimitExceededException"; | ||
@@ -88,5 +78,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.TagLimitExceededException = TagLimitExceededException; | ||
| class TagRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.TagRequiredException = class TagRequiredException extends __BaseException { | ||
| name = "TagRequiredException"; | ||
@@ -102,5 +91,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.TagRequiredException = TagRequiredException; | ||
| class AlarmsLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.AlarmsLimitExceededException = class AlarmsLimitExceededException extends __BaseException { | ||
| name = "AlarmsLimitExceededException"; | ||
@@ -116,5 +104,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.AlarmsLimitExceededException = AlarmsLimitExceededException; | ||
| class ApplicationAlreadyExistsException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ApplicationAlreadyExistsException = class ApplicationAlreadyExistsException extends __BaseException { | ||
| name = "ApplicationAlreadyExistsException"; | ||
@@ -130,5 +117,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ApplicationAlreadyExistsException = ApplicationAlreadyExistsException; | ||
| class ApplicationDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ApplicationDoesNotExistException = class ApplicationDoesNotExistException extends __BaseException { | ||
| name = "ApplicationDoesNotExistException"; | ||
@@ -144,5 +130,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ApplicationDoesNotExistException = ApplicationDoesNotExistException; | ||
| class ApplicationLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ApplicationLimitExceededException = class ApplicationLimitExceededException extends __BaseException { | ||
| name = "ApplicationLimitExceededException"; | ||
@@ -158,5 +143,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ApplicationLimitExceededException = ApplicationLimitExceededException; | ||
| class ApplicationNameRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ApplicationNameRequiredException = class ApplicationNameRequiredException extends __BaseException { | ||
| name = "ApplicationNameRequiredException"; | ||
@@ -172,5 +156,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ApplicationNameRequiredException = ApplicationNameRequiredException; | ||
| class ArnNotSupportedException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ArnNotSupportedException = class ArnNotSupportedException extends __BaseException { | ||
| name = "ArnNotSupportedException"; | ||
@@ -186,5 +169,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ArnNotSupportedException = ArnNotSupportedException; | ||
| class BatchLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.BatchLimitExceededException = class BatchLimitExceededException extends __BaseException { | ||
| name = "BatchLimitExceededException"; | ||
@@ -200,5 +182,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.BatchLimitExceededException = BatchLimitExceededException; | ||
| class InvalidApplicationNameException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidApplicationNameException = class InvalidApplicationNameException extends __BaseException { | ||
| name = "InvalidApplicationNameException"; | ||
@@ -214,5 +195,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidApplicationNameException = InvalidApplicationNameException; | ||
| class InvalidRevisionException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidRevisionException = class InvalidRevisionException extends __BaseException { | ||
| name = "InvalidRevisionException"; | ||
@@ -228,5 +208,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidRevisionException = InvalidRevisionException; | ||
| class RevisionRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.RevisionRequiredException = class RevisionRequiredException extends __BaseException { | ||
| name = "RevisionRequiredException"; | ||
@@ -242,5 +221,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.RevisionRequiredException = RevisionRequiredException; | ||
| class DeploymentConfigDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentConfigDoesNotExistException = class DeploymentConfigDoesNotExistException extends __BaseException { | ||
| name = "DeploymentConfigDoesNotExistException"; | ||
@@ -256,5 +234,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentConfigDoesNotExistException = DeploymentConfigDoesNotExistException; | ||
| class DeploymentGroupNameRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentGroupNameRequiredException = class DeploymentGroupNameRequiredException extends __BaseException { | ||
| name = "DeploymentGroupNameRequiredException"; | ||
@@ -270,5 +247,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentGroupNameRequiredException = DeploymentGroupNameRequiredException; | ||
| class InvalidDeploymentGroupNameException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentGroupNameException = class InvalidDeploymentGroupNameException extends __BaseException { | ||
| name = "InvalidDeploymentGroupNameException"; | ||
@@ -284,5 +260,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentGroupNameException = InvalidDeploymentGroupNameException; | ||
| class DeploymentDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentDoesNotExistException = class DeploymentDoesNotExistException extends __BaseException { | ||
| name = "DeploymentDoesNotExistException"; | ||
@@ -298,5 +273,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentDoesNotExistException = DeploymentDoesNotExistException; | ||
| class DeploymentIdRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentIdRequiredException = class DeploymentIdRequiredException extends __BaseException { | ||
| name = "DeploymentIdRequiredException"; | ||
@@ -312,5 +286,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentIdRequiredException = DeploymentIdRequiredException; | ||
| class InstanceIdRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InstanceIdRequiredException = class InstanceIdRequiredException extends __BaseException { | ||
| name = "InstanceIdRequiredException"; | ||
@@ -326,5 +299,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InstanceIdRequiredException = InstanceIdRequiredException; | ||
| class InvalidComputePlatformException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidComputePlatformException = class InvalidComputePlatformException extends __BaseException { | ||
| name = "InvalidComputePlatformException"; | ||
@@ -340,5 +312,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidComputePlatformException = InvalidComputePlatformException; | ||
| class InvalidDeploymentIdException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentIdException = class InvalidDeploymentIdException extends __BaseException { | ||
| name = "InvalidDeploymentIdException"; | ||
@@ -354,5 +325,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentIdException = InvalidDeploymentIdException; | ||
| class DeploymentNotStartedException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentNotStartedException = class DeploymentNotStartedException extends __BaseException { | ||
| name = "DeploymentNotStartedException"; | ||
@@ -368,5 +338,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentNotStartedException = DeploymentNotStartedException; | ||
| class DeploymentTargetDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentTargetDoesNotExistException = class DeploymentTargetDoesNotExistException extends __BaseException { | ||
| name = "DeploymentTargetDoesNotExistException"; | ||
@@ -382,5 +351,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentTargetDoesNotExistException = DeploymentTargetDoesNotExistException; | ||
| class DeploymentTargetIdRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentTargetIdRequiredException = class DeploymentTargetIdRequiredException extends __BaseException { | ||
| name = "DeploymentTargetIdRequiredException"; | ||
@@ -396,5 +364,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentTargetIdRequiredException = DeploymentTargetIdRequiredException; | ||
| class DeploymentTargetListSizeExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentTargetListSizeExceededException = class DeploymentTargetListSizeExceededException extends __BaseException { | ||
| name = "DeploymentTargetListSizeExceededException"; | ||
@@ -410,5 +377,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentTargetListSizeExceededException = DeploymentTargetListSizeExceededException; | ||
| class InstanceDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InstanceDoesNotExistException = class InstanceDoesNotExistException extends __BaseException { | ||
| name = "InstanceDoesNotExistException"; | ||
@@ -424,5 +390,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InstanceDoesNotExistException = InstanceDoesNotExistException; | ||
| class InvalidDeploymentTargetIdException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentTargetIdException = class InvalidDeploymentTargetIdException extends __BaseException { | ||
| name = "InvalidDeploymentTargetIdException"; | ||
@@ -438,5 +403,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentTargetIdException = InvalidDeploymentTargetIdException; | ||
| class BucketNameFilterRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.BucketNameFilterRequiredException = class BucketNameFilterRequiredException extends __BaseException { | ||
| name = "BucketNameFilterRequiredException"; | ||
@@ -452,5 +416,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.BucketNameFilterRequiredException = BucketNameFilterRequiredException; | ||
| class DeploymentAlreadyCompletedException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentAlreadyCompletedException = class DeploymentAlreadyCompletedException extends __BaseException { | ||
| name = "DeploymentAlreadyCompletedException"; | ||
@@ -466,5 +429,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentAlreadyCompletedException = DeploymentAlreadyCompletedException; | ||
| class DeploymentIsNotInReadyStateException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentIsNotInReadyStateException = class DeploymentIsNotInReadyStateException extends __BaseException { | ||
| name = "DeploymentIsNotInReadyStateException"; | ||
@@ -480,5 +442,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentIsNotInReadyStateException = DeploymentIsNotInReadyStateException; | ||
| class InvalidDeploymentStatusException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentStatusException = class InvalidDeploymentStatusException extends __BaseException { | ||
| name = "InvalidDeploymentStatusException"; | ||
@@ -494,5 +455,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentStatusException = InvalidDeploymentStatusException; | ||
| class InvalidDeploymentWaitTypeException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentWaitTypeException = class InvalidDeploymentWaitTypeException extends __BaseException { | ||
| name = "InvalidDeploymentWaitTypeException"; | ||
@@ -508,5 +468,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentWaitTypeException = InvalidDeploymentWaitTypeException; | ||
| class UnsupportedActionForDeploymentTypeException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.UnsupportedActionForDeploymentTypeException = class UnsupportedActionForDeploymentTypeException extends __BaseException { | ||
| name = "UnsupportedActionForDeploymentTypeException"; | ||
@@ -522,5 +481,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.UnsupportedActionForDeploymentTypeException = UnsupportedActionForDeploymentTypeException; | ||
| class InvalidTagsToAddException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTagsToAddException = class InvalidTagsToAddException extends __BaseException { | ||
| name = "InvalidTagsToAddException"; | ||
@@ -536,5 +494,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTagsToAddException = InvalidTagsToAddException; | ||
| class DeploymentGroupDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentGroupDoesNotExistException = class DeploymentGroupDoesNotExistException extends __BaseException { | ||
| name = "DeploymentGroupDoesNotExistException"; | ||
@@ -550,5 +507,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentGroupDoesNotExistException = DeploymentGroupDoesNotExistException; | ||
| class DeploymentLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentLimitExceededException = class DeploymentLimitExceededException extends __BaseException { | ||
| name = "DeploymentLimitExceededException"; | ||
@@ -564,5 +520,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentLimitExceededException = DeploymentLimitExceededException; | ||
| class DescriptionTooLongException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DescriptionTooLongException = class DescriptionTooLongException extends __BaseException { | ||
| name = "DescriptionTooLongException"; | ||
@@ -578,5 +533,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DescriptionTooLongException = DescriptionTooLongException; | ||
| class InvalidAlarmConfigException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidAlarmConfigException = class InvalidAlarmConfigException extends __BaseException { | ||
| name = "InvalidAlarmConfigException"; | ||
@@ -592,5 +546,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidAlarmConfigException = InvalidAlarmConfigException; | ||
| class InvalidAutoRollbackConfigException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidAutoRollbackConfigException = class InvalidAutoRollbackConfigException extends __BaseException { | ||
| name = "InvalidAutoRollbackConfigException"; | ||
@@ -606,5 +559,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidAutoRollbackConfigException = InvalidAutoRollbackConfigException; | ||
| class InvalidAutoScalingGroupException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidAutoScalingGroupException = class InvalidAutoScalingGroupException extends __BaseException { | ||
| name = "InvalidAutoScalingGroupException"; | ||
@@ -620,5 +572,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidAutoScalingGroupException = InvalidAutoScalingGroupException; | ||
| class InvalidDeploymentConfigNameException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentConfigNameException = class InvalidDeploymentConfigNameException extends __BaseException { | ||
| name = "InvalidDeploymentConfigNameException"; | ||
@@ -634,5 +585,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentConfigNameException = InvalidDeploymentConfigNameException; | ||
| class InvalidFileExistsBehaviorException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidFileExistsBehaviorException = class InvalidFileExistsBehaviorException extends __BaseException { | ||
| name = "InvalidFileExistsBehaviorException"; | ||
@@ -648,5 +598,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidFileExistsBehaviorException = InvalidFileExistsBehaviorException; | ||
| class InvalidGitHubAccountTokenException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidGitHubAccountTokenException = class InvalidGitHubAccountTokenException extends __BaseException { | ||
| name = "InvalidGitHubAccountTokenException"; | ||
@@ -662,5 +611,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidGitHubAccountTokenException = InvalidGitHubAccountTokenException; | ||
| class InvalidIgnoreApplicationStopFailuresValueException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidIgnoreApplicationStopFailuresValueException = class InvalidIgnoreApplicationStopFailuresValueException extends __BaseException { | ||
| name = "InvalidIgnoreApplicationStopFailuresValueException"; | ||
@@ -676,5 +624,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidIgnoreApplicationStopFailuresValueException = InvalidIgnoreApplicationStopFailuresValueException; | ||
| class InvalidLoadBalancerInfoException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidLoadBalancerInfoException = class InvalidLoadBalancerInfoException extends __BaseException { | ||
| name = "InvalidLoadBalancerInfoException"; | ||
@@ -690,5 +637,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidLoadBalancerInfoException = InvalidLoadBalancerInfoException; | ||
| class InvalidRoleException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidRoleException = class InvalidRoleException extends __BaseException { | ||
| name = "InvalidRoleException"; | ||
@@ -704,5 +650,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidRoleException = InvalidRoleException; | ||
| class InvalidTargetInstancesException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTargetInstancesException = class InvalidTargetInstancesException extends __BaseException { | ||
| name = "InvalidTargetInstancesException"; | ||
@@ -718,5 +663,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTargetInstancesException = InvalidTargetInstancesException; | ||
| class InvalidTrafficRoutingConfigurationException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTrafficRoutingConfigurationException = class InvalidTrafficRoutingConfigurationException extends __BaseException { | ||
| name = "InvalidTrafficRoutingConfigurationException"; | ||
@@ -732,5 +676,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTrafficRoutingConfigurationException = InvalidTrafficRoutingConfigurationException; | ||
| class InvalidUpdateOutdatedInstancesOnlyValueException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidUpdateOutdatedInstancesOnlyValueException = class InvalidUpdateOutdatedInstancesOnlyValueException extends __BaseException { | ||
| name = "InvalidUpdateOutdatedInstancesOnlyValueException"; | ||
@@ -746,5 +689,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidUpdateOutdatedInstancesOnlyValueException = InvalidUpdateOutdatedInstancesOnlyValueException; | ||
| class RevisionDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.RevisionDoesNotExistException = class RevisionDoesNotExistException extends __BaseException { | ||
| name = "RevisionDoesNotExistException"; | ||
@@ -760,5 +702,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.RevisionDoesNotExistException = RevisionDoesNotExistException; | ||
| class ThrottlingException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ThrottlingException = class ThrottlingException extends __BaseException { | ||
| name = "ThrottlingException"; | ||
@@ -774,5 +715,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ThrottlingException = ThrottlingException; | ||
| class DeploymentConfigAlreadyExistsException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentConfigAlreadyExistsException = class DeploymentConfigAlreadyExistsException extends __BaseException { | ||
| name = "DeploymentConfigAlreadyExistsException"; | ||
@@ -788,5 +728,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentConfigAlreadyExistsException = DeploymentConfigAlreadyExistsException; | ||
| class DeploymentConfigLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentConfigLimitExceededException = class DeploymentConfigLimitExceededException extends __BaseException { | ||
| name = "DeploymentConfigLimitExceededException"; | ||
@@ -802,5 +741,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentConfigLimitExceededException = DeploymentConfigLimitExceededException; | ||
| class DeploymentConfigNameRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentConfigNameRequiredException = class DeploymentConfigNameRequiredException extends __BaseException { | ||
| name = "DeploymentConfigNameRequiredException"; | ||
@@ -816,5 +754,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentConfigNameRequiredException = DeploymentConfigNameRequiredException; | ||
| class InvalidMinimumHealthyHostValueException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidMinimumHealthyHostValueException = class InvalidMinimumHealthyHostValueException extends __BaseException { | ||
| name = "InvalidMinimumHealthyHostValueException"; | ||
@@ -830,5 +767,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidMinimumHealthyHostValueException = InvalidMinimumHealthyHostValueException; | ||
| class InvalidZonalDeploymentConfigurationException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidZonalDeploymentConfigurationException = class InvalidZonalDeploymentConfigurationException extends __BaseException { | ||
| name = "InvalidZonalDeploymentConfigurationException"; | ||
@@ -844,5 +780,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidZonalDeploymentConfigurationException = InvalidZonalDeploymentConfigurationException; | ||
| class DeploymentGroupAlreadyExistsException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentGroupAlreadyExistsException = class DeploymentGroupAlreadyExistsException extends __BaseException { | ||
| name = "DeploymentGroupAlreadyExistsException"; | ||
@@ -858,5 +793,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentGroupAlreadyExistsException = DeploymentGroupAlreadyExistsException; | ||
| class DeploymentGroupLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentGroupLimitExceededException = class DeploymentGroupLimitExceededException extends __BaseException { | ||
| name = "DeploymentGroupLimitExceededException"; | ||
@@ -872,5 +806,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentGroupLimitExceededException = DeploymentGroupLimitExceededException; | ||
| class ECSServiceMappingLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ECSServiceMappingLimitExceededException = class ECSServiceMappingLimitExceededException extends __BaseException { | ||
| name = "ECSServiceMappingLimitExceededException"; | ||
@@ -886,5 +819,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ECSServiceMappingLimitExceededException = ECSServiceMappingLimitExceededException; | ||
| class InvalidBlueGreenDeploymentConfigurationException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidBlueGreenDeploymentConfigurationException = class InvalidBlueGreenDeploymentConfigurationException extends __BaseException { | ||
| name = "InvalidBlueGreenDeploymentConfigurationException"; | ||
@@ -900,5 +832,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidBlueGreenDeploymentConfigurationException = InvalidBlueGreenDeploymentConfigurationException; | ||
| class InvalidDeploymentStyleException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentStyleException = class InvalidDeploymentStyleException extends __BaseException { | ||
| name = "InvalidDeploymentStyleException"; | ||
@@ -914,5 +845,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentStyleException = InvalidDeploymentStyleException; | ||
| class InvalidEC2TagCombinationException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidEC2TagCombinationException = class InvalidEC2TagCombinationException extends __BaseException { | ||
| name = "InvalidEC2TagCombinationException"; | ||
@@ -928,5 +858,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidEC2TagCombinationException = InvalidEC2TagCombinationException; | ||
| class InvalidEC2TagException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidEC2TagException = class InvalidEC2TagException extends __BaseException { | ||
| name = "InvalidEC2TagException"; | ||
@@ -942,5 +871,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidEC2TagException = InvalidEC2TagException; | ||
| class InvalidECSServiceException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidECSServiceException = class InvalidECSServiceException extends __BaseException { | ||
| name = "InvalidECSServiceException"; | ||
@@ -956,5 +884,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidECSServiceException = InvalidECSServiceException; | ||
| class InvalidInputException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidInputException = class InvalidInputException extends __BaseException { | ||
| name = "InvalidInputException"; | ||
@@ -970,5 +897,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidInputException = InvalidInputException; | ||
| class InvalidOnPremisesTagCombinationException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidOnPremisesTagCombinationException = class InvalidOnPremisesTagCombinationException extends __BaseException { | ||
| name = "InvalidOnPremisesTagCombinationException"; | ||
@@ -984,5 +910,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidOnPremisesTagCombinationException = InvalidOnPremisesTagCombinationException; | ||
| class InvalidTargetGroupPairException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTargetGroupPairException = class InvalidTargetGroupPairException extends __BaseException { | ||
| name = "InvalidTargetGroupPairException"; | ||
@@ -998,5 +923,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTargetGroupPairException = InvalidTargetGroupPairException; | ||
| class InvalidTriggerConfigException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTriggerConfigException = class InvalidTriggerConfigException extends __BaseException { | ||
| name = "InvalidTriggerConfigException"; | ||
@@ -1012,5 +936,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTriggerConfigException = InvalidTriggerConfigException; | ||
| class LifecycleHookLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.LifecycleHookLimitExceededException = class LifecycleHookLimitExceededException extends __BaseException { | ||
| name = "LifecycleHookLimitExceededException"; | ||
@@ -1026,5 +949,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.LifecycleHookLimitExceededException = LifecycleHookLimitExceededException; | ||
| class RoleRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.RoleRequiredException = class RoleRequiredException extends __BaseException { | ||
| name = "RoleRequiredException"; | ||
@@ -1040,5 +962,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.RoleRequiredException = RoleRequiredException; | ||
| class TagSetListLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.TagSetListLimitExceededException = class TagSetListLimitExceededException extends __BaseException { | ||
| name = "TagSetListLimitExceededException"; | ||
@@ -1054,5 +975,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.TagSetListLimitExceededException = TagSetListLimitExceededException; | ||
| class TriggerTargetsLimitExceededException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.TriggerTargetsLimitExceededException = class TriggerTargetsLimitExceededException extends __BaseException { | ||
| name = "TriggerTargetsLimitExceededException"; | ||
@@ -1068,5 +988,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.TriggerTargetsLimitExceededException = TriggerTargetsLimitExceededException; | ||
| class DeploymentConfigInUseException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.DeploymentConfigInUseException = class DeploymentConfigInUseException extends __BaseException { | ||
| name = "DeploymentConfigInUseException"; | ||
@@ -1082,5 +1001,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.DeploymentConfigInUseException = DeploymentConfigInUseException; | ||
| class InvalidOperationException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidOperationException = class InvalidOperationException extends __BaseException { | ||
| name = "InvalidOperationException"; | ||
@@ -1096,5 +1014,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidOperationException = InvalidOperationException; | ||
| class GitHubAccountTokenDoesNotExistException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.GitHubAccountTokenDoesNotExistException = class GitHubAccountTokenDoesNotExistException extends __BaseException { | ||
| name = "GitHubAccountTokenDoesNotExistException"; | ||
@@ -1110,5 +1027,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.GitHubAccountTokenDoesNotExistException = GitHubAccountTokenDoesNotExistException; | ||
| class GitHubAccountTokenNameRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.GitHubAccountTokenNameRequiredException = class GitHubAccountTokenNameRequiredException extends __BaseException { | ||
| name = "GitHubAccountTokenNameRequiredException"; | ||
@@ -1124,5 +1040,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.GitHubAccountTokenNameRequiredException = GitHubAccountTokenNameRequiredException; | ||
| class InvalidGitHubAccountTokenNameException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidGitHubAccountTokenNameException = class InvalidGitHubAccountTokenNameException extends __BaseException { | ||
| name = "InvalidGitHubAccountTokenNameException"; | ||
@@ -1138,5 +1053,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidGitHubAccountTokenNameException = InvalidGitHubAccountTokenNameException; | ||
| class OperationNotSupportedException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.OperationNotSupportedException = class OperationNotSupportedException extends __BaseException { | ||
| name = "OperationNotSupportedException"; | ||
@@ -1152,5 +1066,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.OperationNotSupportedException = OperationNotSupportedException; | ||
| class ResourceValidationException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ResourceValidationException = class ResourceValidationException extends __BaseException { | ||
| name = "ResourceValidationException"; | ||
@@ -1166,5 +1079,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ResourceValidationException = ResourceValidationException; | ||
| class InvalidBucketNameFilterException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidBucketNameFilterException = class InvalidBucketNameFilterException extends __BaseException { | ||
| name = "InvalidBucketNameFilterException"; | ||
@@ -1180,5 +1092,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidBucketNameFilterException = InvalidBucketNameFilterException; | ||
| class InvalidDeployedStateFilterException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeployedStateFilterException = class InvalidDeployedStateFilterException extends __BaseException { | ||
| name = "InvalidDeployedStateFilterException"; | ||
@@ -1194,5 +1105,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeployedStateFilterException = InvalidDeployedStateFilterException; | ||
| class InvalidKeyPrefixFilterException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidKeyPrefixFilterException = class InvalidKeyPrefixFilterException extends __BaseException { | ||
| name = "InvalidKeyPrefixFilterException"; | ||
@@ -1208,5 +1118,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidKeyPrefixFilterException = InvalidKeyPrefixFilterException; | ||
| class InvalidNextTokenException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidNextTokenException = class InvalidNextTokenException extends __BaseException { | ||
| name = "InvalidNextTokenException"; | ||
@@ -1222,5 +1131,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidNextTokenException = InvalidNextTokenException; | ||
| class InvalidSortByException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidSortByException = class InvalidSortByException extends __BaseException { | ||
| name = "InvalidSortByException"; | ||
@@ -1236,5 +1144,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidSortByException = InvalidSortByException; | ||
| class InvalidSortOrderException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidSortOrderException = class InvalidSortOrderException extends __BaseException { | ||
| name = "InvalidSortOrderException"; | ||
@@ -1250,5 +1157,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidSortOrderException = InvalidSortOrderException; | ||
| class InvalidDeploymentInstanceTypeException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidDeploymentInstanceTypeException = class InvalidDeploymentInstanceTypeException extends __BaseException { | ||
| name = "InvalidDeploymentInstanceTypeException"; | ||
@@ -1264,5 +1170,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidDeploymentInstanceTypeException = InvalidDeploymentInstanceTypeException; | ||
| class InvalidInstanceStatusException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidInstanceStatusException = class InvalidInstanceStatusException extends __BaseException { | ||
| name = "InvalidInstanceStatusException"; | ||
@@ -1278,5 +1183,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidInstanceStatusException = InvalidInstanceStatusException; | ||
| class InvalidInstanceTypeException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidInstanceTypeException = class InvalidInstanceTypeException extends __BaseException { | ||
| name = "InvalidInstanceTypeException"; | ||
@@ -1292,5 +1196,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidInstanceTypeException = InvalidInstanceTypeException; | ||
| class InvalidTargetFilterNameException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTargetFilterNameException = class InvalidTargetFilterNameException extends __BaseException { | ||
| name = "InvalidTargetFilterNameException"; | ||
@@ -1306,5 +1209,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTargetFilterNameException = InvalidTargetFilterNameException; | ||
| class InvalidExternalIdException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidExternalIdException = class InvalidExternalIdException extends __BaseException { | ||
| name = "InvalidExternalIdException"; | ||
@@ -1320,5 +1222,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidExternalIdException = InvalidExternalIdException; | ||
| class InvalidTimeRangeException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTimeRangeException = class InvalidTimeRangeException extends __BaseException { | ||
| name = "InvalidTimeRangeException"; | ||
@@ -1334,5 +1235,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTimeRangeException = InvalidTimeRangeException; | ||
| class InvalidRegistrationStatusException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidRegistrationStatusException = class InvalidRegistrationStatusException extends __BaseException { | ||
| name = "InvalidRegistrationStatusException"; | ||
@@ -1348,5 +1248,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidRegistrationStatusException = InvalidRegistrationStatusException; | ||
| class InvalidTagFilterException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidTagFilterException = class InvalidTagFilterException extends __BaseException { | ||
| name = "InvalidTagFilterException"; | ||
@@ -1362,5 +1261,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidTagFilterException = InvalidTagFilterException; | ||
| class InvalidArnException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidArnException = class InvalidArnException extends __BaseException { | ||
| name = "InvalidArnException"; | ||
@@ -1376,5 +1274,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidArnException = InvalidArnException; | ||
| class ResourceArnRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.ResourceArnRequiredException = class ResourceArnRequiredException extends __BaseException { | ||
| name = "ResourceArnRequiredException"; | ||
@@ -1390,5 +1287,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ResourceArnRequiredException = ResourceArnRequiredException; | ||
| class InvalidLifecycleEventHookExecutionIdException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidLifecycleEventHookExecutionIdException = class InvalidLifecycleEventHookExecutionIdException extends __BaseException { | ||
| name = "InvalidLifecycleEventHookExecutionIdException"; | ||
@@ -1404,5 +1300,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidLifecycleEventHookExecutionIdException = InvalidLifecycleEventHookExecutionIdException; | ||
| class InvalidLifecycleEventHookExecutionStatusException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidLifecycleEventHookExecutionStatusException = class InvalidLifecycleEventHookExecutionStatusException extends __BaseException { | ||
| name = "InvalidLifecycleEventHookExecutionStatusException"; | ||
@@ -1418,5 +1313,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidLifecycleEventHookExecutionStatusException = InvalidLifecycleEventHookExecutionStatusException; | ||
| class LifecycleEventAlreadyCompletedException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.LifecycleEventAlreadyCompletedException = class LifecycleEventAlreadyCompletedException extends __BaseException { | ||
| name = "LifecycleEventAlreadyCompletedException"; | ||
@@ -1432,5 +1326,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.LifecycleEventAlreadyCompletedException = LifecycleEventAlreadyCompletedException; | ||
| class IamArnRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.IamArnRequiredException = class IamArnRequiredException extends __BaseException { | ||
| name = "IamArnRequiredException"; | ||
@@ -1446,5 +1339,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.IamArnRequiredException = IamArnRequiredException; | ||
| class IamSessionArnAlreadyRegisteredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.IamSessionArnAlreadyRegisteredException = class IamSessionArnAlreadyRegisteredException extends __BaseException { | ||
| name = "IamSessionArnAlreadyRegisteredException"; | ||
@@ -1460,5 +1352,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.IamSessionArnAlreadyRegisteredException = IamSessionArnAlreadyRegisteredException; | ||
| class IamUserArnAlreadyRegisteredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.IamUserArnAlreadyRegisteredException = class IamUserArnAlreadyRegisteredException extends __BaseException { | ||
| name = "IamUserArnAlreadyRegisteredException"; | ||
@@ -1474,5 +1365,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.IamUserArnAlreadyRegisteredException = IamUserArnAlreadyRegisteredException; | ||
| class IamUserArnRequiredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.IamUserArnRequiredException = class IamUserArnRequiredException extends __BaseException { | ||
| name = "IamUserArnRequiredException"; | ||
@@ -1488,5 +1378,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.IamUserArnRequiredException = IamUserArnRequiredException; | ||
| class InstanceNameAlreadyRegisteredException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InstanceNameAlreadyRegisteredException = class InstanceNameAlreadyRegisteredException extends __BaseException { | ||
| name = "InstanceNameAlreadyRegisteredException"; | ||
@@ -1502,5 +1391,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InstanceNameAlreadyRegisteredException = InstanceNameAlreadyRegisteredException; | ||
| class InvalidIamSessionArnException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidIamSessionArnException = class InvalidIamSessionArnException extends __BaseException { | ||
| name = "InvalidIamSessionArnException"; | ||
@@ -1516,5 +1404,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidIamSessionArnException = InvalidIamSessionArnException; | ||
| class InvalidIamUserArnException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.InvalidIamUserArnException = class InvalidIamUserArnException extends __BaseException { | ||
| name = "InvalidIamUserArnException"; | ||
@@ -1530,5 +1417,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidIamUserArnException = InvalidIamUserArnException; | ||
| class MultipleIamArnsProvidedException extends CodeDeployServiceException_1.CodeDeployServiceException { | ||
| }; | ||
| exports.MultipleIamArnsProvidedException = class MultipleIamArnsProvidedException extends __BaseException { | ||
| name = "MultipleIamArnsProvidedException"; | ||
@@ -1544,3 +1430,2 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.MultipleIamArnsProvidedException = MultipleIamArnsProvidedException; | ||
| }; |
@@ -1,18 +0,14 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const tslib_1 = require("tslib"); | ||
| const package_json_1 = tslib_1.__importDefault(require("../package.json")); | ||
| const sha256_browser_1 = require("@aws-crypto/sha256-browser"); | ||
| const client_1 = require("@aws-sdk/core/client"); | ||
| const client_2 = require("@smithy/core/client"); | ||
| const config_1 = require("@smithy/core/config"); | ||
| const retry_1 = require("@smithy/core/retry"); | ||
| const serde_1 = require("@smithy/core/serde"); | ||
| const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); | ||
| const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); | ||
| const packageInfo = require("../package.json"); | ||
| const { Sha256 } = require("@aws-crypto/sha256-browser"); | ||
| const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client"); | ||
| const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client"); | ||
| const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config"); | ||
| const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry"); | ||
| const { calculateBodyLength } = require("@smithy/core/serde"); | ||
| const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler"); | ||
| const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared"); | ||
| const getRuntimeConfig = (config) => { | ||
| const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode); | ||
| const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); | ||
| const defaultsMode = resolveDefaultsModeConfig(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); | ||
| const clientSharedValues = getSharedRuntimeConfig(config); | ||
| return { | ||
@@ -23,15 +19,15 @@ ...clientSharedValues, | ||
| defaultsMode, | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength, | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, | ||
| credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
| maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS, | ||
| region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"), | ||
| requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE), | ||
| sha256: config?.sha256 ?? sha256_browser_1.Sha256, | ||
| streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)), | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
| maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, | ||
| region: config?.region ?? invalidProvider("Region is missing"), | ||
| requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), | ||
| sha256: config?.sha256 ?? Sha256, | ||
| streamCollector: config?.streamCollector ?? streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
@@ -1,21 +0,17 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const tslib_1 = require("tslib"); | ||
| const package_json_1 = tslib_1.__importDefault(require("../package.json")); | ||
| const client_1 = require("@aws-sdk/core/client"); | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const credential_provider_node_1 = require("@aws-sdk/credential-provider-node"); | ||
| const client_2 = require("@smithy/core/client"); | ||
| const config_1 = require("@smithy/core/config"); | ||
| const retry_1 = require("@smithy/core/retry"); | ||
| const serde_1 = require("@smithy/core/serde"); | ||
| const node_http_handler_1 = require("@smithy/node-http-handler"); | ||
| const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); | ||
| const packageInfo = require("../package.json"); | ||
| const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client"); | ||
| const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node"); | ||
| const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client"); | ||
| const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config"); | ||
| const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry"); | ||
| const { calculateBodyLength, Hash } = require("@smithy/core/serde"); | ||
| const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler"); | ||
| const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared"); | ||
| const getRuntimeConfig = (config) => { | ||
| (0, client_2.emitWarningIfUnsupportedVersion)(process.version); | ||
| const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode); | ||
| const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); | ||
| (0, client_1.emitWarningIfUnsupportedVersion)(process.version); | ||
| emitWarningIfUnsupportedVersion(process.version); | ||
| const defaultsMode = resolveDefaultsModeConfig(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); | ||
| const clientSharedValues = getSharedRuntimeConfig(config); | ||
| awsCheckVersion(process.version); | ||
| const loaderConfig = { | ||
@@ -30,21 +26,21 @@ profile: config?.profile, | ||
| defaultsMode, | ||
| authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength, | ||
| credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
| maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), | ||
| region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), | ||
| requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, | ||
| credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
| maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), | ||
| region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), | ||
| requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| retryMode: config?.retryMode ?? | ||
| (0, config_1.loadConfig)({ | ||
| ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, | ||
| default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE, | ||
| loadNodeConfig({ | ||
| ...NODE_RETRY_MODE_CONFIG_OPTIONS, | ||
| default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, | ||
| }, config), | ||
| sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"), | ||
| streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), | ||
| sha256: config?.sha256 ?? Hash.bind(null, "sha256"), | ||
| streamCollector: config?.streamCollector ?? streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
@@ -1,8 +0,5 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const sha256_js_1 = require("@aws-crypto/sha256-js"); | ||
| const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); | ||
| const { Sha256 } = require("@aws-crypto/sha256-js"); | ||
| const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser"); | ||
| const getRuntimeConfig = (config) => { | ||
| const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); | ||
| const browserDefaults = getBrowserRuntimeConfig(config); | ||
| return { | ||
@@ -12,5 +9,5 @@ ...browserDefaults, | ||
| runtime: "react-native", | ||
| sha256: config?.sha256 ?? sha256_js_1.Sha256, | ||
| sha256: config?.sha256 ?? Sha256, | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
@@ -1,21 +0,18 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const protocols_1 = require("@aws-sdk/core/protocols"); | ||
| const client_1 = require("@smithy/core/client"); | ||
| const protocols_2 = require("@smithy/core/protocols"); | ||
| const serde_1 = require("@smithy/core/serde"); | ||
| const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); | ||
| const endpointResolver_1 = require("./endpoint/endpointResolver"); | ||
| const schemas_0_1 = require("./schemas/schemas_0"); | ||
| const getRuntimeConfig = (config) => { | ||
| const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols"); | ||
| const { NoOpLogger } = require("@smithy/core/client"); | ||
| const { parseUrl } = require("@smithy/core/protocols"); | ||
| const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde"); | ||
| const { defaultCodeDeployHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider"); | ||
| const { defaultEndpointResolver } = require("./endpoint/endpointResolver"); | ||
| const { errorTypeRegistries } = require("./schemas/schemas_0"); | ||
| exports.getRuntimeConfig = (config) => { | ||
| return { | ||
| apiVersion: "2014-10-06", | ||
| base64Decoder: config?.base64Decoder ?? serde_1.fromBase64, | ||
| base64Encoder: config?.base64Encoder ?? serde_1.toBase64, | ||
| base64Decoder: config?.base64Decoder ?? fromBase64, | ||
| base64Encoder: config?.base64Encoder ?? toBase64, | ||
| disableHostPrefix: config?.disableHostPrefix ?? false, | ||
| endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, | ||
| endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, | ||
| extensions: config?.extensions ?? [], | ||
| httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCodeDeployHttpAuthSchemeProvider, | ||
| httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCodeDeployHttpAuthSchemeProvider, | ||
| httpAuthSchemes: config?.httpAuthSchemes ?? [ | ||
@@ -25,10 +22,10 @@ { | ||
| identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), | ||
| signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), | ||
| signer: new AwsSdkSigV4Signer(), | ||
| }, | ||
| ], | ||
| logger: config?.logger ?? new client_1.NoOpLogger(), | ||
| protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol, | ||
| logger: config?.logger ?? new NoOpLogger(), | ||
| protocol: config?.protocol ?? AwsJson1_1Protocol, | ||
| protocolSettings: config?.protocolSettings ?? { | ||
| defaultNamespace: "com.amazonaws.codedeploy", | ||
| errorTypeRegistries: schemas_0_1.errorTypeRegistries, | ||
| errorTypeRegistries, | ||
| xmlNamespace: "http://codedeploy.amazonaws.com/doc/2014-10-06/", | ||
@@ -39,7 +36,6 @@ version: "2014-10-06", | ||
| serviceId: config?.serviceId ?? "CodeDeploy", | ||
| urlParser: config?.urlParser ?? protocols_2.parseUrl, | ||
| utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8, | ||
| utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8, | ||
| urlParser: config?.urlParser ?? parseUrl, | ||
| utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
| utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
+8
-8
| { | ||
| "name": "@aws-sdk/client-codedeploy", | ||
| "description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native", | ||
| "version": "3.1068.0", | ||
| "version": "3.1069.0", | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "build:cjs": "node ../../scripts/compilation/inline", | ||
| "build:es": "tsc -p tsconfig.es.json", | ||
| "build:es": "premove dist-es && tsc -p tsconfig.es.json", | ||
| "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", | ||
| "build:types": "tsc -p tsconfig.types.json", | ||
| "build:types": "premove dist-types && tsc -p tsconfig.types.json", | ||
| "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
| "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", | ||
| "clean": "premove dist-cjs dist-es dist-types", | ||
| "extract:docs": "api-extractor run --local", | ||
| "generate:client": "node ../../scripts/generate-clients/single-service --solo codedeploy", | ||
| "generate:client": "node ../../scripts/generate-clients/single-service", | ||
| "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts", | ||
@@ -26,5 +26,5 @@ "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts", | ||
| "@aws-crypto/sha256-js": "5.2.0", | ||
| "@aws-sdk/core": "^3.974.20", | ||
| "@aws-sdk/credential-provider-node": "^3.972.55", | ||
| "@aws-sdk/types": "^3.973.12", | ||
| "@aws-sdk/core": "^3.974.21", | ||
| "@aws-sdk/credential-provider-node": "^3.972.56", | ||
| "@aws-sdk/types": "^3.973.13", | ||
| "@smithy/core": "^3.24.6", | ||
@@ -31,0 +31,0 @@ "@smithy/fetch-http-handler": "^5.4.6", |
Sorry, the diff of this file is too big to display
30921
0.13%1271681
-0.72%