@aws-sdk/client-cloudwatch 3.414.0 → 3.421.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 (78) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/DeleteAlarmsCommand.js +5 -0
  3. package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +5 -0
  4. package/dist-cjs/commands/DeleteDashboardsCommand.js +5 -0
  5. package/dist-cjs/commands/DeleteInsightRulesCommand.js +5 -0
  6. package/dist-cjs/commands/DeleteMetricStreamCommand.js +5 -0
  7. package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +5 -0
  8. package/dist-cjs/commands/DescribeAlarmsCommand.js +5 -0
  9. package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +5 -0
  10. package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +5 -0
  11. package/dist-cjs/commands/DescribeInsightRulesCommand.js +5 -0
  12. package/dist-cjs/commands/DisableAlarmActionsCommand.js +5 -0
  13. package/dist-cjs/commands/DisableInsightRulesCommand.js +5 -0
  14. package/dist-cjs/commands/EnableAlarmActionsCommand.js +5 -0
  15. package/dist-cjs/commands/EnableInsightRulesCommand.js +5 -0
  16. package/dist-cjs/commands/GetDashboardCommand.js +5 -0
  17. package/dist-cjs/commands/GetInsightRuleReportCommand.js +5 -0
  18. package/dist-cjs/commands/GetMetricDataCommand.js +5 -0
  19. package/dist-cjs/commands/GetMetricStatisticsCommand.js +5 -0
  20. package/dist-cjs/commands/GetMetricStreamCommand.js +5 -0
  21. package/dist-cjs/commands/GetMetricWidgetImageCommand.js +5 -0
  22. package/dist-cjs/commands/ListDashboardsCommand.js +5 -0
  23. package/dist-cjs/commands/ListManagedInsightRulesCommand.js +5 -0
  24. package/dist-cjs/commands/ListMetricStreamsCommand.js +5 -0
  25. package/dist-cjs/commands/ListMetricsCommand.js +5 -0
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  27. package/dist-cjs/commands/PutAnomalyDetectorCommand.js +5 -0
  28. package/dist-cjs/commands/PutCompositeAlarmCommand.js +5 -0
  29. package/dist-cjs/commands/PutDashboardCommand.js +5 -0
  30. package/dist-cjs/commands/PutInsightRuleCommand.js +5 -0
  31. package/dist-cjs/commands/PutManagedInsightRulesCommand.js +5 -0
  32. package/dist-cjs/commands/PutMetricAlarmCommand.js +5 -0
  33. package/dist-cjs/commands/PutMetricDataCommand.js +5 -0
  34. package/dist-cjs/commands/PutMetricStreamCommand.js +5 -0
  35. package/dist-cjs/commands/SetAlarmStateCommand.js +5 -0
  36. package/dist-cjs/commands/StartMetricStreamsCommand.js +5 -0
  37. package/dist-cjs/commands/StopMetricStreamsCommand.js +5 -0
  38. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  39. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  40. package/dist-es/commands/DeleteAlarmsCommand.js +5 -0
  41. package/dist-es/commands/DeleteAnomalyDetectorCommand.js +5 -0
  42. package/dist-es/commands/DeleteDashboardsCommand.js +5 -0
  43. package/dist-es/commands/DeleteInsightRulesCommand.js +5 -0
  44. package/dist-es/commands/DeleteMetricStreamCommand.js +5 -0
  45. package/dist-es/commands/DescribeAlarmHistoryCommand.js +5 -0
  46. package/dist-es/commands/DescribeAlarmsCommand.js +5 -0
  47. package/dist-es/commands/DescribeAlarmsForMetricCommand.js +5 -0
  48. package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +5 -0
  49. package/dist-es/commands/DescribeInsightRulesCommand.js +5 -0
  50. package/dist-es/commands/DisableAlarmActionsCommand.js +5 -0
  51. package/dist-es/commands/DisableInsightRulesCommand.js +5 -0
  52. package/dist-es/commands/EnableAlarmActionsCommand.js +5 -0
  53. package/dist-es/commands/EnableInsightRulesCommand.js +5 -0
  54. package/dist-es/commands/GetDashboardCommand.js +5 -0
  55. package/dist-es/commands/GetInsightRuleReportCommand.js +5 -0
  56. package/dist-es/commands/GetMetricDataCommand.js +5 -0
  57. package/dist-es/commands/GetMetricStatisticsCommand.js +5 -0
  58. package/dist-es/commands/GetMetricStreamCommand.js +5 -0
  59. package/dist-es/commands/GetMetricWidgetImageCommand.js +5 -0
  60. package/dist-es/commands/ListDashboardsCommand.js +5 -0
  61. package/dist-es/commands/ListManagedInsightRulesCommand.js +5 -0
  62. package/dist-es/commands/ListMetricStreamsCommand.js +5 -0
  63. package/dist-es/commands/ListMetricsCommand.js +5 -0
  64. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  65. package/dist-es/commands/PutAnomalyDetectorCommand.js +5 -0
  66. package/dist-es/commands/PutCompositeAlarmCommand.js +5 -0
  67. package/dist-es/commands/PutDashboardCommand.js +5 -0
  68. package/dist-es/commands/PutInsightRuleCommand.js +5 -0
  69. package/dist-es/commands/PutManagedInsightRulesCommand.js +5 -0
  70. package/dist-es/commands/PutMetricAlarmCommand.js +5 -0
  71. package/dist-es/commands/PutMetricDataCommand.js +5 -0
  72. package/dist-es/commands/PutMetricStreamCommand.js +5 -0
  73. package/dist-es/commands/SetAlarmStateCommand.js +5 -0
  74. package/dist-es/commands/StartMetricStreamsCommand.js +5 -0
  75. package/dist-es/commands/StopMetricStreamsCommand.js +5 -0
  76. package/dist-es/commands/TagResourceCommand.js +5 -0
  77. package/dist-es/commands/UntagResourceCommand.js +5 -0
  78. package/package.json +32 -32
package/README.md CHANGED
@@ -35,16 +35,16 @@ using your favorite package manager:
35
35
 
36
36
  The AWS SDK is modulized by clients and commands.
37
37
  To send a request, you only need to import the `CloudWatchClient` and
38
- the commands you need, for example `DeleteAlarmsCommand`:
38
+ the commands you need, for example `ListMetricsCommand`:
39
39
 
40
40
  ```js
41
41
  // ES5 example
42
- const { CloudWatchClient, DeleteAlarmsCommand } = require("@aws-sdk/client-cloudwatch");
42
+ const { CloudWatchClient, ListMetricsCommand } = require("@aws-sdk/client-cloudwatch");
43
43
  ```
44
44
 
45
45
  ```ts
46
46
  // ES6+ example
47
- import { CloudWatchClient, DeleteAlarmsCommand } from "@aws-sdk/client-cloudwatch";
47
+ import { CloudWatchClient, ListMetricsCommand } from "@aws-sdk/client-cloudwatch";
48
48
  ```
49
49
 
50
50
  ### Usage
@@ -63,7 +63,7 @@ const client = new CloudWatchClient({ region: "REGION" });
63
63
  const params = {
64
64
  /** input parameters */
65
65
  };
66
- const command = new DeleteAlarmsCommand(params);
66
+ const command = new ListMetricsCommand(params);
67
67
  ```
68
68
 
69
69
  #### Async/await
@@ -142,7 +142,7 @@ const client = new AWS.CloudWatch({ region: "REGION" });
142
142
 
143
143
  // async/await.
144
144
  try {
145
- const data = await client.deleteAlarms(params);
145
+ const data = await client.listMetrics(params);
146
146
  // process data.
147
147
  } catch (error) {
148
148
  // error handling.
@@ -150,7 +150,7 @@ try {
150
150
 
151
151
  // Promises.
152
152
  client
153
- .deleteAlarms(params)
153
+ .listMetrics(params)
154
154
  .then((data) => {
155
155
  // process data.
156
156
  })
@@ -159,7 +159,7 @@ client
159
159
  });
160
160
 
161
161
  // callbacks.
162
- client.deleteAlarms(params, (err, data) => {
162
+ client.listMetrics(params, (err, data) => {
163
163
  // process err and data.
164
164
  });
165
165
  ```
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteAlarmsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteAlarmsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DeleteAlarms",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteAnomalyDetectorCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteAnomalyDetectorCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DeleteAnomalyDetector",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteDashboardsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteDashboardsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DeleteDashboards",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteInsightRulesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteInsightRulesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DeleteInsightRules",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteMetricStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteMetricStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DeleteMetricStream",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DescribeAlarmHistoryCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeAlarmHistoryCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DescribeAlarmHistory",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DescribeAlarmsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeAlarmsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DescribeAlarms",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DescribeAlarmsForMetricCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeAlarmsForMetricCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DescribeAlarmsForMetric",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DescribeAnomalyDetectorsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeAnomalyDetectorsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DescribeAnomalyDetectors",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DescribeInsightRulesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeInsightRulesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DescribeInsightRules",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DisableAlarmActionsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisableAlarmActionsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DisableAlarmActions",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DisableInsightRulesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DisableInsightRulesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "DisableInsightRules",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class EnableAlarmActionsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class EnableAlarmActionsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "EnableAlarmActions",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class EnableInsightRulesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class EnableInsightRulesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "EnableInsightRules",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetDashboardCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetDashboardCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "GetDashboard",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetInsightRuleReportCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetInsightRuleReportCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "GetInsightRuleReport",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetMetricDataCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetMetricDataCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "GetMetricData",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetMetricStatisticsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetMetricStatisticsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "GetMetricStatistics",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetMetricStreamCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetMetricStreamCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "GetMetricStream",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetMetricWidgetImageCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetMetricWidgetImageCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "GetMetricWidgetImage",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListDashboardsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListDashboardsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "ListDashboards",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListManagedInsightRulesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListManagedInsightRulesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "ListManagedInsightRules",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListMetricStreamsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListMetricStreamsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "ListMetricStreams",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListMetricsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListMetricsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "ListMetrics",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListTagsForResourceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "ListTagsForResource",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class PutAnomalyDetectorCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutAnomalyDetectorCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "PutAnomalyDetector",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class PutCompositeAlarmCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutCompositeAlarmCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "PutCompositeAlarm",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class PutDashboardCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutDashboardCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "PutDashboard",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ 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
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class PutInsightRuleCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutInsightRuleCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "GraniteServiceVersion20100801",
38
+ operation: "PutInsightRule",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);