@aws-sdk/client-codeguru-reviewer 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
@@ -509,9 +509,9 @@ var se_ListCodeReviewsCommand = /* @__PURE__ */ __name(async (input, context) =>
509
509
  const headers = {};
510
510
  b.bp("/codereviews");
511
511
  const query = (0, import_smithy_client.map)({
512
- [_PT]: [() => input.ProviderTypes !== void 0, () => (input[_PT] || []).map((_entry) => _entry)],
513
- [_S]: [() => input.States !== void 0, () => (input[_S] || []).map((_entry) => _entry)],
514
- [_RN]: [() => input.RepositoryNames !== void 0, () => (input[_RN] || []).map((_entry) => _entry)],
512
+ [_PT]: [() => input.ProviderTypes !== void 0, () => input[_PT] || []],
513
+ [_S]: [() => input.States !== void 0, () => input[_S] || []],
514
+ [_RN]: [() => input.RepositoryNames !== void 0, () => input[_RN] || []],
515
515
  [_T]: [, (0, import_smithy_client.expectNonNull)(input[_T], `Type`)],
516
516
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
517
517
  [_NT]: [, input[_NT]]
@@ -528,8 +528,8 @@ var se_ListRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (input,
528
528
  const query = (0, import_smithy_client.map)({
529
529
  [_NT]: [, input[_NT]],
530
530
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
531
- [_UIs]: [() => input.UserIds !== void 0, () => (input[_UIs] || []).map((_entry) => _entry)],
532
- [_RIe]: [() => input.RecommendationIds !== void 0, () => (input[_RIe] || []).map((_entry) => _entry)]
531
+ [_UIs]: [() => input.UserIds !== void 0, () => input[_UIs] || []],
532
+ [_RIe]: [() => input.RecommendationIds !== void 0, () => input[_RIe] || []]
533
533
  });
534
534
  let body;
535
535
  b.m("GET").h(headers).q(query).b(body);
@@ -553,10 +553,10 @@ var se_ListRepositoryAssociationsCommand = /* @__PURE__ */ __name(async (input,
553
553
  const headers = {};
554
554
  b.bp("/associations");
555
555
  const query = (0, import_smithy_client.map)({
556
- [_PTr]: [() => input.ProviderTypes !== void 0, () => (input[_PT] || []).map((_entry) => _entry)],
557
- [_St]: [() => input.States !== void 0, () => (input[_S] || []).map((_entry) => _entry)],
558
- [_Na]: [() => input.Names !== void 0, () => (input[_N] || []).map((_entry) => _entry)],
559
- [_Ow]: [() => input.Owners !== void 0, () => (input[_O] || []).map((_entry) => _entry)],
556
+ [_PTr]: [() => input.ProviderTypes !== void 0, () => input[_PT] || []],
557
+ [_St]: [() => input.States !== void 0, () => input[_S] || []],
558
+ [_Na]: [() => input.Names !== void 0, () => input[_N] || []],
559
+ [_Ow]: [() => input.Owners !== void 0, () => input[_O] || []],
560
560
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
561
561
  [_NT]: [, input[_NT]]
562
562
  });
@@ -612,10 +612,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
612
612
  b.bp("/tags/{resourceArn}");
613
613
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
614
614
  const query = (0, import_smithy_client.map)({
615
- [_tK]: [
616
- (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
617
- () => (input[_TK] || []).map((_entry) => _entry)
618
- ]
615
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
619
616
  });
620
617
  let body;
621
618
  b.m("DELETE").h(headers).q(query).b(body);
@@ -81,9 +81,9 @@ export const se_ListCodeReviewsCommand = async (input, context) => {
81
81
  const headers = {};
82
82
  b.bp("/codereviews");
83
83
  const query = map({
84
- [_PT]: [() => input.ProviderTypes !== void 0, () => (input[_PT] || []).map((_entry) => _entry)],
85
- [_S]: [() => input.States !== void 0, () => (input[_S] || []).map((_entry) => _entry)],
86
- [_RN]: [() => input.RepositoryNames !== void 0, () => (input[_RN] || []).map((_entry) => _entry)],
84
+ [_PT]: [() => input.ProviderTypes !== void 0, () => input[_PT] || []],
85
+ [_S]: [() => input.States !== void 0, () => input[_S] || []],
86
+ [_RN]: [() => input.RepositoryNames !== void 0, () => input[_RN] || []],
87
87
  [_T]: [, __expectNonNull(input[_T], `Type`)],
88
88
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
89
89
  [_NT]: [, input[_NT]],
@@ -100,8 +100,8 @@ export const se_ListRecommendationFeedbackCommand = async (input, context) => {
100
100
  const query = map({
101
101
  [_NT]: [, input[_NT]],
102
102
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
103
- [_UIs]: [() => input.UserIds !== void 0, () => (input[_UIs] || []).map((_entry) => _entry)],
104
- [_RIe]: [() => input.RecommendationIds !== void 0, () => (input[_RIe] || []).map((_entry) => _entry)],
103
+ [_UIs]: [() => input.UserIds !== void 0, () => input[_UIs] || []],
104
+ [_RIe]: [() => input.RecommendationIds !== void 0, () => input[_RIe] || []],
105
105
  });
106
106
  let body;
107
107
  b.m("GET").h(headers).q(query).b(body);
@@ -125,10 +125,10 @@ export const se_ListRepositoryAssociationsCommand = async (input, context) => {
125
125
  const headers = {};
126
126
  b.bp("/associations");
127
127
  const query = map({
128
- [_PTr]: [() => input.ProviderTypes !== void 0, () => (input[_PT] || []).map((_entry) => _entry)],
129
- [_St]: [() => input.States !== void 0, () => (input[_S] || []).map((_entry) => _entry)],
130
- [_Na]: [() => input.Names !== void 0, () => (input[_N] || []).map((_entry) => _entry)],
131
- [_Ow]: [() => input.Owners !== void 0, () => (input[_O] || []).map((_entry) => _entry)],
128
+ [_PTr]: [() => input.ProviderTypes !== void 0, () => input[_PT] || []],
129
+ [_St]: [() => input.States !== void 0, () => input[_S] || []],
130
+ [_Na]: [() => input.Names !== void 0, () => input[_N] || []],
131
+ [_Ow]: [() => input.Owners !== void 0, () => input[_O] || []],
132
132
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
133
133
  [_NT]: [, input[_NT]],
134
134
  });
@@ -180,10 +180,7 @@ export const se_UntagResourceCommand = async (input, context) => {
180
180
  b.bp("/tags/{resourceArn}");
181
181
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
182
182
  const query = map({
183
- [_tK]: [
184
- __expectNonNull(input.TagKeys, `TagKeys`) != null,
185
- () => (input[_TK] || []).map((_entry) => _entry),
186
- ],
183
+ [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
187
184
  });
188
185
  let body;
189
186
  b.m("DELETE").h(headers).q(query).b(body);
@@ -606,11 +603,6 @@ const deserializeMetadata = (output) => ({
606
603
  cfId: output.headers["x-amz-cf-id"],
607
604
  });
608
605
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
609
- const isSerializableHeaderValue = (value) => value !== undefined &&
610
- value !== null &&
611
- value !== "" &&
612
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
613
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
614
606
  const _MR = "MaxResults";
615
607
  const _N = "Names";
616
608
  const _NT = "NextToken";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguru-reviewer",
3
3
  "description": "AWS SDK for JavaScript Codeguru Reviewer 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-codeguru-reviewer",
@@ -20,45 +20,45 @@
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
- "@smithy/util-waiter": "^3.1.5",
61
+ "@smithy/util-waiter": "^3.1.6",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },