@aws-sdk/client-dsql 3.1045.0 → 3.1046.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 +28 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +202 -56
- package/dist-cjs/models/DSQLServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +109 -5
- package/dist-es/DSQL.js +15 -1
- package/dist-es/DSQLClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateClusterCommand.js +2 -2
- package/dist-es/commands/CreateStreamCommand.js +16 -0
- package/dist-es/commands/DeleteClusterCommand.js +2 -2
- package/dist-es/commands/DeleteClusterPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteStreamCommand.js +16 -0
- package/dist-es/commands/GetClusterCommand.js +2 -2
- package/dist-es/commands/GetClusterPolicyCommand.js +2 -2
- package/dist-es/commands/GetStreamCommand.js +16 -0
- package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +2 -2
- package/dist-es/commands/ListClustersCommand.js +2 -2
- package/dist-es/commands/ListStreamsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutClusterPolicyCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateClusterCommand.js +2 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/DSQLServiceException.js +1 -1
- package/dist-es/models/enums.js +24 -0
- package/dist-es/pagination/ListStreamsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +107 -4
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForClusterActive.js +1 -1
- package/dist-es/waiters/waitForClusterNotExists.js +1 -1
- package/dist-es/waiters/waitForStreamActive.js +31 -0
- package/dist-es/waiters/waitForStreamNotExists.js +25 -0
- package/dist-types/DSQL.d.ts +48 -1
- package/dist-types/DSQLClient.d.ts +11 -7
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/commands/CreateStreamCommand.d.ts +115 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStreamCommand.d.ts +100 -0
- package/dist-types/commands/GetClusterCommand.d.ts +6 -4
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetStreamCommand.d.ts +111 -0
- package/dist-types/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
- package/dist-types/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/commands/ListStreamsCommand.d.ts +102 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/DSQLServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +56 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +330 -1
- package/dist-types/pagination/ListStreamsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +17 -1
- package/dist-types/ts3.4/DSQL.d.ts +94 -1
- package/dist-types/ts3.4/DSQLClient.d.ts +32 -14
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/DSQLServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +95 -1
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForStreamActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +16 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForClusterActive.d.ts +1 -1
- package/dist-types/waiters/waitForClusterNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForStreamActive.d.ts +15 -0
- package/dist-types/waiters/waitForStreamNotExists.d.ts +16 -0
- package/package.json +13 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ClusterStatus, EncryptionStatus, EncryptionType } from "./enums";
|
|
1
|
+
import type { ClusterStatus, EncryptionStatus, EncryptionType, StreamFailureErrorCode, StreamFormat, StreamOrdering, StreamStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Defines the structure for multi-Region cluster configurations, containing the witness region and linked cluster settings.</p>
|
|
4
4
|
* @public
|
|
@@ -462,6 +462,182 @@ export interface UpdateClusterOutput {
|
|
|
462
462
|
*/
|
|
463
463
|
creationTime: Date | undefined;
|
|
464
464
|
}
|
|
465
|
+
/**
|
|
466
|
+
* <p>Kinesis stream target configuration.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
export interface KinesisTargetDefinition {
|
|
470
|
+
/**
|
|
471
|
+
* <p>The ARN of the Kinesis stream.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
streamArn: string | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* <p>The ARN of the IAM role that grants permission to write to the Kinesis stream. This can be a standard role (<code>arn:aws:iam::account-id:role/role-name</code>) or a role with a path prefix (<code>arn:aws:iam::account-id:role/service-role/role-name</code>), such as roles auto-created by the console.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
roleArn: string | undefined;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* <p>Target definition for stream destination.</p>
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
export type TargetDefinition = TargetDefinition.KinesisMember | TargetDefinition.$UnknownMember;
|
|
486
|
+
/**
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
export declare namespace TargetDefinition {
|
|
490
|
+
/**
|
|
491
|
+
* <p>Kinesis stream target configuration.</p>
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
interface KinesisMember {
|
|
495
|
+
kinesis: KinesisTargetDefinition;
|
|
496
|
+
$unknown?: never;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
interface $UnknownMember {
|
|
502
|
+
kinesis?: never;
|
|
503
|
+
$unknown: [string, any];
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* @deprecated unused in schema-serde mode.
|
|
507
|
+
*
|
|
508
|
+
*/
|
|
509
|
+
interface Visitor<T> {
|
|
510
|
+
kinesis: (value: KinesisTargetDefinition) => T;
|
|
511
|
+
_: (name: string, value: any) => T;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
export interface CreateStreamInput {
|
|
518
|
+
/**
|
|
519
|
+
* <p>The ID of the cluster for which to create the stream.</p>
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
clusterIdentifier: string | undefined;
|
|
523
|
+
/**
|
|
524
|
+
* <p>The target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN.</p>
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
targetDefinition: TargetDefinition | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* <p>The ordering mode for the stream. Determines how change events are ordered when delivered to the target.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
ordering: StreamOrdering | undefined;
|
|
533
|
+
/**
|
|
534
|
+
* <p>The format of the stream records.</p>
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
format: StreamFormat | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* <p>A map of key and value pairs to use to tag your stream.</p>
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
tags?: Record<string, string> | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
clientToken?: string | undefined;
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* <p>The output of a created stream.</p>
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
export interface CreateStreamOutput {
|
|
554
|
+
/**
|
|
555
|
+
* <p>The ID of the cluster for the created stream.</p>
|
|
556
|
+
* @public
|
|
557
|
+
*/
|
|
558
|
+
clusterIdentifier: string | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* <p>The ID of the created stream.</p>
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
streamIdentifier: string | undefined;
|
|
564
|
+
/**
|
|
565
|
+
* <p>The ARN of the created stream.</p>
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
568
|
+
arn: string | undefined;
|
|
569
|
+
/**
|
|
570
|
+
* <p>The status of the created stream.</p>
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
573
|
+
status: StreamStatus | undefined;
|
|
574
|
+
/**
|
|
575
|
+
* <p>The time when created the stream.</p>
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
creationTime: Date | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* <p>The ordering mode of the created stream.</p>
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
ordering: StreamOrdering | undefined;
|
|
584
|
+
/**
|
|
585
|
+
* <p>The format of the created stream records.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
format: StreamFormat | undefined;
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
export interface DeleteStreamInput {
|
|
594
|
+
/**
|
|
595
|
+
* <p>The ID of the cluster containing the stream to delete.</p>
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
598
|
+
clusterIdentifier: string | undefined;
|
|
599
|
+
/**
|
|
600
|
+
* <p>The ID of the stream to delete.</p>
|
|
601
|
+
* @public
|
|
602
|
+
*/
|
|
603
|
+
streamIdentifier: string | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p>
|
|
606
|
+
* @public
|
|
607
|
+
*/
|
|
608
|
+
clientToken?: string | undefined;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* <p>The output from a deleted stream.</p>
|
|
612
|
+
* @public
|
|
613
|
+
*/
|
|
614
|
+
export interface DeleteStreamOutput {
|
|
615
|
+
/**
|
|
616
|
+
* <p>The ID of the cluster for the deleted stream.</p>
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
clusterIdentifier: string | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* <p>The ID of the deleted stream.</p>
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
streamIdentifier: string | undefined;
|
|
625
|
+
/**
|
|
626
|
+
* <p>The ARN of the deleted stream.</p>
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
arn: string | undefined;
|
|
630
|
+
/**
|
|
631
|
+
* <p>The status of the stream.</p>
|
|
632
|
+
* @public
|
|
633
|
+
*/
|
|
634
|
+
status: StreamStatus | undefined;
|
|
635
|
+
/**
|
|
636
|
+
* <p>The time when the stream was created.</p>
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
creationTime: Date | undefined;
|
|
640
|
+
}
|
|
465
641
|
/**
|
|
466
642
|
* @public
|
|
467
643
|
*/
|
|
@@ -482,6 +658,159 @@ export interface ListTagsForResourceOutput {
|
|
|
482
658
|
*/
|
|
483
659
|
tags?: Record<string, string> | undefined;
|
|
484
660
|
}
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
664
|
+
export interface GetStreamInput {
|
|
665
|
+
/**
|
|
666
|
+
* <p>The ID of the cluster containing the stream to retrieve.</p>
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
clusterIdentifier: string | undefined;
|
|
670
|
+
/**
|
|
671
|
+
* <p>The ID of the stream to retrieve.</p>
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
674
|
+
streamIdentifier: string | undefined;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* <p>Stream status reason with error and timestamp.</p>
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
export interface StatusReason {
|
|
681
|
+
/**
|
|
682
|
+
* <p>The error code for the stream failure.</p>
|
|
683
|
+
* @public
|
|
684
|
+
*/
|
|
685
|
+
error: StreamFailureErrorCode | undefined;
|
|
686
|
+
/**
|
|
687
|
+
* <p>The timestamp when the status was updated.</p>
|
|
688
|
+
* @public
|
|
689
|
+
*/
|
|
690
|
+
updatedAt: Date | undefined;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* <p>The output of a retrieved stream.</p>
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
export interface GetStreamOutput {
|
|
697
|
+
/**
|
|
698
|
+
* <p>The ID of the cluster for the retrieved stream.</p>
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
701
|
+
clusterIdentifier: string | undefined;
|
|
702
|
+
/**
|
|
703
|
+
* <p>The ID of the retrieved stream.</p>
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
streamIdentifier: string | undefined;
|
|
707
|
+
/**
|
|
708
|
+
* <p>The ARN of the retrieved stream.</p>
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
arn: string | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* <p>The current status of the retrieved stream.</p>
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
status: StreamStatus | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* <p>The time when the stream was created.</p>
|
|
719
|
+
* @public
|
|
720
|
+
*/
|
|
721
|
+
creationTime: Date | undefined;
|
|
722
|
+
/**
|
|
723
|
+
* <p>The ordering mode of the stream.</p>
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
ordering: StreamOrdering | undefined;
|
|
727
|
+
/**
|
|
728
|
+
* <p>The format of the stream records.</p>
|
|
729
|
+
* @public
|
|
730
|
+
*/
|
|
731
|
+
format: StreamFormat | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* <p>The target definition for the stream destination.</p>
|
|
734
|
+
* @public
|
|
735
|
+
*/
|
|
736
|
+
targetDefinition?: TargetDefinition | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* <p>Stream status reason with error code and timestamp (if applicable).</p>
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
statusReason?: StatusReason | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* <p>A map of tags associated with the stream.</p>
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
tags?: Record<string, string> | undefined;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
export interface ListStreamsInput {
|
|
752
|
+
/**
|
|
753
|
+
* <p>The ID of the cluster for which to list streams.</p>
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
clusterIdentifier: string | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* <p>An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results. Default: 10.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
maxResults?: number | undefined;
|
|
762
|
+
/**
|
|
763
|
+
* <p>If your initial ListStreams operation returns a nextToken, you can include the returned nextToken in following ListStreams operations, which returns results in the next page.</p>
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
nextToken?: string | undefined;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* <p>Summary information about a stream.</p>
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
export interface StreamSummary {
|
|
773
|
+
/**
|
|
774
|
+
* <p>The ID of the cluster.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
clusterIdentifier: string | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <p>The ID of the stream.</p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
streamIdentifier: string | undefined;
|
|
783
|
+
/**
|
|
784
|
+
* <p>The ARN of the stream.</p>
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
arn: string | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* <p>The timestamp when the stream was created.</p>
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
creationTime: Date | undefined;
|
|
793
|
+
/**
|
|
794
|
+
* <p>The current status of the stream.</p>
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
status: StreamStatus | undefined;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
export interface ListStreamsOutput {
|
|
803
|
+
/**
|
|
804
|
+
* <p>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.</p>
|
|
805
|
+
* @public
|
|
806
|
+
*/
|
|
807
|
+
nextToken?: string | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* <p>An array of the returned streams.</p>
|
|
810
|
+
* @public
|
|
811
|
+
*/
|
|
812
|
+
streams: StreamSummary[] | undefined;
|
|
813
|
+
}
|
|
485
814
|
/**
|
|
486
815
|
* @public
|
|
487
816
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
|
|
3
|
+
import type { DSQLPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListStreams: (config: DSQLPaginationConfiguration, input: ListStreamsCommandInput, ...rest: any[]) => Paginator<ListStreamsCommandOutput>;
|
|
@@ -5,13 +5,13 @@ import type { DSQLClientConfig } from "./DSQLClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: import("@smithy/
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,14 +5,14 @@ import type { DSQLClientConfig } from "./DSQLClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
15
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
sha256: import("@smithy/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,7 @@ import type { DSQLClientConfig } from "./DSQLClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
10
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
11
11
|
protocolSettings: {
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: DSQLClientConfig) => {
|
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
34
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
defaultsMode: import("@smithy/
|
|
35
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
3
|
export declare var DSQLServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
5
|
export declare var ConflictException$: StaticErrorSchema;
|
|
@@ -17,36 +17,52 @@ export declare const errorTypeRegistries: TypeRegistry[];
|
|
|
17
17
|
export declare var ClusterSummary$: StaticStructureSchema;
|
|
18
18
|
export declare var CreateClusterInput$: StaticStructureSchema;
|
|
19
19
|
export declare var CreateClusterOutput$: StaticStructureSchema;
|
|
20
|
+
export declare var CreateStreamInput$: StaticStructureSchema;
|
|
21
|
+
export declare var CreateStreamOutput$: StaticStructureSchema;
|
|
20
22
|
export declare var DeleteClusterInput$: StaticStructureSchema;
|
|
21
23
|
export declare var DeleteClusterOutput$: StaticStructureSchema;
|
|
22
24
|
export declare var DeleteClusterPolicyInput$: StaticStructureSchema;
|
|
23
25
|
export declare var DeleteClusterPolicyOutput$: StaticStructureSchema;
|
|
26
|
+
export declare var DeleteStreamInput$: StaticStructureSchema;
|
|
27
|
+
export declare var DeleteStreamOutput$: StaticStructureSchema;
|
|
24
28
|
export declare var EncryptionDetails$: StaticStructureSchema;
|
|
25
29
|
export declare var GetClusterInput$: StaticStructureSchema;
|
|
26
30
|
export declare var GetClusterOutput$: StaticStructureSchema;
|
|
27
31
|
export declare var GetClusterPolicyInput$: StaticStructureSchema;
|
|
28
32
|
export declare var GetClusterPolicyOutput$: StaticStructureSchema;
|
|
33
|
+
export declare var GetStreamInput$: StaticStructureSchema;
|
|
34
|
+
export declare var GetStreamOutput$: StaticStructureSchema;
|
|
29
35
|
export declare var GetVpcEndpointServiceNameInput$: StaticStructureSchema;
|
|
30
36
|
export declare var GetVpcEndpointServiceNameOutput$: StaticStructureSchema;
|
|
37
|
+
export declare var KinesisTargetDefinition$: StaticStructureSchema;
|
|
31
38
|
export declare var ListClustersInput$: StaticStructureSchema;
|
|
32
39
|
export declare var ListClustersOutput$: StaticStructureSchema;
|
|
40
|
+
export declare var ListStreamsInput$: StaticStructureSchema;
|
|
41
|
+
export declare var ListStreamsOutput$: StaticStructureSchema;
|
|
33
42
|
export declare var ListTagsForResourceInput$: StaticStructureSchema;
|
|
34
43
|
export declare var ListTagsForResourceOutput$: StaticStructureSchema;
|
|
35
44
|
export declare var MultiRegionProperties$: StaticStructureSchema;
|
|
36
45
|
export declare var PutClusterPolicyInput$: StaticStructureSchema;
|
|
37
46
|
export declare var PutClusterPolicyOutput$: StaticStructureSchema;
|
|
47
|
+
export declare var StatusReason$: StaticStructureSchema;
|
|
48
|
+
export declare var StreamSummary$: StaticStructureSchema;
|
|
38
49
|
export declare var TagResourceInput$: StaticStructureSchema;
|
|
39
50
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
40
51
|
export declare var UpdateClusterInput$: StaticStructureSchema;
|
|
41
52
|
export declare var UpdateClusterOutput$: StaticStructureSchema;
|
|
42
53
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
54
|
+
export declare var TargetDefinition$: StaticUnionSchema;
|
|
43
55
|
export declare var CreateCluster$: StaticOperationSchema;
|
|
56
|
+
export declare var CreateStream$: StaticOperationSchema;
|
|
44
57
|
export declare var DeleteCluster$: StaticOperationSchema;
|
|
45
58
|
export declare var DeleteClusterPolicy$: StaticOperationSchema;
|
|
59
|
+
export declare var DeleteStream$: StaticOperationSchema;
|
|
46
60
|
export declare var GetCluster$: StaticOperationSchema;
|
|
47
61
|
export declare var GetClusterPolicy$: StaticOperationSchema;
|
|
62
|
+
export declare var GetStream$: StaticOperationSchema;
|
|
48
63
|
export declare var GetVpcEndpointServiceName$: StaticOperationSchema;
|
|
49
64
|
export declare var ListClusters$: StaticOperationSchema;
|
|
65
|
+
export declare var ListStreams$: StaticOperationSchema;
|
|
50
66
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
51
67
|
export declare var PutClusterPolicy$: StaticOperationSchema;
|
|
52
68
|
export declare var TagResource$: StaticOperationSchema;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
import { WaiterResult } from "@smithy/core/client";
|
|
1
2
|
import {
|
|
2
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
WaiterConfiguration,
|
|
6
7
|
} from "@smithy/types";
|
|
7
|
-
import { WaiterResult } from "@smithy/util-waiter";
|
|
8
8
|
import {
|
|
9
9
|
CreateClusterCommandInput,
|
|
10
10
|
CreateClusterCommandOutput,
|
|
11
11
|
} from "./commands/CreateClusterCommand";
|
|
12
|
+
import {
|
|
13
|
+
CreateStreamCommandInput,
|
|
14
|
+
CreateStreamCommandOutput,
|
|
15
|
+
} from "./commands/CreateStreamCommand";
|
|
12
16
|
import {
|
|
13
17
|
DeleteClusterCommandInput,
|
|
14
18
|
DeleteClusterCommandOutput,
|
|
@@ -17,6 +21,10 @@ import {
|
|
|
17
21
|
DeleteClusterPolicyCommandInput,
|
|
18
22
|
DeleteClusterPolicyCommandOutput,
|
|
19
23
|
} from "./commands/DeleteClusterPolicyCommand";
|
|
24
|
+
import {
|
|
25
|
+
DeleteStreamCommandInput,
|
|
26
|
+
DeleteStreamCommandOutput,
|
|
27
|
+
} from "./commands/DeleteStreamCommand";
|
|
20
28
|
import {
|
|
21
29
|
GetClusterCommandInput,
|
|
22
30
|
GetClusterCommandOutput,
|
|
@@ -25,6 +33,10 @@ import {
|
|
|
25
33
|
GetClusterPolicyCommandInput,
|
|
26
34
|
GetClusterPolicyCommandOutput,
|
|
27
35
|
} from "./commands/GetClusterPolicyCommand";
|
|
36
|
+
import {
|
|
37
|
+
GetStreamCommandInput,
|
|
38
|
+
GetStreamCommandOutput,
|
|
39
|
+
} from "./commands/GetStreamCommand";
|
|
28
40
|
import {
|
|
29
41
|
GetVpcEndpointServiceNameCommandInput,
|
|
30
42
|
GetVpcEndpointServiceNameCommandOutput,
|
|
@@ -33,6 +45,10 @@ import {
|
|
|
33
45
|
ListClustersCommandInput,
|
|
34
46
|
ListClustersCommandOutput,
|
|
35
47
|
} from "./commands/ListClustersCommand";
|
|
48
|
+
import {
|
|
49
|
+
ListStreamsCommandInput,
|
|
50
|
+
ListStreamsCommandOutput,
|
|
51
|
+
} from "./commands/ListStreamsCommand";
|
|
36
52
|
import {
|
|
37
53
|
ListTagsForResourceCommandInput,
|
|
38
54
|
ListTagsForResourceCommandOutput,
|
|
@@ -70,6 +86,19 @@ export interface DSQL {
|
|
|
70
86
|
options: __HttpHandlerOptions,
|
|
71
87
|
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
72
88
|
): void;
|
|
89
|
+
createStream(
|
|
90
|
+
args: CreateStreamCommandInput,
|
|
91
|
+
options?: __HttpHandlerOptions
|
|
92
|
+
): Promise<CreateStreamCommandOutput>;
|
|
93
|
+
createStream(
|
|
94
|
+
args: CreateStreamCommandInput,
|
|
95
|
+
cb: (err: any, data?: CreateStreamCommandOutput) => void
|
|
96
|
+
): void;
|
|
97
|
+
createStream(
|
|
98
|
+
args: CreateStreamCommandInput,
|
|
99
|
+
options: __HttpHandlerOptions,
|
|
100
|
+
cb: (err: any, data?: CreateStreamCommandOutput) => void
|
|
101
|
+
): void;
|
|
73
102
|
deleteCluster(
|
|
74
103
|
args: DeleteClusterCommandInput,
|
|
75
104
|
options?: __HttpHandlerOptions
|
|
@@ -96,6 +125,19 @@ export interface DSQL {
|
|
|
96
125
|
options: __HttpHandlerOptions,
|
|
97
126
|
cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void
|
|
98
127
|
): void;
|
|
128
|
+
deleteStream(
|
|
129
|
+
args: DeleteStreamCommandInput,
|
|
130
|
+
options?: __HttpHandlerOptions
|
|
131
|
+
): Promise<DeleteStreamCommandOutput>;
|
|
132
|
+
deleteStream(
|
|
133
|
+
args: DeleteStreamCommandInput,
|
|
134
|
+
cb: (err: any, data?: DeleteStreamCommandOutput) => void
|
|
135
|
+
): void;
|
|
136
|
+
deleteStream(
|
|
137
|
+
args: DeleteStreamCommandInput,
|
|
138
|
+
options: __HttpHandlerOptions,
|
|
139
|
+
cb: (err: any, data?: DeleteStreamCommandOutput) => void
|
|
140
|
+
): void;
|
|
99
141
|
getCluster(
|
|
100
142
|
args: GetClusterCommandInput,
|
|
101
143
|
options?: __HttpHandlerOptions
|
|
@@ -122,6 +164,19 @@ export interface DSQL {
|
|
|
122
164
|
options: __HttpHandlerOptions,
|
|
123
165
|
cb: (err: any, data?: GetClusterPolicyCommandOutput) => void
|
|
124
166
|
): void;
|
|
167
|
+
getStream(
|
|
168
|
+
args: GetStreamCommandInput,
|
|
169
|
+
options?: __HttpHandlerOptions
|
|
170
|
+
): Promise<GetStreamCommandOutput>;
|
|
171
|
+
getStream(
|
|
172
|
+
args: GetStreamCommandInput,
|
|
173
|
+
cb: (err: any, data?: GetStreamCommandOutput) => void
|
|
174
|
+
): void;
|
|
175
|
+
getStream(
|
|
176
|
+
args: GetStreamCommandInput,
|
|
177
|
+
options: __HttpHandlerOptions,
|
|
178
|
+
cb: (err: any, data?: GetStreamCommandOutput) => void
|
|
179
|
+
): void;
|
|
125
180
|
getVpcEndpointServiceName(
|
|
126
181
|
args: GetVpcEndpointServiceNameCommandInput,
|
|
127
182
|
options?: __HttpHandlerOptions
|
|
@@ -149,6 +204,19 @@ export interface DSQL {
|
|
|
149
204
|
options: __HttpHandlerOptions,
|
|
150
205
|
cb: (err: any, data?: ListClustersCommandOutput) => void
|
|
151
206
|
): void;
|
|
207
|
+
listStreams(
|
|
208
|
+
args: ListStreamsCommandInput,
|
|
209
|
+
options?: __HttpHandlerOptions
|
|
210
|
+
): Promise<ListStreamsCommandOutput>;
|
|
211
|
+
listStreams(
|
|
212
|
+
args: ListStreamsCommandInput,
|
|
213
|
+
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
214
|
+
): void;
|
|
215
|
+
listStreams(
|
|
216
|
+
args: ListStreamsCommandInput,
|
|
217
|
+
options: __HttpHandlerOptions,
|
|
218
|
+
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
219
|
+
): void;
|
|
152
220
|
listTagsForResource(
|
|
153
221
|
args: ListTagsForResourceCommandInput,
|
|
154
222
|
options?: __HttpHandlerOptions
|
|
@@ -221,6 +289,13 @@ export interface DSQL {
|
|
|
221
289
|
Exclude<keyof PaginationConfiguration, "client">
|
|
222
290
|
>
|
|
223
291
|
): Paginator<ListClustersCommandOutput>;
|
|
292
|
+
paginateListStreams(
|
|
293
|
+
args: ListStreamsCommandInput,
|
|
294
|
+
paginationConfig?: Pick<
|
|
295
|
+
PaginationConfiguration,
|
|
296
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
297
|
+
>
|
|
298
|
+
): Paginator<ListStreamsCommandOutput>;
|
|
224
299
|
waitUntilClusterActive(
|
|
225
300
|
args: GetClusterCommandInput,
|
|
226
301
|
waiterConfig:
|
|
@@ -239,5 +314,23 @@ export interface DSQL {
|
|
|
239
314
|
Exclude<keyof WaiterConfiguration<DSQL>, "client">
|
|
240
315
|
>
|
|
241
316
|
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
317
|
+
waitUntilStreamActive(
|
|
318
|
+
args: GetStreamCommandInput,
|
|
319
|
+
waiterConfig:
|
|
320
|
+
| number
|
|
321
|
+
| Pick<
|
|
322
|
+
WaiterConfiguration<DSQL>,
|
|
323
|
+
Exclude<keyof WaiterConfiguration<DSQL>, "client">
|
|
324
|
+
>
|
|
325
|
+
): Promise<WaiterResult<GetStreamCommandOutput>>;
|
|
326
|
+
waitUntilStreamNotExists(
|
|
327
|
+
args: GetStreamCommandInput,
|
|
328
|
+
waiterConfig:
|
|
329
|
+
| number
|
|
330
|
+
| Pick<
|
|
331
|
+
WaiterConfiguration<DSQL>,
|
|
332
|
+
Exclude<keyof WaiterConfiguration<DSQL>, "client">
|
|
333
|
+
>
|
|
334
|
+
): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
242
335
|
}
|
|
243
336
|
export declare class DSQL extends DSQLClient implements DSQL {}
|