@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,471 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.de_UpdateInvestigationGroupCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutInvestigationGroupPolicyCommand = exports.de_ListTagsForResourceCommand = exports.de_ListInvestigationGroupsCommand = exports.de_GetInvestigationGroupPolicyCommand = exports.de_GetInvestigationGroupCommand = exports.de_DeleteInvestigationGroupPolicyCommand = exports.de_DeleteInvestigationGroupCommand = exports.de_CreateInvestigationGroupCommand = exports.se_UpdateInvestigationGroupCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutInvestigationGroupPolicyCommand = exports.se_ListTagsForResourceCommand = exports.se_ListInvestigationGroupsCommand = exports.se_GetInvestigationGroupPolicyCommand = exports.se_GetInvestigationGroupCommand = exports.se_DeleteInvestigationGroupPolicyCommand = exports.se_DeleteInvestigationGroupCommand = exports.se_CreateInvestigationGroupCommand = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const core_2 = require("@smithy/core");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const AIOpsServiceException_1 = require("../models/AIOpsServiceException");
8
+ const models_0_1 = require("../models/models_0");
9
+ const se_CreateInvestigationGroupCommand = async (input, context) => {
10
+ const b = (0, core_2.requestBuilder)(input, context);
11
+ const headers = {
12
+ "content-type": "application/json",
13
+ };
14
+ b.bp("/investigationGroups");
15
+ let body;
16
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
17
+ chatbotNotificationChannel: (_) => (0, smithy_client_1._json)(_),
18
+ encryptionConfiguration: (_) => (0, smithy_client_1._json)(_),
19
+ isCloudTrailEventHistoryEnabled: [],
20
+ name: [],
21
+ retentionInDays: [],
22
+ roleArn: [],
23
+ tagKeyBoundaries: (_) => (0, smithy_client_1._json)(_),
24
+ tags: (_) => (0, smithy_client_1._json)(_),
25
+ }));
26
+ b.m("POST").h(headers).b(body);
27
+ return b.build();
28
+ };
29
+ exports.se_CreateInvestigationGroupCommand = se_CreateInvestigationGroupCommand;
30
+ const se_DeleteInvestigationGroupCommand = async (input, context) => {
31
+ const b = (0, core_2.requestBuilder)(input, context);
32
+ const headers = {};
33
+ b.bp("/investigationGroups/{identifier}");
34
+ b.p("identifier", () => input.identifier, "{identifier}", false);
35
+ let body;
36
+ b.m("DELETE").h(headers).b(body);
37
+ return b.build();
38
+ };
39
+ exports.se_DeleteInvestigationGroupCommand = se_DeleteInvestigationGroupCommand;
40
+ const se_DeleteInvestigationGroupPolicyCommand = async (input, context) => {
41
+ const b = (0, core_2.requestBuilder)(input, context);
42
+ const headers = {};
43
+ b.bp("/investigationGroups/{identifier}/policy");
44
+ b.p("identifier", () => input.identifier, "{identifier}", false);
45
+ let body;
46
+ b.m("DELETE").h(headers).b(body);
47
+ return b.build();
48
+ };
49
+ exports.se_DeleteInvestigationGroupPolicyCommand = se_DeleteInvestigationGroupPolicyCommand;
50
+ const se_GetInvestigationGroupCommand = async (input, context) => {
51
+ const b = (0, core_2.requestBuilder)(input, context);
52
+ const headers = {};
53
+ b.bp("/investigationGroups/{identifier}");
54
+ b.p("identifier", () => input.identifier, "{identifier}", false);
55
+ let body;
56
+ b.m("GET").h(headers).b(body);
57
+ return b.build();
58
+ };
59
+ exports.se_GetInvestigationGroupCommand = se_GetInvestigationGroupCommand;
60
+ const se_GetInvestigationGroupPolicyCommand = async (input, context) => {
61
+ const b = (0, core_2.requestBuilder)(input, context);
62
+ const headers = {};
63
+ b.bp("/investigationGroups/{identifier}/policy");
64
+ b.p("identifier", () => input.identifier, "{identifier}", false);
65
+ let body;
66
+ b.m("GET").h(headers).b(body);
67
+ return b.build();
68
+ };
69
+ exports.se_GetInvestigationGroupPolicyCommand = se_GetInvestigationGroupPolicyCommand;
70
+ const se_ListInvestigationGroupsCommand = async (input, context) => {
71
+ const b = (0, core_2.requestBuilder)(input, context);
72
+ const headers = {};
73
+ b.bp("/investigationGroups");
74
+ const query = (0, smithy_client_1.map)({
75
+ [_nT]: [, input[_nT]],
76
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
77
+ });
78
+ let body;
79
+ b.m("GET").h(headers).q(query).b(body);
80
+ return b.build();
81
+ };
82
+ exports.se_ListInvestigationGroupsCommand = se_ListInvestigationGroupsCommand;
83
+ const se_ListTagsForResourceCommand = async (input, context) => {
84
+ const b = (0, core_2.requestBuilder)(input, context);
85
+ const headers = {};
86
+ b.bp("/tags/{resourceArn}");
87
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
88
+ let body;
89
+ b.m("GET").h(headers).b(body);
90
+ return b.build();
91
+ };
92
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
93
+ const se_PutInvestigationGroupPolicyCommand = async (input, context) => {
94
+ const b = (0, core_2.requestBuilder)(input, context);
95
+ const headers = {
96
+ "content-type": "application/json",
97
+ };
98
+ b.bp("/investigationGroups/{identifier}/policy");
99
+ b.p("identifier", () => input.identifier, "{identifier}", false);
100
+ let body;
101
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
102
+ policy: [],
103
+ }));
104
+ b.m("POST").h(headers).b(body);
105
+ return b.build();
106
+ };
107
+ exports.se_PutInvestigationGroupPolicyCommand = se_PutInvestigationGroupPolicyCommand;
108
+ const se_TagResourceCommand = async (input, context) => {
109
+ const b = (0, core_2.requestBuilder)(input, context);
110
+ const headers = {
111
+ "content-type": "application/json",
112
+ };
113
+ b.bp("/tags/{resourceArn}");
114
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
115
+ let body;
116
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
117
+ tags: (_) => (0, smithy_client_1._json)(_),
118
+ }));
119
+ b.m("POST").h(headers).b(body);
120
+ return b.build();
121
+ };
122
+ exports.se_TagResourceCommand = se_TagResourceCommand;
123
+ const se_UntagResourceCommand = async (input, context) => {
124
+ const b = (0, core_2.requestBuilder)(input, context);
125
+ const headers = {};
126
+ b.bp("/tags/{resourceArn}");
127
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
128
+ const query = (0, smithy_client_1.map)({
129
+ [_tK]: [(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
130
+ });
131
+ let body;
132
+ b.m("DELETE").h(headers).q(query).b(body);
133
+ return b.build();
134
+ };
135
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
136
+ const se_UpdateInvestigationGroupCommand = async (input, context) => {
137
+ const b = (0, core_2.requestBuilder)(input, context);
138
+ const headers = {
139
+ "content-type": "application/json",
140
+ };
141
+ b.bp("/investigationGroups/{identifier}");
142
+ b.p("identifier", () => input.identifier, "{identifier}", false);
143
+ let body;
144
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
145
+ chatbotNotificationChannel: (_) => (0, smithy_client_1._json)(_),
146
+ encryptionConfiguration: (_) => (0, smithy_client_1._json)(_),
147
+ isCloudTrailEventHistoryEnabled: [],
148
+ roleArn: [],
149
+ tagKeyBoundaries: (_) => (0, smithy_client_1._json)(_),
150
+ }));
151
+ b.m("PATCH").h(headers).b(body);
152
+ return b.build();
153
+ };
154
+ exports.se_UpdateInvestigationGroupCommand = se_UpdateInvestigationGroupCommand;
155
+ const de_CreateInvestigationGroupCommand = async (output, context) => {
156
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
157
+ return de_CommandError(output, context);
158
+ }
159
+ const contents = (0, smithy_client_1.map)({
160
+ $metadata: deserializeMetadata(output),
161
+ });
162
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
163
+ const doc = (0, smithy_client_1.take)(data, {
164
+ arn: smithy_client_1.expectString,
165
+ });
166
+ Object.assign(contents, doc);
167
+ return contents;
168
+ };
169
+ exports.de_CreateInvestigationGroupCommand = de_CreateInvestigationGroupCommand;
170
+ const de_DeleteInvestigationGroupCommand = async (output, context) => {
171
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
172
+ return de_CommandError(output, context);
173
+ }
174
+ const contents = (0, smithy_client_1.map)({
175
+ $metadata: deserializeMetadata(output),
176
+ });
177
+ await (0, smithy_client_1.collectBody)(output.body, context);
178
+ return contents;
179
+ };
180
+ exports.de_DeleteInvestigationGroupCommand = de_DeleteInvestigationGroupCommand;
181
+ const de_DeleteInvestigationGroupPolicyCommand = async (output, context) => {
182
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
183
+ return de_CommandError(output, context);
184
+ }
185
+ const contents = (0, smithy_client_1.map)({
186
+ $metadata: deserializeMetadata(output),
187
+ });
188
+ await (0, smithy_client_1.collectBody)(output.body, context);
189
+ return contents;
190
+ };
191
+ exports.de_DeleteInvestigationGroupPolicyCommand = de_DeleteInvestigationGroupPolicyCommand;
192
+ const de_GetInvestigationGroupCommand = async (output, context) => {
193
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
194
+ return de_CommandError(output, context);
195
+ }
196
+ const contents = (0, smithy_client_1.map)({
197
+ $metadata: deserializeMetadata(output),
198
+ });
199
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
200
+ const doc = (0, smithy_client_1.take)(data, {
201
+ arn: smithy_client_1.expectString,
202
+ chatbotNotificationChannel: smithy_client_1._json,
203
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
204
+ createdBy: smithy_client_1.expectString,
205
+ encryptionConfiguration: smithy_client_1._json,
206
+ isCloudTrailEventHistoryEnabled: smithy_client_1.expectBoolean,
207
+ lastModifiedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
208
+ lastModifiedBy: smithy_client_1.expectString,
209
+ name: smithy_client_1.expectString,
210
+ retentionInDays: smithy_client_1.expectLong,
211
+ roleArn: smithy_client_1.expectString,
212
+ tagKeyBoundaries: smithy_client_1._json,
213
+ });
214
+ Object.assign(contents, doc);
215
+ return contents;
216
+ };
217
+ exports.de_GetInvestigationGroupCommand = de_GetInvestigationGroupCommand;
218
+ const de_GetInvestigationGroupPolicyCommand = async (output, context) => {
219
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
220
+ return de_CommandError(output, context);
221
+ }
222
+ const contents = (0, smithy_client_1.map)({
223
+ $metadata: deserializeMetadata(output),
224
+ });
225
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
226
+ const doc = (0, smithy_client_1.take)(data, {
227
+ investigationGroupArn: smithy_client_1.expectString,
228
+ policy: smithy_client_1.expectString,
229
+ });
230
+ Object.assign(contents, doc);
231
+ return contents;
232
+ };
233
+ exports.de_GetInvestigationGroupPolicyCommand = de_GetInvestigationGroupPolicyCommand;
234
+ const de_ListInvestigationGroupsCommand = async (output, context) => {
235
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
236
+ return de_CommandError(output, context);
237
+ }
238
+ const contents = (0, smithy_client_1.map)({
239
+ $metadata: deserializeMetadata(output),
240
+ });
241
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
242
+ const doc = (0, smithy_client_1.take)(data, {
243
+ investigationGroups: smithy_client_1._json,
244
+ nextToken: smithy_client_1.expectString,
245
+ });
246
+ Object.assign(contents, doc);
247
+ return contents;
248
+ };
249
+ exports.de_ListInvestigationGroupsCommand = de_ListInvestigationGroupsCommand;
250
+ const de_ListTagsForResourceCommand = async (output, context) => {
251
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
252
+ return de_CommandError(output, context);
253
+ }
254
+ const contents = (0, smithy_client_1.map)({
255
+ $metadata: deserializeMetadata(output),
256
+ });
257
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
258
+ const doc = (0, smithy_client_1.take)(data, {
259
+ tags: smithy_client_1._json,
260
+ });
261
+ Object.assign(contents, doc);
262
+ return contents;
263
+ };
264
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
265
+ const de_PutInvestigationGroupPolicyCommand = async (output, context) => {
266
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
267
+ return de_CommandError(output, context);
268
+ }
269
+ const contents = (0, smithy_client_1.map)({
270
+ $metadata: deserializeMetadata(output),
271
+ });
272
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
273
+ const doc = (0, smithy_client_1.take)(data, {
274
+ investigationGroupArn: smithy_client_1.expectString,
275
+ });
276
+ Object.assign(contents, doc);
277
+ return contents;
278
+ };
279
+ exports.de_PutInvestigationGroupPolicyCommand = de_PutInvestigationGroupPolicyCommand;
280
+ const de_TagResourceCommand = async (output, context) => {
281
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
282
+ return de_CommandError(output, context);
283
+ }
284
+ const contents = (0, smithy_client_1.map)({
285
+ $metadata: deserializeMetadata(output),
286
+ });
287
+ await (0, smithy_client_1.collectBody)(output.body, context);
288
+ return contents;
289
+ };
290
+ exports.de_TagResourceCommand = de_TagResourceCommand;
291
+ const de_UntagResourceCommand = async (output, context) => {
292
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
293
+ return de_CommandError(output, context);
294
+ }
295
+ const contents = (0, smithy_client_1.map)({
296
+ $metadata: deserializeMetadata(output),
297
+ });
298
+ await (0, smithy_client_1.collectBody)(output.body, context);
299
+ return contents;
300
+ };
301
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
302
+ const de_UpdateInvestigationGroupCommand = async (output, context) => {
303
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
304
+ return de_CommandError(output, context);
305
+ }
306
+ const contents = (0, smithy_client_1.map)({
307
+ $metadata: deserializeMetadata(output),
308
+ });
309
+ await (0, smithy_client_1.collectBody)(output.body, context);
310
+ return contents;
311
+ };
312
+ exports.de_UpdateInvestigationGroupCommand = de_UpdateInvestigationGroupCommand;
313
+ const de_CommandError = async (output, context) => {
314
+ const parsedOutput = {
315
+ ...output,
316
+ body: await (0, core_1.parseJsonErrorBody)(output.body, context),
317
+ };
318
+ const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body);
319
+ switch (errorCode) {
320
+ case "AccessDeniedException":
321
+ case "com.amazonaws.aiops#AccessDeniedException":
322
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
323
+ case "ConflictException":
324
+ case "com.amazonaws.aiops#ConflictException":
325
+ throw await de_ConflictExceptionRes(parsedOutput, context);
326
+ case "ForbiddenException":
327
+ case "com.amazonaws.aiops#ForbiddenException":
328
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
329
+ case "InternalServerException":
330
+ case "com.amazonaws.aiops#InternalServerException":
331
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
332
+ case "ResourceNotFoundException":
333
+ case "com.amazonaws.aiops#ResourceNotFoundException":
334
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
335
+ case "ServiceQuotaExceededException":
336
+ case "com.amazonaws.aiops#ServiceQuotaExceededException":
337
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
338
+ case "ThrottlingException":
339
+ case "com.amazonaws.aiops#ThrottlingException":
340
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
341
+ case "ValidationException":
342
+ case "com.amazonaws.aiops#ValidationException":
343
+ throw await de_ValidationExceptionRes(parsedOutput, context);
344
+ default:
345
+ const parsedBody = parsedOutput.body;
346
+ return throwDefaultError({
347
+ output,
348
+ parsedBody,
349
+ errorCode,
350
+ });
351
+ }
352
+ };
353
+ const throwDefaultError = (0, smithy_client_1.withBaseException)(AIOpsServiceException_1.AIOpsServiceException);
354
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
355
+ const contents = (0, smithy_client_1.map)({});
356
+ const data = parsedOutput.body;
357
+ const doc = (0, smithy_client_1.take)(data, {
358
+ message: smithy_client_1.expectString,
359
+ });
360
+ Object.assign(contents, doc);
361
+ const exception = new models_0_1.AccessDeniedException({
362
+ $metadata: deserializeMetadata(parsedOutput),
363
+ ...contents,
364
+ });
365
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
366
+ };
367
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
368
+ const contents = (0, smithy_client_1.map)({});
369
+ const data = parsedOutput.body;
370
+ const doc = (0, smithy_client_1.take)(data, {
371
+ message: smithy_client_1.expectString,
372
+ });
373
+ Object.assign(contents, doc);
374
+ const exception = new models_0_1.ConflictException({
375
+ $metadata: deserializeMetadata(parsedOutput),
376
+ ...contents,
377
+ });
378
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
379
+ };
380
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
381
+ const contents = (0, smithy_client_1.map)({});
382
+ const data = parsedOutput.body;
383
+ const doc = (0, smithy_client_1.take)(data, {
384
+ message: smithy_client_1.expectString,
385
+ });
386
+ Object.assign(contents, doc);
387
+ const exception = new models_0_1.ForbiddenException({
388
+ $metadata: deserializeMetadata(parsedOutput),
389
+ ...contents,
390
+ });
391
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
392
+ };
393
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
394
+ const contents = (0, smithy_client_1.map)({});
395
+ const data = parsedOutput.body;
396
+ const doc = (0, smithy_client_1.take)(data, {
397
+ message: smithy_client_1.expectString,
398
+ });
399
+ Object.assign(contents, doc);
400
+ const exception = new models_0_1.InternalServerException({
401
+ $metadata: deserializeMetadata(parsedOutput),
402
+ ...contents,
403
+ });
404
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
405
+ };
406
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
407
+ const contents = (0, smithy_client_1.map)({});
408
+ const data = parsedOutput.body;
409
+ const doc = (0, smithy_client_1.take)(data, {
410
+ message: smithy_client_1.expectString,
411
+ });
412
+ Object.assign(contents, doc);
413
+ const exception = new models_0_1.ResourceNotFoundException({
414
+ $metadata: deserializeMetadata(parsedOutput),
415
+ ...contents,
416
+ });
417
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
418
+ };
419
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
420
+ const contents = (0, smithy_client_1.map)({});
421
+ const data = parsedOutput.body;
422
+ const doc = (0, smithy_client_1.take)(data, {
423
+ message: smithy_client_1.expectString,
424
+ quotaCode: smithy_client_1.expectString,
425
+ resourceId: smithy_client_1.expectString,
426
+ resourceType: smithy_client_1.expectString,
427
+ serviceCode: smithy_client_1.expectString,
428
+ });
429
+ Object.assign(contents, doc);
430
+ const exception = new models_0_1.ServiceQuotaExceededException({
431
+ $metadata: deserializeMetadata(parsedOutput),
432
+ ...contents,
433
+ });
434
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
435
+ };
436
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
437
+ const contents = (0, smithy_client_1.map)({});
438
+ const data = parsedOutput.body;
439
+ const doc = (0, smithy_client_1.take)(data, {
440
+ message: smithy_client_1.expectString,
441
+ });
442
+ Object.assign(contents, doc);
443
+ const exception = new models_0_1.ThrottlingException({
444
+ $metadata: deserializeMetadata(parsedOutput),
445
+ ...contents,
446
+ });
447
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
448
+ };
449
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
450
+ const contents = (0, smithy_client_1.map)({});
451
+ const data = parsedOutput.body;
452
+ const doc = (0, smithy_client_1.take)(data, {
453
+ message: smithy_client_1.expectString,
454
+ });
455
+ Object.assign(contents, doc);
456
+ const exception = new models_0_1.ValidationException({
457
+ $metadata: deserializeMetadata(parsedOutput),
458
+ ...contents,
459
+ });
460
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
461
+ };
462
+ const deserializeMetadata = (output) => ({
463
+ httpStatusCode: output.statusCode,
464
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
465
+ extendedRequestId: output.headers["x-amz-id-2"],
466
+ cfId: output.headers["x-amz-cf-id"],
467
+ });
468
+ const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
469
+ const _mR = "maxResults";
470
+ const _nT = "nextToken";
471
+ const _tK = "tagKeys";
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
+ (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
+ };
38
+ };
39
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const core_1 = require("@aws-sdk/core");
7
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
+ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
+ const getRuntimeConfig = (config) => {
21
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const loaderConfig = {
27
+ profile: config?.profile,
28
+ logger: clientSharedValues.logger,
29
+ };
30
+ return {
31
+ ...clientSharedValues,
32
+ ...config,
33
+ runtime: "node",
34
+ defaultsMode,
35
+ authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
36
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
37
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
38
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
39
+ (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
40
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
41
+ region: config?.region ??
42
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
43
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
44
+ retryMode: config?.retryMode ??
45
+ (0, node_config_provider_1.loadConfig)({
46
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
47
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
48
+ }, config),
49
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
50
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
51
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
52
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
53
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
54
+ };
55
+ };
56
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const smithy_client_1 = require("@smithy/smithy-client");
6
+ const url_parser_1 = require("@smithy/url-parser");
7
+ const util_base64_1 = require("@smithy/util-base64");
8
+ const util_utf8_1 = require("@smithy/util-utf8");
9
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
11
+ const getRuntimeConfig = (config) => {
12
+ return {
13
+ apiVersion: "2018-05-10",
14
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
15
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
16
+ disableHostPrefix: config?.disableHostPrefix ?? false,
17
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
18
+ extensions: config?.extensions ?? [],
19
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultAIOpsHttpAuthSchemeProvider,
20
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
21
+ {
22
+ schemeId: "aws.auth#sigv4",
23
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
24
+ signer: new core_1.AwsSdkSigV4Signer(),
25
+ },
26
+ ],
27
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
28
+ serviceId: config?.serviceId ?? "AIOps",
29
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
31
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
32
+ };
33
+ };
34
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
8
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
+ const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
10
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
+ return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
12
+ };
13
+ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -0,0 +1,29 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { AIOpsClient } from "./AIOpsClient";
3
+ import { CreateInvestigationGroupCommand, } from "./commands/CreateInvestigationGroupCommand";
4
+ import { DeleteInvestigationGroupCommand, } from "./commands/DeleteInvestigationGroupCommand";
5
+ import { DeleteInvestigationGroupPolicyCommand, } from "./commands/DeleteInvestigationGroupPolicyCommand";
6
+ import { GetInvestigationGroupCommand, } from "./commands/GetInvestigationGroupCommand";
7
+ import { GetInvestigationGroupPolicyCommand, } from "./commands/GetInvestigationGroupPolicyCommand";
8
+ import { ListInvestigationGroupsCommand, } from "./commands/ListInvestigationGroupsCommand";
9
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
10
+ import { PutInvestigationGroupPolicyCommand, } from "./commands/PutInvestigationGroupPolicyCommand";
11
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
12
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
13
+ import { UpdateInvestigationGroupCommand, } from "./commands/UpdateInvestigationGroupCommand";
14
+ const commands = {
15
+ CreateInvestigationGroupCommand,
16
+ DeleteInvestigationGroupCommand,
17
+ DeleteInvestigationGroupPolicyCommand,
18
+ GetInvestigationGroupCommand,
19
+ GetInvestigationGroupPolicyCommand,
20
+ ListInvestigationGroupsCommand,
21
+ ListTagsForResourceCommand,
22
+ PutInvestigationGroupPolicyCommand,
23
+ TagResourceCommand,
24
+ UntagResourceCommand,
25
+ UpdateInvestigationGroupCommand,
26
+ };
27
+ export class AIOps extends AIOpsClient {
28
+ }
29
+ createAggregatedClient(commands, AIOps);