-
Notifications
You must be signed in to change notification settings - Fork 573
/
models_0.ts
1953 lines (1755 loc) · 51.5 KB
/
models_0.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// smithy-typescript generated code
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
import { DAXServiceException as __BaseException } from "./DAXServiceException";
/**
* @public
* <p>You already have a DAX cluster with the given identifier.</p>
*/
export class ClusterAlreadyExistsFault extends __BaseException {
readonly name: "ClusterAlreadyExistsFault" = "ClusterAlreadyExistsFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ClusterAlreadyExistsFault, __BaseException>) {
super({
name: "ClusterAlreadyExistsFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ClusterAlreadyExistsFault.prototype);
}
}
/**
* @public
* <p>You have attempted to exceed the maximum number of DAX clusters for your AWS
* account.</p>
*/
export class ClusterQuotaForCustomerExceededFault extends __BaseException {
readonly name: "ClusterQuotaForCustomerExceededFault" = "ClusterQuotaForCustomerExceededFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ClusterQuotaForCustomerExceededFault, __BaseException>) {
super({
name: "ClusterQuotaForCustomerExceededFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ClusterQuotaForCustomerExceededFault.prototype);
}
}
/**
* @public
* @enum
*/
export const ClusterEndpointEncryptionType = {
NONE: "NONE",
TLS: "TLS",
} as const;
/**
* @public
*/
export type ClusterEndpointEncryptionType =
(typeof ClusterEndpointEncryptionType)[keyof typeof ClusterEndpointEncryptionType];
/**
* @public
* <p>Represents the settings used to enable server-side encryption.</p>
*/
export interface SSESpecification {
/**
* <p>Indicates whether server-side encryption is enabled (true) or disabled (false) on the cluster.</p>
*/
Enabled: boolean | undefined;
}
/**
* @public
* <p>A description of a tag. Every tag is a key-value pair. You can add up to 50 tags to a single
* DAX cluster.</p>
* <p>AWS-assigned tag names and values are automatically assigned the <code>aws:</code>
* prefix, which the user cannot assign. AWS-assigned tag names do not count towards the
* tag limit of 50. User-assigned tag names have the prefix <code>user:</code>.</p>
* <p>You cannot backdate the application of a tag.</p>
*/
export interface Tag {
/**
* <p>The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have
* one tag with the same key. If you try to add an existing tag (same key), the
* existing tag value will be updated to the new value.</p>
*/
Key?: string;
/**
* <p>The value of the tag. Tag values are case-sensitive and can be null. </p>
*/
Value?: string;
}
/**
* @public
*/
export interface CreateClusterRequest {
/**
* <p>The cluster identifier. This parameter is stored as a lowercase
* string.</p>
* <p>
* <b>Constraints:</b>
* </p>
* <ul>
* <li>
* <p>A name must contain from 1 to 20 alphanumeric characters or
* hyphens.</p>
* </li>
* <li>
* <p>The first character must be a letter.</p>
* </li>
* <li>
* <p>A name cannot end with a hyphen or contain two consecutive
* hyphens.</p>
* </li>
* </ul>
*/
ClusterName: string | undefined;
/**
* <p>The compute and memory capacity of the nodes in the cluster.</p>
*/
NodeType: string | undefined;
/**
* <p>A description of the cluster.</p>
*/
Description?: string;
/**
* <p>The number of nodes in the DAX cluster. A replication factor of 1 will
* create a single-node cluster, without any read replicas. For additional fault tolerance,
* you can create a multiple node cluster with one or more read replicas. To do this, set
* <code>ReplicationFactor</code> to a number between 3 (one primary and two read replicas) and 10 (one primary and nine read replicas).
* <code>If the AvailabilityZones</code> parameter is provided, its length must equal the <code>ReplicationFactor</code>.</p>
* <note>
* <p>AWS recommends that you have at least two read replicas per cluster.</p>
* </note>
*/
ReplicationFactor: number | undefined;
/**
* <p>The Availability Zones (AZs) in which the cluster nodes will reside after the cluster
* has been created or updated. If provided, the length of this list must equal the <code>ReplicationFactor</code> parameter.
* If you omit this parameter, DAX will spread the nodes across Availability Zones for the highest availability.</p>
*/
AvailabilityZones?: string[];
/**
* <p>The name of the subnet group to be used for the replication group.</p>
* <important>
* <p>DAX clusters can only run in an Amazon VPC environment. All of the subnets
* that you specify in a subnet group must exist in the same VPC.</p>
* </important>
*/
SubnetGroupName?: string;
/**
* <p>A list of security group IDs to be assigned to each node in the DAX cluster. (Each of the
* security group ID is system-generated.)</p>
* <p>If this parameter is not specified, DAX assigns the default VPC security group to
* each node.</p>
*/
SecurityGroupIds?: string[];
/**
* <p>Specifies the weekly time range during which maintenance on the DAX cluster is
* performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock
* UTC). The minimum maintenance window is a 60 minute period. Valid values for
* <code>ddd</code> are:</p>
* <ul>
* <li>
* <p>
* <code>sun</code>
* </p>
* </li>
* <li>
* <p>
* <code>mon</code>
* </p>
* </li>
* <li>
* <p>
* <code>tue</code>
* </p>
* </li>
* <li>
* <p>
* <code>wed</code>
* </p>
* </li>
* <li>
* <p>
* <code>thu</code>
* </p>
* </li>
* <li>
* <p>
* <code>fri</code>
* </p>
* </li>
* <li>
* <p>
* <code>sat</code>
* </p>
* </li>
* </ul>
* <p>Example: <code>sun:05:00-sun:09:00</code>
* </p>
* <note>
* <p>If you don't specify a preferred maintenance window when you create or modify a
* cache cluster, DAX assigns a 60-minute maintenance window on a randomly selected day
* of the week.</p>
* </note>
*/
PreferredMaintenanceWindow?: string;
/**
* <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will
* be sent.</p>
* <note>
* <p>The Amazon SNS topic owner must be same as the DAX cluster owner.</p>
* </note>
*/
NotificationTopicArn?: string;
/**
* <p>A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX
* will assume this role and use the role's permissions to access DynamoDB on your
* behalf.</p>
*/
IamRoleArn: string | undefined;
/**
* <p>The parameter group to be associated with the DAX cluster.</p>
*/
ParameterGroupName?: string;
/**
* <p>A set of tags to associate with the DAX cluster. </p>
*/
Tags?: Tag[];
/**
* <p>Represents the settings used to enable server-side encryption on the cluster.</p>
*/
SSESpecification?: SSESpecification;
/**
* <p>The type of encryption the cluster's endpoint should support. Values are:</p>
* <ul>
* <li>
* <p>
* <code>NONE</code> for no encryption</p>
* </li>
* <li>
* <p>
* <code>TLS</code> for Transport Layer Security</p>
* </li>
* </ul>
*/
ClusterEndpointEncryptionType?: ClusterEndpointEncryptionType | string;
}
/**
* @public
* <p>Represents the information required for client programs to connect to the
* endpoint for a DAX cluster.</p>
*/
export interface Endpoint {
/**
* <p>The DNS hostname of the endpoint.</p>
*/
Address?: string;
/**
* <p>The port number that applications should use to connect to the endpoint.</p>
*/
Port?: number;
/**
* <p>The URL that applications should use to connect to the endpoint. The default
* ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.</p>
*/
URL?: string;
}
/**
* @public
* <p>Represents an individual node within a DAX cluster.</p>
*/
export interface Node {
/**
* <p>A system-generated identifier for the node.</p>
*/
NodeId?: string;
/**
* <p>The endpoint for the node, consisting of a DNS name and a port number. Client
* applications can connect directly to a node endpoint, if desired (as an alternative to
* allowing DAX client software to intelligently route requests and responses to nodes in
* the DAX cluster.</p>
*/
Endpoint?: Endpoint;
/**
* <p>The date and time (in UNIX epoch format) when the node was launched.</p>
*/
NodeCreateTime?: Date;
/**
* <p>The Availability Zone (AZ) in which the node has been deployed.</p>
*/
AvailabilityZone?: string;
/**
* <p>The current status of the node. For example: <code>available</code>.</p>
*/
NodeStatus?: string;
/**
* <p>The status of the parameter group associated with this node. For example,
* <code>in-sync</code>.</p>
*/
ParameterGroupStatus?: string;
}
/**
* @public
* <p>Describes a notification topic and its status. Notification topics are used for
* publishing DAX events to subscribers using Amazon Simple Notification Service
* (SNS).</p>
*/
export interface NotificationConfiguration {
/**
* <p>The Amazon Resource Name (ARN) that identifies the topic. </p>
*/
TopicArn?: string;
/**
* <p>The current state of the topic. A value of “active” means that notifications will
* be sent to the topic. A value of “inactive” means that notifications will not be sent to the
* topic.</p>
*/
TopicStatus?: string;
}
/**
* @public
* <p>The status of a parameter group.</p>
*/
export interface ParameterGroupStatus {
/**
* <p>The name of the parameter group.</p>
*/
ParameterGroupName?: string;
/**
* <p>The status of parameter updates. </p>
*/
ParameterApplyStatus?: string;
/**
* <p>The node IDs of one or more nodes to be rebooted.</p>
*/
NodeIdsToReboot?: string[];
}
/**
* @public
* <p>An individual VPC security group and its status.</p>
*/
export interface SecurityGroupMembership {
/**
* <p>The unique ID for this security group.</p>
*/
SecurityGroupIdentifier?: string;
/**
* <p>The status of this security group.</p>
*/
Status?: string;
}
/**
* @public
*/
export type SSEStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING";
/**
* @public
* <p>The description of the server-side encryption status on the specified DAX cluster.</p>
*/
export interface SSEDescription {
/**
* <p>The current state of server-side encryption:</p>
* <ul>
* <li>
* <p>
* <code>ENABLING</code> - Server-side encryption is being enabled.</p>
* </li>
* <li>
* <p>
* <code>ENABLED</code> - Server-side encryption is enabled.</p>
* </li>
* <li>
* <p>
* <code>DISABLING</code> - Server-side encryption is being disabled.</p>
* </li>
* <li>
* <p>
* <code>DISABLED</code> - Server-side encryption is disabled.</p>
* </li>
* </ul>
*/
Status?: SSEStatus | string;
}
/**
* @public
* <p>Contains all of the attributes of a specific DAX cluster.</p>
*/
export interface Cluster {
/**
* <p>The name of the DAX cluster.</p>
*/
ClusterName?: string;
/**
* <p>The description of the cluster.</p>
*/
Description?: string;
/**
* <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.
* </p>
*/
ClusterArn?: string;
/**
* <p>The total number of nodes in the cluster.</p>
*/
TotalNodes?: number;
/**
* <p>The number of nodes in the cluster that are active (i.e., capable of serving
* requests).</p>
*/
ActiveNodes?: number;
/**
* <p>The node type for the nodes in the cluster. (All nodes in a DAX cluster are of
* the same type.)</p>
*/
NodeType?: string;
/**
* <p>The current status of the cluster.</p>
*/
Status?: string;
/**
* <p>The endpoint for this DAX cluster, consisting of a DNS name, a port number,
* and a URL. Applications should use the URL to configure the DAX client to find
* their cluster.</p>
*/
ClusterDiscoveryEndpoint?: Endpoint;
/**
* <p>A list of nodes to be removed from the cluster.</p>
*/
NodeIdsToRemove?: string[];
/**
* <p>A list of nodes that are currently in the cluster.</p>
*/
Nodes?: Node[];
/**
* <p>A range of time when maintenance of DAX cluster software will be performed. For
* example: <code>sun:01:00-sun:09:00</code>. Cluster maintenance normally takes less than
* 30 minutes, and is performed automatically within the maintenance window.</p>
*/
PreferredMaintenanceWindow?: string;
/**
* <p>Describes a notification topic and its status. Notification topics are used for
* publishing DAX events to subscribers using Amazon Simple Notification Service
* (SNS).</p>
*/
NotificationConfiguration?: NotificationConfiguration;
/**
* <p>The subnet group where the DAX cluster is running.</p>
*/
SubnetGroup?: string;
/**
* <p>A list of security groups, and the status of each, for the nodes in the cluster.</p>
*/
SecurityGroups?: SecurityGroupMembership[];
/**
* <p>A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX
* will assume this role and use the role's permissions to access DynamoDB on your
* behalf.</p>
*/
IamRoleArn?: string;
/**
* <p>The parameter group being used by nodes in the cluster.</p>
*/
ParameterGroup?: ParameterGroupStatus;
/**
* <p>The description of the server-side encryption status on the specified DAX cluster.</p>
*/
SSEDescription?: SSEDescription;
/**
* <p>The type of encryption supported by the cluster's endpoint. Values are:</p>
* <ul>
* <li>
* <p>
* <code>NONE</code> for no encryption</p>
* <p>
* <code>TLS</code> for Transport Layer Security</p>
* </li>
* </ul>
*/
ClusterEndpointEncryptionType?: ClusterEndpointEncryptionType | string;
}
/**
* @public
*/
export interface CreateClusterResponse {
/**
* <p>A description of the DAX cluster that you have created.</p>
*/
Cluster?: Cluster;
}
/**
* @public
* <p>There are not enough system resources to create the cluster you requested (or to
* resize an already-existing cluster). </p>
*/
export class InsufficientClusterCapacityFault extends __BaseException {
readonly name: "InsufficientClusterCapacityFault" = "InsufficientClusterCapacityFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InsufficientClusterCapacityFault, __BaseException>) {
super({
name: "InsufficientClusterCapacityFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InsufficientClusterCapacityFault.prototype);
}
}
/**
* @public
* <p>The requested DAX cluster is not in the <i>available</i>
* state.</p>
*/
export class InvalidClusterStateFault extends __BaseException {
readonly name: "InvalidClusterStateFault" = "InvalidClusterStateFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InvalidClusterStateFault, __BaseException>) {
super({
name: "InvalidClusterStateFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InvalidClusterStateFault.prototype);
}
}
/**
* @public
* <p>Two or more incompatible parameters were specified.</p>
*/
export class InvalidParameterCombinationException extends __BaseException {
readonly name: "InvalidParameterCombinationException" = "InvalidParameterCombinationException";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>) {
super({
name: "InvalidParameterCombinationException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
}
}
/**
* @public
* <p>One or more parameters in a parameter group are in an invalid state.</p>
*/
export class InvalidParameterGroupStateFault extends __BaseException {
readonly name: "InvalidParameterGroupStateFault" = "InvalidParameterGroupStateFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InvalidParameterGroupStateFault, __BaseException>) {
super({
name: "InvalidParameterGroupStateFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InvalidParameterGroupStateFault.prototype);
}
}
/**
* @public
* <p>The value for a parameter is invalid.</p>
*/
export class InvalidParameterValueException extends __BaseException {
readonly name: "InvalidParameterValueException" = "InvalidParameterValueException";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>) {
super({
name: "InvalidParameterValueException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
}
}
/**
* @public
* <p>The VPC network is in an invalid state.</p>
*/
export class InvalidVPCNetworkStateFault extends __BaseException {
readonly name: "InvalidVPCNetworkStateFault" = "InvalidVPCNetworkStateFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>) {
super({
name: "InvalidVPCNetworkStateFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InvalidVPCNetworkStateFault.prototype);
}
}
/**
* @public
* <p>You have attempted to exceed the maximum number of nodes for a DAX
* cluster.</p>
*/
export class NodeQuotaForClusterExceededFault extends __BaseException {
readonly name: "NodeQuotaForClusterExceededFault" = "NodeQuotaForClusterExceededFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<NodeQuotaForClusterExceededFault, __BaseException>) {
super({
name: "NodeQuotaForClusterExceededFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, NodeQuotaForClusterExceededFault.prototype);
}
}
/**
* @public
* <p>You have attempted to exceed the maximum number of nodes for your AWS
* account.</p>
*/
export class NodeQuotaForCustomerExceededFault extends __BaseException {
readonly name: "NodeQuotaForCustomerExceededFault" = "NodeQuotaForCustomerExceededFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<NodeQuotaForCustomerExceededFault, __BaseException>) {
super({
name: "NodeQuotaForCustomerExceededFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, NodeQuotaForCustomerExceededFault.prototype);
}
}
/**
* @public
* <p>The specified parameter group does not exist.</p>
*/
export class ParameterGroupNotFoundFault extends __BaseException {
readonly name: "ParameterGroupNotFoundFault" = "ParameterGroupNotFoundFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ParameterGroupNotFoundFault, __BaseException>) {
super({
name: "ParameterGroupNotFoundFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ParameterGroupNotFoundFault.prototype);
}
}
/**
* @public
* <p>The specified service linked role (SLR) was not found.</p>
*/
export class ServiceLinkedRoleNotFoundFault extends __BaseException {
readonly name: "ServiceLinkedRoleNotFoundFault" = "ServiceLinkedRoleNotFoundFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ServiceLinkedRoleNotFoundFault, __BaseException>) {
super({
name: "ServiceLinkedRoleNotFoundFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ServiceLinkedRoleNotFoundFault.prototype);
}
}
/**
* @public
* <p>You have reached the maximum number of x509 certificates that can be created for
* encrypted clusters in a 30 day period. Contact AWS customer support to discuss options
* for continuing to create encrypted clusters.</p>
*/
export class ServiceQuotaExceededException extends __BaseException {
readonly name: "ServiceQuotaExceededException" = "ServiceQuotaExceededException";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>) {
super({
name: "ServiceQuotaExceededException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
}
}
/**
* @public
* <p>The requested subnet group name does not refer to an existing subnet
* group.</p>
*/
export class SubnetGroupNotFoundFault extends __BaseException {
readonly name: "SubnetGroupNotFoundFault" = "SubnetGroupNotFoundFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<SubnetGroupNotFoundFault, __BaseException>) {
super({
name: "SubnetGroupNotFoundFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, SubnetGroupNotFoundFault.prototype);
}
}
/**
* @public
* <p>You have exceeded the maximum number of tags for this DAX cluster.</p>
*/
export class TagQuotaPerResourceExceeded extends __BaseException {
readonly name: "TagQuotaPerResourceExceeded" = "TagQuotaPerResourceExceeded";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<TagQuotaPerResourceExceeded, __BaseException>) {
super({
name: "TagQuotaPerResourceExceeded",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, TagQuotaPerResourceExceeded.prototype);
}
}
/**
* @public
*/
export interface CreateParameterGroupRequest {
/**
* <p>The name of the parameter group to apply to all of the clusters in this replication
* group.</p>
*/
ParameterGroupName: string | undefined;
/**
* <p>A description of the parameter group.</p>
*/
Description?: string;
}
/**
* @public
* <p>A named set of parameters that are applied to all of the nodes in a DAX
* cluster.</p>
*/
export interface ParameterGroup {
/**
* <p>The name of the parameter group.</p>
*/
ParameterGroupName?: string;
/**
* <p>A description of the parameter group.</p>
*/
Description?: string;
}
/**
* @public
*/
export interface CreateParameterGroupResponse {
/**
* <p>Represents the output of a <i>CreateParameterGroup</i>
* action.</p>
*/
ParameterGroup?: ParameterGroup;
}
/**
* @public
* <p>The specified parameter group already exists.</p>
*/
export class ParameterGroupAlreadyExistsFault extends __BaseException {
readonly name: "ParameterGroupAlreadyExistsFault" = "ParameterGroupAlreadyExistsFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ParameterGroupAlreadyExistsFault, __BaseException>) {
super({
name: "ParameterGroupAlreadyExistsFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ParameterGroupAlreadyExistsFault.prototype);
}
}
/**
* @public
* <p>You have attempted to exceed the maximum number of parameter groups.</p>
*/
export class ParameterGroupQuotaExceededFault extends __BaseException {
readonly name: "ParameterGroupQuotaExceededFault" = "ParameterGroupQuotaExceededFault";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<ParameterGroupQuotaExceededFault, __BaseException>) {
super({
name: "ParameterGroupQuotaExceededFault",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ParameterGroupQuotaExceededFault.prototype);
}
}
/**
* @public
*/
export interface CreateSubnetGroupRequest {
/**
* <p>A name for the subnet group. This value is stored as a lowercase string. </p>
*/
SubnetGroupName: string | undefined;
/**
* <p>A description for the subnet group</p>
*/
Description?: string;
/**
* <p>A list of VPC subnet IDs for the subnet group.</p>
*/
SubnetIds: string[] | undefined;
}
/**
* @public
* <p>Represents the subnet associated with a DAX cluster. This parameter refers to
* subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with
* DAX.</p>
*/
export interface Subnet {
/**
* <p>The system-assigned identifier for the subnet.</p>
*/
SubnetIdentifier?: string;
/**
* <p>The Availability Zone (AZ) for the subnet.</p>
*/
SubnetAvailabilityZone?: string;
}
/**
* @public
* <p>Represents the output of one of the following actions:</p>
* <ul>
* <li>
* <p>
* <i>CreateSubnetGroup</i>
* </p>
* </li>
* <li>
* <p>
* <i>ModifySubnetGroup</i>
* </p>
* </li>
* </ul>
*/
export interface SubnetGroup {
/**
* <p>The name of the subnet group.</p>
*/
SubnetGroupName?: string;
/**
* <p>The description of the subnet group.</p>
*/
Description?: string;
/**
* <p>The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.</p>
*/
VpcId?: string;
/**
* <p>A list of subnets associated with the subnet group. </p>
*/
Subnets?: Subnet[];
}
/**
* @public
*/
export interface CreateSubnetGroupResponse {
/**
* <p>Represents the output of a <i>CreateSubnetGroup</i>
* operation.</p>
*/
SubnetGroup?: SubnetGroup;
}
/**
* @public
* <p>An invalid subnet identifier was specified.</p>
*/
export class InvalidSubnet extends __BaseException {
readonly name: "InvalidSubnet" = "InvalidSubnet";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<InvalidSubnet, __BaseException>) {
super({
name: "InvalidSubnet",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, InvalidSubnet.prototype);