@aws-sdk/client-codeguru-reviewer 3.478.0 → 3.481.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.
Files changed (61) hide show
  1. package/dist-cjs/commands/AssociateRepositoryCommand.js +18 -41
  2. package/dist-cjs/commands/CreateCodeReviewCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeCodeReviewCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeRecommendationFeedbackCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeRepositoryAssociationCommand.js +18 -41
  6. package/dist-cjs/commands/DisassociateRepositoryCommand.js +18 -41
  7. package/dist-cjs/commands/ListCodeReviewsCommand.js +18 -41
  8. package/dist-cjs/commands/ListRecommendationFeedbackCommand.js +18 -41
  9. package/dist-cjs/commands/ListRecommendationsCommand.js +18 -41
  10. package/dist-cjs/commands/ListRepositoryAssociationsCommand.js +18 -41
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  12. package/dist-cjs/commands/PutRecommendationFeedbackCommand.js +18 -41
  13. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  14. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  15. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  16. package/dist-es/commands/AssociateRepositoryCommand.js +18 -41
  17. package/dist-es/commands/CreateCodeReviewCommand.js +18 -41
  18. package/dist-es/commands/DescribeCodeReviewCommand.js +18 -41
  19. package/dist-es/commands/DescribeRecommendationFeedbackCommand.js +18 -41
  20. package/dist-es/commands/DescribeRepositoryAssociationCommand.js +18 -41
  21. package/dist-es/commands/DisassociateRepositoryCommand.js +18 -41
  22. package/dist-es/commands/ListCodeReviewsCommand.js +18 -41
  23. package/dist-es/commands/ListRecommendationFeedbackCommand.js +18 -41
  24. package/dist-es/commands/ListRecommendationsCommand.js +18 -41
  25. package/dist-es/commands/ListRepositoryAssociationsCommand.js +18 -41
  26. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  27. package/dist-es/commands/PutRecommendationFeedbackCommand.js +18 -41
  28. package/dist-es/commands/TagResourceCommand.js +18 -41
  29. package/dist-es/commands/UntagResourceCommand.js +18 -41
  30. package/dist-es/endpoint/EndpointParameters.js +6 -0
  31. package/dist-types/commands/AssociateRepositoryCommand.d.ts +6 -21
  32. package/dist-types/commands/CreateCodeReviewCommand.d.ts +6 -21
  33. package/dist-types/commands/DescribeCodeReviewCommand.d.ts +6 -21
  34. package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +6 -21
  35. package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +6 -21
  36. package/dist-types/commands/DisassociateRepositoryCommand.d.ts +6 -21
  37. package/dist-types/commands/ListCodeReviewsCommand.d.ts +6 -21
  38. package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +6 -21
  39. package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
  40. package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +6 -21
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  42. package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +6 -21
  43. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  44. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  45. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  46. package/dist-types/ts3.4/commands/AssociateRepositoryCommand.d.ts +14 -23
  47. package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +14 -23
  48. package/dist-types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +14 -23
  49. package/dist-types/ts3.4/commands/DescribeRecommendationFeedbackCommand.d.ts +12 -24
  50. package/dist-types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +12 -24
  51. package/dist-types/ts3.4/commands/DisassociateRepositoryCommand.d.ts +12 -24
  52. package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +12 -24
  54. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +12 -24
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +12 -24
  58. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  61. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateRepositoryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateRepositoryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "AssociateRepositoryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "AssociateRepository",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_AssociateRepositoryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateRepositoryCommand)(output, context);
49
- }
10
+ class AssociateRepositoryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "AssociateRepository", {})
22
+ .n("CodeGuruReviewerClient", "AssociateRepositoryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateRepositoryCommand)
25
+ .de(Aws_restJson1_1.de_AssociateRepositoryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateRepositoryCommand = AssociateRepositoryCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateCodeReviewCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCodeReviewCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "CreateCodeReviewCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "CreateCodeReview",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateCodeReviewCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateCodeReviewCommand)(output, context);
49
- }
10
+ class CreateCodeReviewCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "CreateCodeReview", {})
22
+ .n("CodeGuruReviewerClient", "CreateCodeReviewCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateCodeReviewCommand)
25
+ .de(Aws_restJson1_1.de_CreateCodeReviewCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateCodeReviewCommand = CreateCodeReviewCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeCodeReviewCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeCodeReviewCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "DescribeCodeReviewCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "DescribeCodeReview",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeCodeReviewCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeCodeReviewCommand)(output, context);
49
- }
10
+ class DescribeCodeReviewCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "DescribeCodeReview", {})
22
+ .n("CodeGuruReviewerClient", "DescribeCodeReviewCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeCodeReviewCommand)
25
+ .de(Aws_restJson1_1.de_DescribeCodeReviewCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeCodeReviewCommand = DescribeCodeReviewCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeRecommendationFeedbackCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeRecommendationFeedbackCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "DescribeRecommendationFeedbackCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "DescribeRecommendationFeedback",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeRecommendationFeedbackCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeRecommendationFeedbackCommand)(output, context);
49
- }
10
+ class DescribeRecommendationFeedbackCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "DescribeRecommendationFeedback", {})
22
+ .n("CodeGuruReviewerClient", "DescribeRecommendationFeedbackCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeRecommendationFeedbackCommand)
25
+ .de(Aws_restJson1_1.de_DescribeRecommendationFeedbackCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeRecommendationFeedbackCommand = DescribeRecommendationFeedbackCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DescribeRepositoryAssociationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeRepositoryAssociationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "DescribeRepositoryAssociationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "DescribeRepositoryAssociation",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DescribeRepositoryAssociationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DescribeRepositoryAssociationCommand)(output, context);
49
- }
10
+ class DescribeRepositoryAssociationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "DescribeRepositoryAssociation", {})
22
+ .n("CodeGuruReviewerClient", "DescribeRepositoryAssociationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DescribeRepositoryAssociationCommand)
25
+ .de(Aws_restJson1_1.de_DescribeRepositoryAssociationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeRepositoryAssociationCommand = DescribeRepositoryAssociationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DisassociateRepositoryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisassociateRepositoryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "DisassociateRepositoryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "DisassociateRepository",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DisassociateRepositoryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DisassociateRepositoryCommand)(output, context);
49
- }
10
+ class DisassociateRepositoryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "DisassociateRepository", {})
22
+ .n("CodeGuruReviewerClient", "DisassociateRepositoryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DisassociateRepositoryCommand)
25
+ .de(Aws_restJson1_1.de_DisassociateRepositoryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DisassociateRepositoryCommand = DisassociateRepositoryCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListCodeReviewsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCodeReviewsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "ListCodeReviewsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "ListCodeReviews",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListCodeReviewsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListCodeReviewsCommand)(output, context);
49
- }
10
+ class ListCodeReviewsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "ListCodeReviews", {})
22
+ .n("CodeGuruReviewerClient", "ListCodeReviewsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListCodeReviewsCommand)
25
+ .de(Aws_restJson1_1.de_ListCodeReviewsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListCodeReviewsCommand = ListCodeReviewsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListRecommendationFeedbackCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRecommendationFeedbackCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "ListRecommendationFeedbackCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "ListRecommendationFeedback",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListRecommendationFeedbackCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListRecommendationFeedbackCommand)(output, context);
49
- }
10
+ class ListRecommendationFeedbackCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "ListRecommendationFeedback", {})
22
+ .n("CodeGuruReviewerClient", "ListRecommendationFeedbackCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListRecommendationFeedbackCommand)
25
+ .de(Aws_restJson1_1.de_ListRecommendationFeedbackCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListRecommendationFeedbackCommand = ListRecommendationFeedbackCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListRecommendationsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRecommendationsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CodeGuruReviewerClient";
29
- const commandName = "ListRecommendationsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSGuruFrontendService",
38
- operation: "ListRecommendations",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListRecommendationsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListRecommendationsCommand)(output, context);
49
- }
10
+ class ListRecommendationsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSGuruFrontendService", "ListRecommendations", {})
22
+ .n("CodeGuruReviewerClient", "ListRecommendationsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListRecommendationsCommand)
25
+ .de(Aws_restJson1_1.de_ListRecommendationsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListRecommendationsCommand = ListRecommendationsCommand;