@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
@@ -3,14 +3,18 @@ import { ConvertRecoveryPointToSnapshotCommandInput, ConvertRecoveryPointToSnaps
3
3
  import { CreateCustomDomainAssociationCommandInput, CreateCustomDomainAssociationCommandOutput } from "./commands/CreateCustomDomainAssociationCommand";
4
4
  import { CreateEndpointAccessCommandInput, CreateEndpointAccessCommandOutput } from "./commands/CreateEndpointAccessCommand";
5
5
  import { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
6
+ import { CreateScheduledActionCommandInput, CreateScheduledActionCommandOutput } from "./commands/CreateScheduledActionCommand";
6
7
  import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
8
+ import { CreateSnapshotCopyConfigurationCommandInput, CreateSnapshotCopyConfigurationCommandOutput } from "./commands/CreateSnapshotCopyConfigurationCommand";
7
9
  import { CreateUsageLimitCommandInput, CreateUsageLimitCommandOutput } from "./commands/CreateUsageLimitCommand";
8
10
  import { CreateWorkgroupCommandInput, CreateWorkgroupCommandOutput } from "./commands/CreateWorkgroupCommand";
9
11
  import { DeleteCustomDomainAssociationCommandInput, DeleteCustomDomainAssociationCommandOutput } from "./commands/DeleteCustomDomainAssociationCommand";
10
12
  import { DeleteEndpointAccessCommandInput, DeleteEndpointAccessCommandOutput } from "./commands/DeleteEndpointAccessCommand";
11
13
  import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
12
14
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
15
+ import { DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput } from "./commands/DeleteScheduledActionCommand";
13
16
  import { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
17
+ import { DeleteSnapshotCopyConfigurationCommandInput, DeleteSnapshotCopyConfigurationCommandOutput } from "./commands/DeleteSnapshotCopyConfigurationCommand";
14
18
  import { DeleteUsageLimitCommandInput, DeleteUsageLimitCommandOutput } from "./commands/DeleteUsageLimitCommand";
15
19
  import { DeleteWorkgroupCommandInput, DeleteWorkgroupCommandOutput } from "./commands/DeleteWorkgroupCommand";
16
20
  import { GetCredentialsCommandInput, GetCredentialsCommandOutput } from "./commands/GetCredentialsCommand";
@@ -19,6 +23,7 @@ import { GetEndpointAccessCommandInput, GetEndpointAccessCommandOutput } from ".
19
23
  import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
20
24
  import { GetRecoveryPointCommandInput, GetRecoveryPointCommandOutput } from "./commands/GetRecoveryPointCommand";
21
25
  import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
26
+ import { GetScheduledActionCommandInput, GetScheduledActionCommandOutput } from "./commands/GetScheduledActionCommand";
22
27
  import { GetSnapshotCommandInput, GetSnapshotCommandOutput } from "./commands/GetSnapshotCommand";
23
28
  import { GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput } from "./commands/GetTableRestoreStatusCommand";
24
29
  import { GetUsageLimitCommandInput, GetUsageLimitCommandOutput } from "./commands/GetUsageLimitCommand";
@@ -27,6 +32,8 @@ import { ListCustomDomainAssociationsCommandInput, ListCustomDomainAssociationsC
27
32
  import { ListEndpointAccessCommandInput, ListEndpointAccessCommandOutput } from "./commands/ListEndpointAccessCommand";
28
33
  import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
29
34
  import { ListRecoveryPointsCommandInput, ListRecoveryPointsCommandOutput } from "./commands/ListRecoveryPointsCommand";
35
+ import { ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput } from "./commands/ListScheduledActionsCommand";
36
+ import { ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurationsCommandOutput } from "./commands/ListSnapshotCopyConfigurationsCommand";
30
37
  import { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "./commands/ListSnapshotsCommand";
31
38
  import { ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput } from "./commands/ListTableRestoreStatusCommand";
32
39
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -35,13 +42,16 @@ import { ListWorkgroupsCommandInput, ListWorkgroupsCommandOutput } from "./comma
35
42
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
36
43
  import { RestoreFromRecoveryPointCommandInput, RestoreFromRecoveryPointCommandOutput } from "./commands/RestoreFromRecoveryPointCommand";
37
44
  import { RestoreFromSnapshotCommandInput, RestoreFromSnapshotCommandOutput } from "./commands/RestoreFromSnapshotCommand";
45
+ import { RestoreTableFromRecoveryPointCommandInput, RestoreTableFromRecoveryPointCommandOutput } from "./commands/RestoreTableFromRecoveryPointCommand";
38
46
  import { RestoreTableFromSnapshotCommandInput, RestoreTableFromSnapshotCommandOutput } from "./commands/RestoreTableFromSnapshotCommand";
39
47
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
40
48
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
41
49
  import { UpdateCustomDomainAssociationCommandInput, UpdateCustomDomainAssociationCommandOutput } from "./commands/UpdateCustomDomainAssociationCommand";
42
50
  import { UpdateEndpointAccessCommandInput, UpdateEndpointAccessCommandOutput } from "./commands/UpdateEndpointAccessCommand";
43
51
  import { UpdateNamespaceCommandInput, UpdateNamespaceCommandOutput } from "./commands/UpdateNamespaceCommand";
52
+ import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
44
53
  import { UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput } from "./commands/UpdateSnapshotCommand";
54
+ import { UpdateSnapshotCopyConfigurationCommandInput, UpdateSnapshotCopyConfigurationCommandOutput } from "./commands/UpdateSnapshotCopyConfigurationCommand";
45
55
  import { UpdateUsageLimitCommandInput, UpdateUsageLimitCommandOutput } from "./commands/UpdateUsageLimitCommand";
46
56
  import { UpdateWorkgroupCommandInput, UpdateWorkgroupCommandOutput } from "./commands/UpdateWorkgroupCommand";
47
57
  import { RedshiftServerlessClient } from "./RedshiftServerlessClient";
@@ -70,12 +80,24 @@ export interface RedshiftServerless {
70
80
  createNamespace(args: CreateNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateNamespaceCommandOutput>;
71
81
  createNamespace(args: CreateNamespaceCommandInput, cb: (err: any, data?: CreateNamespaceCommandOutput) => void): void;
72
82
  createNamespace(args: CreateNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNamespaceCommandOutput) => void): void;
83
+ /**
84
+ * @see {@link CreateScheduledActionCommand}
85
+ */
86
+ createScheduledAction(args: CreateScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduledActionCommandOutput>;
87
+ createScheduledAction(args: CreateScheduledActionCommandInput, cb: (err: any, data?: CreateScheduledActionCommandOutput) => void): void;
88
+ createScheduledAction(args: CreateScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduledActionCommandOutput) => void): void;
73
89
  /**
74
90
  * @see {@link CreateSnapshotCommand}
75
91
  */
76
92
  createSnapshot(args: CreateSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CreateSnapshotCommandOutput>;
77
93
  createSnapshot(args: CreateSnapshotCommandInput, cb: (err: any, data?: CreateSnapshotCommandOutput) => void): void;
78
94
  createSnapshot(args: CreateSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSnapshotCommandOutput) => void): void;
95
+ /**
96
+ * @see {@link CreateSnapshotCopyConfigurationCommand}
97
+ */
98
+ createSnapshotCopyConfiguration(args: CreateSnapshotCopyConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateSnapshotCopyConfigurationCommandOutput>;
99
+ createSnapshotCopyConfiguration(args: CreateSnapshotCopyConfigurationCommandInput, cb: (err: any, data?: CreateSnapshotCopyConfigurationCommandOutput) => void): void;
100
+ createSnapshotCopyConfiguration(args: CreateSnapshotCopyConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSnapshotCopyConfigurationCommandOutput) => void): void;
79
101
  /**
80
102
  * @see {@link CreateUsageLimitCommand}
81
103
  */
@@ -112,12 +134,24 @@ export interface RedshiftServerless {
112
134
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
113
135
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
114
136
  deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
137
+ /**
138
+ * @see {@link DeleteScheduledActionCommand}
139
+ */
140
+ deleteScheduledAction(args: DeleteScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduledActionCommandOutput>;
141
+ deleteScheduledAction(args: DeleteScheduledActionCommandInput, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
142
+ deleteScheduledAction(args: DeleteScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduledActionCommandOutput) => void): void;
115
143
  /**
116
144
  * @see {@link DeleteSnapshotCommand}
117
145
  */
118
146
  deleteSnapshot(args: DeleteSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSnapshotCommandOutput>;
119
147
  deleteSnapshot(args: DeleteSnapshotCommandInput, cb: (err: any, data?: DeleteSnapshotCommandOutput) => void): void;
120
148
  deleteSnapshot(args: DeleteSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSnapshotCommandOutput) => void): void;
149
+ /**
150
+ * @see {@link DeleteSnapshotCopyConfigurationCommand}
151
+ */
152
+ deleteSnapshotCopyConfiguration(args: DeleteSnapshotCopyConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSnapshotCopyConfigurationCommandOutput>;
153
+ deleteSnapshotCopyConfiguration(args: DeleteSnapshotCopyConfigurationCommandInput, cb: (err: any, data?: DeleteSnapshotCopyConfigurationCommandOutput) => void): void;
154
+ deleteSnapshotCopyConfiguration(args: DeleteSnapshotCopyConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSnapshotCopyConfigurationCommandOutput) => void): void;
121
155
  /**
122
156
  * @see {@link DeleteUsageLimitCommand}
123
157
  */
@@ -166,6 +200,12 @@ export interface RedshiftServerless {
166
200
  getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
167
201
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
168
202
  getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
203
+ /**
204
+ * @see {@link GetScheduledActionCommand}
205
+ */
206
+ getScheduledAction(args: GetScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<GetScheduledActionCommandOutput>;
207
+ getScheduledAction(args: GetScheduledActionCommandInput, cb: (err: any, data?: GetScheduledActionCommandOutput) => void): void;
208
+ getScheduledAction(args: GetScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetScheduledActionCommandOutput) => void): void;
169
209
  /**
170
210
  * @see {@link GetSnapshotCommand}
171
211
  */
@@ -214,6 +254,18 @@ export interface RedshiftServerless {
214
254
  listRecoveryPoints(args: ListRecoveryPointsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecoveryPointsCommandOutput>;
215
255
  listRecoveryPoints(args: ListRecoveryPointsCommandInput, cb: (err: any, data?: ListRecoveryPointsCommandOutput) => void): void;
216
256
  listRecoveryPoints(args: ListRecoveryPointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecoveryPointsCommandOutput) => void): void;
257
+ /**
258
+ * @see {@link ListScheduledActionsCommand}
259
+ */
260
+ listScheduledActions(args: ListScheduledActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduledActionsCommandOutput>;
261
+ listScheduledActions(args: ListScheduledActionsCommandInput, cb: (err: any, data?: ListScheduledActionsCommandOutput) => void): void;
262
+ listScheduledActions(args: ListScheduledActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduledActionsCommandOutput) => void): void;
263
+ /**
264
+ * @see {@link ListSnapshotCopyConfigurationsCommand}
265
+ */
266
+ listSnapshotCopyConfigurations(args: ListSnapshotCopyConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSnapshotCopyConfigurationsCommandOutput>;
267
+ listSnapshotCopyConfigurations(args: ListSnapshotCopyConfigurationsCommandInput, cb: (err: any, data?: ListSnapshotCopyConfigurationsCommandOutput) => void): void;
268
+ listSnapshotCopyConfigurations(args: ListSnapshotCopyConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSnapshotCopyConfigurationsCommandOutput) => void): void;
217
269
  /**
218
270
  * @see {@link ListSnapshotsCommand}
219
271
  */
@@ -262,6 +314,12 @@ export interface RedshiftServerless {
262
314
  restoreFromSnapshot(args: RestoreFromSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<RestoreFromSnapshotCommandOutput>;
263
315
  restoreFromSnapshot(args: RestoreFromSnapshotCommandInput, cb: (err: any, data?: RestoreFromSnapshotCommandOutput) => void): void;
264
316
  restoreFromSnapshot(args: RestoreFromSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreFromSnapshotCommandOutput) => void): void;
317
+ /**
318
+ * @see {@link RestoreTableFromRecoveryPointCommand}
319
+ */
320
+ restoreTableFromRecoveryPoint(args: RestoreTableFromRecoveryPointCommandInput, options?: __HttpHandlerOptions): Promise<RestoreTableFromRecoveryPointCommandOutput>;
321
+ restoreTableFromRecoveryPoint(args: RestoreTableFromRecoveryPointCommandInput, cb: (err: any, data?: RestoreTableFromRecoveryPointCommandOutput) => void): void;
322
+ restoreTableFromRecoveryPoint(args: RestoreTableFromRecoveryPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreTableFromRecoveryPointCommandOutput) => void): void;
265
323
  /**
266
324
  * @see {@link RestoreTableFromSnapshotCommand}
267
325
  */
@@ -298,12 +356,24 @@ export interface RedshiftServerless {
298
356
  updateNamespace(args: UpdateNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNamespaceCommandOutput>;
299
357
  updateNamespace(args: UpdateNamespaceCommandInput, cb: (err: any, data?: UpdateNamespaceCommandOutput) => void): void;
300
358
  updateNamespace(args: UpdateNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNamespaceCommandOutput) => void): void;
359
+ /**
360
+ * @see {@link UpdateScheduledActionCommand}
361
+ */
362
+ updateScheduledAction(args: UpdateScheduledActionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduledActionCommandOutput>;
363
+ updateScheduledAction(args: UpdateScheduledActionCommandInput, cb: (err: any, data?: UpdateScheduledActionCommandOutput) => void): void;
364
+ updateScheduledAction(args: UpdateScheduledActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduledActionCommandOutput) => void): void;
301
365
  /**
302
366
  * @see {@link UpdateSnapshotCommand}
303
367
  */
304
368
  updateSnapshot(args: UpdateSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSnapshotCommandOutput>;
305
369
  updateSnapshot(args: UpdateSnapshotCommandInput, cb: (err: any, data?: UpdateSnapshotCommandOutput) => void): void;
306
370
  updateSnapshot(args: UpdateSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSnapshotCommandOutput) => void): void;
371
+ /**
372
+ * @see {@link UpdateSnapshotCopyConfigurationCommand}
373
+ */
374
+ updateSnapshotCopyConfiguration(args: UpdateSnapshotCopyConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSnapshotCopyConfigurationCommandOutput>;
375
+ updateSnapshotCopyConfiguration(args: UpdateSnapshotCopyConfigurationCommandInput, cb: (err: any, data?: UpdateSnapshotCopyConfigurationCommandOutput) => void): void;
376
+ updateSnapshotCopyConfiguration(args: UpdateSnapshotCopyConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSnapshotCopyConfigurationCommandOutput) => void): void;
307
377
  /**
308
378
  * @see {@link UpdateUsageLimitCommand}
309
379
  */
@@ -12,14 +12,18 @@ import { ConvertRecoveryPointToSnapshotCommandInput, ConvertRecoveryPointToSnaps
12
12
  import { CreateCustomDomainAssociationCommandInput, CreateCustomDomainAssociationCommandOutput } from "./commands/CreateCustomDomainAssociationCommand";
13
13
  import { CreateEndpointAccessCommandInput, CreateEndpointAccessCommandOutput } from "./commands/CreateEndpointAccessCommand";
14
14
  import { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
15
+ import { CreateScheduledActionCommandInput, CreateScheduledActionCommandOutput } from "./commands/CreateScheduledActionCommand";
15
16
  import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
17
+ import { CreateSnapshotCopyConfigurationCommandInput, CreateSnapshotCopyConfigurationCommandOutput } from "./commands/CreateSnapshotCopyConfigurationCommand";
16
18
  import { CreateUsageLimitCommandInput, CreateUsageLimitCommandOutput } from "./commands/CreateUsageLimitCommand";
17
19
  import { CreateWorkgroupCommandInput, CreateWorkgroupCommandOutput } from "./commands/CreateWorkgroupCommand";
18
20
  import { DeleteCustomDomainAssociationCommandInput, DeleteCustomDomainAssociationCommandOutput } from "./commands/DeleteCustomDomainAssociationCommand";
19
21
  import { DeleteEndpointAccessCommandInput, DeleteEndpointAccessCommandOutput } from "./commands/DeleteEndpointAccessCommand";
20
22
  import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
21
23
  import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
24
+ import { DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput } from "./commands/DeleteScheduledActionCommand";
22
25
  import { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
26
+ import { DeleteSnapshotCopyConfigurationCommandInput, DeleteSnapshotCopyConfigurationCommandOutput } from "./commands/DeleteSnapshotCopyConfigurationCommand";
23
27
  import { DeleteUsageLimitCommandInput, DeleteUsageLimitCommandOutput } from "./commands/DeleteUsageLimitCommand";
24
28
  import { DeleteWorkgroupCommandInput, DeleteWorkgroupCommandOutput } from "./commands/DeleteWorkgroupCommand";
25
29
  import { GetCredentialsCommandInput, GetCredentialsCommandOutput } from "./commands/GetCredentialsCommand";
@@ -28,6 +32,7 @@ import { GetEndpointAccessCommandInput, GetEndpointAccessCommandOutput } from ".
28
32
  import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
29
33
  import { GetRecoveryPointCommandInput, GetRecoveryPointCommandOutput } from "./commands/GetRecoveryPointCommand";
30
34
  import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
35
+ import { GetScheduledActionCommandInput, GetScheduledActionCommandOutput } from "./commands/GetScheduledActionCommand";
31
36
  import { GetSnapshotCommandInput, GetSnapshotCommandOutput } from "./commands/GetSnapshotCommand";
32
37
  import { GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput } from "./commands/GetTableRestoreStatusCommand";
33
38
  import { GetUsageLimitCommandInput, GetUsageLimitCommandOutput } from "./commands/GetUsageLimitCommand";
@@ -36,6 +41,8 @@ import { ListCustomDomainAssociationsCommandInput, ListCustomDomainAssociationsC
36
41
  import { ListEndpointAccessCommandInput, ListEndpointAccessCommandOutput } from "./commands/ListEndpointAccessCommand";
37
42
  import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
38
43
  import { ListRecoveryPointsCommandInput, ListRecoveryPointsCommandOutput } from "./commands/ListRecoveryPointsCommand";
44
+ import { ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput } from "./commands/ListScheduledActionsCommand";
45
+ import { ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurationsCommandOutput } from "./commands/ListSnapshotCopyConfigurationsCommand";
39
46
  import { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "./commands/ListSnapshotsCommand";
40
47
  import { ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput } from "./commands/ListTableRestoreStatusCommand";
41
48
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -44,13 +51,16 @@ import { ListWorkgroupsCommandInput, ListWorkgroupsCommandOutput } from "./comma
44
51
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
45
52
  import { RestoreFromRecoveryPointCommandInput, RestoreFromRecoveryPointCommandOutput } from "./commands/RestoreFromRecoveryPointCommand";
46
53
  import { RestoreFromSnapshotCommandInput, RestoreFromSnapshotCommandOutput } from "./commands/RestoreFromSnapshotCommand";
54
+ import { RestoreTableFromRecoveryPointCommandInput, RestoreTableFromRecoveryPointCommandOutput } from "./commands/RestoreTableFromRecoveryPointCommand";
47
55
  import { RestoreTableFromSnapshotCommandInput, RestoreTableFromSnapshotCommandOutput } from "./commands/RestoreTableFromSnapshotCommand";
48
56
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
49
57
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
50
58
  import { UpdateCustomDomainAssociationCommandInput, UpdateCustomDomainAssociationCommandOutput } from "./commands/UpdateCustomDomainAssociationCommand";
51
59
  import { UpdateEndpointAccessCommandInput, UpdateEndpointAccessCommandOutput } from "./commands/UpdateEndpointAccessCommand";
52
60
  import { UpdateNamespaceCommandInput, UpdateNamespaceCommandOutput } from "./commands/UpdateNamespaceCommand";
61
+ import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
53
62
  import { UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput } from "./commands/UpdateSnapshotCommand";
63
+ import { UpdateSnapshotCopyConfigurationCommandInput, UpdateSnapshotCopyConfigurationCommandOutput } from "./commands/UpdateSnapshotCopyConfigurationCommand";
54
64
  import { UpdateUsageLimitCommandInput, UpdateUsageLimitCommandOutput } from "./commands/UpdateUsageLimitCommand";
55
65
  import { UpdateWorkgroupCommandInput, UpdateWorkgroupCommandOutput } from "./commands/UpdateWorkgroupCommand";
56
66
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
@@ -59,11 +69,11 @@ export { __Client };
59
69
  /**
60
70
  * @public
61
71
  */
62
- export type ServiceInputTypes = ConvertRecoveryPointToSnapshotCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateNamespaceCommandInput | CreateSnapshotCommandInput | CreateUsageLimitCommandInput | CreateWorkgroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteNamespaceCommandInput | DeleteResourcePolicyCommandInput | DeleteSnapshotCommandInput | DeleteUsageLimitCommandInput | DeleteWorkgroupCommandInput | GetCredentialsCommandInput | GetCustomDomainAssociationCommandInput | GetEndpointAccessCommandInput | GetNamespaceCommandInput | GetRecoveryPointCommandInput | GetResourcePolicyCommandInput | GetSnapshotCommandInput | GetTableRestoreStatusCommandInput | GetUsageLimitCommandInput | GetWorkgroupCommandInput | ListCustomDomainAssociationsCommandInput | ListEndpointAccessCommandInput | ListNamespacesCommandInput | ListRecoveryPointsCommandInput | ListSnapshotsCommandInput | ListTableRestoreStatusCommandInput | ListTagsForResourceCommandInput | ListUsageLimitsCommandInput | ListWorkgroupsCommandInput | PutResourcePolicyCommandInput | RestoreFromRecoveryPointCommandInput | RestoreFromSnapshotCommandInput | RestoreTableFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCustomDomainAssociationCommandInput | UpdateEndpointAccessCommandInput | UpdateNamespaceCommandInput | UpdateSnapshotCommandInput | UpdateUsageLimitCommandInput | UpdateWorkgroupCommandInput;
72
+ export type ServiceInputTypes = ConvertRecoveryPointToSnapshotCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateNamespaceCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCommandInput | CreateSnapshotCopyConfigurationCommandInput | CreateUsageLimitCommandInput | CreateWorkgroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteNamespaceCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCommandInput | DeleteSnapshotCopyConfigurationCommandInput | DeleteUsageLimitCommandInput | DeleteWorkgroupCommandInput | GetCredentialsCommandInput | GetCustomDomainAssociationCommandInput | GetEndpointAccessCommandInput | GetNamespaceCommandInput | GetRecoveryPointCommandInput | GetResourcePolicyCommandInput | GetScheduledActionCommandInput | GetSnapshotCommandInput | GetTableRestoreStatusCommandInput | GetUsageLimitCommandInput | GetWorkgroupCommandInput | ListCustomDomainAssociationsCommandInput | ListEndpointAccessCommandInput | ListNamespacesCommandInput | ListRecoveryPointsCommandInput | ListScheduledActionsCommandInput | ListSnapshotCopyConfigurationsCommandInput | ListSnapshotsCommandInput | ListTableRestoreStatusCommandInput | ListTagsForResourceCommandInput | ListUsageLimitsCommandInput | ListWorkgroupsCommandInput | PutResourcePolicyCommandInput | RestoreFromRecoveryPointCommandInput | RestoreFromSnapshotCommandInput | RestoreTableFromRecoveryPointCommandInput | RestoreTableFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCustomDomainAssociationCommandInput | UpdateEndpointAccessCommandInput | UpdateNamespaceCommandInput | UpdateScheduledActionCommandInput | UpdateSnapshotCommandInput | UpdateSnapshotCopyConfigurationCommandInput | UpdateUsageLimitCommandInput | UpdateWorkgroupCommandInput;
63
73
  /**
64
74
  * @public
65
75
  */
66
- export type ServiceOutputTypes = ConvertRecoveryPointToSnapshotCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateNamespaceCommandOutput | CreateSnapshotCommandOutput | CreateUsageLimitCommandOutput | CreateWorkgroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteNamespaceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSnapshotCommandOutput | DeleteUsageLimitCommandOutput | DeleteWorkgroupCommandOutput | GetCredentialsCommandOutput | GetCustomDomainAssociationCommandOutput | GetEndpointAccessCommandOutput | GetNamespaceCommandOutput | GetRecoveryPointCommandOutput | GetResourcePolicyCommandOutput | GetSnapshotCommandOutput | GetTableRestoreStatusCommandOutput | GetUsageLimitCommandOutput | GetWorkgroupCommandOutput | ListCustomDomainAssociationsCommandOutput | ListEndpointAccessCommandOutput | ListNamespacesCommandOutput | ListRecoveryPointsCommandOutput | ListSnapshotsCommandOutput | ListTableRestoreStatusCommandOutput | ListTagsForResourceCommandOutput | ListUsageLimitsCommandOutput | ListWorkgroupsCommandOutput | PutResourcePolicyCommandOutput | RestoreFromRecoveryPointCommandOutput | RestoreFromSnapshotCommandOutput | RestoreTableFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCustomDomainAssociationCommandOutput | UpdateEndpointAccessCommandOutput | UpdateNamespaceCommandOutput | UpdateSnapshotCommandOutput | UpdateUsageLimitCommandOutput | UpdateWorkgroupCommandOutput;
76
+ export type ServiceOutputTypes = ConvertRecoveryPointToSnapshotCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateNamespaceCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotCopyConfigurationCommandOutput | CreateUsageLimitCommandOutput | CreateWorkgroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteNamespaceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCommandOutput | DeleteSnapshotCopyConfigurationCommandOutput | DeleteUsageLimitCommandOutput | DeleteWorkgroupCommandOutput | GetCredentialsCommandOutput | GetCustomDomainAssociationCommandOutput | GetEndpointAccessCommandOutput | GetNamespaceCommandOutput | GetRecoveryPointCommandOutput | GetResourcePolicyCommandOutput | GetScheduledActionCommandOutput | GetSnapshotCommandOutput | GetTableRestoreStatusCommandOutput | GetUsageLimitCommandOutput | GetWorkgroupCommandOutput | ListCustomDomainAssociationsCommandOutput | ListEndpointAccessCommandOutput | ListNamespacesCommandOutput | ListRecoveryPointsCommandOutput | ListScheduledActionsCommandOutput | ListSnapshotCopyConfigurationsCommandOutput | ListSnapshotsCommandOutput | ListTableRestoreStatusCommandOutput | ListTagsForResourceCommandOutput | ListUsageLimitsCommandOutput | ListWorkgroupsCommandOutput | PutResourcePolicyCommandOutput | RestoreFromRecoveryPointCommandOutput | RestoreFromSnapshotCommandOutput | RestoreTableFromRecoveryPointCommandOutput | RestoreTableFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCustomDomainAssociationCommandOutput | UpdateEndpointAccessCommandOutput | UpdateNamespaceCommandOutput | UpdateScheduledActionCommandOutput | UpdateSnapshotCommandOutput | UpdateSnapshotCopyConfigurationCommandOutput | UpdateUsageLimitCommandOutput | UpdateWorkgroupCommandOutput;
67
77
  /**
68
78
  * @public
69
79
  */
@@ -39,6 +39,7 @@ export interface CreateEndpointAccessCommandOutput extends CreateEndpointAccessR
39
39
  * vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
40
40
  * "STRING_VALUE",
41
41
  * ],
42
+ * ownerAccount: "STRING_VALUE",
42
43
  * };
43
44
  * const command = new CreateEndpointAccessCommand(input);
44
45
  * const response = await client.send(command);
@@ -0,0 +1,138 @@
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 { CreateScheduledActionRequest, CreateScheduledActionResponse } 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 CreateScheduledActionCommand}.
14
+ */
15
+ export interface CreateScheduledActionCommandInput extends CreateScheduledActionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateScheduledActionCommand}.
21
+ */
22
+ export interface CreateScheduledActionCommandOutput extends CreateScheduledActionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action.
27
+ * For example, you can create a schedule of when to run the <code>CreateSnapshot</code> API operation.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { RedshiftServerlessClient, CreateScheduledActionCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
32
+ * // const { RedshiftServerlessClient, CreateScheduledActionCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
33
+ * const client = new RedshiftServerlessClient(config);
34
+ * const input = { // CreateScheduledActionRequest
35
+ * scheduledActionName: "STRING_VALUE", // required
36
+ * targetAction: { // TargetAction Union: only one key present
37
+ * createSnapshot: { // CreateSnapshotScheduleActionParameters
38
+ * namespaceName: "STRING_VALUE", // required
39
+ * snapshotNamePrefix: "STRING_VALUE", // required
40
+ * retentionPeriod: Number("int"),
41
+ * tags: [ // TagList
42
+ * { // Tag
43
+ * key: "STRING_VALUE", // required
44
+ * value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * },
48
+ * },
49
+ * schedule: { // Schedule Union: only one key present
50
+ * at: new Date("TIMESTAMP"),
51
+ * cron: "STRING_VALUE",
52
+ * },
53
+ * roleArn: "STRING_VALUE", // required
54
+ * namespaceName: "STRING_VALUE", // required
55
+ * enabled: true || false,
56
+ * scheduledActionDescription: "STRING_VALUE",
57
+ * startTime: new Date("TIMESTAMP"),
58
+ * endTime: new Date("TIMESTAMP"),
59
+ * };
60
+ * const command = new CreateScheduledActionCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // CreateScheduledActionResponse
63
+ * // scheduledAction: { // ScheduledActionResponse
64
+ * // scheduledActionName: "STRING_VALUE",
65
+ * // schedule: { // Schedule Union: only one key present
66
+ * // at: new Date("TIMESTAMP"),
67
+ * // cron: "STRING_VALUE",
68
+ * // },
69
+ * // scheduledActionDescription: "STRING_VALUE",
70
+ * // nextInvocations: [ // NextInvocationsList
71
+ * // new Date("TIMESTAMP"),
72
+ * // ],
73
+ * // roleArn: "STRING_VALUE",
74
+ * // state: "STRING_VALUE",
75
+ * // startTime: new Date("TIMESTAMP"),
76
+ * // endTime: new Date("TIMESTAMP"),
77
+ * // targetAction: { // TargetAction Union: only one key present
78
+ * // createSnapshot: { // CreateSnapshotScheduleActionParameters
79
+ * // namespaceName: "STRING_VALUE", // required
80
+ * // snapshotNamePrefix: "STRING_VALUE", // required
81
+ * // retentionPeriod: Number("int"),
82
+ * // tags: [ // TagList
83
+ * // { // Tag
84
+ * // key: "STRING_VALUE", // required
85
+ * // value: "STRING_VALUE", // required
86
+ * // },
87
+ * // ],
88
+ * // },
89
+ * // },
90
+ * // namespaceName: "STRING_VALUE",
91
+ * // scheduledActionUuid: "STRING_VALUE",
92
+ * // },
93
+ * // };
94
+ *
95
+ * ```
96
+ *
97
+ * @param CreateScheduledActionCommandInput - {@link CreateScheduledActionCommandInput}
98
+ * @returns {@link CreateScheduledActionCommandOutput}
99
+ * @see {@link CreateScheduledActionCommandInput} for command's `input` shape.
100
+ * @see {@link CreateScheduledActionCommandOutput} for command's `response` shape.
101
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
102
+ *
103
+ * @throws {@link ConflictException} (client fault)
104
+ * <p>The submitted action has conflicts.</p>
105
+ *
106
+ * @throws {@link InternalServerException} (server fault)
107
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
108
+ *
109
+ * @throws {@link ResourceNotFoundException} (client fault)
110
+ * <p>The resource could not be found.</p>
111
+ *
112
+ * @throws {@link ValidationException} (client fault)
113
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
114
+ *
115
+ * @throws {@link RedshiftServerlessServiceException}
116
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
117
+ *
118
+ */
119
+ export declare class CreateScheduledActionCommand extends $Command<CreateScheduledActionCommandInput, CreateScheduledActionCommandOutput, RedshiftServerlessClientResolvedConfig> {
120
+ readonly input: CreateScheduledActionCommandInput;
121
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
+ /**
123
+ * @public
124
+ */
125
+ constructor(input: CreateScheduledActionCommandInput);
126
+ /**
127
+ * @internal
128
+ */
129
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateScheduledActionCommandInput, CreateScheduledActionCommandOutput>;
130
+ /**
131
+ * @internal
132
+ */
133
+ private serialize;
134
+ /**
135
+ * @internal
136
+ */
137
+ private deserialize;
138
+ }
@@ -0,0 +1,101 @@
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 { CreateSnapshotCopyConfigurationRequest, CreateSnapshotCopyConfigurationResponse } 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 CreateSnapshotCopyConfigurationCommand}.
14
+ */
15
+ export interface CreateSnapshotCopyConfigurationCommandInput extends CreateSnapshotCopyConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateSnapshotCopyConfigurationCommand}.
21
+ */
22
+ export interface CreateSnapshotCopyConfigurationCommandOutput extends CreateSnapshotCopyConfigurationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftServerlessClient, CreateSnapshotCopyConfigurationCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
31
+ * // const { RedshiftServerlessClient, CreateSnapshotCopyConfigurationCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
32
+ * const client = new RedshiftServerlessClient(config);
33
+ * const input = { // CreateSnapshotCopyConfigurationRequest
34
+ * namespaceName: "STRING_VALUE", // required
35
+ * destinationRegion: "STRING_VALUE", // required
36
+ * snapshotRetentionPeriod: Number("int"),
37
+ * destinationKmsKeyId: "STRING_VALUE",
38
+ * };
39
+ * const command = new CreateSnapshotCopyConfigurationCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // CreateSnapshotCopyConfigurationResponse
42
+ * // snapshotCopyConfiguration: { // SnapshotCopyConfiguration
43
+ * // snapshotCopyConfigurationId: "STRING_VALUE",
44
+ * // snapshotCopyConfigurationArn: "STRING_VALUE",
45
+ * // namespaceName: "STRING_VALUE",
46
+ * // destinationRegion: "STRING_VALUE",
47
+ * // snapshotRetentionPeriod: Number("int"),
48
+ * // destinationKmsKeyId: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CreateSnapshotCopyConfigurationCommandInput - {@link CreateSnapshotCopyConfigurationCommandInput}
55
+ * @returns {@link CreateSnapshotCopyConfigurationCommandOutput}
56
+ * @see {@link CreateSnapshotCopyConfigurationCommandInput} for command's `input` shape.
57
+ * @see {@link CreateSnapshotCopyConfigurationCommandOutput} for command's `response` shape.
58
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>The submitted action has conflicts.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The resource could not be found.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The service limit was exceeded.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
77
+ *
78
+ * @throws {@link RedshiftServerlessServiceException}
79
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
80
+ *
81
+ */
82
+ export declare class CreateSnapshotCopyConfigurationCommand extends $Command<CreateSnapshotCopyConfigurationCommandInput, CreateSnapshotCopyConfigurationCommandOutput, RedshiftServerlessClientResolvedConfig> {
83
+ readonly input: CreateSnapshotCopyConfigurationCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: CreateSnapshotCopyConfigurationCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSnapshotCopyConfigurationCommandInput, CreateSnapshotCopyConfigurationCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -107,6 +107,9 @@ export interface CreateWorkgroupCommandOutput extends CreateWorkgroupResponse, _
107
107
  * // workgroupVersion: "STRING_VALUE",
108
108
  * // patchVersion: "STRING_VALUE",
109
109
  * // maxCapacity: Number("int"),
110
+ * // crossAccountVpcs: [ // VpcIds
111
+ * // "STRING_VALUE",
112
+ * // ],
110
113
  * // },
111
114
  * // };
112
115
  *
@@ -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 { DeleteScheduledActionRequest, DeleteScheduledActionResponse } 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 DeleteScheduledActionCommand}.
14
+ */
15
+ export interface DeleteScheduledActionCommandInput extends DeleteScheduledActionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteScheduledActionCommand}.
21
+ */
22
+ export interface DeleteScheduledActionCommandOutput extends DeleteScheduledActionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes 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, DeleteScheduledActionCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
31
+ * // const { RedshiftServerlessClient, DeleteScheduledActionCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
32
+ * const client = new RedshiftServerlessClient(config);
33
+ * const input = { // DeleteScheduledActionRequest
34
+ * scheduledActionName: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteScheduledActionCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DeleteScheduledActionResponse
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 DeleteScheduledActionCommandInput - {@link DeleteScheduledActionCommandInput}
74
+ * @returns {@link DeleteScheduledActionCommandOutput}
75
+ * @see {@link DeleteScheduledActionCommandInput} for command's `input` shape.
76
+ * @see {@link DeleteScheduledActionCommandOutput} 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 DeleteScheduledActionCommand extends $Command<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, RedshiftServerlessClientResolvedConfig> {
93
+ readonly input: DeleteScheduledActionCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: DeleteScheduledActionCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }