@aws-sdk/client-redshift-serverless 3.936.0 → 3.939.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/README.md +9 -9
- package/dist-cjs/index.js +146 -2
- package/dist-es/RedshiftServerless.js +2 -0
- package/dist-es/commands/UpdateLakehouseConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +58 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/models/models_0.js +1 -50
- package/dist-es/schemas/schemas_0.js +50 -3
- package/dist-types/RedshiftServerless.d.ts +8 -9
- package/dist-types/RedshiftServerlessClient.d.ts +4 -11
- package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +2 -3
- package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/CreateNamespaceCommand.d.ts +3 -1
- package/dist-types/commands/CreateReservationCommand.d.ts +2 -3
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +2 -3
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -5
- package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateUsageLimitCommand.d.ts +2 -3
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +2 -19
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +4 -3
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +1 -1
- package/dist-types/commands/GetCredentialsCommand.d.ts +2 -10
- package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/GetNamespaceCommand.d.ts +3 -1
- package/dist-types/commands/GetRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/GetReservationCommand.d.ts +2 -3
- package/dist-types/commands/GetReservationOfferingCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/GetSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetTrackCommand.d.ts +1 -1
- package/dist-types/commands/GetUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/GetWorkgroupCommand.d.ts +1 -1
- package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/ListNamespacesCommand.d.ts +3 -1
- package/dist-types/commands/ListRecoveryPointsCommand.d.ts +1 -1
- package/dist-types/commands/ListReservationOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/ListReservationsCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTracksCommand.d.ts +1 -1
- package/dist-types/commands/ListUsageLimitsCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +3 -1
- package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +3 -1
- package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +2 -3
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLakehouseConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/UpdateNamespaceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +2 -21
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -9
- package/dist-types/models/enums.d.ts +154 -0
- package/dist-types/models/errors.d.ts +13 -1
- package/dist-types/models/models_0.d.ts +172 -476
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +17 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateLakehouseConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +79 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -68
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +2 -2
|
@@ -71,7 +71,7 @@ declare const ListScheduledActionsCommand_base: {
|
|
|
71
71
|
* <p>The resource could not be found.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
74
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link RedshiftServerlessServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -78,7 +78,7 @@ declare const ListSnapshotCopyConfigurationsCommand_base: {
|
|
|
78
78
|
* <p>The resource could not be found.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ValidationException} (client fault)
|
|
81
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
81
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link RedshiftServerlessServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -96,7 +96,7 @@ declare const ListSnapshotsCommand_base: {
|
|
|
96
96
|
* <p>The resource could not be found.</p>
|
|
97
97
|
*
|
|
98
98
|
* @throws {@link ValidationException} (client fault)
|
|
99
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
99
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
100
100
|
*
|
|
101
101
|
* @throws {@link RedshiftServerlessServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -83,7 +83,7 @@ declare const ListTableRestoreStatusCommand_base: {
|
|
|
83
83
|
* <p>The resource could not be found.</p>
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link ValidationException} (client fault)
|
|
86
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
86
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
87
87
|
*
|
|
88
88
|
* @throws {@link RedshiftServerlessServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -68,7 +68,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
68
68
|
* <p>The request was denied due to request throttling.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ValidationException} (client fault)
|
|
71
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
71
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link RedshiftServerlessServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -79,7 +79,7 @@ declare const ListTracksCommand_base: {
|
|
|
79
79
|
* <p>The request was denied due to request throttling.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
82
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link RedshiftServerlessServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -80,7 +80,7 @@ declare const ListUsageLimitsCommand_base: {
|
|
|
80
80
|
* <p>The resource could not be found.</p>
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link ValidationException} (client fault)
|
|
83
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
83
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link RedshiftServerlessServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -120,7 +120,7 @@ declare const ListWorkgroupsCommand_base: {
|
|
|
120
120
|
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
121
121
|
*
|
|
122
122
|
* @throws {@link ValidationException} (client fault)
|
|
123
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
123
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
124
124
|
*
|
|
125
125
|
* @throws {@link RedshiftServerlessServiceException}
|
|
126
126
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -70,7 +70,7 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
70
70
|
* <p>The service limit was exceeded.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
73
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link RedshiftServerlessServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -63,6 +63,8 @@ declare const RestoreFromRecoveryPointCommand_base: {
|
|
|
63
63
|
* // creationDate: new Date("TIMESTAMP"),
|
|
64
64
|
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
65
65
|
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
66
|
+
* // lakehouseRegistrationStatus: "STRING_VALUE",
|
|
67
|
+
* // catalogArn: "STRING_VALUE",
|
|
66
68
|
* // },
|
|
67
69
|
* // };
|
|
68
70
|
*
|
|
@@ -84,7 +86,7 @@ declare const RestoreFromRecoveryPointCommand_base: {
|
|
|
84
86
|
* <p>The resource could not be found.</p>
|
|
85
87
|
*
|
|
86
88
|
* @throws {@link ValidationException} (client fault)
|
|
87
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
89
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
88
90
|
*
|
|
89
91
|
* @throws {@link RedshiftServerlessServiceException}
|
|
90
92
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -68,6 +68,8 @@ declare const RestoreFromSnapshotCommand_base: {
|
|
|
68
68
|
* // creationDate: new Date("TIMESTAMP"),
|
|
69
69
|
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
70
70
|
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
71
|
+
* // lakehouseRegistrationStatus: "STRING_VALUE",
|
|
72
|
+
* // catalogArn: "STRING_VALUE",
|
|
71
73
|
* // },
|
|
72
74
|
* // };
|
|
73
75
|
*
|
|
@@ -92,7 +94,7 @@ declare const RestoreFromSnapshotCommand_base: {
|
|
|
92
94
|
* <p>The service limit was exceeded.</p>
|
|
93
95
|
*
|
|
94
96
|
* @throws {@link ValidationException} (client fault)
|
|
95
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
97
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
96
98
|
*
|
|
97
99
|
* @throws {@link RedshiftServerlessServiceException}
|
|
98
100
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -89,7 +89,7 @@ declare const RestoreTableFromRecoveryPointCommand_base: {
|
|
|
89
89
|
* <p>The resource could not be found.</p>
|
|
90
90
|
*
|
|
91
91
|
* @throws {@link ValidationException} (client fault)
|
|
92
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
92
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
93
93
|
*
|
|
94
94
|
* @throws {@link RedshiftServerlessServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -27,8 +27,7 @@ declare const RestoreTableFromSnapshotCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Restores a table from a snapshot to your Amazon Redshift Serverless instance. You can't use this operation to
|
|
31
|
-
* restore tables with <a href="https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved">interleaved sort keys</a>.</p>
|
|
30
|
+
* <p>Restores a table from a snapshot to your Amazon Redshift Serverless instance. You can't use this operation to restore tables with <a href="https://docs.aws.amazon.com/redshift/latest/dg/t_Sorting_data.html#t_Sorting_data-interleaved">interleaved sort keys</a>.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -90,7 +89,7 @@ declare const RestoreTableFromSnapshotCommand_base: {
|
|
|
90
89
|
* <p>The resource could not be found.</p>
|
|
91
90
|
*
|
|
92
91
|
* @throws {@link ValidationException} (client fault)
|
|
93
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
92
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
94
93
|
*
|
|
95
94
|
* @throws {@link RedshiftServerlessServiceException}
|
|
96
95
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -70,7 +70,7 @@ declare const TagResourceCommand_base: {
|
|
|
70
70
|
* <p>The request exceeded the number of tags allowed for a resource.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
73
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link RedshiftServerlessServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -64,7 +64,7 @@ declare const UntagResourceCommand_base: {
|
|
|
64
64
|
* <p>The request was denied due to request throttling.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ValidationException} (client fault)
|
|
67
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
67
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link RedshiftServerlessServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -74,7 +74,7 @@ declare const UpdateCustomDomainAssociationCommand_base: {
|
|
|
74
74
|
* <p>The request was denied due to request throttling.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
77
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link RedshiftServerlessServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -99,7 +99,7 @@ declare const UpdateEndpointAccessCommand_base: {
|
|
|
99
99
|
* <p>The resource could not be found.</p>
|
|
100
100
|
*
|
|
101
101
|
* @throws {@link ValidationException} (client fault)
|
|
102
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
102
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
103
103
|
*
|
|
104
104
|
* @throws {@link RedshiftServerlessServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateLakehouseConfigurationRequest, UpdateLakehouseConfigurationResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateLakehouseConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateLakehouseConfigurationCommandInput extends UpdateLakehouseConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateLakehouseConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateLakehouseConfigurationCommandOutput extends UpdateLakehouseConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateLakehouseConfigurationCommand_base: {
|
|
25
|
+
new (input: UpdateLakehouseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLakehouseConfigurationCommandInput, UpdateLakehouseConfigurationCommandOutput, RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateLakehouseConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLakehouseConfigurationCommandInput, UpdateLakehouseConfigurationCommandOutput, RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Modifies the lakehouse configuration for a namespace. This operation allows you to manage Amazon Redshift federated permissions and Amazon Web Services IAM Identity Center trusted identity propagation.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { RedshiftServerlessClient, UpdateLakehouseConfigurationCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
|
|
35
|
+
* // const { RedshiftServerlessClient, UpdateLakehouseConfigurationCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
|
|
36
|
+
* // import type { RedshiftServerlessClientConfig } from "@aws-sdk/client-redshift-serverless";
|
|
37
|
+
* const config = {}; // type is RedshiftServerlessClientConfig
|
|
38
|
+
* const client = new RedshiftServerlessClient(config);
|
|
39
|
+
* const input = { // UpdateLakehouseConfigurationRequest
|
|
40
|
+
* namespaceName: "STRING_VALUE", // required
|
|
41
|
+
* lakehouseRegistration: "STRING_VALUE",
|
|
42
|
+
* catalogName: "STRING_VALUE",
|
|
43
|
+
* lakehouseIdcRegistration: "STRING_VALUE",
|
|
44
|
+
* lakehouseIdcApplicationArn: "STRING_VALUE",
|
|
45
|
+
* dryRun: true || false,
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdateLakehouseConfigurationCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // UpdateLakehouseConfigurationResponse
|
|
50
|
+
* // namespaceName: "STRING_VALUE",
|
|
51
|
+
* // lakehouseIdcApplicationArn: "STRING_VALUE",
|
|
52
|
+
* // lakehouseRegistrationStatus: "STRING_VALUE",
|
|
53
|
+
* // catalogArn: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param UpdateLakehouseConfigurationCommandInput - {@link UpdateLakehouseConfigurationCommandInput}
|
|
59
|
+
* @returns {@link UpdateLakehouseConfigurationCommandOutput}
|
|
60
|
+
* @see {@link UpdateLakehouseConfigurationCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link UpdateLakehouseConfigurationCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>The submitted action has conflicts.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link DryRunException} (client fault)
|
|
68
|
+
* <p>This exception is thrown when the request was successful, but dry run was enabled so no action was taken.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The resource could not be found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link RedshiftServerlessServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class UpdateLakehouseConfigurationCommand extends UpdateLakehouseConfigurationCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: UpdateLakehouseConfigurationRequest;
|
|
90
|
+
output: UpdateLakehouseConfigurationResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: UpdateLakehouseConfigurationCommandInput;
|
|
94
|
+
output: UpdateLakehouseConfigurationCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -27,9 +27,7 @@ declare const UpdateNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a namespace with the specified settings. Unless required, you can't update multiple parameters in one request. For example,
|
|
31
|
-
* you must specify both <code>adminUsername</code> and <code>adminUserPassword</code> to update either field, but you can't update both <code>kmsKeyId</code>
|
|
32
|
-
* and <code>logExports</code> in a single request.</p>
|
|
30
|
+
* <p>Updates a namespace with the specified settings. Unless required, you can't update multiple parameters in one request. For example, you must specify both <code>adminUsername</code> and <code>adminUserPassword</code> to update either field, but you can't update both <code>kmsKeyId</code> and <code>logExports</code> in a single request.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -74,6 +72,8 @@ declare const UpdateNamespaceCommand_base: {
|
|
|
74
72
|
* // creationDate: new Date("TIMESTAMP"),
|
|
75
73
|
* // adminPasswordSecretArn: "STRING_VALUE",
|
|
76
74
|
* // adminPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
75
|
+
* // lakehouseRegistrationStatus: "STRING_VALUE",
|
|
76
|
+
* // catalogArn: "STRING_VALUE",
|
|
77
77
|
* // },
|
|
78
78
|
* // };
|
|
79
79
|
*
|
|
@@ -95,7 +95,7 @@ declare const UpdateNamespaceCommand_base: {
|
|
|
95
95
|
* <p>The resource could not be found.</p>
|
|
96
96
|
*
|
|
97
97
|
* @throws {@link ValidationException} (client fault)
|
|
98
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
98
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
99
99
|
*
|
|
100
100
|
* @throws {@link RedshiftServerlessServiceException}
|
|
101
101
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -114,7 +114,7 @@ declare const UpdateScheduledActionCommand_base: {
|
|
|
114
114
|
* <p>The resource could not be found.</p>
|
|
115
115
|
*
|
|
116
116
|
* @throws {@link ValidationException} (client fault)
|
|
117
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
117
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
118
118
|
*
|
|
119
119
|
* @throws {@link RedshiftServerlessServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -91,7 +91,7 @@ declare const UpdateSnapshotCommand_base: {
|
|
|
91
91
|
* <p>The resource could not be found.</p>
|
|
92
92
|
*
|
|
93
93
|
* @throws {@link ValidationException} (client fault)
|
|
94
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
94
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link RedshiftServerlessServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -74,7 +74,7 @@ declare const UpdateSnapshotCopyConfigurationCommand_base: {
|
|
|
74
74
|
* <p>The resource could not be found.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ValidationException} (client fault)
|
|
77
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
77
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link RedshiftServerlessServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -73,7 +73,7 @@ declare const UpdateUsageLimitCommand_base: {
|
|
|
73
73
|
* <p>The resource could not be found.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ValidationException} (client fault)
|
|
76
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
76
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link RedshiftServerlessServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -27,26 +27,7 @@ declare const UpdateWorkgroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one request. For example,
|
|
31
|
-
* you can update <code>baseCapacity</code> or <code>port</code> in a single request, but you can't update both in the same request.</p>
|
|
32
|
-
* <p>VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that
|
|
33
|
-
* you own in a Region from reaching or being reached from the internet through internet
|
|
34
|
-
* gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA
|
|
35
|
-
* turned on, the following capabilities are blocked: </p>
|
|
36
|
-
* <ul>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Creating a public access workgroup</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>Modifying a private workgroup to public</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is
|
|
45
|
-
* public</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* </ul>
|
|
48
|
-
* <p>For more information about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and
|
|
49
|
-
* subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
30
|
+
* <p>Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one request. For example, you can update <code>baseCapacity</code> or <code>port</code> in a single request, but you can't update both in the same request.</p> <p>VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. If a workgroup is in an account with VPC BPA turned on, the following capabilities are blocked: </p> <ul> <li> <p>Creating a public access workgroup</p> </li> <li> <p>Modifying a private workgroup to public</p> </li> <li> <p>Adding a subnet with VPC BPA turned on to the workgroup when the workgroup is public</p> </li> </ul> <p>For more information about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
50
31
|
* @example
|
|
51
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
52
33
|
* ```javascript
|
|
@@ -169,7 +150,7 @@ declare const UpdateWorkgroupCommand_base: {
|
|
|
169
150
|
* <p>The resource could not be found.</p>
|
|
170
151
|
*
|
|
171
152
|
* @throws {@link ValidationException} (client fault)
|
|
172
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
153
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
173
154
|
*
|
|
174
155
|
* @throws {@link RedshiftServerlessServiceException}
|
|
175
156
|
* <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
|
|
@@ -55,6 +55,7 @@ export * from "./TagResourceCommand";
|
|
|
55
55
|
export * from "./UntagResourceCommand";
|
|
56
56
|
export * from "./UpdateCustomDomainAssociationCommand";
|
|
57
57
|
export * from "./UpdateEndpointAccessCommand";
|
|
58
|
+
export * from "./UpdateLakehouseConfigurationCommand";
|
|
58
59
|
export * from "./UpdateNamespaceCommand";
|
|
59
60
|
export * from "./UpdateScheduledActionCommand";
|
|
60
61
|
export * from "./UpdateSnapshotCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>This is an interface reference for Amazon Redshift Serverless.
|
|
3
|
-
* It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.
|
|
4
|
-
* </p>
|
|
5
|
-
* <p>Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the
|
|
6
|
-
* underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high
|
|
7
|
-
* performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you
|
|
8
|
-
* focus on using your data to acquire new insights for your business and customers.
|
|
9
|
-
* </p>
|
|
10
|
-
* <p> To learn more about Amazon Redshift Serverless, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html">What is Amazon Redshift Serverless?</a>.</p>
|
|
2
|
+
* <p>This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless. </p> <p>Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers. </p> <p> To learn more about Amazon Redshift Serverless, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html">What is Amazon Redshift Serverless?</a>.</p>
|
|
11
3
|
*
|
|
12
4
|
* @packageDocumentation
|
|
13
5
|
*/
|
|
@@ -1,3 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const SnapshotStatus: {
|
|
6
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
7
|
+
readonly CANCELLED: "CANCELLED";
|
|
8
|
+
readonly COPYING: "COPYING";
|
|
9
|
+
readonly CREATING: "CREATING";
|
|
10
|
+
readonly DELETED: "DELETED";
|
|
11
|
+
readonly FAILED: "FAILED";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type SnapshotStatus = (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
* @enum
|
|
20
|
+
*/
|
|
21
|
+
export declare const LogExport: {
|
|
22
|
+
readonly CONNECTION_LOG: "connectionlog";
|
|
23
|
+
readonly USER_ACTIVITY_LOG: "useractivitylog";
|
|
24
|
+
readonly USER_LOG: "userlog";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type LogExport = (typeof LogExport)[keyof typeof LogExport];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const NamespaceStatus: {
|
|
35
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
36
|
+
readonly DELETING: "DELETING";
|
|
37
|
+
readonly MODIFYING: "MODIFYING";
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export type NamespaceStatus = (typeof NamespaceStatus)[keyof typeof NamespaceStatus];
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* @enum
|
|
46
|
+
*/
|
|
47
|
+
export declare const OfferingType: {
|
|
48
|
+
readonly ALL_UPFRONT: "ALL_UPFRONT";
|
|
49
|
+
readonly NO_UPFRONT: "NO_UPFRONT";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type OfferingType = (typeof OfferingType)[keyof typeof OfferingType];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const State: {
|
|
60
|
+
readonly ACTIVE: "ACTIVE";
|
|
61
|
+
readonly DISABLED: "DISABLED";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type State = (typeof State)[keyof typeof State];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const UsageLimitBreachAction: {
|
|
72
|
+
readonly DEACTIVATE: "deactivate";
|
|
73
|
+
readonly EMIT_METRIC: "emit-metric";
|
|
74
|
+
readonly LOG: "log";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type UsageLimitBreachAction = (typeof UsageLimitBreachAction)[keyof typeof UsageLimitBreachAction];
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* @enum
|
|
83
|
+
*/
|
|
84
|
+
export declare const UsageLimitPeriod: {
|
|
85
|
+
readonly DAILY: "daily";
|
|
86
|
+
readonly MONTHLY: "monthly";
|
|
87
|
+
readonly WEEKLY: "weekly";
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export type UsageLimitPeriod = (typeof UsageLimitPeriod)[keyof typeof UsageLimitPeriod];
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
* @enum
|
|
96
|
+
*/
|
|
97
|
+
export declare const UsageLimitUsageType: {
|
|
98
|
+
readonly CROSS_REGION_DATASHARING: "cross-region-datasharing";
|
|
99
|
+
readonly SERVERLESS_COMPUTE: "serverless-compute";
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export type UsageLimitUsageType = (typeof UsageLimitUsageType)[keyof typeof UsageLimitUsageType];
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* @enum
|
|
108
|
+
*/
|
|
109
|
+
export declare const PerformanceTargetStatus: {
|
|
110
|
+
readonly DISABLED: "DISABLED";
|
|
111
|
+
readonly ENABLED: "ENABLED";
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export type PerformanceTargetStatus = (typeof PerformanceTargetStatus)[keyof typeof PerformanceTargetStatus];
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* @enum
|
|
120
|
+
*/
|
|
121
|
+
export declare const WorkgroupStatus: {
|
|
122
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
123
|
+
readonly CREATING: "CREATING";
|
|
124
|
+
readonly DELETING: "DELETING";
|
|
125
|
+
readonly MODIFYING: "MODIFYING";
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export type WorkgroupStatus = (typeof WorkgroupStatus)[keyof typeof WorkgroupStatus];
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* @enum
|
|
134
|
+
*/
|
|
135
|
+
export declare const LakehouseIdcRegistration: {
|
|
136
|
+
readonly ASSOCIATE: "Associate";
|
|
137
|
+
readonly DISASSOCIATE: "Disassociate";
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export type LakehouseIdcRegistration = (typeof LakehouseIdcRegistration)[keyof typeof LakehouseIdcRegistration];
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* @enum
|
|
146
|
+
*/
|
|
147
|
+
export declare const LakehouseRegistration: {
|
|
148
|
+
readonly DEREGISTER: "Deregister";
|
|
149
|
+
readonly REGISTER: "Register";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export type LakehouseRegistration = (typeof LakehouseRegistration)[keyof typeof LakehouseRegistration];
|
|
1
155
|
/**
|
|
2
156
|
* @public
|
|
3
157
|
* @enum
|
|
@@ -85,7 +85,7 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
85
85
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* <p>The input failed to satisfy the constraints specified by an
|
|
88
|
+
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
89
89
|
* @public
|
|
90
90
|
*/
|
|
91
91
|
export declare class ValidationException extends __BaseException {
|
|
@@ -135,6 +135,18 @@ export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
|
|
|
135
135
|
*/
|
|
136
136
|
constructor(opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>);
|
|
137
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* <p>This exception is thrown when the request was successful, but dry run was enabled so no action was taken.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class DryRunException extends __BaseException {
|
|
143
|
+
readonly name: "DryRunException";
|
|
144
|
+
readonly $fault: "client";
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
constructor(opts: __ExceptionOptionType<DryRunException, __BaseException>);
|
|
149
|
+
}
|
|
138
150
|
/**
|
|
139
151
|
* <p>The provided pagination token is invalid.</p>
|
|
140
152
|
* @public
|