@aws-sdk/client-amp 3.454.0 → 3.458.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/README.md +68 -28
- package/dist-cjs/Amp.js +10 -0
- package/dist-cjs/commands/CreateScraperCommand.js +51 -0
- package/dist-cjs/commands/DeleteScraperCommand.js +51 -0
- package/dist-cjs/commands/DescribeScraperCommand.js +51 -0
- package/dist-cjs/commands/GetDefaultScraperConfigurationCommand.js +51 -0
- package/dist-cjs/commands/ListScrapersCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +32 -1
- package/dist-cjs/pagination/ListScrapersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +396 -1
- package/dist-cjs/waiters/index.js +2 -0
- package/dist-cjs/waiters/waitForScraperActive.js +45 -0
- package/dist-cjs/waiters/waitForScraperDeleted.js +39 -0
- package/dist-es/Amp.js +10 -0
- package/dist-es/commands/CreateScraperCommand.js +47 -0
- package/dist-es/commands/DeleteScraperCommand.js +47 -0
- package/dist-es/commands/DescribeScraperCommand.js +47 -0
- package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +47 -0
- package/dist-es/commands/ListScrapersCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/pagination/ListScrapersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +386 -2
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForScraperActive.js +40 -0
- package/dist-es/waiters/waitForScraperDeleted.js +34 -0
- package/dist-types/Amp.d.ts +35 -0
- package/dist-types/AmpClient.d.ts +7 -2
- package/dist-types/commands/CreateScraperCommand.d.ts +124 -0
- package/dist-types/commands/DeleteScraperCommand.d.ts +95 -0
- package/dist-types/commands/DescribeScraperCommand.d.ts +121 -0
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +80 -0
- package/dist-types/commands/ListScrapersCommand.d.ts +124 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +460 -0
- package/dist-types/pagination/ListScrapersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Amp.d.ts +85 -0
- package/dist-types/ts3.4/AmpClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateScraperCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteScraperCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeScraperCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDefaultScraperConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListScrapersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +140 -0
- package/dist-types/ts3.4/pagination/ListScrapersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForScraperActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForScraperDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForScraperActive.d.ts +14 -0
- package/dist-types/waiters/waitForScraperDeleted.d.ts +14 -0
- package/package.json +3 -3
|
@@ -364,6 +364,23 @@ export interface PutAlertManagerDefinitionResponse {
|
|
|
364
364
|
*/
|
|
365
365
|
status: AlertManagerDefinitionStatus | undefined;
|
|
366
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* @public
|
|
369
|
+
* Represents the input of a GetDefaultScraperConfiguration operation.
|
|
370
|
+
*/
|
|
371
|
+
export interface GetDefaultScraperConfigurationRequest {
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
* Represents the output of a GetDefaultScraperConfiguration operation.
|
|
376
|
+
*/
|
|
377
|
+
export interface GetDefaultScraperConfigurationResponse {
|
|
378
|
+
/**
|
|
379
|
+
* @public
|
|
380
|
+
* The default configuration.
|
|
381
|
+
*/
|
|
382
|
+
configuration: Uint8Array | undefined;
|
|
383
|
+
}
|
|
367
384
|
/**
|
|
368
385
|
* @public
|
|
369
386
|
*/
|
|
@@ -384,6 +401,449 @@ export interface ListTagsForResourceResponse {
|
|
|
384
401
|
*/
|
|
385
402
|
tags?: Record<string, string>;
|
|
386
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* @public
|
|
406
|
+
* A representation of an AMP destination.
|
|
407
|
+
*/
|
|
408
|
+
export interface AmpConfiguration {
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
* The ARN of an AMP workspace.
|
|
412
|
+
*/
|
|
413
|
+
workspaceArn: string | undefined;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* @public
|
|
417
|
+
* A representation of a destination that a scraper can produce metrics to.
|
|
418
|
+
*/
|
|
419
|
+
export type Destination = Destination.AmpConfigurationMember | Destination.$UnknownMember;
|
|
420
|
+
/**
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
export declare namespace Destination {
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
* A representation of an AMP destination.
|
|
427
|
+
*/
|
|
428
|
+
interface AmpConfigurationMember {
|
|
429
|
+
ampConfiguration: AmpConfiguration;
|
|
430
|
+
$unknown?: never;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
interface $UnknownMember {
|
|
436
|
+
ampConfiguration?: never;
|
|
437
|
+
$unknown: [string, any];
|
|
438
|
+
}
|
|
439
|
+
interface Visitor<T> {
|
|
440
|
+
ampConfiguration: (value: AmpConfiguration) => T;
|
|
441
|
+
_: (name: string, value: any) => T;
|
|
442
|
+
}
|
|
443
|
+
const visit: <T>(value: Destination, visitor: Visitor<T>) => T;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* @public
|
|
447
|
+
* A representation of a Prometheus configuration file.
|
|
448
|
+
*/
|
|
449
|
+
export type ScrapeConfiguration = ScrapeConfiguration.ConfigurationBlobMember | ScrapeConfiguration.$UnknownMember;
|
|
450
|
+
/**
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
export declare namespace ScrapeConfiguration {
|
|
454
|
+
/**
|
|
455
|
+
* @public
|
|
456
|
+
* Binary data representing a Prometheus configuration file.
|
|
457
|
+
*/
|
|
458
|
+
interface ConfigurationBlobMember {
|
|
459
|
+
configurationBlob: Uint8Array;
|
|
460
|
+
$unknown?: never;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
interface $UnknownMember {
|
|
466
|
+
configurationBlob?: never;
|
|
467
|
+
$unknown: [string, any];
|
|
468
|
+
}
|
|
469
|
+
interface Visitor<T> {
|
|
470
|
+
configurationBlob: (value: Uint8Array) => T;
|
|
471
|
+
_: (name: string, value: any) => T;
|
|
472
|
+
}
|
|
473
|
+
const visit: <T>(value: ScrapeConfiguration, visitor: Visitor<T>) => T;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* @public
|
|
477
|
+
* A representation of an EKS source.
|
|
478
|
+
*/
|
|
479
|
+
export interface EksConfiguration {
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
* The ARN of an EKS cluster.
|
|
483
|
+
*/
|
|
484
|
+
clusterArn: string | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* @public
|
|
487
|
+
* A list of security group IDs specified for VPC configuration.
|
|
488
|
+
*/
|
|
489
|
+
securityGroupIds?: string[];
|
|
490
|
+
/**
|
|
491
|
+
* @public
|
|
492
|
+
* A list of subnet IDs specified for VPC configuration.
|
|
493
|
+
*/
|
|
494
|
+
subnetIds: string[] | undefined;
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* @public
|
|
498
|
+
* A representation of a source that a scraper can discover and collect metrics from.
|
|
499
|
+
*/
|
|
500
|
+
export type Source = Source.EksConfigurationMember | Source.$UnknownMember;
|
|
501
|
+
/**
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
export declare namespace Source {
|
|
505
|
+
/**
|
|
506
|
+
* @public
|
|
507
|
+
* A representation of an EKS source.
|
|
508
|
+
*/
|
|
509
|
+
interface EksConfigurationMember {
|
|
510
|
+
eksConfiguration: EksConfiguration;
|
|
511
|
+
$unknown?: never;
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
interface $UnknownMember {
|
|
517
|
+
eksConfiguration?: never;
|
|
518
|
+
$unknown: [string, any];
|
|
519
|
+
}
|
|
520
|
+
interface Visitor<T> {
|
|
521
|
+
eksConfiguration: (value: EksConfiguration) => T;
|
|
522
|
+
_: (name: string, value: any) => T;
|
|
523
|
+
}
|
|
524
|
+
const visit: <T>(value: Source, visitor: Visitor<T>) => T;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
* Represents the input of a CreateScraper operation.
|
|
529
|
+
*/
|
|
530
|
+
export interface CreateScraperRequest {
|
|
531
|
+
/**
|
|
532
|
+
* @public
|
|
533
|
+
* An optional user-assigned alias for this scraper. This alias is for user reference and does not need to be unique.
|
|
534
|
+
*/
|
|
535
|
+
alias?: string;
|
|
536
|
+
/**
|
|
537
|
+
* @public
|
|
538
|
+
* The configuration used to create the scraper.
|
|
539
|
+
*/
|
|
540
|
+
scrapeConfiguration: ScrapeConfiguration | undefined;
|
|
541
|
+
/**
|
|
542
|
+
* @public
|
|
543
|
+
* The source that the scraper will be discovering and collecting metrics from.
|
|
544
|
+
*/
|
|
545
|
+
source: Source | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* @public
|
|
548
|
+
* The destination that the scraper will be producing metrics to.
|
|
549
|
+
*/
|
|
550
|
+
destination: Destination | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* @public
|
|
553
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
554
|
+
*/
|
|
555
|
+
clientToken?: string;
|
|
556
|
+
/**
|
|
557
|
+
* @public
|
|
558
|
+
* Optional, user-provided tags for this scraper.
|
|
559
|
+
*/
|
|
560
|
+
tags?: Record<string, string>;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
* @enum
|
|
565
|
+
*/
|
|
566
|
+
export declare const ScraperStatusCode: {
|
|
567
|
+
/**
|
|
568
|
+
* Scraper has been created and is usable.
|
|
569
|
+
*/
|
|
570
|
+
readonly ACTIVE: "ACTIVE";
|
|
571
|
+
/**
|
|
572
|
+
* Scraper is being created. Deletion is disallowed until status is ACTIVE.
|
|
573
|
+
*/
|
|
574
|
+
readonly CREATING: "CREATING";
|
|
575
|
+
/**
|
|
576
|
+
* Scraper creation failed.
|
|
577
|
+
*/
|
|
578
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
579
|
+
/**
|
|
580
|
+
* Scraper is being deleted. Deletions are allowed only when status is ACTIVE.
|
|
581
|
+
*/
|
|
582
|
+
readonly DELETING: "DELETING";
|
|
583
|
+
/**
|
|
584
|
+
* Scraper deletion failed.
|
|
585
|
+
*/
|
|
586
|
+
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
587
|
+
};
|
|
588
|
+
/**
|
|
589
|
+
* @public
|
|
590
|
+
*/
|
|
591
|
+
export type ScraperStatusCode = (typeof ScraperStatusCode)[keyof typeof ScraperStatusCode];
|
|
592
|
+
/**
|
|
593
|
+
* @public
|
|
594
|
+
* Represents the status of a scraper.
|
|
595
|
+
*/
|
|
596
|
+
export interface ScraperStatus {
|
|
597
|
+
/**
|
|
598
|
+
* @public
|
|
599
|
+
* Status code of this scraper.
|
|
600
|
+
*/
|
|
601
|
+
statusCode: ScraperStatusCode | undefined;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
* Represents the output of a CreateScraper operation.
|
|
606
|
+
*/
|
|
607
|
+
export interface CreateScraperResponse {
|
|
608
|
+
/**
|
|
609
|
+
* @public
|
|
610
|
+
* The generated ID of the scraper that was just created.
|
|
611
|
+
*/
|
|
612
|
+
scraperId: string | undefined;
|
|
613
|
+
/**
|
|
614
|
+
* @public
|
|
615
|
+
* The ARN of the scraper that was just created.
|
|
616
|
+
*/
|
|
617
|
+
arn: string | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* @public
|
|
620
|
+
* The status of the scraper that was just created (usually CREATING).
|
|
621
|
+
*/
|
|
622
|
+
status: ScraperStatus | undefined;
|
|
623
|
+
/**
|
|
624
|
+
* @public
|
|
625
|
+
* The tags of this scraper.
|
|
626
|
+
*/
|
|
627
|
+
tags?: Record<string, string>;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* @public
|
|
631
|
+
* Represents the input of a DeleteScraper operation.
|
|
632
|
+
*/
|
|
633
|
+
export interface DeleteScraperRequest {
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
* The ID of the scraper to delete.
|
|
637
|
+
*/
|
|
638
|
+
scraperId: string | undefined;
|
|
639
|
+
/**
|
|
640
|
+
* @public
|
|
641
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
642
|
+
*/
|
|
643
|
+
clientToken?: string;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* @public
|
|
647
|
+
* Represents the output of a DeleteScraper operation.
|
|
648
|
+
*/
|
|
649
|
+
export interface DeleteScraperResponse {
|
|
650
|
+
/**
|
|
651
|
+
* @public
|
|
652
|
+
* The ID of the scraper that was deleted.
|
|
653
|
+
*/
|
|
654
|
+
scraperId: string | undefined;
|
|
655
|
+
/**
|
|
656
|
+
* @public
|
|
657
|
+
* The status of the scraper that is being deleted.
|
|
658
|
+
*/
|
|
659
|
+
status: ScraperStatus | undefined;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
* Represents the input of a DescribeScraper operation.
|
|
664
|
+
*/
|
|
665
|
+
export interface DescribeScraperRequest {
|
|
666
|
+
/**
|
|
667
|
+
* @public
|
|
668
|
+
* The IDs of the scraper to describe.
|
|
669
|
+
*/
|
|
670
|
+
scraperId: string | undefined;
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* @public
|
|
674
|
+
* Represents the properties of a scraper.
|
|
675
|
+
*/
|
|
676
|
+
export interface ScraperDescription {
|
|
677
|
+
/**
|
|
678
|
+
* @public
|
|
679
|
+
* Alias of this scraper.
|
|
680
|
+
*/
|
|
681
|
+
alias?: string;
|
|
682
|
+
/**
|
|
683
|
+
* @public
|
|
684
|
+
* Unique string identifying this scraper.
|
|
685
|
+
*/
|
|
686
|
+
scraperId: string | undefined;
|
|
687
|
+
/**
|
|
688
|
+
* @public
|
|
689
|
+
* The Amazon Resource Name (ARN) of this scraper.
|
|
690
|
+
*/
|
|
691
|
+
arn: string | undefined;
|
|
692
|
+
/**
|
|
693
|
+
* @public
|
|
694
|
+
* The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
|
|
695
|
+
*/
|
|
696
|
+
roleArn: string | undefined;
|
|
697
|
+
/**
|
|
698
|
+
* @public
|
|
699
|
+
* The status of this scraper.
|
|
700
|
+
*/
|
|
701
|
+
status: ScraperStatus | undefined;
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
* The time when the scraper was created.
|
|
705
|
+
*/
|
|
706
|
+
createdAt: Date | undefined;
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
* The time when the scraper was last modified.
|
|
710
|
+
*/
|
|
711
|
+
lastModifiedAt: Date | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* @public
|
|
714
|
+
* The tags of this scraper.
|
|
715
|
+
*/
|
|
716
|
+
tags?: Record<string, string>;
|
|
717
|
+
/**
|
|
718
|
+
* @public
|
|
719
|
+
* The reason for failure if any.
|
|
720
|
+
*/
|
|
721
|
+
statusReason?: string;
|
|
722
|
+
/**
|
|
723
|
+
* @public
|
|
724
|
+
* The configuration used to create the scraper.
|
|
725
|
+
*/
|
|
726
|
+
scrapeConfiguration: ScrapeConfiguration | undefined;
|
|
727
|
+
/**
|
|
728
|
+
* @public
|
|
729
|
+
* The source that the scraper is discovering and collecting metrics from.
|
|
730
|
+
*/
|
|
731
|
+
source: Source | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
* The destination that the scraper is producing metrics to.
|
|
735
|
+
*/
|
|
736
|
+
destination: Destination | undefined;
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* @public
|
|
740
|
+
* Represents the output of a DescribeScraper operation.
|
|
741
|
+
*/
|
|
742
|
+
export interface DescribeScraperResponse {
|
|
743
|
+
/**
|
|
744
|
+
* @public
|
|
745
|
+
* The properties of the selected scrapers.
|
|
746
|
+
*/
|
|
747
|
+
scraper: ScraperDescription | undefined;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* @public
|
|
751
|
+
* Represents the input of a ListScrapers operation.
|
|
752
|
+
*/
|
|
753
|
+
export interface ListScrapersRequest {
|
|
754
|
+
/**
|
|
755
|
+
* @public
|
|
756
|
+
* A list of scraper filters.
|
|
757
|
+
*/
|
|
758
|
+
filters?: Record<string, string[]>;
|
|
759
|
+
/**
|
|
760
|
+
* @public
|
|
761
|
+
* Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListScrapers request.
|
|
762
|
+
*/
|
|
763
|
+
nextToken?: string;
|
|
764
|
+
/**
|
|
765
|
+
* @public
|
|
766
|
+
* Maximum results to return in response (default=100, maximum=1000).
|
|
767
|
+
*/
|
|
768
|
+
maxResults?: number;
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* @public
|
|
772
|
+
* Represents a summary of the properties of a scraper.
|
|
773
|
+
*/
|
|
774
|
+
export interface ScraperSummary {
|
|
775
|
+
/**
|
|
776
|
+
* @public
|
|
777
|
+
* Alias of this scraper.
|
|
778
|
+
*/
|
|
779
|
+
alias?: string;
|
|
780
|
+
/**
|
|
781
|
+
* @public
|
|
782
|
+
* Unique string identifying this scraper.
|
|
783
|
+
*/
|
|
784
|
+
scraperId: string | undefined;
|
|
785
|
+
/**
|
|
786
|
+
* @public
|
|
787
|
+
* The Amazon Resource Name (ARN) of this scraper.
|
|
788
|
+
*/
|
|
789
|
+
arn: string | undefined;
|
|
790
|
+
/**
|
|
791
|
+
* @public
|
|
792
|
+
* The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
|
|
793
|
+
*/
|
|
794
|
+
roleArn: string | undefined;
|
|
795
|
+
/**
|
|
796
|
+
* @public
|
|
797
|
+
* The status of this scraper.
|
|
798
|
+
*/
|
|
799
|
+
status: ScraperStatus | undefined;
|
|
800
|
+
/**
|
|
801
|
+
* @public
|
|
802
|
+
* The time when the scraper was created.
|
|
803
|
+
*/
|
|
804
|
+
createdAt: Date | undefined;
|
|
805
|
+
/**
|
|
806
|
+
* @public
|
|
807
|
+
* The time when the scraper was last modified.
|
|
808
|
+
*/
|
|
809
|
+
lastModifiedAt: Date | undefined;
|
|
810
|
+
/**
|
|
811
|
+
* @public
|
|
812
|
+
* The tags of this scraper.
|
|
813
|
+
*/
|
|
814
|
+
tags?: Record<string, string>;
|
|
815
|
+
/**
|
|
816
|
+
* @public
|
|
817
|
+
* The reason for failure if any.
|
|
818
|
+
*/
|
|
819
|
+
statusReason?: string;
|
|
820
|
+
/**
|
|
821
|
+
* @public
|
|
822
|
+
* The source that the scraper is discovering and collecting metrics from.
|
|
823
|
+
*/
|
|
824
|
+
source: Source | undefined;
|
|
825
|
+
/**
|
|
826
|
+
* @public
|
|
827
|
+
* The destination that the scraper is producing metrics to.
|
|
828
|
+
*/
|
|
829
|
+
destination: Destination | undefined;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* @public
|
|
833
|
+
* Represents the output of a ListScrapers operation.
|
|
834
|
+
*/
|
|
835
|
+
export interface ListScrapersResponse {
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
* The list of scrapers, filtered down if a set of filters was provided in the request.
|
|
839
|
+
*/
|
|
840
|
+
scrapers: ScraperSummary[] | undefined;
|
|
841
|
+
/**
|
|
842
|
+
* @public
|
|
843
|
+
* Pagination token to use when requesting the next page in this list.
|
|
844
|
+
*/
|
|
845
|
+
nextToken?: string;
|
|
846
|
+
}
|
|
387
847
|
/**
|
|
388
848
|
* @public
|
|
389
849
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListScrapersCommandInput, ListScrapersCommandOutput } from "../commands/ListScrapersCommand";
|
|
3
|
+
import { AmpPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListScrapers(config: AmpPaginationConfiguration, input: ListScrapersCommandInput, ...additionalArguments: any): Paginator<ListScrapersCommandOutput>;
|
|
@@ -3,16 +3,21 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
|
3
3
|
import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "../commands/CreateAlertManagerDefinitionCommand";
|
|
4
4
|
import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "../commands/CreateLoggingConfigurationCommand";
|
|
5
5
|
import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "../commands/CreateRuleGroupsNamespaceCommand";
|
|
6
|
+
import { CreateScraperCommandInput, CreateScraperCommandOutput } from "../commands/CreateScraperCommand";
|
|
6
7
|
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
|
|
7
8
|
import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "../commands/DeleteAlertManagerDefinitionCommand";
|
|
8
9
|
import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "../commands/DeleteLoggingConfigurationCommand";
|
|
9
10
|
import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "../commands/DeleteRuleGroupsNamespaceCommand";
|
|
11
|
+
import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "../commands/DeleteScraperCommand";
|
|
10
12
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
|
|
11
13
|
import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "../commands/DescribeAlertManagerDefinitionCommand";
|
|
12
14
|
import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "../commands/DescribeLoggingConfigurationCommand";
|
|
13
15
|
import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "../commands/DescribeRuleGroupsNamespaceCommand";
|
|
16
|
+
import { DescribeScraperCommandInput, DescribeScraperCommandOutput } from "../commands/DescribeScraperCommand";
|
|
14
17
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
18
|
+
import { GetDefaultScraperConfigurationCommandInput, GetDefaultScraperConfigurationCommandOutput } from "../commands/GetDefaultScraperConfigurationCommand";
|
|
15
19
|
import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "../commands/ListRuleGroupsNamespacesCommand";
|
|
20
|
+
import { ListScrapersCommandInput, ListScrapersCommandOutput } from "../commands/ListScrapersCommand";
|
|
16
21
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
17
22
|
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
18
23
|
import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput } from "../commands/PutAlertManagerDefinitionCommand";
|
|
@@ -33,6 +38,10 @@ export declare const se_CreateLoggingConfigurationCommand: (input: CreateLogging
|
|
|
33
38
|
* serializeAws_restJson1CreateRuleGroupsNamespaceCommand
|
|
34
39
|
*/
|
|
35
40
|
export declare const se_CreateRuleGroupsNamespaceCommand: (input: CreateRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
|
+
/**
|
|
42
|
+
* serializeAws_restJson1CreateScraperCommand
|
|
43
|
+
*/
|
|
44
|
+
export declare const se_CreateScraperCommand: (input: CreateScraperCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
45
|
/**
|
|
37
46
|
* serializeAws_restJson1CreateWorkspaceCommand
|
|
38
47
|
*/
|
|
@@ -49,6 +58,10 @@ export declare const se_DeleteLoggingConfigurationCommand: (input: DeleteLogging
|
|
|
49
58
|
* serializeAws_restJson1DeleteRuleGroupsNamespaceCommand
|
|
50
59
|
*/
|
|
51
60
|
export declare const se_DeleteRuleGroupsNamespaceCommand: (input: DeleteRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
|
+
/**
|
|
62
|
+
* serializeAws_restJson1DeleteScraperCommand
|
|
63
|
+
*/
|
|
64
|
+
export declare const se_DeleteScraperCommand: (input: DeleteScraperCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
52
65
|
/**
|
|
53
66
|
* serializeAws_restJson1DeleteWorkspaceCommand
|
|
54
67
|
*/
|
|
@@ -65,14 +78,26 @@ export declare const se_DescribeLoggingConfigurationCommand: (input: DescribeLog
|
|
|
65
78
|
* serializeAws_restJson1DescribeRuleGroupsNamespaceCommand
|
|
66
79
|
*/
|
|
67
80
|
export declare const se_DescribeRuleGroupsNamespaceCommand: (input: DescribeRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
81
|
+
/**
|
|
82
|
+
* serializeAws_restJson1DescribeScraperCommand
|
|
83
|
+
*/
|
|
84
|
+
export declare const se_DescribeScraperCommand: (input: DescribeScraperCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
85
|
/**
|
|
69
86
|
* serializeAws_restJson1DescribeWorkspaceCommand
|
|
70
87
|
*/
|
|
71
88
|
export declare const se_DescribeWorkspaceCommand: (input: DescribeWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
89
|
+
/**
|
|
90
|
+
* serializeAws_restJson1GetDefaultScraperConfigurationCommand
|
|
91
|
+
*/
|
|
92
|
+
export declare const se_GetDefaultScraperConfigurationCommand: (input: GetDefaultScraperConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
72
93
|
/**
|
|
73
94
|
* serializeAws_restJson1ListRuleGroupsNamespacesCommand
|
|
74
95
|
*/
|
|
75
96
|
export declare const se_ListRuleGroupsNamespacesCommand: (input: ListRuleGroupsNamespacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
97
|
+
/**
|
|
98
|
+
* serializeAws_restJson1ListScrapersCommand
|
|
99
|
+
*/
|
|
100
|
+
export declare const se_ListScrapersCommand: (input: ListScrapersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
76
101
|
/**
|
|
77
102
|
* serializeAws_restJson1ListTagsForResourceCommand
|
|
78
103
|
*/
|
|
@@ -117,6 +142,10 @@ export declare const de_CreateLoggingConfigurationCommand: (output: __HttpRespon
|
|
|
117
142
|
* deserializeAws_restJson1CreateRuleGroupsNamespaceCommand
|
|
118
143
|
*/
|
|
119
144
|
export declare const de_CreateRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRuleGroupsNamespaceCommandOutput>;
|
|
145
|
+
/**
|
|
146
|
+
* deserializeAws_restJson1CreateScraperCommand
|
|
147
|
+
*/
|
|
148
|
+
export declare const de_CreateScraperCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateScraperCommandOutput>;
|
|
120
149
|
/**
|
|
121
150
|
* deserializeAws_restJson1CreateWorkspaceCommand
|
|
122
151
|
*/
|
|
@@ -133,6 +162,10 @@ export declare const de_DeleteLoggingConfigurationCommand: (output: __HttpRespon
|
|
|
133
162
|
* deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand
|
|
134
163
|
*/
|
|
135
164
|
export declare const de_DeleteRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRuleGroupsNamespaceCommandOutput>;
|
|
165
|
+
/**
|
|
166
|
+
* deserializeAws_restJson1DeleteScraperCommand
|
|
167
|
+
*/
|
|
168
|
+
export declare const de_DeleteScraperCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteScraperCommandOutput>;
|
|
136
169
|
/**
|
|
137
170
|
* deserializeAws_restJson1DeleteWorkspaceCommand
|
|
138
171
|
*/
|
|
@@ -149,14 +182,26 @@ export declare const de_DescribeLoggingConfigurationCommand: (output: __HttpResp
|
|
|
149
182
|
* deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand
|
|
150
183
|
*/
|
|
151
184
|
export declare const de_DescribeRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRuleGroupsNamespaceCommandOutput>;
|
|
185
|
+
/**
|
|
186
|
+
* deserializeAws_restJson1DescribeScraperCommand
|
|
187
|
+
*/
|
|
188
|
+
export declare const de_DescribeScraperCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeScraperCommandOutput>;
|
|
152
189
|
/**
|
|
153
190
|
* deserializeAws_restJson1DescribeWorkspaceCommand
|
|
154
191
|
*/
|
|
155
192
|
export declare const de_DescribeWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceCommandOutput>;
|
|
193
|
+
/**
|
|
194
|
+
* deserializeAws_restJson1GetDefaultScraperConfigurationCommand
|
|
195
|
+
*/
|
|
196
|
+
export declare const de_GetDefaultScraperConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDefaultScraperConfigurationCommandOutput>;
|
|
156
197
|
/**
|
|
157
198
|
* deserializeAws_restJson1ListRuleGroupsNamespacesCommand
|
|
158
199
|
*/
|
|
159
200
|
export declare const de_ListRuleGroupsNamespacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRuleGroupsNamespacesCommandOutput>;
|
|
201
|
+
/**
|
|
202
|
+
* deserializeAws_restJson1ListScrapersCommand
|
|
203
|
+
*/
|
|
204
|
+
export declare const de_ListScrapersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListScrapersCommandOutput>;
|
|
160
205
|
/**
|
|
161
206
|
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
162
207
|
*/
|