@aws-sdk/client-cloudformation 3.649.0 → 3.650.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 (86) hide show
  1. package/dist-cjs/index.js +82 -246
  2. package/dist-es/commands/ActivateOrganizationsAccessCommand.js +1 -3
  3. package/dist-es/commands/ActivateTypeCommand.js +1 -3
  4. package/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +1 -3
  5. package/dist-es/commands/CancelUpdateStackCommand.js +1 -3
  6. package/dist-es/commands/ContinueUpdateRollbackCommand.js +1 -3
  7. package/dist-es/commands/CreateChangeSetCommand.js +1 -3
  8. package/dist-es/commands/CreateGeneratedTemplateCommand.js +1 -3
  9. package/dist-es/commands/CreateStackCommand.js +1 -3
  10. package/dist-es/commands/CreateStackInstancesCommand.js +1 -3
  11. package/dist-es/commands/CreateStackSetCommand.js +1 -3
  12. package/dist-es/commands/DeactivateOrganizationsAccessCommand.js +1 -3
  13. package/dist-es/commands/DeactivateTypeCommand.js +1 -3
  14. package/dist-es/commands/DeleteChangeSetCommand.js +1 -3
  15. package/dist-es/commands/DeleteGeneratedTemplateCommand.js +1 -3
  16. package/dist-es/commands/DeleteStackCommand.js +1 -3
  17. package/dist-es/commands/DeleteStackInstancesCommand.js +1 -3
  18. package/dist-es/commands/DeleteStackSetCommand.js +1 -3
  19. package/dist-es/commands/DeregisterTypeCommand.js +1 -3
  20. package/dist-es/commands/DescribeAccountLimitsCommand.js +1 -3
  21. package/dist-es/commands/DescribeChangeSetCommand.js +1 -3
  22. package/dist-es/commands/DescribeChangeSetHooksCommand.js +1 -3
  23. package/dist-es/commands/DescribeGeneratedTemplateCommand.js +1 -3
  24. package/dist-es/commands/DescribeOrganizationsAccessCommand.js +1 -3
  25. package/dist-es/commands/DescribePublisherCommand.js +1 -3
  26. package/dist-es/commands/DescribeResourceScanCommand.js +1 -3
  27. package/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +1 -3
  28. package/dist-es/commands/DescribeStackEventsCommand.js +1 -3
  29. package/dist-es/commands/DescribeStackInstanceCommand.js +1 -3
  30. package/dist-es/commands/DescribeStackResourceCommand.js +1 -3
  31. package/dist-es/commands/DescribeStackResourceDriftsCommand.js +1 -3
  32. package/dist-es/commands/DescribeStackResourcesCommand.js +1 -3
  33. package/dist-es/commands/DescribeStackSetCommand.js +1 -3
  34. package/dist-es/commands/DescribeStackSetOperationCommand.js +1 -3
  35. package/dist-es/commands/DescribeStacksCommand.js +1 -3
  36. package/dist-es/commands/DescribeTypeCommand.js +1 -3
  37. package/dist-es/commands/DescribeTypeRegistrationCommand.js +1 -3
  38. package/dist-es/commands/DetectStackDriftCommand.js +1 -3
  39. package/dist-es/commands/DetectStackResourceDriftCommand.js +1 -3
  40. package/dist-es/commands/DetectStackSetDriftCommand.js +1 -3
  41. package/dist-es/commands/EstimateTemplateCostCommand.js +1 -3
  42. package/dist-es/commands/ExecuteChangeSetCommand.js +1 -3
  43. package/dist-es/commands/GetGeneratedTemplateCommand.js +1 -3
  44. package/dist-es/commands/GetStackPolicyCommand.js +1 -3
  45. package/dist-es/commands/GetTemplateCommand.js +1 -3
  46. package/dist-es/commands/GetTemplateSummaryCommand.js +1 -3
  47. package/dist-es/commands/ImportStacksToStackSetCommand.js +1 -3
  48. package/dist-es/commands/ListChangeSetsCommand.js +1 -3
  49. package/dist-es/commands/ListExportsCommand.js +1 -3
  50. package/dist-es/commands/ListGeneratedTemplatesCommand.js +1 -3
  51. package/dist-es/commands/ListImportsCommand.js +1 -3
  52. package/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +1 -3
  53. package/dist-es/commands/ListResourceScanResourcesCommand.js +1 -3
  54. package/dist-es/commands/ListResourceScansCommand.js +1 -3
  55. package/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +1 -3
  56. package/dist-es/commands/ListStackInstancesCommand.js +1 -3
  57. package/dist-es/commands/ListStackResourcesCommand.js +1 -3
  58. package/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +1 -3
  59. package/dist-es/commands/ListStackSetOperationResultsCommand.js +1 -3
  60. package/dist-es/commands/ListStackSetOperationsCommand.js +1 -3
  61. package/dist-es/commands/ListStackSetsCommand.js +1 -3
  62. package/dist-es/commands/ListStacksCommand.js +1 -3
  63. package/dist-es/commands/ListTypeRegistrationsCommand.js +1 -3
  64. package/dist-es/commands/ListTypeVersionsCommand.js +1 -3
  65. package/dist-es/commands/ListTypesCommand.js +1 -3
  66. package/dist-es/commands/PublishTypeCommand.js +1 -3
  67. package/dist-es/commands/RecordHandlerProgressCommand.js +1 -3
  68. package/dist-es/commands/RegisterPublisherCommand.js +1 -3
  69. package/dist-es/commands/RegisterTypeCommand.js +1 -3
  70. package/dist-es/commands/RollbackStackCommand.js +1 -3
  71. package/dist-es/commands/SetStackPolicyCommand.js +1 -3
  72. package/dist-es/commands/SetTypeConfigurationCommand.js +1 -3
  73. package/dist-es/commands/SetTypeDefaultVersionCommand.js +1 -3
  74. package/dist-es/commands/SignalResourceCommand.js +1 -3
  75. package/dist-es/commands/StartResourceScanCommand.js +1 -3
  76. package/dist-es/commands/StopStackSetOperationCommand.js +1 -3
  77. package/dist-es/commands/TestTypeCommand.js +1 -3
  78. package/dist-es/commands/UpdateGeneratedTemplateCommand.js +1 -3
  79. package/dist-es/commands/UpdateStackCommand.js +1 -3
  80. package/dist-es/commands/UpdateStackInstancesCommand.js +1 -3
  81. package/dist-es/commands/UpdateStackSetCommand.js +1 -3
  82. package/dist-es/commands/UpdateTerminationProtectionCommand.js +1 -3
  83. package/dist-es/commands/ValidateTemplateCommand.js +1 -3
  84. package/dist-es/endpoint/endpointResolver.js +7 -3
  85. package/package.json +4 -4
  86. package/dist-types/tsdoc-metadata.json +0 -11
@@ -6,9 +6,7 @@ import { de_ListStackInstanceResourceDriftsCommand, se_ListStackInstanceResource
6
6
  export { $Command };
7
7
  export class ListStackInstanceResourceDriftsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStackInstancesCommand, se_ListStackInstancesCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListStackInstancesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStackResourcesCommand, se_ListStackResourcesCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListStackResourcesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStackSetAutoDeploymentTargetsCommand, se_ListStackSetAutoDeploym
6
6
  export { $Command };
7
7
  export class ListStackSetAutoDeploymentTargetsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStackSetOperationResultsCommand, se_ListStackSetOperationResults
6
6
  export { $Command };
7
7
  export class ListStackSetOperationResultsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStackSetOperationsCommand, se_ListStackSetOperationsCommand } fr
6
6
  export { $Command };
7
7
  export class ListStackSetOperationsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStackSetsCommand, se_ListStackSetsCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class ListStackSetsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListStacksCommand, se_ListStacksCommand } from "../protocols/Aws_que
6
6
  export { $Command };
7
7
  export class ListStacksCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTypeRegistrationsCommand, se_ListTypeRegistrationsCommand } from
6
6
  export { $Command };
7
7
  export class ListTypeRegistrationsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTypeVersionsCommand, se_ListTypeVersionsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListTypeVersionsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTypesCommand, se_ListTypesCommand } from "../protocols/Aws_query
6
6
  export { $Command };
7
7
  export class ListTypesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PublishTypeCommand, se_PublishTypeCommand } from "../protocols/Aws_q
6
6
  export { $Command };
7
7
  export class PublishTypeCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RecordHandlerProgressCommand, se_RecordHandlerProgressCommand } from
6
6
  export { $Command };
7
7
  export class RecordHandlerProgressCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RegisterPublisherCommand, se_RegisterPublisherCommand } from "../pro
6
6
  export { $Command };
7
7
  export class RegisterPublisherCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RegisterTypeCommand, se_RegisterTypeCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class RegisterTypeCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RollbackStackCommand, se_RollbackStackCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class RollbackStackCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SetStackPolicyCommand, se_SetStackPolicyCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class SetStackPolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SetTypeConfigurationCommand, se_SetTypeConfigurationCommand } from "
6
6
  export { $Command };
7
7
  export class SetTypeConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SetTypeDefaultVersionCommand, se_SetTypeDefaultVersionCommand } from
6
6
  export { $Command };
7
7
  export class SetTypeDefaultVersionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SignalResourceCommand, se_SignalResourceCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class SignalResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartResourceScanCommand, se_StartResourceScanCommand } from "../pro
6
6
  export { $Command };
7
7
  export class StartResourceScanCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopStackSetOperationCommand, se_StopStackSetOperationCommand } from
6
6
  export { $Command };
7
7
  export class StopStackSetOperationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TestTypeCommand, se_TestTypeCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
7
  export class TestTypeCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateGeneratedTemplateCommand, se_UpdateGeneratedTemplateCommand }
6
6
  export { $Command };
7
7
  export class UpdateGeneratedTemplateCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateStackCommand, se_UpdateStackCommand } from "../protocols/Aws_q
6
6
  export { $Command };
7
7
  export class UpdateStackCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateStackInstancesCommand, se_UpdateStackInstancesCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateStackInstancesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateStackSetCommand, se_UpdateStackSetCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class UpdateStackSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateTerminationProtectionCommand, se_UpdateTerminationProtectionCo
6
6
  export { $Command };
7
7
  export class UpdateTerminationProtectionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ValidateTemplateCommand, se_ValidateTemplateCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ValidateTemplateCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }