@aws-sdk/client-docdb-elastic 3.687.0 → 3.692.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.
@@ -79,7 +79,7 @@ export interface ApplyPendingMaintenanceActionInput {
79
79
  * </p>
80
80
  * @public
81
81
  */
82
- applyOn?: string;
82
+ applyOn?: string | undefined;
83
83
  }
84
84
  /**
85
85
  * <p>Retrieves the details of maintenance actions that are pending.</p>
@@ -98,7 +98,7 @@ export interface PendingMaintenanceActionDetails {
98
98
  * <code>optInType</code> requests are ignored.</p>
99
99
  * @public
100
100
  */
101
- autoAppliedAfterDate?: string;
101
+ autoAppliedAfterDate?: string | undefined;
102
102
  /**
103
103
  * <p>Displays the date when the maintenance action is automatically applied.
104
104
  * The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource.
@@ -106,22 +106,22 @@ export interface PendingMaintenanceActionDetails {
106
106
  * <code>optInType</code> requests are ignored.</p>
107
107
  * @public
108
108
  */
109
- forcedApplyDate?: string;
109
+ forcedApplyDate?: string | undefined;
110
110
  /**
111
111
  * <p>Displays the type of <code>optInType</code> request that has been received for the resource.</p>
112
112
  * @public
113
113
  */
114
- optInStatus?: string;
114
+ optInStatus?: string | undefined;
115
115
  /**
116
116
  * <p>Displays the effective date when the pending maintenance action is applied to the resource.</p>
117
117
  * @public
118
118
  */
119
- currentApplyDate?: string;
119
+ currentApplyDate?: string | undefined;
120
120
  /**
121
121
  * <p>Displays a description providing more detail about the maintenance action.</p>
122
122
  * @public
123
123
  */
124
- description?: string;
124
+ description?: string | undefined;
125
125
  }
126
126
  /**
127
127
  * <p>Provides information about a pending maintenance action for a resource.</p>
@@ -132,12 +132,12 @@ export interface ResourcePendingMaintenanceAction {
132
132
  * <p>The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.</p>
133
133
  * @public
134
134
  */
135
- resourceArn?: string;
135
+ resourceArn?: string | undefined;
136
136
  /**
137
137
  * <p>Provides information about a pending maintenance action for a resource.</p>
138
138
  * @public
139
139
  */
140
- pendingMaintenanceActionDetails?: PendingMaintenanceActionDetails[];
140
+ pendingMaintenanceActionDetails?: PendingMaintenanceActionDetails[] | undefined;
141
141
  }
142
142
  /**
143
143
  * @public
@@ -218,7 +218,7 @@ export declare class ThrottlingException extends __BaseException {
218
218
  * <p>The number of seconds to wait before retrying the operation.</p>
219
219
  * @public
220
220
  */
221
- retryAfterSeconds?: number;
221
+ retryAfterSeconds?: number | undefined;
222
222
  /**
223
223
  * @internal
224
224
  */
@@ -271,7 +271,7 @@ export declare class ValidationException extends __BaseException {
271
271
  * <p>A list of the fields in which the validation exception occurred.</p>
272
272
  * @public
273
273
  */
274
- fieldList?: ValidationExceptionField[];
274
+ fieldList?: ValidationExceptionField[] | undefined;
275
275
  /**
276
276
  * @internal
277
277
  */
@@ -328,18 +328,18 @@ export interface CopyClusterSnapshotInput {
328
328
  * <p>If you copy an unencrypted elastic cluster snapshot and specify a value for the <code>KmsKeyId</code> parameter, an error is returned.</p>
329
329
  * @public
330
330
  */
331
- kmsKeyId?: string;
331
+ kmsKeyId?: string | undefined;
332
332
  /**
333
333
  * <p>Set to <code>true</code> to copy all tags from the source cluster snapshot to the target elastic cluster snapshot.
334
334
  * The default is <code>false</code>.</p>
335
335
  * @public
336
336
  */
337
- copyTags?: boolean;
337
+ copyTags?: boolean | undefined;
338
338
  /**
339
339
  * <p>The tags to be assigned to the elastic cluster snapshot.</p>
340
340
  * @public
341
341
  */
342
- tags?: Record<string, string>;
342
+ tags?: Record<string, string> | undefined;
343
343
  }
344
344
  /**
345
345
  * @public
@@ -458,7 +458,7 @@ export interface ClusterSnapshot {
458
458
  * </ul>
459
459
  * @public
460
460
  */
461
- snapshotType?: SnapshotType;
461
+ snapshotType?: SnapshotType | undefined;
462
462
  }
463
463
  /**
464
464
  * @public
@@ -562,12 +562,12 @@ export interface CreateClusterInput {
562
562
  * elastic cluster.</p>
563
563
  * @public
564
564
  */
565
- vpcSecurityGroupIds?: string[];
565
+ vpcSecurityGroupIds?: string[] | undefined;
566
566
  /**
567
567
  * <p>The Amazon EC2 subnet IDs for the new elastic cluster.</p>
568
568
  * @public
569
569
  */
570
- subnetIds?: string[];
570
+ subnetIds?: string[] | undefined;
571
571
  /**
572
572
  * <p>The KMS key identifier to use to encrypt the new elastic cluster.</p>
573
573
  * <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
@@ -579,12 +579,12 @@ export interface CreateClusterInput {
579
579
  * has a different default encryption key for each Amazon Region.</p>
580
580
  * @public
581
581
  */
582
- kmsKeyId?: string;
582
+ kmsKeyId?: string | undefined;
583
583
  /**
584
584
  * <p>The client token for the elastic cluster.</p>
585
585
  * @public
586
586
  */
587
- clientToken?: string;
587
+ clientToken?: string | undefined;
588
588
  /**
589
589
  * <p>The weekly time range during which system maintenance can occur,
590
590
  * in Universal Coordinated Time (UTC).</p>
@@ -599,28 +599,28 @@ export interface CreateClusterInput {
599
599
  * <i>Constraints</i>: Minimum 30-minute window.</p>
600
600
  * @public
601
601
  */
602
- preferredMaintenanceWindow?: string;
602
+ preferredMaintenanceWindow?: string | undefined;
603
603
  /**
604
604
  * <p>The tags to be assigned to the new elastic cluster.</p>
605
605
  * @public
606
606
  */
607
- tags?: Record<string, string>;
607
+ tags?: Record<string, string> | undefined;
608
608
  /**
609
609
  * <p>The number of days for which automatic snapshots are retained.</p>
610
610
  * @public
611
611
  */
612
- backupRetentionPeriod?: number;
612
+ backupRetentionPeriod?: number | undefined;
613
613
  /**
614
614
  * <p>The daily time range during which automated backups are created if automated backups are enabled, as determined by the <code>backupRetentionPeriod</code>.</p>
615
615
  * @public
616
616
  */
617
- preferredBackupWindow?: string;
617
+ preferredBackupWindow?: string | undefined;
618
618
  /**
619
619
  * <p>The number of replica instances applying to all shards in the elastic cluster.
620
620
  * A <code>shardInstanceCount</code> value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.</p>
621
621
  * @public
622
622
  */
623
- shardInstanceCount?: number;
623
+ shardInstanceCount?: number | undefined;
624
624
  }
625
625
  /**
626
626
  * <p>The name of the shard.</p>
@@ -721,23 +721,23 @@ export interface Cluster {
721
721
  * <p>The total number of shards in the cluster.</p>
722
722
  * @public
723
723
  */
724
- shards?: Shard[];
724
+ shards?: Shard[] | undefined;
725
725
  /**
726
726
  * <p>The number of days for which automatic snapshots are retained.</p>
727
727
  * @public
728
728
  */
729
- backupRetentionPeriod?: number;
729
+ backupRetentionPeriod?: number | undefined;
730
730
  /**
731
731
  * <p>The daily time range during which automated backups are created if automated backups are enabled, as determined by <code>backupRetentionPeriod</code>.</p>
732
732
  * @public
733
733
  */
734
- preferredBackupWindow?: string;
734
+ preferredBackupWindow?: string | undefined;
735
735
  /**
736
736
  * <p>The number of replica instances applying to all shards in the cluster.
737
737
  * A <code>shardInstanceCount</code> value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.</p>
738
738
  * @public
739
739
  */
740
- shardInstanceCount?: number;
740
+ shardInstanceCount?: number | undefined;
741
741
  }
742
742
  /**
743
743
  * @public
@@ -767,7 +767,7 @@ export interface CreateClusterSnapshotInput {
767
767
  * <p>The tags to be assigned to the new elastic cluster snapshot.</p>
768
768
  * @public
769
769
  */
770
- tags?: Record<string, string>;
770
+ tags?: Record<string, string> | undefined;
771
771
  }
772
772
  /**
773
773
  * @public
@@ -889,12 +889,12 @@ export interface ListClustersInput {
889
889
  * <p>If there is no more data in the responce, the <code>nextToken</code> will not be returned.</p>
890
890
  * @public
891
891
  */
892
- nextToken?: string;
892
+ nextToken?: string | undefined;
893
893
  /**
894
894
  * <p>The maximum number of elastic cluster snapshot results to receive in the response.</p>
895
895
  * @public
896
896
  */
897
- maxResults?: number;
897
+ maxResults?: number | undefined;
898
898
  }
899
899
  /**
900
900
  * <p>A list of Amazon DocumentDB elastic clusters.</p>
@@ -925,14 +925,14 @@ export interface ListClustersOutput {
925
925
  * <p>A list of Amazon DocumentDB elastic clusters.</p>
926
926
  * @public
927
927
  */
928
- clusters?: ClusterInList[];
928
+ clusters?: ClusterInList[] | undefined;
929
929
  /**
930
930
  * <p>A pagination token provided by a previous request.
931
931
  * If this parameter is specified, the response includes only records beyond this token, up to the value specified by <code>max-results</code>.</p>
932
932
  * <p>If there is no more data in the responce, the <code>nextToken</code> will not be returned.</p>
933
933
  * @public
934
934
  */
935
- nextToken?: string;
935
+ nextToken?: string | undefined;
936
936
  }
937
937
  /**
938
938
  * @public
@@ -942,19 +942,19 @@ export interface ListClusterSnapshotsInput {
942
942
  * <p>The ARN identifier of the elastic cluster.</p>
943
943
  * @public
944
944
  */
945
- clusterArn?: string;
945
+ clusterArn?: string | undefined;
946
946
  /**
947
947
  * <p>A pagination token provided by a previous request.
948
948
  * If this parameter is specified, the response includes only records beyond this token, up to the value specified by <code>max-results</code>.</p>
949
949
  * <p>If there is no more data in the responce, the <code>nextToken</code> will not be returned.</p>
950
950
  * @public
951
951
  */
952
- nextToken?: string;
952
+ nextToken?: string | undefined;
953
953
  /**
954
954
  * <p>The maximum number of elastic cluster snapshot results to receive in the response.</p>
955
955
  * @public
956
956
  */
957
- maxResults?: number;
957
+ maxResults?: number | undefined;
958
958
  /**
959
959
  * <p>The type of cluster snapshots to be returned. You can specify one of the following values:</p>
960
960
  * <ul>
@@ -969,7 +969,7 @@ export interface ListClusterSnapshotsInput {
969
969
  * </ul>
970
970
  * @public
971
971
  */
972
- snapshotType?: string;
972
+ snapshotType?: string | undefined;
973
973
  }
974
974
  /**
975
975
  * <p>A list of elastic cluster snapshots.</p>
@@ -1010,14 +1010,14 @@ export interface ListClusterSnapshotsOutput {
1010
1010
  * <p>A list of snapshots for a specified elastic cluster.</p>
1011
1011
  * @public
1012
1012
  */
1013
- snapshots?: ClusterSnapshotInList[];
1013
+ snapshots?: ClusterSnapshotInList[] | undefined;
1014
1014
  /**
1015
1015
  * <p>A pagination token provided by a previous request.
1016
1016
  * If this parameter is specified, the response includes only records beyond this token, up to the value specified by <code>max-results</code>.</p>
1017
1017
  * <p>If there is no more data in the responce, the <code>nextToken</code> will not be returned.</p>
1018
1018
  * @public
1019
1019
  */
1020
- nextToken?: string;
1020
+ nextToken?: string | undefined;
1021
1021
  }
1022
1022
  /**
1023
1023
  * @public
@@ -1027,13 +1027,13 @@ export interface ListPendingMaintenanceActionsInput {
1027
1027
  * <p>An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>
1028
1028
  * @public
1029
1029
  */
1030
- nextToken?: string;
1030
+ nextToken?: string | undefined;
1031
1031
  /**
1032
1032
  * <p>The maximum number of results to include in the response.
1033
1033
  * If more records exist than the specified <code>maxResults</code> value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.</p>
1034
1034
  * @public
1035
1035
  */
1036
- maxResults?: number;
1036
+ maxResults?: number | undefined;
1037
1037
  }
1038
1038
  /**
1039
1039
  * @public
@@ -1048,7 +1048,7 @@ export interface ListPendingMaintenanceActionsOutput {
1048
1048
  * <p>An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by <code>maxResults</code>.</p>
1049
1049
  * @public
1050
1050
  */
1051
- nextToken?: string;
1051
+ nextToken?: string | undefined;
1052
1052
  }
1053
1053
  /**
1054
1054
  * @public
@@ -1068,7 +1068,7 @@ export interface ListTagsForResourceResponse {
1068
1068
  * <p>The list of tags for the specified elastic cluster resource.</p>
1069
1069
  * @public
1070
1070
  */
1071
- tags?: Record<string, string>;
1071
+ tags?: Record<string, string> | undefined;
1072
1072
  }
1073
1073
  /**
1074
1074
  * @public
@@ -1088,12 +1088,12 @@ export interface RestoreClusterFromSnapshotInput {
1088
1088
  * <p>A list of EC2 VPC security groups to associate with the elastic cluster.</p>
1089
1089
  * @public
1090
1090
  */
1091
- vpcSecurityGroupIds?: string[];
1091
+ vpcSecurityGroupIds?: string[] | undefined;
1092
1092
  /**
1093
1093
  * <p>The Amazon EC2 subnet IDs for the elastic cluster.</p>
1094
1094
  * @public
1095
1095
  */
1096
- subnetIds?: string[];
1096
+ subnetIds?: string[] | undefined;
1097
1097
  /**
1098
1098
  * <p>The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic clusters cluster.</p>
1099
1099
  * <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
@@ -1105,23 +1105,23 @@ export interface RestoreClusterFromSnapshotInput {
1105
1105
  * has a different default encryption key for each Amazon Region.</p>
1106
1106
  * @public
1107
1107
  */
1108
- kmsKeyId?: string;
1108
+ kmsKeyId?: string | undefined;
1109
1109
  /**
1110
1110
  * <p>A list of the tag names to be assigned to the restored elastic cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.</p>
1111
1111
  * @public
1112
1112
  */
1113
- tags?: Record<string, string>;
1113
+ tags?: Record<string, string> | undefined;
1114
1114
  /**
1115
1115
  * <p>The capacity of each shard in the new restored elastic cluster.</p>
1116
1116
  * @public
1117
1117
  */
1118
- shardCapacity?: number;
1118
+ shardCapacity?: number | undefined;
1119
1119
  /**
1120
1120
  * <p>The number of replica instances applying to all shards in the elastic cluster.
1121
1121
  * A <code>shardInstanceCount</code> value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.</p>
1122
1122
  * @public
1123
1123
  */
1124
- shardInstanceCount?: number;
1124
+ shardInstanceCount?: number | undefined;
1125
1125
  }
1126
1126
  /**
1127
1127
  * @public
@@ -1227,28 +1227,28 @@ export interface UpdateClusterInput {
1227
1227
  * Valid types are <code>PLAIN_TEXT</code> or <code>SECRET_ARN</code>.</p>
1228
1228
  * @public
1229
1229
  */
1230
- authType?: Auth;
1230
+ authType?: Auth | undefined;
1231
1231
  /**
1232
1232
  * <p>The number of vCPUs assigned to each elastic cluster shard.
1233
1233
  * Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.</p>
1234
1234
  * @public
1235
1235
  */
1236
- shardCapacity?: number;
1236
+ shardCapacity?: number | undefined;
1237
1237
  /**
1238
1238
  * <p>The number of shards assigned to the elastic cluster. Maximum is 32.</p>
1239
1239
  * @public
1240
1240
  */
1241
- shardCount?: number;
1241
+ shardCount?: number | undefined;
1242
1242
  /**
1243
1243
  * <p>A list of EC2 VPC security groups to associate with the elastic cluster.</p>
1244
1244
  * @public
1245
1245
  */
1246
- vpcSecurityGroupIds?: string[];
1246
+ vpcSecurityGroupIds?: string[] | undefined;
1247
1247
  /**
1248
1248
  * <p>The Amazon EC2 subnet IDs for the elastic cluster.</p>
1249
1249
  * @public
1250
1250
  */
1251
- subnetIds?: string[];
1251
+ subnetIds?: string[] | undefined;
1252
1252
  /**
1253
1253
  * <p>The password associated with the elastic cluster administrator.
1254
1254
  * This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).</p>
@@ -1256,12 +1256,12 @@ export interface UpdateClusterInput {
1256
1256
  * <i>Constraints</i>: Must contain from 8 to 100 characters.</p>
1257
1257
  * @public
1258
1258
  */
1259
- adminUserPassword?: string;
1259
+ adminUserPassword?: string | undefined;
1260
1260
  /**
1261
1261
  * <p>The client token for the elastic cluster.</p>
1262
1262
  * @public
1263
1263
  */
1264
- clientToken?: string;
1264
+ clientToken?: string | undefined;
1265
1265
  /**
1266
1266
  * <p>The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).</p>
1267
1267
  * <p>
@@ -1275,23 +1275,23 @@ export interface UpdateClusterInput {
1275
1275
  * <i>Constraints</i>: Minimum 30-minute window.</p>
1276
1276
  * @public
1277
1277
  */
1278
- preferredMaintenanceWindow?: string;
1278
+ preferredMaintenanceWindow?: string | undefined;
1279
1279
  /**
1280
1280
  * <p>The number of days for which automatic snapshots are retained.</p>
1281
1281
  * @public
1282
1282
  */
1283
- backupRetentionPeriod?: number;
1283
+ backupRetentionPeriod?: number | undefined;
1284
1284
  /**
1285
1285
  * <p>The daily time range during which automated backups are created if automated backups are enabled, as determined by the <code>backupRetentionPeriod</code>.</p>
1286
1286
  * @public
1287
1287
  */
1288
- preferredBackupWindow?: string;
1288
+ preferredBackupWindow?: string | undefined;
1289
1289
  /**
1290
1290
  * <p>The number of replica instances applying to all shards in the elastic cluster.
1291
1291
  * A <code>shardInstanceCount</code> value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.</p>
1292
1292
  * @public
1293
1293
  */
1294
- shardInstanceCount?: number;
1294
+ shardInstanceCount?: number | undefined;
1295
1295
  }
1296
1296
  /**
1297
1297
  * @public
@@ -18,19 +18,21 @@ export interface ApplyPendingMaintenanceActionInput {
18
18
  resourceArn: string | undefined;
19
19
  applyAction: string | undefined;
20
20
  optInType: OptInType | undefined;
21
- applyOn?: string;
21
+ applyOn?: string | undefined;
22
22
  }
23
23
  export interface PendingMaintenanceActionDetails {
24
24
  action: string | undefined;
25
- autoAppliedAfterDate?: string;
26
- forcedApplyDate?: string;
27
- optInStatus?: string;
28
- currentApplyDate?: string;
29
- description?: string;
25
+ autoAppliedAfterDate?: string | undefined;
26
+ forcedApplyDate?: string | undefined;
27
+ optInStatus?: string | undefined;
28
+ currentApplyDate?: string | undefined;
29
+ description?: string | undefined;
30
30
  }
31
31
  export interface ResourcePendingMaintenanceAction {
32
- resourceArn?: string;
33
- pendingMaintenanceActionDetails?: PendingMaintenanceActionDetails[];
32
+ resourceArn?: string | undefined;
33
+ pendingMaintenanceActionDetails?:
34
+ | PendingMaintenanceActionDetails[]
35
+ | undefined;
34
36
  }
35
37
  export interface ApplyPendingMaintenanceActionOutput {
36
38
  resourcePendingMaintenanceAction:
@@ -65,7 +67,7 @@ export declare class ThrottlingException extends __BaseException {
65
67
  readonly name: "ThrottlingException";
66
68
  readonly $fault: "client";
67
69
  $retryable: {};
68
- retryAfterSeconds?: number;
70
+ retryAfterSeconds?: number | undefined;
69
71
  constructor(
70
72
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
71
73
  );
@@ -86,7 +88,7 @@ export declare class ValidationException extends __BaseException {
86
88
  readonly name: "ValidationException";
87
89
  readonly $fault: "client";
88
90
  reason: ValidationExceptionReason | undefined;
89
- fieldList?: ValidationExceptionField[];
91
+ fieldList?: ValidationExceptionField[] | undefined;
90
92
  constructor(
91
93
  opts: __ExceptionOptionType<ValidationException, __BaseException>
92
94
  );
@@ -99,9 +101,9 @@ export type Auth = (typeof Auth)[keyof typeof Auth];
99
101
  export interface CopyClusterSnapshotInput {
100
102
  snapshotArn: string | undefined;
101
103
  targetSnapshotName: string | undefined;
102
- kmsKeyId?: string;
103
- copyTags?: boolean;
104
- tags?: Record<string, string>;
104
+ kmsKeyId?: string | undefined;
105
+ copyTags?: boolean | undefined;
106
+ tags?: Record<string, string> | undefined;
105
107
  }
106
108
  export declare const SnapshotType: {
107
109
  readonly AUTOMATED: "AUTOMATED";
@@ -143,7 +145,7 @@ export interface ClusterSnapshot {
143
145
  vpcSecurityGroupIds: string[] | undefined;
144
146
  adminUserName: string | undefined;
145
147
  kmsKeyId: string | undefined;
146
- snapshotType?: SnapshotType;
148
+ snapshotType?: SnapshotType | undefined;
147
149
  }
148
150
  export interface CopyClusterSnapshotOutput {
149
151
  snapshot: ClusterSnapshot | undefined;
@@ -162,15 +164,15 @@ export interface CreateClusterInput {
162
164
  adminUserPassword: string | undefined;
163
165
  shardCapacity: number | undefined;
164
166
  shardCount: number | undefined;
165
- vpcSecurityGroupIds?: string[];
166
- subnetIds?: string[];
167
- kmsKeyId?: string;
168
- clientToken?: string;
169
- preferredMaintenanceWindow?: string;
170
- tags?: Record<string, string>;
171
- backupRetentionPeriod?: number;
172
- preferredBackupWindow?: string;
173
- shardInstanceCount?: number;
167
+ vpcSecurityGroupIds?: string[] | undefined;
168
+ subnetIds?: string[] | undefined;
169
+ kmsKeyId?: string | undefined;
170
+ clientToken?: string | undefined;
171
+ preferredMaintenanceWindow?: string | undefined;
172
+ tags?: Record<string, string> | undefined;
173
+ backupRetentionPeriod?: number | undefined;
174
+ preferredBackupWindow?: string | undefined;
175
+ shardInstanceCount?: number | undefined;
174
176
  }
175
177
  export interface Shard {
176
178
  shardId: string | undefined;
@@ -191,10 +193,10 @@ export interface Cluster {
191
193
  subnetIds: string[] | undefined;
192
194
  preferredMaintenanceWindow: string | undefined;
193
195
  kmsKeyId: string | undefined;
194
- shards?: Shard[];
195
- backupRetentionPeriod?: number;
196
- preferredBackupWindow?: string;
197
- shardInstanceCount?: number;
196
+ shards?: Shard[] | undefined;
197
+ backupRetentionPeriod?: number | undefined;
198
+ preferredBackupWindow?: string | undefined;
199
+ shardInstanceCount?: number | undefined;
198
200
  }
199
201
  export interface CreateClusterOutput {
200
202
  cluster: Cluster | undefined;
@@ -202,7 +204,7 @@ export interface CreateClusterOutput {
202
204
  export interface CreateClusterSnapshotInput {
203
205
  clusterArn: string | undefined;
204
206
  snapshotName: string | undefined;
205
- tags?: Record<string, string>;
207
+ tags?: Record<string, string> | undefined;
206
208
  }
207
209
  export interface CreateClusterSnapshotOutput {
208
210
  snapshot: ClusterSnapshot | undefined;
@@ -240,8 +242,8 @@ export interface GetPendingMaintenanceActionOutput {
240
242
  | undefined;
241
243
  }
242
244
  export interface ListClustersInput {
243
- nextToken?: string;
244
- maxResults?: number;
245
+ nextToken?: string | undefined;
246
+ maxResults?: number | undefined;
245
247
  }
246
248
  export interface ClusterInList {
247
249
  clusterName: string | undefined;
@@ -249,14 +251,14 @@ export interface ClusterInList {
249
251
  status: Status | undefined;
250
252
  }
251
253
  export interface ListClustersOutput {
252
- clusters?: ClusterInList[];
253
- nextToken?: string;
254
+ clusters?: ClusterInList[] | undefined;
255
+ nextToken?: string | undefined;
254
256
  }
255
257
  export interface ListClusterSnapshotsInput {
256
- clusterArn?: string;
257
- nextToken?: string;
258
- maxResults?: number;
259
- snapshotType?: string;
258
+ clusterArn?: string | undefined;
259
+ nextToken?: string | undefined;
260
+ maxResults?: number | undefined;
261
+ snapshotType?: string | undefined;
260
262
  }
261
263
  export interface ClusterSnapshotInList {
262
264
  snapshotName: string | undefined;
@@ -266,34 +268,34 @@ export interface ClusterSnapshotInList {
266
268
  snapshotCreationTime: string | undefined;
267
269
  }
268
270
  export interface ListClusterSnapshotsOutput {
269
- snapshots?: ClusterSnapshotInList[];
270
- nextToken?: string;
271
+ snapshots?: ClusterSnapshotInList[] | undefined;
272
+ nextToken?: string | undefined;
271
273
  }
272
274
  export interface ListPendingMaintenanceActionsInput {
273
- nextToken?: string;
274
- maxResults?: number;
275
+ nextToken?: string | undefined;
276
+ maxResults?: number | undefined;
275
277
  }
276
278
  export interface ListPendingMaintenanceActionsOutput {
277
279
  resourcePendingMaintenanceActions:
278
280
  | ResourcePendingMaintenanceAction[]
279
281
  | undefined;
280
- nextToken?: string;
282
+ nextToken?: string | undefined;
281
283
  }
282
284
  export interface ListTagsForResourceRequest {
283
285
  resourceArn: string | undefined;
284
286
  }
285
287
  export interface ListTagsForResourceResponse {
286
- tags?: Record<string, string>;
288
+ tags?: Record<string, string> | undefined;
287
289
  }
288
290
  export interface RestoreClusterFromSnapshotInput {
289
291
  clusterName: string | undefined;
290
292
  snapshotArn: string | undefined;
291
- vpcSecurityGroupIds?: string[];
292
- subnetIds?: string[];
293
- kmsKeyId?: string;
294
- tags?: Record<string, string>;
295
- shardCapacity?: number;
296
- shardInstanceCount?: number;
293
+ vpcSecurityGroupIds?: string[] | undefined;
294
+ subnetIds?: string[] | undefined;
295
+ kmsKeyId?: string | undefined;
296
+ tags?: Record<string, string> | undefined;
297
+ shardCapacity?: number | undefined;
298
+ shardInstanceCount?: number | undefined;
297
299
  }
298
300
  export interface RestoreClusterFromSnapshotOutput {
299
301
  cluster: Cluster | undefined;
@@ -322,17 +324,17 @@ export interface UntagResourceRequest {
322
324
  export interface UntagResourceResponse {}
323
325
  export interface UpdateClusterInput {
324
326
  clusterArn: string | undefined;
325
- authType?: Auth;
326
- shardCapacity?: number;
327
- shardCount?: number;
328
- vpcSecurityGroupIds?: string[];
329
- subnetIds?: string[];
330
- adminUserPassword?: string;
331
- clientToken?: string;
332
- preferredMaintenanceWindow?: string;
333
- backupRetentionPeriod?: number;
334
- preferredBackupWindow?: string;
335
- shardInstanceCount?: number;
327
+ authType?: Auth | undefined;
328
+ shardCapacity?: number | undefined;
329
+ shardCount?: number | undefined;
330
+ vpcSecurityGroupIds?: string[] | undefined;
331
+ subnetIds?: string[] | undefined;
332
+ adminUserPassword?: string | undefined;
333
+ clientToken?: string | undefined;
334
+ preferredMaintenanceWindow?: string | undefined;
335
+ backupRetentionPeriod?: number | undefined;
336
+ preferredBackupWindow?: string | undefined;
337
+ shardInstanceCount?: number | undefined;
336
338
  }
337
339
  export interface UpdateClusterOutput {
338
340
  cluster: Cluster | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-docdb-elastic",
3
3
  "description": "AWS SDK for JavaScript Docdb Elastic Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.692.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-docdb-elastic",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",