@aws-sdk/client-codeguru-reviewer 3.1077.0 → 3.1078.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 +22 -143
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateRepositoryCommand.js +2 -14
- package/dist-es/commands/CreateCodeReviewCommand.js +2 -14
- package/dist-es/commands/DescribeCodeReviewCommand.js +2 -14
- package/dist-es/commands/DescribeRecommendationFeedbackCommand.js +2 -14
- package/dist-es/commands/DescribeRepositoryAssociationCommand.js +2 -14
- package/dist-es/commands/DisassociateRepositoryCommand.js +2 -14
- package/dist-es/commands/ListCodeReviewsCommand.js +2 -14
- package/dist-es/commands/ListRecommendationFeedbackCommand.js +2 -14
- package/dist-es/commands/ListRecommendationsCommand.js +2 -14
- package/dist-es/commands/ListRepositoryAssociationsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PutRecommendationFeedbackCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +3 -8
- package/dist-types/commands/DescribeCodeReviewCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/ListCodeReviewsCommand.d.ts +3 -8
- package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +3 -8
- package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -8
- package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRecommendationFeedbackCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -915,172 +916,50 @@ class CodeGuruReviewerClient extends Client {
|
|
|
915
916
|
}
|
|
916
917
|
}
|
|
917
918
|
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
})
|
|
924
|
-
.s("AWSGuruFrontendService", "AssociateRepository", {})
|
|
925
|
-
.n("CodeGuruReviewerClient", "AssociateRepositoryCommand")
|
|
926
|
-
.sc(AssociateRepository$)
|
|
927
|
-
.build() {
|
|
919
|
+
const command = makeBuilder(commonParams, "AWSGuruFrontendService", "CodeGuruReviewerClient", getEndpointPlugin);
|
|
920
|
+
const _ep0 = {};
|
|
921
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
922
|
+
|
|
923
|
+
class AssociateRepositoryCommand extends command(_ep0, _mw0, "AssociateRepository", AssociateRepository$) {
|
|
928
924
|
}
|
|
929
925
|
|
|
930
|
-
class CreateCodeReviewCommand extends
|
|
931
|
-
.classBuilder()
|
|
932
|
-
.ep(commonParams)
|
|
933
|
-
.m(function (Command, cs, config, o) {
|
|
934
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
935
|
-
})
|
|
936
|
-
.s("AWSGuruFrontendService", "CreateCodeReview", {})
|
|
937
|
-
.n("CodeGuruReviewerClient", "CreateCodeReviewCommand")
|
|
938
|
-
.sc(CreateCodeReview$)
|
|
939
|
-
.build() {
|
|
926
|
+
class CreateCodeReviewCommand extends command(_ep0, _mw0, "CreateCodeReview", CreateCodeReview$) {
|
|
940
927
|
}
|
|
941
928
|
|
|
942
|
-
class DescribeCodeReviewCommand extends
|
|
943
|
-
.classBuilder()
|
|
944
|
-
.ep(commonParams)
|
|
945
|
-
.m(function (Command, cs, config, o) {
|
|
946
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
947
|
-
})
|
|
948
|
-
.s("AWSGuruFrontendService", "DescribeCodeReview", {})
|
|
949
|
-
.n("CodeGuruReviewerClient", "DescribeCodeReviewCommand")
|
|
950
|
-
.sc(DescribeCodeReview$)
|
|
951
|
-
.build() {
|
|
929
|
+
class DescribeCodeReviewCommand extends command(_ep0, _mw0, "DescribeCodeReview", DescribeCodeReview$) {
|
|
952
930
|
}
|
|
953
931
|
|
|
954
|
-
class DescribeRecommendationFeedbackCommand extends
|
|
955
|
-
.classBuilder()
|
|
956
|
-
.ep(commonParams)
|
|
957
|
-
.m(function (Command, cs, config, o) {
|
|
958
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
959
|
-
})
|
|
960
|
-
.s("AWSGuruFrontendService", "DescribeRecommendationFeedback", {})
|
|
961
|
-
.n("CodeGuruReviewerClient", "DescribeRecommendationFeedbackCommand")
|
|
962
|
-
.sc(DescribeRecommendationFeedback$)
|
|
963
|
-
.build() {
|
|
932
|
+
class DescribeRecommendationFeedbackCommand extends command(_ep0, _mw0, "DescribeRecommendationFeedback", DescribeRecommendationFeedback$) {
|
|
964
933
|
}
|
|
965
934
|
|
|
966
|
-
class DescribeRepositoryAssociationCommand extends
|
|
967
|
-
.classBuilder()
|
|
968
|
-
.ep(commonParams)
|
|
969
|
-
.m(function (Command, cs, config, o) {
|
|
970
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
971
|
-
})
|
|
972
|
-
.s("AWSGuruFrontendService", "DescribeRepositoryAssociation", {})
|
|
973
|
-
.n("CodeGuruReviewerClient", "DescribeRepositoryAssociationCommand")
|
|
974
|
-
.sc(DescribeRepositoryAssociation$)
|
|
975
|
-
.build() {
|
|
935
|
+
class DescribeRepositoryAssociationCommand extends command(_ep0, _mw0, "DescribeRepositoryAssociation", DescribeRepositoryAssociation$) {
|
|
976
936
|
}
|
|
977
937
|
|
|
978
|
-
class DisassociateRepositoryCommand extends
|
|
979
|
-
.classBuilder()
|
|
980
|
-
.ep(commonParams)
|
|
981
|
-
.m(function (Command, cs, config, o) {
|
|
982
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
983
|
-
})
|
|
984
|
-
.s("AWSGuruFrontendService", "DisassociateRepository", {})
|
|
985
|
-
.n("CodeGuruReviewerClient", "DisassociateRepositoryCommand")
|
|
986
|
-
.sc(DisassociateRepository$)
|
|
987
|
-
.build() {
|
|
938
|
+
class DisassociateRepositoryCommand extends command(_ep0, _mw0, "DisassociateRepository", DisassociateRepository$) {
|
|
988
939
|
}
|
|
989
940
|
|
|
990
|
-
class ListCodeReviewsCommand extends
|
|
991
|
-
.classBuilder()
|
|
992
|
-
.ep(commonParams)
|
|
993
|
-
.m(function (Command, cs, config, o) {
|
|
994
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
995
|
-
})
|
|
996
|
-
.s("AWSGuruFrontendService", "ListCodeReviews", {})
|
|
997
|
-
.n("CodeGuruReviewerClient", "ListCodeReviewsCommand")
|
|
998
|
-
.sc(ListCodeReviews$)
|
|
999
|
-
.build() {
|
|
941
|
+
class ListCodeReviewsCommand extends command(_ep0, _mw0, "ListCodeReviews", ListCodeReviews$) {
|
|
1000
942
|
}
|
|
1001
943
|
|
|
1002
|
-
class ListRecommendationFeedbackCommand extends
|
|
1003
|
-
.classBuilder()
|
|
1004
|
-
.ep(commonParams)
|
|
1005
|
-
.m(function (Command, cs, config, o) {
|
|
1006
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1007
|
-
})
|
|
1008
|
-
.s("AWSGuruFrontendService", "ListRecommendationFeedback", {})
|
|
1009
|
-
.n("CodeGuruReviewerClient", "ListRecommendationFeedbackCommand")
|
|
1010
|
-
.sc(ListRecommendationFeedback$)
|
|
1011
|
-
.build() {
|
|
944
|
+
class ListRecommendationFeedbackCommand extends command(_ep0, _mw0, "ListRecommendationFeedback", ListRecommendationFeedback$) {
|
|
1012
945
|
}
|
|
1013
946
|
|
|
1014
|
-
class ListRecommendationsCommand extends
|
|
1015
|
-
.classBuilder()
|
|
1016
|
-
.ep(commonParams)
|
|
1017
|
-
.m(function (Command, cs, config, o) {
|
|
1018
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1019
|
-
})
|
|
1020
|
-
.s("AWSGuruFrontendService", "ListRecommendations", {})
|
|
1021
|
-
.n("CodeGuruReviewerClient", "ListRecommendationsCommand")
|
|
1022
|
-
.sc(ListRecommendations$)
|
|
1023
|
-
.build() {
|
|
947
|
+
class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
|
|
1024
948
|
}
|
|
1025
949
|
|
|
1026
|
-
class ListRepositoryAssociationsCommand extends
|
|
1027
|
-
.classBuilder()
|
|
1028
|
-
.ep(commonParams)
|
|
1029
|
-
.m(function (Command, cs, config, o) {
|
|
1030
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1031
|
-
})
|
|
1032
|
-
.s("AWSGuruFrontendService", "ListRepositoryAssociations", {})
|
|
1033
|
-
.n("CodeGuruReviewerClient", "ListRepositoryAssociationsCommand")
|
|
1034
|
-
.sc(ListRepositoryAssociations$)
|
|
1035
|
-
.build() {
|
|
950
|
+
class ListRepositoryAssociationsCommand extends command(_ep0, _mw0, "ListRepositoryAssociations", ListRepositoryAssociations$) {
|
|
1036
951
|
}
|
|
1037
952
|
|
|
1038
|
-
class ListTagsForResourceCommand extends
|
|
1039
|
-
.classBuilder()
|
|
1040
|
-
.ep(commonParams)
|
|
1041
|
-
.m(function (Command, cs, config, o) {
|
|
1042
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1043
|
-
})
|
|
1044
|
-
.s("AWSGuruFrontendService", "ListTagsForResource", {})
|
|
1045
|
-
.n("CodeGuruReviewerClient", "ListTagsForResourceCommand")
|
|
1046
|
-
.sc(ListTagsForResource$)
|
|
1047
|
-
.build() {
|
|
953
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1048
954
|
}
|
|
1049
955
|
|
|
1050
|
-
class PutRecommendationFeedbackCommand extends
|
|
1051
|
-
.classBuilder()
|
|
1052
|
-
.ep(commonParams)
|
|
1053
|
-
.m(function (Command, cs, config, o) {
|
|
1054
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1055
|
-
})
|
|
1056
|
-
.s("AWSGuruFrontendService", "PutRecommendationFeedback", {})
|
|
1057
|
-
.n("CodeGuruReviewerClient", "PutRecommendationFeedbackCommand")
|
|
1058
|
-
.sc(PutRecommendationFeedback$)
|
|
1059
|
-
.build() {
|
|
956
|
+
class PutRecommendationFeedbackCommand extends command(_ep0, _mw0, "PutRecommendationFeedback", PutRecommendationFeedback$) {
|
|
1060
957
|
}
|
|
1061
958
|
|
|
1062
|
-
class TagResourceCommand extends
|
|
1063
|
-
.classBuilder()
|
|
1064
|
-
.ep(commonParams)
|
|
1065
|
-
.m(function (Command, cs, config, o) {
|
|
1066
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1067
|
-
})
|
|
1068
|
-
.s("AWSGuruFrontendService", "TagResource", {})
|
|
1069
|
-
.n("CodeGuruReviewerClient", "TagResourceCommand")
|
|
1070
|
-
.sc(TagResource$)
|
|
1071
|
-
.build() {
|
|
959
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1072
960
|
}
|
|
1073
961
|
|
|
1074
|
-
class UntagResourceCommand extends
|
|
1075
|
-
.classBuilder()
|
|
1076
|
-
.ep(commonParams)
|
|
1077
|
-
.m(function (Command, cs, config, o) {
|
|
1078
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1079
|
-
})
|
|
1080
|
-
.s("AWSGuruFrontendService", "UntagResource", {})
|
|
1081
|
-
.n("CodeGuruReviewerClient", "UntagResourceCommand")
|
|
1082
|
-
.sc(UntagResource$)
|
|
1083
|
-
.build() {
|
|
962
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1084
963
|
}
|
|
1085
964
|
|
|
1086
965
|
const paginateListCodeReviews = createPaginator(CodeGuruReviewerClient, ListCodeReviewsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AWSGuruFrontendService", "CodeGuruReviewerClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AssociateRepository$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AssociateRepositoryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "AssociateRepository", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "AssociateRepositoryCommand")
|
|
14
|
-
.sc(AssociateRepository$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AssociateRepositoryCommand extends command(_ep0, _mw0, "AssociateRepository", AssociateRepository$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateCodeReview$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateCodeReviewCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "CreateCodeReview", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "CreateCodeReviewCommand")
|
|
14
|
-
.sc(CreateCodeReview$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateCodeReviewCommand extends command(_ep0, _mw0, "CreateCodeReview", CreateCodeReview$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeCodeReview$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeCodeReviewCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "DescribeCodeReview", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "DescribeCodeReviewCommand")
|
|
14
|
-
.sc(DescribeCodeReview$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeCodeReviewCommand extends command(_ep0, _mw0, "DescribeCodeReview", DescribeCodeReview$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeRecommendationFeedback$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeRecommendationFeedbackCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "DescribeRecommendationFeedback", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "DescribeRecommendationFeedbackCommand")
|
|
14
|
-
.sc(DescribeRecommendationFeedback$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeRecommendationFeedbackCommand extends command(_ep0, _mw0, "DescribeRecommendationFeedback", DescribeRecommendationFeedback$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeRepositoryAssociation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeRepositoryAssociationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "DescribeRepositoryAssociation", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "DescribeRepositoryAssociationCommand")
|
|
14
|
-
.sc(DescribeRepositoryAssociation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeRepositoryAssociationCommand extends command(_ep0, _mw0, "DescribeRepositoryAssociation", DescribeRepositoryAssociation$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DisassociateRepository$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateRepositoryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "DisassociateRepository", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "DisassociateRepositoryCommand")
|
|
14
|
-
.sc(DisassociateRepository$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateRepositoryCommand extends command(_ep0, _mw0, "DisassociateRepository", DisassociateRepository$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListCodeReviews$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListCodeReviewsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "ListCodeReviews", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "ListCodeReviewsCommand")
|
|
14
|
-
.sc(ListCodeReviews$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListCodeReviewsCommand extends command(_ep0, _mw0, "ListCodeReviews", ListCodeReviews$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListRecommendationFeedback$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRecommendationFeedbackCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "ListRecommendationFeedback", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "ListRecommendationFeedbackCommand")
|
|
14
|
-
.sc(ListRecommendationFeedback$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRecommendationFeedbackCommand extends command(_ep0, _mw0, "ListRecommendationFeedback", ListRecommendationFeedback$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRecommendationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "ListRecommendations", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "ListRecommendationsCommand")
|
|
14
|
-
.sc(ListRecommendations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRecommendationsCommand extends command(_ep0, _mw0, "ListRecommendations", ListRecommendations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListRepositoryAssociations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRepositoryAssociationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "ListRepositoryAssociations", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "ListRepositoryAssociationsCommand")
|
|
14
|
-
.sc(ListRepositoryAssociations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRepositoryAssociationsCommand extends command(_ep0, _mw0, "ListRepositoryAssociations", ListRepositoryAssociations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "ListTagsForResource", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutRecommendationFeedback$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutRecommendationFeedbackCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "PutRecommendationFeedback", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "PutRecommendationFeedbackCommand")
|
|
14
|
-
.sc(PutRecommendationFeedback$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutRecommendationFeedbackCommand extends command(_ep0, _mw0, "PutRecommendationFeedback", PutRecommendationFeedback$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "TagResource", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AWSGuruFrontendService", "UntagResource", {})
|
|
13
|
-
.n("CodeGuruReviewerClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CodeGuruReviewerClient";
|
|
2
2
|
export * from "./CodeGuruReviewer";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./waiters";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CodeGuruReviewerClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
4
2
|
import type { AssociateRepositoryRequest, AssociateRepositoryResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociateRepositoryCommandInput extends AssociateRepositoryRequ
|
|
|
22
19
|
export interface AssociateRepositoryCommandOutput extends AssociateRepositoryResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateRepositoryCommand_base: {
|
|
25
|
-
new (input: AssociateRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociateRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput, import("..").CodeGuruReviewerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateRepositoryCommandInput, AssociateRepositoryCommandOutput, import("..").CodeGuruReviewerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
4
2
|
import type { CreateCodeReviewRequest, CreateCodeReviewResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateCodeReviewCommandInput extends CreateCodeReviewRequest {
|
|
|
22
19
|
export interface CreateCodeReviewCommandOutput extends CreateCodeReviewResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateCodeReviewCommand_base: {
|
|
25
|
-
new (input: CreateCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, import("..").CodeGuruReviewerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<CreateCodeReviewCommandInput, CreateCodeReviewCommandOutput, import("..").CodeGuruReviewerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Use to create a code review with a <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html">CodeReviewType</a> of
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruReviewerClient";
|
|
4
2
|
import type { DescribeCodeReviewRequest, DescribeCodeReviewResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DescribeCodeReviewCommandInput extends DescribeCodeReviewReques
|
|
|
22
19
|
export interface DescribeCodeReviewCommandOutput extends DescribeCodeReviewResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DescribeCodeReviewCommand_base: {
|
|
25
|
-
new (input: DescribeCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<DescribeCodeReviewCommandInput, DescribeCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DescribeCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<DescribeCodeReviewCommandInput, DescribeCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DescribeCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<DescribeCodeReviewCommandInput, DescribeCodeReviewCommandOutput, import("..").CodeGuruReviewerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeCodeReviewCommandInput): import("@smithy/core/client").CommandImpl<DescribeCodeReviewCommandInput, DescribeCodeReviewCommandOutput, import("..").CodeGuruReviewerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns the metadata associated with the code review along with its status.</p>
|