@aws-sdk/client-devops-guru 3.478.0 → 3.484.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 (129) hide show
  1. package/dist-cjs/commands/AddNotificationChannelCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteInsightCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeAccountHealthCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeAccountOverviewCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeAnomalyCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeFeedbackCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeInsightCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +18 -41
  14. package/dist-cjs/commands/GetCostEstimationCommand.js +18 -41
  15. package/dist-cjs/commands/GetResourceCollectionCommand.js +18 -41
  16. package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +18 -41
  17. package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +18 -41
  18. package/dist-cjs/commands/ListEventsCommand.js +18 -41
  19. package/dist-cjs/commands/ListInsightsCommand.js +18 -41
  20. package/dist-cjs/commands/ListMonitoredResourcesCommand.js +18 -41
  21. package/dist-cjs/commands/ListNotificationChannelsCommand.js +18 -41
  22. package/dist-cjs/commands/ListOrganizationInsightsCommand.js +18 -41
  23. package/dist-cjs/commands/ListRecommendationsCommand.js +18 -41
  24. package/dist-cjs/commands/PutFeedbackCommand.js +18 -41
  25. package/dist-cjs/commands/RemoveNotificationChannelCommand.js +18 -41
  26. package/dist-cjs/commands/SearchInsightsCommand.js +18 -41
  27. package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +18 -41
  28. package/dist-cjs/commands/StartCostEstimationCommand.js +18 -41
  29. package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +18 -41
  30. package/dist-cjs/commands/UpdateResourceCollectionCommand.js +18 -41
  31. package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +18 -41
  32. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  33. package/dist-es/commands/AddNotificationChannelCommand.js +18 -41
  34. package/dist-es/commands/DeleteInsightCommand.js +18 -41
  35. package/dist-es/commands/DescribeAccountHealthCommand.js +18 -41
  36. package/dist-es/commands/DescribeAccountOverviewCommand.js +18 -41
  37. package/dist-es/commands/DescribeAnomalyCommand.js +18 -41
  38. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +18 -41
  39. package/dist-es/commands/DescribeFeedbackCommand.js +18 -41
  40. package/dist-es/commands/DescribeInsightCommand.js +18 -41
  41. package/dist-es/commands/DescribeOrganizationHealthCommand.js +18 -41
  42. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +18 -41
  43. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +18 -41
  44. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +18 -41
  45. package/dist-es/commands/DescribeServiceIntegrationCommand.js +18 -41
  46. package/dist-es/commands/GetCostEstimationCommand.js +18 -41
  47. package/dist-es/commands/GetResourceCollectionCommand.js +18 -41
  48. package/dist-es/commands/ListAnomaliesForInsightCommand.js +18 -41
  49. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +18 -41
  50. package/dist-es/commands/ListEventsCommand.js +18 -41
  51. package/dist-es/commands/ListInsightsCommand.js +18 -41
  52. package/dist-es/commands/ListMonitoredResourcesCommand.js +18 -41
  53. package/dist-es/commands/ListNotificationChannelsCommand.js +18 -41
  54. package/dist-es/commands/ListOrganizationInsightsCommand.js +18 -41
  55. package/dist-es/commands/ListRecommendationsCommand.js +18 -41
  56. package/dist-es/commands/PutFeedbackCommand.js +18 -41
  57. package/dist-es/commands/RemoveNotificationChannelCommand.js +18 -41
  58. package/dist-es/commands/SearchInsightsCommand.js +18 -41
  59. package/dist-es/commands/SearchOrganizationInsightsCommand.js +18 -41
  60. package/dist-es/commands/StartCostEstimationCommand.js +18 -41
  61. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +18 -41
  62. package/dist-es/commands/UpdateResourceCollectionCommand.js +18 -41
  63. package/dist-es/commands/UpdateServiceIntegrationCommand.js +18 -41
  64. package/dist-es/endpoint/EndpointParameters.js +6 -0
  65. package/dist-types/commands/AddNotificationChannelCommand.d.ts +6 -21
  66. package/dist-types/commands/DeleteInsightCommand.d.ts +6 -21
  67. package/dist-types/commands/DescribeAccountHealthCommand.d.ts +6 -21
  68. package/dist-types/commands/DescribeAccountOverviewCommand.d.ts +6 -21
  69. package/dist-types/commands/DescribeAnomalyCommand.d.ts +6 -21
  70. package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +6 -21
  71. package/dist-types/commands/DescribeFeedbackCommand.d.ts +6 -21
  72. package/dist-types/commands/DescribeInsightCommand.d.ts +6 -21
  73. package/dist-types/commands/DescribeOrganizationHealthCommand.d.ts +6 -21
  74. package/dist-types/commands/DescribeOrganizationOverviewCommand.d.ts +6 -21
  75. package/dist-types/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +6 -21
  76. package/dist-types/commands/DescribeResourceCollectionHealthCommand.d.ts +6 -21
  77. package/dist-types/commands/DescribeServiceIntegrationCommand.d.ts +6 -21
  78. package/dist-types/commands/GetCostEstimationCommand.d.ts +6 -21
  79. package/dist-types/commands/GetResourceCollectionCommand.d.ts +6 -21
  80. package/dist-types/commands/ListAnomaliesForInsightCommand.d.ts +6 -21
  81. package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +6 -21
  82. package/dist-types/commands/ListEventsCommand.d.ts +6 -21
  83. package/dist-types/commands/ListInsightsCommand.d.ts +6 -21
  84. package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +6 -21
  85. package/dist-types/commands/ListNotificationChannelsCommand.d.ts +6 -21
  86. package/dist-types/commands/ListOrganizationInsightsCommand.d.ts +6 -21
  87. package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
  88. package/dist-types/commands/PutFeedbackCommand.d.ts +6 -21
  89. package/dist-types/commands/RemoveNotificationChannelCommand.d.ts +6 -21
  90. package/dist-types/commands/SearchInsightsCommand.d.ts +6 -21
  91. package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +6 -21
  92. package/dist-types/commands/StartCostEstimationCommand.d.ts +6 -21
  93. package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +6 -21
  94. package/dist-types/commands/UpdateResourceCollectionCommand.d.ts +6 -21
  95. package/dist-types/commands/UpdateServiceIntegrationCommand.d.ts +6 -21
  96. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  97. package/dist-types/ts3.4/commands/AddNotificationChannelCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/DescribeAccountHealthCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/DescribeAccountOverviewCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/DescribeAnomalyCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/DescribeFeedbackCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DescribeOrganizationHealthCommand.d.ts +12 -24
  106. package/dist-types/ts3.4/commands/DescribeOrganizationOverviewCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/commands/DescribeResourceCollectionHealthCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/DescribeServiceIntegrationCommand.d.ts +12 -24
  110. package/dist-types/ts3.4/commands/GetCostEstimationCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/GetResourceCollectionCommand.d.ts +12 -24
  112. package/dist-types/ts3.4/commands/ListAnomaliesForInsightCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +12 -24
  114. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.d.ts +12 -24
  117. package/dist-types/ts3.4/commands/ListNotificationChannelsCommand.d.ts +12 -24
  118. package/dist-types/ts3.4/commands/ListOrganizationInsightsCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/SearchInsightsCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/SearchOrganizationInsightsCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/StartCostEstimationCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/UpdateResourceCollectionCommand.d.ts +12 -24
  127. package/dist-types/ts3.4/commands/UpdateServiceIntegrationCommand.d.ts +12 -24
  128. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  129. package/package.json +11 -11
@@ -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 StartCostEstimationCommand 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, StartCostEstimationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DevOpsGuruClient";
29
- const commandName = "StartCostEstimationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CapstoneControlPlaneService",
38
- operation: "StartCostEstimation",
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_StartCostEstimationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_StartCostEstimationCommand)(output, context);
49
- }
10
+ class StartCostEstimationCommand 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("CapstoneControlPlaneService", "StartCostEstimation", {})
22
+ .n("DevOpsGuruClient", "StartCostEstimationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_StartCostEstimationCommand)
25
+ .de(Aws_restJson1_1.de_StartCostEstimationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.StartCostEstimationCommand = StartCostEstimationCommand;
@@ -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 UpdateEventSourcesConfigCommand 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, UpdateEventSourcesConfigCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DevOpsGuruClient";
29
- const commandName = "UpdateEventSourcesConfigCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CapstoneControlPlaneService",
38
- operation: "UpdateEventSourcesConfig",
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_UpdateEventSourcesConfigCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateEventSourcesConfigCommand)(output, context);
49
- }
10
+ class UpdateEventSourcesConfigCommand 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("CapstoneControlPlaneService", "UpdateEventSourcesConfig", {})
22
+ .n("DevOpsGuruClient", "UpdateEventSourcesConfigCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateEventSourcesConfigCommand)
25
+ .de(Aws_restJson1_1.de_UpdateEventSourcesConfigCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateEventSourcesConfigCommand = UpdateEventSourcesConfigCommand;
@@ -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 UpdateResourceCollectionCommand 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, UpdateResourceCollectionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DevOpsGuruClient";
29
- const commandName = "UpdateResourceCollectionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CapstoneControlPlaneService",
38
- operation: "UpdateResourceCollection",
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_UpdateResourceCollectionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateResourceCollectionCommand)(output, context);
49
- }
10
+ class UpdateResourceCollectionCommand 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("CapstoneControlPlaneService", "UpdateResourceCollection", {})
22
+ .n("DevOpsGuruClient", "UpdateResourceCollectionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateResourceCollectionCommand)
25
+ .de(Aws_restJson1_1.de_UpdateResourceCollectionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateResourceCollectionCommand = UpdateResourceCollectionCommand;
@@ -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 UpdateServiceIntegrationCommand 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, UpdateServiceIntegrationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DevOpsGuruClient";
29
- const commandName = "UpdateServiceIntegrationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CapstoneControlPlaneService",
38
- operation: "UpdateServiceIntegration",
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_UpdateServiceIntegrationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateServiceIntegrationCommand)(output, context);
49
- }
10
+ class UpdateServiceIntegrationCommand 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("CapstoneControlPlaneService", "UpdateServiceIntegration", {})
22
+ .n("DevOpsGuruClient", "UpdateServiceIntegrationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateServiceIntegrationCommand)
25
+ .de(Aws_restJson1_1.de_UpdateServiceIntegrationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateServiceIntegrationCommand = UpdateServiceIntegrationCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -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_AddNotificationChannelCommand, se_AddNotificationChannelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class AddNotificationChannelCommand 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, AddNotificationChannelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DevOpsGuruClient";
26
- const commandName = "AddNotificationChannelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CapstoneControlPlaneService",
35
- operation: "AddNotificationChannel",
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_AddNotificationChannelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddNotificationChannelCommand(output, context);
46
- }
7
+ export class AddNotificationChannelCommand 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("CapstoneControlPlaneService", "AddNotificationChannel", {})
19
+ .n("DevOpsGuruClient", "AddNotificationChannelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddNotificationChannelCommand)
22
+ .de(de_AddNotificationChannelCommand)
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_DeleteInsightCommand, se_DeleteInsightCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteInsightCommand 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, DeleteInsightCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DevOpsGuruClient";
26
- const commandName = "DeleteInsightCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CapstoneControlPlaneService",
35
- operation: "DeleteInsight",
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_DeleteInsightCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteInsightCommand(output, context);
46
- }
7
+ export class DeleteInsightCommand 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("CapstoneControlPlaneService", "DeleteInsight", {})
19
+ .n("DevOpsGuruClient", "DeleteInsightCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteInsightCommand)
22
+ .de(de_DeleteInsightCommand)
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_DescribeAccountHealthCommand, se_DescribeAccountHealthCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeAccountHealthCommand 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, DescribeAccountHealthCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DevOpsGuruClient";
26
- const commandName = "DescribeAccountHealthCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CapstoneControlPlaneService",
35
- operation: "DescribeAccountHealth",
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_DescribeAccountHealthCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAccountHealthCommand(output, context);
46
- }
7
+ export class DescribeAccountHealthCommand 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("CapstoneControlPlaneService", "DescribeAccountHealth", {})
19
+ .n("DevOpsGuruClient", "DescribeAccountHealthCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAccountHealthCommand)
22
+ .de(de_DescribeAccountHealthCommand)
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_DescribeAccountOverviewCommand, se_DescribeAccountOverviewCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeAccountOverviewCommand 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, DescribeAccountOverviewCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DevOpsGuruClient";
26
- const commandName = "DescribeAccountOverviewCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CapstoneControlPlaneService",
35
- operation: "DescribeAccountOverview",
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_DescribeAccountOverviewCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAccountOverviewCommand(output, context);
46
- }
7
+ export class DescribeAccountOverviewCommand 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("CapstoneControlPlaneService", "DescribeAccountOverview", {})
19
+ .n("DevOpsGuruClient", "DescribeAccountOverviewCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAccountOverviewCommand)
22
+ .de(de_DescribeAccountOverviewCommand)
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_DescribeAnomalyCommand, se_DescribeAnomalyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeAnomalyCommand 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, DescribeAnomalyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DevOpsGuruClient";
26
- const commandName = "DescribeAnomalyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CapstoneControlPlaneService",
35
- operation: "DescribeAnomaly",
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_DescribeAnomalyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAnomalyCommand(output, context);
46
- }
7
+ export class DescribeAnomalyCommand 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("CapstoneControlPlaneService", "DescribeAnomaly", {})
19
+ .n("DevOpsGuruClient", "DescribeAnomalyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAnomalyCommand)
22
+ .de(de_DescribeAnomalyCommand)
23
+ .build() {
47
24
  }