@aws-sdk/client-dax 3.933.0 → 3.935.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.
@@ -1,55 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { DAXServiceException as __BaseException } from "./DAXServiceException";
3
- /**
4
- * <p>You already have a DAX cluster with the given identifier.</p>
5
- * @public
6
- */
7
- export declare class ClusterAlreadyExistsFault extends __BaseException {
8
- readonly name: "ClusterAlreadyExistsFault";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<ClusterAlreadyExistsFault, __BaseException>);
14
- }
15
- /**
16
- * <p>You have attempted to exceed the maximum number of DAX clusters for
17
- * your Amazon Web Services account.</p>
18
- * @public
19
- */
20
- export declare class ClusterQuotaForCustomerExceededFault extends __BaseException {
21
- readonly name: "ClusterQuotaForCustomerExceededFault";
22
- readonly $fault: "client";
23
- /**
24
- * @internal
25
- */
26
- constructor(opts: __ExceptionOptionType<ClusterQuotaForCustomerExceededFault, __BaseException>);
27
- }
28
- /**
29
- * @public
30
- * @enum
31
- */
32
- export declare const ClusterEndpointEncryptionType: {
33
- readonly NONE: "NONE";
34
- readonly TLS: "TLS";
35
- };
36
- /**
37
- * @public
38
- */
39
- export type ClusterEndpointEncryptionType = (typeof ClusterEndpointEncryptionType)[keyof typeof ClusterEndpointEncryptionType];
40
- /**
41
- * @public
42
- * @enum
43
- */
44
- export declare const NetworkType: {
45
- readonly DUAL_STACK: "dual_stack";
46
- readonly IPV4: "ipv4";
47
- readonly IPV6: "ipv6";
48
- };
49
- /**
50
- * @public
51
- */
52
- export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
1
+ import { ChangeType, ClusterEndpointEncryptionType, IsModifiable, NetworkType, ParameterType, SourceType, SSEStatus } from "./enums";
53
2
  /**
54
3
  * <p>Represents the settings used to enable server-side encryption.</p>
55
4
  * @public
@@ -411,20 +360,6 @@ export interface SecurityGroupMembership {
411
360
  */
412
361
  Status?: string | undefined;
413
362
  }
414
- /**
415
- * @public
416
- * @enum
417
- */
418
- export declare const SSEStatus: {
419
- readonly DISABLED: "DISABLED";
420
- readonly DISABLING: "DISABLING";
421
- readonly ENABLED: "ENABLED";
422
- readonly ENABLING: "ENABLING";
423
- };
424
- /**
425
- * @public
426
- */
427
- export type SSEStatus = (typeof SSEStatus)[keyof typeof SSEStatus];
428
363
  /**
429
364
  * <p>The description of the server-side encryption status on the specified DAX
430
365
  * cluster.</p>
@@ -599,168 +534,6 @@ export interface CreateClusterResponse {
599
534
  */
600
535
  Cluster?: Cluster | undefined;
601
536
  }
602
- /**
603
- * <p>There are not enough system resources to create the cluster you requested (or to
604
- * resize an already-existing cluster). </p>
605
- * @public
606
- */
607
- export declare class InsufficientClusterCapacityFault extends __BaseException {
608
- readonly name: "InsufficientClusterCapacityFault";
609
- readonly $fault: "client";
610
- /**
611
- * @internal
612
- */
613
- constructor(opts: __ExceptionOptionType<InsufficientClusterCapacityFault, __BaseException>);
614
- }
615
- /**
616
- * <p>The requested DAX cluster is not in the
617
- * <i>available</i> state.</p>
618
- * @public
619
- */
620
- export declare class InvalidClusterStateFault extends __BaseException {
621
- readonly name: "InvalidClusterStateFault";
622
- readonly $fault: "client";
623
- /**
624
- * @internal
625
- */
626
- constructor(opts: __ExceptionOptionType<InvalidClusterStateFault, __BaseException>);
627
- }
628
- /**
629
- * <p>Two or more incompatible parameters were specified.</p>
630
- * @public
631
- */
632
- export declare class InvalidParameterCombinationException extends __BaseException {
633
- readonly name: "InvalidParameterCombinationException";
634
- readonly $fault: "client";
635
- /**
636
- * @internal
637
- */
638
- constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
639
- }
640
- /**
641
- * <p>One or more parameters in a parameter group are in an invalid state.</p>
642
- * @public
643
- */
644
- export declare class InvalidParameterGroupStateFault extends __BaseException {
645
- readonly name: "InvalidParameterGroupStateFault";
646
- readonly $fault: "client";
647
- /**
648
- * @internal
649
- */
650
- constructor(opts: __ExceptionOptionType<InvalidParameterGroupStateFault, __BaseException>);
651
- }
652
- /**
653
- * <p>The value for a parameter is invalid.</p>
654
- * @public
655
- */
656
- export declare class InvalidParameterValueException extends __BaseException {
657
- readonly name: "InvalidParameterValueException";
658
- readonly $fault: "client";
659
- /**
660
- * @internal
661
- */
662
- constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
663
- }
664
- /**
665
- * <p>The VPC network is in an invalid state.</p>
666
- * @public
667
- */
668
- export declare class InvalidVPCNetworkStateFault extends __BaseException {
669
- readonly name: "InvalidVPCNetworkStateFault";
670
- readonly $fault: "client";
671
- /**
672
- * @internal
673
- */
674
- constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>);
675
- }
676
- /**
677
- * <p>You have attempted to exceed the maximum number of nodes for a DAX
678
- * cluster.</p>
679
- * @public
680
- */
681
- export declare class NodeQuotaForClusterExceededFault extends __BaseException {
682
- readonly name: "NodeQuotaForClusterExceededFault";
683
- readonly $fault: "client";
684
- /**
685
- * @internal
686
- */
687
- constructor(opts: __ExceptionOptionType<NodeQuotaForClusterExceededFault, __BaseException>);
688
- }
689
- /**
690
- * <p>You have attempted to exceed the maximum number of nodes for your Amazon Web Services account.</p>
691
- * @public
692
- */
693
- export declare class NodeQuotaForCustomerExceededFault extends __BaseException {
694
- readonly name: "NodeQuotaForCustomerExceededFault";
695
- readonly $fault: "client";
696
- /**
697
- * @internal
698
- */
699
- constructor(opts: __ExceptionOptionType<NodeQuotaForCustomerExceededFault, __BaseException>);
700
- }
701
- /**
702
- * <p>The specified parameter group does not exist.</p>
703
- * @public
704
- */
705
- export declare class ParameterGroupNotFoundFault extends __BaseException {
706
- readonly name: "ParameterGroupNotFoundFault";
707
- readonly $fault: "client";
708
- /**
709
- * @internal
710
- */
711
- constructor(opts: __ExceptionOptionType<ParameterGroupNotFoundFault, __BaseException>);
712
- }
713
- /**
714
- * <p>The specified service linked role (SLR) was not found.</p>
715
- * @public
716
- */
717
- export declare class ServiceLinkedRoleNotFoundFault extends __BaseException {
718
- readonly name: "ServiceLinkedRoleNotFoundFault";
719
- readonly $fault: "client";
720
- /**
721
- * @internal
722
- */
723
- constructor(opts: __ExceptionOptionType<ServiceLinkedRoleNotFoundFault, __BaseException>);
724
- }
725
- /**
726
- * <p>You have reached the maximum number of x509 certificates that can be created for
727
- * encrypted clusters in a 30 day period. Contact Amazon Web Services customer support to
728
- * discuss options for continuing to create encrypted clusters.</p>
729
- * @public
730
- */
731
- export declare class ServiceQuotaExceededException extends __BaseException {
732
- readonly name: "ServiceQuotaExceededException";
733
- readonly $fault: "client";
734
- /**
735
- * @internal
736
- */
737
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
738
- }
739
- /**
740
- * <p>The requested subnet group name does not refer to an existing subnet
741
- * group.</p>
742
- * @public
743
- */
744
- export declare class SubnetGroupNotFoundFault extends __BaseException {
745
- readonly name: "SubnetGroupNotFoundFault";
746
- readonly $fault: "client";
747
- /**
748
- * @internal
749
- */
750
- constructor(opts: __ExceptionOptionType<SubnetGroupNotFoundFault, __BaseException>);
751
- }
752
- /**
753
- * <p>You have exceeded the maximum number of tags for this DAX cluster.</p>
754
- * @public
755
- */
756
- export declare class TagQuotaPerResourceExceeded extends __BaseException {
757
- readonly name: "TagQuotaPerResourceExceeded";
758
- readonly $fault: "client";
759
- /**
760
- * @internal
761
- */
762
- constructor(opts: __ExceptionOptionType<TagQuotaPerResourceExceeded, __BaseException>);
763
- }
764
537
  /**
765
538
  * @public
766
539
  */
@@ -804,30 +577,6 @@ export interface CreateParameterGroupResponse {
804
577
  */
805
578
  ParameterGroup?: ParameterGroup | undefined;
806
579
  }
807
- /**
808
- * <p>The specified parameter group already exists.</p>
809
- * @public
810
- */
811
- export declare class ParameterGroupAlreadyExistsFault extends __BaseException {
812
- readonly name: "ParameterGroupAlreadyExistsFault";
813
- readonly $fault: "client";
814
- /**
815
- * @internal
816
- */
817
- constructor(opts: __ExceptionOptionType<ParameterGroupAlreadyExistsFault, __BaseException>);
818
- }
819
- /**
820
- * <p>You have attempted to exceed the maximum number of parameter groups.</p>
821
- * @public
822
- */
823
- export declare class ParameterGroupQuotaExceededFault extends __BaseException {
824
- readonly name: "ParameterGroupQuotaExceededFault";
825
- readonly $fault: "client";
826
- /**
827
- * @internal
828
- */
829
- constructor(opts: __ExceptionOptionType<ParameterGroupQuotaExceededFault, __BaseException>);
830
- }
831
580
  /**
832
581
  * @public
833
582
  */
@@ -929,85 +678,6 @@ export interface CreateSubnetGroupResponse {
929
678
  */
930
679
  SubnetGroup?: SubnetGroup | undefined;
931
680
  }
932
- /**
933
- * <p>An invalid subnet identifier was specified.</p>
934
- * @public
935
- */
936
- export declare class InvalidSubnet extends __BaseException {
937
- readonly name: "InvalidSubnet";
938
- readonly $fault: "client";
939
- /**
940
- * @internal
941
- */
942
- constructor(opts: __ExceptionOptionType<InvalidSubnet, __BaseException>);
943
- }
944
- /**
945
- * <p>The specified subnet group already exists.</p>
946
- * @public
947
- */
948
- export declare class SubnetGroupAlreadyExistsFault extends __BaseException {
949
- readonly name: "SubnetGroupAlreadyExistsFault";
950
- readonly $fault: "client";
951
- /**
952
- * @internal
953
- */
954
- constructor(opts: __ExceptionOptionType<SubnetGroupAlreadyExistsFault, __BaseException>);
955
- }
956
- /**
957
- * <p>The request cannot be processed because it would exceed the allowed number of
958
- * subnets in a subnet group.</p>
959
- * @public
960
- */
961
- export declare class SubnetGroupQuotaExceededFault extends __BaseException {
962
- readonly name: "SubnetGroupQuotaExceededFault";
963
- readonly $fault: "client";
964
- /**
965
- * @internal
966
- */
967
- constructor(opts: __ExceptionOptionType<SubnetGroupQuotaExceededFault, __BaseException>);
968
- }
969
- /**
970
- * <p>The specified subnet can't be used for the requested network type. This error
971
- * occurs when either there aren't enough subnets of the required network type to create
972
- * the cluster, or when you try to use a subnet that doesn't support the requested network
973
- * type (for example, trying to create a dual-stack cluster with a subnet that doesn't have
974
- * IPv6 CIDR). </p>
975
- * @public
976
- */
977
- export declare class SubnetNotAllowedFault extends __BaseException {
978
- readonly name: "SubnetNotAllowedFault";
979
- readonly $fault: "client";
980
- /**
981
- * @internal
982
- */
983
- constructor(opts: __ExceptionOptionType<SubnetNotAllowedFault, __BaseException>);
984
- }
985
- /**
986
- * <p>The request cannot be processed because it would exceed the allowed number of
987
- * subnets in a subnet group.</p>
988
- * @public
989
- */
990
- export declare class SubnetQuotaExceededFault extends __BaseException {
991
- readonly name: "SubnetQuotaExceededFault";
992
- readonly $fault: "client";
993
- /**
994
- * @internal
995
- */
996
- constructor(opts: __ExceptionOptionType<SubnetQuotaExceededFault, __BaseException>);
997
- }
998
- /**
999
- * <p>The requested cluster ID does not refer to an existing DAX
1000
- * cluster.</p>
1001
- * @public
1002
- */
1003
- export declare class ClusterNotFoundFault extends __BaseException {
1004
- readonly name: "ClusterNotFoundFault";
1005
- readonly $fault: "client";
1006
- /**
1007
- * @internal
1008
- */
1009
- constructor(opts: __ExceptionOptionType<ClusterNotFoundFault, __BaseException>);
1010
- }
1011
681
  /**
1012
682
  * @public
1013
683
  */
@@ -1045,18 +715,6 @@ export interface DecreaseReplicationFactorResponse {
1045
715
  */
1046
716
  Cluster?: Cluster | undefined;
1047
717
  }
1048
- /**
1049
- * <p>None of the nodes in the cluster have the given node ID.</p>
1050
- * @public
1051
- */
1052
- export declare class NodeNotFoundFault extends __BaseException {
1053
- readonly name: "NodeNotFoundFault";
1054
- readonly $fault: "client";
1055
- /**
1056
- * @internal
1057
- */
1058
- constructor(opts: __ExceptionOptionType<NodeNotFoundFault, __BaseException>);
1059
- }
1060
718
  /**
1061
719
  * @public
1062
720
  */
@@ -1119,18 +777,6 @@ export interface DeleteSubnetGroupResponse {
1119
777
  */
1120
778
  DeletionMessage?: string | undefined;
1121
779
  }
1122
- /**
1123
- * <p>The specified subnet group is currently in use.</p>
1124
- * @public
1125
- */
1126
- export declare class SubnetGroupInUseFault extends __BaseException {
1127
- readonly name: "SubnetGroupInUseFault";
1128
- readonly $fault: "client";
1129
- /**
1130
- * @internal
1131
- */
1132
- constructor(opts: __ExceptionOptionType<SubnetGroupInUseFault, __BaseException>);
1133
- }
1134
780
  /**
1135
781
  * @public
1136
782
  */
@@ -1194,31 +840,6 @@ export interface DescribeDefaultParametersRequest {
1194
840
  */
1195
841
  NextToken?: string | undefined;
1196
842
  }
1197
- /**
1198
- * @public
1199
- * @enum
1200
- */
1201
- export declare const ChangeType: {
1202
- readonly IMMEDIATE: "IMMEDIATE";
1203
- readonly REQUIRES_REBOOT: "REQUIRES_REBOOT";
1204
- };
1205
- /**
1206
- * @public
1207
- */
1208
- export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
1209
- /**
1210
- * @public
1211
- * @enum
1212
- */
1213
- export declare const IsModifiable: {
1214
- readonly CONDITIONAL: "CONDITIONAL";
1215
- readonly FALSE: "FALSE";
1216
- readonly TRUE: "TRUE";
1217
- };
1218
- /**
1219
- * @public
1220
- */
1221
- export type IsModifiable = (typeof IsModifiable)[keyof typeof IsModifiable];
1222
843
  /**
1223
844
  * <p>Represents a parameter value that is applicable to a particular node
1224
845
  * type.</p>
@@ -1236,18 +857,6 @@ export interface NodeTypeSpecificValue {
1236
857
  */
1237
858
  Value?: string | undefined;
1238
859
  }
1239
- /**
1240
- * @public
1241
- * @enum
1242
- */
1243
- export declare const ParameterType: {
1244
- readonly DEFAULT: "DEFAULT";
1245
- readonly NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC";
1246
- };
1247
- /**
1248
- * @public
1249
- */
1250
- export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
1251
860
  /**
1252
861
  * <p>Describes an individual setting that controls some aspect of DAX
1253
862
  * behavior.</p>
@@ -1324,19 +933,6 @@ export interface DescribeDefaultParametersResponse {
1324
933
  */
1325
934
  Parameters?: Parameter[] | undefined;
1326
935
  }
1327
- /**
1328
- * @public
1329
- * @enum
1330
- */
1331
- export declare const SourceType: {
1332
- readonly CLUSTER: "CLUSTER";
1333
- readonly PARAMETER_GROUP: "PARAMETER_GROUP";
1334
- readonly SUBNET_GROUP: "SUBNET_GROUP";
1335
- };
1336
- /**
1337
- * @public
1338
- */
1339
- export type SourceType = (typeof SourceType)[keyof typeof SourceType];
1340
936
  /**
1341
937
  * @public
1342
938
  */
@@ -1597,18 +1193,6 @@ export interface IncreaseReplicationFactorResponse {
1597
1193
  */
1598
1194
  Cluster?: Cluster | undefined;
1599
1195
  }
1600
- /**
1601
- * <p>The Amazon Resource Name (ARN) supplied in the request is not valid.</p>
1602
- * @public
1603
- */
1604
- export declare class InvalidARNFault extends __BaseException {
1605
- readonly name: "InvalidARNFault";
1606
- readonly $fault: "client";
1607
- /**
1608
- * @internal
1609
- */
1610
- constructor(opts: __ExceptionOptionType<InvalidARNFault, __BaseException>);
1611
- }
1612
1196
  /**
1613
1197
  * @public
1614
1198
  */
@@ -1696,18 +1280,6 @@ export interface TagResourceResponse {
1696
1280
  */
1697
1281
  Tags?: Tag[] | undefined;
1698
1282
  }
1699
- /**
1700
- * <p>The tag does not exist.</p>
1701
- * @public
1702
- */
1703
- export declare class TagNotFoundFault extends __BaseException {
1704
- readonly name: "TagNotFoundFault";
1705
- readonly $fault: "client";
1706
- /**
1707
- * @internal
1708
- */
1709
- constructor(opts: __ExceptionOptionType<TagNotFoundFault, __BaseException>);
1710
- }
1711
1283
  /**
1712
1284
  * @public
1713
1285
  */
@@ -1838,18 +1410,6 @@ export interface UpdateParameterGroupResponse {
1838
1410
  */
1839
1411
  ParameterGroup?: ParameterGroup | undefined;
1840
1412
  }
1841
- /**
1842
- * <p>The requested subnet is being used by another subnet group.</p>
1843
- * @public
1844
- */
1845
- export declare class SubnetInUse extends __BaseException {
1846
- readonly name: "SubnetInUse";
1847
- readonly $fault: "client";
1848
- /**
1849
- * @internal
1850
- */
1851
- constructor(opts: __ExceptionOptionType<SubnetInUse, __BaseException>);
1852
- }
1853
1413
  /**
1854
1414
  * @public
1855
1415
  */
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { DAXExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/enums";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
8
10
  export { DAXServiceException } from "./models/DAXServiceException";
@@ -0,0 +1,41 @@
1
+ export declare const ClusterEndpointEncryptionType: {
2
+ readonly NONE: "NONE";
3
+ readonly TLS: "TLS";
4
+ };
5
+ export type ClusterEndpointEncryptionType =
6
+ (typeof ClusterEndpointEncryptionType)[keyof typeof ClusterEndpointEncryptionType];
7
+ export declare const NetworkType: {
8
+ readonly DUAL_STACK: "dual_stack";
9
+ readonly IPV4: "ipv4";
10
+ readonly IPV6: "ipv6";
11
+ };
12
+ export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
13
+ export declare const SSEStatus: {
14
+ readonly DISABLED: "DISABLED";
15
+ readonly DISABLING: "DISABLING";
16
+ readonly ENABLED: "ENABLED";
17
+ readonly ENABLING: "ENABLING";
18
+ };
19
+ export type SSEStatus = (typeof SSEStatus)[keyof typeof SSEStatus];
20
+ export declare const ChangeType: {
21
+ readonly IMMEDIATE: "IMMEDIATE";
22
+ readonly REQUIRES_REBOOT: "REQUIRES_REBOOT";
23
+ };
24
+ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
25
+ export declare const IsModifiable: {
26
+ readonly CONDITIONAL: "CONDITIONAL";
27
+ readonly FALSE: "FALSE";
28
+ readonly TRUE: "TRUE";
29
+ };
30
+ export type IsModifiable = (typeof IsModifiable)[keyof typeof IsModifiable];
31
+ export declare const ParameterType: {
32
+ readonly DEFAULT: "DEFAULT";
33
+ readonly NODE_TYPE_SPECIFIC: "NODE_TYPE_SPECIFIC";
34
+ };
35
+ export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
36
+ export declare const SourceType: {
37
+ readonly CLUSTER: "CLUSTER";
38
+ readonly PARAMETER_GROUP: "PARAMETER_GROUP";
39
+ readonly SUBNET_GROUP: "SUBNET_GROUP";
40
+ };
41
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];