@aws-sdk/client-codeguru-reviewer 3.408.0 → 3.410.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/README.md +0 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/CodeGuruReviewer.d.ts +0 -2
- package/dist-types/CodeGuruReviewerClient.d.ts +0 -2
- package/dist-types/commands/AssociateRepositoryCommand.d.ts +0 -3
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +0 -2
- package/dist-types/models/models_0.d.ts +30 -30
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +3 -1
- package/package.json +29 -29
package/README.md
CHANGED
|
@@ -10,14 +10,12 @@ AWS SDK for JavaScript CodeGuruReviewer Client for Node.js, Browser and React Na
|
|
|
10
10
|
service that uses program analysis and machine learning to detect potential defects that
|
|
11
11
|
are difficult for developers to find and recommends fixes in your Java and Python
|
|
12
12
|
code.</p>
|
|
13
|
-
|
|
14
13
|
<p>By proactively detecting and providing recommendations for addressing code defects and
|
|
15
14
|
implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
|
|
16
15
|
your code base during the code review stage. For more information about CodeGuru Reviewer, see the
|
|
17
16
|
<i>
|
|
18
17
|
<a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
|
|
19
18
|
</p>
|
|
20
|
-
|
|
21
19
|
<p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
|
|
22
20
|
between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
|
|
23
21
|
more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codeguru-reviewer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codeguru-reviewer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codeguru-reviewer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codeguru-reviewer.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const asPartial = (t) => t;
|
|
6
7
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
8
|
const extensionConfiguration = {
|
|
8
9
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
};
|
|
10
12
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
13
|
return {
|
|
12
14
|
...runtimeConfig,
|
|
13
15
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
19
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codeguru-reviewer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codeguru-reviewer-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codeguru-reviewer.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codeguru-reviewer.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
1
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
3
|
const asPartial = (t) => t;
|
|
3
4
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
5
|
const extensionConfiguration = {
|
|
5
6
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
};
|
|
7
9
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
10
|
return {
|
|
9
11
|
...runtimeConfig,
|
|
10
12
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
11
14
|
};
|
|
12
15
|
};
|
|
@@ -106,14 +106,12 @@ export interface CodeGuruReviewer {
|
|
|
106
106
|
* service that uses program analysis and machine learning to detect potential defects that
|
|
107
107
|
* are difficult for developers to find and recommends fixes in your Java and Python
|
|
108
108
|
* code.</p>
|
|
109
|
-
*
|
|
110
109
|
* <p>By proactively detecting and providing recommendations for addressing code defects and
|
|
111
110
|
* implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
|
|
112
111
|
* your code base during the code review stage. For more information about CodeGuru Reviewer, see the
|
|
113
112
|
* <i>
|
|
114
113
|
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
|
|
115
114
|
* </p>
|
|
116
|
-
*
|
|
117
115
|
* <p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
|
|
118
116
|
* between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
|
|
119
117
|
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
|
|
@@ -168,14 +168,12 @@ export interface CodeGuruReviewerClientResolvedConfig extends CodeGuruReviewerCl
|
|
|
168
168
|
* service that uses program analysis and machine learning to detect potential defects that
|
|
169
169
|
* are difficult for developers to find and recommends fixes in your Java and Python
|
|
170
170
|
* code.</p>
|
|
171
|
-
*
|
|
172
171
|
* <p>By proactively detecting and providing recommendations for addressing code defects and
|
|
173
172
|
* implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
|
|
174
173
|
* your code base during the code review stage. For more information about CodeGuru Reviewer, see the
|
|
175
174
|
* <i>
|
|
176
175
|
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
|
|
177
176
|
* </p>
|
|
178
|
-
*
|
|
179
177
|
* <p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
|
|
180
178
|
* between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
|
|
181
179
|
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
|
|
@@ -30,15 +30,12 @@ export interface AssociateRepositoryCommandOutput extends AssociateRepositoryRes
|
|
|
30
30
|
* information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html">Recommendations in
|
|
31
31
|
* Amazon CodeGuru Reviewer</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
32
32
|
* </p>
|
|
33
|
-
*
|
|
34
33
|
* <p>If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and
|
|
35
34
|
* Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.</p>
|
|
36
|
-
*
|
|
37
35
|
* <p>Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar
|
|
38
36
|
* Connections to connect to CodeGuru Reviewer. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html">Associate a
|
|
39
37
|
* repository</a> in the <i>Amazon CodeGuru Reviewer User Guide.</i>
|
|
40
38
|
* </p>
|
|
41
|
-
*
|
|
42
39
|
* <note>
|
|
43
40
|
* <p>You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with
|
|
44
41
|
* Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
*/
|
|
5
|
-
export interface CodeGuruReviewerExtensionConfiguration extends DefaultExtensionConfiguration {
|
|
6
|
+
export interface CodeGuruReviewerExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
6
7
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
* service that uses program analysis and machine learning to detect potential defects that
|
|
4
4
|
* are difficult for developers to find and recommends fixes in your Java and Python
|
|
5
5
|
* code.</p>
|
|
6
|
-
*
|
|
7
6
|
* <p>By proactively detecting and providing recommendations for addressing code defects and
|
|
8
7
|
* implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of
|
|
9
8
|
* your code base during the code review stage. For more information about CodeGuru Reviewer, see the
|
|
10
9
|
* <i>
|
|
11
10
|
* <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html">Amazon CodeGuru Reviewer User Guide</a>.</i>
|
|
12
11
|
* </p>
|
|
13
|
-
*
|
|
14
12
|
* <p>To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection
|
|
15
13
|
* between your VPC and CodeGuru Reviewer by creating an <i>interface VPC endpoint</i>. For
|
|
16
14
|
* more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html">CodeGuru Reviewer and interface VPC
|
|
@@ -166,18 +166,18 @@ export interface AssociateRepositoryRequest {
|
|
|
166
166
|
/**
|
|
167
167
|
* @public
|
|
168
168
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
169
|
-
*
|
|
169
|
+
* <ul>
|
|
170
170
|
* <li>
|
|
171
|
-
*
|
|
171
|
+
* <p>A <i>tag key</i> (for example, <code>CostCenter</code>,
|
|
172
172
|
* <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag
|
|
173
173
|
* keys are case sensitive.</p>
|
|
174
|
-
*
|
|
174
|
+
* </li>
|
|
175
175
|
* <li>
|
|
176
|
-
*
|
|
176
|
+
* <p>An optional field known as a <i>tag value</i> (for example,
|
|
177
177
|
* <code>111122223333</code>, <code>Production</code>, or a team name).
|
|
178
178
|
* Omitting the tag value is the same as using an empty string. Like tag keys, tag
|
|
179
179
|
* values are case sensitive.</p>
|
|
180
|
-
*
|
|
180
|
+
* </li>
|
|
181
181
|
* </ul>
|
|
182
182
|
*/
|
|
183
183
|
Tags?: Record<string, string>;
|
|
@@ -410,18 +410,18 @@ export interface AssociateRepositoryResponse {
|
|
|
410
410
|
/**
|
|
411
411
|
* @public
|
|
412
412
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
413
|
-
*
|
|
413
|
+
* <ul>
|
|
414
414
|
* <li>
|
|
415
|
-
*
|
|
415
|
+
* <p>A <i>tag key</i> (for example, <code>CostCenter</code>,
|
|
416
416
|
* <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag
|
|
417
417
|
* keys are case sensitive.</p>
|
|
418
|
-
*
|
|
418
|
+
* </li>
|
|
419
419
|
* <li>
|
|
420
|
-
*
|
|
420
|
+
* <p>An optional field known as a <i>tag value</i> (for example,
|
|
421
421
|
* <code>111122223333</code>, <code>Production</code>, or a team name).
|
|
422
422
|
* Omitting the tag value is the same as using an empty string. Like tag keys, tag
|
|
423
423
|
* values are case sensitive.</p>
|
|
424
|
-
*
|
|
424
|
+
* </li>
|
|
425
425
|
* </ul>
|
|
426
426
|
*/
|
|
427
427
|
Tags?: Record<string, string>;
|
|
@@ -1078,18 +1078,18 @@ export interface DescribeRepositoryAssociationResponse {
|
|
|
1078
1078
|
/**
|
|
1079
1079
|
* @public
|
|
1080
1080
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1081
|
-
*
|
|
1081
|
+
* <ul>
|
|
1082
1082
|
* <li>
|
|
1083
|
-
*
|
|
1083
|
+
* <p>A <i>tag key</i> (for example, <code>CostCenter</code>,
|
|
1084
1084
|
* <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag
|
|
1085
1085
|
* keys are case sensitive.</p>
|
|
1086
|
-
*
|
|
1086
|
+
* </li>
|
|
1087
1087
|
* <li>
|
|
1088
|
-
*
|
|
1088
|
+
* <p>An optional field known as a <i>tag value</i> (for example,
|
|
1089
1089
|
* <code>111122223333</code>, <code>Production</code>, or a team name).
|
|
1090
1090
|
* Omitting the tag value is the same as using an empty string. Like tag keys, tag
|
|
1091
1091
|
* values are case sensitive.</p>
|
|
1092
|
-
*
|
|
1092
|
+
* </li>
|
|
1093
1093
|
* </ul>
|
|
1094
1094
|
*/
|
|
1095
1095
|
Tags?: Record<string, string>;
|
|
@@ -1129,18 +1129,18 @@ export interface DisassociateRepositoryResponse {
|
|
|
1129
1129
|
/**
|
|
1130
1130
|
* @public
|
|
1131
1131
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1132
|
-
*
|
|
1132
|
+
* <ul>
|
|
1133
1133
|
* <li>
|
|
1134
|
-
*
|
|
1134
|
+
* <p>A <i>tag key</i> (for example, <code>CostCenter</code>,
|
|
1135
1135
|
* <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag
|
|
1136
1136
|
* keys are case sensitive.</p>
|
|
1137
|
-
*
|
|
1137
|
+
* </li>
|
|
1138
1138
|
* <li>
|
|
1139
|
-
*
|
|
1139
|
+
* <p>An optional field known as a <i>tag value</i> (for example,
|
|
1140
1140
|
* <code>111122223333</code>, <code>Production</code>, or a team name).
|
|
1141
1141
|
* Omitting the tag value is the same as using an empty string. Like tag keys, tag
|
|
1142
1142
|
* values are case sensitive.</p>
|
|
1143
|
-
*
|
|
1143
|
+
* </li>
|
|
1144
1144
|
* </ul>
|
|
1145
1145
|
*/
|
|
1146
1146
|
Tags?: Record<string, string>;
|
|
@@ -1795,18 +1795,18 @@ export interface ListTagsForResourceResponse {
|
|
|
1795
1795
|
/**
|
|
1796
1796
|
* @public
|
|
1797
1797
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1798
|
-
*
|
|
1798
|
+
* <ul>
|
|
1799
1799
|
* <li>
|
|
1800
|
-
*
|
|
1800
|
+
* <p>A <i>tag key</i> (for example, <code>CostCenter</code>,
|
|
1801
1801
|
* <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag
|
|
1802
1802
|
* keys are case sensitive.</p>
|
|
1803
|
-
*
|
|
1803
|
+
* </li>
|
|
1804
1804
|
* <li>
|
|
1805
|
-
*
|
|
1805
|
+
* <p>An optional field known as a <i>tag value</i> (for example,
|
|
1806
1806
|
* <code>111122223333</code>, <code>Production</code>, or a team name).
|
|
1807
1807
|
* Omitting the tag value is the same as using an empty string. Like tag keys, tag
|
|
1808
1808
|
* values are case sensitive.</p>
|
|
1809
|
-
*
|
|
1809
|
+
* </li>
|
|
1810
1810
|
* </ul>
|
|
1811
1811
|
*/
|
|
1812
1812
|
Tags?: Record<string, string>;
|
|
@@ -1851,18 +1851,18 @@ export interface TagResourceRequest {
|
|
|
1851
1851
|
/**
|
|
1852
1852
|
* @public
|
|
1853
1853
|
* <p>An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:</p>
|
|
1854
|
-
*
|
|
1854
|
+
* <ul>
|
|
1855
1855
|
* <li>
|
|
1856
|
-
*
|
|
1856
|
+
* <p>A <i>tag key</i> (for example, <code>CostCenter</code>,
|
|
1857
1857
|
* <code>Environment</code>, <code>Project</code>, or <code>Secret</code>). Tag
|
|
1858
1858
|
* keys are case sensitive.</p>
|
|
1859
|
-
*
|
|
1859
|
+
* </li>
|
|
1860
1860
|
* <li>
|
|
1861
|
-
*
|
|
1861
|
+
* <p>An optional field known as a <i>tag value</i> (for example,
|
|
1862
1862
|
* <code>111122223333</code>, <code>Production</code>, or a team name).
|
|
1863
1863
|
* Omitting the tag value is the same as using an empty string. Like tag keys, tag
|
|
1864
1864
|
* values are case sensitive.</p>
|
|
1865
|
-
*
|
|
1865
|
+
* </li>
|
|
1866
1866
|
* </ul>
|
|
1867
1867
|
*/
|
|
1868
1868
|
Tags: Record<string, string> | undefined;
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: CodeGuruReviewerClientConfig) =>
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: CodeGuruReviewerClientConfig) =>
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,10 @@ import { CodeGuruReviewerClientConfig } from "./CodeGuruReviewerClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: CodeGuruReviewerClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
12
|
apiVersion: string;
|
|
10
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -3,7 +3,7 @@ import { CodeGuruReviewerExtensionConfiguration } from "./extensionConfiguration
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
configure(
|
|
6
|
+
configure(extensionConfiguration: CodeGuruReviewerExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface CodeGuruReviewerExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -22,7 +22,14 @@ export declare const getRuntimeConfig: (
|
|
|
22
22
|
any,
|
|
23
23
|
import("@smithy/types").HttpHandlerOptions
|
|
24
24
|
> &
|
|
25
|
-
import("@smithy/
|
|
25
|
+
import("@smithy/types").RequestHandler<
|
|
26
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
27
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
28
|
+
import("@smithy/types").HttpHandlerOptions
|
|
29
|
+
> & {
|
|
30
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
31
|
+
httpHandlerConfigs(): {};
|
|
32
|
+
})
|
|
26
33
|
| RequestHandler;
|
|
27
34
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
35
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -22,7 +22,14 @@ export declare const getRuntimeConfig: (
|
|
|
22
22
|
any,
|
|
23
23
|
import("@smithy/types").HttpHandlerOptions
|
|
24
24
|
> &
|
|
25
|
-
import("@smithy/
|
|
25
|
+
import("@smithy/types").RequestHandler<
|
|
26
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
27
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
28
|
+
import("@smithy/types").HttpHandlerOptions
|
|
29
|
+
> & {
|
|
30
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
31
|
+
httpHandlerConfigs(): {};
|
|
32
|
+
})
|
|
26
33
|
| RequestHandler;
|
|
27
34
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
35
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -10,7 +10,14 @@ export declare const getRuntimeConfig: (
|
|
|
10
10
|
any,
|
|
11
11
|
import("@smithy/types").HttpHandlerOptions
|
|
12
12
|
> &
|
|
13
|
-
import("@smithy/
|
|
13
|
+
import("@smithy/types").RequestHandler<
|
|
14
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
15
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
16
|
+
import("@smithy/types").HttpHandlerOptions
|
|
17
|
+
> & {
|
|
18
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
19
|
+
httpHandlerConfigs(): {};
|
|
20
|
+
})
|
|
14
21
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
15
22
|
apiVersion: string;
|
|
16
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { CodeGuruReviewerExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
3
|
+
configure(
|
|
4
|
+
extensionConfiguration: CodeGuruReviewerExtensionConfiguration
|
|
5
|
+
): void;
|
|
4
6
|
}
|
|
5
7
|
export interface RuntimeExtensionsConfig {
|
|
6
8
|
extensions: RuntimeExtension[];
|
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.
|
|
4
|
+
"version": "3.410.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",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.410.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.410.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.410.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.410.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.410.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.410.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.410.0",
|
|
31
|
+
"@aws-sdk/types": "3.410.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.410.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.410.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.410.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.7",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.1.2",
|
|
37
|
+
"@smithy/hash-node": "^2.0.6",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.6",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.8",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.6",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.
|
|
46
|
-
"@smithy/protocol-http": "^
|
|
47
|
-
"@smithy/smithy-client": "^2.
|
|
48
|
-
"@smithy/types": "^2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.9",
|
|
45
|
+
"@smithy/node-http-handler": "^2.1.2",
|
|
46
|
+
"@smithy/protocol-http": "^3.0.2",
|
|
47
|
+
"@smithy/smithy-client": "^2.1.3",
|
|
48
|
+
"@smithy/types": "^2.3.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.6",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.9",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
|
-
"@smithy/util-waiter": "^2.0.
|
|
57
|
+
"@smithy/util-waiter": "^2.0.6",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|