@aws-sdk/client-cloudformation 3.42.0 → 3.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +11 -11
  3. package/dist-cjs/endpoints.js +1 -16
  4. package/dist-cjs/models/models_0.js +9 -135
  5. package/dist-cjs/protocols/Aws_query.js +48 -0
  6. package/dist-cjs/runtimeConfig.browser.js +7 -2
  7. package/dist-cjs/runtimeConfig.js +9 -3
  8. package/dist-es/endpoints.js +1 -16
  9. package/dist-es/models/models_0.js +4 -88
  10. package/dist-es/protocols/Aws_query.js +51 -0
  11. package/dist-es/runtimeConfig.browser.js +12 -3
  12. package/dist-es/runtimeConfig.js +13 -6
  13. package/dist-types/CloudFormation.d.ts +114 -117
  14. package/dist-types/CloudFormationClient.d.ts +16 -12
  15. package/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -2
  16. package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +5 -6
  17. package/dist-types/commands/CreateChangeSetCommand.d.ts +8 -7
  18. package/dist-types/commands/CreateStackCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateStackInstancesCommand.d.ts +3 -1
  20. package/dist-types/commands/DeleteChangeSetCommand.d.ts +2 -2
  21. package/dist-types/commands/DeleteStackCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribeStackEventsCommand.d.ts +3 -2
  24. package/dist-types/commands/DescribeStackInstanceCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeStackResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -3
  27. package/dist-types/commands/DescribeStackResourcesCommand.d.ts +8 -9
  28. package/dist-types/commands/DescribeStacksCommand.d.ts +3 -4
  29. package/dist-types/commands/DetectStackDriftCommand.d.ts +6 -6
  30. package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +2 -2
  31. package/dist-types/commands/EstimateTemplateCostCommand.d.ts +2 -3
  32. package/dist-types/commands/ExecuteChangeSetCommand.d.ts +2 -2
  33. package/dist-types/commands/GetStackPolicyCommand.d.ts +2 -2
  34. package/dist-types/commands/GetTemplateCommand.d.ts +4 -4
  35. package/dist-types/commands/GetTemplateSummaryCommand.d.ts +2 -2
  36. package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +6 -8
  37. package/dist-types/commands/ListChangeSetsCommand.d.ts +1 -2
  38. package/dist-types/commands/ListStackInstancesCommand.d.ts +2 -3
  39. package/dist-types/commands/ListStackSetsCommand.d.ts +1 -2
  40. package/dist-types/commands/RollbackStackCommand.d.ts +8 -3
  41. package/dist-types/commands/SignalResourceCommand.d.ts +3 -4
  42. package/dist-types/commands/UpdateStackCommand.d.ts +4 -4
  43. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +6 -6
  44. package/dist-types/commands/UpdateStackSetCommand.d.ts +2 -2
  45. package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +2 -2
  46. package/dist-types/commands/ValidateTemplateCommand.d.ts +2 -2
  47. package/dist-types/models/models_0.d.ts +653 -763
  48. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  49. package/dist-types/runtimeConfig.d.ts +4 -3
  50. package/dist-types/runtimeConfig.native.d.ts +1 -0
  51. package/dist-types/ts3.4/CloudFormationClient.d.ts +3 -1
  52. package/dist-types/ts3.4/models/models_0.d.ts +20 -87
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  56. package/package.json +39 -46
package/CHANGELOG.md CHANGED
@@ -3,6 +3,57 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
12
+ * Support awsQueryError trait ([#3174](https://github.com/aws/aws-sdk-js-v3/issues/3174)) ([351bd3a](https://github.com/aws/aws-sdk-js-v3/commit/351bd3a40ad37be79d823d6a0e4e48304728ea6f))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
24
+
25
+
26
+ ### Features
27
+
28
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
29
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
30
+
31
+
32
+
33
+
34
+
35
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
36
+
37
+
38
+ ### Features
39
+
40
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
41
+
42
+
43
+
44
+
45
+
46
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
47
+
48
+
49
+ ### Features
50
+
51
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
52
+
53
+
54
+
55
+
56
+
6
57
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
58
 
8
59
  **Note:** Version bump only for package @aws-sdk/client-cloudformation
package/README.md CHANGED
@@ -9,20 +9,20 @@ AWS SDK for JavaScript CloudFormation Client for Node.js, Browser and React Nati
9
9
 
10
10
  <fullname>AWS CloudFormation</fullname>
11
11
 
12
- <p>CloudFormation allows you to create and manage Amazon Web Services infrastructure deployments
13
- predictably and repeatedly. You can use CloudFormation to leverage Amazon Web Services products, such
14
- as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification
15
- Service, Elastic Load Balancing, and Auto Scaling to build highly-reliable, highly
16
- scalable, cost-effective applications without creating or configuring the underlying Amazon Web Services
17
- infrastructure.</p>
12
+ <p>CloudFormation allows you to create and manage Amazon Web Services infrastructure
13
+ deployments predictably and repeatedly. You can use CloudFormation to leverage
14
+ Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block
15
+ Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to
16
+ build highly-reliable, highly scalable, cost-effective applications without creating or
17
+ configuring the underlying Amazon Web Services infrastructure.</p>
18
18
  <p>With CloudFormation, you declare all of your resources and dependencies in a
19
19
  template file. The template defines a collection of resources as a single unit called a
20
- stack. CloudFormation creates and deletes all member resources of the stack together
21
- and manages all dependencies between the resources for you.</p>
20
+ stack. CloudFormation creates and deletes all member resources of the stack
21
+ together and manages all dependencies between the resources for you.</p>
22
22
  <p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation Product Page</a>.</p>
23
- <p>CloudFormation makes use of other Amazon Web Services products. If you need additional
24
- technical information about a specific Amazon Web Services product, you can find the product's technical
25
- documentation at <a href="https://docs.aws.amazon.com/">
23
+ <p>CloudFormation makes use of other Amazon Web Services products. If you need
24
+ additional technical information about a specific Amazon Web Services product, you can find
25
+ the product's technical documentation at <a href="https://docs.aws.amazon.com/">
26
26
  <code>docs.aws.amazon.com</code>
27
27
  </a>.</p>
28
28
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "us-east-1": {
7
7
  variants: [
8
- {
9
- hostname: "cloudformation.us-east-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "cloudformation-fips.us-east-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "us-east-2": {
19
15
  variants: [
20
- {
21
- hostname: "cloudformation.us-east-2.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "cloudformation-fips.us-east-2.amazonaws.com",
26
18
  tags: ["fips"],
@@ -47,10 +39,6 @@ const regionHash = {
47
39
  },
48
40
  "us-west-1": {
49
41
  variants: [
50
- {
51
- hostname: "cloudformation.us-west-1.amazonaws.com",
52
- tags: [],
53
- },
54
42
  {
55
43
  hostname: "cloudformation-fips.us-west-1.amazonaws.com",
56
44
  tags: ["fips"],
@@ -59,10 +47,6 @@ const regionHash = {
59
47
  },
60
48
  "us-west-2": {
61
49
  variants: [
62
- {
63
- hostname: "cloudformation.us-west-2.amazonaws.com",
64
- tags: [],
65
- },
66
50
  {
67
51
  hostname: "cloudformation-fips.us-west-2.amazonaws.com",
68
52
  tags: ["fips"],
@@ -81,6 +65,7 @@ const partitionHash = {
81
65
  "ap-south-1",
82
66
  "ap-southeast-1",
83
67
  "ap-southeast-2",
68
+ "ap-southeast-3",
84
69
  "ca-central-1",
85
70
  "eu-central-1",
86
71
  "eu-north-1",
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LimitExceededException = exports.InsufficientCapabilitiesException = exports.CreateChangeSetOutput = exports.CreateChangeSetInput = exports.Tag = exports.RollbackConfiguration = exports.RollbackTrigger = exports.ResourceToImport = exports.Parameter = exports.ContinueUpdateRollbackOutput = exports.ContinueUpdateRollbackInput = exports.ChangeSetType = exports.ChangeSetSummary = exports.ExecutionStatus = exports.ChangeSetStatus = exports.ChangeSetNotFoundException = exports.Change = exports.ChangeType = exports.ResourceChange = exports.Replacement = exports.ModuleInfo = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.TokenAlreadyExistsException = exports.CancelUpdateStackInput = exports.CallAs = exports.TypeConfigurationNotFoundException = exports.BatchDescribeTypeConfigurationsOutput = exports.TypeConfigurationDetails = exports.BatchDescribeTypeConfigurationsError = exports.BatchDescribeTypeConfigurationsInput = exports.TypeConfigurationIdentifier = exports.AutoDeployment = exports.AlreadyExistsException = exports.TypeNotFoundException = exports.CFNRegistryException = exports.ActivateTypeOutput = exports.ActivateTypeInput = exports.VersionBump = exports.ThirdPartyType = exports.LoggingConfig = exports.AccountLimit = exports.AccountGateResult = void 0;
4
- exports.DescribeStackInstanceOutput = exports.StackInstance = exports.StackInstanceComprehensiveStatus = exports.DescribeStackInstanceInput = exports.DescribeStackEventsOutput = exports.StackEvent = exports.ResourceStatus = exports.DescribeStackEventsInput = exports.DescribeStackDriftDetectionStatusOutput = exports.StackDriftStatus = exports.StackDriftDetectionStatus = exports.DescribeStackDriftDetectionStatusInput = exports.DescribePublisherOutput = exports.PublisherStatus = exports.IdentityProvider = exports.DescribePublisherInput = exports.DescribeChangeSetOutput = exports.DescribeChangeSetInput = exports.DescribeAccountLimitsOutput = exports.DescribeAccountLimitsInput = exports.DeregisterTypeOutput = exports.DeregisterTypeInput = exports.StackSetNotEmptyException = exports.DeleteStackSetOutput = exports.DeleteStackSetInput = exports.DeleteStackInstancesOutput = exports.DeleteStackInstancesInput = exports.DeleteStackInput = exports.InvalidChangeSetStatusException = exports.DeleteChangeSetOutput = exports.DeleteChangeSetInput = exports.DeactivateTypeOutput = exports.DeactivateTypeInput = exports.NameAlreadyExistsException = exports.CreateStackSetOutput = exports.CreateStackSetInput = exports.CreatedButModifiedException = exports.StaleRequestException = exports.StackSetNotFoundException = exports.OperationInProgressException = exports.OperationIdAlreadyExistsException = exports.InvalidOperationException = exports.CreateStackInstancesOutput = exports.CreateStackInstancesInput = exports.StackSetOperationPreferences = exports.RegionConcurrencyType = exports.DeploymentTargets = exports.CreateStackOutput = exports.CreateStackInput = exports.OnFailure = void 0;
5
- exports.TemplateStage = exports.GetStackPolicyOutput = exports.GetStackPolicyInput = exports.ExecuteChangeSetOutput = exports.ExecuteChangeSetInput = exports.EstimateTemplateCostOutput = exports.EstimateTemplateCostInput = exports.DetectStackSetDriftOutput = exports.DetectStackSetDriftInput = exports.DetectStackResourceDriftOutput = exports.DetectStackResourceDriftInput = exports.DetectStackDriftOutput = exports.DetectStackDriftInput = exports.DescribeTypeRegistrationOutput = exports.DescribeTypeRegistrationInput = exports.DescribeTypeOutput = exports.TypeTestsStatus = exports.RequiredActivatedType = exports.DescribeTypeInput = exports.OperationNotFoundException = exports.DescribeStackSetOperationOutput = exports.StackSetOperation = exports.DescribeStackSetOperationInput = exports.DescribeStackSetOutput = exports.StackSet = exports.StackSetDriftDetectionDetails = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.DescribeStackSetInput = exports.DescribeStacksOutput = exports.Stack = exports.StackStatus = exports.Output = exports.StackDriftInformation = exports.DescribeStacksInput = exports.DescribeStackResourcesOutput = exports.StackResource = exports.DescribeStackResourcesInput = exports.DescribeStackResourceDriftsOutput = exports.StackResourceDrift = exports.PropertyDifference = exports.DifferenceType = exports.PhysicalResourceIdContextKeyValuePair = exports.DescribeStackResourceDriftsInput = exports.DescribeStackResourceOutput = exports.StackResourceDetail = exports.StackResourceDriftInformation = exports.StackResourceDriftStatus = exports.DescribeStackResourceInput = exports.StackInstanceNotFoundException = void 0;
6
- exports.InvalidStateTransitionException = exports.PublishTypeOutput = exports.PublishTypeInput = exports.ListTypeVersionsOutput = exports.TypeVersionSummary = exports.ListTypeVersionsInput = exports.ListTypesOutput = exports.TypeSummary = exports.ListTypesInput = exports.TypeFilters = exports.ListTypeRegistrationsOutput = exports.ListTypeRegistrationsInput = exports.ListStackSetsOutput = exports.StackSetSummary = exports.ListStackSetsInput = exports.ListStackSetOperationsOutput = exports.StackSetOperationSummary = exports.ListStackSetOperationsInput = exports.ListStackSetOperationResultsOutput = exports.StackSetOperationResultSummary = exports.ListStackSetOperationResultsInput = exports.ListStacksOutput = exports.StackSummary = exports.StackDriftInformationSummary = exports.ListStacksInput = exports.ListStackResourcesOutput = exports.StackResourceSummary = exports.StackResourceDriftInformationSummary = exports.ListStackResourcesInput = exports.ListStackInstancesOutput = exports.StackInstanceSummary = exports.ListStackInstancesInput = exports.StackInstanceFilter = exports.ListImportsOutput = exports.ListImportsInput = exports.ListExportsOutput = exports.Export = exports.ListExportsInput = exports.ListChangeSetsOutput = exports.ListChangeSetsInput = exports.StackNotFoundException = exports.ImportStacksToStackSetOutput = exports.ImportStacksToStackSetInput = exports.GetTemplateSummaryOutput = exports.ResourceIdentifierSummary = exports.ParameterDeclaration = exports.ParameterConstraints = exports.GetTemplateSummaryInput = exports.GetTemplateOutput = exports.GetTemplateInput = void 0;
7
- exports.ValidateTemplateOutput = exports.TemplateParameter = exports.ValidateTemplateInput = exports.UpdateTerminationProtectionOutput = exports.UpdateTerminationProtectionInput = exports.UpdateStackSetOutput = exports.UpdateStackSetInput = exports.UpdateStackInstancesOutput = exports.UpdateStackInstancesInput = exports.UpdateStackOutput = exports.UpdateStackInput = exports.TestTypeOutput = exports.TestTypeInput = exports.StopStackSetOperationOutput = exports.StopStackSetOperationInput = exports.SignalResourceInput = exports.ResourceSignalStatus = exports.SetTypeDefaultVersionOutput = exports.SetTypeDefaultVersionInput = exports.SetTypeConfigurationOutput = exports.SetTypeConfigurationInput = exports.SetStackPolicyInput = exports.RollbackStackOutput = exports.RollbackStackInput = exports.RegisterTypeOutput = exports.RegisterTypeInput = exports.RegisterPublisherOutput = exports.RegisterPublisherInput = exports.RecordHandlerProgressOutput = exports.RecordHandlerProgressInput = exports.HandlerErrorCode = exports.OperationStatus = exports.OperationStatusCheckFailedException = void 0;
3
+ exports.CreateStackInstancesOutput = exports.CreateStackInstancesInput = exports.StackSetOperationPreferences = exports.RegionConcurrencyType = exports.DeploymentTargets = exports.CreateStackOutput = exports.CreateStackInput = exports.OnFailure = exports.CreateChangeSetOutput = exports.CreateChangeSetInput = exports.Tag = exports.RollbackConfiguration = exports.RollbackTrigger = exports.ResourceToImport = exports.Parameter = exports.ContinueUpdateRollbackOutput = exports.ContinueUpdateRollbackInput = exports.ChangeSetType = exports.ChangeSetSummary = exports.ExecutionStatus = exports.ChangeSetStatus = exports.Change = exports.ChangeType = exports.ResourceChange = exports.Replacement = exports.ModuleInfo = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.CancelUpdateStackInput = exports.CallAs = exports.BatchDescribeTypeConfigurationsOutput = exports.TypeConfigurationDetails = exports.BatchDescribeTypeConfigurationsError = exports.BatchDescribeTypeConfigurationsInput = exports.TypeConfigurationIdentifier = exports.AutoDeployment = exports.ActivateTypeOutput = exports.ActivateTypeInput = exports.VersionBump = exports.ThirdPartyType = exports.LoggingConfig = exports.AccountLimit = exports.AccountGateResult = void 0;
4
+ exports.StackDriftInformation = exports.DescribeStacksInput = exports.DescribeStackResourcesOutput = exports.StackResource = exports.DescribeStackResourcesInput = exports.DescribeStackResourceDriftsOutput = exports.StackResourceDrift = exports.PropertyDifference = exports.DifferenceType = exports.PhysicalResourceIdContextKeyValuePair = exports.DescribeStackResourceDriftsInput = exports.DescribeStackResourceOutput = exports.StackResourceDetail = exports.StackResourceDriftInformation = exports.StackResourceDriftStatus = exports.DescribeStackResourceInput = exports.DescribeStackInstanceOutput = exports.StackInstance = exports.StackInstanceComprehensiveStatus = exports.DescribeStackInstanceInput = exports.DescribeStackEventsOutput = exports.StackEvent = exports.ResourceStatus = exports.DescribeStackEventsInput = exports.DescribeStackDriftDetectionStatusOutput = exports.StackDriftStatus = exports.StackDriftDetectionStatus = exports.DescribeStackDriftDetectionStatusInput = exports.DescribePublisherOutput = exports.PublisherStatus = exports.IdentityProvider = exports.DescribePublisherInput = exports.DescribeChangeSetOutput = exports.DescribeChangeSetInput = exports.DescribeAccountLimitsOutput = exports.DescribeAccountLimitsInput = exports.DeregisterTypeOutput = exports.DeregisterTypeInput = exports.DeleteStackSetOutput = exports.DeleteStackSetInput = exports.DeleteStackInstancesOutput = exports.DeleteStackInstancesInput = exports.DeleteStackInput = exports.DeleteChangeSetOutput = exports.DeleteChangeSetInput = exports.DeactivateTypeOutput = exports.DeactivateTypeInput = exports.CreateStackSetOutput = exports.CreateStackSetInput = exports.ManagedExecution = void 0;
5
+ exports.ListStackInstancesInput = exports.StackInstanceFilter = exports.ListImportsOutput = exports.ListImportsInput = exports.ListExportsOutput = exports.Export = exports.ListExportsInput = exports.ListChangeSetsOutput = exports.ListChangeSetsInput = exports.ImportStacksToStackSetOutput = exports.ImportStacksToStackSetInput = exports.GetTemplateSummaryOutput = exports.ResourceIdentifierSummary = exports.ParameterDeclaration = exports.ParameterConstraints = exports.GetTemplateSummaryInput = exports.GetTemplateOutput = exports.GetTemplateInput = exports.TemplateStage = exports.GetStackPolicyOutput = exports.GetStackPolicyInput = exports.ExecuteChangeSetOutput = exports.ExecuteChangeSetInput = exports.EstimateTemplateCostOutput = exports.EstimateTemplateCostInput = exports.DetectStackSetDriftOutput = exports.DetectStackSetDriftInput = exports.DetectStackResourceDriftOutput = exports.DetectStackResourceDriftInput = exports.DetectStackDriftOutput = exports.DetectStackDriftInput = exports.DescribeTypeRegistrationOutput = exports.DescribeTypeRegistrationInput = exports.DescribeTypeOutput = exports.TypeTestsStatus = exports.RequiredActivatedType = exports.DescribeTypeInput = exports.DescribeStackSetOperationOutput = exports.StackSetOperation = exports.DescribeStackSetOperationInput = exports.DescribeStackSetOutput = exports.StackSet = exports.StackSetDriftDetectionDetails = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.DescribeStackSetInput = exports.DescribeStacksOutput = exports.Stack = exports.StackStatus = exports.Output = void 0;
6
+ exports.TestTypeInput = exports.StopStackSetOperationOutput = exports.StopStackSetOperationInput = exports.SignalResourceInput = exports.ResourceSignalStatus = exports.SetTypeDefaultVersionOutput = exports.SetTypeDefaultVersionInput = exports.SetTypeConfigurationOutput = exports.SetTypeConfigurationInput = exports.SetStackPolicyInput = exports.RollbackStackOutput = exports.RollbackStackInput = exports.RegisterTypeOutput = exports.RegisterTypeInput = exports.RegisterPublisherOutput = exports.RegisterPublisherInput = exports.RecordHandlerProgressOutput = exports.RecordHandlerProgressInput = exports.HandlerErrorCode = exports.OperationStatus = exports.PublishTypeOutput = exports.PublishTypeInput = exports.ListTypeVersionsOutput = exports.TypeVersionSummary = exports.ListTypeVersionsInput = exports.ListTypesOutput = exports.TypeSummary = exports.ListTypesInput = exports.TypeFilters = exports.ListTypeRegistrationsOutput = exports.ListTypeRegistrationsInput = exports.ListStackSetsOutput = exports.StackSetSummary = exports.ListStackSetsInput = exports.ListStackSetOperationsOutput = exports.StackSetOperationSummary = exports.ListStackSetOperationsInput = exports.ListStackSetOperationResultsOutput = exports.StackSetOperationResultSummary = exports.ListStackSetOperationResultsInput = exports.ListStacksOutput = exports.StackSummary = exports.StackDriftInformationSummary = exports.ListStacksInput = exports.ListStackResourcesOutput = exports.StackResourceSummary = exports.StackResourceDriftInformationSummary = exports.ListStackResourcesInput = exports.ListStackInstancesOutput = exports.StackInstanceSummary = void 0;
7
+ exports.ValidateTemplateOutput = exports.TemplateParameter = exports.ValidateTemplateInput = exports.UpdateTerminationProtectionOutput = exports.UpdateTerminationProtectionInput = exports.UpdateStackSetOutput = exports.UpdateStackSetInput = exports.UpdateStackInstancesOutput = exports.UpdateStackInstancesInput = exports.UpdateStackOutput = exports.UpdateStackInput = exports.TestTypeOutput = void 0;
8
8
  var AccountGateResult;
9
9
  (function (AccountGateResult) {
10
10
  AccountGateResult.filterSensitiveLog = (obj) => ({
@@ -45,24 +45,6 @@ var ActivateTypeOutput;
45
45
  ...obj,
46
46
  });
47
47
  })(ActivateTypeOutput = exports.ActivateTypeOutput || (exports.ActivateTypeOutput = {}));
48
- var CFNRegistryException;
49
- (function (CFNRegistryException) {
50
- CFNRegistryException.filterSensitiveLog = (obj) => ({
51
- ...obj,
52
- });
53
- })(CFNRegistryException = exports.CFNRegistryException || (exports.CFNRegistryException = {}));
54
- var TypeNotFoundException;
55
- (function (TypeNotFoundException) {
56
- TypeNotFoundException.filterSensitiveLog = (obj) => ({
57
- ...obj,
58
- });
59
- })(TypeNotFoundException = exports.TypeNotFoundException || (exports.TypeNotFoundException = {}));
60
- var AlreadyExistsException;
61
- (function (AlreadyExistsException) {
62
- AlreadyExistsException.filterSensitiveLog = (obj) => ({
63
- ...obj,
64
- });
65
- })(AlreadyExistsException = exports.AlreadyExistsException || (exports.AlreadyExistsException = {}));
66
48
  var AutoDeployment;
67
49
  (function (AutoDeployment) {
68
50
  AutoDeployment.filterSensitiveLog = (obj) => ({
@@ -99,12 +81,6 @@ var BatchDescribeTypeConfigurationsOutput;
99
81
  ...obj,
100
82
  });
101
83
  })(BatchDescribeTypeConfigurationsOutput = exports.BatchDescribeTypeConfigurationsOutput || (exports.BatchDescribeTypeConfigurationsOutput = {}));
102
- var TypeConfigurationNotFoundException;
103
- (function (TypeConfigurationNotFoundException) {
104
- TypeConfigurationNotFoundException.filterSensitiveLog = (obj) => ({
105
- ...obj,
106
- });
107
- })(TypeConfigurationNotFoundException = exports.TypeConfigurationNotFoundException || (exports.TypeConfigurationNotFoundException = {}));
108
84
  var CallAs;
109
85
  (function (CallAs) {
110
86
  CallAs["DELEGATED_ADMIN"] = "DELEGATED_ADMIN";
@@ -116,12 +92,6 @@ var CancelUpdateStackInput;
116
92
  ...obj,
117
93
  });
118
94
  })(CancelUpdateStackInput = exports.CancelUpdateStackInput || (exports.CancelUpdateStackInput = {}));
119
- var TokenAlreadyExistsException;
120
- (function (TokenAlreadyExistsException) {
121
- TokenAlreadyExistsException.filterSensitiveLog = (obj) => ({
122
- ...obj,
123
- });
124
- })(TokenAlreadyExistsException = exports.TokenAlreadyExistsException || (exports.TokenAlreadyExistsException = {}));
125
95
  var Capability;
126
96
  (function (Capability) {
127
97
  Capability["CAPABILITY_AUTO_EXPAND"] = "CAPABILITY_AUTO_EXPAND";
@@ -211,12 +181,6 @@ var Change;
211
181
  ...obj,
212
182
  });
213
183
  })(Change = exports.Change || (exports.Change = {}));
214
- var ChangeSetNotFoundException;
215
- (function (ChangeSetNotFoundException) {
216
- ChangeSetNotFoundException.filterSensitiveLog = (obj) => ({
217
- ...obj,
218
- });
219
- })(ChangeSetNotFoundException = exports.ChangeSetNotFoundException || (exports.ChangeSetNotFoundException = {}));
220
184
  var ChangeSetStatus;
221
185
  (function (ChangeSetStatus) {
222
186
  ChangeSetStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
@@ -303,18 +267,6 @@ var CreateChangeSetOutput;
303
267
  ...obj,
304
268
  });
305
269
  })(CreateChangeSetOutput = exports.CreateChangeSetOutput || (exports.CreateChangeSetOutput = {}));
306
- var InsufficientCapabilitiesException;
307
- (function (InsufficientCapabilitiesException) {
308
- InsufficientCapabilitiesException.filterSensitiveLog = (obj) => ({
309
- ...obj,
310
- });
311
- })(InsufficientCapabilitiesException = exports.InsufficientCapabilitiesException || (exports.InsufficientCapabilitiesException = {}));
312
- var LimitExceededException;
313
- (function (LimitExceededException) {
314
- LimitExceededException.filterSensitiveLog = (obj) => ({
315
- ...obj,
316
- });
317
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
318
270
  var OnFailure;
319
271
  (function (OnFailure) {
320
272
  OnFailure["DELETE"] = "DELETE";
@@ -362,42 +314,12 @@ var CreateStackInstancesOutput;
362
314
  ...obj,
363
315
  });
364
316
  })(CreateStackInstancesOutput = exports.CreateStackInstancesOutput || (exports.CreateStackInstancesOutput = {}));
365
- var InvalidOperationException;
366
- (function (InvalidOperationException) {
367
- InvalidOperationException.filterSensitiveLog = (obj) => ({
368
- ...obj,
369
- });
370
- })(InvalidOperationException = exports.InvalidOperationException || (exports.InvalidOperationException = {}));
371
- var OperationIdAlreadyExistsException;
372
- (function (OperationIdAlreadyExistsException) {
373
- OperationIdAlreadyExistsException.filterSensitiveLog = (obj) => ({
374
- ...obj,
375
- });
376
- })(OperationIdAlreadyExistsException = exports.OperationIdAlreadyExistsException || (exports.OperationIdAlreadyExistsException = {}));
377
- var OperationInProgressException;
378
- (function (OperationInProgressException) {
379
- OperationInProgressException.filterSensitiveLog = (obj) => ({
380
- ...obj,
381
- });
382
- })(OperationInProgressException = exports.OperationInProgressException || (exports.OperationInProgressException = {}));
383
- var StackSetNotFoundException;
384
- (function (StackSetNotFoundException) {
385
- StackSetNotFoundException.filterSensitiveLog = (obj) => ({
386
- ...obj,
387
- });
388
- })(StackSetNotFoundException = exports.StackSetNotFoundException || (exports.StackSetNotFoundException = {}));
389
- var StaleRequestException;
390
- (function (StaleRequestException) {
391
- StaleRequestException.filterSensitiveLog = (obj) => ({
317
+ var ManagedExecution;
318
+ (function (ManagedExecution) {
319
+ ManagedExecution.filterSensitiveLog = (obj) => ({
392
320
  ...obj,
393
321
  });
394
- })(StaleRequestException = exports.StaleRequestException || (exports.StaleRequestException = {}));
395
- var CreatedButModifiedException;
396
- (function (CreatedButModifiedException) {
397
- CreatedButModifiedException.filterSensitiveLog = (obj) => ({
398
- ...obj,
399
- });
400
- })(CreatedButModifiedException = exports.CreatedButModifiedException || (exports.CreatedButModifiedException = {}));
322
+ })(ManagedExecution = exports.ManagedExecution || (exports.ManagedExecution = {}));
401
323
  var CreateStackSetInput;
402
324
  (function (CreateStackSetInput) {
403
325
  CreateStackSetInput.filterSensitiveLog = (obj) => ({
@@ -410,12 +332,6 @@ var CreateStackSetOutput;
410
332
  ...obj,
411
333
  });
412
334
  })(CreateStackSetOutput = exports.CreateStackSetOutput || (exports.CreateStackSetOutput = {}));
413
- var NameAlreadyExistsException;
414
- (function (NameAlreadyExistsException) {
415
- NameAlreadyExistsException.filterSensitiveLog = (obj) => ({
416
- ...obj,
417
- });
418
- })(NameAlreadyExistsException = exports.NameAlreadyExistsException || (exports.NameAlreadyExistsException = {}));
419
335
  var DeactivateTypeInput;
420
336
  (function (DeactivateTypeInput) {
421
337
  DeactivateTypeInput.filterSensitiveLog = (obj) => ({
@@ -440,12 +356,6 @@ var DeleteChangeSetOutput;
440
356
  ...obj,
441
357
  });
442
358
  })(DeleteChangeSetOutput = exports.DeleteChangeSetOutput || (exports.DeleteChangeSetOutput = {}));
443
- var InvalidChangeSetStatusException;
444
- (function (InvalidChangeSetStatusException) {
445
- InvalidChangeSetStatusException.filterSensitiveLog = (obj) => ({
446
- ...obj,
447
- });
448
- })(InvalidChangeSetStatusException = exports.InvalidChangeSetStatusException || (exports.InvalidChangeSetStatusException = {}));
449
359
  var DeleteStackInput;
450
360
  (function (DeleteStackInput) {
451
361
  DeleteStackInput.filterSensitiveLog = (obj) => ({
@@ -476,12 +386,6 @@ var DeleteStackSetOutput;
476
386
  ...obj,
477
387
  });
478
388
  })(DeleteStackSetOutput = exports.DeleteStackSetOutput || (exports.DeleteStackSetOutput = {}));
479
- var StackSetNotEmptyException;
480
- (function (StackSetNotEmptyException) {
481
- StackSetNotEmptyException.filterSensitiveLog = (obj) => ({
482
- ...obj,
483
- });
484
- })(StackSetNotEmptyException = exports.StackSetNotEmptyException || (exports.StackSetNotEmptyException = {}));
485
389
  var DeregisterTypeInput;
486
390
  (function (DeregisterTypeInput) {
487
391
  DeregisterTypeInput.filterSensitiveLog = (obj) => ({
@@ -633,12 +537,6 @@ var DescribeStackInstanceOutput;
633
537
  ...obj,
634
538
  });
635
539
  })(DescribeStackInstanceOutput = exports.DescribeStackInstanceOutput || (exports.DescribeStackInstanceOutput = {}));
636
- var StackInstanceNotFoundException;
637
- (function (StackInstanceNotFoundException) {
638
- StackInstanceNotFoundException.filterSensitiveLog = (obj) => ({
639
- ...obj,
640
- });
641
- })(StackInstanceNotFoundException = exports.StackInstanceNotFoundException || (exports.StackInstanceNotFoundException = {}));
642
540
  var DescribeStackResourceInput;
643
541
  (function (DescribeStackResourceInput) {
644
542
  DescribeStackResourceInput.filterSensitiveLog = (obj) => ({
@@ -836,12 +734,6 @@ var DescribeStackSetOperationOutput;
836
734
  ...obj,
837
735
  });
838
736
  })(DescribeStackSetOperationOutput = exports.DescribeStackSetOperationOutput || (exports.DescribeStackSetOperationOutput = {}));
839
- var OperationNotFoundException;
840
- (function (OperationNotFoundException) {
841
- OperationNotFoundException.filterSensitiveLog = (obj) => ({
842
- ...obj,
843
- });
844
- })(OperationNotFoundException = exports.OperationNotFoundException || (exports.OperationNotFoundException = {}));
845
737
  var DescribeTypeInput;
846
738
  (function (DescribeTypeInput) {
847
739
  DescribeTypeInput.filterSensitiveLog = (obj) => ({
@@ -1010,12 +902,6 @@ var ImportStacksToStackSetOutput;
1010
902
  ...obj,
1011
903
  });
1012
904
  })(ImportStacksToStackSetOutput = exports.ImportStacksToStackSetOutput || (exports.ImportStacksToStackSetOutput = {}));
1013
- var StackNotFoundException;
1014
- (function (StackNotFoundException) {
1015
- StackNotFoundException.filterSensitiveLog = (obj) => ({
1016
- ...obj,
1017
- });
1018
- })(StackNotFoundException = exports.StackNotFoundException || (exports.StackNotFoundException = {}));
1019
905
  var ListChangeSetsInput;
1020
906
  (function (ListChangeSetsInput) {
1021
907
  ListChangeSetsInput.filterSensitiveLog = (obj) => ({
@@ -1250,18 +1136,6 @@ var PublishTypeOutput;
1250
1136
  ...obj,
1251
1137
  });
1252
1138
  })(PublishTypeOutput = exports.PublishTypeOutput || (exports.PublishTypeOutput = {}));
1253
- var InvalidStateTransitionException;
1254
- (function (InvalidStateTransitionException) {
1255
- InvalidStateTransitionException.filterSensitiveLog = (obj) => ({
1256
- ...obj,
1257
- });
1258
- })(InvalidStateTransitionException = exports.InvalidStateTransitionException || (exports.InvalidStateTransitionException = {}));
1259
- var OperationStatusCheckFailedException;
1260
- (function (OperationStatusCheckFailedException) {
1261
- OperationStatusCheckFailedException.filterSensitiveLog = (obj) => ({
1262
- ...obj,
1263
- });
1264
- })(OperationStatusCheckFailedException = exports.OperationStatusCheckFailedException || (exports.OperationStatusCheckFailedException = {}));
1265
1139
  var OperationStatus;
1266
1140
  (function (OperationStatus) {
1267
1141
  OperationStatus["FAILED"] = "FAILED";
@@ -4791,6 +4791,13 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
4791
4791
  if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
4792
4792
  entries["ClientRequestToken"] = input.ClientRequestToken;
4793
4793
  }
4794
+ if (input.ManagedExecution !== undefined && input.ManagedExecution !== null) {
4795
+ const memberEntries = serializeAws_queryManagedExecution(input.ManagedExecution, context);
4796
+ Object.entries(memberEntries).forEach(([key, value]) => {
4797
+ const loc = `ManagedExecution.${key}`;
4798
+ entries[loc] = value;
4799
+ });
4800
+ }
4794
4801
  return entries;
4795
4802
  };
4796
4803
  const serializeAws_queryDeactivateTypeInput = (input, context) => {
@@ -5226,6 +5233,16 @@ const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
5226
5233
  entries[loc] = value;
5227
5234
  });
5228
5235
  }
5236
+ if (input.StackIdsUrl !== undefined && input.StackIdsUrl !== null) {
5237
+ entries["StackIdsUrl"] = input.StackIdsUrl;
5238
+ }
5239
+ if (input.OrganizationalUnitIds !== undefined && input.OrganizationalUnitIds !== null) {
5240
+ const memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
5241
+ Object.entries(memberEntries).forEach(([key, value]) => {
5242
+ const loc = `OrganizationalUnitIds.${key}`;
5243
+ entries[loc] = value;
5244
+ });
5245
+ }
5229
5246
  if (input.OperationPreferences !== undefined && input.OperationPreferences !== null) {
5230
5247
  const memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
5231
5248
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -5473,6 +5490,13 @@ const serializeAws_queryLogicalResourceIds = (input, context) => {
5473
5490
  }
5474
5491
  return entries;
5475
5492
  };
5493
+ const serializeAws_queryManagedExecution = (input, context) => {
5494
+ const entries = {};
5495
+ if (input.Active !== undefined && input.Active !== null) {
5496
+ entries["Active"] = input.Active;
5497
+ }
5498
+ return entries;
5499
+ };
5476
5500
  const serializeAws_queryNotificationARNs = (input, context) => {
5477
5501
  const entries = {};
5478
5502
  let counter = 1;
@@ -6225,6 +6249,13 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
6225
6249
  if (input.CallAs !== undefined && input.CallAs !== null) {
6226
6250
  entries["CallAs"] = input.CallAs;
6227
6251
  }
6252
+ if (input.ManagedExecution !== undefined && input.ManagedExecution !== null) {
6253
+ const memberEntries = serializeAws_queryManagedExecution(input.ManagedExecution, context);
6254
+ Object.entries(memberEntries).forEach(([key, value]) => {
6255
+ const loc = `ManagedExecution.${key}`;
6256
+ entries[loc] = value;
6257
+ });
6258
+ }
6228
6259
  return entries;
6229
6260
  };
6230
6261
  const serializeAws_queryUpdateTerminationProtectionInput = (input, context) => {
@@ -7430,6 +7461,15 @@ const deserializeAws_queryLogicalResourceIds = (output, context) => {
7430
7461
  return smithy_client_1.expectString(entry);
7431
7462
  });
7432
7463
  };
7464
+ const deserializeAws_queryManagedExecution = (output, context) => {
7465
+ const contents = {
7466
+ Active: undefined,
7467
+ };
7468
+ if (output["Active"] !== undefined) {
7469
+ contents.Active = smithy_client_1.parseBoolean(output["Active"]);
7470
+ }
7471
+ return contents;
7472
+ };
7433
7473
  const deserializeAws_queryModuleInfo = (output, context) => {
7434
7474
  const contents = {
7435
7475
  TypeHierarchy: undefined,
@@ -8584,6 +8624,7 @@ const deserializeAws_queryStackSet = (output, context) => {
8584
8624
  AutoDeployment: undefined,
8585
8625
  PermissionModel: undefined,
8586
8626
  OrganizationalUnitIds: undefined,
8627
+ ManagedExecution: undefined,
8587
8628
  };
8588
8629
  if (output["StackSetName"] !== undefined) {
8589
8630
  contents.StackSetName = smithy_client_1.expectString(output["StackSetName"]);
@@ -8642,6 +8683,9 @@ const deserializeAws_queryStackSet = (output, context) => {
8642
8683
  if (output["OrganizationalUnitIds"] !== undefined && output["OrganizationalUnitIds"]["member"] !== undefined) {
8643
8684
  contents.OrganizationalUnitIds = deserializeAws_queryOrganizationalUnitIdList(smithy_client_1.getArrayIfSingleItem(output["OrganizationalUnitIds"]["member"]), context);
8644
8685
  }
8686
+ if (output["ManagedExecution"] !== undefined) {
8687
+ contents.ManagedExecution = deserializeAws_queryManagedExecution(output["ManagedExecution"], context);
8688
+ }
8645
8689
  return contents;
8646
8690
  };
8647
8691
  const deserializeAws_queryStackSetDriftDetectionDetails = (output, context) => {
@@ -8878,6 +8922,7 @@ const deserializeAws_queryStackSetSummary = (output, context) => {
8878
8922
  PermissionModel: undefined,
8879
8923
  DriftStatus: undefined,
8880
8924
  LastDriftCheckTimestamp: undefined,
8925
+ ManagedExecution: undefined,
8881
8926
  };
8882
8927
  if (output["StackSetName"] !== undefined) {
8883
8928
  contents.StackSetName = smithy_client_1.expectString(output["StackSetName"]);
@@ -8903,6 +8948,9 @@ const deserializeAws_queryStackSetSummary = (output, context) => {
8903
8948
  if (output["LastDriftCheckTimestamp"] !== undefined) {
8904
8949
  contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
8905
8950
  }
8951
+ if (output["ManagedExecution"] !== undefined) {
8952
+ contents.ManagedExecution = deserializeAws_queryManagedExecution(output["ManagedExecution"], context);
8953
+ }
8906
8954
  return contents;
8907
8955
  };
8908
8956
  const deserializeAws_queryStackSummaries = (output, context) => {
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "us-east-1": {
5
5
  variants: [
6
- {
7
- hostname: "cloudformation.us-east-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "cloudformation-fips.us-east-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-2": {
17
13
  variants: [
18
- {
19
- hostname: "cloudformation.us-east-2.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "cloudformation-fips.us-east-2.amazonaws.com",
24
16
  tags: ["fips"],
@@ -45,10 +37,6 @@ var regionHash = {
45
37
  },
46
38
  "us-west-1": {
47
39
  variants: [
48
- {
49
- hostname: "cloudformation.us-west-1.amazonaws.com",
50
- tags: [],
51
- },
52
40
  {
53
41
  hostname: "cloudformation-fips.us-west-1.amazonaws.com",
54
42
  tags: ["fips"],
@@ -57,10 +45,6 @@ var regionHash = {
57
45
  },
58
46
  "us-west-2": {
59
47
  variants: [
60
- {
61
- hostname: "cloudformation.us-west-2.amazonaws.com",
62
- tags: [],
63
- },
64
48
  {
65
49
  hostname: "cloudformation-fips.us-west-2.amazonaws.com",
66
50
  tags: ["fips"],
@@ -79,6 +63,7 @@ var partitionHash = {
79
63
  "ap-south-1",
80
64
  "ap-southeast-1",
81
65
  "ap-southeast-2",
66
+ "ap-southeast-3",
82
67
  "ca-central-1",
83
68
  "eu-central-1",
84
69
  "eu-north-1",