@aws-sdk/client-redshift-serverless 3.437.0 → 3.439.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 (60) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/RedshiftServerless.js +10 -0
  3. package/dist-cjs/commands/CreateCustomDomainAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteCustomDomainAssociationCommand.js +51 -0
  5. package/dist-cjs/commands/GetCustomDomainAssociationCommand.js +51 -0
  6. package/dist-cjs/commands/ListCustomDomainAssociationsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateCustomDomainAssociationCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/endpointResolver.js +1 -1
  10. package/dist-cjs/index.js +1 -0
  11. package/dist-cjs/models/models_0.js +16 -16
  12. package/dist-cjs/pagination/ListCustomDomainAssociationsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +323 -2
  15. package/dist-es/RedshiftServerless.js +10 -0
  16. package/dist-es/commands/CreateCustomDomainAssociationCommand.js +47 -0
  17. package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +47 -0
  18. package/dist-es/commands/GetCustomDomainAssociationCommand.js +47 -0
  19. package/dist-es/commands/ListCustomDomainAssociationsCommand.js +47 -0
  20. package/dist-es/commands/UpdateCustomDomainAssociationCommand.js +47 -0
  21. package/dist-es/commands/index.js +5 -0
  22. package/dist-es/endpoint/endpointResolver.js +1 -1
  23. package/dist-es/index.js +1 -0
  24. package/dist-es/models/models_0.js +14 -14
  25. package/dist-es/pagination/ListCustomDomainAssociationsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_json1_1.js +311 -0
  28. package/dist-types/RedshiftServerless.d.ts +35 -0
  29. package/dist-types/RedshiftServerlessClient.d.ts +7 -2
  30. package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +96 -0
  31. package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -0
  32. package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +90 -0
  33. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +3 -0
  34. package/dist-types/commands/GetCredentialsCommand.d.ts +2 -1
  35. package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +95 -0
  36. package/dist-types/commands/GetWorkgroupCommand.d.ts +3 -0
  37. package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +99 -0
  38. package/dist-types/commands/ListWorkgroupsCommand.d.ts +3 -0
  39. package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +96 -0
  40. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -0
  41. package/dist-types/commands/index.d.ts +5 -0
  42. package/dist-types/index.d.ts +1 -0
  43. package/dist-types/models/models_0.d.ts +261 -20
  44. package/dist-types/pagination/ListCustomDomainAssociationsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  47. package/dist-types/ts3.4/RedshiftServerless.d.ts +85 -0
  48. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +30 -0
  49. package/dist-types/ts3.4/commands/CreateCustomDomainAssociationCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/GetCustomDomainAssociationCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListCustomDomainAssociationsCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/UpdateCustomDomainAssociationCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +67 -10
  57. package/dist-types/ts3.4/pagination/ListCustomDomainAssociationsPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  60. package/package.json +6 -5
@@ -3,6 +3,10 @@ import {
3
3
  ConvertRecoveryPointToSnapshotCommandInput,
4
4
  ConvertRecoveryPointToSnapshotCommandOutput,
5
5
  } from "./commands/ConvertRecoveryPointToSnapshotCommand";
6
+ import {
7
+ CreateCustomDomainAssociationCommandInput,
8
+ CreateCustomDomainAssociationCommandOutput,
9
+ } from "./commands/CreateCustomDomainAssociationCommand";
6
10
  import {
7
11
  CreateEndpointAccessCommandInput,
8
12
  CreateEndpointAccessCommandOutput,
@@ -23,6 +27,10 @@ import {
23
27
  CreateWorkgroupCommandInput,
24
28
  CreateWorkgroupCommandOutput,
25
29
  } from "./commands/CreateWorkgroupCommand";
30
+ import {
31
+ DeleteCustomDomainAssociationCommandInput,
32
+ DeleteCustomDomainAssociationCommandOutput,
33
+ } from "./commands/DeleteCustomDomainAssociationCommand";
26
34
  import {
27
35
  DeleteEndpointAccessCommandInput,
28
36
  DeleteEndpointAccessCommandOutput,
@@ -51,6 +59,10 @@ import {
51
59
  GetCredentialsCommandInput,
52
60
  GetCredentialsCommandOutput,
53
61
  } from "./commands/GetCredentialsCommand";
62
+ import {
63
+ GetCustomDomainAssociationCommandInput,
64
+ GetCustomDomainAssociationCommandOutput,
65
+ } from "./commands/GetCustomDomainAssociationCommand";
54
66
  import {
55
67
  GetEndpointAccessCommandInput,
56
68
  GetEndpointAccessCommandOutput,
@@ -83,6 +95,10 @@ import {
83
95
  GetWorkgroupCommandInput,
84
96
  GetWorkgroupCommandOutput,
85
97
  } from "./commands/GetWorkgroupCommand";
98
+ import {
99
+ ListCustomDomainAssociationsCommandInput,
100
+ ListCustomDomainAssociationsCommandOutput,
101
+ } from "./commands/ListCustomDomainAssociationsCommand";
86
102
  import {
87
103
  ListEndpointAccessCommandInput,
88
104
  ListEndpointAccessCommandOutput,
@@ -139,6 +155,10 @@ import {
139
155
  UntagResourceCommandInput,
140
156
  UntagResourceCommandOutput,
141
157
  } from "./commands/UntagResourceCommand";
158
+ import {
159
+ UpdateCustomDomainAssociationCommandInput,
160
+ UpdateCustomDomainAssociationCommandOutput,
161
+ } from "./commands/UpdateCustomDomainAssociationCommand";
142
162
  import {
143
163
  UpdateEndpointAccessCommandInput,
144
164
  UpdateEndpointAccessCommandOutput,
@@ -174,6 +194,19 @@ export interface RedshiftServerless {
174
194
  options: __HttpHandlerOptions,
175
195
  cb: (err: any, data?: ConvertRecoveryPointToSnapshotCommandOutput) => void
176
196
  ): void;
197
+ createCustomDomainAssociation(
198
+ args: CreateCustomDomainAssociationCommandInput,
199
+ options?: __HttpHandlerOptions
200
+ ): Promise<CreateCustomDomainAssociationCommandOutput>;
201
+ createCustomDomainAssociation(
202
+ args: CreateCustomDomainAssociationCommandInput,
203
+ cb: (err: any, data?: CreateCustomDomainAssociationCommandOutput) => void
204
+ ): void;
205
+ createCustomDomainAssociation(
206
+ args: CreateCustomDomainAssociationCommandInput,
207
+ options: __HttpHandlerOptions,
208
+ cb: (err: any, data?: CreateCustomDomainAssociationCommandOutput) => void
209
+ ): void;
177
210
  createEndpointAccess(
178
211
  args: CreateEndpointAccessCommandInput,
179
212
  options?: __HttpHandlerOptions
@@ -239,6 +272,19 @@ export interface RedshiftServerless {
239
272
  options: __HttpHandlerOptions,
240
273
  cb: (err: any, data?: CreateWorkgroupCommandOutput) => void
241
274
  ): void;
275
+ deleteCustomDomainAssociation(
276
+ args: DeleteCustomDomainAssociationCommandInput,
277
+ options?: __HttpHandlerOptions
278
+ ): Promise<DeleteCustomDomainAssociationCommandOutput>;
279
+ deleteCustomDomainAssociation(
280
+ args: DeleteCustomDomainAssociationCommandInput,
281
+ cb: (err: any, data?: DeleteCustomDomainAssociationCommandOutput) => void
282
+ ): void;
283
+ deleteCustomDomainAssociation(
284
+ args: DeleteCustomDomainAssociationCommandInput,
285
+ options: __HttpHandlerOptions,
286
+ cb: (err: any, data?: DeleteCustomDomainAssociationCommandOutput) => void
287
+ ): void;
242
288
  deleteEndpointAccess(
243
289
  args: DeleteEndpointAccessCommandInput,
244
290
  options?: __HttpHandlerOptions
@@ -330,6 +376,19 @@ export interface RedshiftServerless {
330
376
  options: __HttpHandlerOptions,
331
377
  cb: (err: any, data?: GetCredentialsCommandOutput) => void
332
378
  ): void;
379
+ getCustomDomainAssociation(
380
+ args: GetCustomDomainAssociationCommandInput,
381
+ options?: __HttpHandlerOptions
382
+ ): Promise<GetCustomDomainAssociationCommandOutput>;
383
+ getCustomDomainAssociation(
384
+ args: GetCustomDomainAssociationCommandInput,
385
+ cb: (err: any, data?: GetCustomDomainAssociationCommandOutput) => void
386
+ ): void;
387
+ getCustomDomainAssociation(
388
+ args: GetCustomDomainAssociationCommandInput,
389
+ options: __HttpHandlerOptions,
390
+ cb: (err: any, data?: GetCustomDomainAssociationCommandOutput) => void
391
+ ): void;
333
392
  getEndpointAccess(
334
393
  args: GetEndpointAccessCommandInput,
335
394
  options?: __HttpHandlerOptions
@@ -434,6 +493,19 @@ export interface RedshiftServerless {
434
493
  options: __HttpHandlerOptions,
435
494
  cb: (err: any, data?: GetWorkgroupCommandOutput) => void
436
495
  ): void;
496
+ listCustomDomainAssociations(
497
+ args: ListCustomDomainAssociationsCommandInput,
498
+ options?: __HttpHandlerOptions
499
+ ): Promise<ListCustomDomainAssociationsCommandOutput>;
500
+ listCustomDomainAssociations(
501
+ args: ListCustomDomainAssociationsCommandInput,
502
+ cb: (err: any, data?: ListCustomDomainAssociationsCommandOutput) => void
503
+ ): void;
504
+ listCustomDomainAssociations(
505
+ args: ListCustomDomainAssociationsCommandInput,
506
+ options: __HttpHandlerOptions,
507
+ cb: (err: any, data?: ListCustomDomainAssociationsCommandOutput) => void
508
+ ): void;
437
509
  listEndpointAccess(
438
510
  args: ListEndpointAccessCommandInput,
439
511
  options?: __HttpHandlerOptions
@@ -616,6 +688,19 @@ export interface RedshiftServerless {
616
688
  options: __HttpHandlerOptions,
617
689
  cb: (err: any, data?: UntagResourceCommandOutput) => void
618
690
  ): void;
691
+ updateCustomDomainAssociation(
692
+ args: UpdateCustomDomainAssociationCommandInput,
693
+ options?: __HttpHandlerOptions
694
+ ): Promise<UpdateCustomDomainAssociationCommandOutput>;
695
+ updateCustomDomainAssociation(
696
+ args: UpdateCustomDomainAssociationCommandInput,
697
+ cb: (err: any, data?: UpdateCustomDomainAssociationCommandOutput) => void
698
+ ): void;
699
+ updateCustomDomainAssociation(
700
+ args: UpdateCustomDomainAssociationCommandInput,
701
+ options: __HttpHandlerOptions,
702
+ cb: (err: any, data?: UpdateCustomDomainAssociationCommandOutput) => void
703
+ ): void;
619
704
  updateEndpointAccess(
620
705
  args: UpdateEndpointAccessCommandInput,
621
706
  options?: __HttpHandlerOptions
@@ -49,6 +49,10 @@ import {
49
49
  ConvertRecoveryPointToSnapshotCommandInput,
50
50
  ConvertRecoveryPointToSnapshotCommandOutput,
51
51
  } from "./commands/ConvertRecoveryPointToSnapshotCommand";
52
+ import {
53
+ CreateCustomDomainAssociationCommandInput,
54
+ CreateCustomDomainAssociationCommandOutput,
55
+ } from "./commands/CreateCustomDomainAssociationCommand";
52
56
  import {
53
57
  CreateEndpointAccessCommandInput,
54
58
  CreateEndpointAccessCommandOutput,
@@ -69,6 +73,10 @@ import {
69
73
  CreateWorkgroupCommandInput,
70
74
  CreateWorkgroupCommandOutput,
71
75
  } from "./commands/CreateWorkgroupCommand";
76
+ import {
77
+ DeleteCustomDomainAssociationCommandInput,
78
+ DeleteCustomDomainAssociationCommandOutput,
79
+ } from "./commands/DeleteCustomDomainAssociationCommand";
72
80
  import {
73
81
  DeleteEndpointAccessCommandInput,
74
82
  DeleteEndpointAccessCommandOutput,
@@ -97,6 +105,10 @@ import {
97
105
  GetCredentialsCommandInput,
98
106
  GetCredentialsCommandOutput,
99
107
  } from "./commands/GetCredentialsCommand";
108
+ import {
109
+ GetCustomDomainAssociationCommandInput,
110
+ GetCustomDomainAssociationCommandOutput,
111
+ } from "./commands/GetCustomDomainAssociationCommand";
100
112
  import {
101
113
  GetEndpointAccessCommandInput,
102
114
  GetEndpointAccessCommandOutput,
@@ -129,6 +141,10 @@ import {
129
141
  GetWorkgroupCommandInput,
130
142
  GetWorkgroupCommandOutput,
131
143
  } from "./commands/GetWorkgroupCommand";
144
+ import {
145
+ ListCustomDomainAssociationsCommandInput,
146
+ ListCustomDomainAssociationsCommandOutput,
147
+ } from "./commands/ListCustomDomainAssociationsCommand";
132
148
  import {
133
149
  ListEndpointAccessCommandInput,
134
150
  ListEndpointAccessCommandOutput,
@@ -185,6 +201,10 @@ import {
185
201
  UntagResourceCommandInput,
186
202
  UntagResourceCommandOutput,
187
203
  } from "./commands/UntagResourceCommand";
204
+ import {
205
+ UpdateCustomDomainAssociationCommandInput,
206
+ UpdateCustomDomainAssociationCommandOutput,
207
+ } from "./commands/UpdateCustomDomainAssociationCommand";
188
208
  import {
189
209
  UpdateEndpointAccessCommandInput,
190
210
  UpdateEndpointAccessCommandOutput,
@@ -214,11 +234,13 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
214
234
  export { __Client };
215
235
  export type ServiceInputTypes =
216
236
  | ConvertRecoveryPointToSnapshotCommandInput
237
+ | CreateCustomDomainAssociationCommandInput
217
238
  | CreateEndpointAccessCommandInput
218
239
  | CreateNamespaceCommandInput
219
240
  | CreateSnapshotCommandInput
220
241
  | CreateUsageLimitCommandInput
221
242
  | CreateWorkgroupCommandInput
243
+ | DeleteCustomDomainAssociationCommandInput
222
244
  | DeleteEndpointAccessCommandInput
223
245
  | DeleteNamespaceCommandInput
224
246
  | DeleteResourcePolicyCommandInput
@@ -226,6 +248,7 @@ export type ServiceInputTypes =
226
248
  | DeleteUsageLimitCommandInput
227
249
  | DeleteWorkgroupCommandInput
228
250
  | GetCredentialsCommandInput
251
+ | GetCustomDomainAssociationCommandInput
229
252
  | GetEndpointAccessCommandInput
230
253
  | GetNamespaceCommandInput
231
254
  | GetRecoveryPointCommandInput
@@ -234,6 +257,7 @@ export type ServiceInputTypes =
234
257
  | GetTableRestoreStatusCommandInput
235
258
  | GetUsageLimitCommandInput
236
259
  | GetWorkgroupCommandInput
260
+ | ListCustomDomainAssociationsCommandInput
237
261
  | ListEndpointAccessCommandInput
238
262
  | ListNamespacesCommandInput
239
263
  | ListRecoveryPointsCommandInput
@@ -248,6 +272,7 @@ export type ServiceInputTypes =
248
272
  | RestoreTableFromSnapshotCommandInput
249
273
  | TagResourceCommandInput
250
274
  | UntagResourceCommandInput
275
+ | UpdateCustomDomainAssociationCommandInput
251
276
  | UpdateEndpointAccessCommandInput
252
277
  | UpdateNamespaceCommandInput
253
278
  | UpdateSnapshotCommandInput
@@ -255,11 +280,13 @@ export type ServiceInputTypes =
255
280
  | UpdateWorkgroupCommandInput;
256
281
  export type ServiceOutputTypes =
257
282
  | ConvertRecoveryPointToSnapshotCommandOutput
283
+ | CreateCustomDomainAssociationCommandOutput
258
284
  | CreateEndpointAccessCommandOutput
259
285
  | CreateNamespaceCommandOutput
260
286
  | CreateSnapshotCommandOutput
261
287
  | CreateUsageLimitCommandOutput
262
288
  | CreateWorkgroupCommandOutput
289
+ | DeleteCustomDomainAssociationCommandOutput
263
290
  | DeleteEndpointAccessCommandOutput
264
291
  | DeleteNamespaceCommandOutput
265
292
  | DeleteResourcePolicyCommandOutput
@@ -267,6 +294,7 @@ export type ServiceOutputTypes =
267
294
  | DeleteUsageLimitCommandOutput
268
295
  | DeleteWorkgroupCommandOutput
269
296
  | GetCredentialsCommandOutput
297
+ | GetCustomDomainAssociationCommandOutput
270
298
  | GetEndpointAccessCommandOutput
271
299
  | GetNamespaceCommandOutput
272
300
  | GetRecoveryPointCommandOutput
@@ -275,6 +303,7 @@ export type ServiceOutputTypes =
275
303
  | GetTableRestoreStatusCommandOutput
276
304
  | GetUsageLimitCommandOutput
277
305
  | GetWorkgroupCommandOutput
306
+ | ListCustomDomainAssociationsCommandOutput
278
307
  | ListEndpointAccessCommandOutput
279
308
  | ListNamespacesCommandOutput
280
309
  | ListRecoveryPointsCommandOutput
@@ -289,6 +318,7 @@ export type ServiceOutputTypes =
289
318
  | RestoreTableFromSnapshotCommandOutput
290
319
  | TagResourceCommandOutput
291
320
  | UntagResourceCommandOutput
321
+ | UpdateCustomDomainAssociationCommandOutput
292
322
  | UpdateEndpointAccessCommandOutput
293
323
  | UpdateNamespaceCommandOutput
294
324
  | UpdateSnapshotCommandOutput
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CreateCustomDomainAssociationRequest,
11
+ CreateCustomDomainAssociationResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RedshiftServerlessClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RedshiftServerlessClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreateCustomDomainAssociationCommandInput
20
+ extends CreateCustomDomainAssociationRequest {}
21
+ export interface CreateCustomDomainAssociationCommandOutput
22
+ extends CreateCustomDomainAssociationResponse,
23
+ __MetadataBearer {}
24
+ export declare class CreateCustomDomainAssociationCommand extends $Command<
25
+ CreateCustomDomainAssociationCommandInput,
26
+ CreateCustomDomainAssociationCommandOutput,
27
+ RedshiftServerlessClientResolvedConfig
28
+ > {
29
+ readonly input: CreateCustomDomainAssociationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: CreateCustomDomainAssociationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RedshiftServerlessClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ CreateCustomDomainAssociationCommandInput,
38
+ CreateCustomDomainAssociationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ DeleteCustomDomainAssociationRequest,
11
+ DeleteCustomDomainAssociationResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RedshiftServerlessClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RedshiftServerlessClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DeleteCustomDomainAssociationCommandInput
20
+ extends DeleteCustomDomainAssociationRequest {}
21
+ export interface DeleteCustomDomainAssociationCommandOutput
22
+ extends DeleteCustomDomainAssociationResponse,
23
+ __MetadataBearer {}
24
+ export declare class DeleteCustomDomainAssociationCommand extends $Command<
25
+ DeleteCustomDomainAssociationCommandInput,
26
+ DeleteCustomDomainAssociationCommandOutput,
27
+ RedshiftServerlessClientResolvedConfig
28
+ > {
29
+ readonly input: DeleteCustomDomainAssociationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DeleteCustomDomainAssociationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RedshiftServerlessClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DeleteCustomDomainAssociationCommandInput,
38
+ DeleteCustomDomainAssociationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ GetCustomDomainAssociationRequest,
11
+ GetCustomDomainAssociationResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RedshiftServerlessClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RedshiftServerlessClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetCustomDomainAssociationCommandInput
20
+ extends GetCustomDomainAssociationRequest {}
21
+ export interface GetCustomDomainAssociationCommandOutput
22
+ extends GetCustomDomainAssociationResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetCustomDomainAssociationCommand extends $Command<
25
+ GetCustomDomainAssociationCommandInput,
26
+ GetCustomDomainAssociationCommandOutput,
27
+ RedshiftServerlessClientResolvedConfig
28
+ > {
29
+ readonly input: GetCustomDomainAssociationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetCustomDomainAssociationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RedshiftServerlessClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetCustomDomainAssociationCommandInput,
38
+ GetCustomDomainAssociationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListCustomDomainAssociationsRequest,
11
+ ListCustomDomainAssociationsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RedshiftServerlessClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RedshiftServerlessClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListCustomDomainAssociationsCommandInput
20
+ extends ListCustomDomainAssociationsRequest {}
21
+ export interface ListCustomDomainAssociationsCommandOutput
22
+ extends ListCustomDomainAssociationsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListCustomDomainAssociationsCommand extends $Command<
25
+ ListCustomDomainAssociationsCommandInput,
26
+ ListCustomDomainAssociationsCommandOutput,
27
+ RedshiftServerlessClientResolvedConfig
28
+ > {
29
+ readonly input: ListCustomDomainAssociationsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListCustomDomainAssociationsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RedshiftServerlessClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListCustomDomainAssociationsCommandInput,
38
+ ListCustomDomainAssociationsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ UpdateCustomDomainAssociationRequest,
11
+ UpdateCustomDomainAssociationResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ RedshiftServerlessClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../RedshiftServerlessClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateCustomDomainAssociationCommandInput
20
+ extends UpdateCustomDomainAssociationRequest {}
21
+ export interface UpdateCustomDomainAssociationCommandOutput
22
+ extends UpdateCustomDomainAssociationResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateCustomDomainAssociationCommand extends $Command<
25
+ UpdateCustomDomainAssociationCommandInput,
26
+ UpdateCustomDomainAssociationCommandOutput,
27
+ RedshiftServerlessClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateCustomDomainAssociationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateCustomDomainAssociationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: RedshiftServerlessClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateCustomDomainAssociationCommandInput,
38
+ UpdateCustomDomainAssociationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,9 +1,11 @@
1
1
  export * from "./ConvertRecoveryPointToSnapshotCommand";
2
+ export * from "./CreateCustomDomainAssociationCommand";
2
3
  export * from "./CreateEndpointAccessCommand";
3
4
  export * from "./CreateNamespaceCommand";
4
5
  export * from "./CreateSnapshotCommand";
5
6
  export * from "./CreateUsageLimitCommand";
6
7
  export * from "./CreateWorkgroupCommand";
8
+ export * from "./DeleteCustomDomainAssociationCommand";
7
9
  export * from "./DeleteEndpointAccessCommand";
8
10
  export * from "./DeleteNamespaceCommand";
9
11
  export * from "./DeleteResourcePolicyCommand";
@@ -11,6 +13,7 @@ export * from "./DeleteSnapshotCommand";
11
13
  export * from "./DeleteUsageLimitCommand";
12
14
  export * from "./DeleteWorkgroupCommand";
13
15
  export * from "./GetCredentialsCommand";
16
+ export * from "./GetCustomDomainAssociationCommand";
14
17
  export * from "./GetEndpointAccessCommand";
15
18
  export * from "./GetNamespaceCommand";
16
19
  export * from "./GetRecoveryPointCommand";
@@ -19,6 +22,7 @@ export * from "./GetSnapshotCommand";
19
22
  export * from "./GetTableRestoreStatusCommand";
20
23
  export * from "./GetUsageLimitCommand";
21
24
  export * from "./GetWorkgroupCommand";
25
+ export * from "./ListCustomDomainAssociationsCommand";
22
26
  export * from "./ListEndpointAccessCommand";
23
27
  export * from "./ListNamespacesCommand";
24
28
  export * from "./ListRecoveryPointsCommand";
@@ -33,6 +37,7 @@ export * from "./RestoreFromSnapshotCommand";
33
37
  export * from "./RestoreTableFromSnapshotCommand";
34
38
  export * from "./TagResourceCommand";
35
39
  export * from "./UntagResourceCommand";
40
+ export * from "./UpdateCustomDomainAssociationCommand";
36
41
  export * from "./UpdateEndpointAccessCommand";
37
42
  export * from "./UpdateNamespaceCommand";
38
43
  export * from "./UpdateSnapshotCommand";
@@ -4,4 +4,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export * from "./commands";
5
5
  export * from "./pagination";
6
6
  export * from "./models";
7
+ import "@aws-sdk/util-endpoints";
7
8
  export { RedshiftServerlessServiceException } from "./models/RedshiftServerlessServiceException";
@@ -8,6 +8,12 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
+ export interface Association {
12
+ customDomainCertificateArn?: string;
13
+ customDomainCertificateExpiryTime?: Date;
14
+ customDomainName?: string;
15
+ workgroupName?: string;
16
+ }
11
17
  export interface ConfigParameter {
12
18
  parameterKey?: string;
13
19
  parameterValue?: string;
@@ -102,6 +108,26 @@ export declare class ValidationException extends __BaseException {
102
108
  opts: __ExceptionOptionType<ValidationException, __BaseException>
103
109
  );
104
110
  }
111
+ export interface CreateCustomDomainAssociationRequest {
112
+ workgroupName: string | undefined;
113
+ customDomainName: string | undefined;
114
+ customDomainCertificateArn: string | undefined;
115
+ }
116
+ export interface CreateCustomDomainAssociationResponse {
117
+ customDomainName?: string;
118
+ workgroupName?: string;
119
+ customDomainCertificateArn?: string;
120
+ customDomainCertificateExpiryTime?: Date;
121
+ }
122
+ export declare class ThrottlingException extends __BaseException {
123
+ readonly name: "ThrottlingException";
124
+ readonly $fault: "client";
125
+ $retryable: {};
126
+ code?: string;
127
+ constructor(
128
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
129
+ );
130
+ }
105
131
  export interface CreateEndpointAccessRequest {
106
132
  endpointName: string | undefined;
107
133
  subnetIds: string[] | undefined;
@@ -270,6 +296,9 @@ export interface Workgroup {
270
296
  publiclyAccessible?: boolean;
271
297
  creationDate?: Date;
272
298
  port?: number;
299
+ customDomainName?: string;
300
+ customDomainCertificateArn?: string;
301
+ customDomainCertificateExpiryTime?: Date;
273
302
  workgroupVersion?: string;
274
303
  patchVersion?: string;
275
304
  }
@@ -313,6 +342,11 @@ export interface UpdateEndpointAccessRequest {
313
342
  export interface UpdateEndpointAccessResponse {
314
343
  endpoint?: EndpointAccess;
315
344
  }
345
+ export interface DeleteCustomDomainAssociationRequest {
346
+ workgroupName: string | undefined;
347
+ customDomainName: string | undefined;
348
+ }
349
+ export interface DeleteCustomDomainAssociationResponse {}
316
350
  export interface DeleteNamespaceRequest {
317
351
  namespaceName: string | undefined;
318
352
  finalSnapshotName?: string;
@@ -344,9 +378,10 @@ export interface DeleteWorkgroupResponse {
344
378
  workgroup: Workgroup | undefined;
345
379
  }
346
380
  export interface GetCredentialsRequest {
347
- workgroupName: string | undefined;
348
381
  dbName?: string;
349
382
  durationSeconds?: number;
383
+ workgroupName?: string;
384
+ customDomainName?: string;
350
385
  }
351
386
  export interface GetCredentialsResponse {
352
387
  dbUser?: string;
@@ -354,6 +389,16 @@ export interface GetCredentialsResponse {
354
389
  expiration?: Date;
355
390
  nextRefreshTime?: Date;
356
391
  }
392
+ export interface GetCustomDomainAssociationRequest {
393
+ customDomainName: string | undefined;
394
+ workgroupName: string | undefined;
395
+ }
396
+ export interface GetCustomDomainAssociationResponse {
397
+ customDomainName?: string;
398
+ workgroupName?: string;
399
+ customDomainCertificateArn?: string;
400
+ customDomainCertificateExpiryTime?: Date;
401
+ }
357
402
  export interface GetNamespaceRequest {
358
403
  namespaceName: string | undefined;
359
404
  }
@@ -434,6 +479,16 @@ export declare class InvalidPaginationException extends __BaseException {
434
479
  opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>
435
480
  );
436
481
  }
482
+ export interface ListCustomDomainAssociationsRequest {
483
+ nextToken?: string;
484
+ maxResults?: number;
485
+ customDomainName?: string;
486
+ customDomainCertificateArn?: string;
487
+ }
488
+ export interface ListCustomDomainAssociationsResponse {
489
+ nextToken?: string;
490
+ associations?: Association[];
491
+ }
437
492
  export interface ListNamespacesRequest {
438
493
  nextToken?: string;
439
494
  maxResults?: number;
@@ -483,15 +538,6 @@ export interface ListTagsForResourceRequest {
483
538
  export interface ListTagsForResourceResponse {
484
539
  tags?: Tag[];
485
540
  }
486
- export declare class ThrottlingException extends __BaseException {
487
- readonly name: "ThrottlingException";
488
- readonly $fault: "client";
489
- $retryable: {};
490
- code?: string;
491
- constructor(
492
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
493
- );
494
- }
495
541
  export interface ListUsageLimitsRequest {
496
542
  resourceArn?: string;
497
543
  usageType?: UsageLimitUsageType;
@@ -586,6 +632,17 @@ export interface UntagResourceRequest {
586
632
  tagKeys: string[] | undefined;
587
633
  }
588
634
  export interface UntagResourceResponse {}
635
+ export interface UpdateCustomDomainAssociationRequest {
636
+ workgroupName: string | undefined;
637
+ customDomainName: string | undefined;
638
+ customDomainCertificateArn: string | undefined;
639
+ }
640
+ export interface UpdateCustomDomainAssociationResponse {
641
+ customDomainName?: string;
642
+ workgroupName?: string;
643
+ customDomainCertificateArn?: string;
644
+ customDomainCertificateExpiryTime?: Date;
645
+ }
589
646
  export interface UpdateUsageLimitRequest {
590
647
  usageLimitId: string | undefined;
591
648
  amount?: number;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCustomDomainAssociationsCommandInput,
4
+ ListCustomDomainAssociationsCommandOutput,
5
+ } from "../commands/ListCustomDomainAssociationsCommand";
6
+ import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListCustomDomainAssociations(
8
+ config: RedshiftServerlessPaginationConfiguration,
9
+ input: ListCustomDomainAssociationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListCustomDomainAssociationsCommandOutput>;