@aws-sdk/client-ec2 3.39.0 → 3.40.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
12
+ * **clients:** update clients as of 2021/11/05 ([#2994](https://github.com/aws/aws-sdk-js-v3/issues/2994)) ([f5ecc31](https://github.com/aws/aws-sdk-js-v3/commit/f5ecc3147035a1f3d2d74cfed147999927ea8256))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
19
 
8
20
 
@@ -3,34 +3,132 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
- "fips-ca-central-1": {
7
- hostname: "ec2-fips.ca-central-1.amazonaws.com",
8
- signingRegion: "ca-central-1",
6
+ "ap-south-1": {
7
+ variants: [
8
+ {
9
+ hostname: "ec2.ap-south-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ {
13
+ hostname: "api.ec2.ap-south-1.aws",
14
+ tags: ["dualstack"],
15
+ },
16
+ ],
9
17
  },
10
- "fips-us-east-1": {
11
- hostname: "ec2-fips.us-east-1.amazonaws.com",
12
- signingRegion: "us-east-1",
18
+ "ca-central-1": {
19
+ variants: [
20
+ {
21
+ hostname: "ec2.ca-central-1.amazonaws.com",
22
+ tags: [],
23
+ },
24
+ {
25
+ hostname: "ec2-fips.ca-central-1.amazonaws.com",
26
+ tags: ["fips"],
27
+ },
28
+ ],
13
29
  },
14
- "fips-us-east-2": {
15
- hostname: "ec2-fips.us-east-2.amazonaws.com",
16
- signingRegion: "us-east-2",
30
+ "eu-west-1": {
31
+ variants: [
32
+ {
33
+ hostname: "ec2.eu-west-1.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "api.ec2.eu-west-1.aws",
38
+ tags: ["dualstack"],
39
+ },
40
+ ],
17
41
  },
18
- "fips-us-west-1": {
19
- hostname: "ec2-fips.us-west-1.amazonaws.com",
20
- signingRegion: "us-west-1",
42
+ "sa-east-1": {
43
+ variants: [
44
+ {
45
+ hostname: "ec2.sa-east-1.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ {
49
+ hostname: "api.ec2.sa-east-1.aws",
50
+ tags: ["dualstack"],
51
+ },
52
+ ],
21
53
  },
22
- "fips-us-west-2": {
23
- hostname: "ec2-fips.us-west-2.amazonaws.com",
24
- signingRegion: "us-west-2",
54
+ "us-east-1": {
55
+ variants: [
56
+ {
57
+ hostname: "ec2.us-east-1.amazonaws.com",
58
+ tags: [],
59
+ },
60
+ {
61
+ hostname: "api.ec2.us-east-1.aws",
62
+ tags: ["dualstack"],
63
+ },
64
+ {
65
+ hostname: "ec2-fips.us-east-1.amazonaws.com",
66
+ tags: ["fips"],
67
+ },
68
+ ],
69
+ },
70
+ "us-east-2": {
71
+ variants: [
72
+ {
73
+ hostname: "ec2.us-east-2.amazonaws.com",
74
+ tags: [],
75
+ },
76
+ {
77
+ hostname: "api.ec2.us-east-2.aws",
78
+ tags: ["dualstack"],
79
+ },
80
+ {
81
+ hostname: "ec2-fips.us-east-2.amazonaws.com",
82
+ tags: ["fips"],
83
+ },
84
+ ],
25
85
  },
26
86
  "us-gov-east-1": {
27
- hostname: "ec2.us-gov-east-1.amazonaws.com",
87
+ variants: [
88
+ {
89
+ hostname: "ec2.us-gov-east-1.amazonaws.com",
90
+ tags: [],
91
+ },
92
+ ],
28
93
  signingRegion: "us-gov-east-1",
29
94
  },
30
95
  "us-gov-west-1": {
31
- hostname: "ec2.us-gov-west-1.amazonaws.com",
96
+ variants: [
97
+ {
98
+ hostname: "ec2.us-gov-west-1.amazonaws.com",
99
+ tags: [],
100
+ },
101
+ ],
32
102
  signingRegion: "us-gov-west-1",
33
103
  },
104
+ "us-west-1": {
105
+ variants: [
106
+ {
107
+ hostname: "ec2.us-west-1.amazonaws.com",
108
+ tags: [],
109
+ },
110
+ {
111
+ hostname: "ec2-fips.us-west-1.amazonaws.com",
112
+ tags: ["fips"],
113
+ },
114
+ ],
115
+ },
116
+ "us-west-2": {
117
+ variants: [
118
+ {
119
+ hostname: "ec2.us-west-2.amazonaws.com",
120
+ tags: [],
121
+ },
122
+ {
123
+ hostname: "api.ec2.us-west-2.aws",
124
+ tags: ["dualstack"],
125
+ },
126
+ {
127
+ hostname: "ec2-fips.us-west-2.amazonaws.com",
128
+ tags: ["fips"],
129
+ },
130
+ ],
131
+ },
34
132
  };
35
133
  const partitionHash = {
36
134
  aws: {
@@ -63,27 +161,88 @@ const partitionHash = {
63
161
  "us-west-2",
64
162
  ],
65
163
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
66
- hostname: "ec2.{region}.amazonaws.com",
164
+ variants: [
165
+ {
166
+ hostname: "ec2.{region}.amazonaws.com",
167
+ tags: [],
168
+ },
169
+ {
170
+ hostname: "ec2-fips.{region}.amazonaws.com",
171
+ tags: ["fips"],
172
+ },
173
+ {
174
+ hostname: "ec2-fips.{region}.api.aws",
175
+ tags: ["dualstack", "fips"],
176
+ },
177
+ {
178
+ hostname: "ec2.{region}.api.aws",
179
+ tags: ["dualstack"],
180
+ },
181
+ ],
67
182
  },
68
183
  "aws-cn": {
69
184
  regions: ["cn-north-1", "cn-northwest-1"],
70
185
  regionRegex: "^cn\\-\\w+\\-\\d+$",
71
- hostname: "ec2.{region}.amazonaws.com.cn",
186
+ variants: [
187
+ {
188
+ hostname: "ec2.{region}.amazonaws.com.cn",
189
+ tags: [],
190
+ },
191
+ {
192
+ hostname: "ec2-fips.{region}.amazonaws.com.cn",
193
+ tags: ["fips"],
194
+ },
195
+ {
196
+ hostname: "ec2-fips.{region}.api.amazonwebservices.com.cn",
197
+ tags: ["dualstack", "fips"],
198
+ },
199
+ {
200
+ hostname: "ec2.{region}.api.amazonwebservices.com.cn",
201
+ tags: ["dualstack"],
202
+ },
203
+ ],
72
204
  },
73
205
  "aws-iso": {
74
206
  regions: ["us-iso-east-1", "us-iso-west-1"],
75
207
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
76
- hostname: "ec2.{region}.c2s.ic.gov",
208
+ variants: [
209
+ {
210
+ hostname: "ec2.{region}.c2s.ic.gov",
211
+ tags: [],
212
+ },
213
+ ],
77
214
  },
78
215
  "aws-iso-b": {
79
216
  regions: ["us-isob-east-1"],
80
217
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
81
- hostname: "ec2.{region}.sc2s.sgov.gov",
218
+ variants: [
219
+ {
220
+ hostname: "ec2.{region}.sc2s.sgov.gov",
221
+ tags: [],
222
+ },
223
+ ],
82
224
  },
83
225
  "aws-us-gov": {
84
226
  regions: ["us-gov-east-1", "us-gov-west-1"],
85
227
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
86
- hostname: "ec2.{region}.amazonaws.com",
228
+ variants: [
229
+ {
230
+ hostname: "ec2.{region}.amazonaws.com",
231
+ tags: [],
232
+ },
233
+ {
234
+ hostname: "ec2-fips.{region}.amazonaws.com",
235
+ tags: ["fips"],
236
+ },
237
+ {
238
+ hostname: "ec2-fips.{region}.api.aws",
239
+ tags: ["dualstack", "fips"],
240
+ },
241
+ {
242
+ hostname: "ec2.{region}.api.aws",
243
+ tags: ["dualstack"],
244
+ },
245
+ ],
87
246
  },
88
247
  };
89
248
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
@@ -1485,6 +1485,7 @@ var SpotAllocationStrategy;
1485
1485
  var FleetReplacementStrategy;
1486
1486
  (function (FleetReplacementStrategy) {
1487
1487
  FleetReplacementStrategy["LAUNCH"] = "launch";
1488
+ FleetReplacementStrategy["LAUNCH_BEFORE_TERMINATE"] = "launch-before-terminate";
1488
1489
  })(FleetReplacementStrategy = exports.FleetReplacementStrategy || (exports.FleetReplacementStrategy = {}));
1489
1490
  var FleetSpotCapacityRebalanceRequest;
1490
1491
  (function (FleetSpotCapacityRebalanceRequest) {
@@ -1436,6 +1436,7 @@ var OnDemandAllocationStrategy;
1436
1436
  var ReplacementStrategy;
1437
1437
  (function (ReplacementStrategy) {
1438
1438
  ReplacementStrategy["LAUNCH"] = "launch";
1439
+ ReplacementStrategy["LAUNCH_BEFORE_TERMINATE"] = "launch-before-terminate";
1439
1440
  })(ReplacementStrategy = exports.ReplacementStrategy || (exports.ReplacementStrategy = {}));
1440
1441
  var SpotCapacityRebalance;
1441
1442
  (function (SpotCapacityRebalance) {
@@ -32797,6 +32797,9 @@ const serializeAws_ec2FleetSpotCapacityRebalanceRequest = (input, context) => {
32797
32797
  if (input.ReplacementStrategy !== undefined && input.ReplacementStrategy !== null) {
32798
32798
  entries["ReplacementStrategy"] = input.ReplacementStrategy;
32799
32799
  }
32800
+ if (input.TerminationDelay !== undefined && input.TerminationDelay !== null) {
32801
+ entries["TerminationDelay"] = input.TerminationDelay;
32802
+ }
32800
32803
  return entries;
32801
32804
  };
32802
32805
  const serializeAws_ec2FleetSpotMaintenanceStrategiesRequest = (input, context) => {
@@ -34763,6 +34766,12 @@ const serializeAws_ec2LaunchPermission = (input, context) => {
34763
34766
  if (input.UserId !== undefined && input.UserId !== null) {
34764
34767
  entries["UserId"] = input.UserId;
34765
34768
  }
34769
+ if (input.OrganizationArn !== undefined && input.OrganizationArn !== null) {
34770
+ entries["OrganizationArn"] = input.OrganizationArn;
34771
+ }
34772
+ if (input.OrganizationalUnitArn !== undefined && input.OrganizationalUnitArn !== null) {
34773
+ entries["OrganizationalUnitArn"] = input.OrganizationalUnitArn;
34774
+ }
34766
34775
  return entries;
34767
34776
  };
34768
34777
  const serializeAws_ec2LaunchPermissionList = (input, context) => {
@@ -35828,6 +35837,20 @@ const serializeAws_ec2ModifyImageAttributeRequest = (input, context) => {
35828
35837
  if (input.DryRun !== undefined && input.DryRun !== null) {
35829
35838
  entries["DryRun"] = input.DryRun;
35830
35839
  }
35840
+ if (input.OrganizationArns !== undefined && input.OrganizationArns !== null) {
35841
+ const memberEntries = serializeAws_ec2OrganizationArnStringList(input.OrganizationArns, context);
35842
+ Object.entries(memberEntries).forEach(([key, value]) => {
35843
+ const loc = `OrganizationArn.${key.substring(key.indexOf(".") + 1)}`;
35844
+ entries[loc] = value;
35845
+ });
35846
+ }
35847
+ if (input.OrganizationalUnitArns !== undefined && input.OrganizationalUnitArns !== null) {
35848
+ const memberEntries = serializeAws_ec2OrganizationalUnitArnStringList(input.OrganizationalUnitArns, context);
35849
+ Object.entries(memberEntries).forEach(([key, value]) => {
35850
+ const loc = `OrganizationalUnitArn.${key.substring(key.indexOf(".") + 1)}`;
35851
+ entries[loc] = value;
35852
+ });
35853
+ }
35831
35854
  return entries;
35832
35855
  };
35833
35856
  const serializeAws_ec2ModifyInstanceAttributeRequest = (input, context) => {
@@ -37110,6 +37133,30 @@ const serializeAws_ec2OnDemandOptionsRequest = (input, context) => {
37110
37133
  }
37111
37134
  return entries;
37112
37135
  };
37136
+ const serializeAws_ec2OrganizationalUnitArnStringList = (input, context) => {
37137
+ const entries = {};
37138
+ let counter = 1;
37139
+ for (const entry of input) {
37140
+ if (entry === null) {
37141
+ continue;
37142
+ }
37143
+ entries[`OrganizationalUnitArn.${counter}`] = entry;
37144
+ counter++;
37145
+ }
37146
+ return entries;
37147
+ };
37148
+ const serializeAws_ec2OrganizationArnStringList = (input, context) => {
37149
+ const entries = {};
37150
+ let counter = 1;
37151
+ for (const entry of input) {
37152
+ if (entry === null) {
37153
+ continue;
37154
+ }
37155
+ entries[`OrganizationArn.${counter}`] = entry;
37156
+ counter++;
37157
+ }
37158
+ return entries;
37159
+ };
37113
37160
  const serializeAws_ec2OwnerStringList = (input, context) => {
37114
37161
  const entries = {};
37115
37162
  let counter = 1;
@@ -39705,6 +39752,9 @@ const serializeAws_ec2SpotCapacityRebalance = (input, context) => {
39705
39752
  if (input.ReplacementStrategy !== undefined && input.ReplacementStrategy !== null) {
39706
39753
  entries["ReplacementStrategy"] = input.ReplacementStrategy;
39707
39754
  }
39755
+ if (input.TerminationDelay !== undefined && input.TerminationDelay !== null) {
39756
+ entries["TerminationDelay"] = input.TerminationDelay;
39757
+ }
39708
39758
  return entries;
39709
39759
  };
39710
39760
  const serializeAws_ec2SpotFleetLaunchSpecification = (input, context) => {
@@ -48887,10 +48937,14 @@ const deserializeAws_ec2FleetSet = (output, context) => {
48887
48937
  const deserializeAws_ec2FleetSpotCapacityRebalance = (output, context) => {
48888
48938
  const contents = {
48889
48939
  ReplacementStrategy: undefined,
48940
+ TerminationDelay: undefined,
48890
48941
  };
48891
48942
  if (output["replacementStrategy"] !== undefined) {
48892
48943
  contents.ReplacementStrategy = smithy_client_1.expectString(output["replacementStrategy"]);
48893
48944
  }
48945
+ if (output["terminationDelay"] !== undefined) {
48946
+ contents.TerminationDelay = smithy_client_1.strictParseInt32(output["terminationDelay"]);
48947
+ }
48894
48948
  return contents;
48895
48949
  };
48896
48950
  const deserializeAws_ec2FleetSpotMaintenanceStrategies = (output, context) => {
@@ -51599,6 +51653,7 @@ const deserializeAws_ec2InstanceNetworkInterface = (output, context) => {
51599
51653
  const deserializeAws_ec2InstanceNetworkInterfaceAssociation = (output, context) => {
51600
51654
  const contents = {
51601
51655
  CarrierIp: undefined,
51656
+ CustomerOwnedIp: undefined,
51602
51657
  IpOwnerId: undefined,
51603
51658
  PublicDnsName: undefined,
51604
51659
  PublicIp: undefined,
@@ -51606,6 +51661,9 @@ const deserializeAws_ec2InstanceNetworkInterfaceAssociation = (output, context)
51606
51661
  if (output["carrierIp"] !== undefined) {
51607
51662
  contents.CarrierIp = smithy_client_1.expectString(output["carrierIp"]);
51608
51663
  }
51664
+ if (output["customerOwnedIp"] !== undefined) {
51665
+ contents.CustomerOwnedIp = smithy_client_1.expectString(output["customerOwnedIp"]);
51666
+ }
51609
51667
  if (output["ipOwnerId"] !== undefined) {
51610
51668
  contents.IpOwnerId = smithy_client_1.expectString(output["ipOwnerId"]);
51611
51669
  }
@@ -52792,6 +52850,8 @@ const deserializeAws_ec2LaunchPermission = (output, context) => {
52792
52850
  const contents = {
52793
52851
  Group: undefined,
52794
52852
  UserId: undefined,
52853
+ OrganizationArn: undefined,
52854
+ OrganizationalUnitArn: undefined,
52795
52855
  };
52796
52856
  if (output["group"] !== undefined) {
52797
52857
  contents.Group = smithy_client_1.expectString(output["group"]);
@@ -52799,6 +52859,12 @@ const deserializeAws_ec2LaunchPermission = (output, context) => {
52799
52859
  if (output["userId"] !== undefined) {
52800
52860
  contents.UserId = smithy_client_1.expectString(output["userId"]);
52801
52861
  }
52862
+ if (output["organizationArn"] !== undefined) {
52863
+ contents.OrganizationArn = smithy_client_1.expectString(output["organizationArn"]);
52864
+ }
52865
+ if (output["organizationalUnitArn"] !== undefined) {
52866
+ contents.OrganizationalUnitArn = smithy_client_1.expectString(output["organizationalUnitArn"]);
52867
+ }
52802
52868
  return contents;
52803
52869
  };
52804
52870
  const deserializeAws_ec2LaunchPermissionList = (output, context) => {
@@ -58202,10 +58268,14 @@ const deserializeAws_ec2SnapshotTaskDetail = (output, context) => {
58202
58268
  const deserializeAws_ec2SpotCapacityRebalance = (output, context) => {
58203
58269
  const contents = {
58204
58270
  ReplacementStrategy: undefined,
58271
+ TerminationDelay: undefined,
58205
58272
  };
58206
58273
  if (output["replacementStrategy"] !== undefined) {
58207
58274
  contents.ReplacementStrategy = smithy_client_1.expectString(output["replacementStrategy"]);
58208
58275
  }
58276
+ if (output["terminationDelay"] !== undefined) {
58277
+ contents.TerminationDelay = smithy_client_1.strictParseInt32(output["terminationDelay"]);
58278
+ }
58209
58279
  return contents;
58210
58280
  };
58211
58281
  const deserializeAws_ec2SpotDatafeedSubscription = (output, context) => {
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
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)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ 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)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ 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
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
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),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ 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),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;