aws-sdk 2.1408.0 → 2.1410.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.
package/clients/amp.d.ts CHANGED
@@ -201,21 +201,21 @@ declare namespace Amp {
201
201
  export type AlertManagerDefinitionData = Buffer|Uint8Array|Blob|string;
202
202
  export interface AlertManagerDefinitionDescription {
203
203
  /**
204
- * The time when the alert manager definition was created.
204
+ * The status of alert manager definition.
205
205
  */
206
- createdAt: Timestamp;
206
+ status: AlertManagerDefinitionStatus;
207
207
  /**
208
208
  * The alert manager definition.
209
209
  */
210
210
  data: AlertManagerDefinitionData;
211
211
  /**
212
- * The time when the alert manager definition was modified.
212
+ * The time when the alert manager definition was created.
213
213
  */
214
- modifiedAt: Timestamp;
214
+ createdAt: Timestamp;
215
215
  /**
216
- * The status of alert manager definition.
216
+ * The time when the alert manager definition was modified.
217
217
  */
218
- status: AlertManagerDefinitionStatus;
218
+ modifiedAt: Timestamp;
219
219
  }
220
220
  export interface AlertManagerDefinitionStatus {
221
221
  /**
@@ -230,17 +230,17 @@ declare namespace Amp {
230
230
  export type AlertManagerDefinitionStatusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED"|string;
231
231
  export interface CreateAlertManagerDefinitionRequest {
232
232
  /**
233
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
233
+ * The ID of the workspace in which to create the alert manager definition.
234
234
  */
235
- clientToken?: IdempotencyToken;
235
+ workspaceId: WorkspaceId;
236
236
  /**
237
237
  * The alert manager definition data.
238
238
  */
239
239
  data: AlertManagerDefinitionData;
240
240
  /**
241
- * The ID of the workspace in which to create the alert manager definition.
241
+ * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
242
242
  */
243
- workspaceId: WorkspaceId;
243
+ clientToken?: IdempotencyToken;
244
244
  }
245
245
  export interface CreateAlertManagerDefinitionResponse {
246
246
  /**
@@ -250,17 +250,17 @@ declare namespace Amp {
250
250
  }
251
251
  export interface CreateLoggingConfigurationRequest {
252
252
  /**
253
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
253
+ * The ID of the workspace to vend logs to.
254
254
  */
255
- clientToken?: IdempotencyToken;
255
+ workspaceId: WorkspaceId;
256
256
  /**
257
257
  * The ARN of the CW log group to which the vended log data will be published.
258
258
  */
259
259
  logGroupArn: LogGroupArn;
260
260
  /**
261
- * The ID of the workspace to vend logs to.
261
+ * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
262
262
  */
263
- workspaceId: WorkspaceId;
263
+ clientToken?: IdempotencyToken;
264
264
  }
265
265
  export interface CreateLoggingConfigurationResponse {
266
266
  /**
@@ -270,35 +270,35 @@ declare namespace Amp {
270
270
  }
271
271
  export interface CreateRuleGroupsNamespaceRequest {
272
272
  /**
273
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
273
+ * The ID of the workspace in which to create the rule group namespace.
274
274
  */
275
- clientToken?: IdempotencyToken;
275
+ workspaceId: WorkspaceId;
276
+ /**
277
+ * The rule groups namespace name.
278
+ */
279
+ name: RuleGroupsNamespaceName;
276
280
  /**
277
281
  * The namespace data that define the rule groups.
278
282
  */
279
283
  data: RuleGroupsNamespaceData;
280
284
  /**
281
- * The rule groups namespace name.
285
+ * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
282
286
  */
283
- name: RuleGroupsNamespaceName;
287
+ clientToken?: IdempotencyToken;
284
288
  /**
285
289
  * Optional, user-provided tags for this rule groups namespace.
286
290
  */
287
291
  tags?: TagMap;
288
- /**
289
- * The ID of the workspace in which to create the rule group namespace.
290
- */
291
- workspaceId: WorkspaceId;
292
292
  }
293
293
  export interface CreateRuleGroupsNamespaceResponse {
294
- /**
295
- * The Amazon Resource Name (ARN) of this rule groups namespace.
296
- */
297
- arn: RuleGroupsNamespaceArn;
298
294
  /**
299
295
  * The rule groups namespace name.
300
296
  */
301
297
  name: RuleGroupsNamespaceName;
298
+ /**
299
+ * The Amazon Resource Name (ARN) of this rule groups namespace.
300
+ */
301
+ arn: RuleGroupsNamespaceArn;
302
302
  /**
303
303
  * The status of rule groups namespace.
304
304
  */
@@ -323,6 +323,10 @@ declare namespace Amp {
323
323
  tags?: TagMap;
324
324
  }
325
325
  export interface CreateWorkspaceResponse {
326
+ /**
327
+ * The generated ID of the workspace that was just created.
328
+ */
329
+ workspaceId: WorkspaceId;
326
330
  /**
327
331
  * The ARN of the workspace that was just created.
328
332
  */
@@ -335,54 +339,50 @@ declare namespace Amp {
335
339
  * The tags of this workspace.
336
340
  */
337
341
  tags?: TagMap;
338
- /**
339
- * The generated ID of the workspace that was just created.
340
- */
341
- workspaceId: WorkspaceId;
342
342
  }
343
343
  export interface DeleteAlertManagerDefinitionRequest {
344
- /**
345
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
346
- */
347
- clientToken?: IdempotencyToken;
348
344
  /**
349
345
  * The ID of the workspace in which to delete the alert manager definition.
350
346
  */
351
347
  workspaceId: WorkspaceId;
352
- }
353
- export interface DeleteLoggingConfigurationRequest {
354
348
  /**
355
349
  * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
356
350
  */
357
351
  clientToken?: IdempotencyToken;
352
+ }
353
+ export interface DeleteLoggingConfigurationRequest {
358
354
  /**
359
355
  * The ID of the workspace to vend logs to.
360
356
  */
361
357
  workspaceId: WorkspaceId;
362
- }
363
- export interface DeleteRuleGroupsNamespaceRequest {
364
358
  /**
365
359
  * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
366
360
  */
367
361
  clientToken?: IdempotencyToken;
368
- /**
369
- * The rule groups namespace name.
370
- */
371
- name: RuleGroupsNamespaceName;
362
+ }
363
+ export interface DeleteRuleGroupsNamespaceRequest {
372
364
  /**
373
365
  * The ID of the workspace to delete rule group definition.
374
366
  */
375
367
  workspaceId: WorkspaceId;
376
- }
377
- export interface DeleteWorkspaceRequest {
368
+ /**
369
+ * The rule groups namespace name.
370
+ */
371
+ name: RuleGroupsNamespaceName;
378
372
  /**
379
373
  * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
380
374
  */
381
375
  clientToken?: IdempotencyToken;
376
+ }
377
+ export interface DeleteWorkspaceRequest {
382
378
  /**
383
379
  * The ID of the workspace to delete.
384
380
  */
385
381
  workspaceId: WorkspaceId;
382
+ /**
383
+ * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
384
+ */
385
+ clientToken?: IdempotencyToken;
386
386
  }
387
387
  export interface DescribeAlertManagerDefinitionRequest {
388
388
  /**
@@ -409,14 +409,14 @@ declare namespace Amp {
409
409
  loggingConfiguration: LoggingConfigurationMetadata;
410
410
  }
411
411
  export interface DescribeRuleGroupsNamespaceRequest {
412
- /**
413
- * The rule groups namespace.
414
- */
415
- name: RuleGroupsNamespaceName;
416
412
  /**
417
413
  * The ID of the workspace to describe.
418
414
  */
419
415
  workspaceId: WorkspaceId;
416
+ /**
417
+ * The rule groups namespace.
418
+ */
419
+ name: RuleGroupsNamespaceName;
420
420
  }
421
421
  export interface DescribeRuleGroupsNamespaceResponse {
422
422
  /**
@@ -439,9 +439,9 @@ declare namespace Amp {
439
439
  export type IdempotencyToken = string;
440
440
  export interface ListRuleGroupsNamespacesRequest {
441
441
  /**
442
- * Maximum results to return in response (default=100, maximum=1000).
442
+ * The ID of the workspace.
443
443
  */
444
- maxResults?: ListRuleGroupsNamespacesRequestMaxResultsInteger;
444
+ workspaceId: WorkspaceId;
445
445
  /**
446
446
  * Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.
447
447
  */
@@ -451,20 +451,20 @@ declare namespace Amp {
451
451
  */
452
452
  nextToken?: PaginationToken;
453
453
  /**
454
- * The ID of the workspace.
454
+ * Maximum results to return in response (default=100, maximum=1000).
455
455
  */
456
- workspaceId: WorkspaceId;
456
+ maxResults?: ListRuleGroupsNamespacesRequestMaxResultsInteger;
457
457
  }
458
458
  export type ListRuleGroupsNamespacesRequestMaxResultsInteger = number;
459
459
  export interface ListRuleGroupsNamespacesResponse {
460
- /**
461
- * Pagination token to use when requesting the next page in this list.
462
- */
463
- nextToken?: PaginationToken;
464
460
  /**
465
461
  * The list of the selected rule groups namespaces.
466
462
  */
467
463
  ruleGroupsNamespaces: RuleGroupsNamespaceSummaryList;
464
+ /**
465
+ * Pagination token to use when requesting the next page in this list.
466
+ */
467
+ nextToken?: PaginationToken;
468
468
  }
469
469
  export interface ListTagsForResourceRequest {
470
470
  /**
@@ -476,6 +476,10 @@ declare namespace Amp {
476
476
  tags?: TagMap;
477
477
  }
478
478
  export interface ListWorkspacesRequest {
479
+ /**
480
+ * Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
481
+ */
482
+ nextToken?: PaginationToken;
479
483
  /**
480
484
  * Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
481
485
  */
@@ -484,44 +488,40 @@ declare namespace Amp {
484
488
  * Maximum results to return in response (default=100, maximum=1000).
485
489
  */
486
490
  maxResults?: ListWorkspacesRequestMaxResultsInteger;
487
- /**
488
- * Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
489
- */
490
- nextToken?: PaginationToken;
491
491
  }
492
492
  export type ListWorkspacesRequestMaxResultsInteger = number;
493
493
  export interface ListWorkspacesResponse {
494
- /**
495
- * Pagination token to use when requesting the next page in this list.
496
- */
497
- nextToken?: PaginationToken;
498
494
  /**
499
495
  * The list of existing workspaces, including those undergoing creation or deletion.
500
496
  */
501
497
  workspaces: WorkspaceSummaryList;
498
+ /**
499
+ * Pagination token to use when requesting the next page in this list.
500
+ */
501
+ nextToken?: PaginationToken;
502
502
  }
503
503
  export type LogGroupArn = string;
504
504
  export interface LoggingConfigurationMetadata {
505
505
  /**
506
- * The time when the logging configuration was created.
506
+ * The status of the logging configuration.
507
507
  */
508
- createdAt: Timestamp;
508
+ status: LoggingConfigurationStatus;
509
509
  /**
510
- * The ARN of the CW log group to which the vended log data will be published.
510
+ * The workspace where the logging configuration exists.
511
511
  */
512
- logGroupArn: LogGroupArn;
512
+ workspace: WorkspaceId;
513
513
  /**
514
- * The time when the logging configuration was modified.
514
+ * The ARN of the CW log group to which the vended log data will be published.
515
515
  */
516
- modifiedAt: Timestamp;
516
+ logGroupArn: LogGroupArn;
517
517
  /**
518
- * The status of the logging configuration.
518
+ * The time when the logging configuration was created.
519
519
  */
520
- status: LoggingConfigurationStatus;
520
+ createdAt: Timestamp;
521
521
  /**
522
- * The workspace where the logging configuration exists.
522
+ * The time when the logging configuration was modified.
523
523
  */
524
- workspace: WorkspaceId;
524
+ modifiedAt: Timestamp;
525
525
  }
526
526
  export interface LoggingConfigurationStatus {
527
527
  /**
@@ -537,17 +537,17 @@ declare namespace Amp {
537
537
  export type PaginationToken = string;
538
538
  export interface PutAlertManagerDefinitionRequest {
539
539
  /**
540
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
540
+ * The ID of the workspace in which to update the alert manager definition.
541
541
  */
542
- clientToken?: IdempotencyToken;
542
+ workspaceId: WorkspaceId;
543
543
  /**
544
544
  * The alert manager definition data.
545
545
  */
546
546
  data: AlertManagerDefinitionData;
547
547
  /**
548
- * The ID of the workspace in which to update the alert manager definition.
548
+ * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
549
549
  */
550
- workspaceId: WorkspaceId;
550
+ clientToken?: IdempotencyToken;
551
551
  }
552
552
  export interface PutAlertManagerDefinitionResponse {
553
553
  /**
@@ -557,31 +557,31 @@ declare namespace Amp {
557
557
  }
558
558
  export interface PutRuleGroupsNamespaceRequest {
559
559
  /**
560
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
561
- */
562
- clientToken?: IdempotencyToken;
563
- /**
564
- * The namespace data that define the rule groups.
560
+ * The ID of the workspace in which to update the rule group namespace.
565
561
  */
566
- data: RuleGroupsNamespaceData;
562
+ workspaceId: WorkspaceId;
567
563
  /**
568
564
  * The rule groups namespace name.
569
565
  */
570
566
  name: RuleGroupsNamespaceName;
571
567
  /**
572
- * The ID of the workspace in which to update the rule group namespace.
568
+ * The namespace data that define the rule groups.
573
569
  */
574
- workspaceId: WorkspaceId;
575
- }
576
- export interface PutRuleGroupsNamespaceResponse {
570
+ data: RuleGroupsNamespaceData;
577
571
  /**
578
- * The Amazon Resource Name (ARN) of this rule groups namespace.
572
+ * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
579
573
  */
580
- arn: RuleGroupsNamespaceArn;
574
+ clientToken?: IdempotencyToken;
575
+ }
576
+ export interface PutRuleGroupsNamespaceResponse {
581
577
  /**
582
578
  * The rule groups namespace name.
583
579
  */
584
580
  name: RuleGroupsNamespaceName;
581
+ /**
582
+ * The Amazon Resource Name (ARN) of this rule groups namespace.
583
+ */
584
+ arn: RuleGroupsNamespaceArn;
585
585
  /**
586
586
  * The status of rule groups namespace.
587
587
  */
@@ -599,25 +599,25 @@ declare namespace Amp {
599
599
  */
600
600
  arn: RuleGroupsNamespaceArn;
601
601
  /**
602
- * The time when the rule groups namespace was created.
602
+ * The rule groups namespace name.
603
603
  */
604
- createdAt: Timestamp;
604
+ name: RuleGroupsNamespaceName;
605
605
  /**
606
- * The rule groups namespace data.
606
+ * The status of rule groups namespace.
607
607
  */
608
- data: RuleGroupsNamespaceData;
608
+ status: RuleGroupsNamespaceStatus;
609
609
  /**
610
- * The time when the rule groups namespace was modified.
610
+ * The rule groups namespace data.
611
611
  */
612
- modifiedAt: Timestamp;
612
+ data: RuleGroupsNamespaceData;
613
613
  /**
614
- * The rule groups namespace name.
614
+ * The time when the rule groups namespace was created.
615
615
  */
616
- name: RuleGroupsNamespaceName;
616
+ createdAt: Timestamp;
617
617
  /**
618
- * The status of rule groups namespace.
618
+ * The time when the rule groups namespace was modified.
619
619
  */
620
- status: RuleGroupsNamespaceStatus;
620
+ modifiedAt: Timestamp;
621
621
  /**
622
622
  * The tags of this rule groups namespace.
623
623
  */
@@ -640,14 +640,6 @@ declare namespace Amp {
640
640
  * The Amazon Resource Name (ARN) of this rule groups namespace.
641
641
  */
642
642
  arn: RuleGroupsNamespaceArn;
643
- /**
644
- * The time when the rule groups namespace was created.
645
- */
646
- createdAt: Timestamp;
647
- /**
648
- * The time when the rule groups namespace was modified.
649
- */
650
- modifiedAt: Timestamp;
651
643
  /**
652
644
  * The rule groups namespace name.
653
645
  */
@@ -656,6 +648,14 @@ declare namespace Amp {
656
648
  * The status of rule groups namespace.
657
649
  */
658
650
  status: RuleGroupsNamespaceStatus;
651
+ /**
652
+ * The time when the rule groups namespace was created.
653
+ */
654
+ createdAt: Timestamp;
655
+ /**
656
+ * The time when the rule groups namespace was modified.
657
+ */
658
+ modifiedAt: Timestamp;
659
659
  /**
660
660
  * The tags of this rule groups namespace.
661
661
  */
@@ -691,17 +691,17 @@ declare namespace Amp {
691
691
  }
692
692
  export interface UpdateLoggingConfigurationRequest {
693
693
  /**
694
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
694
+ * The ID of the workspace to vend logs to.
695
695
  */
696
- clientToken?: IdempotencyToken;
696
+ workspaceId: WorkspaceId;
697
697
  /**
698
698
  * The ARN of the CW log group to which the vended log data will be published.
699
699
  */
700
700
  logGroupArn: LogGroupArn;
701
701
  /**
702
- * The ID of the workspace to vend logs to.
702
+ * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
703
703
  */
704
- workspaceId: WorkspaceId;
704
+ clientToken?: IdempotencyToken;
705
705
  }
706
706
  export interface UpdateLoggingConfigurationResponse {
707
707
  /**
@@ -710,6 +710,10 @@ declare namespace Amp {
710
710
  status: LoggingConfigurationStatus;
711
711
  }
712
712
  export interface UpdateWorkspaceAliasRequest {
713
+ /**
714
+ * The ID of the workspace being updated.
715
+ */
716
+ workspaceId: WorkspaceId;
713
717
  /**
714
718
  * The new alias of the workspace.
715
719
  */
@@ -718,15 +722,15 @@ declare namespace Amp {
718
722
  * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
719
723
  */
720
724
  clientToken?: IdempotencyToken;
721
- /**
722
- * The ID of the workspace being updated.
723
- */
724
- workspaceId: WorkspaceId;
725
725
  }
726
726
  export type Uri = string;
727
727
  export type WorkspaceAlias = string;
728
728
  export type WorkspaceArn = string;
729
729
  export interface WorkspaceDescription {
730
+ /**
731
+ * Unique string identifying this workspace.
732
+ */
733
+ workspaceId: WorkspaceId;
730
734
  /**
731
735
  * Alias of this workspace.
732
736
  */
@@ -736,25 +740,21 @@ declare namespace Amp {
736
740
  */
737
741
  arn: WorkspaceArn;
738
742
  /**
739
- * The time when the workspace was created.
743
+ * The status of this workspace.
740
744
  */
741
- createdAt: Timestamp;
745
+ status: WorkspaceStatus;
742
746
  /**
743
747
  * Prometheus endpoint URI.
744
748
  */
745
749
  prometheusEndpoint?: Uri;
746
750
  /**
747
- * The status of this workspace.
751
+ * The time when the workspace was created.
748
752
  */
749
- status: WorkspaceStatus;
753
+ createdAt: Timestamp;
750
754
  /**
751
755
  * The tags of this workspace.
752
756
  */
753
757
  tags?: TagMap;
754
- /**
755
- * Unique string identifying this workspace.
756
- */
757
- workspaceId: WorkspaceId;
758
758
  }
759
759
  export type WorkspaceId = string;
760
760
  export interface WorkspaceStatus {
@@ -765,6 +765,10 @@ declare namespace Amp {
765
765
  }
766
766
  export type WorkspaceStatusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|string;
767
767
  export interface WorkspaceSummary {
768
+ /**
769
+ * Unique string identifying this workspace.
770
+ */
771
+ workspaceId: WorkspaceId;
768
772
  /**
769
773
  * Alias of this workspace.
770
774
  */
@@ -773,22 +777,18 @@ declare namespace Amp {
773
777
  * The AmazonResourceName of this workspace.
774
778
  */
775
779
  arn: WorkspaceArn;
776
- /**
777
- * The time when the workspace was created.
778
- */
779
- createdAt: Timestamp;
780
780
  /**
781
781
  * The status of this workspace.
782
782
  */
783
783
  status: WorkspaceStatus;
784
784
  /**
785
- * The tags of this workspace.
785
+ * The time when the workspace was created.
786
786
  */
787
- tags?: TagMap;
787
+ createdAt: Timestamp;
788
788
  /**
789
- * Unique string identifying this workspace.
789
+ * The tags of this workspace.
790
790
  */
791
- workspaceId: WorkspaceId;
791
+ tags?: TagMap;
792
792
  }
793
793
  export type WorkspaceSummaryList = WorkspaceSummary[];
794
794
  /**