@aws-sdk/client-aiops 3.832.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 (135) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/AIOps.js +33 -0
  4. package/dist-cjs/AIOpsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateInvestigationGroupCommand.js +26 -0
  8. package/dist-cjs/commands/DeleteInvestigationGroupCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteInvestigationGroupPolicyCommand.js +26 -0
  10. package/dist-cjs/commands/GetInvestigationGroupCommand.js +26 -0
  11. package/dist-cjs/commands/GetInvestigationGroupPolicyCommand.js +26 -0
  12. package/dist-cjs/commands/ListInvestigationGroupsCommand.js +27 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  14. package/dist-cjs/commands/PutInvestigationGroupPolicyCommand.js +26 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  17. package/dist-cjs/commands/UpdateInvestigationGroupCommand.js +26 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +17 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/extensionConfiguration.js +2 -0
  23. package/dist-cjs/index.js +11 -0
  24. package/dist-cjs/models/AIOpsServiceException.js +12 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +131 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListInvestigationGroupsPaginator.js +7 -0
  29. package/dist-cjs/pagination/index.js +5 -0
  30. package/dist-cjs/protocols/Aws_restJson1.js +471 -0
  31. package/dist-cjs/runtimeConfig.browser.js +39 -0
  32. package/dist-cjs/runtimeConfig.js +56 -0
  33. package/dist-cjs/runtimeConfig.native.js +15 -0
  34. package/dist-cjs/runtimeConfig.shared.js +34 -0
  35. package/dist-cjs/runtimeExtensions.js +13 -0
  36. package/dist-es/AIOps.js +29 -0
  37. package/dist-es/AIOpsClient.js +48 -0
  38. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  39. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  40. package/dist-es/commands/CreateInvestigationGroupCommand.js +22 -0
  41. package/dist-es/commands/DeleteInvestigationGroupCommand.js +22 -0
  42. package/dist-es/commands/DeleteInvestigationGroupPolicyCommand.js +22 -0
  43. package/dist-es/commands/GetInvestigationGroupCommand.js +22 -0
  44. package/dist-es/commands/GetInvestigationGroupPolicyCommand.js +22 -0
  45. package/dist-es/commands/ListInvestigationGroupsCommand.js +23 -0
  46. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  47. package/dist-es/commands/PutInvestigationGroupPolicyCommand.js +22 -0
  48. package/dist-es/commands/TagResourceCommand.js +22 -0
  49. package/dist-es/commands/UntagResourceCommand.js +22 -0
  50. package/dist-es/commands/UpdateInvestigationGroupCommand.js +22 -0
  51. package/dist-es/commands/index.js +11 -0
  52. package/dist-es/endpoint/EndpointParameters.js +13 -0
  53. package/dist-es/endpoint/endpointResolver.js +14 -0
  54. package/dist-es/endpoint/ruleset.js +4 -0
  55. package/dist-es/extensionConfiguration.js +1 -0
  56. package/dist-es/index.js +6 -0
  57. package/dist-es/models/AIOpsServiceException.js +8 -0
  58. package/dist-es/models/index.js +1 -0
  59. package/dist-es/models/models_0.js +118 -0
  60. package/dist-es/pagination/Interfaces.js +1 -0
  61. package/dist-es/pagination/ListInvestigationGroupsPaginator.js +4 -0
  62. package/dist-es/pagination/index.js +2 -0
  63. package/dist-es/protocols/Aws_restJson1.js +446 -0
  64. package/dist-es/runtimeConfig.browser.js +34 -0
  65. package/dist-es/runtimeConfig.js +51 -0
  66. package/dist-es/runtimeConfig.native.js +11 -0
  67. package/dist-es/runtimeConfig.shared.js +30 -0
  68. package/dist-es/runtimeExtensions.js +9 -0
  69. package/dist-types/AIOps.d.ts +88 -0
  70. package/dist-types/AIOpsClient.d.ts +198 -0
  71. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  72. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  73. package/dist-types/commands/CreateInvestigationGroupCommand.d.ts +114 -0
  74. package/dist-types/commands/DeleteInvestigationGroupCommand.d.ts +91 -0
  75. package/dist-types/commands/DeleteInvestigationGroupPolicyCommand.d.ts +91 -0
  76. package/dist-types/commands/GetInvestigationGroupCommand.d.ts +113 -0
  77. package/dist-types/commands/GetInvestigationGroupPolicyCommand.d.ts +94 -0
  78. package/dist-types/commands/ListInvestigationGroupsCommand.d.ts +100 -0
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
  80. package/dist-types/commands/PutInvestigationGroupPolicyCommand.d.ts +94 -0
  81. package/dist-types/commands/TagResourceCommand.d.ts +94 -0
  82. package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
  83. package/dist-types/commands/UpdateInvestigationGroupCommand.d.ts +105 -0
  84. package/dist-types/commands/index.d.ts +11 -0
  85. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  86. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  87. package/dist-types/endpoint/ruleset.d.ts +2 -0
  88. package/dist-types/extensionConfiguration.d.ts +9 -0
  89. package/dist-types/index.d.ts +14 -0
  90. package/dist-types/models/AIOpsServiceException.d.ts +14 -0
  91. package/dist-types/models/index.d.ts +1 -0
  92. package/dist-types/models/models_0.d.ts +505 -0
  93. package/dist-types/pagination/Interfaces.d.ts +8 -0
  94. package/dist-types/pagination/ListInvestigationGroupsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/index.d.ts +2 -0
  96. package/dist-types/protocols/Aws_restJson1.d.ts +101 -0
  97. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  98. package/dist-types/runtimeConfig.d.ts +50 -0
  99. package/dist-types/runtimeConfig.native.d.ts +49 -0
  100. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  101. package/dist-types/runtimeExtensions.d.ts +17 -0
  102. package/dist-types/ts3.4/AIOps.d.ts +193 -0
  103. package/dist-types/ts3.4/AIOpsClient.d.ts +185 -0
  104. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  105. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  106. package/dist-types/ts3.4/commands/CreateInvestigationGroupCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/DeleteInvestigationGroupCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/DeleteInvestigationGroupPolicyCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/GetInvestigationGroupCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/GetInvestigationGroupPolicyCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/ListInvestigationGroupsCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/PutInvestigationGroupPolicyCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  116. package/dist-types/ts3.4/commands/UpdateInvestigationGroupCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  118. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +48 -0
  119. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  120. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  121. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  122. package/dist-types/ts3.4/index.d.ts +9 -0
  123. package/dist-types/ts3.4/models/AIOpsServiceException.d.ts +9 -0
  124. package/dist-types/ts3.4/models/index.d.ts +1 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +162 -0
  126. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  127. package/dist-types/ts3.4/pagination/ListInvestigationGroupsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  129. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +137 -0
  130. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
  131. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  132. package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
  133. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  134. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  135. package/package.json +99 -0
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateInvestigationGroupCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateInvestigationGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "CreateInvestigationGroup", {})
20
+ .n("AIOpsClient", "CreateInvestigationGroupCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_CreateInvestigationGroupCommand)
23
+ .de(Aws_restJson1_1.de_CreateInvestigationGroupCommand)
24
+ .build() {
25
+ }
26
+ exports.CreateInvestigationGroupCommand = CreateInvestigationGroupCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteInvestigationGroupCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteInvestigationGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "DeleteInvestigationGroup", {})
20
+ .n("AIOpsClient", "DeleteInvestigationGroupCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_DeleteInvestigationGroupCommand)
23
+ .de(Aws_restJson1_1.de_DeleteInvestigationGroupCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteInvestigationGroupCommand = DeleteInvestigationGroupCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteInvestigationGroupPolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteInvestigationGroupPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "DeleteInvestigationGroupPolicy", {})
20
+ .n("AIOpsClient", "DeleteInvestigationGroupPolicyCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_DeleteInvestigationGroupPolicyCommand)
23
+ .de(Aws_restJson1_1.de_DeleteInvestigationGroupPolicyCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteInvestigationGroupPolicyCommand = DeleteInvestigationGroupPolicyCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetInvestigationGroupCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetInvestigationGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "GetInvestigationGroup", {})
20
+ .n("AIOpsClient", "GetInvestigationGroupCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_GetInvestigationGroupCommand)
23
+ .de(Aws_restJson1_1.de_GetInvestigationGroupCommand)
24
+ .build() {
25
+ }
26
+ exports.GetInvestigationGroupCommand = GetInvestigationGroupCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetInvestigationGroupPolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetInvestigationGroupPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "GetInvestigationGroupPolicy", {})
20
+ .n("AIOpsClient", "GetInvestigationGroupPolicyCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_GetInvestigationGroupPolicyCommand)
23
+ .de(Aws_restJson1_1.de_GetInvestigationGroupPolicyCommand)
24
+ .build() {
25
+ }
26
+ exports.GetInvestigationGroupPolicyCommand = GetInvestigationGroupPolicyCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListInvestigationGroupsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class ListInvestigationGroupsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("AIOps", "ListInvestigationGroups", {})
21
+ .n("AIOpsClient", "ListInvestigationGroupsCommand")
22
+ .f(models_0_1.ListInvestigationGroupsInputFilterSensitiveLog, models_0_1.ListInvestigationGroupsOutputFilterSensitiveLog)
23
+ .ser(Aws_restJson1_1.se_ListInvestigationGroupsCommand)
24
+ .de(Aws_restJson1_1.de_ListInvestigationGroupsCommand)
25
+ .build() {
26
+ }
27
+ exports.ListInvestigationGroupsCommand = ListInvestigationGroupsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "ListTagsForResource", {})
20
+ .n("AIOpsClient", "ListTagsForResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
23
+ .de(Aws_restJson1_1.de_ListTagsForResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutInvestigationGroupPolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class PutInvestigationGroupPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "PutInvestigationGroupPolicy", {})
20
+ .n("AIOpsClient", "PutInvestigationGroupPolicyCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_PutInvestigationGroupPolicyCommand)
23
+ .de(Aws_restJson1_1.de_PutInvestigationGroupPolicyCommand)
24
+ .build() {
25
+ }
26
+ exports.PutInvestigationGroupPolicyCommand = PutInvestigationGroupPolicyCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "TagResource", {})
20
+ .n("AIOpsClient", "TagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_TagResourceCommand)
23
+ .de(Aws_restJson1_1.de_TagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "UntagResource", {})
20
+ .n("AIOpsClient", "UntagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_UntagResourceCommand)
23
+ .de(Aws_restJson1_1.de_UntagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateInvestigationGroupCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateInvestigationGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AIOps", "UpdateInvestigationGroup", {})
20
+ .n("AIOpsClient", "UpdateInvestigationGroupCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_restJson1_1.se_UpdateInvestigationGroupCommand)
23
+ .de(Aws_restJson1_1.de_UpdateInvestigationGroupCommand)
24
+ .build() {
25
+ }
26
+ exports.UpdateInvestigationGroupCommand = UpdateInvestigationGroupCommand;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateInvestigationGroupCommand"), exports);
5
+ tslib_1.__exportStar(require("./DeleteInvestigationGroupCommand"), exports);
6
+ tslib_1.__exportStar(require("./DeleteInvestigationGroupPolicyCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetInvestigationGroupCommand"), exports);
8
+ tslib_1.__exportStar(require("./GetInvestigationGroupPolicyCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListInvestigationGroupsCommand"), exports);
10
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
11
+ tslib_1.__exportStar(require("./PutInvestigationGroupPolicyCommand"), exports);
12
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
13
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
14
+ tslib_1.__exportStar(require("./UpdateInvestigationGroupCommand"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return Object.assign(options, {
6
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
7
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
8
+ defaultSigningName: "aiops",
9
+ });
10
+ };
11
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
+ exports.commonParams = {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
+ });
11
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
13
+ endpointParams: endpointParams,
14
+ logger: context.logger,
15
+ }));
16
+ };
17
+ exports.defaultEndpointResolver = defaultEndpointResolver;
18
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://aiops-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://aiops-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://aiops.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://aiops.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AIOpsServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./AIOpsClient"), exports);
6
+ tslib_1.__exportStar(require("./AIOps"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var AIOpsServiceException_1 = require("./models/AIOpsServiceException");
11
+ Object.defineProperty(exports, "AIOpsServiceException", { enumerable: true, get: function () { return AIOpsServiceException_1.AIOpsServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AIOpsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class AIOpsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, AIOpsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.AIOpsServiceException = AIOpsServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListInvestigationGroupsOutputFilterSensitiveLog = exports.ListInvestigationGroupsInputFilterSensitiveLog = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.EncryptionConfigurationType = exports.InternalServerException = exports.ForbiddenException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const AIOpsServiceException_1 = require("./AIOpsServiceException");
6
+ class AccessDeniedException extends AIOpsServiceException_1.AIOpsServiceException {
7
+ name = "AccessDeniedException";
8
+ $fault = "client";
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ }
17
+ }
18
+ exports.AccessDeniedException = AccessDeniedException;
19
+ class ConflictException extends AIOpsServiceException_1.AIOpsServiceException {
20
+ name = "ConflictException";
21
+ $fault = "client";
22
+ constructor(opts) {
23
+ super({
24
+ name: "ConflictException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, ConflictException.prototype);
29
+ }
30
+ }
31
+ exports.ConflictException = ConflictException;
32
+ class ForbiddenException extends AIOpsServiceException_1.AIOpsServiceException {
33
+ name = "ForbiddenException";
34
+ $fault = "client";
35
+ constructor(opts) {
36
+ super({
37
+ name: "ForbiddenException",
38
+ $fault: "client",
39
+ ...opts,
40
+ });
41
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
42
+ }
43
+ }
44
+ exports.ForbiddenException = ForbiddenException;
45
+ class InternalServerException extends AIOpsServiceException_1.AIOpsServiceException {
46
+ name = "InternalServerException";
47
+ $fault = "server";
48
+ constructor(opts) {
49
+ super({
50
+ name: "InternalServerException",
51
+ $fault: "server",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, InternalServerException.prototype);
55
+ }
56
+ }
57
+ exports.InternalServerException = InternalServerException;
58
+ exports.EncryptionConfigurationType = {
59
+ AWS_OWNED_KEY: "AWS_OWNED_KEY",
60
+ CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
61
+ };
62
+ class ResourceNotFoundException extends AIOpsServiceException_1.AIOpsServiceException {
63
+ name = "ResourceNotFoundException";
64
+ $fault = "client";
65
+ constructor(opts) {
66
+ super({
67
+ name: "ResourceNotFoundException",
68
+ $fault: "client",
69
+ ...opts,
70
+ });
71
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
72
+ }
73
+ }
74
+ exports.ResourceNotFoundException = ResourceNotFoundException;
75
+ class ServiceQuotaExceededException extends AIOpsServiceException_1.AIOpsServiceException {
76
+ name = "ServiceQuotaExceededException";
77
+ $fault = "client";
78
+ resourceId;
79
+ resourceType;
80
+ serviceCode;
81
+ quotaCode;
82
+ constructor(opts) {
83
+ super({
84
+ name: "ServiceQuotaExceededException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
89
+ this.resourceId = opts.resourceId;
90
+ this.resourceType = opts.resourceType;
91
+ this.serviceCode = opts.serviceCode;
92
+ this.quotaCode = opts.quotaCode;
93
+ }
94
+ }
95
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
96
+ class ThrottlingException extends AIOpsServiceException_1.AIOpsServiceException {
97
+ name = "ThrottlingException";
98
+ $fault = "client";
99
+ constructor(opts) {
100
+ super({
101
+ name: "ThrottlingException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
106
+ }
107
+ }
108
+ exports.ThrottlingException = ThrottlingException;
109
+ class ValidationException extends AIOpsServiceException_1.AIOpsServiceException {
110
+ name = "ValidationException";
111
+ $fault = "client";
112
+ constructor(opts) {
113
+ super({
114
+ name: "ValidationException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, ValidationException.prototype);
119
+ }
120
+ }
121
+ exports.ValidationException = ValidationException;
122
+ const ListInvestigationGroupsInputFilterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ ...(obj.nextToken && { nextToken: smithy_client_1.SENSITIVE_STRING }),
125
+ });
126
+ exports.ListInvestigationGroupsInputFilterSensitiveLog = ListInvestigationGroupsInputFilterSensitiveLog;
127
+ const ListInvestigationGroupsOutputFilterSensitiveLog = (obj) => ({
128
+ ...obj,
129
+ ...(obj.nextToken && { nextToken: smithy_client_1.SENSITIVE_STRING }),
130
+ });
131
+ exports.ListInvestigationGroupsOutputFilterSensitiveLog = ListInvestigationGroupsOutputFilterSensitiveLog;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListInvestigationGroups = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const AIOpsClient_1 = require("../AIOpsClient");
6
+ const ListInvestigationGroupsCommand_1 = require("../commands/ListInvestigationGroupsCommand");
7
+ exports.paginateListInvestigationGroups = (0, core_1.createPaginator)(AIOpsClient_1.AIOpsClient, ListInvestigationGroupsCommand_1.ListInvestigationGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListInvestigationGroupsPaginator"), exports);