@aws-sdk/client-codeguru-reviewer 3.477.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 (77) 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-cjs/pagination/ListCodeReviewsPaginator.js +2 -24
  17. package/dist-cjs/pagination/ListRecommendationFeedbackPaginator.js +2 -24
  18. package/dist-cjs/pagination/ListRecommendationsPaginator.js +2 -24
  19. package/dist-cjs/pagination/ListRepositoryAssociationsPaginator.js +2 -24
  20. package/dist-es/commands/AssociateRepositoryCommand.js +18 -41
  21. package/dist-es/commands/CreateCodeReviewCommand.js +18 -41
  22. package/dist-es/commands/DescribeCodeReviewCommand.js +18 -41
  23. package/dist-es/commands/DescribeRecommendationFeedbackCommand.js +18 -41
  24. package/dist-es/commands/DescribeRepositoryAssociationCommand.js +18 -41
  25. package/dist-es/commands/DisassociateRepositoryCommand.js +18 -41
  26. package/dist-es/commands/ListCodeReviewsCommand.js +18 -41
  27. package/dist-es/commands/ListRecommendationFeedbackCommand.js +18 -41
  28. package/dist-es/commands/ListRecommendationsCommand.js +18 -41
  29. package/dist-es/commands/ListRepositoryAssociationsCommand.js +18 -41
  30. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-es/commands/PutRecommendationFeedbackCommand.js +18 -41
  32. package/dist-es/commands/TagResourceCommand.js +18 -41
  33. package/dist-es/commands/UntagResourceCommand.js +18 -41
  34. package/dist-es/endpoint/EndpointParameters.js +6 -0
  35. package/dist-es/pagination/ListCodeReviewsPaginator.js +2 -23
  36. package/dist-es/pagination/ListRecommendationFeedbackPaginator.js +2 -23
  37. package/dist-es/pagination/ListRecommendationsPaginator.js +2 -23
  38. package/dist-es/pagination/ListRepositoryAssociationsPaginator.js +2 -23
  39. package/dist-types/commands/AssociateRepositoryCommand.d.ts +6 -21
  40. package/dist-types/commands/CreateCodeReviewCommand.d.ts +6 -21
  41. package/dist-types/commands/DescribeCodeReviewCommand.d.ts +6 -21
  42. package/dist-types/commands/DescribeRecommendationFeedbackCommand.d.ts +6 -21
  43. package/dist-types/commands/DescribeRepositoryAssociationCommand.d.ts +6 -21
  44. package/dist-types/commands/DisassociateRepositoryCommand.d.ts +6 -21
  45. package/dist-types/commands/ListCodeReviewsCommand.d.ts +6 -21
  46. package/dist-types/commands/ListRecommendationFeedbackCommand.d.ts +6 -21
  47. package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
  48. package/dist-types/commands/ListRepositoryAssociationsCommand.d.ts +6 -21
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  50. package/dist-types/commands/PutRecommendationFeedbackCommand.d.ts +6 -21
  51. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  52. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  53. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  54. package/dist-types/pagination/ListCodeReviewsPaginator.d.ts +1 -1
  55. package/dist-types/pagination/ListRecommendationFeedbackPaginator.d.ts +1 -1
  56. package/dist-types/pagination/ListRecommendationsPaginator.d.ts +1 -1
  57. package/dist-types/pagination/ListRepositoryAssociationsPaginator.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/AssociateRepositoryCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/CreateCodeReviewCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/DescribeCodeReviewCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/DescribeRecommendationFeedbackCommand.d.ts +12 -24
  62. package/dist-types/ts3.4/commands/DescribeRepositoryAssociationCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/DisassociateRepositoryCommand.d.ts +12 -24
  64. package/dist-types/ts3.4/commands/ListCodeReviewsCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/commands/ListRecommendationFeedbackCommand.d.ts +12 -24
  66. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/ListRepositoryAssociationsCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/PutRecommendationFeedbackCommand.d.ts +12 -24
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  73. package/dist-types/ts3.4/pagination/ListCodeReviewsPaginator.d.ts +3 -3
  74. package/dist-types/ts3.4/pagination/ListRecommendationFeedbackPaginator.d.ts +3 -3
  75. package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +3 -3
  76. package/dist-types/ts3.4/pagination/ListRepositoryAssociationsPaginator.d.ts +3 -3
  77. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeCodeReviewCommand, se_DescribeCodeReviewCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeCodeReviewCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCodeReviewCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "DescribeCodeReviewCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "DescribeCodeReview",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeCodeReviewCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeCodeReviewCommand(output, context);
46
- }
7
+ export class DescribeCodeReviewCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "DescribeCodeReview", {})
19
+ .n("CodeGuruReviewerClient", "DescribeCodeReviewCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeCodeReviewCommand)
22
+ .de(de_DescribeCodeReviewCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeRecommendationFeedbackCommand, se_DescribeRecommendationFeedbackCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeRecommendationFeedbackCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRecommendationFeedbackCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "DescribeRecommendationFeedbackCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "DescribeRecommendationFeedback",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeRecommendationFeedbackCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeRecommendationFeedbackCommand(output, context);
46
- }
7
+ export class DescribeRecommendationFeedbackCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "DescribeRecommendationFeedback", {})
19
+ .n("CodeGuruReviewerClient", "DescribeRecommendationFeedbackCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeRecommendationFeedbackCommand)
22
+ .de(de_DescribeRecommendationFeedbackCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeRepositoryAssociationCommand, se_DescribeRepositoryAssociationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeRepositoryAssociationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRepositoryAssociationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "DescribeRepositoryAssociationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "DescribeRepositoryAssociation",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeRepositoryAssociationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeRepositoryAssociationCommand(output, context);
46
- }
7
+ export class DescribeRepositoryAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "DescribeRepositoryAssociation", {})
19
+ .n("CodeGuruReviewerClient", "DescribeRepositoryAssociationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeRepositoryAssociationCommand)
22
+ .de(de_DescribeRepositoryAssociationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DisassociateRepositoryCommand, se_DisassociateRepositoryCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DisassociateRepositoryCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateRepositoryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "DisassociateRepositoryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "DisassociateRepository",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DisassociateRepositoryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DisassociateRepositoryCommand(output, context);
46
- }
7
+ export class DisassociateRepositoryCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "DisassociateRepository", {})
19
+ .n("CodeGuruReviewerClient", "DisassociateRepositoryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisassociateRepositoryCommand)
22
+ .de(de_DisassociateRepositoryCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListCodeReviewsCommand, se_ListCodeReviewsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListCodeReviewsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListCodeReviewsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "ListCodeReviewsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "ListCodeReviews",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListCodeReviewsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListCodeReviewsCommand(output, context);
46
- }
7
+ export class ListCodeReviewsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "ListCodeReviews", {})
19
+ .n("CodeGuruReviewerClient", "ListCodeReviewsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListCodeReviewsCommand)
22
+ .de(de_ListCodeReviewsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListRecommendationFeedbackCommand, se_ListRecommendationFeedbackCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRecommendationFeedbackCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListRecommendationFeedbackCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "ListRecommendationFeedbackCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "ListRecommendationFeedback",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListRecommendationFeedbackCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRecommendationFeedbackCommand(output, context);
46
- }
7
+ export class ListRecommendationFeedbackCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "ListRecommendationFeedback", {})
19
+ .n("CodeGuruReviewerClient", "ListRecommendationFeedbackCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRecommendationFeedbackCommand)
22
+ .de(de_ListRecommendationFeedbackCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListRecommendationsCommand, se_ListRecommendationsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRecommendationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListRecommendationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "ListRecommendationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "ListRecommendations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListRecommendationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRecommendationsCommand(output, context);
46
- }
7
+ export class ListRecommendationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "ListRecommendations", {})
19
+ .n("CodeGuruReviewerClient", "ListRecommendationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRecommendationsCommand)
22
+ .de(de_ListRecommendationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListRepositoryAssociationsCommand, se_ListRepositoryAssociationsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRepositoryAssociationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListRepositoryAssociationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "ListRepositoryAssociationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "ListRepositoryAssociations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListRepositoryAssociationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRepositoryAssociationsCommand(output, context);
46
- }
7
+ export class ListRepositoryAssociationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "ListRepositoryAssociations", {})
19
+ .n("CodeGuruReviewerClient", "ListRepositoryAssociationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRepositoryAssociationsCommand)
22
+ .de(de_ListRepositoryAssociationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeGuruReviewerClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGuruFrontendService",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGuruFrontendService", "ListTagsForResource", {})
19
+ .n("CodeGuruReviewerClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }