UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

1,491 lines (1,468 loc) 468 kB
"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, { AccountFilterType: () => AccountFilterType, AccountGateStatus: () => AccountGateStatus, ActivateOrganizationsAccessCommand: () => ActivateOrganizationsAccessCommand, ActivateTypeCommand: () => ActivateTypeCommand, AlreadyExistsException: () => AlreadyExistsException, AttributeChangeType: () => AttributeChangeType, BatchDescribeTypeConfigurationsCommand: () => BatchDescribeTypeConfigurationsCommand, CFNRegistryException: () => CFNRegistryException, CallAs: () => CallAs, CancelUpdateStackCommand: () => CancelUpdateStackCommand, Capability: () => Capability, Category: () => Category, ChangeAction: () => ChangeAction, ChangeSetHooksStatus: () => ChangeSetHooksStatus, ChangeSetNotFoundException: () => ChangeSetNotFoundException, ChangeSetStatus: () => ChangeSetStatus, ChangeSetType: () => ChangeSetType, ChangeSource: () => ChangeSource, ChangeType: () => ChangeType, CloudFormation: () => CloudFormation, CloudFormationClient: () => CloudFormationClient, CloudFormationServiceException: () => CloudFormationServiceException, ConcurrencyMode: () => ConcurrencyMode, ConcurrentResourcesLimitExceededException: () => ConcurrentResourcesLimitExceededException, ContinueUpdateRollbackCommand: () => ContinueUpdateRollbackCommand, CreateChangeSetCommand: () => CreateChangeSetCommand, CreateGeneratedTemplateCommand: () => CreateGeneratedTemplateCommand, CreateStackCommand: () => CreateStackCommand, CreateStackInstancesCommand: () => CreateStackInstancesCommand, CreateStackRefactorCommand: () => CreateStackRefactorCommand, CreateStackSetCommand: () => CreateStackSetCommand, CreatedButModifiedException: () => CreatedButModifiedException, DeactivateOrganizationsAccessCommand: () => DeactivateOrganizationsAccessCommand, DeactivateTypeCommand: () => DeactivateTypeCommand, DeleteChangeSetCommand: () => DeleteChangeSetCommand, DeleteGeneratedTemplateCommand: () => DeleteGeneratedTemplateCommand, DeleteStackCommand: () => DeleteStackCommand, DeleteStackInstancesCommand: () => DeleteStackInstancesCommand, DeleteStackSetCommand: () => DeleteStackSetCommand, DeletionMode: () => DeletionMode, DeprecatedStatus: () => DeprecatedStatus, DeregisterTypeCommand: () => DeregisterTypeCommand, DescribeAccountLimitsCommand: () => DescribeAccountLimitsCommand, DescribeChangeSetCommand: () => DescribeChangeSetCommand, DescribeChangeSetHooksCommand: () => DescribeChangeSetHooksCommand, DescribeGeneratedTemplateCommand: () => DescribeGeneratedTemplateCommand, DescribeOrganizationsAccessCommand: () => DescribeOrganizationsAccessCommand, DescribePublisherCommand: () => DescribePublisherCommand, DescribeResourceScanCommand: () => DescribeResourceScanCommand, DescribeStackDriftDetectionStatusCommand: () => DescribeStackDriftDetectionStatusCommand, DescribeStackEventsCommand: () => DescribeStackEventsCommand, DescribeStackInstanceCommand: () => DescribeStackInstanceCommand, DescribeStackRefactorCommand: () => DescribeStackRefactorCommand, DescribeStackResourceCommand: () => DescribeStackResourceCommand, DescribeStackResourceDriftsCommand: () => DescribeStackResourceDriftsCommand, DescribeStackResourcesCommand: () => DescribeStackResourcesCommand, DescribeStackSetCommand: () => DescribeStackSetCommand, DescribeStackSetOperationCommand: () => DescribeStackSetOperationCommand, DescribeStacksCommand: () => DescribeStacksCommand, DescribeTypeCommand: () => DescribeTypeCommand, DescribeTypeRegistrationCommand: () => DescribeTypeRegistrationCommand, DetailedStatus: () => DetailedStatus, DetectStackDriftCommand: () => DetectStackDriftCommand, DetectStackResourceDriftCommand: () => DetectStackResourceDriftCommand, DetectStackSetDriftCommand: () => DetectStackSetDriftCommand, DifferenceType: () => DifferenceType, EstimateTemplateCostCommand: () => EstimateTemplateCostCommand, EvaluationType: () => EvaluationType, ExecuteChangeSetCommand: () => ExecuteChangeSetCommand, ExecuteStackRefactorCommand: () => ExecuteStackRefactorCommand, ExecutionStatus: () => ExecutionStatus, GeneratedTemplateDeletionPolicy: () => GeneratedTemplateDeletionPolicy, GeneratedTemplateNotFoundException: () => GeneratedTemplateNotFoundException, GeneratedTemplateResourceStatus: () => GeneratedTemplateResourceStatus, GeneratedTemplateStatus: () => GeneratedTemplateStatus, GeneratedTemplateUpdateReplacePolicy: () => GeneratedTemplateUpdateReplacePolicy, GetGeneratedTemplateCommand: () => GetGeneratedTemplateCommand, GetStackPolicyCommand: () => GetStackPolicyCommand, GetTemplateCommand: () => GetTemplateCommand, GetTemplateSummaryCommand: () => GetTemplateSummaryCommand, HandlerErrorCode: () => HandlerErrorCode, HookFailureMode: () => HookFailureMode, HookInvocationPoint: () => HookInvocationPoint, HookResultNotFoundException: () => HookResultNotFoundException, HookStatus: () => HookStatus, HookTargetType: () => HookTargetType, IdentityProvider: () => IdentityProvider, ImportStacksToStackSetCommand: () => ImportStacksToStackSetCommand, InsufficientCapabilitiesException: () => InsufficientCapabilitiesException, InvalidChangeSetStatusException: () => InvalidChangeSetStatusException, InvalidOperationException: () => InvalidOperationException, InvalidStateTransitionException: () => InvalidStateTransitionException, LimitExceededException: () => LimitExceededException, ListChangeSetsCommand: () => ListChangeSetsCommand, ListExportsCommand: () => ListExportsCommand, ListGeneratedTemplatesCommand: () => ListGeneratedTemplatesCommand, ListHookResultsCommand: () => ListHookResultsCommand, ListHookResultsTargetType: () => ListHookResultsTargetType, ListImportsCommand: () => ListImportsCommand, ListResourceScanRelatedResourcesCommand: () => ListResourceScanRelatedResourcesCommand, ListResourceScanResourcesCommand: () => ListResourceScanResourcesCommand, ListResourceScansCommand: () => ListResourceScansCommand, ListStackInstanceResourceDriftsCommand: () => ListStackInstanceResourceDriftsCommand, ListStackInstancesCommand: () => ListStackInstancesCommand, ListStackRefactorActionsCommand: () => ListStackRefactorActionsCommand, ListStackRefactorsCommand: () => ListStackRefactorsCommand, ListStackResourcesCommand: () => ListStackResourcesCommand, ListStackSetAutoDeploymentTargetsCommand: () => ListStackSetAutoDeploymentTargetsCommand, ListStackSetOperationResultsCommand: () => ListStackSetOperationResultsCommand, ListStackSetOperationsCommand: () => ListStackSetOperationsCommand, ListStackSetsCommand: () => ListStackSetsCommand, ListStacksCommand: () => ListStacksCommand, ListTypeRegistrationsCommand: () => ListTypeRegistrationsCommand, ListTypeVersionsCommand: () => ListTypeVersionsCommand, ListTypesCommand: () => ListTypesCommand, NameAlreadyExistsException: () => NameAlreadyExistsException, OnFailure: () => OnFailure, OnStackFailure: () => OnStackFailure, OperationIdAlreadyExistsException: () => OperationIdAlreadyExistsException, OperationInProgressException: () => OperationInProgressException, OperationNotFoundException: () => OperationNotFoundException, OperationResultFilterName: () => OperationResultFilterName, OperationStatus: () => OperationStatus, OperationStatusCheckFailedException: () => OperationStatusCheckFailedException, OrganizationStatus: () => OrganizationStatus, PermissionModels: () => PermissionModels, PolicyAction: () => PolicyAction, ProvisioningType: () => ProvisioningType, PublishTypeCommand: () => PublishTypeCommand, PublisherStatus: () => PublisherStatus, RecordHandlerProgressCommand: () => RecordHandlerProgressCommand, RegionConcurrencyType: () => RegionConcurrencyType, RegisterPublisherCommand: () => RegisterPublisherCommand, RegisterTypeCommand: () => RegisterTypeCommand, RegistrationStatus: () => RegistrationStatus, RegistryType: () => RegistryType, Replacement: () => Replacement, RequiresRecreation: () => RequiresRecreation, ResourceAttribute: () => ResourceAttribute, ResourceScanInProgressException: () => ResourceScanInProgressException, ResourceScanLimitExceededException: () => ResourceScanLimitExceededException, ResourceScanNotFoundException: () => ResourceScanNotFoundException, ResourceScanStatus: () => ResourceScanStatus, ResourceSignalStatus: () => ResourceSignalStatus, ResourceStatus: () => ResourceStatus, RollbackStackCommand: () => RollbackStackCommand, ScanType: () => ScanType, SetStackPolicyCommand: () => SetStackPolicyCommand, SetTypeConfigurationCommand: () => SetTypeConfigurationCommand, SetTypeDefaultVersionCommand: () => SetTypeDefaultVersionCommand, SignalResourceCommand: () => SignalResourceCommand, StackDriftDetectionStatus: () => StackDriftDetectionStatus, StackDriftStatus: () => StackDriftStatus, StackInstanceDetailedStatus: () => StackInstanceDetailedStatus, StackInstanceFilterName: () => StackInstanceFilterName, StackInstanceNotFoundException: () => StackInstanceNotFoundException, StackInstanceStatus: () => StackInstanceStatus, StackNotFoundException: () => StackNotFoundException, StackRefactorActionEntity: () => StackRefactorActionEntity, StackRefactorActionType: () => StackRefactorActionType, StackRefactorDetection: () => StackRefactorDetection, StackRefactorExecutionStatus: () => StackRefactorExecutionStatus, StackRefactorNotFoundException: () => StackRefactorNotFoundException, StackRefactorStatus: () => StackRefactorStatus, StackResourceDriftStatus: () => StackResourceDriftStatus, StackSetDriftDetectionStatus: () => StackSetDriftDetectionStatus, StackSetDriftStatus: () => StackSetDriftStatus, StackSetNotEmptyException: () => StackSetNotEmptyException, StackSetNotFoundException: () => StackSetNotFoundException, StackSetOperationAction: () => StackSetOperationAction, StackSetOperationResultStatus: () => StackSetOperationResultStatus, StackSetOperationStatus: () => StackSetOperationStatus, StackSetStatus: () => StackSetStatus, StackStatus: () => StackStatus, StaleRequestException: () => StaleRequestException, StartResourceScanCommand: () => StartResourceScanCommand, StopStackSetOperationCommand: () => StopStackSetOperationCommand, TemplateFormat: () => TemplateFormat, TemplateStage: () => TemplateStage, TestTypeCommand: () => TestTypeCommand, ThirdPartyType: () => ThirdPartyType, TokenAlreadyExistsException: () => TokenAlreadyExistsException, TypeConfigurationNotFoundException: () => TypeConfigurationNotFoundException, TypeNotFoundException: () => TypeNotFoundException, TypeTestsStatus: () => TypeTestsStatus, UpdateGeneratedTemplateCommand: () => UpdateGeneratedTemplateCommand, UpdateStackCommand: () => UpdateStackCommand, UpdateStackInstancesCommand: () => UpdateStackInstancesCommand, UpdateStackSetCommand: () => UpdateStackSetCommand, UpdateTerminationProtectionCommand: () => UpdateTerminationProtectionCommand, ValidateTemplateCommand: () => ValidateTemplateCommand, VersionBump: () => VersionBump, Visibility: () => Visibility, WarningType: () => WarningType, __Client: () => import_smithy_client.Client, paginateDescribeAccountLimits: () => paginateDescribeAccountLimits, paginateDescribeStackEvents: () => paginateDescribeStackEvents, paginateDescribeStackResourceDrifts: () => paginateDescribeStackResourceDrifts, paginateDescribeStacks: () => paginateDescribeStacks, paginateListChangeSets: () => paginateListChangeSets, paginateListExports: () => paginateListExports, paginateListGeneratedTemplates: () => paginateListGeneratedTemplates, paginateListImports: () => paginateListImports, paginateListResourceScanRelatedResources: () => paginateListResourceScanRelatedResources, paginateListResourceScanResources: () => paginateListResourceScanResources, paginateListResourceScans: () => paginateListResourceScans, paginateListStackInstances: () => paginateListStackInstances, paginateListStackRefactorActions: () => paginateListStackRefactorActions, paginateListStackRefactors: () => paginateListStackRefactors, paginateListStackResources: () => paginateListStackResources, paginateListStackSetOperationResults: () => paginateListStackSetOperationResults, paginateListStackSetOperations: () => paginateListStackSetOperations, paginateListStackSets: () => paginateListStackSets, paginateListStacks: () => paginateListStacks, paginateListTypeRegistrations: () => paginateListTypeRegistrations, paginateListTypeVersions: () => paginateListTypeVersions, paginateListTypes: () => paginateListTypes, waitForChangeSetCreateComplete: () => waitForChangeSetCreateComplete, waitForStackCreateComplete: () => waitForStackCreateComplete, waitForStackDeleteComplete: () => waitForStackDeleteComplete, waitForStackExists: () => waitForStackExists, waitForStackImportComplete: () => waitForStackImportComplete, waitForStackRefactorCreateComplete: () => waitForStackRefactorCreateComplete, waitForStackRefactorExecuteComplete: () => waitForStackRefactorExecuteComplete, waitForStackRollbackComplete: () => waitForStackRollbackComplete, waitForStackUpdateComplete: () => waitForStackUpdateComplete, waitForTypeRegistrationComplete: () => waitForTypeRegistrationComplete, waitUntilChangeSetCreateComplete: () => waitUntilChangeSetCreateComplete, waitUntilStackCreateComplete: () => waitUntilStackCreateComplete, waitUntilStackDeleteComplete: () => waitUntilStackDeleteComplete, waitUntilStackExists: () => waitUntilStackExists, waitUntilStackImportComplete: () => waitUntilStackImportComplete, waitUntilStackRefactorCreateComplete: () => waitUntilStackRefactorCreateComplete, waitUntilStackRefactorExecuteComplete: () => waitUntilStackRefactorExecuteComplete, waitUntilStackRollbackComplete: () => waitUntilStackRollbackComplete, waitUntilStackUpdateComplete: () => waitUntilStackUpdateComplete, waitUntilTypeRegistrationComplete: () => waitUntilTypeRegistrationComplete }); module.exports = __toCommonJS(index_exports); // src/CloudFormationClient.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: "cloudformation" }); }, "resolveClientEndpointParameters"); var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } }; // src/CloudFormationClient.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/CloudFormationClient.ts var CloudFormationClient = class extends import_smithy_client.Client { static { __name(this, "CloudFormationClient"); } /** * The resolved configuration of CloudFormationClient class. This is resolved and normalized from the {@link CloudFormationClientConfig | 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.defaultCloudFormationHttpAuthSchemeParametersProvider, 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/CloudFormation.ts // src/commands/ActivateOrganizationsAccessCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_query.ts var import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/CloudFormationServiceException.ts var CloudFormationServiceException = class _CloudFormationServiceException extends import_smithy_client.ServiceException { static { __name(this, "CloudFormationServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _CloudFormationServiceException.prototype); } }; // src/models/models_0.ts var AccountFilterType = { DIFFERENCE: "DIFFERENCE", INTERSECTION: "INTERSECTION", NONE: "NONE", UNION: "UNION" }; var AccountGateStatus = { FAILED: "FAILED", SKIPPED: "SKIPPED", SUCCEEDED: "SUCCEEDED" }; var InvalidOperationException = class _InvalidOperationException extends CloudFormationServiceException { static { __name(this, "InvalidOperationException"); } name = "InvalidOperationException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidOperationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidOperationException.prototype); this.Message = opts.Message; } }; var OperationNotFoundException = class _OperationNotFoundException extends CloudFormationServiceException { static { __name(this, "OperationNotFoundException"); } name = "OperationNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OperationNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OperationNotFoundException.prototype); this.Message = opts.Message; } }; var ThirdPartyType = { HOOK: "HOOK", MODULE: "MODULE", RESOURCE: "RESOURCE" }; var VersionBump = { MAJOR: "MAJOR", MINOR: "MINOR" }; var CFNRegistryException = class _CFNRegistryException extends CloudFormationServiceException { static { __name(this, "CFNRegistryException"); } name = "CFNRegistryException"; $fault = "client"; /** * <p>A message with details about the error that occurred.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "CFNRegistryException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CFNRegistryException.prototype); this.Message = opts.Message; } }; var TypeNotFoundException = class _TypeNotFoundException extends CloudFormationServiceException { static { __name(this, "TypeNotFoundException"); } name = "TypeNotFoundException"; $fault = "client"; /** * <p>A message with details about the error that occurred.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "TypeNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TypeNotFoundException.prototype); this.Message = opts.Message; } }; var AlreadyExistsException = class _AlreadyExistsException extends CloudFormationServiceException { static { __name(this, "AlreadyExistsException"); } name = "AlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "AlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AlreadyExistsException.prototype); this.Message = opts.Message; } }; var AttributeChangeType = { Add: "Add", Modify: "Modify", Remove: "Remove" }; var TypeConfigurationNotFoundException = class _TypeConfigurationNotFoundException extends CloudFormationServiceException { static { __name(this, "TypeConfigurationNotFoundException"); } name = "TypeConfigurationNotFoundException"; $fault = "client"; /** * <p>A message with details about the error that occurred.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "TypeConfigurationNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TypeConfigurationNotFoundException.prototype); this.Message = opts.Message; } }; var CallAs = { DELEGATED_ADMIN: "DELEGATED_ADMIN", SELF: "SELF" }; var TokenAlreadyExistsException = class _TokenAlreadyExistsException extends CloudFormationServiceException { static { __name(this, "TokenAlreadyExistsException"); } name = "TokenAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "TokenAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TokenAlreadyExistsException.prototype); this.Message = opts.Message; } }; var Capability = { CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND", CAPABILITY_IAM: "CAPABILITY_IAM", CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM" }; var Category = { ACTIVATED: "ACTIVATED", AWS_TYPES: "AWS_TYPES", REGISTERED: "REGISTERED", THIRD_PARTY: "THIRD_PARTY" }; var ChangeAction = { Add: "Add", Dynamic: "Dynamic", Import: "Import", Modify: "Modify", Remove: "Remove" }; var ChangeSource = { Automatic: "Automatic", DirectModification: "DirectModification", ParameterReference: "ParameterReference", ResourceAttribute: "ResourceAttribute", ResourceReference: "ResourceReference" }; var EvaluationType = { Dynamic: "Dynamic", Static: "Static" }; var ResourceAttribute = { CreationPolicy: "CreationPolicy", DeletionPolicy: "DeletionPolicy", Metadata: "Metadata", Properties: "Properties", Tags: "Tags", UpdatePolicy: "UpdatePolicy", UpdateReplacePolicy: "UpdateReplacePolicy" }; var RequiresRecreation = { Always: "Always", Conditionally: "Conditionally", Never: "Never" }; var PolicyAction = { Delete: "Delete", ReplaceAndDelete: "ReplaceAndDelete", ReplaceAndRetain: "ReplaceAndRetain", ReplaceAndSnapshot: "ReplaceAndSnapshot", Retain: "Retain", Snapshot: "Snapshot" }; var Replacement = { Conditional: "Conditional", False: "False", True: "True" }; var ChangeType = { Resource: "Resource" }; var HookFailureMode = { FAIL: "FAIL", WARN: "WARN" }; var HookInvocationPoint = { PRE_PROVISION: "PRE_PROVISION" }; var HookTargetType = { RESOURCE: "RESOURCE" }; var ChangeSetHooksStatus = { PLANNED: "PLANNED", PLANNING: "PLANNING", UNAVAILABLE: "UNAVAILABLE" }; var ChangeSetNotFoundException = class _ChangeSetNotFoundException extends CloudFormationServiceException { static { __name(this, "ChangeSetNotFoundException"); } name = "ChangeSetNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ChangeSetNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ChangeSetNotFoundException.prototype); this.Message = opts.Message; } }; var ChangeSetStatus = { CREATE_COMPLETE: "CREATE_COMPLETE", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING", DELETE_COMPLETE: "DELETE_COMPLETE", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", DELETE_PENDING: "DELETE_PENDING", FAILED: "FAILED" }; var ExecutionStatus = { AVAILABLE: "AVAILABLE", EXECUTE_COMPLETE: "EXECUTE_COMPLETE", EXECUTE_FAILED: "EXECUTE_FAILED", EXECUTE_IN_PROGRESS: "EXECUTE_IN_PROGRESS", OBSOLETE: "OBSOLETE", UNAVAILABLE: "UNAVAILABLE" }; var ChangeSetType = { CREATE: "CREATE", IMPORT: "IMPORT", UPDATE: "UPDATE" }; var OnStackFailure = { DELETE: "DELETE", DO_NOTHING: "DO_NOTHING", ROLLBACK: "ROLLBACK" }; var InsufficientCapabilitiesException = class _InsufficientCapabilitiesException extends CloudFormationServiceException { static { __name(this, "InsufficientCapabilitiesException"); } name = "InsufficientCapabilitiesException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InsufficientCapabilitiesException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InsufficientCapabilitiesException.prototype); this.Message = opts.Message; } }; var LimitExceededException = class _LimitExceededException extends CloudFormationServiceException { static { __name(this, "LimitExceededException"); } name = "LimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "LimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LimitExceededException.prototype); this.Message = opts.Message; } }; var ConcurrentResourcesLimitExceededException = class _ConcurrentResourcesLimitExceededException extends CloudFormationServiceException { static { __name(this, "ConcurrentResourcesLimitExceededException"); } name = "ConcurrentResourcesLimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ConcurrentResourcesLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConcurrentResourcesLimitExceededException.prototype); this.Message = opts.Message; } }; var GeneratedTemplateDeletionPolicy = { DELETE: "DELETE", RETAIN: "RETAIN" }; var GeneratedTemplateUpdateReplacePolicy = { DELETE: "DELETE", RETAIN: "RETAIN" }; var OnFailure = { DELETE: "DELETE", DO_NOTHING: "DO_NOTHING", ROLLBACK: "ROLLBACK" }; var ConcurrencyMode = { SOFT_FAILURE_TOLERANCE: "SOFT_FAILURE_TOLERANCE", STRICT_FAILURE_TOLERANCE: "STRICT_FAILURE_TOLERANCE" }; var RegionConcurrencyType = { PARALLEL: "PARALLEL", SEQUENTIAL: "SEQUENTIAL" }; var OperationIdAlreadyExistsException = class _OperationIdAlreadyExistsException extends CloudFormationServiceException { static { __name(this, "OperationIdAlreadyExistsException"); } name = "OperationIdAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OperationIdAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OperationIdAlreadyExistsException.prototype); this.Message = opts.Message; } }; var OperationInProgressException = class _OperationInProgressException extends CloudFormationServiceException { static { __name(this, "OperationInProgressException"); } name = "OperationInProgressException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OperationInProgressException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OperationInProgressException.prototype); this.Message = opts.Message; } }; var StackSetNotFoundException = class _StackSetNotFoundException extends CloudFormationServiceException { static { __name(this, "StackSetNotFoundException"); } name = "StackSetNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "StackSetNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _StackSetNotFoundException.prototype); this.Message = opts.Message; } }; var StaleRequestException = class _StaleRequestException extends CloudFormationServiceException { static { __name(this, "StaleRequestException"); } name = "StaleRequestException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "StaleRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _StaleRequestException.prototype); this.Message = opts.Message; } }; var CreatedButModifiedException = class _CreatedButModifiedException extends CloudFormationServiceException { static { __name(this, "CreatedButModifiedException"); } name = "CreatedButModifiedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "CreatedButModifiedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CreatedButModifiedException.prototype); this.Message = opts.Message; } }; var PermissionModels = { SELF_MANAGED: "SELF_MANAGED", SERVICE_MANAGED: "SERVICE_MANAGED" }; var NameAlreadyExistsException = class _NameAlreadyExistsException extends CloudFormationServiceException { static { __name(this, "NameAlreadyExistsException"); } name = "NameAlreadyExistsException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "NameAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NameAlreadyExistsException.prototype); this.Message = opts.Message; } }; var InvalidChangeSetStatusException = class _InvalidChangeSetStatusException extends CloudFormationServiceException { static { __name(this, "InvalidChangeSetStatusException"); } name = "InvalidChangeSetStatusException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidChangeSetStatusException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidChangeSetStatusException.prototype); this.Message = opts.Message; } }; var GeneratedTemplateNotFoundException = class _GeneratedTemplateNotFoundException extends CloudFormationServiceException { static { __name(this, "GeneratedTemplateNotFoundException"); } name = "GeneratedTemplateNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "GeneratedTemplateNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _GeneratedTemplateNotFoundException.prototype); this.Message = opts.Message; } }; var DeletionMode = { FORCE_DELETE_STACK: "FORCE_DELETE_STACK", STANDARD: "STANDARD" }; var StackSetNotEmptyException = class _StackSetNotEmptyException extends CloudFormationServiceException { static { __name(this, "StackSetNotEmptyException"); } name = "StackSetNotEmptyException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "StackSetNotEmptyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _StackSetNotEmptyException.prototype); this.Message = opts.Message; } }; var RegistryType = { HOOK: "HOOK", MODULE: "MODULE", RESOURCE: "RESOURCE" }; var GeneratedTemplateResourceStatus = { COMPLETE: "COMPLETE", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", PENDING: "PENDING" }; var WarningType = { EXCLUDED_PROPERTIES: "EXCLUDED_PROPERTIES", MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES", MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES", UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES" }; var GeneratedTemplateStatus = { COMPLETE: "COMPLETE", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", DELETE_PENDING: "DELETE_PENDING", FAILED: "FAILED", UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", UPDATE_PENDING: "UPDATE_PENDING" }; var OrganizationStatus = { DISABLED: "DISABLED", DISABLED_PERMANENTLY: "DISABLED_PERMANENTLY", ENABLED: "ENABLED" }; var IdentityProvider = { AWS_Marketplace: "AWS_Marketplace", Bitbucket: "Bitbucket", GitHub: "GitHub" }; var PublisherStatus = { UNVERIFIED: "UNVERIFIED", VERIFIED: "VERIFIED" }; var ResourceScanStatus = { COMPLETE: "COMPLETE", EXPIRED: "EXPIRED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS" }; var ResourceScanNotFoundException = class _ResourceScanNotFoundException extends CloudFormationServiceException { static { __name(this, "ResourceScanNotFoundException"); } name = "ResourceScanNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceScanNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceScanNotFoundException.prototype); this.Message = opts.Message; } }; var StackDriftDetectionStatus = { DETECTION_COMPLETE: "DETECTION_COMPLETE", DETECTION_FAILED: "DETECTION_FAILED", DETECTION_IN_PROGRESS: "DETECTION_IN_PROGRESS" }; var StackDriftStatus = { DRIFTED: "DRIFTED", IN_SYNC: "IN_SYNC", NOT_CHECKED: "NOT_CHECKED", UNKNOWN: "UNKNOWN" }; var DetailedStatus = { CONFIGURATION_COMPLETE: "CONFIGURATION_COMPLETE", VALIDATION_FAILED: "VALIDATION_FAILED" }; var HookStatus = { HOOK_COMPLETE_FAILED: "HOOK_COMPLETE_FAILED", HOOK_COMPLETE_SUCCEEDED: "HOOK_COMPLETE_SUCCEEDED", HOOK_FAILED: "HOOK_FAILED", HOOK_IN_PROGRESS: "HOOK_IN_PROGRESS" }; var ResourceStatus = { CREATE_COMPLETE: "CREATE_COMPLETE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", DELETE_COMPLETE: "DELETE_COMPLETE", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", DELETE_SKIPPED: "DELETE_SKIPPED", EXPORT_COMPLETE: "EXPORT_COMPLETE", EXPORT_FAILED: "EXPORT_FAILED", EXPORT_IN_PROGRESS: "EXPORT_IN_PROGRESS", EXPORT_ROLLBACK_COMPLETE: "EXPORT_ROLLBACK_COMPLETE", EXPORT_ROLLBACK_FAILED: "EXPORT_ROLLBACK_FAILED", EXPORT_ROLLBACK_IN_PROGRESS: "EXPORT_ROLLBACK_IN_PROGRESS", IMPORT_COMPLETE: "IMPORT_COMPLETE", IMPORT_FAILED: "IMPORT_FAILED", IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS", IMPORT_ROLLBACK_COMPLETE: "IMPORT_ROLLBACK_COMPLETE", IMPORT_ROLLBACK_FAILED: "IMPORT_ROLLBACK_FAILED", IMPORT_ROLLBACK_IN_PROGRESS: "IMPORT_ROLLBACK_IN_PROGRESS", ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE", ROLLBACK_FAILED: "ROLLBACK_FAILED", ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS", UPDATE_COMPLETE: "UPDATE_COMPLETE", UPDATE_FAILED: "UPDATE_FAILED", UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", UPDATE_ROLLBACK_COMPLETE: "UPDATE_ROLLBACK_COMPLETE", UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED", UPDATE_ROLLBACK_IN_PROGRESS: "UPDATE_ROLLBACK_IN_PROGRESS" }; var StackInstanceDetailedStatus = { CANCELLED: "CANCELLED", FAILED: "FAILED", FAILED_IMPORT: "FAILED_IMPORT", INOPERABLE: "INOPERABLE", PENDING: "PENDING", RUNNING: "RUNNING", SKIPPED_SUSPENDED_ACCOUNT: "SKIPPED_SUSPENDED_ACCOUNT", SUCCEEDED: "SUCCEEDED" }; var StackInstanceStatus = { CURRENT: "CURRENT", INOPERABLE: "INOPERABLE", OUTDATED: "OUTDATED" }; var StackInstanceNotFoundException = class _StackInstanceNotFoundException extends CloudFormationServiceException { static { __name(this, "StackInstanceNotFoundException"); } name = "StackInstanceNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "StackInstanceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _StackInstanceNotFoundException.prototype); this.Message = opts.Message; } }; var StackRefactorExecutionStatus = { AVAILABLE: "AVAILABLE", EXECUTE_COMPLETE: "EXECUTE_COMPLETE", EXECUTE_FAILED: "EXECUTE_FAILED", EXECUTE_IN_PROGRESS: "EXECUTE_IN_PROGRESS", OBSOLETE: "OBSOLETE", ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE", ROLLBACK_FAILED: "ROLLBACK_FAILED", ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS", UNAVAILABLE: "UNAVAILABLE" }; var StackRefactorStatus = { CREATE_COMPLETE: "CREATE_COMPLETE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", DELETE_COMPLETE: "DELETE_COMPLETE", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS" }; var StackRefactorNotFoundException = class _StackRefactorNotFoundException extends CloudFormationServiceException { static { __name(this, "StackRefactorNotFoundException"); } name = "StackRefactorNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "StackRefactorNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _StackRefactorNotFoundException.prototype); this.Message = opts.Message; } }; var StackResourceDriftStatus = { DELETED: "DELETED", IN_SYNC: "IN_SYNC", MODIFIED: "MODIFIED", NOT_CHECKED: "NOT_CHECKED", UNKNOWN: "UNKNOWN" }; var DifferenceType = { ADD: "ADD", NOT_EQUAL: "NOT_EQUAL", REMOVE: "REMOVE" }; var StackStatus = { CREATE_COMPLETE: "CREATE_COMPLETE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", DELETE_COMPLETE: "DELETE_COMPLETE", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", IMPORT_COMPLETE: "IMPORT_COMPLETE", IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS", IMPORT_ROLLBACK_COMPLETE: "IMPORT_ROLLBACK_COMPLETE", IMPORT_ROLLBACK_FAILED: "IMPORT_ROLLBACK_FAILED", IMPORT_ROLLBACK_IN_PROGRESS: "IMPORT_ROLLBACK_IN_PROGRESS", REVIEW_IN_PROGRESS: "REVIEW_IN_PROGRESS", ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE", ROLLBACK_FAILED: "ROLLBACK_FAILED", ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS", UPDATE_COMPLETE: "UPDATE_COMPLETE", UPDATE_COMPLETE_CLEANUP_IN_PROGRESS: "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS", UPDATE_FAILED: "UPDATE_FAILED", UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", UPDATE_ROLLBACK_COMPLETE: "UPDATE_ROLLBACK_COMPLETE", UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS: "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED", UPDATE_ROLLBACK_IN_PROGRESS: "UPDATE_ROLLBACK_IN_PROGRESS" }; var StackSetDriftDetectionStatus = { COMPLETED: "COMPLETED", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", PARTIAL_SUCCESS: "PARTIAL_SUCCESS", STOPPED: "STOPPED" }; var StackSetDriftStatus = { DRIFTED: "DRIFTED", IN_SYNC: "IN_SYNC", NOT_CHECKED: "NOT_CHECKED" }; var StackSetStatus = { ACTIVE: "ACTIVE", DELETED: "DELETED" }; var StackSetOperationAction = { CREATE: "CREATE", DELETE: "DELETE", DETECT_DRIFT: "DETECT_DRIFT", UPDATE: "UPDATE" }; var StackSetOperationStatus = { FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING", STOPPED: "STOPPED", STOPPING: "STOPPING", SUCCEEDED: "SUCCEEDED" }; var DeprecatedStatus = { DEPRECATED: "DEPRECATED", LIVE: "LIVE" }; var ProvisioningType = { FULLY_MUTABLE: "FULLY_MUTABLE", IMMUTABLE: "IMMUTABLE", NON_PROVISIONABLE: "NON_PROVISIONABLE" }; var TypeTestsStatus = { FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", NOT_TESTED: "NOT_TESTED", PASSED: "PASSED" }; var Visibility = { PRIVATE: "PRIVATE", PUBLIC: "PUBLIC" }; var RegistrationStatus = { COMPLETE: "COMPLETE", FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS" }; var TemplateFormat = { JSON: "JSON", YAML: "YAML" }; var TemplateStage = { Original: "Original", Processed: "Processed" }; var StackNotFoundException = class _StackNotFoundException extends CloudFormationServiceException { static { __name(this, "StackNotFoundException"); } name = "StackNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "StackNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _StackNotFoundException.prototype); this.Message = opts.Message; } }; var HookResultNotFoundException = class _HookResultNotFoundException extends CloudFormationServiceException { static { __name(this, "HookResultNotFoundException"); } name = "HookResultNotFoundException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "HookResultNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _HookResultNotFoundException.prototype); this.Message = opts.Message; } }; var ListHookResultsTargetType = { CHANGE_SET: "CHANGE_SET", CLOUD_CONTROL: "CLOUD_CONTROL", RESOURCE: "RESOURCE", STACK: "STACK" }; var ResourceScanInProgressException = class _ResourceScanInProgressException extends CloudFormationServiceException { static { __name(this, "ResourceScanInProgressException"); } name = "ResourceScanInProgressException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceScanInProgressException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceScanInProgressException.prototype); this.Message = opts.Message; } }; var ScanType = { FULL: "FULL", PARTIAL: "PARTIAL" }; var StackInstanceFilterName = { DETAILED_STATUS: "DETAILED_STATUS", DRIFT_STATUS: "DRIFT_STATUS", LAST_OPERATION_ID: "LAST_OPERATION_ID" }; var StackRefactorActionType = { CREATE: "CREATE", MOVE: "MOVE" }; var StackRefactorDetection = { AUTO: "AUTO", MANUAL: "MANUAL" }; var StackRefactorActionEntity = { RESOURCE: "RESOURCE", STACK: "STACK" }; var OperationResultFilterName = { OPERATION_RESULT_STATUS: "OPERATION_RESULT_STATUS" }; var StackSetOperationResultStatus = { CANCELLED: "CANCELLED", FAILED: "FAILED", PENDING: "PENDING", RUNNING: "RUNNING", SUCCEEDED: "SUCCEEDED" }; // src/models/models_1.ts var InvalidStateTransitionException = class _InvalidStateTransitionException extends CloudFormationServiceException { static { __name(this, "InvalidStateTransitionException"); } name = "InvalidStateTransitionException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidStateTransitionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidStateTransitionException.prototype); this.Message = opts.Message; } }; var OperationStatusCheckFailedException = class _OperationStatusCheckFailedException extends CloudFormationServiceException { static { __name(this, "OperationStatusCheckFailedException"); } name = "OperationStatusCheckFailedException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "OperationStatusCheckFailedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OperationStatusCheckFailedException.prototype); this.Message = opts.Message; } }; var OperationStatus = { FAILED: "FAILED", IN_PROGRESS: "IN_PROGRESS", PENDING: "PENDING", SUCCESS: "SUCCESS" }; var HandlerErrorCode = { AccessDenied: "AccessDenied", AlreadyExists: "AlreadyExists", GeneralServiceException: "GeneralServiceException", HandlerInternalFailure: "HandlerInternalFailure", InternalFailure: "InternalFailure", InvalidCredentials: "InvalidCredentials", InvalidRequest: "InvalidRequest", InvalidTypeConfiguration: "InvalidTypeConfiguration", NetworkFailure: "NetworkFailure", NonCompliant: "NonCompliant", NotFound: "NotFound", NotUpdatable: "NotUpdatable", ResourceConflict: "ResourceConflict", ServiceInternalError: "ServiceInternalError", ServiceLimitExceeded: "ServiceLimitExceeded", ServiceTimeout: "NotStabilized", Throttling: "Throttling", Unknown: "Unknown", UnsupportedTarget: "UnsupportedTarget" }; var ResourceSignalStatus = { FAILURE: "FAILURE", SUCCESS: "SUCCESS" }; var ResourceScanLimitExceededException = class _ResourceScanLimitExceededException extends CloudFormationServiceException { static { __name(this, "ResourceScanLimitExceededException"); } name = "ResourceScanLimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ResourceScanLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceScanLimitExceededException.prototype); this.Message = opts.Message; } }; // src/protocols/Aws_query.ts var se_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (input, context) => {