@aws-sdk/client-cloudformation 3.259.0 → 3.261.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.
@@ -7793,6 +7793,7 @@ const deserializeAws_queryStackSet = (output, context) => {
7793
7793
  PermissionModel: undefined,
7794
7794
  OrganizationalUnitIds: undefined,
7795
7795
  ManagedExecution: undefined,
7796
+ Regions: undefined,
7796
7797
  };
7797
7798
  if (output["StackSetName"] !== undefined) {
7798
7799
  contents.StackSetName = (0, smithy_client_1.expectString)(output["StackSetName"]);
@@ -7854,6 +7855,12 @@ const deserializeAws_queryStackSet = (output, context) => {
7854
7855
  if (output["ManagedExecution"] !== undefined) {
7855
7856
  contents.ManagedExecution = deserializeAws_queryManagedExecution(output["ManagedExecution"], context);
7856
7857
  }
7858
+ if (output.Regions === "") {
7859
+ contents.Regions = [];
7860
+ }
7861
+ else if (output["Regions"] !== undefined && output["Regions"]["member"] !== undefined) {
7862
+ contents.Regions = deserializeAws_queryRegionList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["member"]), context);
7863
+ }
7857
7864
  return contents;
7858
7865
  };
7859
7866
  const deserializeAws_queryStackSetDriftDetectionDetails = (output, context) => {
@@ -8632,7 +8639,7 @@ const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
8632
8639
  .map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
8633
8640
  .join("&");
8634
8641
  const loadQueryErrorCode = (output, data) => {
8635
- if (data.Error.Code !== undefined) {
8642
+ if (data.Error?.Code !== undefined) {
8636
8643
  return data.Error.Code;
8637
8644
  }
8638
8645
  if (output.statusCode == 404) {
@@ -7656,6 +7656,7 @@ const deserializeAws_queryStackSet = (output, context) => {
7656
7656
  PermissionModel: undefined,
7657
7657
  OrganizationalUnitIds: undefined,
7658
7658
  ManagedExecution: undefined,
7659
+ Regions: undefined,
7659
7660
  };
7660
7661
  if (output["StackSetName"] !== undefined) {
7661
7662
  contents.StackSetName = __expectString(output["StackSetName"]);
@@ -7717,6 +7718,12 @@ const deserializeAws_queryStackSet = (output, context) => {
7717
7718
  if (output["ManagedExecution"] !== undefined) {
7718
7719
  contents.ManagedExecution = deserializeAws_queryManagedExecution(output["ManagedExecution"], context);
7719
7720
  }
7721
+ if (output.Regions === "") {
7722
+ contents.Regions = [];
7723
+ }
7724
+ else if (output["Regions"] !== undefined && output["Regions"]["member"] !== undefined) {
7725
+ contents.Regions = deserializeAws_queryRegionList(__getArrayIfSingleItem(output["Regions"]["member"]), context);
7726
+ }
7720
7727
  return contents;
7721
7728
  };
7722
7729
  const deserializeAws_queryStackSetDriftDetectionDetails = (output, context) => {
@@ -8495,7 +8502,7 @@ const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
8495
8502
  .map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
8496
8503
  .join("&");
8497
8504
  const loadQueryErrorCode = (output, data) => {
8498
- if (data.Error.Code !== undefined) {
8505
+ if (data.Error?.Code !== undefined) {
8499
8506
  return data.Error.Code;
8500
8507
  }
8501
8508
  if (output.statusCode == 404) {
@@ -4159,6 +4159,7 @@ export interface StackSet {
4159
4159
  * conflicting operations.</p>
4160
4160
  */
4161
4161
  ManagedExecution?: ManagedExecution;
4162
+ Regions?: string[];
4162
4163
  }
4163
4164
  export interface DescribeStackSetOutput {
4164
4165
  /**
@@ -967,6 +967,7 @@ export interface StackSet {
967
967
  PermissionModel?: PermissionModels | string;
968
968
  OrganizationalUnitIds?: string[];
969
969
  ManagedExecution?: ManagedExecution;
970
+ Regions?: string[];
970
971
  }
971
972
  export interface DescribeStackSetOutput {
972
973
  StackSet?: StackSet;
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.259.0",
4
+ "version": "3.261.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.259.0",
23
+ "@aws-sdk/client-sts": "3.261.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.259.0",
25
+ "@aws-sdk/credential-provider-node": "3.261.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
@@ -39,14 +39,14 @@
39
39
  "@aws-sdk/node-config-provider": "3.259.0",
40
40
  "@aws-sdk/node-http-handler": "3.257.0",
41
41
  "@aws-sdk/protocol-http": "3.257.0",
42
- "@aws-sdk/smithy-client": "3.257.0",
42
+ "@aws-sdk/smithy-client": "3.261.0",
43
43
  "@aws-sdk/types": "3.257.0",
44
44
  "@aws-sdk/url-parser": "3.257.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.257.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.259.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.261.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.261.0",
50
50
  "@aws-sdk/util-endpoints": "3.257.0",
51
51
  "@aws-sdk/util-retry": "3.257.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.257.0",