@aws-sdk/client-codeguru-reviewer 3.300.0 → 3.301.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-types/commands/AssociateRepositoryCommand.d.ts +7 -7
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +13 -13
- package/dist-types/commands/DescribeCodeReviewCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +4 -4
- package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +3 -3
- package/dist-types/commands/ListRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +5 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -48,12 +48,12 @@ 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: {
|
|
51
|
+
* const input = { // AssociateRepositoryRequest
|
|
52
|
+
* Repository: { // Repository
|
|
53
|
+
* CodeCommit: { // CodeCommitRepository
|
|
54
54
|
* Name: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
|
-
* Bitbucket: {
|
|
56
|
+
* Bitbucket: { // ThirdPartySourceRepository
|
|
57
57
|
* Name: "STRING_VALUE", // required
|
|
58
58
|
* ConnectionArn: "STRING_VALUE", // required
|
|
59
59
|
* Owner: "STRING_VALUE", // required
|
|
@@ -63,16 +63,16 @@ export interface AssociateRepositoryCommandOutput extends AssociateRepositoryRes
|
|
|
63
63
|
* ConnectionArn: "STRING_VALUE", // required
|
|
64
64
|
* Owner: "STRING_VALUE", // required
|
|
65
65
|
* },
|
|
66
|
-
* S3Bucket: {
|
|
66
|
+
* S3Bucket: { // S3Repository
|
|
67
67
|
* Name: "STRING_VALUE", // required
|
|
68
68
|
* BucketName: "STRING_VALUE", // required
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
71
|
* ClientRequestToken: "STRING_VALUE",
|
|
72
|
-
* Tags: {
|
|
72
|
+
* Tags: { // TagMap
|
|
73
73
|
* "<keys>": "STRING_VALUE",
|
|
74
74
|
* },
|
|
75
|
-
* KMSKeyDetails: {
|
|
75
|
+
* KMSKeyDetails: { // KMSKeyDetails
|
|
76
76
|
* KMSKeyId: "STRING_VALUE",
|
|
77
77
|
* EncryptionOption: "AWS_OWNED_CMK" || "CUSTOMER_MANAGED_CMK",
|
|
78
78
|
* },
|
|
@@ -29,16 +29,16 @@ 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 = {
|
|
32
|
+
* const input = { // CreateCodeReviewRequest
|
|
33
33
|
* Name: "STRING_VALUE", // required
|
|
34
34
|
* RepositoryAssociationArn: "STRING_VALUE", // required
|
|
35
|
-
* Type: {
|
|
36
|
-
* RepositoryAnalysis: {
|
|
37
|
-
* RepositoryHead: {
|
|
35
|
+
* Type: { // CodeReviewType
|
|
36
|
+
* RepositoryAnalysis: { // RepositoryAnalysis
|
|
37
|
+
* RepositoryHead: { // RepositoryHeadSourceCodeType
|
|
38
38
|
* BranchName: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
|
-
* SourceCodeType: {
|
|
41
|
-
* CommitDiff: {
|
|
40
|
+
* SourceCodeType: { // SourceCodeType
|
|
41
|
+
* CommitDiff: { // CommitDiffSourceCodeType
|
|
42
42
|
* SourceCommit: "STRING_VALUE",
|
|
43
43
|
* DestinationCommit: "STRING_VALUE",
|
|
44
44
|
* MergeBaseCommit: "STRING_VALUE",
|
|
@@ -46,24 +46,24 @@ export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse,
|
|
|
46
46
|
* RepositoryHead: {
|
|
47
47
|
* BranchName: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
49
|
-
* BranchDiff: {
|
|
49
|
+
* BranchDiff: { // BranchDiffSourceCodeType
|
|
50
50
|
* SourceBranchName: "STRING_VALUE", // required
|
|
51
51
|
* DestinationBranchName: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
|
-
* S3BucketRepository: {
|
|
53
|
+
* S3BucketRepository: { // S3BucketRepository
|
|
54
54
|
* Name: "STRING_VALUE", // required
|
|
55
|
-
* Details: {
|
|
55
|
+
* Details: { // S3RepositoryDetails
|
|
56
56
|
* BucketName: "STRING_VALUE",
|
|
57
|
-
* CodeArtifacts: {
|
|
57
|
+
* CodeArtifacts: { // CodeArtifacts
|
|
58
58
|
* SourceCodeArtifactsObjectKey: "STRING_VALUE", // required
|
|
59
59
|
* BuildArtifactsObjectKey: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* },
|
|
63
|
-
* RequestMetadata: {
|
|
63
|
+
* RequestMetadata: { // RequestMetadata
|
|
64
64
|
* RequestId: "STRING_VALUE",
|
|
65
65
|
* Requester: "STRING_VALUE",
|
|
66
|
-
* EventInfo: {
|
|
66
|
+
* EventInfo: { // EventInfo
|
|
67
67
|
* Name: "STRING_VALUE",
|
|
68
68
|
* State: "STRING_VALUE",
|
|
69
69
|
* },
|
|
@@ -71,7 +71,7 @@ export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse,
|
|
|
71
71
|
* },
|
|
72
72
|
* },
|
|
73
73
|
* },
|
|
74
|
-
* AnalysisTypes: [
|
|
74
|
+
* AnalysisTypes: [ // AnalysisTypes
|
|
75
75
|
* "Security" || "CodeQuality",
|
|
76
76
|
* ],
|
|
77
77
|
* },
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeCodeReviewRequest
|
|
30
30
|
* CodeReviewArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeCodeReviewCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeRecommendationFeedbackRequest
|
|
30
30
|
* CodeReviewArn: "STRING_VALUE", // required
|
|
31
31
|
* RecommendationId: "STRING_VALUE", // required
|
|
32
32
|
* UserId: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // DescribeRepositoryAssociationRequest
|
|
31
31
|
* AssociationArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeRepositoryAssociationCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DisassociateRepositoryRequest
|
|
30
30
|
* AssociationArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisassociateRepositoryCommand(input);
|
|
@@ -26,14 +26,14 @@ 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: [
|
|
29
|
+
* const input = { // ListCodeReviewsRequest
|
|
30
|
+
* ProviderTypes: [ // ProviderTypes
|
|
31
31
|
* "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
32
32
|
* ],
|
|
33
|
-
* States: [
|
|
33
|
+
* States: [ // JobStates
|
|
34
34
|
* "Completed" || "Pending" || "Failed" || "Deleting",
|
|
35
35
|
* ],
|
|
36
|
-
* RepositoryNames: [
|
|
36
|
+
* RepositoryNames: [ // RepositoryNames
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* Type: "PullRequest" || "RepositoryAnalysis", // required
|
|
@@ -27,14 +27,14 @@ 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 = {
|
|
30
|
+
* const input = { // ListRecommendationFeedbackRequest
|
|
31
31
|
* NextToken: "STRING_VALUE",
|
|
32
32
|
* MaxResults: Number("int"),
|
|
33
33
|
* CodeReviewArn: "STRING_VALUE", // required
|
|
34
|
-
* UserIds: [
|
|
34
|
+
* UserIds: [ // UserIds
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* RecommendationIds: [
|
|
37
|
+
* RecommendationIds: [ // RecommendationIds
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListRecommendationsRequest
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* MaxResults: Number("int"),
|
|
32
32
|
* CodeReviewArn: "STRING_VALUE", // required
|
|
@@ -27,17 +27,17 @@ 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: [
|
|
30
|
+
* const input = { // ListRepositoryAssociationsRequest
|
|
31
|
+
* ProviderTypes: [ // ProviderTypes
|
|
32
32
|
* "CodeCommit" || "GitHub" || "Bitbucket" || "GitHubEnterpriseServer" || "S3Bucket",
|
|
33
33
|
* ],
|
|
34
|
-
* States: [
|
|
34
|
+
* States: [ // RepositoryAssociationStates
|
|
35
35
|
* "Associated" || "Associating" || "Failed" || "Disassociating" || "Disassociated",
|
|
36
36
|
* ],
|
|
37
|
-
* Names: [
|
|
37
|
+
* Names: [ // Names
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
|
-
* Owners: [
|
|
40
|
+
* Owners: [ // Owners
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* MaxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -27,10 +27,10 @@ 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 = {
|
|
30
|
+
* const input = { // PutRecommendationFeedbackRequest
|
|
31
31
|
* CodeReviewArn: "STRING_VALUE", // required
|
|
32
32
|
* RecommendationId: "STRING_VALUE", // required
|
|
33
|
-
* Reactions: [ // required
|
|
33
|
+
* Reactions: [ // Reactions // required
|
|
34
34
|
* "ThumbsUp" || "ThumbsDown",
|
|
35
35
|
* ],
|
|
36
36
|
* };
|
|
@@ -26,9 +26,9 @@ 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 = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* Tags: { // required
|
|
31
|
+
* Tags: { // TagMap // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ 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 = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* TagKeys: [ // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
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.301.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|