@aws-sdk/client-amp 3.337.0 → 3.338.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 (97) hide show
  1. package/dist-cjs/AmpClient.js +2 -1
  2. package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +2 -1
  3. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +2 -1
  4. package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +2 -1
  5. package/dist-cjs/commands/CreateWorkspaceCommand.js +2 -1
  6. package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +2 -1
  7. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +2 -1
  8. package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +2 -1
  9. package/dist-cjs/commands/DeleteWorkspaceCommand.js +2 -1
  10. package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +2 -1
  12. package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +2 -1
  13. package/dist-cjs/commands/DescribeWorkspaceCommand.js +2 -1
  14. package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +2 -1
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  16. package/dist-cjs/commands/ListWorkspacesCommand.js +2 -1
  17. package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +2 -1
  18. package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +2 -1
  19. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  20. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  21. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +2 -1
  22. package/dist-cjs/commands/UpdateWorkspaceAliasCommand.js +2 -1
  23. package/dist-cjs/index.js +2 -2
  24. package/dist-cjs/models/AmpServiceException.js +2 -1
  25. package/dist-es/AmpClient.js +1 -0
  26. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +1 -0
  27. package/dist-es/commands/CreateLoggingConfigurationCommand.js +1 -0
  28. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +1 -0
  29. package/dist-es/commands/CreateWorkspaceCommand.js +1 -0
  30. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +1 -0
  31. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +1 -0
  32. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +1 -0
  33. package/dist-es/commands/DeleteWorkspaceCommand.js +1 -0
  34. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +1 -0
  35. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +1 -0
  36. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +1 -0
  37. package/dist-es/commands/DescribeWorkspaceCommand.js +1 -0
  38. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +1 -0
  39. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  40. package/dist-es/commands/ListWorkspacesCommand.js +1 -0
  41. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +1 -0
  42. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +1 -0
  43. package/dist-es/commands/TagResourceCommand.js +1 -0
  44. package/dist-es/commands/UntagResourceCommand.js +1 -0
  45. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +1 -0
  46. package/dist-es/commands/UpdateWorkspaceAliasCommand.js +1 -0
  47. package/dist-es/index.js +2 -2
  48. package/dist-es/models/AmpServiceException.js +1 -0
  49. package/dist-types/AmpClient.d.ts +3 -3
  50. package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +4 -0
  51. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +4 -0
  52. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +4 -0
  53. package/dist-types/commands/CreateWorkspaceCommand.d.ts +4 -0
  54. package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +4 -0
  55. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
  56. package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +4 -0
  57. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +4 -0
  58. package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +4 -0
  59. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +4 -0
  60. package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +4 -0
  61. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +4 -0
  62. package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +4 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  64. package/dist-types/commands/ListWorkspacesCommand.d.ts +4 -0
  65. package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +4 -0
  66. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +4 -0
  67. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  68. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  69. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +4 -0
  71. package/dist-types/index.d.ts +7 -2
  72. package/dist-types/models/AmpServiceException.d.ts +1 -0
  73. package/dist-types/ts3.4/AmpClient.d.ts +3 -3
  74. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +1 -0
  75. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +1 -0
  76. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +1 -0
  77. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +1 -0
  78. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +1 -0
  79. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +1 -0
  80. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +1 -0
  81. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +1 -0
  82. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +1 -0
  83. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +1 -0
  84. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +1 -0
  85. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +1 -0
  86. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +1 -0
  87. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  88. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +1 -0
  89. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +1 -0
  90. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +1 -0
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  93. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +1 -0
  94. package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +1 -0
  95. package/dist-types/ts3.4/index.d.ts +2 -2
  96. package/dist-types/ts3.4/models/AmpServiceException.d.ts +1 -0
  97. package/package.json +29 -29
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AmpClient = void 0;
3
+ exports.AmpClient = exports.__Client = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
12
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
13
  const smithy_client_1 = require("@aws-sdk/smithy-client");
14
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
14
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
15
16
  const runtimeConfig_1 = require("./runtimeConfig");
16
17
  class AmpClient extends smithy_client_1.Client {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateAlertManagerDefinitionCommand = void 0;
3
+ exports.CreateAlertManagerDefinitionCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateAlertManagerDefinitionCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateLoggingConfigurationCommand = void 0;
3
+ exports.CreateLoggingConfigurationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateLoggingConfigurationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateRuleGroupsNamespaceCommand = void 0;
3
+ exports.CreateRuleGroupsNamespaceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateRuleGroupsNamespaceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateWorkspaceCommand = void 0;
3
+ exports.CreateWorkspaceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class CreateWorkspaceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteAlertManagerDefinitionCommand = void 0;
3
+ exports.DeleteAlertManagerDefinitionCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteAlertManagerDefinitionCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteLoggingConfigurationCommand = void 0;
3
+ exports.DeleteLoggingConfigurationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteLoggingConfigurationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteRuleGroupsNamespaceCommand = void 0;
3
+ exports.DeleteRuleGroupsNamespaceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteRuleGroupsNamespaceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteWorkspaceCommand = void 0;
3
+ exports.DeleteWorkspaceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DeleteWorkspaceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeAlertManagerDefinitionCommand = void 0;
3
+ exports.DescribeAlertManagerDefinitionCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeAlertManagerDefinitionCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeLoggingConfigurationCommand = void 0;
3
+ exports.DescribeLoggingConfigurationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeLoggingConfigurationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeRuleGroupsNamespaceCommand = void 0;
3
+ exports.DescribeRuleGroupsNamespaceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeRuleGroupsNamespaceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeWorkspaceCommand = void 0;
3
+ exports.DescribeWorkspaceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class DescribeWorkspaceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListRuleGroupsNamespacesCommand = void 0;
3
+ exports.ListRuleGroupsNamespacesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListRuleGroupsNamespacesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTagsForResourceCommand = void 0;
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListTagsForResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListWorkspacesCommand = void 0;
3
+ exports.ListWorkspacesCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class ListWorkspacesCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutAlertManagerDefinitionCommand = void 0;
3
+ exports.PutAlertManagerDefinitionCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class PutAlertManagerDefinitionCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutRuleGroupsNamespaceCommand = void 0;
3
+ exports.PutRuleGroupsNamespaceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class PutRuleGroupsNamespaceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TagResourceCommand = void 0;
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class TagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceCommand = void 0;
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UntagResourceCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateLoggingConfigurationCommand = void 0;
3
+ exports.UpdateLoggingConfigurationCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateLoggingConfigurationCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateWorkspaceAliasCommand = void 0;
3
+ exports.UpdateWorkspaceAliasCommand = exports.$Command = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
7
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
9
  class UpdateWorkspaceAliasCommand extends smithy_client_1.Command {
9
10
  static getEndpointParameterInstructions() {
package/dist-cjs/index.js CHANGED
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AmpServiceException = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./Amp"), exports);
6
5
  tslib_1.__exportStar(require("./AmpClient"), exports);
6
+ tslib_1.__exportStar(require("./Amp"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
9
8
  tslib_1.__exportStar(require("./pagination"), exports);
10
9
  tslib_1.__exportStar(require("./waiters"), exports);
10
+ tslib_1.__exportStar(require("./models"), exports);
11
11
  var AmpServiceException_1 = require("./models/AmpServiceException");
12
12
  Object.defineProperty(exports, "AmpServiceException", { enumerable: true, get: function () { return AmpServiceException_1.AmpServiceException; } });
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AmpServiceException = void 0;
3
+ exports.AmpServiceException = exports.__ServiceException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
5
6
  class AmpServiceException extends smithy_client_1.ServiceException {
6
7
  constructor(options) {
7
8
  super(options);
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
10
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ export { __Client };
13
14
  export class AmpClient extends __Client {
14
15
  constructor(configuration) {
15
16
  const _config_0 = __getRuntimeConfig(configuration);
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateAlertManagerDefinitionCommand, se_CreateAlertManagerDefinitionCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateAlertManagerDefinitionCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateLoggingConfigurationCommand, se_CreateLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateLoggingConfigurationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateRuleGroupsNamespaceCommand, se_CreateRuleGroupsNamespaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateRuleGroupsNamespaceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_CreateWorkspaceCommand, se_CreateWorkspaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class CreateWorkspaceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteAlertManagerDefinitionCommand, se_DeleteAlertManagerDefinitionCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteAlertManagerDefinitionCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteLoggingConfigurationCommand, se_DeleteLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteLoggingConfigurationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteRuleGroupsNamespaceCommand, se_DeleteRuleGroupsNamespaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteRuleGroupsNamespaceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DeleteWorkspaceCommand, se_DeleteWorkspaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DeleteWorkspaceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeAlertManagerDefinitionCommand, se_DescribeAlertManagerDefinitionCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeAlertManagerDefinitionCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeLoggingConfigurationCommand, se_DescribeLoggingConfigurationCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeLoggingConfigurationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeRuleGroupsNamespaceCommand, se_DescribeRuleGroupsNamespaceCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeRuleGroupsNamespaceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_DescribeWorkspaceCommand, se_DescribeWorkspaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class DescribeWorkspaceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListRuleGroupsNamespacesCommand, se_ListRuleGroupsNamespacesCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListRuleGroupsNamespacesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListTagsForResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_ListWorkspacesCommand, se_ListWorkspacesCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class ListWorkspacesCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_PutAlertManagerDefinitionCommand, se_PutAlertManagerDefinitionCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class PutAlertManagerDefinitionCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_PutRuleGroupsNamespaceCommand, se_PutRuleGroupsNamespaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class PutRuleGroupsNamespaceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class TagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UntagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateLoggingConfigurationCommand, se_UpdateLoggingConfigurationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateLoggingConfigurationCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateWorkspaceAliasCommand, se_UpdateWorkspaceAliasCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateWorkspaceAliasCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export * from "./Amp";
2
1
  export * from "./AmpClient";
2
+ export * from "./Amp";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
6
5
  export * from "./waiters";
6
+ export * from "./models";
7
7
  export { AmpServiceException } from "./models/AmpServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class AmpServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -30,6 +30,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
30
30
  import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
31
31
  import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
32
32
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
33
+ export { __Client };
33
34
  /**
34
35
  * @public
35
36
  */
@@ -144,7 +145,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
144
145
  /**
145
146
  * @public
146
147
  */
147
- type AmpClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
148
+ export type AmpClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
148
149
  /**
149
150
  * @public
150
151
  *
@@ -155,7 +156,7 @@ export interface AmpClientConfig extends AmpClientConfigType {
155
156
  /**
156
157
  * @public
157
158
  */
158
- type AmpClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
159
+ export type AmpClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
159
160
  /**
160
161
  * @public
161
162
  *
@@ -180,4 +181,3 @@ export declare class AmpClient extends __Client<__HttpHandlerOptions, ServiceInp
180
181
  */
181
182
  destroy(): void;
182
183
  }
183
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
5
5
  import { CreateAlertManagerDefinitionRequest, CreateAlertManagerDefinitionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
5
5
  import { CreateLoggingConfigurationRequest, CreateLoggingConfigurationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
5
5
  import { CreateRuleGroupsNamespaceRequest, CreateRuleGroupsNamespaceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *