@aws-sdk/client-amp 3.169.0 → 3.171.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 +361 -110
  3. package/dist-types/ts3.4/AmpClient.d.ts +229 -94
  4. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +39 -17
  7. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +35 -17
  11. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +30 -17
  12. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +39 -17
  13. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +39 -17
  14. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +36 -17
  16. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  18. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +35 -17
  19. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +39 -17
  20. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +39 -17
  21. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  22. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
  23. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +39 -17
  24. package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +34 -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 +7 -6
  29. package/dist-types/ts3.4/models/index.d.ts +1 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +462 -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 +65 -38
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  40. package/dist-types/ts3.4/waiters/index.d.ts +2 -2
  41. package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +11 -7
  42. package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +11 -7
  43. package/package.json +35 -35
@@ -1,619 +1,462 @@
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
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ConflictException extends __BaseException {
11
+ readonly name: "ConflictException";
12
+ readonly $fault: "client";
13
+ resourceId: string | undefined;
14
+ resourceType: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export interface CreateAlertManagerDefinitionRequest {
18
+ workspaceId: string | undefined;
19
+ data: Uint8Array | undefined;
20
+ clientToken?: string;
21
+ }
22
+ export declare enum AlertManagerDefinitionStatusCode {
23
+ ACTIVE = "ACTIVE",
24
+ CREATING = "CREATING",
25
+ CREATION_FAILED = "CREATION_FAILED",
26
+ DELETING = "DELETING",
27
+ UPDATE_FAILED = "UPDATE_FAILED",
28
+ UPDATING = "UPDATING",
29
+ }
30
+ export interface AlertManagerDefinitionStatus {
31
+ statusCode: AlertManagerDefinitionStatusCode | string | undefined;
32
+ statusReason?: string;
33
+ }
34
+ export interface CreateAlertManagerDefinitionResponse {
35
+ status: AlertManagerDefinitionStatus | undefined;
36
+ }
37
+ export declare class InternalServerException extends __BaseException {
38
+ readonly name: "InternalServerException";
39
+ readonly $fault: "server";
40
+ $retryable: {};
41
+ retryAfterSeconds?: number;
42
+ constructor(
43
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
44
+ );
45
+ }
46
+ export declare class ResourceNotFoundException extends __BaseException {
47
+ readonly name: "ResourceNotFoundException";
48
+ readonly $fault: "client";
49
+ resourceId: string | undefined;
50
+ resourceType: string | undefined;
51
+ constructor(
52
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
53
+ );
54
+ }
55
+ export declare class ServiceQuotaExceededException extends __BaseException {
56
+ readonly name: "ServiceQuotaExceededException";
57
+ readonly $fault: "client";
58
+ resourceId: string | undefined;
59
+ resourceType: string | undefined;
60
+ serviceCode: string | undefined;
61
+ quotaCode: string | undefined;
62
+ constructor(
63
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
64
+ );
65
+ }
66
+ export declare class ThrottlingException extends __BaseException {
67
+ readonly name: "ThrottlingException";
68
+ readonly $fault: "client";
69
+ $retryable: {};
70
+ serviceCode?: string;
71
+ quotaCode?: string;
72
+ retryAfterSeconds?: number;
73
+ constructor(
74
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
75
+ );
76
+ }
77
+ export interface ValidationExceptionField {
78
+ name: string | undefined;
79
+ message: string | undefined;
80
+ }
81
+ export declare enum ValidationExceptionReason {
82
+ CANNOT_PARSE = "CANNOT_PARSE",
83
+ FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
84
+ OTHER = "OTHER",
85
+ UNKNOWN_OPERATION = "UNKNOWN_OPERATION",
86
+ }
87
+ export declare class ValidationException extends __BaseException {
88
+ readonly name: "ValidationException";
89
+ readonly $fault: "client";
90
+ reason: ValidationExceptionReason | string | undefined;
91
+ fieldList?: ValidationExceptionField[];
92
+ constructor(
93
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
94
+ );
95
+ }
96
+ export interface DeleteAlertManagerDefinitionRequest {
97
+ workspaceId: string | undefined;
98
+ clientToken?: string;
99
+ }
100
+ export interface DescribeAlertManagerDefinitionRequest {
101
+ workspaceId: string | undefined;
102
+ }
103
+ export interface AlertManagerDefinitionDescription {
104
+ status: AlertManagerDefinitionStatus | undefined;
105
+ data: Uint8Array | undefined;
106
+ createdAt: Date | undefined;
107
+ modifiedAt: Date | undefined;
108
+ }
109
+ export interface DescribeAlertManagerDefinitionResponse {
110
+ alertManagerDefinition: AlertManagerDefinitionDescription | undefined;
111
+ }
112
+ export interface PutAlertManagerDefinitionRequest {
113
+ workspaceId: string | undefined;
114
+ data: Uint8Array | undefined;
115
+ clientToken?: string;
116
+ }
117
+ export interface PutAlertManagerDefinitionResponse {
118
+ status: AlertManagerDefinitionStatus | undefined;
119
+ }
120
+ export interface ListTagsForResourceRequest {
121
+ resourceArn: string | undefined;
122
+ }
123
+ export interface ListTagsForResourceResponse {
124
+ tags?: Record<string, string>;
125
+ }
126
+ export interface TagResourceRequest {
127
+ resourceArn: string | undefined;
128
+ tags: Record<string, string> | undefined;
129
+ }
130
+ export interface TagResourceResponse {}
131
+ export interface UntagResourceRequest {
132
+ resourceArn: string | undefined;
133
+ tagKeys: string[] | undefined;
134
+ }
135
+ export interface UntagResourceResponse {}
136
+ export interface CreateWorkspaceRequest {
137
+ alias?: string;
138
+ clientToken?: string;
139
+ tags?: Record<string, string>;
140
+ }
141
+ export declare enum WorkspaceStatusCode {
142
+ ACTIVE = "ACTIVE",
143
+ CREATING = "CREATING",
144
+ CREATION_FAILED = "CREATION_FAILED",
145
+ DELETING = "DELETING",
146
+ UPDATING = "UPDATING",
147
+ }
148
+ export interface WorkspaceStatus {
149
+ statusCode: WorkspaceStatusCode | string | undefined;
150
+ }
151
+ export interface CreateWorkspaceResponse {
152
+ workspaceId: string | undefined;
153
+ arn: string | undefined;
154
+ status: WorkspaceStatus | undefined;
155
+ tags?: Record<string, string>;
156
+ }
157
+ export interface DeleteWorkspaceRequest {
158
+ workspaceId: string | undefined;
159
+ clientToken?: string;
160
+ }
161
+ export interface DescribeWorkspaceRequest {
162
+ workspaceId: string | undefined;
163
+ }
164
+ export interface WorkspaceDescription {
165
+ workspaceId: string | undefined;
166
+ alias?: string;
167
+ arn: string | undefined;
168
+ status: WorkspaceStatus | undefined;
169
+ prometheusEndpoint?: string;
170
+ createdAt: Date | undefined;
171
+ tags?: Record<string, string>;
172
+ }
173
+ export interface DescribeWorkspaceResponse {
174
+ workspace: WorkspaceDescription | undefined;
175
+ }
176
+ export interface ListWorkspacesRequest {
177
+ nextToken?: string;
178
+ alias?: string;
179
+ maxResults?: number;
180
+ }
181
+ export interface WorkspaceSummary {
182
+ workspaceId: string | undefined;
183
+ alias?: string;
184
+ arn: string | undefined;
185
+ status: WorkspaceStatus | undefined;
186
+ createdAt: Date | undefined;
187
+ tags?: Record<string, string>;
188
+ }
189
+ export interface ListWorkspacesResponse {
190
+ workspaces: WorkspaceSummary[] | undefined;
191
+ nextToken?: string;
192
+ }
193
+ export interface CreateLoggingConfigurationRequest {
194
+ workspaceId: string | undefined;
195
+ logGroupArn: string | undefined;
196
+ clientToken?: string;
197
+ }
198
+ export declare enum LoggingConfigurationStatusCode {
199
+ ACTIVE = "ACTIVE",
200
+ CREATING = "CREATING",
201
+ CREATION_FAILED = "CREATION_FAILED",
202
+ DELETING = "DELETING",
203
+ UPDATE_FAILED = "UPDATE_FAILED",
204
+ UPDATING = "UPDATING",
205
+ }
206
+ export interface LoggingConfigurationStatus {
207
+ statusCode: LoggingConfigurationStatusCode | string | undefined;
208
+ statusReason?: string;
209
+ }
210
+ export interface CreateLoggingConfigurationResponse {
211
+ status: LoggingConfigurationStatus | undefined;
212
+ }
213
+ export interface DeleteLoggingConfigurationRequest {
214
+ workspaceId: string | undefined;
215
+ clientToken?: string;
216
+ }
217
+ export interface DescribeLoggingConfigurationRequest {
218
+ workspaceId: string | undefined;
219
+ }
220
+ export interface LoggingConfigurationMetadata {
221
+ status: LoggingConfigurationStatus | undefined;
222
+ workspace: string | undefined;
223
+ logGroupArn: string | undefined;
224
+ createdAt: Date | undefined;
225
+ modifiedAt: Date | undefined;
226
+ }
227
+ export interface DescribeLoggingConfigurationResponse {
228
+ loggingConfiguration: LoggingConfigurationMetadata | undefined;
229
+ }
230
+ export interface UpdateLoggingConfigurationRequest {
231
+ workspaceId: string | undefined;
232
+ logGroupArn: string | undefined;
233
+ clientToken?: string;
234
+ }
235
+ export interface UpdateLoggingConfigurationResponse {
236
+ status: LoggingConfigurationStatus | undefined;
237
+ }
238
+ export interface CreateRuleGroupsNamespaceRequest {
239
+ workspaceId: string | undefined;
240
+ name: string | undefined;
241
+ data: Uint8Array | undefined;
242
+ clientToken?: string;
243
+ tags?: Record<string, string>;
244
+ }
245
+ export declare enum RuleGroupsNamespaceStatusCode {
246
+ ACTIVE = "ACTIVE",
247
+ CREATING = "CREATING",
248
+ CREATION_FAILED = "CREATION_FAILED",
249
+ DELETING = "DELETING",
250
+ UPDATE_FAILED = "UPDATE_FAILED",
251
+ UPDATING = "UPDATING",
252
+ }
253
+ export interface RuleGroupsNamespaceStatus {
254
+ statusCode: RuleGroupsNamespaceStatusCode | string | undefined;
255
+ statusReason?: string;
256
+ }
257
+ export interface CreateRuleGroupsNamespaceResponse {
258
+ name: string | undefined;
259
+ arn: string | undefined;
260
+ status: RuleGroupsNamespaceStatus | undefined;
261
+ tags?: Record<string, string>;
262
+ }
263
+ export interface DeleteRuleGroupsNamespaceRequest {
264
+ workspaceId: string | undefined;
265
+ name: string | undefined;
266
+ clientToken?: string;
267
+ }
268
+ export interface DescribeRuleGroupsNamespaceRequest {
269
+ workspaceId: string | undefined;
270
+ name: string | undefined;
271
+ }
272
+ export interface RuleGroupsNamespaceDescription {
273
+ arn: string | undefined;
274
+ name: string | undefined;
275
+ status: RuleGroupsNamespaceStatus | undefined;
276
+ data: Uint8Array | undefined;
277
+ createdAt: Date | undefined;
278
+ modifiedAt: Date | undefined;
279
+ tags?: Record<string, string>;
280
+ }
281
+ export interface DescribeRuleGroupsNamespaceResponse {
282
+ ruleGroupsNamespace: RuleGroupsNamespaceDescription | undefined;
283
+ }
284
+ export interface ListRuleGroupsNamespacesRequest {
285
+ workspaceId: string | undefined;
286
+ name?: string;
287
+ nextToken?: string;
288
+ maxResults?: number;
289
+ }
290
+ export interface RuleGroupsNamespaceSummary {
291
+ arn: string | undefined;
292
+ name: string | undefined;
293
+ status: RuleGroupsNamespaceStatus | undefined;
294
+ createdAt: Date | undefined;
295
+ modifiedAt: Date | undefined;
296
+ tags?: Record<string, string>;
297
+ }
298
+ export interface ListRuleGroupsNamespacesResponse {
299
+ ruleGroupsNamespaces: RuleGroupsNamespaceSummary[] | undefined;
300
+ nextToken?: string;
301
+ }
302
+ export interface PutRuleGroupsNamespaceRequest {
303
+ workspaceId: string | undefined;
304
+ name: string | undefined;
305
+ data: Uint8Array | undefined;
306
+ clientToken?: string;
307
+ }
308
+ export interface PutRuleGroupsNamespaceResponse {
309
+ name: string | undefined;
310
+ arn: string | undefined;
311
+ status: RuleGroupsNamespaceStatus | undefined;
312
+ tags?: Record<string, string>;
313
+ }
314
+ export interface UpdateWorkspaceAliasRequest {
315
+ workspaceId: string | undefined;
316
+ alias?: string;
317
+ clientToken?: string;
318
+ }
319
+ export declare const CreateAlertManagerDefinitionRequestFilterSensitiveLog: (
320
+ obj: CreateAlertManagerDefinitionRequest
321
+ ) => any;
322
+ export declare const AlertManagerDefinitionStatusFilterSensitiveLog: (
323
+ obj: AlertManagerDefinitionStatus
324
+ ) => any;
325
+ export declare const CreateAlertManagerDefinitionResponseFilterSensitiveLog: (
326
+ obj: CreateAlertManagerDefinitionResponse
327
+ ) => any;
328
+ export declare const ValidationExceptionFieldFilterSensitiveLog: (
329
+ obj: ValidationExceptionField
330
+ ) => any;
331
+ export declare const DeleteAlertManagerDefinitionRequestFilterSensitiveLog: (
332
+ obj: DeleteAlertManagerDefinitionRequest
333
+ ) => any;
334
+ export declare const DescribeAlertManagerDefinitionRequestFilterSensitiveLog: (
335
+ obj: DescribeAlertManagerDefinitionRequest
336
+ ) => any;
337
+ export declare const AlertManagerDefinitionDescriptionFilterSensitiveLog: (
338
+ obj: AlertManagerDefinitionDescription
339
+ ) => any;
340
+ export declare const DescribeAlertManagerDefinitionResponseFilterSensitiveLog: (
341
+ obj: DescribeAlertManagerDefinitionResponse
342
+ ) => any;
343
+ export declare const PutAlertManagerDefinitionRequestFilterSensitiveLog: (
344
+ obj: PutAlertManagerDefinitionRequest
345
+ ) => any;
346
+ export declare const PutAlertManagerDefinitionResponseFilterSensitiveLog: (
347
+ obj: PutAlertManagerDefinitionResponse
348
+ ) => any;
349
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
350
+ obj: ListTagsForResourceRequest
351
+ ) => any;
352
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
353
+ obj: ListTagsForResourceResponse
354
+ ) => any;
355
+ export declare const TagResourceRequestFilterSensitiveLog: (
356
+ obj: TagResourceRequest
357
+ ) => any;
358
+ export declare const TagResourceResponseFilterSensitiveLog: (
359
+ obj: TagResourceResponse
360
+ ) => any;
361
+ export declare const UntagResourceRequestFilterSensitiveLog: (
362
+ obj: UntagResourceRequest
363
+ ) => any;
364
+ export declare const UntagResourceResponseFilterSensitiveLog: (
365
+ obj: UntagResourceResponse
366
+ ) => any;
367
+ export declare const CreateWorkspaceRequestFilterSensitiveLog: (
368
+ obj: CreateWorkspaceRequest
369
+ ) => any;
370
+ export declare const WorkspaceStatusFilterSensitiveLog: (
371
+ obj: WorkspaceStatus
372
+ ) => any;
373
+ export declare const CreateWorkspaceResponseFilterSensitiveLog: (
374
+ obj: CreateWorkspaceResponse
375
+ ) => any;
376
+ export declare const DeleteWorkspaceRequestFilterSensitiveLog: (
377
+ obj: DeleteWorkspaceRequest
378
+ ) => any;
379
+ export declare const DescribeWorkspaceRequestFilterSensitiveLog: (
380
+ obj: DescribeWorkspaceRequest
381
+ ) => any;
382
+ export declare const WorkspaceDescriptionFilterSensitiveLog: (
383
+ obj: WorkspaceDescription
384
+ ) => any;
385
+ export declare const DescribeWorkspaceResponseFilterSensitiveLog: (
386
+ obj: DescribeWorkspaceResponse
387
+ ) => any;
388
+ export declare const ListWorkspacesRequestFilterSensitiveLog: (
389
+ obj: ListWorkspacesRequest
390
+ ) => any;
391
+ export declare const WorkspaceSummaryFilterSensitiveLog: (
392
+ obj: WorkspaceSummary
393
+ ) => any;
394
+ export declare const ListWorkspacesResponseFilterSensitiveLog: (
395
+ obj: ListWorkspacesResponse
396
+ ) => any;
397
+ export declare const CreateLoggingConfigurationRequestFilterSensitiveLog: (
398
+ obj: CreateLoggingConfigurationRequest
399
+ ) => any;
400
+ export declare const LoggingConfigurationStatusFilterSensitiveLog: (
401
+ obj: LoggingConfigurationStatus
402
+ ) => any;
403
+ export declare const CreateLoggingConfigurationResponseFilterSensitiveLog: (
404
+ obj: CreateLoggingConfigurationResponse
405
+ ) => any;
406
+ export declare const DeleteLoggingConfigurationRequestFilterSensitiveLog: (
407
+ obj: DeleteLoggingConfigurationRequest
408
+ ) => any;
409
+ export declare const DescribeLoggingConfigurationRequestFilterSensitiveLog: (
410
+ obj: DescribeLoggingConfigurationRequest
411
+ ) => any;
412
+ export declare const LoggingConfigurationMetadataFilterSensitiveLog: (
413
+ obj: LoggingConfigurationMetadata
414
+ ) => any;
415
+ export declare const DescribeLoggingConfigurationResponseFilterSensitiveLog: (
416
+ obj: DescribeLoggingConfigurationResponse
417
+ ) => any;
418
+ export declare const UpdateLoggingConfigurationRequestFilterSensitiveLog: (
419
+ obj: UpdateLoggingConfigurationRequest
420
+ ) => any;
421
+ export declare const UpdateLoggingConfigurationResponseFilterSensitiveLog: (
422
+ obj: UpdateLoggingConfigurationResponse
423
+ ) => any;
424
+ export declare const CreateRuleGroupsNamespaceRequestFilterSensitiveLog: (
425
+ obj: CreateRuleGroupsNamespaceRequest
426
+ ) => any;
427
+ export declare const RuleGroupsNamespaceStatusFilterSensitiveLog: (
428
+ obj: RuleGroupsNamespaceStatus
429
+ ) => any;
430
+ export declare const CreateRuleGroupsNamespaceResponseFilterSensitiveLog: (
431
+ obj: CreateRuleGroupsNamespaceResponse
432
+ ) => any;
433
+ export declare const DeleteRuleGroupsNamespaceRequestFilterSensitiveLog: (
434
+ obj: DeleteRuleGroupsNamespaceRequest
435
+ ) => any;
436
+ export declare const DescribeRuleGroupsNamespaceRequestFilterSensitiveLog: (
437
+ obj: DescribeRuleGroupsNamespaceRequest
438
+ ) => any;
439
+ export declare const RuleGroupsNamespaceDescriptionFilterSensitiveLog: (
440
+ obj: RuleGroupsNamespaceDescription
441
+ ) => any;
442
+ export declare const DescribeRuleGroupsNamespaceResponseFilterSensitiveLog: (
443
+ obj: DescribeRuleGroupsNamespaceResponse
444
+ ) => any;
445
+ export declare const ListRuleGroupsNamespacesRequestFilterSensitiveLog: (
446
+ obj: ListRuleGroupsNamespacesRequest
447
+ ) => any;
448
+ export declare const RuleGroupsNamespaceSummaryFilterSensitiveLog: (
449
+ obj: RuleGroupsNamespaceSummary
450
+ ) => any;
451
+ export declare const ListRuleGroupsNamespacesResponseFilterSensitiveLog: (
452
+ obj: ListRuleGroupsNamespacesResponse
453
+ ) => any;
454
+ export declare const PutRuleGroupsNamespaceRequestFilterSensitiveLog: (
455
+ obj: PutRuleGroupsNamespaceRequest
456
+ ) => any;
457
+ export declare const PutRuleGroupsNamespaceResponseFilterSensitiveLog: (
458
+ obj: PutRuleGroupsNamespaceResponse
459
+ ) => any;
460
+ export declare const UpdateWorkspaceAliasRequestFilterSensitiveLog: (
461
+ obj: UpdateWorkspaceAliasRequest
462
+ ) => any;