@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,505 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AIOpsServiceException as __BaseException } from "./AIOpsServiceException";
3
+ /**
4
+ * <p>You don't have sufficient permissions to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>This operation couldn't be completed because of a conflict in resource states.</p>
17
+ * @public
18
+ */
19
+ export declare class ConflictException extends __BaseException {
20
+ readonly name: "ConflictException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
29
+ * @public
30
+ */
31
+ export declare class ForbiddenException extends __BaseException {
32
+ readonly name: "ForbiddenException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>An internal server error occurred. You can try again later.</p>
41
+ * @public
42
+ */
43
+ export declare class InternalServerException extends __BaseException {
44
+ readonly name: "InternalServerException";
45
+ readonly $fault: "server";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
50
+ }
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const EncryptionConfigurationType: {
56
+ readonly AWS_OWNED_KEY: "AWS_OWNED_KEY";
57
+ readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type EncryptionConfigurationType = (typeof EncryptionConfigurationType)[keyof typeof EncryptionConfigurationType];
63
+ /**
64
+ * <p>Use this structure to specify a customer managed KMS key to use to encrypt investigation data. </p>
65
+ * @public
66
+ */
67
+ export interface EncryptionConfiguration {
68
+ /**
69
+ * <p>Displays whether investigation data is encrypted by a customer managed key or an Amazon Web Services owned kay.</p>
70
+ * @public
71
+ */
72
+ type?: EncryptionConfigurationType | undefined;
73
+ /**
74
+ * <p>If the investigation group uses a customer managed key for encryption, this field displays the ID of that key.</p>
75
+ * @public
76
+ */
77
+ kmsKeyId?: string | undefined;
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export interface CreateInvestigationGroupInput {
83
+ /**
84
+ * <p>A name for the investigation group.</p>
85
+ * @public
86
+ */
87
+ name: string | undefined;
88
+ /**
89
+ * <p>Specify the ARN of the IAM role that Amazon Q Developer operational investigations will use when it gathers investigation data. The permissions in this role determine which of your resources that Amazon Q Developer operational investigations will have access to during investigations.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-Security-Data">How to control what data Amazon Q has access to during investigations</a>.</p>
90
+ * @public
91
+ */
92
+ roleArn: string | undefined;
93
+ /**
94
+ * <p>Use this structure if you want to use a customer managed KMS key to encrypt your investigation data. If you omit this parameter, Amazon Q Developer operational investigations will use an Amazon Web Services key to encrypt the data. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-KMS">Encryption of investigation data</a>.</p>
95
+ * @public
96
+ */
97
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
98
+ /**
99
+ * <p>Specify how long that investigation data is kept. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Retention.html">Operational investigation data retention</a>. </p> <p>If you omit this parameter, the default of 90 days is used.</p>
100
+ * @public
101
+ */
102
+ retentionInDays?: number | undefined;
103
+ /**
104
+ * <p>A list of key-value pairs to associate with the investigation group. You can associate as many as 50 tags with an investigation group. To be able to associate tags when you create the investigation group, you must have the <code>cloudwatch:TagResource</code> permission.</p> <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.</p>
105
+ * @public
106
+ */
107
+ tags?: Record<string, string> | undefined;
108
+ /**
109
+ * <p>Enter the existing custom tag keys for custom applications in your system. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, Amazon Q can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, Amazon Q will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by Amazon Q in these cases.</p> <p>You don't need to enter tags created by myApplications or CloudFormation, because Amazon Q can automatically detect those tags.</p>
110
+ * @public
111
+ */
112
+ tagKeyBoundaries?: string[] | undefined;
113
+ /**
114
+ * <p>Use this structure to integrate Amazon Q Developer operational investigations with Amazon Q in chat applications. This structure is a string array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more Amazon Q in chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see <a href="https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html">Getting started with Amazon Q in chat applications</a> and <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies">Resource type defined by Amazon Web Services Chatbot</a>.</p>
115
+ * @public
116
+ */
117
+ chatbotNotificationChannel?: Record<string, string[]> | undefined;
118
+ /**
119
+ * <p>Specify <code>true</code> to enable Amazon Q Developer operational investigations to have access to change events that are recorded by CloudTrail. The default is <code>true</code>.</p>
120
+ * @public
121
+ */
122
+ isCloudTrailEventHistoryEnabled?: boolean | undefined;
123
+ }
124
+ /**
125
+ * @public
126
+ */
127
+ export interface CreateInvestigationGroupOutput {
128
+ /**
129
+ * <p>The ARN of the investigation group that you just created.</p>
130
+ * @public
131
+ */
132
+ arn?: string | undefined;
133
+ }
134
+ /**
135
+ * <p>The specified resource doesn't exist.</p>
136
+ * @public
137
+ */
138
+ export declare class ResourceNotFoundException extends __BaseException {
139
+ readonly name: "ResourceNotFoundException";
140
+ readonly $fault: "client";
141
+ /**
142
+ * @internal
143
+ */
144
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
145
+ }
146
+ /**
147
+ * <p>This request exceeds a service quota.</p>
148
+ * @public
149
+ */
150
+ export declare class ServiceQuotaExceededException extends __BaseException {
151
+ readonly name: "ServiceQuotaExceededException";
152
+ readonly $fault: "client";
153
+ /**
154
+ * <p>The resource that caused the quota exception.</p>
155
+ * @public
156
+ */
157
+ resourceId?: string | undefined;
158
+ /**
159
+ * <p>The type of resource that caused the quota exception.</p>
160
+ * @public
161
+ */
162
+ resourceType?: string | undefined;
163
+ /**
164
+ * <p>This name of the service associated with the error.</p>
165
+ * @public
166
+ */
167
+ serviceCode?: string | undefined;
168
+ /**
169
+ * <p>This quota that was exceeded.</p>
170
+ * @public
171
+ */
172
+ quotaCode?: string | undefined;
173
+ /**
174
+ * @internal
175
+ */
176
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
177
+ }
178
+ /**
179
+ * <p>The request was throttled because of quota limits. You can try again later.</p>
180
+ * @public
181
+ */
182
+ export declare class ThrottlingException extends __BaseException {
183
+ readonly name: "ThrottlingException";
184
+ readonly $fault: "client";
185
+ /**
186
+ * @internal
187
+ */
188
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
189
+ }
190
+ /**
191
+ * <p>This operation or its parameters aren't formatted correctly.</p>
192
+ * @public
193
+ */
194
+ export declare class ValidationException extends __BaseException {
195
+ readonly name: "ValidationException";
196
+ readonly $fault: "client";
197
+ /**
198
+ * @internal
199
+ */
200
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
201
+ }
202
+ /**
203
+ * @public
204
+ */
205
+ export interface DeleteInvestigationGroupRequest {
206
+ /**
207
+ * <p>Specify either the name or the ARN of the investigation group that you want to delete.</p>
208
+ * @public
209
+ */
210
+ identifier: string | undefined;
211
+ }
212
+ /**
213
+ * @public
214
+ */
215
+ export interface GetInvestigationGroupRequest {
216
+ /**
217
+ * <p>Specify either the name or the ARN of the investigation group that you want to view.</p>
218
+ * @public
219
+ */
220
+ identifier: string | undefined;
221
+ }
222
+ /**
223
+ * @public
224
+ */
225
+ export interface GetInvestigationGroupResponse {
226
+ /**
227
+ * <p>The name of the user who created the investigation group.</p>
228
+ * @public
229
+ */
230
+ createdBy?: string | undefined;
231
+ /**
232
+ * <p>The date and time that the investigation group was created.</p>
233
+ * @public
234
+ */
235
+ createdAt?: Date | undefined;
236
+ /**
237
+ * <p>The name of the user who created the investigation group.</p>
238
+ * @public
239
+ */
240
+ lastModifiedBy?: string | undefined;
241
+ /**
242
+ * <p>The date and time that the investigation group was most recently modified.</p>
243
+ * @public
244
+ */
245
+ lastModifiedAt?: Date | undefined;
246
+ /**
247
+ * <p>The name of the investigation group.</p>
248
+ * @public
249
+ */
250
+ name?: string | undefined;
251
+ /**
252
+ * <p>The Amazon Resource Name (ARN) of the investigation group.</p>
253
+ * @public
254
+ */
255
+ arn?: string | undefined;
256
+ /**
257
+ * <p>The ARN of the IAM role that the investigation group uses for permissions to gather data.</p>
258
+ * @public
259
+ */
260
+ roleArn?: string | undefined;
261
+ /**
262
+ * <p>Specifies the customer managed KMS key that the investigation group uses to encrypt data, if there is one. If not, the investigation group uses an Amazon Web Services key to encrypt the data.</p>
263
+ * @public
264
+ */
265
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
266
+ /**
267
+ * <p>Specifies how long that investigation data is kept.</p>
268
+ * @public
269
+ */
270
+ retentionInDays?: number | undefined;
271
+ /**
272
+ * <p>This structure is a string array. The first string is the ARN of a Amazon SNS topic. The array of strings display the ARNs of Amazon Q in chat applications configurations that are associated with that topic. For more information about these configuration ARNs, see <a href="https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html">Getting started with Amazon Q in chat applications</a> and <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies">Resource type defined by Amazon Web Services Chatbot</a>.</p>
273
+ * @public
274
+ */
275
+ chatbotNotificationChannel?: Record<string, string[]> | undefined;
276
+ /**
277
+ * <p>Displays the custom tag keys for custom applications in your system that you have specified in the investigation group. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. </p>
278
+ * @public
279
+ */
280
+ tagKeyBoundaries?: string[] | undefined;
281
+ /**
282
+ * <p>Specifies whether Amazon Q Developer operational investigationshas access to change events that are recorded by CloudTrail.</p>
283
+ * @public
284
+ */
285
+ isCloudTrailEventHistoryEnabled?: boolean | undefined;
286
+ }
287
+ /**
288
+ * @public
289
+ */
290
+ export interface ListInvestigationGroupsInput {
291
+ /**
292
+ * <p>Include this value, if it was returned by the previous operation, to get the next set of service operations.</p>
293
+ * @public
294
+ */
295
+ nextToken?: string | undefined;
296
+ /**
297
+ * <p>The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.</p>
298
+ * @public
299
+ */
300
+ maxResults?: number | undefined;
301
+ }
302
+ /**
303
+ * <p>This structure contains information about one investigation group in the account.</p>
304
+ * @public
305
+ */
306
+ export interface ListInvestigationGroupsModel {
307
+ /**
308
+ * <p>The Amazon Resource Name (ARN) of the investigation group.</p>
309
+ * @public
310
+ */
311
+ arn?: string | undefined;
312
+ /**
313
+ * <p>The name of the investigation group.</p>
314
+ * @public
315
+ */
316
+ name?: string | undefined;
317
+ }
318
+ /**
319
+ * @public
320
+ */
321
+ export interface ListInvestigationGroupsOutput {
322
+ /**
323
+ * <p>Include this value in your next use of this operation to get the next set of service operations.</p>
324
+ * @public
325
+ */
326
+ nextToken?: string | undefined;
327
+ /**
328
+ * <p>An array of structures, where each structure contains the information about one investigation group in the account.</p>
329
+ * @public
330
+ */
331
+ investigationGroups?: ListInvestigationGroupsModel[] | undefined;
332
+ }
333
+ /**
334
+ * @public
335
+ */
336
+ export interface UpdateInvestigationGroupOutput {
337
+ }
338
+ /**
339
+ * @public
340
+ */
341
+ export interface UpdateInvestigationGroupRequest {
342
+ /**
343
+ * <p>Specify either the name or the ARN of the investigation group that you want to modify.</p>
344
+ * @public
345
+ */
346
+ identifier: string | undefined;
347
+ /**
348
+ * <p>Specify this field if you want to change the IAM role that Amazon Q Developer operational investigations will use when it gathers investigation data. To do so, specify the ARN of the new role.</p> <p>The permissions in this role determine which of your resources that Amazon Q Developer operational investigations will have access to during investigations.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-Security-Data">EHow to control what data Amazon Q has access to during investigations</a>.</p>
349
+ * @public
350
+ */
351
+ roleArn?: string | undefined;
352
+ /**
353
+ * <p>Use this structure if you want to use a customer managed KMS key to encrypt your investigation data. If you omit this parameter, Amazon Q Developer operational investigations will use an Amazon Web Services key to encrypt the data. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-KMS">Encryption of investigation data</a>.</p>
354
+ * @public
355
+ */
356
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
357
+ /**
358
+ * <p>Enter the existing custom tag keys for custom applications in your system. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources. For example, to discover that an Amazon ECS service depends on an Amazon RDS database, Amazon Q can discover this relationship using data sources such as X-Ray and CloudWatch Application Signals. However, if you haven't deployed these features, Amazon Q will attempt to identify possible relationships. Tag boundaries can be used to narrow the resources that will be discovered by Amazon Q in these cases.</p> <p>You don't need to enter tags created by myApplications or CloudFormation, because Amazon Q can automatically detect those tags.</p>
359
+ * @public
360
+ */
361
+ tagKeyBoundaries?: string[] | undefined;
362
+ /**
363
+ * <p>Use this structure to integrate Amazon Q Developer operational investigations with Amazon Q in chat applications. This structure is a string array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more Amazon Q in chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see <a href="https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html">Getting started with Amazon Q in chat applications</a> and <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies">Resource type defined by Amazon Web Services Chatbot</a>.</p>
364
+ * @public
365
+ */
366
+ chatbotNotificationChannel?: Record<string, string[]> | undefined;
367
+ /**
368
+ * <p>Specify <code>true</code> to enable Amazon Q Developer operational investigations to have access to change events that are recorded by CloudTrail. The default is <code>true</code>.</p>
369
+ * @public
370
+ */
371
+ isCloudTrailEventHistoryEnabled?: boolean | undefined;
372
+ }
373
+ /**
374
+ * @public
375
+ */
376
+ export interface DeleteInvestigationGroupPolicyOutput {
377
+ }
378
+ /**
379
+ * @public
380
+ */
381
+ export interface DeleteInvestigationGroupPolicyRequest {
382
+ /**
383
+ * <p>Specify either the name or the ARN of the investigation group that you want to remove the policy from.</p>
384
+ * @public
385
+ */
386
+ identifier: string | undefined;
387
+ }
388
+ /**
389
+ * @public
390
+ */
391
+ export interface GetInvestigationGroupPolicyRequest {
392
+ /**
393
+ * <p>Specify either the name or the ARN of the investigation group that you want to view the policy of.</p>
394
+ * @public
395
+ */
396
+ identifier: string | undefined;
397
+ }
398
+ /**
399
+ * @public
400
+ */
401
+ export interface GetInvestigationGroupPolicyResponse {
402
+ /**
403
+ * <p>The Amazon Resource Name (ARN) of the investigation group that you want to view the policy of.</p>
404
+ * @public
405
+ */
406
+ investigationGroupArn?: string | undefined;
407
+ /**
408
+ * <p>The policy, in JSON format.</p>
409
+ * @public
410
+ */
411
+ policy?: string | undefined;
412
+ }
413
+ /**
414
+ * @public
415
+ */
416
+ export interface PutInvestigationGroupPolicyRequest {
417
+ /**
418
+ * <p>Specify either the name or the ARN of the investigation group that you want to assign the policy to.</p>
419
+ * @public
420
+ */
421
+ identifier: string | undefined;
422
+ /**
423
+ * <p>The policy, in JSON format.</p>
424
+ * @public
425
+ */
426
+ policy: string | undefined;
427
+ }
428
+ /**
429
+ * @public
430
+ */
431
+ export interface PutInvestigationGroupPolicyResponse {
432
+ /**
433
+ * <p>The ARN of the investigation group that will use this policy.</p>
434
+ * @public
435
+ */
436
+ investigationGroupArn?: string | undefined;
437
+ }
438
+ /**
439
+ * @public
440
+ */
441
+ export interface ListTagsForResourceOutput {
442
+ /**
443
+ * <p>The list of tag keys and values associated with the resource you specified.</p>
444
+ * @public
445
+ */
446
+ tags?: Record<string, string> | undefined;
447
+ }
448
+ /**
449
+ * @public
450
+ */
451
+ export interface ListTagsForResourceRequest {
452
+ /**
453
+ * <p>The ARN of the Amazon Q Developer operational investigations resource that you want to view tags for. You can use the <a href="https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_ListInvestigationGroups.html">ListInvestigationGroups</a> operation to find the ARNs of investigation groups.</p> <p>The ARN format for an investigation group is <code>arn:aws:aiops:<i>Region</i>:<i>account-id</i>:investigation-group:<i>investigation-group-id</i> </code>.</p>
454
+ * @public
455
+ */
456
+ resourceArn: string | undefined;
457
+ }
458
+ /**
459
+ * @public
460
+ */
461
+ export interface TagResourceRequest {
462
+ /**
463
+ * <p>The Amazon Resource Name (ARN) of the resource that you want to apply the tags to. You can use the <a href="https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_ListInvestigationGroups.html">ListInvestigationGroups</a> operation to find the ARNs of investigation groups.</p>
464
+ * @public
465
+ */
466
+ resourceArn: string | undefined;
467
+ /**
468
+ * <p>The list of key-value pairs to associate with the resource.</p>
469
+ * @public
470
+ */
471
+ tags: Record<string, string> | undefined;
472
+ }
473
+ /**
474
+ * @public
475
+ */
476
+ export interface TagResourceResponse {
477
+ }
478
+ /**
479
+ * @public
480
+ */
481
+ export interface UntagResourceRequest {
482
+ /**
483
+ * <p>The Amazon Resource Name (ARN) of the resource that you want to remove the tags from. You can use the <a href="https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_ListInvestigationGroups.html">ListInvestigationGroups</a> operation to find the ARNs of investigation groups.</p>
484
+ * @public
485
+ */
486
+ resourceArn: string | undefined;
487
+ /**
488
+ * <p>The list of tag keys to remove from the resource.</p>
489
+ * @public
490
+ */
491
+ tagKeys: string[] | undefined;
492
+ }
493
+ /**
494
+ * @public
495
+ */
496
+ export interface UntagResourceResponse {
497
+ }
498
+ /**
499
+ * @internal
500
+ */
501
+ export declare const ListInvestigationGroupsInputFilterSensitiveLog: (obj: ListInvestigationGroupsInput) => any;
502
+ /**
503
+ * @internal
504
+ */
505
+ export declare const ListInvestigationGroupsOutputFilterSensitiveLog: (obj: ListInvestigationGroupsOutput) => any;
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { AIOpsClient } from "../AIOpsClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface AIOpsPaginationConfiguration extends PaginationConfiguration {
7
+ client: AIOpsClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput } from "../commands/ListInvestigationGroupsCommand";
3
+ import { AIOpsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListInvestigationGroups: (config: AIOpsPaginationConfiguration, input: ListInvestigationGroupsCommandInput, ...rest: any[]) => Paginator<ListInvestigationGroupsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListInvestigationGroupsPaginator";
@@ -0,0 +1,101 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput } from "../commands/CreateInvestigationGroupCommand";
4
+ import { DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput } from "../commands/DeleteInvestigationGroupCommand";
5
+ import { DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput } from "../commands/DeleteInvestigationGroupPolicyCommand";
6
+ import { GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput } from "../commands/GetInvestigationGroupCommand";
7
+ import { GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput } from "../commands/GetInvestigationGroupPolicyCommand";
8
+ import { ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput } from "../commands/ListInvestigationGroupsCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
10
+ import { PutInvestigationGroupPolicyCommandInput, PutInvestigationGroupPolicyCommandOutput } from "../commands/PutInvestigationGroupPolicyCommand";
11
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
12
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
13
+ import { UpdateInvestigationGroupCommandInput, UpdateInvestigationGroupCommandOutput } from "../commands/UpdateInvestigationGroupCommand";
14
+ /**
15
+ * serializeAws_restJson1CreateInvestigationGroupCommand
16
+ */
17
+ export declare const se_CreateInvestigationGroupCommand: (input: CreateInvestigationGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ /**
19
+ * serializeAws_restJson1DeleteInvestigationGroupCommand
20
+ */
21
+ export declare const se_DeleteInvestigationGroupCommand: (input: DeleteInvestigationGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
+ /**
23
+ * serializeAws_restJson1DeleteInvestigationGroupPolicyCommand
24
+ */
25
+ export declare const se_DeleteInvestigationGroupPolicyCommand: (input: DeleteInvestigationGroupPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
+ /**
27
+ * serializeAws_restJson1GetInvestigationGroupCommand
28
+ */
29
+ export declare const se_GetInvestigationGroupCommand: (input: GetInvestigationGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
+ /**
31
+ * serializeAws_restJson1GetInvestigationGroupPolicyCommand
32
+ */
33
+ export declare const se_GetInvestigationGroupPolicyCommand: (input: GetInvestigationGroupPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
+ /**
35
+ * serializeAws_restJson1ListInvestigationGroupsCommand
36
+ */
37
+ export declare const se_ListInvestigationGroupsCommand: (input: ListInvestigationGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ /**
39
+ * serializeAws_restJson1ListTagsForResourceCommand
40
+ */
41
+ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
+ /**
43
+ * serializeAws_restJson1PutInvestigationGroupPolicyCommand
44
+ */
45
+ export declare const se_PutInvestigationGroupPolicyCommand: (input: PutInvestigationGroupPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
+ /**
47
+ * serializeAws_restJson1TagResourceCommand
48
+ */
49
+ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ /**
51
+ * serializeAws_restJson1UntagResourceCommand
52
+ */
53
+ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
+ /**
55
+ * serializeAws_restJson1UpdateInvestigationGroupCommand
56
+ */
57
+ export declare const se_UpdateInvestigationGroupCommand: (input: UpdateInvestigationGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
+ /**
59
+ * deserializeAws_restJson1CreateInvestigationGroupCommand
60
+ */
61
+ export declare const de_CreateInvestigationGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateInvestigationGroupCommandOutput>;
62
+ /**
63
+ * deserializeAws_restJson1DeleteInvestigationGroupCommand
64
+ */
65
+ export declare const de_DeleteInvestigationGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteInvestigationGroupCommandOutput>;
66
+ /**
67
+ * deserializeAws_restJson1DeleteInvestigationGroupPolicyCommand
68
+ */
69
+ export declare const de_DeleteInvestigationGroupPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteInvestigationGroupPolicyCommandOutput>;
70
+ /**
71
+ * deserializeAws_restJson1GetInvestigationGroupCommand
72
+ */
73
+ export declare const de_GetInvestigationGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInvestigationGroupCommandOutput>;
74
+ /**
75
+ * deserializeAws_restJson1GetInvestigationGroupPolicyCommand
76
+ */
77
+ export declare const de_GetInvestigationGroupPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInvestigationGroupPolicyCommandOutput>;
78
+ /**
79
+ * deserializeAws_restJson1ListInvestigationGroupsCommand
80
+ */
81
+ export declare const de_ListInvestigationGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInvestigationGroupsCommandOutput>;
82
+ /**
83
+ * deserializeAws_restJson1ListTagsForResourceCommand
84
+ */
85
+ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
86
+ /**
87
+ * deserializeAws_restJson1PutInvestigationGroupPolicyCommand
88
+ */
89
+ export declare const de_PutInvestigationGroupPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInvestigationGroupPolicyCommandOutput>;
90
+ /**
91
+ * deserializeAws_restJson1TagResourceCommand
92
+ */
93
+ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
94
+ /**
95
+ * deserializeAws_restJson1UntagResourceCommand
96
+ */
97
+ export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
98
+ /**
99
+ * deserializeAws_restJson1UpdateInvestigationGroupCommand
100
+ */
101
+ export declare const de_UpdateInvestigationGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateInvestigationGroupCommandOutput>;