@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
|
@@ -13,15 +13,12 @@ export interface GetCredentialsCommandOutput extends GetCredentialsResponse, __M
|
|
|
13
13
|
* <p>By default, the temporary credentials expire in 900 seconds.
|
|
14
14
|
* You can optionally specify a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).</p>
|
|
15
15
|
*
|
|
16
|
-
* <p>
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* necessary actions and resources.
|
|
20
|
-
* </p>
|
|
16
|
+
* <p>The Identity and Access Management (IAM) user or role that runs
|
|
17
|
+
* GetCredentials must have an IAM policy attached that allows access to all
|
|
18
|
+
* necessary actions and resources.</p>
|
|
21
19
|
*
|
|
22
|
-
* <p>
|
|
23
|
-
*
|
|
24
|
-
* allow access to the resource dbname for the specified database name.</p>
|
|
20
|
+
* <p>If the <code>DbName</code> parameter is specified, the IAM policy must
|
|
21
|
+
* allow access to the resource dbname for the specified database name.</p>
|
|
25
22
|
* @example
|
|
26
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
24
|
* ```javascript
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GetTableRestoreStatusRequest, GetTableRestoreStatusResponse } from "../models/models_0";
|
|
5
|
+
import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
|
|
6
|
+
export interface GetTableRestoreStatusCommandInput extends GetTableRestoreStatusRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetTableRestoreStatusCommandOutput extends GetTableRestoreStatusResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about a <code>TableRestoreStatus</code> object.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { RedshiftServerlessClient, GetTableRestoreStatusCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
16
|
+
* // const { RedshiftServerlessClient, GetTableRestoreStatusCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
17
|
+
* const client = new RedshiftServerlessClient(config);
|
|
18
|
+
* const command = new GetTableRestoreStatusCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetTableRestoreStatusCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetTableRestoreStatusCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetTableRestoreStatusCommand extends $Command<GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput, RedshiftServerlessClientResolvedConfig> {
|
|
28
|
+
readonly input: GetTableRestoreStatusCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetTableRestoreStatusCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListTableRestoreStatusRequest, ListTableRestoreStatusResponse } from "../models/models_0";
|
|
5
|
+
import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
|
|
6
|
+
export interface ListTableRestoreStatusCommandInput extends ListTableRestoreStatusRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListTableRestoreStatusCommandOutput extends ListTableRestoreStatusResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about an array of <code>TableRestoreStatus</code> objects.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { RedshiftServerlessClient, ListTableRestoreStatusCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
16
|
+
* // const { RedshiftServerlessClient, ListTableRestoreStatusCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
17
|
+
* const client = new RedshiftServerlessClient(config);
|
|
18
|
+
* const command = new ListTableRestoreStatusCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListTableRestoreStatusCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListTableRestoreStatusCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListTableRestoreStatusCommand extends $Command<ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput, RedshiftServerlessClientResolvedConfig> {
|
|
28
|
+
readonly input: ListTableRestoreStatusCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListTableRestoreStatusCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { RestoreTableFromSnapshotRequest, RestoreTableFromSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
|
|
6
|
+
export interface RestoreTableFromSnapshotCommandInput extends RestoreTableFromSnapshotRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface RestoreTableFromSnapshotCommandOutput extends RestoreTableFromSnapshotResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Restores a table from a snapshot to your Amazon Redshift Serverless instance.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { RedshiftServerlessClient, RestoreTableFromSnapshotCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
16
|
+
* // const { RedshiftServerlessClient, RestoreTableFromSnapshotCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
17
|
+
* const client = new RedshiftServerlessClient(config);
|
|
18
|
+
* const command = new RestoreTableFromSnapshotCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link RestoreTableFromSnapshotCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link RestoreTableFromSnapshotCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class RestoreTableFromSnapshotCommand extends $Command<RestoreTableFromSnapshotCommandInput, RestoreTableFromSnapshotCommandOutput, RedshiftServerlessClientResolvedConfig> {
|
|
28
|
+
readonly input: RestoreTableFromSnapshotCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: RestoreTableFromSnapshotCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreTableFromSnapshotCommandInput, RestoreTableFromSnapshotCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -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";
|