@aws-sdk/client-amp 3.168.0 → 3.170.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 (43) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Amp.d.ts +382 -110
  3. package/dist-types/ts3.4/AmpClient.d.ts +254 -94
  4. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +41 -17
  5. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +41 -17
  7. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +37 -17
  8. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +37 -17
  9. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +37 -17
  10. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +37 -17
  11. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +32 -17
  12. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +41 -17
  15. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +38 -17
  16. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  18. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +41 -17
  20. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  22. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  23. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +36 -17
  25. package/dist-types/ts3.4/commands/index.d.ts +21 -21
  26. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  27. package/dist-types/ts3.4/index.d.ts +7 -7
  28. package/dist-types/ts3.4/models/AmpServiceException.d.ts +8 -6
  29. package/dist-types/ts3.4/models/index.d.ts +1 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +675 -619
  31. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  32. package/dist-types/ts3.4/pagination/ListRuleGroupsNamespacesPaginator.d.ts +11 -4
  33. package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +11 -4
  34. package/dist-types/ts3.4/pagination/index.d.ts +3 -3
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -65
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  40. package/dist-types/ts3.4/waiters/index.d.ts +2 -2
  41. package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +13 -7
  42. package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +13 -7
  43. package/package.json +35 -35
@@ -1,619 +1,675 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { AmpServiceException as __BaseException } from "./AmpServiceException";
3
-
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
-
8
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
- }
10
-
11
- export declare class ConflictException extends __BaseException {
12
- readonly name: "ConflictException";
13
- readonly $fault: "client";
14
-
15
- resourceId: string | undefined;
16
-
17
- resourceType: string | undefined;
18
-
19
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
- }
21
-
22
- export interface CreateAlertManagerDefinitionRequest {
23
-
24
- workspaceId: string | undefined;
25
-
26
- data: Uint8Array | undefined;
27
-
28
- clientToken?: string;
29
- }
30
- export declare enum AlertManagerDefinitionStatusCode {
31
-
32
- ACTIVE = "ACTIVE",
33
-
34
- CREATING = "CREATING",
35
-
36
- CREATION_FAILED = "CREATION_FAILED",
37
-
38
- DELETING = "DELETING",
39
-
40
- UPDATE_FAILED = "UPDATE_FAILED",
41
-
42
- UPDATING = "UPDATING"
43
- }
44
-
45
- export interface AlertManagerDefinitionStatus {
46
-
47
- statusCode: AlertManagerDefinitionStatusCode | string | undefined;
48
-
49
- statusReason?: string;
50
- }
51
-
52
- export interface CreateAlertManagerDefinitionResponse {
53
-
54
- status: AlertManagerDefinitionStatus | undefined;
55
- }
56
-
57
- export declare class InternalServerException extends __BaseException {
58
- readonly name: "InternalServerException";
59
- readonly $fault: "server";
60
- $retryable: {};
61
-
62
- retryAfterSeconds?: number;
63
-
64
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
65
- }
66
-
67
- export declare class ResourceNotFoundException extends __BaseException {
68
- readonly name: "ResourceNotFoundException";
69
- readonly $fault: "client";
70
-
71
- resourceId: string | undefined;
72
-
73
- resourceType: string | undefined;
74
-
75
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
76
- }
77
-
78
- export declare class ServiceQuotaExceededException extends __BaseException {
79
- readonly name: "ServiceQuotaExceededException";
80
- readonly $fault: "client";
81
-
82
- resourceId: string | undefined;
83
-
84
- resourceType: string | undefined;
85
-
86
- serviceCode: string | undefined;
87
-
88
- quotaCode: string | undefined;
89
-
90
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
91
- }
92
-
93
- export declare class ThrottlingException extends __BaseException {
94
- readonly name: "ThrottlingException";
95
- readonly $fault: "client";
96
- $retryable: {};
97
-
98
- serviceCode?: string;
99
-
100
- quotaCode?: string;
101
-
102
- retryAfterSeconds?: number;
103
-
104
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
105
- }
106
-
107
- export interface ValidationExceptionField {
108
-
109
- name: string | undefined;
110
-
111
- message: string | undefined;
112
- }
113
- export declare enum ValidationExceptionReason {
114
- CANNOT_PARSE = "CANNOT_PARSE",
115
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
116
- OTHER = "OTHER",
117
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
118
- }
119
-
120
- export declare class ValidationException extends __BaseException {
121
- readonly name: "ValidationException";
122
- readonly $fault: "client";
123
-
124
- reason: ValidationExceptionReason | string | undefined;
125
-
126
- fieldList?: ValidationExceptionField[];
127
-
128
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
129
- }
130
-
131
- export interface DeleteAlertManagerDefinitionRequest {
132
-
133
- workspaceId: string | undefined;
134
-
135
- clientToken?: string;
136
- }
137
-
138
- export interface DescribeAlertManagerDefinitionRequest {
139
-
140
- workspaceId: string | undefined;
141
- }
142
-
143
- export interface AlertManagerDefinitionDescription {
144
-
145
- status: AlertManagerDefinitionStatus | undefined;
146
-
147
- data: Uint8Array | undefined;
148
-
149
- createdAt: Date | undefined;
150
-
151
- modifiedAt: Date | undefined;
152
- }
153
-
154
- export interface DescribeAlertManagerDefinitionResponse {
155
-
156
- alertManagerDefinition: AlertManagerDefinitionDescription | undefined;
157
- }
158
-
159
- export interface PutAlertManagerDefinitionRequest {
160
-
161
- workspaceId: string | undefined;
162
-
163
- data: Uint8Array | undefined;
164
-
165
- clientToken?: string;
166
- }
167
-
168
- export interface PutAlertManagerDefinitionResponse {
169
-
170
- status: AlertManagerDefinitionStatus | undefined;
171
- }
172
- export interface ListTagsForResourceRequest {
173
-
174
- resourceArn: string | undefined;
175
- }
176
- export interface ListTagsForResourceResponse {
177
-
178
- tags?: Record<string, string>;
179
- }
180
- export interface TagResourceRequest {
181
-
182
- resourceArn: string | undefined;
183
-
184
- tags: Record<string, string> | undefined;
185
- }
186
- export interface TagResourceResponse {
187
- }
188
- export interface UntagResourceRequest {
189
-
190
- resourceArn: string | undefined;
191
-
192
- tagKeys: string[] | undefined;
193
- }
194
- export interface UntagResourceResponse {
195
- }
196
-
197
- export interface CreateWorkspaceRequest {
198
-
199
- alias?: string;
200
-
201
- clientToken?: string;
202
-
203
- tags?: Record<string, string>;
204
- }
205
- export declare enum WorkspaceStatusCode {
206
-
207
- ACTIVE = "ACTIVE",
208
-
209
- CREATING = "CREATING",
210
-
211
- CREATION_FAILED = "CREATION_FAILED",
212
-
213
- DELETING = "DELETING",
214
-
215
- UPDATING = "UPDATING"
216
- }
217
-
218
- export interface WorkspaceStatus {
219
-
220
- statusCode: WorkspaceStatusCode | string | undefined;
221
- }
222
-
223
- export interface CreateWorkspaceResponse {
224
-
225
- workspaceId: string | undefined;
226
-
227
- arn: string | undefined;
228
-
229
- status: WorkspaceStatus | undefined;
230
-
231
- tags?: Record<string, string>;
232
- }
233
-
234
- export interface DeleteWorkspaceRequest {
235
-
236
- workspaceId: string | undefined;
237
-
238
- clientToken?: string;
239
- }
240
-
241
- export interface DescribeWorkspaceRequest {
242
-
243
- workspaceId: string | undefined;
244
- }
245
-
246
- export interface WorkspaceDescription {
247
-
248
- workspaceId: string | undefined;
249
-
250
- alias?: string;
251
-
252
- arn: string | undefined;
253
-
254
- status: WorkspaceStatus | undefined;
255
-
256
- prometheusEndpoint?: string;
257
-
258
- createdAt: Date | undefined;
259
-
260
- tags?: Record<string, string>;
261
- }
262
-
263
- export interface DescribeWorkspaceResponse {
264
-
265
- workspace: WorkspaceDescription | undefined;
266
- }
267
-
268
- export interface ListWorkspacesRequest {
269
-
270
- nextToken?: string;
271
-
272
- alias?: string;
273
-
274
- maxResults?: number;
275
- }
276
-
277
- export interface WorkspaceSummary {
278
-
279
- workspaceId: string | undefined;
280
-
281
- alias?: string;
282
-
283
- arn: string | undefined;
284
-
285
- status: WorkspaceStatus | undefined;
286
-
287
- createdAt: Date | undefined;
288
-
289
- tags?: Record<string, string>;
290
- }
291
-
292
- export interface ListWorkspacesResponse {
293
-
294
- workspaces: WorkspaceSummary[] | undefined;
295
-
296
- nextToken?: string;
297
- }
298
-
299
- export interface CreateLoggingConfigurationRequest {
300
-
301
- workspaceId: string | undefined;
302
-
303
- logGroupArn: string | undefined;
304
-
305
- clientToken?: string;
306
- }
307
- export declare enum LoggingConfigurationStatusCode {
308
-
309
- ACTIVE = "ACTIVE",
310
-
311
- CREATING = "CREATING",
312
-
313
- CREATION_FAILED = "CREATION_FAILED",
314
-
315
- DELETING = "DELETING",
316
-
317
- UPDATE_FAILED = "UPDATE_FAILED",
318
-
319
- UPDATING = "UPDATING"
320
- }
321
-
322
- export interface LoggingConfigurationStatus {
323
-
324
- statusCode: LoggingConfigurationStatusCode | string | undefined;
325
-
326
- statusReason?: string;
327
- }
328
-
329
- export interface CreateLoggingConfigurationResponse {
330
-
331
- status: LoggingConfigurationStatus | undefined;
332
- }
333
-
334
- export interface DeleteLoggingConfigurationRequest {
335
-
336
- workspaceId: string | undefined;
337
-
338
- clientToken?: string;
339
- }
340
-
341
- export interface DescribeLoggingConfigurationRequest {
342
-
343
- workspaceId: string | undefined;
344
- }
345
-
346
- export interface LoggingConfigurationMetadata {
347
-
348
- status: LoggingConfigurationStatus | undefined;
349
-
350
- workspace: string | undefined;
351
-
352
- logGroupArn: string | undefined;
353
-
354
- createdAt: Date | undefined;
355
-
356
- modifiedAt: Date | undefined;
357
- }
358
-
359
- export interface DescribeLoggingConfigurationResponse {
360
-
361
- loggingConfiguration: LoggingConfigurationMetadata | undefined;
362
- }
363
-
364
- export interface UpdateLoggingConfigurationRequest {
365
-
366
- workspaceId: string | undefined;
367
-
368
- logGroupArn: string | undefined;
369
-
370
- clientToken?: string;
371
- }
372
-
373
- export interface UpdateLoggingConfigurationResponse {
374
-
375
- status: LoggingConfigurationStatus | undefined;
376
- }
377
-
378
- export interface CreateRuleGroupsNamespaceRequest {
379
-
380
- workspaceId: string | undefined;
381
-
382
- name: string | undefined;
383
-
384
- data: Uint8Array | undefined;
385
-
386
- clientToken?: string;
387
-
388
- tags?: Record<string, string>;
389
- }
390
- export declare enum RuleGroupsNamespaceStatusCode {
391
-
392
- ACTIVE = "ACTIVE",
393
-
394
- CREATING = "CREATING",
395
-
396
- CREATION_FAILED = "CREATION_FAILED",
397
-
398
- DELETING = "DELETING",
399
-
400
- UPDATE_FAILED = "UPDATE_FAILED",
401
-
402
- UPDATING = "UPDATING"
403
- }
404
-
405
- export interface RuleGroupsNamespaceStatus {
406
-
407
- statusCode: RuleGroupsNamespaceStatusCode | string | undefined;
408
-
409
- statusReason?: string;
410
- }
411
-
412
- export interface CreateRuleGroupsNamespaceResponse {
413
-
414
- name: string | undefined;
415
-
416
- arn: string | undefined;
417
-
418
- status: RuleGroupsNamespaceStatus | undefined;
419
-
420
- tags?: Record<string, string>;
421
- }
422
-
423
- export interface DeleteRuleGroupsNamespaceRequest {
424
-
425
- workspaceId: string | undefined;
426
-
427
- name: string | undefined;
428
-
429
- clientToken?: string;
430
- }
431
-
432
- export interface DescribeRuleGroupsNamespaceRequest {
433
-
434
- workspaceId: string | undefined;
435
-
436
- name: string | undefined;
437
- }
438
-
439
- export interface RuleGroupsNamespaceDescription {
440
-
441
- arn: string | undefined;
442
-
443
- name: string | undefined;
444
-
445
- status: RuleGroupsNamespaceStatus | undefined;
446
-
447
- data: Uint8Array | undefined;
448
-
449
- createdAt: Date | undefined;
450
-
451
- modifiedAt: Date | undefined;
452
-
453
- tags?: Record<string, string>;
454
- }
455
-
456
- export interface DescribeRuleGroupsNamespaceResponse {
457
-
458
- ruleGroupsNamespace: RuleGroupsNamespaceDescription | undefined;
459
- }
460
-
461
- export interface ListRuleGroupsNamespacesRequest {
462
-
463
- workspaceId: string | undefined;
464
-
465
- name?: string;
466
-
467
- nextToken?: string;
468
-
469
- maxResults?: number;
470
- }
471
-
472
- export interface RuleGroupsNamespaceSummary {
473
-
474
- arn: string | undefined;
475
-
476
- name: string | undefined;
477
-
478
- status: RuleGroupsNamespaceStatus | undefined;
479
-
480
- createdAt: Date | undefined;
481
-
482
- modifiedAt: Date | undefined;
483
-
484
- tags?: Record<string, string>;
485
- }
486
-
487
- export interface ListRuleGroupsNamespacesResponse {
488
-
489
- ruleGroupsNamespaces: RuleGroupsNamespaceSummary[] | undefined;
490
-
491
- nextToken?: string;
492
- }
493
-
494
- export interface PutRuleGroupsNamespaceRequest {
495
-
496
- workspaceId: string | undefined;
497
-
498
- name: string | undefined;
499
-
500
- data: Uint8Array | undefined;
501
-
502
- clientToken?: string;
503
- }
504
-
505
- export interface PutRuleGroupsNamespaceResponse {
506
-
507
- name: string | undefined;
508
-
509
- arn: string | undefined;
510
-
511
- status: RuleGroupsNamespaceStatus | undefined;
512
-
513
- tags?: Record<string, string>;
514
- }
515
-
516
- export interface UpdateWorkspaceAliasRequest {
517
-
518
- workspaceId: string | undefined;
519
-
520
- alias?: string;
521
-
522
- clientToken?: string;
523
- }
524
-
525
- export declare const CreateAlertManagerDefinitionRequestFilterSensitiveLog: (obj: CreateAlertManagerDefinitionRequest) => any;
526
-
527
- export declare const AlertManagerDefinitionStatusFilterSensitiveLog: (obj: AlertManagerDefinitionStatus) => any;
528
-
529
- export declare const CreateAlertManagerDefinitionResponseFilterSensitiveLog: (obj: CreateAlertManagerDefinitionResponse) => any;
530
-
531
- export declare const ValidationExceptionFieldFilterSensitiveLog: (obj: ValidationExceptionField) => any;
532
-
533
- export declare const DeleteAlertManagerDefinitionRequestFilterSensitiveLog: (obj: DeleteAlertManagerDefinitionRequest) => any;
534
-
535
- export declare const DescribeAlertManagerDefinitionRequestFilterSensitiveLog: (obj: DescribeAlertManagerDefinitionRequest) => any;
536
-
537
- export declare const AlertManagerDefinitionDescriptionFilterSensitiveLog: (obj: AlertManagerDefinitionDescription) => any;
538
-
539
- export declare const DescribeAlertManagerDefinitionResponseFilterSensitiveLog: (obj: DescribeAlertManagerDefinitionResponse) => any;
540
-
541
- export declare const PutAlertManagerDefinitionRequestFilterSensitiveLog: (obj: PutAlertManagerDefinitionRequest) => any;
542
-
543
- export declare const PutAlertManagerDefinitionResponseFilterSensitiveLog: (obj: PutAlertManagerDefinitionResponse) => any;
544
-
545
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
546
-
547
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
548
-
549
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
550
-
551
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
552
-
553
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
554
-
555
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
556
-
557
- export declare const CreateWorkspaceRequestFilterSensitiveLog: (obj: CreateWorkspaceRequest) => any;
558
-
559
- export declare const WorkspaceStatusFilterSensitiveLog: (obj: WorkspaceStatus) => any;
560
-
561
- export declare const CreateWorkspaceResponseFilterSensitiveLog: (obj: CreateWorkspaceResponse) => any;
562
-
563
- export declare const DeleteWorkspaceRequestFilterSensitiveLog: (obj: DeleteWorkspaceRequest) => any;
564
-
565
- export declare const DescribeWorkspaceRequestFilterSensitiveLog: (obj: DescribeWorkspaceRequest) => any;
566
-
567
- export declare const WorkspaceDescriptionFilterSensitiveLog: (obj: WorkspaceDescription) => any;
568
-
569
- export declare const DescribeWorkspaceResponseFilterSensitiveLog: (obj: DescribeWorkspaceResponse) => any;
570
-
571
- export declare const ListWorkspacesRequestFilterSensitiveLog: (obj: ListWorkspacesRequest) => any;
572
-
573
- export declare const WorkspaceSummaryFilterSensitiveLog: (obj: WorkspaceSummary) => any;
574
-
575
- export declare const ListWorkspacesResponseFilterSensitiveLog: (obj: ListWorkspacesResponse) => any;
576
-
577
- export declare const CreateLoggingConfigurationRequestFilterSensitiveLog: (obj: CreateLoggingConfigurationRequest) => any;
578
-
579
- export declare const LoggingConfigurationStatusFilterSensitiveLog: (obj: LoggingConfigurationStatus) => any;
580
-
581
- export declare const CreateLoggingConfigurationResponseFilterSensitiveLog: (obj: CreateLoggingConfigurationResponse) => any;
582
-
583
- export declare const DeleteLoggingConfigurationRequestFilterSensitiveLog: (obj: DeleteLoggingConfigurationRequest) => any;
584
-
585
- export declare const DescribeLoggingConfigurationRequestFilterSensitiveLog: (obj: DescribeLoggingConfigurationRequest) => any;
586
-
587
- export declare const LoggingConfigurationMetadataFilterSensitiveLog: (obj: LoggingConfigurationMetadata) => any;
588
-
589
- export declare const DescribeLoggingConfigurationResponseFilterSensitiveLog: (obj: DescribeLoggingConfigurationResponse) => any;
590
-
591
- export declare const UpdateLoggingConfigurationRequestFilterSensitiveLog: (obj: UpdateLoggingConfigurationRequest) => any;
592
-
593
- export declare const UpdateLoggingConfigurationResponseFilterSensitiveLog: (obj: UpdateLoggingConfigurationResponse) => any;
594
-
595
- export declare const CreateRuleGroupsNamespaceRequestFilterSensitiveLog: (obj: CreateRuleGroupsNamespaceRequest) => any;
596
-
597
- export declare const RuleGroupsNamespaceStatusFilterSensitiveLog: (obj: RuleGroupsNamespaceStatus) => any;
598
-
599
- export declare const CreateRuleGroupsNamespaceResponseFilterSensitiveLog: (obj: CreateRuleGroupsNamespaceResponse) => any;
600
-
601
- export declare const DeleteRuleGroupsNamespaceRequestFilterSensitiveLog: (obj: DeleteRuleGroupsNamespaceRequest) => any;
602
-
603
- export declare const DescribeRuleGroupsNamespaceRequestFilterSensitiveLog: (obj: DescribeRuleGroupsNamespaceRequest) => any;
604
-
605
- export declare const RuleGroupsNamespaceDescriptionFilterSensitiveLog: (obj: RuleGroupsNamespaceDescription) => any;
606
-
607
- export declare const DescribeRuleGroupsNamespaceResponseFilterSensitiveLog: (obj: DescribeRuleGroupsNamespaceResponse) => any;
608
-
609
- export declare const ListRuleGroupsNamespacesRequestFilterSensitiveLog: (obj: ListRuleGroupsNamespacesRequest) => any;
610
-
611
- export declare const RuleGroupsNamespaceSummaryFilterSensitiveLog: (obj: RuleGroupsNamespaceSummary) => any;
612
-
613
- export declare const ListRuleGroupsNamespacesResponseFilterSensitiveLog: (obj: ListRuleGroupsNamespacesResponse) => any;
614
-
615
- export declare const PutRuleGroupsNamespaceRequestFilterSensitiveLog: (obj: PutRuleGroupsNamespaceRequest) => any;
616
-
617
- export declare const PutRuleGroupsNamespaceResponseFilterSensitiveLog: (obj: PutRuleGroupsNamespaceResponse) => any;
618
-
619
- export declare const UpdateWorkspaceAliasRequestFilterSensitiveLog: (obj: UpdateWorkspaceAliasRequest) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AmpServiceException as __BaseException } from "./AmpServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+
13
+ export declare class ConflictException extends __BaseException {
14
+ readonly name: "ConflictException";
15
+ readonly $fault: "client";
16
+
17
+ resourceId: string | undefined;
18
+
19
+ resourceType: string | undefined;
20
+
21
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
22
+ }
23
+
24
+ export interface CreateAlertManagerDefinitionRequest {
25
+ workspaceId: string | undefined;
26
+
27
+ data: Uint8Array | undefined;
28
+
29
+ clientToken?: string;
30
+ }
31
+ export declare enum AlertManagerDefinitionStatusCode {
32
+ ACTIVE = "ACTIVE",
33
+
34
+ CREATING = "CREATING",
35
+
36
+ CREATION_FAILED = "CREATION_FAILED",
37
+
38
+ DELETING = "DELETING",
39
+
40
+ UPDATE_FAILED = "UPDATE_FAILED",
41
+
42
+ UPDATING = "UPDATING",
43
+ }
44
+
45
+ export interface AlertManagerDefinitionStatus {
46
+ statusCode: AlertManagerDefinitionStatusCode | string | undefined;
47
+
48
+ statusReason?: string;
49
+ }
50
+
51
+ export interface CreateAlertManagerDefinitionResponse {
52
+ status: AlertManagerDefinitionStatus | undefined;
53
+ }
54
+
55
+ export declare class InternalServerException extends __BaseException {
56
+ readonly name: "InternalServerException";
57
+ readonly $fault: "server";
58
+ $retryable: {};
59
+
60
+ retryAfterSeconds?: number;
61
+
62
+ constructor(
63
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
64
+ );
65
+ }
66
+
67
+ export declare class ResourceNotFoundException extends __BaseException {
68
+ readonly name: "ResourceNotFoundException";
69
+ readonly $fault: "client";
70
+
71
+ resourceId: string | undefined;
72
+
73
+ resourceType: string | undefined;
74
+
75
+ constructor(
76
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
77
+ );
78
+ }
79
+
80
+ export declare class ServiceQuotaExceededException extends __BaseException {
81
+ readonly name: "ServiceQuotaExceededException";
82
+ readonly $fault: "client";
83
+
84
+ resourceId: string | undefined;
85
+
86
+ resourceType: string | undefined;
87
+
88
+ serviceCode: string | undefined;
89
+
90
+ quotaCode: string | undefined;
91
+
92
+ constructor(
93
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
94
+ );
95
+ }
96
+
97
+ export declare class ThrottlingException extends __BaseException {
98
+ readonly name: "ThrottlingException";
99
+ readonly $fault: "client";
100
+ $retryable: {};
101
+
102
+ serviceCode?: string;
103
+
104
+ quotaCode?: string;
105
+
106
+ retryAfterSeconds?: number;
107
+
108
+ constructor(
109
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
110
+ );
111
+ }
112
+
113
+ export interface ValidationExceptionField {
114
+ name: string | undefined;
115
+
116
+ message: string | undefined;
117
+ }
118
+ export declare enum ValidationExceptionReason {
119
+ CANNOT_PARSE = "CANNOT_PARSE",
120
+ FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
121
+ OTHER = "OTHER",
122
+ UNKNOWN_OPERATION = "UNKNOWN_OPERATION",
123
+ }
124
+
125
+ export declare class ValidationException extends __BaseException {
126
+ readonly name: "ValidationException";
127
+ readonly $fault: "client";
128
+
129
+ reason: ValidationExceptionReason | string | undefined;
130
+
131
+ fieldList?: ValidationExceptionField[];
132
+
133
+ constructor(
134
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
135
+ );
136
+ }
137
+
138
+ export interface DeleteAlertManagerDefinitionRequest {
139
+ workspaceId: string | undefined;
140
+
141
+ clientToken?: string;
142
+ }
143
+
144
+ export interface DescribeAlertManagerDefinitionRequest {
145
+ workspaceId: string | undefined;
146
+ }
147
+
148
+ export interface AlertManagerDefinitionDescription {
149
+ status: AlertManagerDefinitionStatus | undefined;
150
+
151
+ data: Uint8Array | undefined;
152
+
153
+ createdAt: Date | undefined;
154
+
155
+ modifiedAt: Date | undefined;
156
+ }
157
+
158
+ export interface DescribeAlertManagerDefinitionResponse {
159
+ alertManagerDefinition: AlertManagerDefinitionDescription | undefined;
160
+ }
161
+
162
+ export interface PutAlertManagerDefinitionRequest {
163
+ workspaceId: string | undefined;
164
+
165
+ data: Uint8Array | undefined;
166
+
167
+ clientToken?: string;
168
+ }
169
+
170
+ export interface PutAlertManagerDefinitionResponse {
171
+ status: AlertManagerDefinitionStatus | undefined;
172
+ }
173
+ export interface ListTagsForResourceRequest {
174
+ resourceArn: string | undefined;
175
+ }
176
+ export interface ListTagsForResourceResponse {
177
+ tags?: Record<string, string>;
178
+ }
179
+ export interface TagResourceRequest {
180
+ resourceArn: string | undefined;
181
+
182
+ tags: Record<string, string> | undefined;
183
+ }
184
+ export interface TagResourceResponse {}
185
+ export interface UntagResourceRequest {
186
+ resourceArn: string | undefined;
187
+
188
+ tagKeys: string[] | undefined;
189
+ }
190
+ export interface UntagResourceResponse {}
191
+
192
+ export interface CreateWorkspaceRequest {
193
+ alias?: string;
194
+
195
+ clientToken?: string;
196
+
197
+ tags?: Record<string, string>;
198
+ }
199
+ export declare enum WorkspaceStatusCode {
200
+ ACTIVE = "ACTIVE",
201
+
202
+ CREATING = "CREATING",
203
+
204
+ CREATION_FAILED = "CREATION_FAILED",
205
+
206
+ DELETING = "DELETING",
207
+
208
+ UPDATING = "UPDATING",
209
+ }
210
+
211
+ export interface WorkspaceStatus {
212
+ statusCode: WorkspaceStatusCode | string | undefined;
213
+ }
214
+
215
+ export interface CreateWorkspaceResponse {
216
+ workspaceId: string | undefined;
217
+
218
+ arn: string | undefined;
219
+
220
+ status: WorkspaceStatus | undefined;
221
+
222
+ tags?: Record<string, string>;
223
+ }
224
+
225
+ export interface DeleteWorkspaceRequest {
226
+ workspaceId: string | undefined;
227
+
228
+ clientToken?: string;
229
+ }
230
+
231
+ export interface DescribeWorkspaceRequest {
232
+ workspaceId: string | undefined;
233
+ }
234
+
235
+ export interface WorkspaceDescription {
236
+ workspaceId: string | undefined;
237
+
238
+ alias?: string;
239
+
240
+ arn: string | undefined;
241
+
242
+ status: WorkspaceStatus | undefined;
243
+
244
+ prometheusEndpoint?: string;
245
+
246
+ createdAt: Date | undefined;
247
+
248
+ tags?: Record<string, string>;
249
+ }
250
+
251
+ export interface DescribeWorkspaceResponse {
252
+ workspace: WorkspaceDescription | undefined;
253
+ }
254
+
255
+ export interface ListWorkspacesRequest {
256
+ nextToken?: string;
257
+
258
+ alias?: string;
259
+
260
+ maxResults?: number;
261
+ }
262
+
263
+ export interface WorkspaceSummary {
264
+ workspaceId: string | undefined;
265
+
266
+ alias?: string;
267
+
268
+ arn: string | undefined;
269
+
270
+ status: WorkspaceStatus | undefined;
271
+
272
+ createdAt: Date | undefined;
273
+
274
+ tags?: Record<string, string>;
275
+ }
276
+
277
+ export interface ListWorkspacesResponse {
278
+ workspaces: WorkspaceSummary[] | undefined;
279
+
280
+ nextToken?: string;
281
+ }
282
+
283
+ export interface CreateLoggingConfigurationRequest {
284
+ workspaceId: string | undefined;
285
+
286
+ logGroupArn: string | undefined;
287
+
288
+ clientToken?: string;
289
+ }
290
+ export declare enum LoggingConfigurationStatusCode {
291
+ ACTIVE = "ACTIVE",
292
+
293
+ CREATING = "CREATING",
294
+
295
+ CREATION_FAILED = "CREATION_FAILED",
296
+
297
+ DELETING = "DELETING",
298
+
299
+ UPDATE_FAILED = "UPDATE_FAILED",
300
+
301
+ UPDATING = "UPDATING",
302
+ }
303
+
304
+ export interface LoggingConfigurationStatus {
305
+ statusCode: LoggingConfigurationStatusCode | string | undefined;
306
+
307
+ statusReason?: string;
308
+ }
309
+
310
+ export interface CreateLoggingConfigurationResponse {
311
+ status: LoggingConfigurationStatus | undefined;
312
+ }
313
+
314
+ export interface DeleteLoggingConfigurationRequest {
315
+ workspaceId: string | undefined;
316
+
317
+ clientToken?: string;
318
+ }
319
+
320
+ export interface DescribeLoggingConfigurationRequest {
321
+ workspaceId: string | undefined;
322
+ }
323
+
324
+ export interface LoggingConfigurationMetadata {
325
+ status: LoggingConfigurationStatus | undefined;
326
+
327
+ workspace: string | undefined;
328
+
329
+ logGroupArn: string | undefined;
330
+
331
+ createdAt: Date | undefined;
332
+
333
+ modifiedAt: Date | undefined;
334
+ }
335
+
336
+ export interface DescribeLoggingConfigurationResponse {
337
+ loggingConfiguration: LoggingConfigurationMetadata | undefined;
338
+ }
339
+
340
+ export interface UpdateLoggingConfigurationRequest {
341
+ workspaceId: string | undefined;
342
+
343
+ logGroupArn: string | undefined;
344
+
345
+ clientToken?: string;
346
+ }
347
+
348
+ export interface UpdateLoggingConfigurationResponse {
349
+ status: LoggingConfigurationStatus | undefined;
350
+ }
351
+
352
+ export interface CreateRuleGroupsNamespaceRequest {
353
+ workspaceId: string | undefined;
354
+
355
+ name: string | undefined;
356
+
357
+ data: Uint8Array | undefined;
358
+
359
+ clientToken?: string;
360
+
361
+ tags?: Record<string, string>;
362
+ }
363
+ export declare enum RuleGroupsNamespaceStatusCode {
364
+ ACTIVE = "ACTIVE",
365
+
366
+ CREATING = "CREATING",
367
+
368
+ CREATION_FAILED = "CREATION_FAILED",
369
+
370
+ DELETING = "DELETING",
371
+
372
+ UPDATE_FAILED = "UPDATE_FAILED",
373
+
374
+ UPDATING = "UPDATING",
375
+ }
376
+
377
+ export interface RuleGroupsNamespaceStatus {
378
+ statusCode: RuleGroupsNamespaceStatusCode | string | undefined;
379
+
380
+ statusReason?: string;
381
+ }
382
+
383
+ export interface CreateRuleGroupsNamespaceResponse {
384
+ name: string | undefined;
385
+
386
+ arn: string | undefined;
387
+
388
+ status: RuleGroupsNamespaceStatus | undefined;
389
+
390
+ tags?: Record<string, string>;
391
+ }
392
+
393
+ export interface DeleteRuleGroupsNamespaceRequest {
394
+ workspaceId: string | undefined;
395
+
396
+ name: string | undefined;
397
+
398
+ clientToken?: string;
399
+ }
400
+
401
+ export interface DescribeRuleGroupsNamespaceRequest {
402
+ workspaceId: string | undefined;
403
+
404
+ name: string | undefined;
405
+ }
406
+
407
+ export interface RuleGroupsNamespaceDescription {
408
+ arn: string | undefined;
409
+
410
+ name: string | undefined;
411
+
412
+ status: RuleGroupsNamespaceStatus | undefined;
413
+
414
+ data: Uint8Array | undefined;
415
+
416
+ createdAt: Date | undefined;
417
+
418
+ modifiedAt: Date | undefined;
419
+
420
+ tags?: Record<string, string>;
421
+ }
422
+
423
+ export interface DescribeRuleGroupsNamespaceResponse {
424
+ ruleGroupsNamespace: RuleGroupsNamespaceDescription | undefined;
425
+ }
426
+
427
+ export interface ListRuleGroupsNamespacesRequest {
428
+ workspaceId: string | undefined;
429
+
430
+ name?: string;
431
+
432
+ nextToken?: string;
433
+
434
+ maxResults?: number;
435
+ }
436
+
437
+ export interface RuleGroupsNamespaceSummary {
438
+ arn: string | undefined;
439
+
440
+ name: string | undefined;
441
+
442
+ status: RuleGroupsNamespaceStatus | undefined;
443
+
444
+ createdAt: Date | undefined;
445
+
446
+ modifiedAt: Date | undefined;
447
+
448
+ tags?: Record<string, string>;
449
+ }
450
+
451
+ export interface ListRuleGroupsNamespacesResponse {
452
+ ruleGroupsNamespaces: RuleGroupsNamespaceSummary[] | undefined;
453
+
454
+ nextToken?: string;
455
+ }
456
+
457
+ export interface PutRuleGroupsNamespaceRequest {
458
+ workspaceId: string | undefined;
459
+
460
+ name: string | undefined;
461
+
462
+ data: Uint8Array | undefined;
463
+
464
+ clientToken?: string;
465
+ }
466
+
467
+ export interface PutRuleGroupsNamespaceResponse {
468
+ name: string | undefined;
469
+
470
+ arn: string | undefined;
471
+
472
+ status: RuleGroupsNamespaceStatus | undefined;
473
+
474
+ tags?: Record<string, string>;
475
+ }
476
+
477
+ export interface UpdateWorkspaceAliasRequest {
478
+ workspaceId: string | undefined;
479
+
480
+ alias?: string;
481
+
482
+ clientToken?: string;
483
+ }
484
+
485
+ export declare const CreateAlertManagerDefinitionRequestFilterSensitiveLog: (
486
+ obj: CreateAlertManagerDefinitionRequest
487
+ ) => any;
488
+
489
+ export declare const AlertManagerDefinitionStatusFilterSensitiveLog: (
490
+ obj: AlertManagerDefinitionStatus
491
+ ) => any;
492
+
493
+ export declare const CreateAlertManagerDefinitionResponseFilterSensitiveLog: (
494
+ obj: CreateAlertManagerDefinitionResponse
495
+ ) => any;
496
+
497
+ export declare const ValidationExceptionFieldFilterSensitiveLog: (
498
+ obj: ValidationExceptionField
499
+ ) => any;
500
+
501
+ export declare const DeleteAlertManagerDefinitionRequestFilterSensitiveLog: (
502
+ obj: DeleteAlertManagerDefinitionRequest
503
+ ) => any;
504
+
505
+ export declare const DescribeAlertManagerDefinitionRequestFilterSensitiveLog: (
506
+ obj: DescribeAlertManagerDefinitionRequest
507
+ ) => any;
508
+
509
+ export declare const AlertManagerDefinitionDescriptionFilterSensitiveLog: (
510
+ obj: AlertManagerDefinitionDescription
511
+ ) => any;
512
+
513
+ export declare const DescribeAlertManagerDefinitionResponseFilterSensitiveLog: (
514
+ obj: DescribeAlertManagerDefinitionResponse
515
+ ) => any;
516
+
517
+ export declare const PutAlertManagerDefinitionRequestFilterSensitiveLog: (
518
+ obj: PutAlertManagerDefinitionRequest
519
+ ) => any;
520
+
521
+ export declare const PutAlertManagerDefinitionResponseFilterSensitiveLog: (
522
+ obj: PutAlertManagerDefinitionResponse
523
+ ) => any;
524
+
525
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
526
+ obj: ListTagsForResourceRequest
527
+ ) => any;
528
+
529
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
530
+ obj: ListTagsForResourceResponse
531
+ ) => any;
532
+
533
+ export declare const TagResourceRequestFilterSensitiveLog: (
534
+ obj: TagResourceRequest
535
+ ) => any;
536
+
537
+ export declare const TagResourceResponseFilterSensitiveLog: (
538
+ obj: TagResourceResponse
539
+ ) => any;
540
+
541
+ export declare const UntagResourceRequestFilterSensitiveLog: (
542
+ obj: UntagResourceRequest
543
+ ) => any;
544
+
545
+ export declare const UntagResourceResponseFilterSensitiveLog: (
546
+ obj: UntagResourceResponse
547
+ ) => any;
548
+
549
+ export declare const CreateWorkspaceRequestFilterSensitiveLog: (
550
+ obj: CreateWorkspaceRequest
551
+ ) => any;
552
+
553
+ export declare const WorkspaceStatusFilterSensitiveLog: (
554
+ obj: WorkspaceStatus
555
+ ) => any;
556
+
557
+ export declare const CreateWorkspaceResponseFilterSensitiveLog: (
558
+ obj: CreateWorkspaceResponse
559
+ ) => any;
560
+
561
+ export declare const DeleteWorkspaceRequestFilterSensitiveLog: (
562
+ obj: DeleteWorkspaceRequest
563
+ ) => any;
564
+
565
+ export declare const DescribeWorkspaceRequestFilterSensitiveLog: (
566
+ obj: DescribeWorkspaceRequest
567
+ ) => any;
568
+
569
+ export declare const WorkspaceDescriptionFilterSensitiveLog: (
570
+ obj: WorkspaceDescription
571
+ ) => any;
572
+
573
+ export declare const DescribeWorkspaceResponseFilterSensitiveLog: (
574
+ obj: DescribeWorkspaceResponse
575
+ ) => any;
576
+
577
+ export declare const ListWorkspacesRequestFilterSensitiveLog: (
578
+ obj: ListWorkspacesRequest
579
+ ) => any;
580
+
581
+ export declare const WorkspaceSummaryFilterSensitiveLog: (
582
+ obj: WorkspaceSummary
583
+ ) => any;
584
+
585
+ export declare const ListWorkspacesResponseFilterSensitiveLog: (
586
+ obj: ListWorkspacesResponse
587
+ ) => any;
588
+
589
+ export declare const CreateLoggingConfigurationRequestFilterSensitiveLog: (
590
+ obj: CreateLoggingConfigurationRequest
591
+ ) => any;
592
+
593
+ export declare const LoggingConfigurationStatusFilterSensitiveLog: (
594
+ obj: LoggingConfigurationStatus
595
+ ) => any;
596
+
597
+ export declare const CreateLoggingConfigurationResponseFilterSensitiveLog: (
598
+ obj: CreateLoggingConfigurationResponse
599
+ ) => any;
600
+
601
+ export declare const DeleteLoggingConfigurationRequestFilterSensitiveLog: (
602
+ obj: DeleteLoggingConfigurationRequest
603
+ ) => any;
604
+
605
+ export declare const DescribeLoggingConfigurationRequestFilterSensitiveLog: (
606
+ obj: DescribeLoggingConfigurationRequest
607
+ ) => any;
608
+
609
+ export declare const LoggingConfigurationMetadataFilterSensitiveLog: (
610
+ obj: LoggingConfigurationMetadata
611
+ ) => any;
612
+
613
+ export declare const DescribeLoggingConfigurationResponseFilterSensitiveLog: (
614
+ obj: DescribeLoggingConfigurationResponse
615
+ ) => any;
616
+
617
+ export declare const UpdateLoggingConfigurationRequestFilterSensitiveLog: (
618
+ obj: UpdateLoggingConfigurationRequest
619
+ ) => any;
620
+
621
+ export declare const UpdateLoggingConfigurationResponseFilterSensitiveLog: (
622
+ obj: UpdateLoggingConfigurationResponse
623
+ ) => any;
624
+
625
+ export declare const CreateRuleGroupsNamespaceRequestFilterSensitiveLog: (
626
+ obj: CreateRuleGroupsNamespaceRequest
627
+ ) => any;
628
+
629
+ export declare const RuleGroupsNamespaceStatusFilterSensitiveLog: (
630
+ obj: RuleGroupsNamespaceStatus
631
+ ) => any;
632
+
633
+ export declare const CreateRuleGroupsNamespaceResponseFilterSensitiveLog: (
634
+ obj: CreateRuleGroupsNamespaceResponse
635
+ ) => any;
636
+
637
+ export declare const DeleteRuleGroupsNamespaceRequestFilterSensitiveLog: (
638
+ obj: DeleteRuleGroupsNamespaceRequest
639
+ ) => any;
640
+
641
+ export declare const DescribeRuleGroupsNamespaceRequestFilterSensitiveLog: (
642
+ obj: DescribeRuleGroupsNamespaceRequest
643
+ ) => any;
644
+
645
+ export declare const RuleGroupsNamespaceDescriptionFilterSensitiveLog: (
646
+ obj: RuleGroupsNamespaceDescription
647
+ ) => any;
648
+
649
+ export declare const DescribeRuleGroupsNamespaceResponseFilterSensitiveLog: (
650
+ obj: DescribeRuleGroupsNamespaceResponse
651
+ ) => any;
652
+
653
+ export declare const ListRuleGroupsNamespacesRequestFilterSensitiveLog: (
654
+ obj: ListRuleGroupsNamespacesRequest
655
+ ) => any;
656
+
657
+ export declare const RuleGroupsNamespaceSummaryFilterSensitiveLog: (
658
+ obj: RuleGroupsNamespaceSummary
659
+ ) => any;
660
+
661
+ export declare const ListRuleGroupsNamespacesResponseFilterSensitiveLog: (
662
+ obj: ListRuleGroupsNamespacesResponse
663
+ ) => any;
664
+
665
+ export declare const PutRuleGroupsNamespaceRequestFilterSensitiveLog: (
666
+ obj: PutRuleGroupsNamespaceRequest
667
+ ) => any;
668
+
669
+ export declare const PutRuleGroupsNamespaceResponseFilterSensitiveLog: (
670
+ obj: PutRuleGroupsNamespaceResponse
671
+ ) => any;
672
+
673
+ export declare const UpdateWorkspaceAliasRequestFilterSensitiveLog: (
674
+ obj: UpdateWorkspaceAliasRequest
675
+ ) => any;