@aws-sdk/client-redshift-serverless 3.218.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 +28 -28
|
@@ -71,6 +71,10 @@ import {
|
|
|
71
71
|
GetSnapshotCommandInput,
|
|
72
72
|
GetSnapshotCommandOutput,
|
|
73
73
|
} from "./commands/GetSnapshotCommand";
|
|
74
|
+
import {
|
|
75
|
+
GetTableRestoreStatusCommandInput,
|
|
76
|
+
GetTableRestoreStatusCommandOutput,
|
|
77
|
+
} from "./commands/GetTableRestoreStatusCommand";
|
|
74
78
|
import {
|
|
75
79
|
GetUsageLimitCommandInput,
|
|
76
80
|
GetUsageLimitCommandOutput,
|
|
@@ -95,6 +99,10 @@ import {
|
|
|
95
99
|
ListSnapshotsCommandInput,
|
|
96
100
|
ListSnapshotsCommandOutput,
|
|
97
101
|
} from "./commands/ListSnapshotsCommand";
|
|
102
|
+
import {
|
|
103
|
+
ListTableRestoreStatusCommandInput,
|
|
104
|
+
ListTableRestoreStatusCommandOutput,
|
|
105
|
+
} from "./commands/ListTableRestoreStatusCommand";
|
|
98
106
|
import {
|
|
99
107
|
ListTagsForResourceCommandInput,
|
|
100
108
|
ListTagsForResourceCommandOutput,
|
|
@@ -119,6 +127,10 @@ import {
|
|
|
119
127
|
RestoreFromSnapshotCommandInput,
|
|
120
128
|
RestoreFromSnapshotCommandOutput,
|
|
121
129
|
} from "./commands/RestoreFromSnapshotCommand";
|
|
130
|
+
import {
|
|
131
|
+
RestoreTableFromSnapshotCommandInput,
|
|
132
|
+
RestoreTableFromSnapshotCommandOutput,
|
|
133
|
+
} from "./commands/RestoreTableFromSnapshotCommand";
|
|
122
134
|
import {
|
|
123
135
|
TagResourceCommandInput,
|
|
124
136
|
TagResourceCommandOutput,
|
|
@@ -383,6 +395,19 @@ export declare class RedshiftServerless extends RedshiftServerlessClient {
|
|
|
383
395
|
options: __HttpHandlerOptions,
|
|
384
396
|
cb: (err: any, data?: GetSnapshotCommandOutput) => void
|
|
385
397
|
): void;
|
|
398
|
+
getTableRestoreStatus(
|
|
399
|
+
args: GetTableRestoreStatusCommandInput,
|
|
400
|
+
options?: __HttpHandlerOptions
|
|
401
|
+
): Promise<GetTableRestoreStatusCommandOutput>;
|
|
402
|
+
getTableRestoreStatus(
|
|
403
|
+
args: GetTableRestoreStatusCommandInput,
|
|
404
|
+
cb: (err: any, data?: GetTableRestoreStatusCommandOutput) => void
|
|
405
|
+
): void;
|
|
406
|
+
getTableRestoreStatus(
|
|
407
|
+
args: GetTableRestoreStatusCommandInput,
|
|
408
|
+
options: __HttpHandlerOptions,
|
|
409
|
+
cb: (err: any, data?: GetTableRestoreStatusCommandOutput) => void
|
|
410
|
+
): void;
|
|
386
411
|
getUsageLimit(
|
|
387
412
|
args: GetUsageLimitCommandInput,
|
|
388
413
|
options?: __HttpHandlerOptions
|
|
@@ -461,6 +486,19 @@ export declare class RedshiftServerless extends RedshiftServerlessClient {
|
|
|
461
486
|
options: __HttpHandlerOptions,
|
|
462
487
|
cb: (err: any, data?: ListSnapshotsCommandOutput) => void
|
|
463
488
|
): void;
|
|
489
|
+
listTableRestoreStatus(
|
|
490
|
+
args: ListTableRestoreStatusCommandInput,
|
|
491
|
+
options?: __HttpHandlerOptions
|
|
492
|
+
): Promise<ListTableRestoreStatusCommandOutput>;
|
|
493
|
+
listTableRestoreStatus(
|
|
494
|
+
args: ListTableRestoreStatusCommandInput,
|
|
495
|
+
cb: (err: any, data?: ListTableRestoreStatusCommandOutput) => void
|
|
496
|
+
): void;
|
|
497
|
+
listTableRestoreStatus(
|
|
498
|
+
args: ListTableRestoreStatusCommandInput,
|
|
499
|
+
options: __HttpHandlerOptions,
|
|
500
|
+
cb: (err: any, data?: ListTableRestoreStatusCommandOutput) => void
|
|
501
|
+
): void;
|
|
464
502
|
listTagsForResource(
|
|
465
503
|
args: ListTagsForResourceCommandInput,
|
|
466
504
|
options?: __HttpHandlerOptions
|
|
@@ -539,6 +577,19 @@ export declare class RedshiftServerless extends RedshiftServerlessClient {
|
|
|
539
577
|
options: __HttpHandlerOptions,
|
|
540
578
|
cb: (err: any, data?: RestoreFromSnapshotCommandOutput) => void
|
|
541
579
|
): void;
|
|
580
|
+
restoreTableFromSnapshot(
|
|
581
|
+
args: RestoreTableFromSnapshotCommandInput,
|
|
582
|
+
options?: __HttpHandlerOptions
|
|
583
|
+
): Promise<RestoreTableFromSnapshotCommandOutput>;
|
|
584
|
+
restoreTableFromSnapshot(
|
|
585
|
+
args: RestoreTableFromSnapshotCommandInput,
|
|
586
|
+
cb: (err: any, data?: RestoreTableFromSnapshotCommandOutput) => void
|
|
587
|
+
): void;
|
|
588
|
+
restoreTableFromSnapshot(
|
|
589
|
+
args: RestoreTableFromSnapshotCommandInput,
|
|
590
|
+
options: __HttpHandlerOptions,
|
|
591
|
+
cb: (err: any, data?: RestoreTableFromSnapshotCommandOutput) => void
|
|
592
|
+
): void;
|
|
542
593
|
tagResource(
|
|
543
594
|
args: TagResourceCommandInput,
|
|
544
595
|
options?: __HttpHandlerOptions
|
|
@@ -115,6 +115,10 @@ import {
|
|
|
115
115
|
GetSnapshotCommandInput,
|
|
116
116
|
GetSnapshotCommandOutput,
|
|
117
117
|
} from "./commands/GetSnapshotCommand";
|
|
118
|
+
import {
|
|
119
|
+
GetTableRestoreStatusCommandInput,
|
|
120
|
+
GetTableRestoreStatusCommandOutput,
|
|
121
|
+
} from "./commands/GetTableRestoreStatusCommand";
|
|
118
122
|
import {
|
|
119
123
|
GetUsageLimitCommandInput,
|
|
120
124
|
GetUsageLimitCommandOutput,
|
|
@@ -139,6 +143,10 @@ import {
|
|
|
139
143
|
ListSnapshotsCommandInput,
|
|
140
144
|
ListSnapshotsCommandOutput,
|
|
141
145
|
} from "./commands/ListSnapshotsCommand";
|
|
146
|
+
import {
|
|
147
|
+
ListTableRestoreStatusCommandInput,
|
|
148
|
+
ListTableRestoreStatusCommandOutput,
|
|
149
|
+
} from "./commands/ListTableRestoreStatusCommand";
|
|
142
150
|
import {
|
|
143
151
|
ListTagsForResourceCommandInput,
|
|
144
152
|
ListTagsForResourceCommandOutput,
|
|
@@ -163,6 +171,10 @@ import {
|
|
|
163
171
|
RestoreFromSnapshotCommandInput,
|
|
164
172
|
RestoreFromSnapshotCommandOutput,
|
|
165
173
|
} from "./commands/RestoreFromSnapshotCommand";
|
|
174
|
+
import {
|
|
175
|
+
RestoreTableFromSnapshotCommandInput,
|
|
176
|
+
RestoreTableFromSnapshotCommandOutput,
|
|
177
|
+
} from "./commands/RestoreTableFromSnapshotCommand";
|
|
166
178
|
import {
|
|
167
179
|
TagResourceCommandInput,
|
|
168
180
|
TagResourceCommandOutput,
|
|
@@ -215,18 +227,21 @@ export declare type ServiceInputTypes =
|
|
|
215
227
|
| GetRecoveryPointCommandInput
|
|
216
228
|
| GetResourcePolicyCommandInput
|
|
217
229
|
| GetSnapshotCommandInput
|
|
230
|
+
| GetTableRestoreStatusCommandInput
|
|
218
231
|
| GetUsageLimitCommandInput
|
|
219
232
|
| GetWorkgroupCommandInput
|
|
220
233
|
| ListEndpointAccessCommandInput
|
|
221
234
|
| ListNamespacesCommandInput
|
|
222
235
|
| ListRecoveryPointsCommandInput
|
|
223
236
|
| ListSnapshotsCommandInput
|
|
237
|
+
| ListTableRestoreStatusCommandInput
|
|
224
238
|
| ListTagsForResourceCommandInput
|
|
225
239
|
| ListUsageLimitsCommandInput
|
|
226
240
|
| ListWorkgroupsCommandInput
|
|
227
241
|
| PutResourcePolicyCommandInput
|
|
228
242
|
| RestoreFromRecoveryPointCommandInput
|
|
229
243
|
| RestoreFromSnapshotCommandInput
|
|
244
|
+
| RestoreTableFromSnapshotCommandInput
|
|
230
245
|
| TagResourceCommandInput
|
|
231
246
|
| UntagResourceCommandInput
|
|
232
247
|
| UpdateEndpointAccessCommandInput
|
|
@@ -253,18 +268,21 @@ export declare type ServiceOutputTypes =
|
|
|
253
268
|
| GetRecoveryPointCommandOutput
|
|
254
269
|
| GetResourcePolicyCommandOutput
|
|
255
270
|
| GetSnapshotCommandOutput
|
|
271
|
+
| GetTableRestoreStatusCommandOutput
|
|
256
272
|
| GetUsageLimitCommandOutput
|
|
257
273
|
| GetWorkgroupCommandOutput
|
|
258
274
|
| ListEndpointAccessCommandOutput
|
|
259
275
|
| ListNamespacesCommandOutput
|
|
260
276
|
| ListRecoveryPointsCommandOutput
|
|
261
277
|
| ListSnapshotsCommandOutput
|
|
278
|
+
| ListTableRestoreStatusCommandOutput
|
|
262
279
|
| ListTagsForResourceCommandOutput
|
|
263
280
|
| ListUsageLimitsCommandOutput
|
|
264
281
|
| ListWorkgroupsCommandOutput
|
|
265
282
|
| PutResourcePolicyCommandOutput
|
|
266
283
|
| RestoreFromRecoveryPointCommandOutput
|
|
267
284
|
| RestoreFromSnapshotCommandOutput
|
|
285
|
+
| RestoreTableFromSnapshotCommandOutput
|
|
268
286
|
| TagResourceCommandOutput
|
|
269
287
|
| UntagResourceCommandOutput
|
|
270
288
|
| UpdateEndpointAccessCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
GetTableRestoreStatusRequest,
|
|
11
|
+
GetTableRestoreStatusResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RedshiftServerlessClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RedshiftServerlessClient";
|
|
18
|
+
export interface GetTableRestoreStatusCommandInput
|
|
19
|
+
extends GetTableRestoreStatusRequest {}
|
|
20
|
+
export interface GetTableRestoreStatusCommandOutput
|
|
21
|
+
extends GetTableRestoreStatusResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetTableRestoreStatusCommand extends $Command<
|
|
24
|
+
GetTableRestoreStatusCommandInput,
|
|
25
|
+
GetTableRestoreStatusCommandOutput,
|
|
26
|
+
RedshiftServerlessClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetTableRestoreStatusCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetTableRestoreStatusCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: RedshiftServerlessClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
GetTableRestoreStatusCommandInput,
|
|
37
|
+
GetTableRestoreStatusCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ListTableRestoreStatusRequest,
|
|
11
|
+
ListTableRestoreStatusResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RedshiftServerlessClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RedshiftServerlessClient";
|
|
18
|
+
export interface ListTableRestoreStatusCommandInput
|
|
19
|
+
extends ListTableRestoreStatusRequest {}
|
|
20
|
+
export interface ListTableRestoreStatusCommandOutput
|
|
21
|
+
extends ListTableRestoreStatusResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListTableRestoreStatusCommand extends $Command<
|
|
24
|
+
ListTableRestoreStatusCommandInput,
|
|
25
|
+
ListTableRestoreStatusCommandOutput,
|
|
26
|
+
RedshiftServerlessClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListTableRestoreStatusCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListTableRestoreStatusCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: RedshiftServerlessClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListTableRestoreStatusCommandInput,
|
|
37
|
+
ListTableRestoreStatusCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
RestoreTableFromSnapshotRequest,
|
|
11
|
+
RestoreTableFromSnapshotResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RedshiftServerlessClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RedshiftServerlessClient";
|
|
18
|
+
export interface RestoreTableFromSnapshotCommandInput
|
|
19
|
+
extends RestoreTableFromSnapshotRequest {}
|
|
20
|
+
export interface RestoreTableFromSnapshotCommandOutput
|
|
21
|
+
extends RestoreTableFromSnapshotResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class RestoreTableFromSnapshotCommand extends $Command<
|
|
24
|
+
RestoreTableFromSnapshotCommandInput,
|
|
25
|
+
RestoreTableFromSnapshotCommandOutput,
|
|
26
|
+
RedshiftServerlessClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: RestoreTableFromSnapshotCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: RestoreTableFromSnapshotCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: RedshiftServerlessClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
RestoreTableFromSnapshotCommandInput,
|
|
37
|
+
RestoreTableFromSnapshotCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -16,18 +16,21 @@ export * from "./GetNamespaceCommand";
|
|
|
16
16
|
export * from "./GetRecoveryPointCommand";
|
|
17
17
|
export * from "./GetResourcePolicyCommand";
|
|
18
18
|
export * from "./GetSnapshotCommand";
|
|
19
|
+
export * from "./GetTableRestoreStatusCommand";
|
|
19
20
|
export * from "./GetUsageLimitCommand";
|
|
20
21
|
export * from "./GetWorkgroupCommand";
|
|
21
22
|
export * from "./ListEndpointAccessCommand";
|
|
22
23
|
export * from "./ListNamespacesCommand";
|
|
23
24
|
export * from "./ListRecoveryPointsCommand";
|
|
24
25
|
export * from "./ListSnapshotsCommand";
|
|
26
|
+
export * from "./ListTableRestoreStatusCommand";
|
|
25
27
|
export * from "./ListTagsForResourceCommand";
|
|
26
28
|
export * from "./ListUsageLimitsCommand";
|
|
27
29
|
export * from "./ListWorkgroupsCommand";
|
|
28
30
|
export * from "./PutResourcePolicyCommand";
|
|
29
31
|
export * from "./RestoreFromRecoveryPointCommand";
|
|
30
32
|
export * from "./RestoreFromSnapshotCommand";
|
|
33
|
+
export * from "./RestoreTableFromSnapshotCommand";
|
|
31
34
|
export * from "./TagResourceCommand";
|
|
32
35
|
export * from "./UntagResourceCommand";
|
|
33
36
|
export * from "./UpdateEndpointAccessCommand";
|
|
@@ -17,10 +17,15 @@ export declare class ConflictException extends __BaseException {
|
|
|
17
17
|
readonly $fault: "client";
|
|
18
18
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
19
|
}
|
|
20
|
+
export interface Tag {
|
|
21
|
+
key: string | undefined;
|
|
22
|
+
value: string | undefined;
|
|
23
|
+
}
|
|
20
24
|
export interface ConvertRecoveryPointToSnapshotRequest {
|
|
21
25
|
recoveryPointId: string | undefined;
|
|
22
26
|
snapshotName: string | undefined;
|
|
23
27
|
retentionPeriod?: number;
|
|
28
|
+
tags?: Tag[];
|
|
24
29
|
}
|
|
25
30
|
export declare enum SnapshotStatus {
|
|
26
31
|
AVAILABLE = "AVAILABLE",
|
|
@@ -78,6 +83,14 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
78
83
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
79
84
|
);
|
|
80
85
|
}
|
|
86
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
87
|
+
readonly name: "TooManyTagsException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
resourceName?: string;
|
|
90
|
+
constructor(
|
|
91
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
81
94
|
export declare class ValidationException extends __BaseException {
|
|
82
95
|
readonly name: "ValidationException";
|
|
83
96
|
readonly $fault: "client";
|
|
@@ -126,10 +139,6 @@ export declare enum LogExport {
|
|
|
126
139
|
USER_ACTIVITY_LOG = "useractivitylog",
|
|
127
140
|
USER_LOG = "userlog",
|
|
128
141
|
}
|
|
129
|
-
export interface Tag {
|
|
130
|
-
key: string | undefined;
|
|
131
|
-
value: string | undefined;
|
|
132
|
-
}
|
|
133
142
|
export interface CreateNamespaceRequest {
|
|
134
143
|
namespaceName: string | undefined;
|
|
135
144
|
adminUsername?: string;
|
|
@@ -162,18 +171,11 @@ export interface Namespace {
|
|
|
162
171
|
export interface CreateNamespaceResponse {
|
|
163
172
|
namespace?: Namespace;
|
|
164
173
|
}
|
|
165
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
166
|
-
readonly name: "TooManyTagsException";
|
|
167
|
-
readonly $fault: "client";
|
|
168
|
-
resourceName?: string;
|
|
169
|
-
constructor(
|
|
170
|
-
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
174
|
export interface CreateSnapshotRequest {
|
|
174
175
|
namespaceName: string | undefined;
|
|
175
176
|
snapshotName: string | undefined;
|
|
176
177
|
retentionPeriod?: number;
|
|
178
|
+
tags?: Tag[];
|
|
177
179
|
}
|
|
178
180
|
export interface CreateSnapshotResponse {
|
|
179
181
|
snapshot?: Snapshot;
|
|
@@ -221,6 +223,7 @@ export interface CreateWorkgroupRequest {
|
|
|
221
223
|
subnetIds?: string[];
|
|
222
224
|
publiclyAccessible?: boolean;
|
|
223
225
|
tags?: Tag[];
|
|
226
|
+
port?: number;
|
|
224
227
|
}
|
|
225
228
|
export interface Endpoint {
|
|
226
229
|
address?: string;
|
|
@@ -247,6 +250,7 @@ export interface Workgroup {
|
|
|
247
250
|
endpoint?: Endpoint;
|
|
248
251
|
publiclyAccessible?: boolean;
|
|
249
252
|
creationDate?: Date;
|
|
253
|
+
port?: number;
|
|
250
254
|
}
|
|
251
255
|
export interface CreateWorkgroupResponse {
|
|
252
256
|
workgroup?: Workgroup;
|
|
@@ -344,6 +348,7 @@ export interface RecoveryPoint {
|
|
|
344
348
|
totalSizeInMegaBytes?: number;
|
|
345
349
|
namespaceName?: string;
|
|
346
350
|
workgroupName?: string;
|
|
351
|
+
namespaceArn?: string;
|
|
347
352
|
}
|
|
348
353
|
export interface GetRecoveryPointResponse {
|
|
349
354
|
recoveryPoint?: RecoveryPoint;
|
|
@@ -366,6 +371,29 @@ export interface GetSnapshotRequest {
|
|
|
366
371
|
export interface GetSnapshotResponse {
|
|
367
372
|
snapshot?: Snapshot;
|
|
368
373
|
}
|
|
374
|
+
export interface GetTableRestoreStatusRequest {
|
|
375
|
+
tableRestoreRequestId: string | undefined;
|
|
376
|
+
}
|
|
377
|
+
export interface TableRestoreStatus {
|
|
378
|
+
tableRestoreRequestId?: string;
|
|
379
|
+
status?: string;
|
|
380
|
+
message?: string;
|
|
381
|
+
requestTime?: Date;
|
|
382
|
+
namespaceName?: string;
|
|
383
|
+
workgroupName?: string;
|
|
384
|
+
snapshotName?: string;
|
|
385
|
+
progressInMegaBytes?: number;
|
|
386
|
+
totalDataInMegaBytes?: number;
|
|
387
|
+
sourceDatabaseName?: string;
|
|
388
|
+
sourceSchemaName?: string;
|
|
389
|
+
sourceTableName?: string;
|
|
390
|
+
targetDatabaseName?: string;
|
|
391
|
+
targetSchemaName?: string;
|
|
392
|
+
newTableName?: string;
|
|
393
|
+
}
|
|
394
|
+
export interface GetTableRestoreStatusResponse {
|
|
395
|
+
tableRestoreStatus?: TableRestoreStatus;
|
|
396
|
+
}
|
|
369
397
|
export interface GetUsageLimitRequest {
|
|
370
398
|
usageLimitId: string | undefined;
|
|
371
399
|
}
|
|
@@ -399,6 +427,7 @@ export interface ListRecoveryPointsRequest {
|
|
|
399
427
|
startTime?: Date;
|
|
400
428
|
endTime?: Date;
|
|
401
429
|
namespaceName?: string;
|
|
430
|
+
namespaceArn?: string;
|
|
402
431
|
}
|
|
403
432
|
export interface ListRecoveryPointsResponse {
|
|
404
433
|
recoveryPoints?: RecoveryPoint[];
|
|
@@ -417,6 +446,16 @@ export interface ListSnapshotsResponse {
|
|
|
417
446
|
nextToken?: string;
|
|
418
447
|
snapshots?: Snapshot[];
|
|
419
448
|
}
|
|
449
|
+
export interface ListTableRestoreStatusRequest {
|
|
450
|
+
nextToken?: string;
|
|
451
|
+
maxResults?: number;
|
|
452
|
+
namespaceName?: string;
|
|
453
|
+
workgroupName?: string;
|
|
454
|
+
}
|
|
455
|
+
export interface ListTableRestoreStatusResponse {
|
|
456
|
+
nextToken?: string;
|
|
457
|
+
tableRestoreStatuses?: TableRestoreStatus[];
|
|
458
|
+
}
|
|
420
459
|
export interface ListTagsForResourceRequest {
|
|
421
460
|
resourceArn: string | undefined;
|
|
422
461
|
}
|
|
@@ -490,6 +529,21 @@ export interface RestoreFromSnapshotResponse {
|
|
|
490
529
|
ownerAccount?: string;
|
|
491
530
|
namespace?: Namespace;
|
|
492
531
|
}
|
|
532
|
+
export interface RestoreTableFromSnapshotRequest {
|
|
533
|
+
namespaceName: string | undefined;
|
|
534
|
+
workgroupName: string | undefined;
|
|
535
|
+
snapshotName: string | undefined;
|
|
536
|
+
sourceDatabaseName: string | undefined;
|
|
537
|
+
sourceSchemaName?: string;
|
|
538
|
+
sourceTableName: string | undefined;
|
|
539
|
+
targetDatabaseName?: string;
|
|
540
|
+
targetSchemaName?: string;
|
|
541
|
+
newTableName: string | undefined;
|
|
542
|
+
activateCaseSensitiveIdentifier?: boolean;
|
|
543
|
+
}
|
|
544
|
+
export interface RestoreTableFromSnapshotResponse {
|
|
545
|
+
tableRestoreStatus?: TableRestoreStatus;
|
|
546
|
+
}
|
|
493
547
|
export interface UpdateSnapshotRequest {
|
|
494
548
|
snapshotName: string | undefined;
|
|
495
549
|
retentionPeriod?: number;
|
|
@@ -523,6 +577,7 @@ export interface UpdateWorkgroupRequest {
|
|
|
523
577
|
publiclyAccessible?: boolean;
|
|
524
578
|
subnetIds?: string[];
|
|
525
579
|
securityGroupIds?: string[];
|
|
580
|
+
port?: number;
|
|
526
581
|
}
|
|
527
582
|
export interface UpdateWorkgroupResponse {
|
|
528
583
|
workgroup: Workgroup | undefined;
|
|
@@ -530,6 +585,7 @@ export interface UpdateWorkgroupResponse {
|
|
|
530
585
|
export declare const ConfigParameterFilterSensitiveLog: (
|
|
531
586
|
obj: ConfigParameter
|
|
532
587
|
) => any;
|
|
588
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
533
589
|
export declare const ConvertRecoveryPointToSnapshotRequestFilterSensitiveLog: (
|
|
534
590
|
obj: ConvertRecoveryPointToSnapshotRequest
|
|
535
591
|
) => any;
|
|
@@ -553,7 +609,6 @@ export declare const EndpointAccessFilterSensitiveLog: (
|
|
|
553
609
|
export declare const CreateEndpointAccessResponseFilterSensitiveLog: (
|
|
554
610
|
obj: CreateEndpointAccessResponse
|
|
555
611
|
) => any;
|
|
556
|
-
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
557
612
|
export declare const CreateNamespaceRequestFilterSensitiveLog: (
|
|
558
613
|
obj: CreateNamespaceRequest
|
|
559
614
|
) => any;
|
|
@@ -672,6 +727,15 @@ export declare const GetSnapshotRequestFilterSensitiveLog: (
|
|
|
672
727
|
export declare const GetSnapshotResponseFilterSensitiveLog: (
|
|
673
728
|
obj: GetSnapshotResponse
|
|
674
729
|
) => any;
|
|
730
|
+
export declare const GetTableRestoreStatusRequestFilterSensitiveLog: (
|
|
731
|
+
obj: GetTableRestoreStatusRequest
|
|
732
|
+
) => any;
|
|
733
|
+
export declare const TableRestoreStatusFilterSensitiveLog: (
|
|
734
|
+
obj: TableRestoreStatus
|
|
735
|
+
) => any;
|
|
736
|
+
export declare const GetTableRestoreStatusResponseFilterSensitiveLog: (
|
|
737
|
+
obj: GetTableRestoreStatusResponse
|
|
738
|
+
) => any;
|
|
675
739
|
export declare const GetUsageLimitRequestFilterSensitiveLog: (
|
|
676
740
|
obj: GetUsageLimitRequest
|
|
677
741
|
) => any;
|
|
@@ -702,6 +766,12 @@ export declare const ListSnapshotsRequestFilterSensitiveLog: (
|
|
|
702
766
|
export declare const ListSnapshotsResponseFilterSensitiveLog: (
|
|
703
767
|
obj: ListSnapshotsResponse
|
|
704
768
|
) => any;
|
|
769
|
+
export declare const ListTableRestoreStatusRequestFilterSensitiveLog: (
|
|
770
|
+
obj: ListTableRestoreStatusRequest
|
|
771
|
+
) => any;
|
|
772
|
+
export declare const ListTableRestoreStatusResponseFilterSensitiveLog: (
|
|
773
|
+
obj: ListTableRestoreStatusResponse
|
|
774
|
+
) => any;
|
|
705
775
|
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
706
776
|
obj: ListTagsForResourceRequest
|
|
707
777
|
) => any;
|
|
@@ -744,6 +814,12 @@ export declare const RestoreFromSnapshotRequestFilterSensitiveLog: (
|
|
|
744
814
|
export declare const RestoreFromSnapshotResponseFilterSensitiveLog: (
|
|
745
815
|
obj: RestoreFromSnapshotResponse
|
|
746
816
|
) => any;
|
|
817
|
+
export declare const RestoreTableFromSnapshotRequestFilterSensitiveLog: (
|
|
818
|
+
obj: RestoreTableFromSnapshotRequest
|
|
819
|
+
) => any;
|
|
820
|
+
export declare const RestoreTableFromSnapshotResponseFilterSensitiveLog: (
|
|
821
|
+
obj: RestoreTableFromSnapshotResponse
|
|
822
|
+
) => any;
|
|
747
823
|
export declare const UpdateSnapshotRequestFilterSensitiveLog: (
|
|
748
824
|
obj: UpdateSnapshotRequest
|
|
749
825
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTableRestoreStatusCommandInput,
|
|
4
|
+
ListTableRestoreStatusCommandOutput,
|
|
5
|
+
} from "../commands/ListTableRestoreStatusCommand";
|
|
6
|
+
import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListTableRestoreStatus(
|
|
8
|
+
config: RedshiftServerlessPaginationConfiguration,
|
|
9
|
+
input: ListTableRestoreStatusCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): 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";
|
|
@@ -75,6 +75,10 @@ import {
|
|
|
75
75
|
GetSnapshotCommandInput,
|
|
76
76
|
GetSnapshotCommandOutput,
|
|
77
77
|
} from "../commands/GetSnapshotCommand";
|
|
78
|
+
import {
|
|
79
|
+
GetTableRestoreStatusCommandInput,
|
|
80
|
+
GetTableRestoreStatusCommandOutput,
|
|
81
|
+
} from "../commands/GetTableRestoreStatusCommand";
|
|
78
82
|
import {
|
|
79
83
|
GetUsageLimitCommandInput,
|
|
80
84
|
GetUsageLimitCommandOutput,
|
|
@@ -99,6 +103,10 @@ import {
|
|
|
99
103
|
ListSnapshotsCommandInput,
|
|
100
104
|
ListSnapshotsCommandOutput,
|
|
101
105
|
} from "../commands/ListSnapshotsCommand";
|
|
106
|
+
import {
|
|
107
|
+
ListTableRestoreStatusCommandInput,
|
|
108
|
+
ListTableRestoreStatusCommandOutput,
|
|
109
|
+
} from "../commands/ListTableRestoreStatusCommand";
|
|
102
110
|
import {
|
|
103
111
|
ListTagsForResourceCommandInput,
|
|
104
112
|
ListTagsForResourceCommandOutput,
|
|
@@ -123,6 +131,10 @@ import {
|
|
|
123
131
|
RestoreFromSnapshotCommandInput,
|
|
124
132
|
RestoreFromSnapshotCommandOutput,
|
|
125
133
|
} from "../commands/RestoreFromSnapshotCommand";
|
|
134
|
+
import {
|
|
135
|
+
RestoreTableFromSnapshotCommandInput,
|
|
136
|
+
RestoreTableFromSnapshotCommandOutput,
|
|
137
|
+
} from "../commands/RestoreTableFromSnapshotCommand";
|
|
126
138
|
import {
|
|
127
139
|
TagResourceCommandInput,
|
|
128
140
|
TagResourceCommandOutput,
|
|
@@ -223,6 +235,10 @@ export declare const serializeAws_json1_1GetSnapshotCommand: (
|
|
|
223
235
|
input: GetSnapshotCommandInput,
|
|
224
236
|
context: __SerdeContext
|
|
225
237
|
) => Promise<__HttpRequest>;
|
|
238
|
+
export declare const serializeAws_json1_1GetTableRestoreStatusCommand: (
|
|
239
|
+
input: GetTableRestoreStatusCommandInput,
|
|
240
|
+
context: __SerdeContext
|
|
241
|
+
) => Promise<__HttpRequest>;
|
|
226
242
|
export declare const serializeAws_json1_1GetUsageLimitCommand: (
|
|
227
243
|
input: GetUsageLimitCommandInput,
|
|
228
244
|
context: __SerdeContext
|
|
@@ -247,6 +263,10 @@ export declare const serializeAws_json1_1ListSnapshotsCommand: (
|
|
|
247
263
|
input: ListSnapshotsCommandInput,
|
|
248
264
|
context: __SerdeContext
|
|
249
265
|
) => Promise<__HttpRequest>;
|
|
266
|
+
export declare const serializeAws_json1_1ListTableRestoreStatusCommand: (
|
|
267
|
+
input: ListTableRestoreStatusCommandInput,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<__HttpRequest>;
|
|
250
270
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (
|
|
251
271
|
input: ListTagsForResourceCommandInput,
|
|
252
272
|
context: __SerdeContext
|
|
@@ -271,6 +291,10 @@ export declare const serializeAws_json1_1RestoreFromSnapshotCommand: (
|
|
|
271
291
|
input: RestoreFromSnapshotCommandInput,
|
|
272
292
|
context: __SerdeContext
|
|
273
293
|
) => Promise<__HttpRequest>;
|
|
294
|
+
export declare const serializeAws_json1_1RestoreTableFromSnapshotCommand: (
|
|
295
|
+
input: RestoreTableFromSnapshotCommandInput,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<__HttpRequest>;
|
|
274
298
|
export declare const serializeAws_json1_1TagResourceCommand: (
|
|
275
299
|
input: TagResourceCommandInput,
|
|
276
300
|
context: __SerdeContext
|
|
@@ -371,6 +395,10 @@ export declare const deserializeAws_json1_1GetSnapshotCommand: (
|
|
|
371
395
|
output: __HttpResponse,
|
|
372
396
|
context: __SerdeContext
|
|
373
397
|
) => Promise<GetSnapshotCommandOutput>;
|
|
398
|
+
export declare const deserializeAws_json1_1GetTableRestoreStatusCommand: (
|
|
399
|
+
output: __HttpResponse,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<GetTableRestoreStatusCommandOutput>;
|
|
374
402
|
export declare const deserializeAws_json1_1GetUsageLimitCommand: (
|
|
375
403
|
output: __HttpResponse,
|
|
376
404
|
context: __SerdeContext
|
|
@@ -395,6 +423,10 @@ export declare const deserializeAws_json1_1ListSnapshotsCommand: (
|
|
|
395
423
|
output: __HttpResponse,
|
|
396
424
|
context: __SerdeContext
|
|
397
425
|
) => Promise<ListSnapshotsCommandOutput>;
|
|
426
|
+
export declare const deserializeAws_json1_1ListTableRestoreStatusCommand: (
|
|
427
|
+
output: __HttpResponse,
|
|
428
|
+
context: __SerdeContext
|
|
429
|
+
) => Promise<ListTableRestoreStatusCommandOutput>;
|
|
398
430
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (
|
|
399
431
|
output: __HttpResponse,
|
|
400
432
|
context: __SerdeContext
|
|
@@ -419,6 +451,10 @@ export declare const deserializeAws_json1_1RestoreFromSnapshotCommand: (
|
|
|
419
451
|
output: __HttpResponse,
|
|
420
452
|
context: __SerdeContext
|
|
421
453
|
) => Promise<RestoreFromSnapshotCommandOutput>;
|
|
454
|
+
export declare const deserializeAws_json1_1RestoreTableFromSnapshotCommand: (
|
|
455
|
+
output: __HttpResponse,
|
|
456
|
+
context: __SerdeContext
|
|
457
|
+
) => Promise<RestoreTableFromSnapshotCommandOutput>;
|
|
422
458
|
export declare const deserializeAws_json1_1TagResourceCommand: (
|
|
423
459
|
output: __HttpResponse,
|
|
424
460
|
context: __SerdeContext
|