@aws-sdk/client-redshift-serverless 3.222.0 → 3.223.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/RedshiftServerless.js +45 -0
- package/dist-cjs/commands/GetTableRestoreStatusCommand.js +46 -0
- package/dist-cjs/commands/ListTableRestoreStatusCommand.js +46 -0
- package/dist-cjs/commands/RestoreTableFromSnapshotCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +49 -21
- package/dist-cjs/pagination/ListTableRestoreStatusPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +248 -2
- package/dist-es/RedshiftServerless.js +45 -0
- package/dist-es/commands/GetTableRestoreStatusCommand.js +42 -0
- package/dist-es/commands/ListTableRestoreStatusCommand.js +42 -0
- package/dist-es/commands/RestoreTableFromSnapshotCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +37 -16
- package/dist-es/pagination/ListTableRestoreStatusPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +240 -0
- package/dist-types/RedshiftServerless.d.ts +26 -8
- package/dist-types/RedshiftServerlessClient.d.ts +5 -2
- package/dist-types/commands/GetCredentialsCommand.d.ts +5 -8
- package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +37 -0
- package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +37 -0
- package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +271 -46
- package/dist-types/pagination/ListTableRestoreStatusPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +51 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetTableRestoreStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTableRestoreStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RestoreTableFromSnapshotCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +89 -13
- package/dist-types/ts3.4/pagination/ListTableRestoreStatusPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +3 -4
|
@@ -38,6 +38,19 @@ export declare class ConflictException extends __BaseException {
|
|
|
38
38
|
*/
|
|
39
39
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>A map of key-value pairs.</p>
|
|
43
|
+
*/
|
|
44
|
+
export interface Tag {
|
|
45
|
+
/**
|
|
46
|
+
* <p>The key to use in the tag.</p>
|
|
47
|
+
*/
|
|
48
|
+
key: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The value of the tag.</p>
|
|
51
|
+
*/
|
|
52
|
+
value: string | undefined;
|
|
53
|
+
}
|
|
41
54
|
export interface ConvertRecoveryPointToSnapshotRequest {
|
|
42
55
|
/**
|
|
43
56
|
* <p>The unique identifier of the recovery point.</p>
|
|
@@ -51,6 +64,11 @@ export interface ConvertRecoveryPointToSnapshotRequest {
|
|
|
51
64
|
* <p>How long to retain the snapshot.</p>
|
|
52
65
|
*/
|
|
53
66
|
retentionPeriod?: number;
|
|
67
|
+
/**
|
|
68
|
+
* <p>An array of <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html">Tag objects</a>
|
|
69
|
+
* to associate with the created snapshot.</p>
|
|
70
|
+
*/
|
|
71
|
+
tags?: Tag[];
|
|
54
72
|
}
|
|
55
73
|
export declare enum SnapshotStatus {
|
|
56
74
|
AVAILABLE = "AVAILABLE",
|
|
@@ -190,6 +208,21 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
190
208
|
*/
|
|
191
209
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
192
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* <p>The request exceeded the number of tags allowed for a resource.</p>
|
|
213
|
+
*/
|
|
214
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
215
|
+
readonly name: "TooManyTagsException";
|
|
216
|
+
readonly $fault: "client";
|
|
217
|
+
/**
|
|
218
|
+
* <p>The name of the resource that exceeded the number of tags allowed for a resource.</p>
|
|
219
|
+
*/
|
|
220
|
+
resourceName?: string;
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
225
|
+
}
|
|
193
226
|
/**
|
|
194
227
|
* <p>The input failed to satisfy the constraints specified by an AWS service.</p>
|
|
195
228
|
*/
|
|
@@ -333,19 +366,6 @@ export declare enum LogExport {
|
|
|
333
366
|
USER_ACTIVITY_LOG = "useractivitylog",
|
|
334
367
|
USER_LOG = "userlog"
|
|
335
368
|
}
|
|
336
|
-
/**
|
|
337
|
-
* <p>A map of key-value pairs.</p>
|
|
338
|
-
*/
|
|
339
|
-
export interface Tag {
|
|
340
|
-
/**
|
|
341
|
-
* <p>The key to use in the tag.</p>
|
|
342
|
-
*/
|
|
343
|
-
key: string | undefined;
|
|
344
|
-
/**
|
|
345
|
-
* <p>The value of the tag.</p>
|
|
346
|
-
*/
|
|
347
|
-
value: string | undefined;
|
|
348
|
-
}
|
|
349
369
|
export interface CreateNamespaceRequest {
|
|
350
370
|
/**
|
|
351
371
|
* <p>The name of the namespace.</p>
|
|
@@ -448,21 +468,6 @@ export interface CreateNamespaceResponse {
|
|
|
448
468
|
*/
|
|
449
469
|
namespace?: Namespace;
|
|
450
470
|
}
|
|
451
|
-
/**
|
|
452
|
-
* <p>The request exceeded the number of tags allowed for a resource.</p>
|
|
453
|
-
*/
|
|
454
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
455
|
-
readonly name: "TooManyTagsException";
|
|
456
|
-
readonly $fault: "client";
|
|
457
|
-
/**
|
|
458
|
-
* <p>The name of the resource that exceeded the number of tags allowed for a resource.</p>
|
|
459
|
-
*/
|
|
460
|
-
resourceName?: string;
|
|
461
|
-
/**
|
|
462
|
-
* @internal
|
|
463
|
-
*/
|
|
464
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
465
|
-
}
|
|
466
471
|
export interface CreateSnapshotRequest {
|
|
467
472
|
/**
|
|
468
473
|
* <p>The namespace to create a snapshot for.</p>
|
|
@@ -476,6 +481,10 @@ export interface CreateSnapshotRequest {
|
|
|
476
481
|
* <p>How long to retain the created snapshot.</p>
|
|
477
482
|
*/
|
|
478
483
|
retentionPeriod?: number;
|
|
484
|
+
/**
|
|
485
|
+
* <p>An array of <a href="https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html">Tag objects</a> to associate with the snapshot.</p>
|
|
486
|
+
*/
|
|
487
|
+
tags?: Tag[];
|
|
479
488
|
}
|
|
480
489
|
export interface CreateSnapshotResponse {
|
|
481
490
|
/**
|
|
@@ -599,6 +608,10 @@ export interface CreateWorkgroupRequest {
|
|
|
599
608
|
* <p>A array of tag instances.</p>
|
|
600
609
|
*/
|
|
601
610
|
tags?: Tag[];
|
|
611
|
+
/**
|
|
612
|
+
* <p>The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.</p>
|
|
613
|
+
*/
|
|
614
|
+
port?: number;
|
|
602
615
|
}
|
|
603
616
|
/**
|
|
604
617
|
* <p>The VPC endpoint object.</p>
|
|
@@ -683,6 +696,10 @@ export interface Workgroup {
|
|
|
683
696
|
* <p>The creation date of the workgroup.</p>
|
|
684
697
|
*/
|
|
685
698
|
creationDate?: Date;
|
|
699
|
+
/**
|
|
700
|
+
* <p>The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.</p>
|
|
701
|
+
*/
|
|
702
|
+
port?: number;
|
|
686
703
|
}
|
|
687
704
|
export interface CreateWorkgroupResponse {
|
|
688
705
|
/**
|
|
@@ -729,13 +746,13 @@ export interface GetEndpointAccessResponse {
|
|
|
729
746
|
export interface ListEndpointAccessRequest {
|
|
730
747
|
/**
|
|
731
748
|
* <p>If your initial <code>ListEndpointAccess</code> operation returns a <code>nextToken</code>,
|
|
732
|
-
* you can include the returned <code>nextToken</code> in
|
|
749
|
+
* you can include the returned <code>nextToken</code> in following <code>ListEndpointAccess</code> operations,
|
|
733
750
|
* which returns results in the next page.</p>
|
|
734
751
|
*/
|
|
735
752
|
nextToken?: string;
|
|
736
753
|
/**
|
|
737
754
|
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
738
|
-
* You can use <code>nextToken</code> to
|
|
755
|
+
* You can use <code>nextToken</code> to display the next page of results.</p>
|
|
739
756
|
*/
|
|
740
757
|
maxResults?: number;
|
|
741
758
|
/**
|
|
@@ -852,7 +869,7 @@ export interface GetCredentialsRequest {
|
|
|
852
869
|
* <p>Must be 1 to 64 alphanumeric characters or hyphens.</p>
|
|
853
870
|
* </li>
|
|
854
871
|
* <li>
|
|
855
|
-
* <p>Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.</p>
|
|
872
|
+
* <p>Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.</p>
|
|
856
873
|
* </li>
|
|
857
874
|
* <li>
|
|
858
875
|
* <p>The first character must be a letter.</p>
|
|
@@ -940,6 +957,10 @@ export interface RecoveryPoint {
|
|
|
940
957
|
* <p>The name of the workgroup the recovery point is associated with.</p>
|
|
941
958
|
*/
|
|
942
959
|
workgroupName?: string;
|
|
960
|
+
/**
|
|
961
|
+
* <p>The Amazon Resource Name (ARN) of the namespace the recovery point is associated with.</p>
|
|
962
|
+
*/
|
|
963
|
+
namespaceArn?: string;
|
|
943
964
|
}
|
|
944
965
|
export interface GetRecoveryPointResponse {
|
|
945
966
|
/**
|
|
@@ -992,6 +1013,87 @@ export interface GetSnapshotResponse {
|
|
|
992
1013
|
*/
|
|
993
1014
|
snapshot?: Snapshot;
|
|
994
1015
|
}
|
|
1016
|
+
export interface GetTableRestoreStatusRequest {
|
|
1017
|
+
/**
|
|
1018
|
+
* <p>The ID of the <code>RestoreTableFromSnapshot</code> request to return status for.</p>
|
|
1019
|
+
*/
|
|
1020
|
+
tableRestoreRequestId: string | undefined;
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
* <p>Contains information about a table restore request.</p>
|
|
1024
|
+
*/
|
|
1025
|
+
export interface TableRestoreStatus {
|
|
1026
|
+
/**
|
|
1027
|
+
* <p>The ID of the RestoreTableFromSnapshot request.</p>
|
|
1028
|
+
*/
|
|
1029
|
+
tableRestoreRequestId?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* <p>A value that describes the current state of the table restore request.
|
|
1032
|
+
* Possible values include <code>SUCCEEDED</code>, <code>FAILED</code>, <code>CANCELED</code>, <code>PENDING</code>, <code>IN_PROGRESS</code>.</p>
|
|
1033
|
+
*/
|
|
1034
|
+
status?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>A description of the status of the table restore request.
|
|
1037
|
+
* Status values include <code>SUCCEEDED</code>, <code>FAILED</code>, <code>CANCELED</code>, <code>PENDING</code>, <code>IN_PROGRESS</code>.</p>
|
|
1038
|
+
*/
|
|
1039
|
+
message?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* <p>The time that the table restore request was made,
|
|
1042
|
+
* in Universal Coordinated Time (UTC).</p>
|
|
1043
|
+
*/
|
|
1044
|
+
requestTime?: Date;
|
|
1045
|
+
/**
|
|
1046
|
+
* <p>The namespace of the table being restored from.</p>
|
|
1047
|
+
*/
|
|
1048
|
+
namespaceName?: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* <p>The name of the workgroup being restored from.</p>
|
|
1051
|
+
*/
|
|
1052
|
+
workgroupName?: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* <p>The name of the snapshot being restored from.</p>
|
|
1055
|
+
*/
|
|
1056
|
+
snapshotName?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>The amount of data restored to the new table so far, in megabytes (MB).</p>
|
|
1059
|
+
*/
|
|
1060
|
+
progressInMegaBytes?: number;
|
|
1061
|
+
/**
|
|
1062
|
+
* <p>The total amount of data to restore to the new table, in megabytes (MB).</p>
|
|
1063
|
+
*/
|
|
1064
|
+
totalDataInMegaBytes?: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* <p>The name of the source database being restored from.</p>
|
|
1067
|
+
*/
|
|
1068
|
+
sourceDatabaseName?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* <p>The name of the source schema being restored from.</p>
|
|
1071
|
+
*/
|
|
1072
|
+
sourceSchemaName?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* <p>The name of the source table being restored from.</p>
|
|
1075
|
+
*/
|
|
1076
|
+
sourceTableName?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>The name of the database to restore to.</p>
|
|
1079
|
+
*/
|
|
1080
|
+
targetDatabaseName?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* <p>The name of the schema to restore to.</p>
|
|
1083
|
+
*/
|
|
1084
|
+
targetSchemaName?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>The name of the table to create from the restore operation.</p>
|
|
1087
|
+
*/
|
|
1088
|
+
newTableName?: string;
|
|
1089
|
+
}
|
|
1090
|
+
export interface GetTableRestoreStatusResponse {
|
|
1091
|
+
/**
|
|
1092
|
+
* <p>The returned <code>TableRestoreStatus</code> object that contains information about
|
|
1093
|
+
* the status of your <code>RestoreTableFromSnapshot</code> request.</p>
|
|
1094
|
+
*/
|
|
1095
|
+
tableRestoreStatus?: TableRestoreStatus;
|
|
1096
|
+
}
|
|
995
1097
|
export interface GetUsageLimitRequest {
|
|
996
1098
|
/**
|
|
997
1099
|
* <p>The unique identifier of the usage limit to return information for.</p>
|
|
@@ -1030,13 +1132,13 @@ export declare class InvalidPaginationException extends __BaseException {
|
|
|
1030
1132
|
export interface ListNamespacesRequest {
|
|
1031
1133
|
/**
|
|
1032
1134
|
* <p>If your initial <code>ListNamespaces</code> operation returns a <code>nextToken</code>,
|
|
1033
|
-
* you can include the returned <code>nextToken</code> in
|
|
1135
|
+
* you can include the returned <code>nextToken</code> in following <code>ListNamespaces</code> operations,
|
|
1034
1136
|
* which returns results in the next page.</p>
|
|
1035
1137
|
*/
|
|
1036
1138
|
nextToken?: string;
|
|
1037
1139
|
/**
|
|
1038
1140
|
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1039
|
-
* You can use <code>nextToken</code> to
|
|
1141
|
+
* You can use <code>nextToken</code> to display the next page of results.</p>
|
|
1040
1142
|
*/
|
|
1041
1143
|
maxResults?: number;
|
|
1042
1144
|
}
|
|
@@ -1055,13 +1157,13 @@ export interface ListNamespacesResponse {
|
|
|
1055
1157
|
export interface ListRecoveryPointsRequest {
|
|
1056
1158
|
/**
|
|
1057
1159
|
* <p>If your initial <code>ListRecoveryPoints</code> operation returns a <code>nextToken</code>,
|
|
1058
|
-
* you can include the returned <code>nextToken</code> in
|
|
1160
|
+
* you can include the returned <code>nextToken</code> in following <code>ListRecoveryPoints</code> operations,
|
|
1059
1161
|
* which returns results in the next page.</p>
|
|
1060
1162
|
*/
|
|
1061
1163
|
nextToken?: string;
|
|
1062
1164
|
/**
|
|
1063
1165
|
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1064
|
-
* You can use <code>nextToken</code> to
|
|
1166
|
+
* You can use <code>nextToken</code> to display the next page of results.</p>
|
|
1065
1167
|
*/
|
|
1066
1168
|
maxResults?: number;
|
|
1067
1169
|
/**
|
|
@@ -1076,6 +1178,10 @@ export interface ListRecoveryPointsRequest {
|
|
|
1076
1178
|
* <p>The name of the namespace to list recovery points for.</p>
|
|
1077
1179
|
*/
|
|
1078
1180
|
namespaceName?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* <p>The Amazon Resource Name (ARN) of the namespace from which to list recovery points.</p>
|
|
1183
|
+
*/
|
|
1184
|
+
namespaceArn?: string;
|
|
1079
1185
|
}
|
|
1080
1186
|
export interface ListRecoveryPointsResponse {
|
|
1081
1187
|
/**
|
|
@@ -1098,7 +1204,7 @@ export interface ListSnapshotsRequest {
|
|
|
1098
1204
|
nextToken?: string;
|
|
1099
1205
|
/**
|
|
1100
1206
|
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1101
|
-
* You can use <code>nextToken</code> to
|
|
1207
|
+
* You can use <code>nextToken</code> to display the next page of results.</p>
|
|
1102
1208
|
*/
|
|
1103
1209
|
maxResults?: number;
|
|
1104
1210
|
/**
|
|
@@ -1134,6 +1240,39 @@ export interface ListSnapshotsResponse {
|
|
|
1134
1240
|
*/
|
|
1135
1241
|
snapshots?: Snapshot[];
|
|
1136
1242
|
}
|
|
1243
|
+
export interface ListTableRestoreStatusRequest {
|
|
1244
|
+
/**
|
|
1245
|
+
* <p>If your initial <code>ListTableRestoreStatus</code> operation returns a nextToken,
|
|
1246
|
+
* you can include the returned <code>nextToken</code> in following <code>ListTableRestoreStatus</code>
|
|
1247
|
+
* operations. This will return results on the next page.</p>
|
|
1248
|
+
*/
|
|
1249
|
+
nextToken?: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* <p>An optional parameter that specifies the maximum number of results to
|
|
1252
|
+
* return. You can use nextToken to display the next page of results.</p>
|
|
1253
|
+
*/
|
|
1254
|
+
maxResults?: number;
|
|
1255
|
+
/**
|
|
1256
|
+
* <p>The namespace from which to list all of the statuses of <code>RestoreTableFromSnapshot</code> operations .</p>
|
|
1257
|
+
*/
|
|
1258
|
+
namespaceName?: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* <p>The workgroup from which to list all of the statuses of <code>RestoreTableFromSnapshot</code> operations.</p>
|
|
1261
|
+
*/
|
|
1262
|
+
workgroupName?: string;
|
|
1263
|
+
}
|
|
1264
|
+
export interface ListTableRestoreStatusResponse {
|
|
1265
|
+
/**
|
|
1266
|
+
* <p>If your initial <code>ListTableRestoreStatus</code> operation returns a <code>nextToken</code>,
|
|
1267
|
+
* you can include the returned <code>nextToken</code> in following <code>ListTableRestoreStatus</code>
|
|
1268
|
+
* operations. This will returns results on the next page.</p>
|
|
1269
|
+
*/
|
|
1270
|
+
nextToken?: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>The array of returned <code>TableRestoreStatus</code> objects.</p>
|
|
1273
|
+
*/
|
|
1274
|
+
tableRestoreStatuses?: TableRestoreStatus[];
|
|
1275
|
+
}
|
|
1137
1276
|
export interface ListTagsForResourceRequest {
|
|
1138
1277
|
/**
|
|
1139
1278
|
* <p>The Amazon Resource Name (ARN) of the resource to list tags for.</p>
|
|
@@ -1170,7 +1309,7 @@ export interface ListUsageLimitsRequest {
|
|
|
1170
1309
|
usageType?: UsageLimitUsageType | string;
|
|
1171
1310
|
/**
|
|
1172
1311
|
* <p>If your initial <code>ListUsageLimits</code> operation returns a <code>nextToken</code>,
|
|
1173
|
-
* you can include the returned <code>nextToken</code> in
|
|
1312
|
+
* you can include the returned <code>nextToken</code> in following <code>ListUsageLimits</code> operations,
|
|
1174
1313
|
* which returns results in the next page.
|
|
1175
1314
|
* </p>
|
|
1176
1315
|
*/
|
|
@@ -1196,13 +1335,13 @@ export interface ListUsageLimitsResponse {
|
|
|
1196
1335
|
export interface ListWorkgroupsRequest {
|
|
1197
1336
|
/**
|
|
1198
1337
|
* <p>If your initial ListWorkgroups operation returns a <code>nextToken</code>,
|
|
1199
|
-
* you can include the returned <code>nextToken</code> in
|
|
1338
|
+
* you can include the returned <code>nextToken</code> in following ListNamespaces operations,
|
|
1200
1339
|
* which returns results in the next page.</p>
|
|
1201
1340
|
*/
|
|
1202
1341
|
nextToken?: string;
|
|
1203
1342
|
/**
|
|
1204
1343
|
* <p>An optional parameter that specifies the maximum number of results to return.
|
|
1205
|
-
* You can use <code>nextToken</code> to
|
|
1344
|
+
* You can use <code>nextToken</code> to display the next page of results.</p>
|
|
1206
1345
|
*/
|
|
1207
1346
|
maxResults?: number;
|
|
1208
1347
|
}
|
|
@@ -1311,11 +1450,13 @@ export interface RestoreFromSnapshotRequest {
|
|
|
1311
1450
|
*/
|
|
1312
1451
|
workgroupName: string | undefined;
|
|
1313
1452
|
/**
|
|
1314
|
-
* <p>The name of the snapshot to restore from
|
|
1453
|
+
* <p>The name of the snapshot to restore from. Must not be specified at the same time as <code>snapshotArn</code>.</p>
|
|
1315
1454
|
*/
|
|
1316
1455
|
snapshotName?: string;
|
|
1317
1456
|
/**
|
|
1318
|
-
* <p>The Amazon Resource Name (ARN) of the snapshot to restore from
|
|
1457
|
+
* <p>The Amazon Resource Name (ARN) of the snapshot to restore from. Required if restoring from Amazon Redshift Serverless to a provisioned cluster.
|
|
1458
|
+
* Must not be specified at the same time as <code>snapshotName</code>.</p>
|
|
1459
|
+
* <p>The format of the ARN is arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/<snapshot_identifier>.</p>
|
|
1319
1460
|
*/
|
|
1320
1461
|
snapshotArn?: string;
|
|
1321
1462
|
/**
|
|
@@ -1337,6 +1478,56 @@ export interface RestoreFromSnapshotResponse {
|
|
|
1337
1478
|
*/
|
|
1338
1479
|
namespace?: Namespace;
|
|
1339
1480
|
}
|
|
1481
|
+
export interface RestoreTableFromSnapshotRequest {
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>The namespace of the snapshot to restore from.</p>
|
|
1484
|
+
*/
|
|
1485
|
+
namespaceName: string | undefined;
|
|
1486
|
+
/**
|
|
1487
|
+
* <p>The workgroup to restore the table to.</p>
|
|
1488
|
+
*/
|
|
1489
|
+
workgroupName: string | undefined;
|
|
1490
|
+
/**
|
|
1491
|
+
* <p>The name of the snapshot to restore the table from.</p>
|
|
1492
|
+
*/
|
|
1493
|
+
snapshotName: string | undefined;
|
|
1494
|
+
/**
|
|
1495
|
+
* <p>The name of the source database that contains the table being restored.</p>
|
|
1496
|
+
*/
|
|
1497
|
+
sourceDatabaseName: string | undefined;
|
|
1498
|
+
/**
|
|
1499
|
+
* <p>The name of the source schema that contains the table being restored.</p>
|
|
1500
|
+
*/
|
|
1501
|
+
sourceSchemaName?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* <p>The name of the source table being restored.</p>
|
|
1504
|
+
*/
|
|
1505
|
+
sourceTableName: string | undefined;
|
|
1506
|
+
/**
|
|
1507
|
+
* <p>The name of the database to restore the table to.</p>
|
|
1508
|
+
*/
|
|
1509
|
+
targetDatabaseName?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* <p>The name of the schema to restore the table to.</p>
|
|
1512
|
+
*/
|
|
1513
|
+
targetSchemaName?: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* <p>The name of the table to create from the restore operation.</p>
|
|
1516
|
+
*/
|
|
1517
|
+
newTableName: string | undefined;
|
|
1518
|
+
/**
|
|
1519
|
+
* <p>Indicates whether name identifiers for database, schema, and table
|
|
1520
|
+
* are case sensitive. If true, the names are case sensitive. If
|
|
1521
|
+
* false, the names are not case sensitive. The default is false.</p>
|
|
1522
|
+
*/
|
|
1523
|
+
activateCaseSensitiveIdentifier?: boolean;
|
|
1524
|
+
}
|
|
1525
|
+
export interface RestoreTableFromSnapshotResponse {
|
|
1526
|
+
/**
|
|
1527
|
+
* <p>The TableRestoreStatus object that contains the status of the restore operation.</p>
|
|
1528
|
+
*/
|
|
1529
|
+
tableRestoreStatus?: TableRestoreStatus;
|
|
1530
|
+
}
|
|
1340
1531
|
export interface UpdateSnapshotRequest {
|
|
1341
1532
|
/**
|
|
1342
1533
|
* <p>The name of the snapshot.</p>
|
|
@@ -1383,7 +1574,9 @@ export interface UpdateUsageLimitRequest {
|
|
|
1383
1574
|
*/
|
|
1384
1575
|
usageLimitId: string | undefined;
|
|
1385
1576
|
/**
|
|
1386
|
-
* <p>The new limit amount.
|
|
1577
|
+
* <p>The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour.
|
|
1578
|
+
* If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing.
|
|
1579
|
+
* The value must be a positive number.</p>
|
|
1387
1580
|
*/
|
|
1388
1581
|
amount?: number;
|
|
1389
1582
|
/**
|
|
@@ -1429,6 +1622,10 @@ export interface UpdateWorkgroupRequest {
|
|
|
1429
1622
|
* <p>An array of security group IDs to associate with the workgroup.</p>
|
|
1430
1623
|
*/
|
|
1431
1624
|
securityGroupIds?: string[];
|
|
1625
|
+
/**
|
|
1626
|
+
* <p>The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.</p>
|
|
1627
|
+
*/
|
|
1628
|
+
port?: number;
|
|
1432
1629
|
}
|
|
1433
1630
|
export interface UpdateWorkgroupResponse {
|
|
1434
1631
|
/**
|
|
@@ -1440,6 +1637,10 @@ export interface UpdateWorkgroupResponse {
|
|
|
1440
1637
|
* @internal
|
|
1441
1638
|
*/
|
|
1442
1639
|
export declare const ConfigParameterFilterSensitiveLog: (obj: ConfigParameter) => any;
|
|
1640
|
+
/**
|
|
1641
|
+
* @internal
|
|
1642
|
+
*/
|
|
1643
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
1443
1644
|
/**
|
|
1444
1645
|
* @internal
|
|
1445
1646
|
*/
|
|
@@ -1476,10 +1677,6 @@ export declare const EndpointAccessFilterSensitiveLog: (obj: EndpointAccess) =>
|
|
|
1476
1677
|
* @internal
|
|
1477
1678
|
*/
|
|
1478
1679
|
export declare const CreateEndpointAccessResponseFilterSensitiveLog: (obj: CreateEndpointAccessResponse) => any;
|
|
1479
|
-
/**
|
|
1480
|
-
* @internal
|
|
1481
|
-
*/
|
|
1482
|
-
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
1483
1680
|
/**
|
|
1484
1681
|
* @internal
|
|
1485
1682
|
*/
|
|
@@ -1648,6 +1845,18 @@ export declare const GetSnapshotRequestFilterSensitiveLog: (obj: GetSnapshotRequ
|
|
|
1648
1845
|
* @internal
|
|
1649
1846
|
*/
|
|
1650
1847
|
export declare const GetSnapshotResponseFilterSensitiveLog: (obj: GetSnapshotResponse) => any;
|
|
1848
|
+
/**
|
|
1849
|
+
* @internal
|
|
1850
|
+
*/
|
|
1851
|
+
export declare const GetTableRestoreStatusRequestFilterSensitiveLog: (obj: GetTableRestoreStatusRequest) => any;
|
|
1852
|
+
/**
|
|
1853
|
+
* @internal
|
|
1854
|
+
*/
|
|
1855
|
+
export declare const TableRestoreStatusFilterSensitiveLog: (obj: TableRestoreStatus) => any;
|
|
1856
|
+
/**
|
|
1857
|
+
* @internal
|
|
1858
|
+
*/
|
|
1859
|
+
export declare const GetTableRestoreStatusResponseFilterSensitiveLog: (obj: GetTableRestoreStatusResponse) => any;
|
|
1651
1860
|
/**
|
|
1652
1861
|
* @internal
|
|
1653
1862
|
*/
|
|
@@ -1688,6 +1897,14 @@ export declare const ListSnapshotsRequestFilterSensitiveLog: (obj: ListSnapshots
|
|
|
1688
1897
|
* @internal
|
|
1689
1898
|
*/
|
|
1690
1899
|
export declare const ListSnapshotsResponseFilterSensitiveLog: (obj: ListSnapshotsResponse) => any;
|
|
1900
|
+
/**
|
|
1901
|
+
* @internal
|
|
1902
|
+
*/
|
|
1903
|
+
export declare const ListTableRestoreStatusRequestFilterSensitiveLog: (obj: ListTableRestoreStatusRequest) => any;
|
|
1904
|
+
/**
|
|
1905
|
+
* @internal
|
|
1906
|
+
*/
|
|
1907
|
+
export declare const ListTableRestoreStatusResponseFilterSensitiveLog: (obj: ListTableRestoreStatusResponse) => any;
|
|
1691
1908
|
/**
|
|
1692
1909
|
* @internal
|
|
1693
1910
|
*/
|
|
@@ -1744,6 +1961,14 @@ export declare const RestoreFromSnapshotRequestFilterSensitiveLog: (obj: Restore
|
|
|
1744
1961
|
* @internal
|
|
1745
1962
|
*/
|
|
1746
1963
|
export declare const RestoreFromSnapshotResponseFilterSensitiveLog: (obj: RestoreFromSnapshotResponse) => any;
|
|
1964
|
+
/**
|
|
1965
|
+
* @internal
|
|
1966
|
+
*/
|
|
1967
|
+
export declare const RestoreTableFromSnapshotRequestFilterSensitiveLog: (obj: RestoreTableFromSnapshotRequest) => any;
|
|
1968
|
+
/**
|
|
1969
|
+
* @internal
|
|
1970
|
+
*/
|
|
1971
|
+
export declare const RestoreTableFromSnapshotResponseFilterSensitiveLog: (obj: RestoreTableFromSnapshotResponse) => any;
|
|
1747
1972
|
/**
|
|
1748
1973
|
* @internal
|
|
1749
1974
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput } from "../commands/ListTableRestoreStatusCommand";
|
|
3
|
+
import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListTableRestoreStatus(config: RedshiftServerlessPaginationConfiguration, input: ListTableRestoreStatusCommandInput, ...additionalArguments: any): Paginator<ListTableRestoreStatusCommandOutput>;
|
|
@@ -3,5 +3,6 @@ export * from "./ListEndpointAccessPaginator";
|
|
|
3
3
|
export * from "./ListNamespacesPaginator";
|
|
4
4
|
export * from "./ListRecoveryPointsPaginator";
|
|
5
5
|
export * from "./ListSnapshotsPaginator";
|
|
6
|
+
export * from "./ListTableRestoreStatusPaginator";
|
|
6
7
|
export * from "./ListUsageLimitsPaginator";
|
|
7
8
|
export * from "./ListWorkgroupsPaginator";
|
|
@@ -18,18 +18,21 @@ import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "../commands
|
|
|
18
18
|
import { GetRecoveryPointCommandInput, GetRecoveryPointCommandOutput } from "../commands/GetRecoveryPointCommand";
|
|
19
19
|
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
|
|
20
20
|
import { GetSnapshotCommandInput, GetSnapshotCommandOutput } from "../commands/GetSnapshotCommand";
|
|
21
|
+
import { GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput } from "../commands/GetTableRestoreStatusCommand";
|
|
21
22
|
import { GetUsageLimitCommandInput, GetUsageLimitCommandOutput } from "../commands/GetUsageLimitCommand";
|
|
22
23
|
import { GetWorkgroupCommandInput, GetWorkgroupCommandOutput } from "../commands/GetWorkgroupCommand";
|
|
23
24
|
import { ListEndpointAccessCommandInput, ListEndpointAccessCommandOutput } from "../commands/ListEndpointAccessCommand";
|
|
24
25
|
import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "../commands/ListNamespacesCommand";
|
|
25
26
|
import { ListRecoveryPointsCommandInput, ListRecoveryPointsCommandOutput } from "../commands/ListRecoveryPointsCommand";
|
|
26
27
|
import { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "../commands/ListSnapshotsCommand";
|
|
28
|
+
import { ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput } from "../commands/ListTableRestoreStatusCommand";
|
|
27
29
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
28
30
|
import { ListUsageLimitsCommandInput, ListUsageLimitsCommandOutput } from "../commands/ListUsageLimitsCommand";
|
|
29
31
|
import { ListWorkgroupsCommandInput, ListWorkgroupsCommandOutput } from "../commands/ListWorkgroupsCommand";
|
|
30
32
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
|
|
31
33
|
import { RestoreFromRecoveryPointCommandInput, RestoreFromRecoveryPointCommandOutput } from "../commands/RestoreFromRecoveryPointCommand";
|
|
32
34
|
import { RestoreFromSnapshotCommandInput, RestoreFromSnapshotCommandOutput } from "../commands/RestoreFromSnapshotCommand";
|
|
35
|
+
import { RestoreTableFromSnapshotCommandInput, RestoreTableFromSnapshotCommandOutput } from "../commands/RestoreTableFromSnapshotCommand";
|
|
33
36
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
34
37
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
35
38
|
import { UpdateEndpointAccessCommandInput, UpdateEndpointAccessCommandOutput } from "../commands/UpdateEndpointAccessCommand";
|
|
@@ -55,18 +58,21 @@ export declare const serializeAws_json1_1GetNamespaceCommand: (input: GetNamespa
|
|
|
55
58
|
export declare const serializeAws_json1_1GetRecoveryPointCommand: (input: GetRecoveryPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
59
|
export declare const serializeAws_json1_1GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
60
|
export declare const serializeAws_json1_1GetSnapshotCommand: (input: GetSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
|
+
export declare const serializeAws_json1_1GetTableRestoreStatusCommand: (input: GetTableRestoreStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
62
|
export declare const serializeAws_json1_1GetUsageLimitCommand: (input: GetUsageLimitCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
63
|
export declare const serializeAws_json1_1GetWorkgroupCommand: (input: GetWorkgroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
64
|
export declare const serializeAws_json1_1ListEndpointAccessCommand: (input: ListEndpointAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
65
|
export declare const serializeAws_json1_1ListNamespacesCommand: (input: ListNamespacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
66
|
export declare const serializeAws_json1_1ListRecoveryPointsCommand: (input: ListRecoveryPointsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
67
|
export declare const serializeAws_json1_1ListSnapshotsCommand: (input: ListSnapshotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
|
+
export declare const serializeAws_json1_1ListTableRestoreStatusCommand: (input: ListTableRestoreStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
69
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
70
|
export declare const serializeAws_json1_1ListUsageLimitsCommand: (input: ListUsageLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
66
71
|
export declare const serializeAws_json1_1ListWorkgroupsCommand: (input: ListWorkgroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
72
|
export declare const serializeAws_json1_1PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
73
|
export declare const serializeAws_json1_1RestoreFromRecoveryPointCommand: (input: RestoreFromRecoveryPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
74
|
export declare const serializeAws_json1_1RestoreFromSnapshotCommand: (input: RestoreFromSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
75
|
+
export declare const serializeAws_json1_1RestoreTableFromSnapshotCommand: (input: RestoreTableFromSnapshotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
76
|
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
77
|
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
72
78
|
export declare const serializeAws_json1_1UpdateEndpointAccessCommand: (input: UpdateEndpointAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -92,18 +98,21 @@ export declare const deserializeAws_json1_1GetNamespaceCommand: (output: __HttpR
|
|
|
92
98
|
export declare const deserializeAws_json1_1GetRecoveryPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecoveryPointCommandOutput>;
|
|
93
99
|
export declare const deserializeAws_json1_1GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
|
|
94
100
|
export declare const deserializeAws_json1_1GetSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSnapshotCommandOutput>;
|
|
101
|
+
export declare const deserializeAws_json1_1GetTableRestoreStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTableRestoreStatusCommandOutput>;
|
|
95
102
|
export declare const deserializeAws_json1_1GetUsageLimitCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUsageLimitCommandOutput>;
|
|
96
103
|
export declare const deserializeAws_json1_1GetWorkgroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWorkgroupCommandOutput>;
|
|
97
104
|
export declare const deserializeAws_json1_1ListEndpointAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEndpointAccessCommandOutput>;
|
|
98
105
|
export declare const deserializeAws_json1_1ListNamespacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListNamespacesCommandOutput>;
|
|
99
106
|
export declare const deserializeAws_json1_1ListRecoveryPointsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecoveryPointsCommandOutput>;
|
|
100
107
|
export declare const deserializeAws_json1_1ListSnapshotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSnapshotsCommandOutput>;
|
|
108
|
+
export declare const deserializeAws_json1_1ListTableRestoreStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTableRestoreStatusCommandOutput>;
|
|
101
109
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
102
110
|
export declare const deserializeAws_json1_1ListUsageLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsageLimitsCommandOutput>;
|
|
103
111
|
export declare const deserializeAws_json1_1ListWorkgroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkgroupsCommandOutput>;
|
|
104
112
|
export declare const deserializeAws_json1_1PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutResourcePolicyCommandOutput>;
|
|
105
113
|
export declare const deserializeAws_json1_1RestoreFromRecoveryPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreFromRecoveryPointCommandOutput>;
|
|
106
114
|
export declare const deserializeAws_json1_1RestoreFromSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreFromSnapshotCommandOutput>;
|
|
115
|
+
export declare const deserializeAws_json1_1RestoreTableFromSnapshotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreTableFromSnapshotCommandOutput>;
|
|
107
116
|
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
108
117
|
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
109
118
|
export declare const deserializeAws_json1_1UpdateEndpointAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEndpointAccessCommandOutput>;
|