@cdklabs/cdk-ecs-codedeploy
Version:
CDK Constructs for performing ECS Deployments with CodeDeploy
1,415 lines (1,395 loc) • 258 kB
JavaScript
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/index.ts
var index_exports = {};
__export(index_exports, {
AddTagsToOnPremisesInstancesCommand: () => AddTagsToOnPremisesInstancesCommand,
AlarmsLimitExceededException: () => AlarmsLimitExceededException,
ApplicationAlreadyExistsException: () => ApplicationAlreadyExistsException,
ApplicationDoesNotExistException: () => ApplicationDoesNotExistException,
ApplicationLimitExceededException: () => ApplicationLimitExceededException,
ApplicationNameRequiredException: () => ApplicationNameRequiredException,
ApplicationRevisionSortBy: () => ApplicationRevisionSortBy,
ArnNotSupportedException: () => ArnNotSupportedException,
AutoRollbackEvent: () => AutoRollbackEvent,
BatchGetApplicationRevisionsCommand: () => BatchGetApplicationRevisionsCommand,
BatchGetApplicationsCommand: () => BatchGetApplicationsCommand,
BatchGetDeploymentGroupsCommand: () => BatchGetDeploymentGroupsCommand,
BatchGetDeploymentInstancesCommand: () => BatchGetDeploymentInstancesCommand,
BatchGetDeploymentTargetsCommand: () => BatchGetDeploymentTargetsCommand,
BatchGetDeploymentsCommand: () => BatchGetDeploymentsCommand,
BatchGetOnPremisesInstancesCommand: () => BatchGetOnPremisesInstancesCommand,
BatchLimitExceededException: () => BatchLimitExceededException,
BucketNameFilterRequiredException: () => BucketNameFilterRequiredException,
BundleType: () => BundleType,
CodeDeploy: () => CodeDeploy,
CodeDeployClient: () => CodeDeployClient,
CodeDeployServiceException: () => CodeDeployServiceException,
ComputePlatform: () => ComputePlatform,
ContinueDeploymentCommand: () => ContinueDeploymentCommand,
CreateApplicationCommand: () => CreateApplicationCommand,
CreateDeploymentCommand: () => CreateDeploymentCommand,
CreateDeploymentConfigCommand: () => CreateDeploymentConfigCommand,
CreateDeploymentGroupCommand: () => CreateDeploymentGroupCommand,
DeleteApplicationCommand: () => DeleteApplicationCommand,
DeleteDeploymentConfigCommand: () => DeleteDeploymentConfigCommand,
DeleteDeploymentGroupCommand: () => DeleteDeploymentGroupCommand,
DeleteGitHubAccountTokenCommand: () => DeleteGitHubAccountTokenCommand,
DeleteResourcesByExternalIdCommand: () => DeleteResourcesByExternalIdCommand,
DeploymentAlreadyCompletedException: () => DeploymentAlreadyCompletedException,
DeploymentConfigAlreadyExistsException: () => DeploymentConfigAlreadyExistsException,
DeploymentConfigDoesNotExistException: () => DeploymentConfigDoesNotExistException,
DeploymentConfigInUseException: () => DeploymentConfigInUseException,
DeploymentConfigLimitExceededException: () => DeploymentConfigLimitExceededException,
DeploymentConfigNameRequiredException: () => DeploymentConfigNameRequiredException,
DeploymentCreator: () => DeploymentCreator,
DeploymentDoesNotExistException: () => DeploymentDoesNotExistException,
DeploymentGroupAlreadyExistsException: () => DeploymentGroupAlreadyExistsException,
DeploymentGroupDoesNotExistException: () => DeploymentGroupDoesNotExistException,
DeploymentGroupLimitExceededException: () => DeploymentGroupLimitExceededException,
DeploymentGroupNameRequiredException: () => DeploymentGroupNameRequiredException,
DeploymentIdRequiredException: () => DeploymentIdRequiredException,
DeploymentIsNotInReadyStateException: () => DeploymentIsNotInReadyStateException,
DeploymentLimitExceededException: () => DeploymentLimitExceededException,
DeploymentNotStartedException: () => DeploymentNotStartedException,
DeploymentOption: () => DeploymentOption,
DeploymentReadyAction: () => DeploymentReadyAction,
DeploymentStatus: () => DeploymentStatus,
DeploymentTargetDoesNotExistException: () => DeploymentTargetDoesNotExistException,
DeploymentTargetIdRequiredException: () => DeploymentTargetIdRequiredException,
DeploymentTargetListSizeExceededException: () => DeploymentTargetListSizeExceededException,
DeploymentTargetType: () => DeploymentTargetType,
DeploymentType: () => DeploymentType,
DeploymentWaitType: () => DeploymentWaitType,
DeregisterOnPremisesInstanceCommand: () => DeregisterOnPremisesInstanceCommand,
DescriptionTooLongException: () => DescriptionTooLongException,
EC2TagFilterType: () => EC2TagFilterType,
ECSServiceMappingLimitExceededException: () => ECSServiceMappingLimitExceededException,
ErrorCode: () => ErrorCode,
FileExistsBehavior: () => FileExistsBehavior,
GetApplicationCommand: () => GetApplicationCommand,
GetApplicationRevisionCommand: () => GetApplicationRevisionCommand,
GetDeploymentCommand: () => GetDeploymentCommand,
GetDeploymentConfigCommand: () => GetDeploymentConfigCommand,
GetDeploymentGroupCommand: () => GetDeploymentGroupCommand,
GetDeploymentInstanceCommand: () => GetDeploymentInstanceCommand,
GetDeploymentTargetCommand: () => GetDeploymentTargetCommand,
GetOnPremisesInstanceCommand: () => GetOnPremisesInstanceCommand,
GitHubAccountTokenDoesNotExistException: () => GitHubAccountTokenDoesNotExistException,
GitHubAccountTokenNameRequiredException: () => GitHubAccountTokenNameRequiredException,
GreenFleetProvisioningAction: () => GreenFleetProvisioningAction,
IamArnRequiredException: () => IamArnRequiredException,
IamSessionArnAlreadyRegisteredException: () => IamSessionArnAlreadyRegisteredException,
IamUserArnAlreadyRegisteredException: () => IamUserArnAlreadyRegisteredException,
IamUserArnRequiredException: () => IamUserArnRequiredException,
InstanceAction: () => InstanceAction,
InstanceDoesNotExistException: () => InstanceDoesNotExistException,
InstanceIdRequiredException: () => InstanceIdRequiredException,
InstanceLimitExceededException: () => InstanceLimitExceededException,
InstanceNameAlreadyRegisteredException: () => InstanceNameAlreadyRegisteredException,
InstanceNameRequiredException: () => InstanceNameRequiredException,
InstanceNotRegisteredException: () => InstanceNotRegisteredException,
InstanceStatus: () => InstanceStatus,
InvalidAlarmConfigException: () => InvalidAlarmConfigException,
InvalidApplicationNameException: () => InvalidApplicationNameException,
InvalidArnException: () => InvalidArnException,
InvalidAutoRollbackConfigException: () => InvalidAutoRollbackConfigException,
InvalidAutoScalingGroupException: () => InvalidAutoScalingGroupException,
InvalidBlueGreenDeploymentConfigurationException: () => InvalidBlueGreenDeploymentConfigurationException,
InvalidBucketNameFilterException: () => InvalidBucketNameFilterException,
InvalidComputePlatformException: () => InvalidComputePlatformException,
InvalidDeployedStateFilterException: () => InvalidDeployedStateFilterException,
InvalidDeploymentConfigNameException: () => InvalidDeploymentConfigNameException,
InvalidDeploymentGroupNameException: () => InvalidDeploymentGroupNameException,
InvalidDeploymentIdException: () => InvalidDeploymentIdException,
InvalidDeploymentInstanceTypeException: () => InvalidDeploymentInstanceTypeException,
InvalidDeploymentStatusException: () => InvalidDeploymentStatusException,
InvalidDeploymentStyleException: () => InvalidDeploymentStyleException,
InvalidDeploymentTargetIdException: () => InvalidDeploymentTargetIdException,
InvalidDeploymentWaitTypeException: () => InvalidDeploymentWaitTypeException,
InvalidEC2TagCombinationException: () => InvalidEC2TagCombinationException,
InvalidEC2TagException: () => InvalidEC2TagException,
InvalidECSServiceException: () => InvalidECSServiceException,
InvalidExternalIdException: () => InvalidExternalIdException,
InvalidFileExistsBehaviorException: () => InvalidFileExistsBehaviorException,
InvalidGitHubAccountTokenException: () => InvalidGitHubAccountTokenException,
InvalidGitHubAccountTokenNameException: () => InvalidGitHubAccountTokenNameException,
InvalidIamSessionArnException: () => InvalidIamSessionArnException,
InvalidIamUserArnException: () => InvalidIamUserArnException,
InvalidIgnoreApplicationStopFailuresValueException: () => InvalidIgnoreApplicationStopFailuresValueException,
InvalidInputException: () => InvalidInputException,
InvalidInstanceNameException: () => InvalidInstanceNameException,
InvalidInstanceStatusException: () => InvalidInstanceStatusException,
InvalidInstanceTypeException: () => InvalidInstanceTypeException,
InvalidKeyPrefixFilterException: () => InvalidKeyPrefixFilterException,
InvalidLifecycleEventHookExecutionIdException: () => InvalidLifecycleEventHookExecutionIdException,
InvalidLifecycleEventHookExecutionStatusException: () => InvalidLifecycleEventHookExecutionStatusException,
InvalidLoadBalancerInfoException: () => InvalidLoadBalancerInfoException,
InvalidMinimumHealthyHostValueException: () => InvalidMinimumHealthyHostValueException,
InvalidNextTokenException: () => InvalidNextTokenException,
InvalidOnPremisesTagCombinationException: () => InvalidOnPremisesTagCombinationException,
InvalidOperationException: () => InvalidOperationException,
InvalidRegistrationStatusException: () => InvalidRegistrationStatusException,
InvalidRevisionException: () => InvalidRevisionException,
InvalidRoleException: () => InvalidRoleException,
InvalidSortByException: () => InvalidSortByException,
InvalidSortOrderException: () => InvalidSortOrderException,
InvalidTagException: () => InvalidTagException,
InvalidTagFilterException: () => InvalidTagFilterException,
InvalidTagsToAddException: () => InvalidTagsToAddException,
InvalidTargetFilterNameException: () => InvalidTargetFilterNameException,
InvalidTargetGroupPairException: () => InvalidTargetGroupPairException,
InvalidTargetInstancesException: () => InvalidTargetInstancesException,
InvalidTimeRangeException: () => InvalidTimeRangeException,
InvalidTrafficRoutingConfigurationException: () => InvalidTrafficRoutingConfigurationException,
InvalidTriggerConfigException: () => InvalidTriggerConfigException,
InvalidUpdateOutdatedInstancesOnlyValueException: () => InvalidUpdateOutdatedInstancesOnlyValueException,
InvalidZonalDeploymentConfigurationException: () => InvalidZonalDeploymentConfigurationException,
LifecycleErrorCode: () => LifecycleErrorCode,
LifecycleEventAlreadyCompletedException: () => LifecycleEventAlreadyCompletedException,
LifecycleEventStatus: () => LifecycleEventStatus,
LifecycleHookLimitExceededException: () => LifecycleHookLimitExceededException,
ListApplicationRevisionsCommand: () => ListApplicationRevisionsCommand,
ListApplicationsCommand: () => ListApplicationsCommand,
ListDeploymentConfigsCommand: () => ListDeploymentConfigsCommand,
ListDeploymentGroupsCommand: () => ListDeploymentGroupsCommand,
ListDeploymentInstancesCommand: () => ListDeploymentInstancesCommand,
ListDeploymentTargetsCommand: () => ListDeploymentTargetsCommand,
ListDeploymentsCommand: () => ListDeploymentsCommand,
ListGitHubAccountTokenNamesCommand: () => ListGitHubAccountTokenNamesCommand,
ListOnPremisesInstancesCommand: () => ListOnPremisesInstancesCommand,
ListStateFilterAction: () => ListStateFilterAction,
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
MinimumHealthyHostsPerZoneType: () => MinimumHealthyHostsPerZoneType,
MinimumHealthyHostsType: () => MinimumHealthyHostsType,
MultipleIamArnsProvidedException: () => MultipleIamArnsProvidedException,
OperationNotSupportedException: () => OperationNotSupportedException,
OutdatedInstancesStrategy: () => OutdatedInstancesStrategy,
PutLifecycleEventHookExecutionStatusCommand: () => PutLifecycleEventHookExecutionStatusCommand,
RegisterApplicationRevisionCommand: () => RegisterApplicationRevisionCommand,
RegisterOnPremisesInstanceCommand: () => RegisterOnPremisesInstanceCommand,
RegistrationStatus: () => RegistrationStatus,
RemoveTagsFromOnPremisesInstancesCommand: () => RemoveTagsFromOnPremisesInstancesCommand,
ResourceArnRequiredException: () => ResourceArnRequiredException,
ResourceValidationException: () => ResourceValidationException,
RevisionDoesNotExistException: () => RevisionDoesNotExistException,
RevisionLocationType: () => RevisionLocationType,
RevisionRequiredException: () => RevisionRequiredException,
RoleRequiredException: () => RoleRequiredException,
SkipWaitTimeForInstanceTerminationCommand: () => SkipWaitTimeForInstanceTerminationCommand,
SortOrder: () => SortOrder,
StopDeploymentCommand: () => StopDeploymentCommand,
StopStatus: () => StopStatus,
TagFilterType: () => TagFilterType,
TagLimitExceededException: () => TagLimitExceededException,
TagRequiredException: () => TagRequiredException,
TagResourceCommand: () => TagResourceCommand,
TagSetListLimitExceededException: () => TagSetListLimitExceededException,
TargetFilterName: () => TargetFilterName,
TargetLabel: () => TargetLabel,
TargetStatus: () => TargetStatus,
ThrottlingException: () => ThrottlingException,
TrafficRoutingType: () => TrafficRoutingType,
TriggerEventType: () => TriggerEventType,
TriggerTargetsLimitExceededException: () => TriggerTargetsLimitExceededException,
UnsupportedActionForDeploymentTypeException: () => UnsupportedActionForDeploymentTypeException,
UntagResourceCommand: () => UntagResourceCommand,
UpdateApplicationCommand: () => UpdateApplicationCommand,
UpdateDeploymentGroupCommand: () => UpdateDeploymentGroupCommand,
_InstanceType: () => _InstanceType,
__Client: () => import_smithy_client.Client,
paginateListApplicationRevisions: () => paginateListApplicationRevisions,
paginateListApplications: () => paginateListApplications,
paginateListDeploymentConfigs: () => paginateListDeploymentConfigs,
paginateListDeploymentGroups: () => paginateListDeploymentGroups,
paginateListDeploymentInstances: () => paginateListDeploymentInstances,
paginateListDeployments: () => paginateListDeployments,
waitForDeploymentSuccessful: () => waitForDeploymentSuccessful,
waitUntilDeploymentSuccessful: () => waitUntilDeploymentSuccessful
});
module.exports = __toCommonJS(index_exports);
// src/CodeDeployClient.ts
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
var import_middleware_logger = require("@aws-sdk/middleware-logger");
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
var import_config_resolver = require("@smithy/config-resolver");
var import_core = require("@smithy/core");
var import_middleware_content_length = require("@smithy/middleware-content-length");
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
var import_middleware_retry = require("@smithy/middleware-retry");
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
// src/endpoint/EndpointParameters.ts
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
return Object.assign(options, {
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
useFipsEndpoint: options.useFipsEndpoint ?? false,
defaultSigningName: "codedeploy"
});
}, "resolveClientEndpointParameters");
var commonParams = {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
};
// src/CodeDeployClient.ts
var import_runtimeConfig = require("././runtimeConfig");
// src/runtimeExtensions.ts
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
var import_protocol_http = require("@smithy/protocol-http");
var import_smithy_client = require("@smithy/smithy-client");
// src/auth/httpAuthExtensionConfiguration.ts
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
let _credentials = runtimeConfig.credentials;
return {
setHttpAuthScheme(httpAuthScheme) {
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
if (index === -1) {
_httpAuthSchemes.push(httpAuthScheme);
} else {
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
}
},
httpAuthSchemes() {
return _httpAuthSchemes;
},
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
_httpAuthSchemeProvider = httpAuthSchemeProvider;
},
httpAuthSchemeProvider() {
return _httpAuthSchemeProvider;
},
setCredentials(credentials) {
_credentials = credentials;
},
credentials() {
return _credentials;
}
};
}, "getHttpAuthExtensionConfiguration");
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
return {
httpAuthSchemes: config.httpAuthSchemes(),
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
credentials: config.credentials()
};
}, "resolveHttpAuthRuntimeConfig");
// src/runtimeExtensions.ts
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
const extensionConfiguration = Object.assign(
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
getHttpAuthExtensionConfiguration(runtimeConfig)
);
extensions.forEach((extension) => extension.configure(extensionConfiguration));
return Object.assign(
runtimeConfig,
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
resolveHttpAuthRuntimeConfig(extensionConfiguration)
);
}, "resolveRuntimeExtensions");
// src/CodeDeployClient.ts
var CodeDeployClient = class extends import_smithy_client.Client {
static {
__name(this, "CodeDeployClient");
}
/**
* The resolved configuration of CodeDeployClient class. This is resolved and normalized from the {@link CodeDeployClientConfig | constructor configuration interface}.
*/
config;
constructor(...[configuration]) {
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
super(_config_0);
this.initConfig = _config_0;
const _config_1 = resolveClientEndpointParameters(_config_0);
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
this.config = _config_8;
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
this.middlewareStack.use(
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCodeDeployHttpAuthSchemeParametersProvider,
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials
}), "identityProviderConfigProvider")
})
);
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
}
/**
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
*/
destroy() {
super.destroy();
}
};
// src/CodeDeploy.ts
// src/commands/AddTagsToOnPremisesInstancesCommand.ts
var import_middleware_serde = require("@smithy/middleware-serde");
// src/protocols/Aws_json1_1.ts
var import_core2 = require("@aws-sdk/core");
// src/models/CodeDeployServiceException.ts
var CodeDeployServiceException = class _CodeDeployServiceException extends import_smithy_client.ServiceException {
static {
__name(this, "CodeDeployServiceException");
}
/**
* @internal
*/
constructor(options) {
super(options);
Object.setPrototypeOf(this, _CodeDeployServiceException.prototype);
}
};
// src/models/models_0.ts
var InstanceLimitExceededException = class _InstanceLimitExceededException extends CodeDeployServiceException {
static {
__name(this, "InstanceLimitExceededException");
}
name = "InstanceLimitExceededException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InstanceLimitExceededException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InstanceLimitExceededException.prototype);
}
};
var InstanceNameRequiredException = class _InstanceNameRequiredException extends CodeDeployServiceException {
static {
__name(this, "InstanceNameRequiredException");
}
name = "InstanceNameRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InstanceNameRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InstanceNameRequiredException.prototype);
}
};
var InstanceNotRegisteredException = class _InstanceNotRegisteredException extends CodeDeployServiceException {
static {
__name(this, "InstanceNotRegisteredException");
}
name = "InstanceNotRegisteredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InstanceNotRegisteredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InstanceNotRegisteredException.prototype);
}
};
var InvalidInstanceNameException = class _InvalidInstanceNameException extends CodeDeployServiceException {
static {
__name(this, "InvalidInstanceNameException");
}
name = "InvalidInstanceNameException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidInstanceNameException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidInstanceNameException.prototype);
}
};
var InvalidTagException = class _InvalidTagException extends CodeDeployServiceException {
static {
__name(this, "InvalidTagException");
}
name = "InvalidTagException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidTagException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidTagException.prototype);
}
};
var TagLimitExceededException = class _TagLimitExceededException extends CodeDeployServiceException {
static {
__name(this, "TagLimitExceededException");
}
name = "TagLimitExceededException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "TagLimitExceededException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _TagLimitExceededException.prototype);
}
};
var TagRequiredException = class _TagRequiredException extends CodeDeployServiceException {
static {
__name(this, "TagRequiredException");
}
name = "TagRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "TagRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _TagRequiredException.prototype);
}
};
var AlarmsLimitExceededException = class _AlarmsLimitExceededException extends CodeDeployServiceException {
static {
__name(this, "AlarmsLimitExceededException");
}
name = "AlarmsLimitExceededException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "AlarmsLimitExceededException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _AlarmsLimitExceededException.prototype);
}
};
var ApplicationAlreadyExistsException = class _ApplicationAlreadyExistsException extends CodeDeployServiceException {
static {
__name(this, "ApplicationAlreadyExistsException");
}
name = "ApplicationAlreadyExistsException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "ApplicationAlreadyExistsException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _ApplicationAlreadyExistsException.prototype);
}
};
var ApplicationDoesNotExistException = class _ApplicationDoesNotExistException extends CodeDeployServiceException {
static {
__name(this, "ApplicationDoesNotExistException");
}
name = "ApplicationDoesNotExistException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "ApplicationDoesNotExistException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _ApplicationDoesNotExistException.prototype);
}
};
var ComputePlatform = {
ECS: "ECS",
LAMBDA: "Lambda",
SERVER: "Server"
};
var ApplicationLimitExceededException = class _ApplicationLimitExceededException extends CodeDeployServiceException {
static {
__name(this, "ApplicationLimitExceededException");
}
name = "ApplicationLimitExceededException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "ApplicationLimitExceededException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _ApplicationLimitExceededException.prototype);
}
};
var ApplicationNameRequiredException = class _ApplicationNameRequiredException extends CodeDeployServiceException {
static {
__name(this, "ApplicationNameRequiredException");
}
name = "ApplicationNameRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "ApplicationNameRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _ApplicationNameRequiredException.prototype);
}
};
var ApplicationRevisionSortBy = {
FirstUsedTime: "firstUsedTime",
LastUsedTime: "lastUsedTime",
RegisterTime: "registerTime"
};
var ArnNotSupportedException = class _ArnNotSupportedException extends CodeDeployServiceException {
static {
__name(this, "ArnNotSupportedException");
}
name = "ArnNotSupportedException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "ArnNotSupportedException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _ArnNotSupportedException.prototype);
}
};
var AutoRollbackEvent = {
DEPLOYMENT_FAILURE: "DEPLOYMENT_FAILURE",
DEPLOYMENT_STOP_ON_ALARM: "DEPLOYMENT_STOP_ON_ALARM",
DEPLOYMENT_STOP_ON_REQUEST: "DEPLOYMENT_STOP_ON_REQUEST"
};
var RevisionLocationType = {
AppSpecContent: "AppSpecContent",
GitHub: "GitHub",
S3: "S3",
String: "String"
};
var BundleType = {
JSON: "JSON",
Tar: "tar",
TarGZip: "tgz",
YAML: "YAML",
Zip: "zip"
};
var BatchLimitExceededException = class _BatchLimitExceededException extends CodeDeployServiceException {
static {
__name(this, "BatchLimitExceededException");
}
name = "BatchLimitExceededException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "BatchLimitExceededException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _BatchLimitExceededException.prototype);
}
};
var InvalidApplicationNameException = class _InvalidApplicationNameException extends CodeDeployServiceException {
static {
__name(this, "InvalidApplicationNameException");
}
name = "InvalidApplicationNameException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidApplicationNameException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidApplicationNameException.prototype);
}
};
var InvalidRevisionException = class _InvalidRevisionException extends CodeDeployServiceException {
static {
__name(this, "InvalidRevisionException");
}
name = "InvalidRevisionException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidRevisionException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidRevisionException.prototype);
}
};
var RevisionRequiredException = class _RevisionRequiredException extends CodeDeployServiceException {
static {
__name(this, "RevisionRequiredException");
}
name = "RevisionRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "RevisionRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _RevisionRequiredException.prototype);
}
};
var DeploymentReadyAction = {
CONTINUE_DEPLOYMENT: "CONTINUE_DEPLOYMENT",
STOP_DEPLOYMENT: "STOP_DEPLOYMENT"
};
var GreenFleetProvisioningAction = {
COPY_AUTO_SCALING_GROUP: "COPY_AUTO_SCALING_GROUP",
DISCOVER_EXISTING: "DISCOVER_EXISTING"
};
var InstanceAction = {
KEEP_ALIVE: "KEEP_ALIVE",
TERMINATE: "TERMINATE"
};
var DeploymentOption = {
WITHOUT_TRAFFIC_CONTROL: "WITHOUT_TRAFFIC_CONTROL",
WITH_TRAFFIC_CONTROL: "WITH_TRAFFIC_CONTROL"
};
var DeploymentType = {
BLUE_GREEN: "BLUE_GREEN",
IN_PLACE: "IN_PLACE"
};
var EC2TagFilterType = {
KEY_AND_VALUE: "KEY_AND_VALUE",
KEY_ONLY: "KEY_ONLY",
VALUE_ONLY: "VALUE_ONLY"
};
var DeploymentStatus = {
BAKING: "Baking",
CREATED: "Created",
FAILED: "Failed",
IN_PROGRESS: "InProgress",
QUEUED: "Queued",
READY: "Ready",
STOPPED: "Stopped",
SUCCEEDED: "Succeeded"
};
var TagFilterType = {
KEY_AND_VALUE: "KEY_AND_VALUE",
KEY_ONLY: "KEY_ONLY",
VALUE_ONLY: "VALUE_ONLY"
};
var OutdatedInstancesStrategy = {
Ignore: "IGNORE",
Update: "UPDATE"
};
var TriggerEventType = {
DEPLOYMENT_FAILURE: "DeploymentFailure",
DEPLOYMENT_READY: "DeploymentReady",
DEPLOYMENT_ROLLBACK: "DeploymentRollback",
DEPLOYMENT_START: "DeploymentStart",
DEPLOYMENT_STOP: "DeploymentStop",
DEPLOYMENT_SUCCESS: "DeploymentSuccess",
INSTANCE_FAILURE: "InstanceFailure",
INSTANCE_READY: "InstanceReady",
INSTANCE_START: "InstanceStart",
INSTANCE_SUCCESS: "InstanceSuccess"
};
var DeploymentConfigDoesNotExistException = class _DeploymentConfigDoesNotExistException extends CodeDeployServiceException {
static {
__name(this, "DeploymentConfigDoesNotExistException");
}
name = "DeploymentConfigDoesNotExistException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentConfigDoesNotExistException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentConfigDoesNotExistException.prototype);
}
};
var DeploymentGroupNameRequiredException = class _DeploymentGroupNameRequiredException extends CodeDeployServiceException {
static {
__name(this, "DeploymentGroupNameRequiredException");
}
name = "DeploymentGroupNameRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentGroupNameRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentGroupNameRequiredException.prototype);
}
};
var InvalidDeploymentGroupNameException = class _InvalidDeploymentGroupNameException extends CodeDeployServiceException {
static {
__name(this, "InvalidDeploymentGroupNameException");
}
name = "InvalidDeploymentGroupNameException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidDeploymentGroupNameException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidDeploymentGroupNameException.prototype);
}
};
var _InstanceType = {
BLUE: "Blue",
GREEN: "Green"
};
var LifecycleErrorCode = {
SCRIPT_FAILED: "ScriptFailed",
SCRIPT_MISSING: "ScriptMissing",
SCRIPT_NOT_EXECUTABLE: "ScriptNotExecutable",
SCRIPT_TIMED_OUT: "ScriptTimedOut",
SUCCESS: "Success",
UNKNOWN_ERROR: "UnknownError"
};
var LifecycleEventStatus = {
FAILED: "Failed",
IN_PROGRESS: "InProgress",
PENDING: "Pending",
SKIPPED: "Skipped",
SUCCEEDED: "Succeeded",
UNKNOWN: "Unknown"
};
var InstanceStatus = {
FAILED: "Failed",
IN_PROGRESS: "InProgress",
PENDING: "Pending",
READY: "Ready",
SKIPPED: "Skipped",
SUCCEEDED: "Succeeded",
UNKNOWN: "Unknown"
};
var DeploymentDoesNotExistException = class _DeploymentDoesNotExistException extends CodeDeployServiceException {
static {
__name(this, "DeploymentDoesNotExistException");
}
name = "DeploymentDoesNotExistException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentDoesNotExistException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentDoesNotExistException.prototype);
}
};
var DeploymentIdRequiredException = class _DeploymentIdRequiredException extends CodeDeployServiceException {
static {
__name(this, "DeploymentIdRequiredException");
}
name = "DeploymentIdRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentIdRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentIdRequiredException.prototype);
}
};
var InstanceIdRequiredException = class _InstanceIdRequiredException extends CodeDeployServiceException {
static {
__name(this, "InstanceIdRequiredException");
}
name = "InstanceIdRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InstanceIdRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InstanceIdRequiredException.prototype);
}
};
var InvalidComputePlatformException = class _InvalidComputePlatformException extends CodeDeployServiceException {
static {
__name(this, "InvalidComputePlatformException");
}
name = "InvalidComputePlatformException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidComputePlatformException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidComputePlatformException.prototype);
}
};
var InvalidDeploymentIdException = class _InvalidDeploymentIdException extends CodeDeployServiceException {
static {
__name(this, "InvalidDeploymentIdException");
}
name = "InvalidDeploymentIdException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidDeploymentIdException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidDeploymentIdException.prototype);
}
};
var DeploymentCreator = {
Autoscaling: "autoscaling",
AutoscalingTermination: "autoscalingTermination",
CloudFormation: "CloudFormation",
CloudFormationRollback: "CloudFormationRollback",
CodeDeploy: "CodeDeploy",
CodeDeployAutoUpdate: "CodeDeployAutoUpdate",
CodeDeployRollback: "codeDeployRollback",
User: "user"
};
var ErrorCode = {
AGENT_ISSUE: "AGENT_ISSUE",
ALARM_ACTIVE: "ALARM_ACTIVE",
APPLICATION_MISSING: "APPLICATION_MISSING",
AUTOSCALING_VALIDATION_ERROR: "AUTOSCALING_VALIDATION_ERROR",
AUTO_SCALING_CONFIGURATION: "AUTO_SCALING_CONFIGURATION",
AUTO_SCALING_IAM_ROLE_PERMISSIONS: "AUTO_SCALING_IAM_ROLE_PERMISSIONS",
CLOUDFORMATION_STACK_FAILURE: "CLOUDFORMATION_STACK_FAILURE",
CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND: "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND",
CUSTOMER_APPLICATION_UNHEALTHY: "CUSTOMER_APPLICATION_UNHEALTHY",
DEPLOYMENT_GROUP_MISSING: "DEPLOYMENT_GROUP_MISSING",
ECS_UPDATE_ERROR: "ECS_UPDATE_ERROR",
ELASTIC_LOAD_BALANCING_INVALID: "ELASTIC_LOAD_BALANCING_INVALID",
ELB_INVALID_INSTANCE: "ELB_INVALID_INSTANCE",
HEALTH_CONSTRAINTS: "HEALTH_CONSTRAINTS",
HEALTH_CONSTRAINTS_INVALID: "HEALTH_CONSTRAINTS_INVALID",
HOOK_EXECUTION_FAILURE: "HOOK_EXECUTION_FAILURE",
IAM_ROLE_MISSING: "IAM_ROLE_MISSING",
IAM_ROLE_PERMISSIONS: "IAM_ROLE_PERMISSIONS",
INTERNAL_ERROR: "INTERNAL_ERROR",
INVALID_ECS_SERVICE: "INVALID_ECS_SERVICE",
INVALID_LAMBDA_CONFIGURATION: "INVALID_LAMBDA_CONFIGURATION",
INVALID_LAMBDA_FUNCTION: "INVALID_LAMBDA_FUNCTION",
INVALID_REVISION: "INVALID_REVISION",
MANUAL_STOP: "MANUAL_STOP",
MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION: "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION",
MISSING_ELB_INFORMATION: "MISSING_ELB_INFORMATION",
MISSING_GITHUB_TOKEN: "MISSING_GITHUB_TOKEN",
NO_EC2_SUBSCRIPTION: "NO_EC2_SUBSCRIPTION",
NO_INSTANCES: "NO_INSTANCES",
OVER_MAX_INSTANCES: "OVER_MAX_INSTANCES",
RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED",
REVISION_MISSING: "REVISION_MISSING",
THROTTLED: "THROTTLED",
TIMEOUT: "TIMEOUT"
};
var FileExistsBehavior = {
DISALLOW: "DISALLOW",
OVERWRITE: "OVERWRITE",
RETAIN: "RETAIN"
};
var TargetStatus = {
FAILED: "Failed",
IN_PROGRESS: "InProgress",
PENDING: "Pending",
READY: "Ready",
SKIPPED: "Skipped",
SUCCEEDED: "Succeeded",
UNKNOWN: "Unknown"
};
var DeploymentTargetType = {
CLOUDFORMATION_TARGET: "CloudFormationTarget",
ECS_TARGET: "ECSTarget",
INSTANCE_TARGET: "InstanceTarget",
LAMBDA_TARGET: "LambdaTarget"
};
var TargetLabel = {
BLUE: "Blue",
GREEN: "Green"
};
var DeploymentNotStartedException = class _DeploymentNotStartedException extends CodeDeployServiceException {
static {
__name(this, "DeploymentNotStartedException");
}
name = "DeploymentNotStartedException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentNotStartedException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentNotStartedException.prototype);
}
};
var DeploymentTargetDoesNotExistException = class _DeploymentTargetDoesNotExistException extends CodeDeployServiceException {
static {
__name(this, "DeploymentTargetDoesNotExistException");
}
name = "DeploymentTargetDoesNotExistException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentTargetDoesNotExistException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentTargetDoesNotExistException.prototype);
}
};
var DeploymentTargetIdRequiredException = class _DeploymentTargetIdRequiredException extends CodeDeployServiceException {
static {
__name(this, "DeploymentTargetIdRequiredException");
}
name = "DeploymentTargetIdRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentTargetIdRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentTargetIdRequiredException.prototype);
}
};
var DeploymentTargetListSizeExceededException = class _DeploymentTargetListSizeExceededException extends CodeDeployServiceException {
static {
__name(this, "DeploymentTargetListSizeExceededException");
}
name = "DeploymentTargetListSizeExceededException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentTargetListSizeExceededException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentTargetListSizeExceededException.prototype);
}
};
var InstanceDoesNotExistException = class _InstanceDoesNotExistException extends CodeDeployServiceException {
static {
__name(this, "InstanceDoesNotExistException");
}
name = "InstanceDoesNotExistException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InstanceDoesNotExistException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InstanceDoesNotExistException.prototype);
}
};
var InvalidDeploymentTargetIdException = class _InvalidDeploymentTargetIdException extends CodeDeployServiceException {
static {
__name(this, "InvalidDeploymentTargetIdException");
}
name = "InvalidDeploymentTargetIdException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidDeploymentTargetIdException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidDeploymentTargetIdException.prototype);
}
};
var BucketNameFilterRequiredException = class _BucketNameFilterRequiredException extends CodeDeployServiceException {
static {
__name(this, "BucketNameFilterRequiredException");
}
name = "BucketNameFilterRequiredException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "BucketNameFilterRequiredException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _BucketNameFilterRequiredException.prototype);
}
};
var DeploymentWaitType = {
READY_WAIT: "READY_WAIT",
TERMINATION_WAIT: "TERMINATION_WAIT"
};
var DeploymentAlreadyCompletedException = class _DeploymentAlreadyCompletedException extends CodeDeployServiceException {
static {
__name(this, "DeploymentAlreadyCompletedException");
}
name = "DeploymentAlreadyCompletedException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentAlreadyCompletedException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentAlreadyCompletedException.prototype);
}
};
var DeploymentIsNotInReadyStateException = class _DeploymentIsNotInReadyStateException extends CodeDeployServiceException {
static {
__name(this, "DeploymentIsNotInReadyStateException");
}
name = "DeploymentIsNotInReadyStateException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentIsNotInReadyStateException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentIsNotInReadyStateException.prototype);
}
};
var InvalidDeploymentStatusException = class _InvalidDeploymentStatusException extends CodeDeployServiceException {
static {
__name(this, "InvalidDeploymentStatusException");
}
name = "InvalidDeploymentStatusException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidDeploymentStatusException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidDeploymentStatusException.prototype);
}
};
var InvalidDeploymentWaitTypeException = class _InvalidDeploymentWaitTypeException extends CodeDeployServiceException {
static {
__name(this, "InvalidDeploymentWaitTypeException");
}
name = "InvalidDeploymentWaitTypeException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidDeploymentWaitTypeException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidDeploymentWaitTypeException.prototype);
}
};
var UnsupportedActionForDeploymentTypeException = class _UnsupportedActionForDeploymentTypeException extends CodeDeployServiceException {
static {
__name(this, "UnsupportedActionForDeploymentTypeException");
}
name = "UnsupportedActionForDeploymentTypeException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "UnsupportedActionForDeploymentTypeException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _UnsupportedActionForDeploymentTypeException.prototype);
}
};
var InvalidTagsToAddException = class _InvalidTagsToAddException extends CodeDeployServiceException {
static {
__name(this, "InvalidTagsToAddException");
}
name = "InvalidTagsToAddException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidTagsToAddException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidTagsToAddException.prototype);
}
};
var DeploymentGroupDoesNotExistException = class _DeploymentGroupDoesNotExistException extends CodeDeployServiceException {
static {
__name(this, "DeploymentGroupDoesNotExistException");
}
name = "DeploymentGroupDoesNotExistException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentGroupDoesNotExistException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentGroupDoesNotExistException.prototype);
}
};
var DeploymentLimitExceededException = class _DeploymentLimitExceededException extends CodeDeployServiceException {
static {
__name(this, "DeploymentLimitExceededException");
}
name = "DeploymentLimitExceededException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DeploymentLimitExceededException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DeploymentLimitExceededException.prototype);
}
};
var DescriptionTooLongException = class _DescriptionTooLongException extends CodeDeployServiceException {
static {
__name(this, "DescriptionTooLongException");
}
name = "DescriptionTooLongException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "DescriptionTooLongException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _DescriptionTooLongException.prototype);
}
};
var InvalidAlarmConfigException = class _InvalidAlarmConfigException extends CodeDeployServiceException {
static {
__name(this, "InvalidAlarmConfigException");
}
name = "InvalidAlarmConfigException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidAlarmConfigException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidAlarmConfigException.prototype);
}
};
var InvalidAutoRollbackConfigException = class _InvalidAutoRollbackConfigException extends CodeDeployServiceException {
static {
__name(this, "InvalidAutoRollbackConfigException");
}
name = "InvalidAutoRollbackConfigException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidAutoRollbackConfigException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidAutoRollbackConfigException.prototype);
}
};
var InvalidAutoScalingGroupException = class _InvalidAutoScalingGroupException extends CodeDeployServiceException {
static {
__name(this, "InvalidAutoScalingGroupException");
}
name = "InvalidAutoScalingGroupException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidAutoScalingGroupException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidAutoScalingGroupException.prototype);
}
};
var InvalidDeploymentConfigNameException = class _InvalidDeploymentConfigNameException extends CodeDeployServiceException {
static {
__name(this, "InvalidDeploymentConfigNameException");
}
name = "InvalidDeploymentConfigNameException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidDeploymentConfigNameException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidDeploymentConfigNameException.prototype);
}
};
var InvalidFileExistsBehaviorException = class _InvalidFileExistsBehaviorException extends CodeDeployServiceException {
static {
__name(this, "InvalidFileExistsBehaviorException");
}
name = "InvalidFileExistsBehaviorException";
$fault = "client";
/**
* @internal
*/
constructor(opts) {
super({
name: "InvalidFileExistsBehaviorException",
$fault: "client",
...opts
});
Object.setPrototypeOf(this, _InvalidFileExistsBehaviorException.prototype);
}
};
var InvalidGitHubAccountTokenExceptio