@aws-sdk/client-outposts 3.658.0 → 3.662.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/dist-cjs/index.js CHANGED
@@ -727,10 +727,10 @@ var se_ListAssetsCommand = /* @__PURE__ */ __name(async (input, context) => {
727
727
  b.bp("/outposts/{OutpostIdentifier}/assets");
728
728
  b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
729
729
  const query = (0, import_smithy_client.map)({
730
- [_HIF]: [() => input.HostIdFilter !== void 0, () => (input[_HIF] || []).map((_entry) => _entry)],
730
+ [_HIF]: [() => input.HostIdFilter !== void 0, () => input[_HIF] || []],
731
731
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
732
732
  [_NT]: [, input[_NT]],
733
- [_SF]: [() => input.StatusFilter !== void 0, () => (input[_SF] || []).map((_entry) => _entry)]
733
+ [_SF]: [() => input.StatusFilter !== void 0, () => input[_SF] || []]
734
734
  });
735
735
  let body;
736
736
  b.m("GET").h(headers).q(query).b(body);
@@ -744,10 +744,7 @@ var se_ListCapacityTasksCommand = /* @__PURE__ */ __name(async (input, context)
744
744
  [_OIF]: [, input[_OIF]],
745
745
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
746
746
  [_NT]: [, input[_NT]],
747
- [_CTSF]: [
748
- () => input.CapacityTaskStatusFilter !== void 0,
749
- () => (input[_CTSF] || []).map((_entry) => _entry)
750
- ]
747
+ [_CTSF]: [() => input.CapacityTaskStatusFilter !== void 0, () => input[_CTSF] || []]
751
748
  });
752
749
  let body;
753
750
  b.m("GET").h(headers).q(query).b(body);
@@ -760,9 +757,9 @@ var se_ListCatalogItemsCommand = /* @__PURE__ */ __name(async (input, context) =
760
757
  const query = (0, import_smithy_client.map)({
761
758
  [_NT]: [, input[_NT]],
762
759
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
763
- [_ICF]: [() => input.ItemClassFilter !== void 0, () => (input[_ICF] || []).map((_entry) => _entry)],
764
- [_SSF]: [() => input.SupportedStorageFilter !== void 0, () => (input[_SSF] || []).map((_entry) => _entry)],
765
- [_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => (input[_ECFF] || []).map((_entry) => _entry)]
760
+ [_ICF]: [() => input.ItemClassFilter !== void 0, () => input[_ICF] || []],
761
+ [_SSF]: [() => input.SupportedStorageFilter !== void 0, () => input[_SSF] || []],
762
+ [_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => input[_ECFF] || []]
766
763
  });
767
764
  let body;
768
765
  b.m("GET").h(headers).q(query).b(body);
@@ -788,12 +785,9 @@ var se_ListOutpostsCommand = /* @__PURE__ */ __name(async (input, context) => {
788
785
  const query = (0, import_smithy_client.map)({
789
786
  [_NT]: [, input[_NT]],
790
787
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
791
- [_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => (input[_LCSF] || []).map((_entry) => _entry)],
792
- [_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => (input[_AZF] || []).map((_entry) => _entry)],
793
- [_AZIF]: [
794
- () => input.AvailabilityZoneIdFilter !== void 0,
795
- () => (input[_AZIF] || []).map((_entry) => _entry)
796
- ]
788
+ [_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => input[_LCSF] || []],
789
+ [_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => input[_AZF] || []],
790
+ [_AZIF]: [() => input.AvailabilityZoneIdFilter !== void 0, () => input[_AZIF] || []]
797
791
  });
798
792
  let body;
799
793
  b.m("GET").h(headers).q(query).b(body);
@@ -806,18 +800,9 @@ var se_ListSitesCommand = /* @__PURE__ */ __name(async (input, context) => {
806
800
  const query = (0, import_smithy_client.map)({
807
801
  [_NT]: [, input[_NT]],
808
802
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
809
- [_OACCF]: [
810
- () => input.OperatingAddressCountryCodeFilter !== void 0,
811
- () => (input[_OACCF] || []).map((_entry) => _entry)
812
- ],
813
- [_OASORF]: [
814
- () => input.OperatingAddressStateOrRegionFilter !== void 0,
815
- () => (input[_OASORF] || []).map((_entry) => _entry)
816
- ],
817
- [_OACF]: [
818
- () => input.OperatingAddressCityFilter !== void 0,
819
- () => (input[_OACF] || []).map((_entry) => _entry)
820
- ]
803
+ [_OACCF]: [() => input.OperatingAddressCountryCodeFilter !== void 0, () => input[_OACCF] || []],
804
+ [_OASORF]: [() => input.OperatingAddressStateOrRegionFilter !== void 0, () => input[_OASORF] || []],
805
+ [_OACF]: [() => input.OperatingAddressCityFilter !== void 0, () => input[_OACF] || []]
821
806
  });
822
807
  let body;
823
808
  b.m("GET").h(headers).q(query).b(body);
@@ -890,10 +875,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
890
875
  b.bp("/tags/{ResourceArn}");
891
876
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
892
877
  const query = (0, import_smithy_client.map)({
893
- [_tK]: [
894
- (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
895
- () => (input[_TK] || []).map((_entry) => _entry)
896
- ]
878
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
897
879
  });
898
880
  let body;
899
881
  b.m("DELETE").h(headers).q(query).b(body);
@@ -194,10 +194,10 @@ export const se_ListAssetsCommand = async (input, context) => {
194
194
  b.bp("/outposts/{OutpostIdentifier}/assets");
195
195
  b.p("OutpostIdentifier", () => input.OutpostIdentifier, "{OutpostIdentifier}", false);
196
196
  const query = map({
197
- [_HIF]: [() => input.HostIdFilter !== void 0, () => (input[_HIF] || []).map((_entry) => _entry)],
197
+ [_HIF]: [() => input.HostIdFilter !== void 0, () => input[_HIF] || []],
198
198
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
199
199
  [_NT]: [, input[_NT]],
200
- [_SF]: [() => input.StatusFilter !== void 0, () => (input[_SF] || []).map((_entry) => _entry)],
200
+ [_SF]: [() => input.StatusFilter !== void 0, () => input[_SF] || []],
201
201
  });
202
202
  let body;
203
203
  b.m("GET").h(headers).q(query).b(body);
@@ -211,10 +211,7 @@ export const se_ListCapacityTasksCommand = async (input, context) => {
211
211
  [_OIF]: [, input[_OIF]],
212
212
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
213
213
  [_NT]: [, input[_NT]],
214
- [_CTSF]: [
215
- () => input.CapacityTaskStatusFilter !== void 0,
216
- () => (input[_CTSF] || []).map((_entry) => _entry),
217
- ],
214
+ [_CTSF]: [() => input.CapacityTaskStatusFilter !== void 0, () => input[_CTSF] || []],
218
215
  });
219
216
  let body;
220
217
  b.m("GET").h(headers).q(query).b(body);
@@ -227,9 +224,9 @@ export const se_ListCatalogItemsCommand = async (input, context) => {
227
224
  const query = map({
228
225
  [_NT]: [, input[_NT]],
229
226
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
230
- [_ICF]: [() => input.ItemClassFilter !== void 0, () => (input[_ICF] || []).map((_entry) => _entry)],
231
- [_SSF]: [() => input.SupportedStorageFilter !== void 0, () => (input[_SSF] || []).map((_entry) => _entry)],
232
- [_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => (input[_ECFF] || []).map((_entry) => _entry)],
227
+ [_ICF]: [() => input.ItemClassFilter !== void 0, () => input[_ICF] || []],
228
+ [_SSF]: [() => input.SupportedStorageFilter !== void 0, () => input[_SSF] || []],
229
+ [_ECFF]: [() => input.EC2FamilyFilter !== void 0, () => input[_ECFF] || []],
233
230
  });
234
231
  let body;
235
232
  b.m("GET").h(headers).q(query).b(body);
@@ -255,12 +252,9 @@ export const se_ListOutpostsCommand = async (input, context) => {
255
252
  const query = map({
256
253
  [_NT]: [, input[_NT]],
257
254
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
258
- [_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => (input[_LCSF] || []).map((_entry) => _entry)],
259
- [_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => (input[_AZF] || []).map((_entry) => _entry)],
260
- [_AZIF]: [
261
- () => input.AvailabilityZoneIdFilter !== void 0,
262
- () => (input[_AZIF] || []).map((_entry) => _entry),
263
- ],
255
+ [_LCSF]: [() => input.LifeCycleStatusFilter !== void 0, () => input[_LCSF] || []],
256
+ [_AZF]: [() => input.AvailabilityZoneFilter !== void 0, () => input[_AZF] || []],
257
+ [_AZIF]: [() => input.AvailabilityZoneIdFilter !== void 0, () => input[_AZIF] || []],
264
258
  });
265
259
  let body;
266
260
  b.m("GET").h(headers).q(query).b(body);
@@ -273,18 +267,9 @@ export const se_ListSitesCommand = async (input, context) => {
273
267
  const query = map({
274
268
  [_NT]: [, input[_NT]],
275
269
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
276
- [_OACCF]: [
277
- () => input.OperatingAddressCountryCodeFilter !== void 0,
278
- () => (input[_OACCF] || []).map((_entry) => _entry),
279
- ],
280
- [_OASORF]: [
281
- () => input.OperatingAddressStateOrRegionFilter !== void 0,
282
- () => (input[_OASORF] || []).map((_entry) => _entry),
283
- ],
284
- [_OACF]: [
285
- () => input.OperatingAddressCityFilter !== void 0,
286
- () => (input[_OACF] || []).map((_entry) => _entry),
287
- ],
270
+ [_OACCF]: [() => input.OperatingAddressCountryCodeFilter !== void 0, () => input[_OACCF] || []],
271
+ [_OASORF]: [() => input.OperatingAddressStateOrRegionFilter !== void 0, () => input[_OASORF] || []],
272
+ [_OACF]: [() => input.OperatingAddressCityFilter !== void 0, () => input[_OACF] || []],
288
273
  });
289
274
  let body;
290
275
  b.m("GET").h(headers).q(query).b(body);
@@ -351,10 +336,7 @@ export const se_UntagResourceCommand = async (input, context) => {
351
336
  b.bp("/tags/{ResourceArn}");
352
337
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
353
338
  const query = map({
354
- [_tK]: [
355
- __expectNonNull(input.TagKeys, `TagKeys`) != null,
356
- () => (input[_TK] || []).map((_entry) => _entry),
357
- ],
339
+ [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
358
340
  });
359
341
  let body;
360
342
  b.m("DELETE").h(headers).q(query).b(body);
@@ -1086,11 +1068,6 @@ const deserializeMetadata = (output) => ({
1086
1068
  cfId: output.headers["x-amz-cf-id"],
1087
1069
  });
1088
1070
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
1089
- const isSerializableHeaderValue = (value) => value !== undefined &&
1090
- value !== null &&
1091
- value !== "" &&
1092
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
1093
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1094
1071
  const _AT = "AddressType";
1095
1072
  const _AZF = "AvailabilityZoneFilter";
1096
1073
  const _AZIF = "AvailabilityZoneIdFilter";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-outposts",
3
3
  "description": "AWS SDK for JavaScript Outposts Client for Node.js, Browser and React Native",
4
- "version": "3.658.0",
4
+ "version": "3.662.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-outposts",
@@ -20,43 +20,43 @@
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.658.0",
24
- "@aws-sdk/client-sts": "3.658.0",
25
- "@aws-sdk/core": "3.658.0",
26
- "@aws-sdk/credential-provider-node": "3.658.0",
27
- "@aws-sdk/middleware-host-header": "3.654.0",
28
- "@aws-sdk/middleware-logger": "3.654.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.654.0",
30
- "@aws-sdk/middleware-user-agent": "3.654.0",
31
- "@aws-sdk/region-config-resolver": "3.654.0",
32
- "@aws-sdk/types": "3.654.0",
33
- "@aws-sdk/util-endpoints": "3.654.0",
34
- "@aws-sdk/util-user-agent-browser": "3.654.0",
35
- "@aws-sdk/util-user-agent-node": "3.654.0",
36
- "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
39
- "@smithy/hash-node": "^3.0.6",
40
- "@smithy/invalid-dependency": "^3.0.6",
41
- "@smithy/middleware-content-length": "^3.0.8",
42
- "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
44
- "@smithy/middleware-serde": "^3.0.6",
45
- "@smithy/middleware-stack": "^3.0.6",
46
- "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
48
- "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
50
- "@smithy/types": "^3.4.2",
51
- "@smithy/url-parser": "^3.0.6",
23
+ "@aws-sdk/client-sso-oidc": "3.662.0",
24
+ "@aws-sdk/client-sts": "3.662.0",
25
+ "@aws-sdk/core": "3.662.0",
26
+ "@aws-sdk/credential-provider-node": "3.662.0",
27
+ "@aws-sdk/middleware-host-header": "3.662.0",
28
+ "@aws-sdk/middleware-logger": "3.662.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.662.0",
30
+ "@aws-sdk/middleware-user-agent": "3.662.0",
31
+ "@aws-sdk/region-config-resolver": "3.662.0",
32
+ "@aws-sdk/types": "3.662.0",
33
+ "@aws-sdk/util-endpoints": "3.662.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.662.0",
35
+ "@aws-sdk/util-user-agent-node": "3.662.0",
36
+ "@smithy/config-resolver": "^3.0.9",
37
+ "@smithy/core": "^2.4.7",
38
+ "@smithy/fetch-http-handler": "^3.2.9",
39
+ "@smithy/hash-node": "^3.0.7",
40
+ "@smithy/invalid-dependency": "^3.0.7",
41
+ "@smithy/middleware-content-length": "^3.0.9",
42
+ "@smithy/middleware-endpoint": "^3.1.4",
43
+ "@smithy/middleware-retry": "^3.0.22",
44
+ "@smithy/middleware-serde": "^3.0.7",
45
+ "@smithy/middleware-stack": "^3.0.7",
46
+ "@smithy/node-config-provider": "^3.1.8",
47
+ "@smithy/node-http-handler": "^3.2.4",
48
+ "@smithy/protocol-http": "^4.1.4",
49
+ "@smithy/smithy-client": "^3.3.6",
50
+ "@smithy/types": "^3.5.0",
51
+ "@smithy/url-parser": "^3.0.7",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
57
- "@smithy/util-endpoints": "^2.1.2",
58
- "@smithy/util-middleware": "^3.0.6",
59
- "@smithy/util-retry": "^3.0.6",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.22",
56
+ "@smithy/util-defaults-mode-node": "^3.0.22",
57
+ "@smithy/util-endpoints": "^2.1.3",
58
+ "@smithy/util-middleware": "^3.0.7",
59
+ "@smithy/util-retry": "^3.0.7",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },