@aws-sdk/client-redshift-serverless 3.1181.0 → 3.1183.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 (34) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +231 -25
  3. package/dist-es/RedshiftServerless.js +10 -0
  4. package/dist-es/commands/CreateRoleAssociationCommand.js +4 -0
  5. package/dist-es/commands/DeleteRoleAssociationCommand.js +4 -0
  6. package/dist-es/commands/GetExpressConfigurationCommand.js +4 -0
  7. package/dist-es/commands/ListRoleAssociationsCommand.js +4 -0
  8. package/dist-es/commands/UpdateExpressConfigurationCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +12 -8
  11. package/dist-es/schemas/schemas_0.js +168 -16
  12. package/dist-types/RedshiftServerless.d.ts +37 -0
  13. package/dist-types/RedshiftServerlessClient.d.ts +7 -2
  14. package/dist-types/commands/CreateRoleAssociationCommand.d.ts +102 -0
  15. package/dist-types/commands/DeleteRoleAssociationCommand.d.ts +99 -0
  16. package/dist-types/commands/GetExpressConfigurationCommand.d.ts +130 -0
  17. package/dist-types/commands/ListRoleAssociationsCommand.d.ts +100 -0
  18. package/dist-types/commands/UpdateExpressConfigurationCommand.d.ts +150 -0
  19. package/dist-types/commands/index.d.ts +5 -0
  20. package/dist-types/models/enums.d.ts +35 -23
  21. package/dist-types/models/models_0.d.ts +389 -1
  22. package/dist-types/schemas/schemas_0.d.ts +24 -0
  23. package/dist-types/ts3.4/RedshiftServerless.d.ts +87 -0
  24. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +30 -0
  25. package/dist-types/ts3.4/commands/CreateRoleAssociationCommand.d.ts +39 -0
  26. package/dist-types/ts3.4/commands/DeleteRoleAssociationCommand.d.ts +39 -0
  27. package/dist-types/ts3.4/commands/GetExpressConfigurationCommand.d.ts +42 -0
  28. package/dist-types/ts3.4/commands/ListRoleAssociationsCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/UpdateExpressConfigurationCommand.d.ts +42 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  31. package/dist-types/ts3.4/models/enums.d.ts +16 -10
  32. package/dist-types/ts3.4/models/models_0.d.ts +110 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  34. package/package.json +2 -2
@@ -0,0 +1,150 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateExpressConfigurationRequest, UpdateExpressConfigurationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateExpressConfigurationCommand}.
11
+ */
12
+ export interface UpdateExpressConfigurationCommandInput extends UpdateExpressConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateExpressConfigurationCommand}.
18
+ */
19
+ export interface UpdateExpressConfigurationCommandOutput extends UpdateExpressConfigurationResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateExpressConfigurationCommand_base: {
22
+ new (input: UpdateExpressConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateExpressConfigurationCommandInput, UpdateExpressConfigurationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [UpdateExpressConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<UpdateExpressConfigurationCommandInput, UpdateExpressConfigurationCommandOutput, import("..").RedshiftServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the configuration of Amazon Redshift Serverless with express configuration. Each request can update only one of <code>configParameters</code>, <code>maxCapacity</code>, or <code>loggingConfiguration</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { RedshiftServerlessClient, UpdateExpressConfigurationCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
32
+ * // const { RedshiftServerlessClient, UpdateExpressConfigurationCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
33
+ * // import type { RedshiftServerlessClientConfig } from "@aws-sdk/client-redshift-serverless";
34
+ * const config = {}; // type is RedshiftServerlessClientConfig
35
+ * const client = new RedshiftServerlessClient(config);
36
+ * const input = { // UpdateExpressConfigurationRequest
37
+ * configParameters: [ // ConfigParameterList
38
+ * { // ConfigParameter
39
+ * parameterKey: "STRING_VALUE",
40
+ * parameterValue: "STRING_VALUE",
41
+ * },
42
+ * ],
43
+ * maxCapacity: Number("int"),
44
+ * loggingConfiguration: { // LoggingConfiguration
45
+ * logExports: [ // LogExportList
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * logDestinationType: "STRING_VALUE",
49
+ * s3TableAction: "STRING_VALUE",
50
+ * s3TableNames: [ // S3TableNameList
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * s3TableKmsKeyId: "STRING_VALUE",
54
+ * s3TableGranularity: "STRING_VALUE",
55
+ * },
56
+ * };
57
+ * const command = new UpdateExpressConfigurationCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // UpdateExpressConfigurationResponse
60
+ * // expressConfiguration: { // ExpressConfiguration
61
+ * // workgroupArn: "STRING_VALUE",
62
+ * // workgroupName: "STRING_VALUE",
63
+ * // configParameters: [ // ConfigParameterList
64
+ * // { // ConfigParameter
65
+ * // parameterKey: "STRING_VALUE",
66
+ * // parameterValue: "STRING_VALUE",
67
+ * // },
68
+ * // ],
69
+ * // maxCapacity: Number("int"),
70
+ * // endpoint: { // Endpoint
71
+ * // address: "STRING_VALUE",
72
+ * // port: Number("int"),
73
+ * // vpcEndpoints: [ // VpcEndpointList
74
+ * // { // VpcEndpoint
75
+ * // vpcEndpointId: "STRING_VALUE",
76
+ * // vpcId: "STRING_VALUE",
77
+ * // networkInterfaces: [ // NetworkInterfaceList
78
+ * // { // NetworkInterface
79
+ * // networkInterfaceId: "STRING_VALUE",
80
+ * // subnetId: "STRING_VALUE",
81
+ * // privateIpAddress: "STRING_VALUE",
82
+ * // availabilityZone: "STRING_VALUE",
83
+ * // ipv6Address: "STRING_VALUE",
84
+ * // },
85
+ * // ],
86
+ * // },
87
+ * // ],
88
+ * // },
89
+ * // dbName: "STRING_VALUE",
90
+ * // loggingConfiguration: { // LoggingConfigurationStatus
91
+ * // logExports: [ // LogExportList
92
+ * // "STRING_VALUE",
93
+ * // ],
94
+ * // s3TablePublishStatus: { // ExpressS3TablePublishStatus
95
+ * // s3Tables: [ // S3TableNameList
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // s3TableNamespace: "STRING_VALUE",
99
+ * // s3TableGranularity: "STRING_VALUE",
100
+ * // enabledAll: true || false,
101
+ * // lastIngestionTimes: { // S3TableLastIngestionTimeMap
102
+ * // "<keys>": "STRING_VALUE",
103
+ * // },
104
+ * // },
105
+ * // },
106
+ * // },
107
+ * // };
108
+ *
109
+ * ```
110
+ *
111
+ * @param UpdateExpressConfigurationCommandInput - {@link UpdateExpressConfigurationCommandInput}
112
+ * @returns {@link UpdateExpressConfigurationCommandOutput}
113
+ * @see {@link UpdateExpressConfigurationCommandInput} for command's `input` shape.
114
+ * @see {@link UpdateExpressConfigurationCommandOutput} for command's `response` shape.
115
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
116
+ *
117
+ * @throws {@link AccessDeniedException} (client fault)
118
+ * <p>You do not have sufficient access to perform this action.</p>
119
+ *
120
+ * @throws {@link ConflictException} (client fault)
121
+ * <p>The submitted action has conflicts.</p>
122
+ *
123
+ * @throws {@link InternalServerException} (server fault)
124
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
125
+ *
126
+ * @throws {@link ResourceNotFoundException} (client fault)
127
+ * <p>The resource could not be found.</p>
128
+ *
129
+ * @throws {@link ValidationException} (client fault)
130
+ * <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
131
+ *
132
+ * @throws {@link RedshiftServerlessServiceException}
133
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
134
+ *
135
+ *
136
+ * @public
137
+ */
138
+ export declare class UpdateExpressConfigurationCommand extends UpdateExpressConfigurationCommand_base {
139
+ /** @internal type navigation helper, not in runtime. */
140
+ protected static __types: {
141
+ api: {
142
+ input: UpdateExpressConfigurationRequest;
143
+ output: UpdateExpressConfigurationResponse;
144
+ };
145
+ sdk: {
146
+ input: UpdateExpressConfigurationCommandInput;
147
+ output: UpdateExpressConfigurationCommandOutput;
148
+ };
149
+ };
150
+ }
@@ -3,6 +3,7 @@ export * from "./CreateCustomDomainAssociationCommand";
3
3
  export * from "./CreateEndpointAccessCommand";
4
4
  export * from "./CreateNamespaceCommand";
5
5
  export * from "./CreateReservationCommand";
6
+ export * from "./CreateRoleAssociationCommand";
6
7
  export * from "./CreateScheduledActionCommand";
7
8
  export * from "./CreateSnapshotCommand";
8
9
  export * from "./CreateSnapshotCopyConfigurationCommand";
@@ -12,6 +13,7 @@ export * from "./DeleteCustomDomainAssociationCommand";
12
13
  export * from "./DeleteEndpointAccessCommand";
13
14
  export * from "./DeleteNamespaceCommand";
14
15
  export * from "./DeleteResourcePolicyCommand";
16
+ export * from "./DeleteRoleAssociationCommand";
15
17
  export * from "./DeleteScheduledActionCommand";
16
18
  export * from "./DeleteSnapshotCommand";
17
19
  export * from "./DeleteSnapshotCopyConfigurationCommand";
@@ -20,6 +22,7 @@ export * from "./DeleteWorkgroupCommand";
20
22
  export * from "./GetCredentialsCommand";
21
23
  export * from "./GetCustomDomainAssociationCommand";
22
24
  export * from "./GetEndpointAccessCommand";
25
+ export * from "./GetExpressConfigurationCommand";
23
26
  export * from "./GetIdentityCenterAuthTokenCommand";
24
27
  export * from "./GetNamespaceCommand";
25
28
  export * from "./GetRecoveryPointCommand";
@@ -39,6 +42,7 @@ export * from "./ListNamespacesCommand";
39
42
  export * from "./ListRecoveryPointsCommand";
40
43
  export * from "./ListReservationOfferingsCommand";
41
44
  export * from "./ListReservationsCommand";
45
+ export * from "./ListRoleAssociationsCommand";
42
46
  export * from "./ListScheduledActionsCommand";
43
47
  export * from "./ListSnapshotCopyConfigurationsCommand";
44
48
  export * from "./ListSnapshotsCommand";
@@ -56,6 +60,7 @@ export * from "./TagResourceCommand";
56
60
  export * from "./UntagResourceCommand";
57
61
  export * from "./UpdateCustomDomainAssociationCommand";
58
62
  export * from "./UpdateEndpointAccessCommand";
63
+ export * from "./UpdateExpressConfigurationCommand";
59
64
  export * from "./UpdateLakehouseConfigurationCommand";
60
65
  export * from "./UpdateNamespaceCommand";
61
66
  export * from "./UpdateScheduledActionCommand";
@@ -157,62 +157,74 @@ export type WorkgroupStatus = (typeof WorkgroupStatus)[keyof typeof WorkgroupSta
157
157
  * @public
158
158
  * @enum
159
159
  */
160
- export declare const LakehouseIdcRegistration: {
161
- readonly ASSOCIATE: "Associate";
162
- readonly DISASSOCIATE: "Disassociate";
160
+ export declare const ExpressS3TableGranularity: {
161
+ readonly ACCOUNT: "account";
162
+ readonly WORKGROUP: "workgroup";
163
163
  };
164
164
  /**
165
165
  * @public
166
166
  */
167
- export type LakehouseIdcRegistration = (typeof LakehouseIdcRegistration)[keyof typeof LakehouseIdcRegistration];
167
+ export type ExpressS3TableGranularity = (typeof ExpressS3TableGranularity)[keyof typeof ExpressS3TableGranularity];
168
168
  /**
169
169
  * @public
170
170
  * @enum
171
171
  */
172
- export declare const LakehouseRegistration: {
173
- readonly DEREGISTER: "Deregister";
174
- readonly REGISTER: "Register";
172
+ export declare const LogDestinationType: {
173
+ readonly CLOUDWATCH: "cloudwatch";
174
+ readonly S3TABLE: "s3table";
175
175
  };
176
176
  /**
177
177
  * @public
178
178
  */
179
- export type LakehouseRegistration = (typeof LakehouseRegistration)[keyof typeof LakehouseRegistration];
179
+ export type LogDestinationType = (typeof LogDestinationType)[keyof typeof LogDestinationType];
180
180
  /**
181
181
  * @public
182
182
  * @enum
183
183
  */
184
- export declare const ManagedWorkgroupStatus: {
185
- readonly AVAILABLE: "AVAILABLE";
186
- readonly CREATING: "CREATING";
187
- readonly DELETING: "DELETING";
188
- readonly MODIFYING: "MODIFYING";
189
- readonly NOT_AVAILABLE: "NOT_AVAILABLE";
184
+ export declare const S3TableAction: {
185
+ readonly DISABLE: "Disable";
186
+ readonly ENABLE: "Enable";
190
187
  };
191
188
  /**
192
189
  * @public
193
190
  */
194
- export type ManagedWorkgroupStatus = (typeof ManagedWorkgroupStatus)[keyof typeof ManagedWorkgroupStatus];
191
+ export type S3TableAction = (typeof S3TableAction)[keyof typeof S3TableAction];
195
192
  /**
196
193
  * @public
197
194
  * @enum
198
195
  */
199
- export declare const LogDestinationType: {
200
- readonly CLOUDWATCH: "cloudwatch";
201
- readonly S3TABLE: "s3table";
196
+ export declare const LakehouseIdcRegistration: {
197
+ readonly ASSOCIATE: "Associate";
198
+ readonly DISASSOCIATE: "Disassociate";
202
199
  };
203
200
  /**
204
201
  * @public
205
202
  */
206
- export type LogDestinationType = (typeof LogDestinationType)[keyof typeof LogDestinationType];
203
+ export type LakehouseIdcRegistration = (typeof LakehouseIdcRegistration)[keyof typeof LakehouseIdcRegistration];
207
204
  /**
208
205
  * @public
209
206
  * @enum
210
207
  */
211
- export declare const S3TableAction: {
212
- readonly DISABLE: "Disable";
213
- readonly ENABLE: "Enable";
208
+ export declare const LakehouseRegistration: {
209
+ readonly DEREGISTER: "Deregister";
210
+ readonly REGISTER: "Register";
214
211
  };
215
212
  /**
216
213
  * @public
217
214
  */
218
- export type S3TableAction = (typeof S3TableAction)[keyof typeof S3TableAction];
215
+ export type LakehouseRegistration = (typeof LakehouseRegistration)[keyof typeof LakehouseRegistration];
216
+ /**
217
+ * @public
218
+ * @enum
219
+ */
220
+ export declare const ManagedWorkgroupStatus: {
221
+ readonly AVAILABLE: "AVAILABLE";
222
+ readonly CREATING: "CREATING";
223
+ readonly DELETING: "DELETING";
224
+ readonly MODIFYING: "MODIFYING";
225
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
226
+ };
227
+ /**
228
+ * @public
229
+ */
230
+ export type ManagedWorkgroupStatus = (typeof ManagedWorkgroupStatus)[keyof typeof ManagedWorkgroupStatus];