@aws-sdk/client-dax 3.52.0 → 3.53.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.
@@ -2,3 +2,4 @@ export * from "./DAX";
2
2
  export * from "./DAXClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { DAXServiceException } from "./models/DAXServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from DAX service.
4
+ */
5
+ export declare class DAXServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,20 +1,27 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DAXServiceException as __BaseException } from "./DAXServiceException";
2
3
  /**
3
4
  * <p>You already have a DAX cluster with the given identifier.</p>
4
5
  */
5
- export interface ClusterAlreadyExistsFault extends __SmithyException, $MetadataBearer {
6
- name: "ClusterAlreadyExistsFault";
7
- $fault: "client";
8
- message?: string;
6
+ export declare class ClusterAlreadyExistsFault extends __BaseException {
7
+ readonly name: "ClusterAlreadyExistsFault";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<ClusterAlreadyExistsFault, __BaseException>);
9
13
  }
10
14
  /**
11
15
  * <p>You have attempted to exceed the maximum number of DAX clusters for your AWS
12
16
  * account.</p>
13
17
  */
14
- export interface ClusterQuotaForCustomerExceededFault extends __SmithyException, $MetadataBearer {
15
- name: "ClusterQuotaForCustomerExceededFault";
16
- $fault: "client";
17
- message?: string;
18
+ export declare class ClusterQuotaForCustomerExceededFault extends __BaseException {
19
+ readonly name: "ClusterQuotaForCustomerExceededFault";
20
+ readonly $fault: "client";
21
+ /**
22
+ * @internal
23
+ */
24
+ constructor(opts: __ExceptionOptionType<ClusterQuotaForCustomerExceededFault, __BaseException>);
18
25
  }
19
26
  export declare enum ClusterEndpointEncryptionType {
20
27
  NONE = "NONE",
@@ -502,111 +509,151 @@ export declare namespace CreateClusterResponse {
502
509
  * <p>There are not enough system resources to create the cluster you requested (or to
503
510
  * resize an already-existing cluster). </p>
504
511
  */
505
- export interface InsufficientClusterCapacityFault extends __SmithyException, $MetadataBearer {
506
- name: "InsufficientClusterCapacityFault";
507
- $fault: "client";
508
- message?: string;
512
+ export declare class InsufficientClusterCapacityFault extends __BaseException {
513
+ readonly name: "InsufficientClusterCapacityFault";
514
+ readonly $fault: "client";
515
+ /**
516
+ * @internal
517
+ */
518
+ constructor(opts: __ExceptionOptionType<InsufficientClusterCapacityFault, __BaseException>);
509
519
  }
510
520
  /**
511
521
  * <p>The requested DAX cluster is not in the <i>available</i>
512
522
  * state.</p>
513
523
  */
514
- export interface InvalidClusterStateFault extends __SmithyException, $MetadataBearer {
515
- name: "InvalidClusterStateFault";
516
- $fault: "client";
517
- message?: string;
524
+ export declare class InvalidClusterStateFault extends __BaseException {
525
+ readonly name: "InvalidClusterStateFault";
526
+ readonly $fault: "client";
527
+ /**
528
+ * @internal
529
+ */
530
+ constructor(opts: __ExceptionOptionType<InvalidClusterStateFault, __BaseException>);
518
531
  }
519
532
  /**
520
533
  * <p>Two or more incompatible parameters were specified.</p>
521
534
  */
522
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
523
- name: "InvalidParameterCombinationException";
524
- $fault: "client";
525
- message?: string;
535
+ export declare class InvalidParameterCombinationException extends __BaseException {
536
+ readonly name: "InvalidParameterCombinationException";
537
+ readonly $fault: "client";
538
+ /**
539
+ * @internal
540
+ */
541
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
526
542
  }
527
543
  /**
528
544
  * <p>One or more parameters in a parameter group are in an invalid state.</p>
529
545
  */
530
- export interface InvalidParameterGroupStateFault extends __SmithyException, $MetadataBearer {
531
- name: "InvalidParameterGroupStateFault";
532
- $fault: "client";
533
- message?: string;
546
+ export declare class InvalidParameterGroupStateFault extends __BaseException {
547
+ readonly name: "InvalidParameterGroupStateFault";
548
+ readonly $fault: "client";
549
+ /**
550
+ * @internal
551
+ */
552
+ constructor(opts: __ExceptionOptionType<InvalidParameterGroupStateFault, __BaseException>);
534
553
  }
535
554
  /**
536
555
  * <p>The value for a parameter is invalid.</p>
537
556
  */
538
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
539
- name: "InvalidParameterValueException";
540
- $fault: "client";
541
- message?: string;
557
+ export declare class InvalidParameterValueException extends __BaseException {
558
+ readonly name: "InvalidParameterValueException";
559
+ readonly $fault: "client";
560
+ /**
561
+ * @internal
562
+ */
563
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
542
564
  }
543
565
  /**
544
566
  * <p>The VPC network is in an invalid state.</p>
545
567
  */
546
- export interface InvalidVPCNetworkStateFault extends __SmithyException, $MetadataBearer {
547
- name: "InvalidVPCNetworkStateFault";
548
- $fault: "client";
549
- message?: string;
568
+ export declare class InvalidVPCNetworkStateFault extends __BaseException {
569
+ readonly name: "InvalidVPCNetworkStateFault";
570
+ readonly $fault: "client";
571
+ /**
572
+ * @internal
573
+ */
574
+ constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>);
550
575
  }
551
576
  /**
552
577
  * <p>You have attempted to exceed the maximum number of nodes for a DAX
553
578
  * cluster.</p>
554
579
  */
555
- export interface NodeQuotaForClusterExceededFault extends __SmithyException, $MetadataBearer {
556
- name: "NodeQuotaForClusterExceededFault";
557
- $fault: "client";
558
- message?: string;
580
+ export declare class NodeQuotaForClusterExceededFault extends __BaseException {
581
+ readonly name: "NodeQuotaForClusterExceededFault";
582
+ readonly $fault: "client";
583
+ /**
584
+ * @internal
585
+ */
586
+ constructor(opts: __ExceptionOptionType<NodeQuotaForClusterExceededFault, __BaseException>);
559
587
  }
560
588
  /**
561
589
  * <p>You have attempted to exceed the maximum number of nodes for your AWS
562
590
  * account.</p>
563
591
  */
564
- export interface NodeQuotaForCustomerExceededFault extends __SmithyException, $MetadataBearer {
565
- name: "NodeQuotaForCustomerExceededFault";
566
- $fault: "client";
567
- message?: string;
592
+ export declare class NodeQuotaForCustomerExceededFault extends __BaseException {
593
+ readonly name: "NodeQuotaForCustomerExceededFault";
594
+ readonly $fault: "client";
595
+ /**
596
+ * @internal
597
+ */
598
+ constructor(opts: __ExceptionOptionType<NodeQuotaForCustomerExceededFault, __BaseException>);
568
599
  }
569
600
  /**
570
601
  * <p>The specified parameter group does not exist.</p>
571
602
  */
572
- export interface ParameterGroupNotFoundFault extends __SmithyException, $MetadataBearer {
573
- name: "ParameterGroupNotFoundFault";
574
- $fault: "client";
575
- message?: string;
603
+ export declare class ParameterGroupNotFoundFault extends __BaseException {
604
+ readonly name: "ParameterGroupNotFoundFault";
605
+ readonly $fault: "client";
606
+ /**
607
+ * @internal
608
+ */
609
+ constructor(opts: __ExceptionOptionType<ParameterGroupNotFoundFault, __BaseException>);
576
610
  }
577
611
  /**
578
612
  * <p>The specified service linked role (SLR) was not found.</p>
579
613
  */
580
- export interface ServiceLinkedRoleNotFoundFault extends __SmithyException, $MetadataBearer {
581
- name: "ServiceLinkedRoleNotFoundFault";
582
- $fault: "client";
583
- message?: string;
614
+ export declare class ServiceLinkedRoleNotFoundFault extends __BaseException {
615
+ readonly name: "ServiceLinkedRoleNotFoundFault";
616
+ readonly $fault: "client";
617
+ /**
618
+ * @internal
619
+ */
620
+ constructor(opts: __ExceptionOptionType<ServiceLinkedRoleNotFoundFault, __BaseException>);
584
621
  }
585
622
  /**
586
623
  * <p>You have reached the maximum number of x509 certificates that can be created for
587
624
  * encrypted clusters in a 30 day period. Contact AWS customer support to discuss options
588
625
  * for continuing to create encrypted clusters.</p>
589
626
  */
590
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
591
- name: "ServiceQuotaExceededException";
592
- $fault: "client";
627
+ export declare class ServiceQuotaExceededException extends __BaseException {
628
+ readonly name: "ServiceQuotaExceededException";
629
+ readonly $fault: "client";
630
+ /**
631
+ * @internal
632
+ */
633
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
593
634
  }
594
635
  /**
595
636
  * <p>The requested subnet group name does not refer to an existing subnet
596
637
  * group.</p>
597
638
  */
598
- export interface SubnetGroupNotFoundFault extends __SmithyException, $MetadataBearer {
599
- name: "SubnetGroupNotFoundFault";
600
- $fault: "client";
601
- message?: string;
639
+ export declare class SubnetGroupNotFoundFault extends __BaseException {
640
+ readonly name: "SubnetGroupNotFoundFault";
641
+ readonly $fault: "client";
642
+ /**
643
+ * @internal
644
+ */
645
+ constructor(opts: __ExceptionOptionType<SubnetGroupNotFoundFault, __BaseException>);
602
646
  }
603
647
  /**
604
648
  * <p>You have exceeded the maximum number of tags for this DAX cluster.</p>
605
649
  */
606
- export interface TagQuotaPerResourceExceeded extends __SmithyException, $MetadataBearer {
607
- name: "TagQuotaPerResourceExceeded";
608
- $fault: "client";
609
- message?: string;
650
+ export declare class TagQuotaPerResourceExceeded extends __BaseException {
651
+ readonly name: "TagQuotaPerResourceExceeded";
652
+ readonly $fault: "client";
653
+ /**
654
+ * @internal
655
+ */
656
+ constructor(opts: __ExceptionOptionType<TagQuotaPerResourceExceeded, __BaseException>);
610
657
  }
611
658
  export interface CreateParameterGroupRequest {
612
659
  /**
@@ -661,18 +708,24 @@ export declare namespace CreateParameterGroupResponse {
661
708
  /**
662
709
  * <p>The specified parameter group already exists.</p>
663
710
  */
664
- export interface ParameterGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
665
- name: "ParameterGroupAlreadyExistsFault";
666
- $fault: "client";
667
- message?: string;
711
+ export declare class ParameterGroupAlreadyExistsFault extends __BaseException {
712
+ readonly name: "ParameterGroupAlreadyExistsFault";
713
+ readonly $fault: "client";
714
+ /**
715
+ * @internal
716
+ */
717
+ constructor(opts: __ExceptionOptionType<ParameterGroupAlreadyExistsFault, __BaseException>);
668
718
  }
669
719
  /**
670
720
  * <p>You have attempted to exceed the maximum number of parameter groups.</p>
671
721
  */
672
- export interface ParameterGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
673
- name: "ParameterGroupQuotaExceededFault";
674
- $fault: "client";
675
- message?: string;
722
+ export declare class ParameterGroupQuotaExceededFault extends __BaseException {
723
+ readonly name: "ParameterGroupQuotaExceededFault";
724
+ readonly $fault: "client";
725
+ /**
726
+ * @internal
727
+ */
728
+ constructor(opts: __ExceptionOptionType<ParameterGroupQuotaExceededFault, __BaseException>);
676
729
  }
677
730
  export interface CreateSubnetGroupRequest {
678
731
  /**
@@ -770,44 +823,59 @@ export declare namespace CreateSubnetGroupResponse {
770
823
  /**
771
824
  * <p>An invalid subnet identifier was specified.</p>
772
825
  */
773
- export interface InvalidSubnet extends __SmithyException, $MetadataBearer {
774
- name: "InvalidSubnet";
775
- $fault: "client";
776
- message?: string;
826
+ export declare class InvalidSubnet extends __BaseException {
827
+ readonly name: "InvalidSubnet";
828
+ readonly $fault: "client";
829
+ /**
830
+ * @internal
831
+ */
832
+ constructor(opts: __ExceptionOptionType<InvalidSubnet, __BaseException>);
777
833
  }
778
834
  /**
779
835
  * <p>The specified subnet group already exists.</p>
780
836
  */
781
- export interface SubnetGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
782
- name: "SubnetGroupAlreadyExistsFault";
783
- $fault: "client";
784
- message?: string;
837
+ export declare class SubnetGroupAlreadyExistsFault extends __BaseException {
838
+ readonly name: "SubnetGroupAlreadyExistsFault";
839
+ readonly $fault: "client";
840
+ /**
841
+ * @internal
842
+ */
843
+ constructor(opts: __ExceptionOptionType<SubnetGroupAlreadyExistsFault, __BaseException>);
785
844
  }
786
845
  /**
787
846
  * <p>The request cannot be processed because it would exceed the allowed number of
788
847
  * subnets in a subnet group.</p>
789
848
  */
790
- export interface SubnetGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
791
- name: "SubnetGroupQuotaExceededFault";
792
- $fault: "client";
793
- message?: string;
849
+ export declare class SubnetGroupQuotaExceededFault extends __BaseException {
850
+ readonly name: "SubnetGroupQuotaExceededFault";
851
+ readonly $fault: "client";
852
+ /**
853
+ * @internal
854
+ */
855
+ constructor(opts: __ExceptionOptionType<SubnetGroupQuotaExceededFault, __BaseException>);
794
856
  }
795
857
  /**
796
858
  * <p>The request cannot be processed because it would exceed the allowed number of
797
859
  * subnets in a subnet group.</p>
798
860
  */
799
- export interface SubnetQuotaExceededFault extends __SmithyException, $MetadataBearer {
800
- name: "SubnetQuotaExceededFault";
801
- $fault: "client";
802
- message?: string;
861
+ export declare class SubnetQuotaExceededFault extends __BaseException {
862
+ readonly name: "SubnetQuotaExceededFault";
863
+ readonly $fault: "client";
864
+ /**
865
+ * @internal
866
+ */
867
+ constructor(opts: __ExceptionOptionType<SubnetQuotaExceededFault, __BaseException>);
803
868
  }
804
869
  /**
805
870
  * <p>The requested cluster ID does not refer to an existing DAX cluster.</p>
806
871
  */
807
- export interface ClusterNotFoundFault extends __SmithyException, $MetadataBearer {
808
- name: "ClusterNotFoundFault";
809
- $fault: "client";
810
- message?: string;
872
+ export declare class ClusterNotFoundFault extends __BaseException {
873
+ readonly name: "ClusterNotFoundFault";
874
+ readonly $fault: "client";
875
+ /**
876
+ * @internal
877
+ */
878
+ constructor(opts: __ExceptionOptionType<ClusterNotFoundFault, __BaseException>);
811
879
  }
812
880
  export interface DecreaseReplicationFactorRequest {
813
881
  /**
@@ -849,10 +917,13 @@ export declare namespace DecreaseReplicationFactorResponse {
849
917
  /**
850
918
  * <p>None of the nodes in the cluster have the given node ID.</p>
851
919
  */
852
- export interface NodeNotFoundFault extends __SmithyException, $MetadataBearer {
853
- name: "NodeNotFoundFault";
854
- $fault: "client";
855
- message?: string;
920
+ export declare class NodeNotFoundFault extends __BaseException {
921
+ readonly name: "NodeNotFoundFault";
922
+ readonly $fault: "client";
923
+ /**
924
+ * @internal
925
+ */
926
+ constructor(opts: __ExceptionOptionType<NodeNotFoundFault, __BaseException>);
856
927
  }
857
928
  export interface DeleteClusterRequest {
858
929
  /**
@@ -931,10 +1002,13 @@ export declare namespace DeleteSubnetGroupResponse {
931
1002
  /**
932
1003
  * <p>The specified subnet group is currently in use.</p>
933
1004
  */
934
- export interface SubnetGroupInUseFault extends __SmithyException, $MetadataBearer {
935
- name: "SubnetGroupInUseFault";
936
- $fault: "client";
937
- message?: string;
1005
+ export declare class SubnetGroupInUseFault extends __BaseException {
1006
+ readonly name: "SubnetGroupInUseFault";
1007
+ readonly $fault: "client";
1008
+ /**
1009
+ * @internal
1010
+ */
1011
+ constructor(opts: __ExceptionOptionType<SubnetGroupInUseFault, __BaseException>);
938
1012
  }
939
1013
  export interface DescribeClustersRequest {
940
1014
  /**
@@ -1358,10 +1432,13 @@ export declare namespace IncreaseReplicationFactorResponse {
1358
1432
  /**
1359
1433
  * <p>The Amazon Resource Name (ARN) supplied in the request is not valid.</p>
1360
1434
  */
1361
- export interface InvalidARNFault extends __SmithyException, $MetadataBearer {
1362
- name: "InvalidARNFault";
1363
- $fault: "client";
1364
- message?: string;
1435
+ export declare class InvalidARNFault extends __BaseException {
1436
+ readonly name: "InvalidARNFault";
1437
+ readonly $fault: "client";
1438
+ /**
1439
+ * @internal
1440
+ */
1441
+ constructor(opts: __ExceptionOptionType<InvalidARNFault, __BaseException>);
1365
1442
  }
1366
1443
  export interface ListTagsRequest {
1367
1444
  /**
@@ -1457,10 +1534,13 @@ export declare namespace TagResourceResponse {
1457
1534
  /**
1458
1535
  * <p>The tag does not exist.</p>
1459
1536
  */
1460
- export interface TagNotFoundFault extends __SmithyException, $MetadataBearer {
1461
- name: "TagNotFoundFault";
1462
- $fault: "client";
1463
- message?: string;
1537
+ export declare class TagNotFoundFault extends __BaseException {
1538
+ readonly name: "TagNotFoundFault";
1539
+ readonly $fault: "client";
1540
+ /**
1541
+ * @internal
1542
+ */
1543
+ constructor(opts: __ExceptionOptionType<TagNotFoundFault, __BaseException>);
1464
1544
  }
1465
1545
  export interface UntagResourceRequest {
1466
1546
  /**
@@ -1598,10 +1678,13 @@ export declare namespace UpdateParameterGroupResponse {
1598
1678
  /**
1599
1679
  * <p>The requested subnet is being used by another subnet group.</p>
1600
1680
  */
1601
- export interface SubnetInUse extends __SmithyException, $MetadataBearer {
1602
- name: "SubnetInUse";
1603
- $fault: "client";
1604
- message?: string;
1681
+ export declare class SubnetInUse extends __BaseException {
1682
+ readonly name: "SubnetInUse";
1683
+ readonly $fault: "client";
1684
+ /**
1685
+ * @internal
1686
+ */
1687
+ constructor(opts: __ExceptionOptionType<SubnetInUse, __BaseException>);
1605
1688
  }
1606
1689
  export interface UpdateSubnetGroupRequest {
1607
1690
  /**
@@ -2,3 +2,4 @@ export * from "./DAX";
2
2
  export * from "./DAXClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { DAXServiceException } from "./models/DAXServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class DAXServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }