@aws-sdk/client-redshift-serverless 3.462.0 → 3.463.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.
Files changed (82) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/RedshiftServerless.js +20 -0
  3. package/dist-cjs/commands/CreateScheduledActionCommand.js +51 -0
  4. package/dist-cjs/commands/CreateSnapshotCopyConfigurationCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteScheduledActionCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteSnapshotCopyConfigurationCommand.js +51 -0
  7. package/dist-cjs/commands/GetScheduledActionCommand.js +51 -0
  8. package/dist-cjs/commands/ListScheduledActionsCommand.js +51 -0
  9. package/dist-cjs/commands/ListSnapshotCopyConfigurationsCommand.js +51 -0
  10. package/dist-cjs/commands/RestoreTableFromRecoveryPointCommand.js +51 -0
  11. package/dist-cjs/commands/UpdateScheduledActionCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateSnapshotCopyConfigurationCommand.js +51 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +23 -1
  15. package/dist-cjs/pagination/ListScheduledActionsPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListSnapshotCopyConfigurationsPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +2 -0
  18. package/dist-cjs/protocols/Aws_json1_1.js +596 -2
  19. package/dist-es/RedshiftServerless.js +20 -0
  20. package/dist-es/commands/CreateScheduledActionCommand.js +47 -0
  21. package/dist-es/commands/CreateSnapshotCopyConfigurationCommand.js +47 -0
  22. package/dist-es/commands/DeleteScheduledActionCommand.js +47 -0
  23. package/dist-es/commands/DeleteSnapshotCopyConfigurationCommand.js +47 -0
  24. package/dist-es/commands/GetScheduledActionCommand.js +47 -0
  25. package/dist-es/commands/ListScheduledActionsCommand.js +47 -0
  26. package/dist-es/commands/ListSnapshotCopyConfigurationsCommand.js +47 -0
  27. package/dist-es/commands/RestoreTableFromRecoveryPointCommand.js +47 -0
  28. package/dist-es/commands/UpdateScheduledActionCommand.js +47 -0
  29. package/dist-es/commands/UpdateSnapshotCopyConfigurationCommand.js +47 -0
  30. package/dist-es/commands/index.js +10 -0
  31. package/dist-es/models/models_0.js +22 -0
  32. package/dist-es/pagination/ListScheduledActionsPaginator.js +25 -0
  33. package/dist-es/pagination/ListSnapshotCopyConfigurationsPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_json1_1.js +574 -1
  36. package/dist-types/RedshiftServerless.d.ts +70 -0
  37. package/dist-types/RedshiftServerlessClient.d.ts +12 -2
  38. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
  39. package/dist-types/commands/CreateScheduledActionCommand.d.ts +138 -0
  40. package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +101 -0
  41. package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -0
  42. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +111 -0
  43. package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +95 -0
  44. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -0
  45. package/dist-types/commands/GetScheduledActionCommand.d.ts +111 -0
  46. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +1 -0
  47. package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -0
  48. package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -0
  49. package/dist-types/commands/ListScheduledActionsCommand.d.ts +90 -0
  50. package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +100 -0
  51. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +1 -0
  52. package/dist-types/commands/ListWorkgroupsCommand.d.ts +4 -0
  53. package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +111 -0
  54. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +1 -0
  55. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +136 -0
  56. package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +96 -0
  57. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -0
  58. package/dist-types/commands/index.d.ts +10 -0
  59. package/dist-types/models/models_0.d.ts +648 -8
  60. package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +2 -0
  63. package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
  64. package/dist-types/ts3.4/RedshiftServerless.d.ts +170 -0
  65. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +60 -0
  66. package/dist-types/ts3.4/commands/CreateScheduledActionCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/CreateSnapshotCopyConfigurationCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/GetScheduledActionCommand.d.ts +39 -0
  71. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/ListSnapshotCopyConfigurationsCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/RestoreTableFromRecoveryPointCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +42 -0
  75. package/dist-types/ts3.4/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +176 -0
  78. package/dist-types/ts3.4/pagination/ListScheduledActionsPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/ListSnapshotCopyConfigurationsPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  81. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
  82. package/package.json +1 -1
@@ -0,0 +1,95 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteSnapshotCopyConfigurationRequest, DeleteSnapshotCopyConfigurationResponse } from "../models/models_0";
5
+ import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteSnapshotCopyConfigurationCommand}.
14
+ */
15
+ export interface DeleteSnapshotCopyConfigurationCommandInput extends DeleteSnapshotCopyConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteSnapshotCopyConfigurationCommand}.
21
+ */
22
+ export interface DeleteSnapshotCopyConfigurationCommandOutput extends DeleteSnapshotCopyConfigurationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes a snapshot copy configuration</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftServerlessClient, DeleteSnapshotCopyConfigurationCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
31
+ * // const { RedshiftServerlessClient, DeleteSnapshotCopyConfigurationCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
32
+ * const client = new RedshiftServerlessClient(config);
33
+ * const input = { // DeleteSnapshotCopyConfigurationRequest
34
+ * snapshotCopyConfigurationId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteSnapshotCopyConfigurationCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DeleteSnapshotCopyConfigurationResponse
39
+ * // snapshotCopyConfiguration: { // SnapshotCopyConfiguration
40
+ * // snapshotCopyConfigurationId: "STRING_VALUE",
41
+ * // snapshotCopyConfigurationArn: "STRING_VALUE",
42
+ * // namespaceName: "STRING_VALUE",
43
+ * // destinationRegion: "STRING_VALUE",
44
+ * // snapshotRetentionPeriod: Number("int"),
45
+ * // destinationKmsKeyId: "STRING_VALUE",
46
+ * // },
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param DeleteSnapshotCopyConfigurationCommandInput - {@link DeleteSnapshotCopyConfigurationCommandInput}
52
+ * @returns {@link DeleteSnapshotCopyConfigurationCommandOutput}
53
+ * @see {@link DeleteSnapshotCopyConfigurationCommandInput} for command's `input` shape.
54
+ * @see {@link DeleteSnapshotCopyConfigurationCommandOutput} for command's `response` shape.
55
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You do not have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The submitted action has conflicts.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The resource could not be found.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
71
+ *
72
+ * @throws {@link RedshiftServerlessServiceException}
73
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
74
+ *
75
+ */
76
+ export declare class DeleteSnapshotCopyConfigurationCommand extends $Command<DeleteSnapshotCopyConfigurationCommandInput, DeleteSnapshotCopyConfigurationCommandOutput, RedshiftServerlessClientResolvedConfig> {
77
+ readonly input: DeleteSnapshotCopyConfigurationCommandInput;
78
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
82
+ constructor(input: DeleteSnapshotCopyConfigurationCommandInput);
83
+ /**
84
+ * @internal
85
+ */
86
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSnapshotCopyConfigurationCommandInput, DeleteSnapshotCopyConfigurationCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
90
+ private serialize;
91
+ /**
92
+ * @internal
93
+ */
94
+ private deserialize;
95
+ }
@@ -83,6 +83,9 @@ export interface DeleteWorkgroupCommandOutput extends DeleteWorkgroupResponse, _
83
83
  * // workgroupVersion: "STRING_VALUE",
84
84
  * // patchVersion: "STRING_VALUE",
85
85
  * // maxCapacity: Number("int"),
86
+ * // crossAccountVpcs: [ // VpcIds
87
+ * // "STRING_VALUE",
88
+ * // ],
86
89
  * // },
87
90
  * // };
88
91
  *
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GetScheduledActionRequest, GetScheduledActionResponse } from "../models/models_0";
5
+ import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetScheduledActionCommand}.
14
+ */
15
+ export interface GetScheduledActionCommandInput extends GetScheduledActionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetScheduledActionCommand}.
21
+ */
22
+ export interface GetScheduledActionCommandOutput extends GetScheduledActionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information about a scheduled action.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftServerlessClient, GetScheduledActionCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
31
+ * // const { RedshiftServerlessClient, GetScheduledActionCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
32
+ * const client = new RedshiftServerlessClient(config);
33
+ * const input = { // GetScheduledActionRequest
34
+ * scheduledActionName: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetScheduledActionCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetScheduledActionResponse
39
+ * // scheduledAction: { // ScheduledActionResponse
40
+ * // scheduledActionName: "STRING_VALUE",
41
+ * // schedule: { // Schedule Union: only one key present
42
+ * // at: new Date("TIMESTAMP"),
43
+ * // cron: "STRING_VALUE",
44
+ * // },
45
+ * // scheduledActionDescription: "STRING_VALUE",
46
+ * // nextInvocations: [ // NextInvocationsList
47
+ * // new Date("TIMESTAMP"),
48
+ * // ],
49
+ * // roleArn: "STRING_VALUE",
50
+ * // state: "STRING_VALUE",
51
+ * // startTime: new Date("TIMESTAMP"),
52
+ * // endTime: new Date("TIMESTAMP"),
53
+ * // targetAction: { // TargetAction Union: only one key present
54
+ * // createSnapshot: { // CreateSnapshotScheduleActionParameters
55
+ * // namespaceName: "STRING_VALUE", // required
56
+ * // snapshotNamePrefix: "STRING_VALUE", // required
57
+ * // retentionPeriod: Number("int"),
58
+ * // tags: [ // TagList
59
+ * // { // Tag
60
+ * // key: "STRING_VALUE", // required
61
+ * // value: "STRING_VALUE", // required
62
+ * // },
63
+ * // ],
64
+ * // },
65
+ * // },
66
+ * // namespaceName: "STRING_VALUE",
67
+ * // scheduledActionUuid: "STRING_VALUE",
68
+ * // },
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param GetScheduledActionCommandInput - {@link GetScheduledActionCommandInput}
74
+ * @returns {@link GetScheduledActionCommandOutput}
75
+ * @see {@link GetScheduledActionCommandInput} for command's `input` shape.
76
+ * @see {@link GetScheduledActionCommandOutput} for command's `response` shape.
77
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The resource could not be found.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
87
+ *
88
+ * @throws {@link RedshiftServerlessServiceException}
89
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
90
+ *
91
+ */
92
+ export declare class GetScheduledActionCommand extends $Command<GetScheduledActionCommandInput, GetScheduledActionCommandOutput, RedshiftServerlessClientResolvedConfig> {
93
+ readonly input: GetScheduledActionCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: GetScheduledActionCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetScheduledActionCommandInput, GetScheduledActionCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -52,6 +52,7 @@ export interface GetTableRestoreStatusCommandOutput extends GetTableRestoreStatu
52
52
  * // targetDatabaseName: "STRING_VALUE",
53
53
  * // targetSchemaName: "STRING_VALUE",
54
54
  * // newTableName: "STRING_VALUE",
55
+ * // recoveryPointId: "STRING_VALUE",
55
56
  * // },
56
57
  * // };
57
58
  *
@@ -83,6 +83,9 @@ export interface GetWorkgroupCommandOutput extends GetWorkgroupResponse, __Metad
83
83
  * // workgroupVersion: "STRING_VALUE",
84
84
  * // patchVersion: "STRING_VALUE",
85
85
  * // maxCapacity: Number("int"),
86
+ * // crossAccountVpcs: [ // VpcIds
87
+ * // "STRING_VALUE",
88
+ * // ],
86
89
  * // },
87
90
  * // };
88
91
  *
@@ -35,6 +35,7 @@ export interface ListEndpointAccessCommandOutput extends ListEndpointAccessRespo
35
35
  * maxResults: Number("int"),
36
36
  * workgroupName: "STRING_VALUE",
37
37
  * vpcId: "STRING_VALUE",
38
+ * ownerAccount: "STRING_VALUE",
38
39
  * };
39
40
  * const command = new ListEndpointAccessCommand(input);
40
41
  * const response = await client.send(command);
@@ -0,0 +1,90 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListScheduledActionsRequest, ListScheduledActionsResponse } from "../models/models_0";
5
+ import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListScheduledActionsCommand}.
14
+ */
15
+ export interface ListScheduledActionsCommandInput extends ListScheduledActionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListScheduledActionsCommand}.
21
+ */
22
+ export interface ListScheduledActionsCommandOutput extends ListScheduledActionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of scheduled actions. You can use the flags to filter the list of returned scheduled actions.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftServerlessClient, ListScheduledActionsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
31
+ * // const { RedshiftServerlessClient, ListScheduledActionsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
32
+ * const client = new RedshiftServerlessClient(config);
33
+ * const input = { // ListScheduledActionsRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * namespaceName: "STRING_VALUE",
37
+ * };
38
+ * const command = new ListScheduledActionsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListScheduledActionsResponse
41
+ * // nextToken: "STRING_VALUE",
42
+ * // scheduledActions: [ // ScheduledActionsList
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param ListScheduledActionsCommandInput - {@link ListScheduledActionsCommandInput}
50
+ * @returns {@link ListScheduledActionsCommandOutput}
51
+ * @see {@link ListScheduledActionsCommandInput} for command's `input` shape.
52
+ * @see {@link ListScheduledActionsCommandOutput} for command's `response` shape.
53
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
57
+ *
58
+ * @throws {@link InvalidPaginationException} (client fault)
59
+ * <p>The provided pagination token is invalid.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource could not be found.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
66
+ *
67
+ * @throws {@link RedshiftServerlessServiceException}
68
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
69
+ *
70
+ */
71
+ export declare class ListScheduledActionsCommand extends $Command<ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput, RedshiftServerlessClientResolvedConfig> {
72
+ readonly input: ListScheduledActionsCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: ListScheduledActionsCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListSnapshotCopyConfigurationsRequest, ListSnapshotCopyConfigurationsResponse } from "../models/models_0";
5
+ import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSnapshotCopyConfigurationsCommand}.
14
+ */
15
+ export interface ListSnapshotCopyConfigurationsCommandInput extends ListSnapshotCopyConfigurationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSnapshotCopyConfigurationsCommand}.
21
+ */
22
+ export interface ListSnapshotCopyConfigurationsCommandOutput extends ListSnapshotCopyConfigurationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of snapshot copy configurations.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftServerlessClient, ListSnapshotCopyConfigurationsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
31
+ * // const { RedshiftServerlessClient, ListSnapshotCopyConfigurationsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
32
+ * const client = new RedshiftServerlessClient(config);
33
+ * const input = { // ListSnapshotCopyConfigurationsRequest
34
+ * namespaceName: "STRING_VALUE",
35
+ * nextToken: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * };
38
+ * const command = new ListSnapshotCopyConfigurationsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListSnapshotCopyConfigurationsResponse
41
+ * // nextToken: "STRING_VALUE",
42
+ * // snapshotCopyConfigurations: [ // SnapshotCopyConfigurations // required
43
+ * // { // SnapshotCopyConfiguration
44
+ * // snapshotCopyConfigurationId: "STRING_VALUE",
45
+ * // snapshotCopyConfigurationArn: "STRING_VALUE",
46
+ * // namespaceName: "STRING_VALUE",
47
+ * // destinationRegion: "STRING_VALUE",
48
+ * // snapshotRetentionPeriod: Number("int"),
49
+ * // destinationKmsKeyId: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListSnapshotCopyConfigurationsCommandInput - {@link ListSnapshotCopyConfigurationsCommandInput}
57
+ * @returns {@link ListSnapshotCopyConfigurationsCommandOutput}
58
+ * @see {@link ListSnapshotCopyConfigurationsCommandInput} for command's `input` shape.
59
+ * @see {@link ListSnapshotCopyConfigurationsCommandOutput} for command's `response` shape.
60
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>The submitted action has conflicts.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
67
+ *
68
+ * @throws {@link InvalidPaginationException} (client fault)
69
+ * <p>The provided pagination token is invalid.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The resource could not be found.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
76
+ *
77
+ * @throws {@link RedshiftServerlessServiceException}
78
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
79
+ *
80
+ */
81
+ export declare class ListSnapshotCopyConfigurationsCommand extends $Command<ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurationsCommandOutput, RedshiftServerlessClientResolvedConfig> {
82
+ readonly input: ListSnapshotCopyConfigurationsCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: ListSnapshotCopyConfigurationsCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurationsCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -57,6 +57,7 @@ export interface ListTableRestoreStatusCommandOutput extends ListTableRestoreSta
57
57
  * // targetDatabaseName: "STRING_VALUE",
58
58
  * // targetSchemaName: "STRING_VALUE",
59
59
  * // newTableName: "STRING_VALUE",
60
+ * // recoveryPointId: "STRING_VALUE",
60
61
  * // },
61
62
  * // ],
62
63
  * // };
@@ -33,6 +33,7 @@ export interface ListWorkgroupsCommandOutput extends ListWorkgroupsResponse, __M
33
33
  * const input = { // ListWorkgroupsRequest
34
34
  * nextToken: "STRING_VALUE",
35
35
  * maxResults: Number("int"),
36
+ * ownerAccount: "STRING_VALUE",
36
37
  * };
37
38
  * const command = new ListWorkgroupsCommand(input);
38
39
  * const response = await client.send(command);
@@ -86,6 +87,9 @@ export interface ListWorkgroupsCommandOutput extends ListWorkgroupsResponse, __M
86
87
  * // workgroupVersion: "STRING_VALUE",
87
88
  * // patchVersion: "STRING_VALUE",
88
89
  * // maxCapacity: Number("int"),
90
+ * // crossAccountVpcs: [ // VpcIds
91
+ * // "STRING_VALUE",
92
+ * // ],
89
93
  * // },
90
94
  * // ],
91
95
  * // };
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { RestoreTableFromRecoveryPointRequest, RestoreTableFromRecoveryPointResponse } from "../models/models_0";
5
+ import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RestoreTableFromRecoveryPointCommand}.
14
+ */
15
+ export interface RestoreTableFromRecoveryPointCommandInput extends RestoreTableFromRecoveryPointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RestoreTableFromRecoveryPointCommand}.
21
+ */
22
+ export interface RestoreTableFromRecoveryPointCommandOutput extends RestoreTableFromRecoveryPointResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Restores a table from a recovery point to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with interleaved sort keys.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftServerlessClient, RestoreTableFromRecoveryPointCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
31
+ * // const { RedshiftServerlessClient, RestoreTableFromRecoveryPointCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
32
+ * const client = new RedshiftServerlessClient(config);
33
+ * const input = { // RestoreTableFromRecoveryPointRequest
34
+ * namespaceName: "STRING_VALUE", // required
35
+ * workgroupName: "STRING_VALUE", // required
36
+ * recoveryPointId: "STRING_VALUE", // required
37
+ * sourceDatabaseName: "STRING_VALUE", // required
38
+ * sourceSchemaName: "STRING_VALUE",
39
+ * sourceTableName: "STRING_VALUE", // required
40
+ * targetDatabaseName: "STRING_VALUE",
41
+ * targetSchemaName: "STRING_VALUE",
42
+ * newTableName: "STRING_VALUE", // required
43
+ * activateCaseSensitiveIdentifier: true || false,
44
+ * };
45
+ * const command = new RestoreTableFromRecoveryPointCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // RestoreTableFromRecoveryPointResponse
48
+ * // tableRestoreStatus: { // TableRestoreStatus
49
+ * // tableRestoreRequestId: "STRING_VALUE",
50
+ * // status: "STRING_VALUE",
51
+ * // message: "STRING_VALUE",
52
+ * // requestTime: new Date("TIMESTAMP"),
53
+ * // namespaceName: "STRING_VALUE",
54
+ * // workgroupName: "STRING_VALUE",
55
+ * // snapshotName: "STRING_VALUE",
56
+ * // progressInMegaBytes: Number("long"),
57
+ * // totalDataInMegaBytes: Number("long"),
58
+ * // sourceDatabaseName: "STRING_VALUE",
59
+ * // sourceSchemaName: "STRING_VALUE",
60
+ * // sourceTableName: "STRING_VALUE",
61
+ * // targetDatabaseName: "STRING_VALUE",
62
+ * // targetSchemaName: "STRING_VALUE",
63
+ * // newTableName: "STRING_VALUE",
64
+ * // recoveryPointId: "STRING_VALUE",
65
+ * // },
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param RestoreTableFromRecoveryPointCommandInput - {@link RestoreTableFromRecoveryPointCommandInput}
71
+ * @returns {@link RestoreTableFromRecoveryPointCommandOutput}
72
+ * @see {@link RestoreTableFromRecoveryPointCommandInput} for command's `input` shape.
73
+ * @see {@link RestoreTableFromRecoveryPointCommandOutput} for command's `response` shape.
74
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>The submitted action has conflicts.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The resource could not be found.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
87
+ *
88
+ * @throws {@link RedshiftServerlessServiceException}
89
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
90
+ *
91
+ */
92
+ export declare class RestoreTableFromRecoveryPointCommand extends $Command<RestoreTableFromRecoveryPointCommandInput, RestoreTableFromRecoveryPointCommandOutput, RedshiftServerlessClientResolvedConfig> {
93
+ readonly input: RestoreTableFromRecoveryPointCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: RestoreTableFromRecoveryPointCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreTableFromRecoveryPointCommandInput, RestoreTableFromRecoveryPointCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -62,6 +62,7 @@ export interface RestoreTableFromSnapshotCommandOutput extends RestoreTableFromS
62
62
  * // targetDatabaseName: "STRING_VALUE",
63
63
  * // targetSchemaName: "STRING_VALUE",
64
64
  * // newTableName: "STRING_VALUE",
65
+ * // recoveryPointId: "STRING_VALUE",
65
66
  * // },
66
67
  * // };
67
68
  *