@aws-sdk/client-codeguru-reviewer 3.299.0 → 3.300.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.
@@ -48,6 +48,35 @@ export interface AssociateRepositoryCommandOutput extends AssociateRepositoryRes
48
48
  * import { CodeGuruReviewerClient, AssociateRepositoryCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
49
49
  * // const { CodeGuruReviewerClient, AssociateRepositoryCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
50
50
  * const client = new CodeGuruReviewerClient(config);
51
+ * const input = {
52
+ * Repository: {
53
+ * CodeCommit: {
54
+ * Name: "STRING_VALUE", // required
55
+ * },
56
+ * Bitbucket: {
57
+ * Name: "STRING_VALUE", // required
58
+ * ConnectionArn: "STRING_VALUE", // required
59
+ * Owner: "STRING_VALUE", // required
60
+ * },
61
+ * GitHubEnterpriseServer: {
62
+ * Name: "STRING_VALUE", // required
63
+ * ConnectionArn: "STRING_VALUE", // required
64
+ * Owner: "STRING_VALUE", // required
65
+ * },
66
+ * S3Bucket: {
67
+ * Name: "STRING_VALUE", // required
68
+ * BucketName: "STRING_VALUE", // required
69
+ * },
70
+ * },
71
+ * ClientRequestToken: "STRING_VALUE",
72
+ * Tags: {
73
+ * "<keys>": "STRING_VALUE",
74
+ * },
75
+ * KMSKeyDetails: {
76
+ * KMSKeyId: "STRING_VALUE",
77
+ * EncryptionOption: "AWS_OWNED_CMK" || "CUSTOMER_MANAGED_CMK",
78
+ * },
79
+ * };
51
80
  * const command = new AssociateRepositoryCommand(input);
52
81
  * const response = await client.send(command);
53
82
  * ```
@@ -29,6 +29,54 @@ export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse,
29
29
  * import { CodeGuruReviewerClient, CreateCodeReviewCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
30
30
  * // const { CodeGuruReviewerClient, CreateCodeReviewCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
31
31
  * const client = new CodeGuruReviewerClient(config);
32
+ * const input = {
33
+ * Name: "STRING_VALUE", // required
34
+ * RepositoryAssociationArn: "STRING_VALUE", // required
35
+ * Type: {
36
+ * RepositoryAnalysis: {
37
+ * RepositoryHead: {
38
+ * BranchName: "STRING_VALUE", // required
39
+ * },
40
+ * SourceCodeType: {
41
+ * CommitDiff: {
42
+ * SourceCommit: "STRING_VALUE",
43
+ * DestinationCommit: "STRING_VALUE",
44
+ * MergeBaseCommit: "STRING_VALUE",
45
+ * },
46
+ * RepositoryHead: {
47
+ * BranchName: "STRING_VALUE", // required
48
+ * },
49
+ * BranchDiff: {
50
+ * SourceBranchName: "STRING_VALUE", // required
51
+ * DestinationBranchName: "STRING_VALUE", // required
52
+ * },
53
+ * S3BucketRepository: {
54
+ * Name: "STRING_VALUE", // required
55
+ * Details: {
56
+ * BucketName: "STRING_VALUE",
57
+ * CodeArtifacts: {
58
+ * SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
59
+ * BuildArtifactsObjectKey: "STRING_VALUE",
60
+ * },
61
+ * },
62
+ * },
63
+ * RequestMetadata: {
64
+ * RequestId: "STRING_VALUE",
65
+ * Requester: "STRING_VALUE",
66
+ * EventInfo: {
67
+ * Name: "STRING_VALUE",
68
+ * State: "STRING_VALUE",
69
+ * },
70
+ * VendorName: "GitHub" || "GitLab" || "NativeS3",
71
+ * },
72
+ * },
73
+ * },
74
+ * AnalysisTypes: [
75
+ * "Security" || "CodeQuality",
76
+ * ],
77
+ * },
78
+ * ClientRequestToken: "STRING_VALUE",
79
+ * };
32
80
  * const command = new CreateCodeReviewCommand(input);
33
81
  * const response = await client.send(command);
34
82
  * ```
@@ -26,6 +26,9 @@ export interface DescribeCodeReviewCommandOutput extends DescribeCodeReviewRespo
26
26
  * import { CodeGuruReviewerClient, DescribeCodeReviewCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, DescribeCodeReviewCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * CodeReviewArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeCodeReviewCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface DescribeRecommendationFeedbackCommandOutput extends DescribeRec
26
26
  * import { CodeGuruReviewerClient, DescribeRecommendationFeedbackCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, DescribeRecommendationFeedbackCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * CodeReviewArn: "STRING_VALUE", // required
31
+ * RecommendationId: "STRING_VALUE", // required
32
+ * UserId: "STRING_VALUE",
33
+ * };
29
34
  * const command = new DescribeRecommendationFeedbackCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,9 @@ export interface DescribeRepositoryAssociationCommandOutput extends DescribeRepo
27
27
  * import { CodeGuruReviewerClient, DescribeRepositoryAssociationCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
28
28
  * // const { CodeGuruReviewerClient, DescribeRepositoryAssociationCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
29
29
  * const client = new CodeGuruReviewerClient(config);
30
+ * const input = {
31
+ * AssociationArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeRepositoryAssociationCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface DisassociateRepositoryCommandOutput extends DisassociateReposit
26
26
  * import { CodeGuruReviewerClient, DisassociateRepositoryCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, DisassociateRepositoryCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * AssociationArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DisassociateRepositoryCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,20 @@ export interface ListCodeReviewsCommandOutput extends ListCodeReviewsResponse, _
26
26
  * import { CodeGuruReviewerClient, ListCodeReviewsCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, ListCodeReviewsCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * ProviderTypes: [
31
+ * "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
32
+ * ],
33
+ * States: [
34
+ * "Completed" || "Pending" || "Failed" || "Deleting",
35
+ * ],
36
+ * RepositoryNames: [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * Type: "PullRequest" || "RepositoryAnalysis", // required
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * };
29
43
  * const command = new ListCodeReviewsCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -27,6 +27,17 @@ export interface ListRecommendationFeedbackCommandOutput extends ListRecommendat
27
27
  * import { CodeGuruReviewerClient, ListRecommendationFeedbackCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
28
28
  * // const { CodeGuruReviewerClient, ListRecommendationFeedbackCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
29
29
  * const client = new CodeGuruReviewerClient(config);
30
+ * const input = {
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * CodeReviewArn: "STRING_VALUE", // required
34
+ * UserIds: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * RecommendationIds: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
30
41
  * const command = new ListRecommendationFeedbackCommand(input);
31
42
  * const response = await client.send(command);
32
43
  * ```
@@ -26,6 +26,11 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes
26
26
  * import { CodeGuruReviewerClient, ListRecommendationsCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, ListRecommendationsCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * CodeReviewArn: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new ListRecommendationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,22 @@ export interface ListRepositoryAssociationsCommandOutput extends ListRepositoryA
27
27
  * import { CodeGuruReviewerClient, ListRepositoryAssociationsCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
28
28
  * // const { CodeGuruReviewerClient, ListRepositoryAssociationsCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
29
29
  * const client = new CodeGuruReviewerClient(config);
30
+ * const input = {
31
+ * ProviderTypes: [
32
+ * "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
33
+ * ],
34
+ * States: [
35
+ * "Associated" || "Associating" || "Failed" || "Disassociating" || "Disassociated",
36
+ * ],
37
+ * Names: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * Owners: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * MaxResults: Number("int"),
44
+ * NextToken: "STRING_VALUE",
45
+ * };
30
46
  * const command = new ListRepositoryAssociationsCommand(input);
31
47
  * const response = await client.send(command);
32
48
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { CodeGuruReviewerClient, ListTagsForResourceCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,13 @@ export interface PutRecommendationFeedbackCommandOutput extends PutRecommendatio
27
27
  * import { CodeGuruReviewerClient, PutRecommendationFeedbackCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
28
28
  * // const { CodeGuruReviewerClient, PutRecommendationFeedbackCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
29
29
  * const client = new CodeGuruReviewerClient(config);
30
+ * const input = {
31
+ * CodeReviewArn: "STRING_VALUE", // required
32
+ * RecommendationId: "STRING_VALUE", // required
33
+ * Reactions: [ // required
34
+ * "ThumbsUp" || "ThumbsDown",
35
+ * ],
36
+ * };
30
37
  * const command = new PutRecommendationFeedbackCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { CodeGuruReviewerClient, TagResourceCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, TagResourceCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * Tags: { // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { CodeGuruReviewerClient, UntagResourceCommand } from "@aws-sdk/client-codeguru-reviewer"; // ES Modules import
27
27
  * // const { CodeGuruReviewerClient, UntagResourceCommand } = require("@aws-sdk/client-codeguru-reviewer"); // CommonJS import
28
28
  * const client = new CodeGuruReviewerClient(config);
29
+ * const input = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
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.299.0",
4
+ "version": "3.300.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,9 +21,9 @@
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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "tslib": "^2.5.0",