@aws-sdk/client-codeguru-reviewer 3.658.0 → 3.658.1
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 +10 -13
- package/dist-es/protocols/Aws_restJson1.js +10 -18
- package/package.json +12 -12
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, () =>
|
|
513
|
-
[_S]: [() => input.States !== void 0, () =>
|
|
514
|
-
[_RN]: [() => input.RepositoryNames !== void 0, () =>
|
|
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, () =>
|
|
532
|
-
[_RIe]: [() => input.RecommendationIds !== void 0, () =>
|
|
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, () =>
|
|
557
|
-
[_St]: [() => input.States !== void 0, () =>
|
|
558
|
-
[_Na]: [() => input.Names !== void 0, () =>
|
|
559
|
-
[_Ow]: [() => input.Owners !== void 0, () =>
|
|
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, () =>
|
|
85
|
-
[_S]: [() => input.States !== void 0, () =>
|
|
86
|
-
[_RN]: [() => input.RepositoryNames !== void 0, () =>
|
|
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, () =>
|
|
104
|
-
[_RIe]: [() => input.RecommendationIds !== void 0, () =>
|
|
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, () =>
|
|
129
|
-
[_St]: [() => input.States !== void 0, () =>
|
|
130
|
-
[_Na]: [() => input.Names !== void 0, () =>
|
|
131
|
-
[_Ow]: [() => input.Owners !== void 0, () =>
|
|
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.
|
|
4
|
+
"version": "3.658.1",
|
|
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,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.658.
|
|
24
|
-
"@aws-sdk/client-sts": "3.658.
|
|
25
|
-
"@aws-sdk/core": "3.658.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.658.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
25
|
+
"@aws-sdk/core": "3.658.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.8",
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.4.6",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
39
39
|
"@smithy/hash-node": "^3.0.6",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.6",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.6",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.7",
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
48
48
|
"@smithy/protocol-http": "^4.1.3",
|
|
49
|
-
"@smithy/smithy-client": "^3.3.
|
|
49
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
50
50
|
"@smithy/types": "^3.4.2",
|
|
51
51
|
"@smithy/url-parser": "^3.0.6",
|
|
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.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
57
57
|
"@smithy/util-endpoints": "^2.1.2",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.6",
|
|
59
59
|
"@smithy/util-retry": "^3.0.6",
|