@aws-sdk/client-amp 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 (44) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +5 -0
  3. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +5 -0
  4. package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +5 -0
  5. package/dist-cjs/commands/CreateWorkspaceCommand.js +5 -0
  6. package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteWorkspaceCommand.js +5 -0
  10. package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +5 -0
  11. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +5 -0
  12. package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +5 -0
  13. package/dist-cjs/commands/DescribeWorkspaceCommand.js +5 -0
  14. package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +5 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  16. package/dist-cjs/commands/ListWorkspacesCommand.js +5 -0
  17. package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +5 -0
  18. package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +5 -0
  19. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  20. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  21. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +5 -0
  22. package/dist-cjs/commands/UpdateWorkspaceAliasCommand.js +5 -0
  23. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +5 -0
  24. package/dist-es/commands/CreateLoggingConfigurationCommand.js +5 -0
  25. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +5 -0
  26. package/dist-es/commands/CreateWorkspaceCommand.js +5 -0
  27. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +5 -0
  28. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +5 -0
  29. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +5 -0
  30. package/dist-es/commands/DeleteWorkspaceCommand.js +5 -0
  31. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +5 -0
  32. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +5 -0
  33. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +5 -0
  34. package/dist-es/commands/DescribeWorkspaceCommand.js +5 -0
  35. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +5 -0
  36. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  37. package/dist-es/commands/ListWorkspacesCommand.js +5 -0
  38. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +5 -0
  39. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +5 -0
  40. package/dist-es/commands/TagResourceCommand.js +5 -0
  41. package/dist-es/commands/UntagResourceCommand.js +5 -0
  42. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +5 -0
  43. package/dist-es/commands/UpdateWorkspaceAliasCommand.js +5 -0
  44. package/package.json +32 -32
package/README.md CHANGED
@@ -23,16 +23,16 @@ using your favorite package manager:
23
23
 
24
24
  The AWS SDK is modulized by clients and commands.
25
25
  To send a request, you only need to import the `AmpClient` and
26
- the commands you need, for example `CreateAlertManagerDefinitionCommand`:
26
+ the commands you need, for example `ListWorkspacesCommand`:
27
27
 
28
28
  ```js
29
29
  // ES5 example
30
- const { AmpClient, CreateAlertManagerDefinitionCommand } = require("@aws-sdk/client-amp");
30
+ const { AmpClient, ListWorkspacesCommand } = require("@aws-sdk/client-amp");
31
31
  ```
32
32
 
33
33
  ```ts
34
34
  // ES6+ example
35
- import { AmpClient, CreateAlertManagerDefinitionCommand } from "@aws-sdk/client-amp";
35
+ import { AmpClient, ListWorkspacesCommand } from "@aws-sdk/client-amp";
36
36
  ```
37
37
 
38
38
  ### Usage
@@ -51,7 +51,7 @@ const client = new AmpClient({ region: "REGION" });
51
51
  const params = {
52
52
  /** input parameters */
53
53
  };
54
- const command = new CreateAlertManagerDefinitionCommand(params);
54
+ const command = new ListWorkspacesCommand(params);
55
55
  ```
56
56
 
57
57
  #### Async/await
@@ -130,7 +130,7 @@ const client = new AWS.Amp({ region: "REGION" });
130
130
 
131
131
  // async/await.
132
132
  try {
133
- const data = await client.createAlertManagerDefinition(params);
133
+ const data = await client.listWorkspaces(params);
134
134
  // process data.
135
135
  } catch (error) {
136
136
  // error handling.
@@ -138,7 +138,7 @@ try {
138
138
 
139
139
  // Promises.
140
140
  client
141
- .createAlertManagerDefinition(params)
141
+ .listWorkspaces(params)
142
142
  .then((data) => {
143
143
  // process data.
144
144
  })
@@ -147,7 +147,7 @@ client
147
147
  });
148
148
 
149
149
  // callbacks.
150
- client.createAlertManagerDefinition(params, (err, data) => {
150
+ client.listWorkspaces(params, (err, data) => {
151
151
  // process err and data.
152
152
  });
153
153
  ```
@@ -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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateAlertManagerDefinitionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateAlertManagerDefinitionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "CreateAlertManagerDefinition",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateLoggingConfigurationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateLoggingConfigurationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "CreateLoggingConfiguration",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateRuleGroupsNamespaceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateRuleGroupsNamespaceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "CreateRuleGroupsNamespace",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateWorkspaceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateWorkspaceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "CreateWorkspace",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteAlertManagerDefinitionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteAlertManagerDefinitionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DeleteAlertManagerDefinition",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteLoggingConfigurationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteLoggingConfigurationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DeleteLoggingConfiguration",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteRuleGroupsNamespaceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteRuleGroupsNamespaceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DeleteRuleGroupsNamespace",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteWorkspaceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteWorkspaceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DeleteWorkspace",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribeAlertManagerDefinitionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeAlertManagerDefinitionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DescribeAlertManagerDefinition",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribeLoggingConfigurationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeLoggingConfigurationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DescribeLoggingConfiguration",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribeRuleGroupsNamespaceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeRuleGroupsNamespaceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DescribeRuleGroupsNamespace",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DescribeWorkspaceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DescribeWorkspaceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "DescribeWorkspace",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ListRuleGroupsNamespacesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListRuleGroupsNamespacesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "ListRuleGroupsNamespaces",
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_restJson1_1 = require("../protocols/Aws_restJson1");
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: "AmazonPrometheusService",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ListWorkspacesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListWorkspacesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "ListWorkspaces",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class PutAlertManagerDefinitionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutAlertManagerDefinitionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "PutAlertManagerDefinition",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class PutRuleGroupsNamespaceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PutRuleGroupsNamespaceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "PutRuleGroupsNamespace",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class TagResourceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class TagResourceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "TagResource",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class UntagResourceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "UntagResource",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class UpdateLoggingConfigurationCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UpdateLoggingConfigurationCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "UpdateLoggingConfiguration",
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_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class UpdateWorkspaceAliasCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UpdateWorkspaceAliasCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPrometheusService",
38
+ operation: "UpdateWorkspaceAlias",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_CreateAlertManagerDefinitionCommand, se_CreateAlertManagerDefinitionCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateAlertManagerDefinitionCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateAlertManagerDefinitionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "CreateAlertManagerDefinition",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_CreateLoggingConfigurationCommand, se_CreateLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateLoggingConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateLoggingConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "CreateLoggingConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_CreateRuleGroupsNamespaceCommand, se_CreateRuleGroupsNamespaceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateRuleGroupsNamespaceCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateRuleGroupsNamespaceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "CreateRuleGroupsNamespace",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_CreateWorkspaceCommand, se_CreateWorkspaceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateWorkspaceCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateWorkspaceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "CreateWorkspace",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DeleteAlertManagerDefinitionCommand, se_DeleteAlertManagerDefinitionCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteAlertManagerDefinitionCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteAlertManagerDefinitionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DeleteAlertManagerDefinition",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DeleteLoggingConfigurationCommand, se_DeleteLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteLoggingConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteLoggingConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DeleteLoggingConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DeleteRuleGroupsNamespaceCommand, se_DeleteRuleGroupsNamespaceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteRuleGroupsNamespaceCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteRuleGroupsNamespaceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DeleteRuleGroupsNamespace",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DeleteWorkspaceCommand, se_DeleteWorkspaceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteWorkspaceCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteWorkspaceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DeleteWorkspace",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DescribeAlertManagerDefinitionCommand, se_DescribeAlertManagerDefinitionCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DescribeAlertManagerDefinitionCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeAlertManagerDefinitionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DescribeAlertManagerDefinition",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DescribeLoggingConfigurationCommand, se_DescribeLoggingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DescribeLoggingConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeLoggingConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DescribeLoggingConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DescribeRuleGroupsNamespaceCommand, se_DescribeRuleGroupsNamespaceCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DescribeRuleGroupsNamespaceCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeRuleGroupsNamespaceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DescribeRuleGroupsNamespace",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_DescribeWorkspaceCommand, se_DescribeWorkspaceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DescribeWorkspaceCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeWorkspaceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "DescribeWorkspace",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_ListRuleGroupsNamespacesCommand, se_ListRuleGroupsNamespacesCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListRuleGroupsNamespacesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListRuleGroupsNamespacesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "ListRuleGroupsNamespaces",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListTagsForResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "ListTagsForResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_ListWorkspacesCommand, se_ListWorkspacesCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListWorkspacesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListWorkspacesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "ListWorkspaces",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_PutAlertManagerDefinitionCommand, se_PutAlertManagerDefinitionCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class PutAlertManagerDefinitionCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutAlertManagerDefinitionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "PutAlertManagerDefinition",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_PutRuleGroupsNamespaceCommand, se_PutRuleGroupsNamespaceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class PutRuleGroupsNamespaceCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutRuleGroupsNamespaceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "PutRuleGroupsNamespace",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_UpdateLoggingConfigurationCommand, se_UpdateLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateLoggingConfigurationCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateLoggingConfigurationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "UpdateLoggingConfiguration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
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
5
  import { de_UpdateWorkspaceAliasCommand, se_UpdateWorkspaceAliasCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateWorkspaceAliasCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateWorkspaceAliasCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPrometheusService",
35
+ operation: "UpdateWorkspaceAlias",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
3
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
4
- "version": "3.414.0",
4
+ "version": "3.421.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.414.0",
25
- "@aws-sdk/credential-provider-node": "3.414.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/region-config-resolver": "3.413.0",
32
- "@aws-sdk/types": "3.413.0",
33
- "@aws-sdk/util-endpoints": "3.413.0",
34
- "@aws-sdk/util-user-agent-browser": "3.413.0",
35
- "@aws-sdk/util-user-agent-node": "3.413.0",
36
- "@smithy/config-resolver": "^2.0.8",
37
- "@smithy/fetch-http-handler": "^2.1.3",
38
- "@smithy/hash-node": "^2.0.7",
39
- "@smithy/invalid-dependency": "^2.0.7",
40
- "@smithy/middleware-content-length": "^2.0.9",
41
- "@smithy/middleware-endpoint": "^2.0.7",
42
- "@smithy/middleware-retry": "^2.0.10",
43
- "@smithy/middleware-serde": "^2.0.7",
44
- "@smithy/middleware-stack": "^2.0.0",
45
- "@smithy/node-config-provider": "^2.0.10",
46
- "@smithy/node-http-handler": "^2.1.3",
47
- "@smithy/protocol-http": "^3.0.3",
48
- "@smithy/smithy-client": "^2.1.4",
49
- "@smithy/types": "^2.3.1",
50
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.8",
55
- "@smithy/util-defaults-mode-node": "^2.0.10",
56
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.7",
58
+ "@smithy/util-waiter": "^2.0.9",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"
61
61
  },