@aws-sdk/client-redshift-serverless 3.936.0 → 3.938.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 (86) hide show
  1. package/README.md +9 -9
  2. package/dist-cjs/index.js +76 -2
  3. package/dist-es/RedshiftServerless.js +2 -0
  4. package/dist-es/commands/UpdateLakehouseConfigurationCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/errors.js +12 -0
  7. package/dist-es/models/models_0.js +8 -0
  8. package/dist-es/schemas/schemas_0.js +50 -3
  9. package/dist-types/RedshiftServerless.d.ts +8 -9
  10. package/dist-types/RedshiftServerlessClient.d.ts +4 -11
  11. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +2 -3
  12. package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateNamespaceCommand.d.ts +3 -1
  15. package/dist-types/commands/CreateReservationCommand.d.ts +2 -3
  16. package/dist-types/commands/CreateScheduledActionCommand.d.ts +2 -3
  17. package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -5
  18. package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateUsageLimitCommand.d.ts +2 -3
  20. package/dist-types/commands/CreateWorkgroupCommand.d.ts +2 -19
  21. package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteNamespaceCommand.d.ts +4 -3
  24. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +1 -1
  30. package/dist-types/commands/GetCredentialsCommand.d.ts +2 -10
  31. package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +1 -1
  32. package/dist-types/commands/GetEndpointAccessCommand.d.ts +1 -1
  33. package/dist-types/commands/GetNamespaceCommand.d.ts +3 -1
  34. package/dist-types/commands/GetRecoveryPointCommand.d.ts +1 -1
  35. package/dist-types/commands/GetReservationCommand.d.ts +2 -3
  36. package/dist-types/commands/GetReservationOfferingCommand.d.ts +1 -1
  37. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  38. package/dist-types/commands/GetScheduledActionCommand.d.ts +1 -1
  39. package/dist-types/commands/GetSnapshotCommand.d.ts +1 -1
  40. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +1 -1
  41. package/dist-types/commands/GetTrackCommand.d.ts +1 -1
  42. package/dist-types/commands/GetUsageLimitCommand.d.ts +1 -1
  43. package/dist-types/commands/GetWorkgroupCommand.d.ts +1 -1
  44. package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -1
  46. package/dist-types/commands/ListNamespacesCommand.d.ts +3 -1
  47. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListReservationOfferingsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListReservationsCommand.d.ts +1 -1
  50. package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
  51. package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +1 -1
  52. package/dist-types/commands/ListSnapshotsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +1 -1
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  55. package/dist-types/commands/ListTracksCommand.d.ts +1 -1
  56. package/dist-types/commands/ListUsageLimitsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListWorkgroupsCommand.d.ts +1 -1
  58. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  59. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +3 -1
  60. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +3 -1
  61. package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +1 -1
  62. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +2 -3
  63. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  65. package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateLakehouseConfigurationCommand.d.ts +97 -0
  68. package/dist-types/commands/UpdateNamespaceCommand.d.ts +4 -4
  69. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +2 -21
  74. package/dist-types/commands/index.d.ts +1 -0
  75. package/dist-types/index.d.ts +1 -9
  76. package/dist-types/models/errors.d.ts +13 -1
  77. package/dist-types/models/models_0.d.ts +195 -345
  78. package/dist-types/schemas/schemas_0.d.ts +4 -0
  79. package/dist-types/ts3.4/RedshiftServerless.d.ts +17 -0
  80. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +6 -0
  81. package/dist-types/ts3.4/commands/UpdateLakehouseConfigurationCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  83. package/dist-types/ts3.4/models/errors.d.ts +5 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +28 -0
  85. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  86. package/package.json +1 -1
@@ -44,6 +44,7 @@ export declare var DeleteUsageLimitRequest: StaticStructureSchema;
44
44
  export declare var DeleteUsageLimitResponse: StaticStructureSchema;
45
45
  export declare var DeleteWorkgroupRequest: StaticStructureSchema;
46
46
  export declare var DeleteWorkgroupResponse: StaticStructureSchema;
47
+ export declare var DryRunException: StaticErrorSchema;
47
48
  export declare var Endpoint: StaticStructureSchema;
48
49
  export declare var EndpointAccess: StaticStructureSchema;
49
50
  export declare var GetCredentialsRequest: StaticStructureSchema;
@@ -145,6 +146,8 @@ export declare var UpdateCustomDomainAssociationRequest: StaticStructureSchema;
145
146
  export declare var UpdateCustomDomainAssociationResponse: StaticStructureSchema;
146
147
  export declare var UpdateEndpointAccessRequest: StaticStructureSchema;
147
148
  export declare var UpdateEndpointAccessResponse: StaticStructureSchema;
149
+ export declare var UpdateLakehouseConfigurationRequest: StaticStructureSchema;
150
+ export declare var UpdateLakehouseConfigurationResponse: StaticStructureSchema;
148
151
  export declare var UpdateNamespaceRequest: StaticStructureSchema;
149
152
  export declare var UpdateNamespaceResponse: StaticStructureSchema;
150
153
  export declare var UpdateScheduledActionRequest: StaticStructureSchema;
@@ -253,6 +256,7 @@ export declare var TagResource: StaticOperationSchema;
253
256
  export declare var UntagResource: StaticOperationSchema;
254
257
  export declare var UpdateCustomDomainAssociation: StaticOperationSchema;
255
258
  export declare var UpdateEndpointAccess: StaticOperationSchema;
259
+ export declare var UpdateLakehouseConfiguration: StaticOperationSchema;
256
260
  export declare var UpdateNamespace: StaticOperationSchema;
257
261
  export declare var UpdateScheduledAction: StaticOperationSchema;
258
262
  export declare var UpdateSnapshot: StaticOperationSchema;
@@ -227,6 +227,10 @@ import {
227
227
  UpdateEndpointAccessCommandInput,
228
228
  UpdateEndpointAccessCommandOutput,
229
229
  } from "./commands/UpdateEndpointAccessCommand";
230
+ import {
231
+ UpdateLakehouseConfigurationCommandInput,
232
+ UpdateLakehouseConfigurationCommandOutput,
233
+ } from "./commands/UpdateLakehouseConfigurationCommand";
230
234
  import {
231
235
  UpdateNamespaceCommandInput,
232
236
  UpdateNamespaceCommandOutput,
@@ -1010,6 +1014,19 @@ export interface RedshiftServerless {
1010
1014
  options: __HttpHandlerOptions,
1011
1015
  cb: (err: any, data?: UpdateEndpointAccessCommandOutput) => void
1012
1016
  ): void;
1017
+ updateLakehouseConfiguration(
1018
+ args: UpdateLakehouseConfigurationCommandInput,
1019
+ options?: __HttpHandlerOptions
1020
+ ): Promise<UpdateLakehouseConfigurationCommandOutput>;
1021
+ updateLakehouseConfiguration(
1022
+ args: UpdateLakehouseConfigurationCommandInput,
1023
+ cb: (err: any, data?: UpdateLakehouseConfigurationCommandOutput) => void
1024
+ ): void;
1025
+ updateLakehouseConfiguration(
1026
+ args: UpdateLakehouseConfigurationCommandInput,
1027
+ options: __HttpHandlerOptions,
1028
+ cb: (err: any, data?: UpdateLakehouseConfigurationCommandOutput) => void
1029
+ ): void;
1013
1030
  updateNamespace(
1014
1031
  args: UpdateNamespaceCommandInput,
1015
1032
  options?: __HttpHandlerOptions
@@ -276,6 +276,10 @@ import {
276
276
  UpdateEndpointAccessCommandInput,
277
277
  UpdateEndpointAccessCommandOutput,
278
278
  } from "./commands/UpdateEndpointAccessCommand";
279
+ import {
280
+ UpdateLakehouseConfigurationCommandInput,
281
+ UpdateLakehouseConfigurationCommandOutput,
282
+ } from "./commands/UpdateLakehouseConfigurationCommand";
279
283
  import {
280
284
  UpdateNamespaceCommandInput,
281
285
  UpdateNamespaceCommandOutput,
@@ -365,6 +369,7 @@ export type ServiceInputTypes =
365
369
  | UntagResourceCommandInput
366
370
  | UpdateCustomDomainAssociationCommandInput
367
371
  | UpdateEndpointAccessCommandInput
372
+ | UpdateLakehouseConfigurationCommandInput
368
373
  | UpdateNamespaceCommandInput
369
374
  | UpdateScheduledActionCommandInput
370
375
  | UpdateSnapshotCommandInput
@@ -429,6 +434,7 @@ export type ServiceOutputTypes =
429
434
  | UntagResourceCommandOutput
430
435
  | UpdateCustomDomainAssociationCommandOutput
431
436
  | UpdateEndpointAccessCommandOutput
437
+ | UpdateLakehouseConfigurationCommandOutput
432
438
  | UpdateNamespaceCommandOutput
433
439
  | UpdateScheduledActionCommandOutput
434
440
  | UpdateSnapshotCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateLakehouseConfigurationRequest,
5
+ UpdateLakehouseConfigurationResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RedshiftServerlessClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RedshiftServerlessClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateLakehouseConfigurationCommandInput
15
+ extends UpdateLakehouseConfigurationRequest {}
16
+ export interface UpdateLakehouseConfigurationCommandOutput
17
+ extends UpdateLakehouseConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateLakehouseConfigurationCommand_base: {
20
+ new (
21
+ input: UpdateLakehouseConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateLakehouseConfigurationCommandInput,
24
+ UpdateLakehouseConfigurationCommandOutput,
25
+ RedshiftServerlessClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateLakehouseConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateLakehouseConfigurationCommandInput,
33
+ UpdateLakehouseConfigurationCommandOutput,
34
+ RedshiftServerlessClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateLakehouseConfigurationCommand extends UpdateLakehouseConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateLakehouseConfigurationRequest;
44
+ output: UpdateLakehouseConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateLakehouseConfigurationCommandInput;
48
+ output: UpdateLakehouseConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";
@@ -75,6 +75,11 @@ export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
75
75
  opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>
76
76
  );
77
77
  }
78
+ export declare class DryRunException extends __BaseException {
79
+ readonly name: "DryRunException";
80
+ readonly $fault: "client";
81
+ constructor(opts: __ExceptionOptionType<DryRunException, __BaseException>);
82
+ }
78
83
  export declare class InvalidPaginationException extends __BaseException {
79
84
  readonly name: "InvalidPaginationException";
80
85
  readonly $fault: "client";
@@ -146,6 +146,8 @@ export interface Namespace {
146
146
  creationDate?: Date | undefined;
147
147
  adminPasswordSecretArn?: string | undefined;
148
148
  adminPasswordSecretKmsKeyId?: string | undefined;
149
+ lakehouseRegistrationStatus?: string | undefined;
150
+ catalogArn?: string | undefined;
149
151
  }
150
152
  export interface CreateNamespaceResponse {
151
153
  namespace?: Namespace | undefined;
@@ -601,6 +603,18 @@ export interface GetWorkgroupRequest {
601
603
  export interface GetWorkgroupResponse {
602
604
  workgroup: Workgroup | undefined;
603
605
  }
606
+ export declare const LakehouseIdcRegistration: {
607
+ readonly ASSOCIATE: "Associate";
608
+ readonly DISASSOCIATE: "Disassociate";
609
+ };
610
+ export type LakehouseIdcRegistration =
611
+ (typeof LakehouseIdcRegistration)[keyof typeof LakehouseIdcRegistration];
612
+ export declare const LakehouseRegistration: {
613
+ readonly DEREGISTER: "Deregister";
614
+ readonly REGISTER: "Register";
615
+ };
616
+ export type LakehouseRegistration =
617
+ (typeof LakehouseRegistration)[keyof typeof LakehouseRegistration];
604
618
  export interface ListCustomDomainAssociationsRequest {
605
619
  nextToken?: string | undefined;
606
620
  maxResults?: number | undefined;
@@ -741,6 +755,20 @@ export interface ListWorkgroupsResponse {
741
755
  nextToken?: string | undefined;
742
756
  workgroups: Workgroup[] | undefined;
743
757
  }
758
+ export interface UpdateLakehouseConfigurationRequest {
759
+ namespaceName: string | undefined;
760
+ lakehouseRegistration?: LakehouseRegistration | undefined;
761
+ catalogName?: string | undefined;
762
+ lakehouseIdcRegistration?: LakehouseIdcRegistration | undefined;
763
+ lakehouseIdcApplicationArn?: string | undefined;
764
+ dryRun?: boolean | undefined;
765
+ }
766
+ export interface UpdateLakehouseConfigurationResponse {
767
+ namespaceName?: string | undefined;
768
+ lakehouseIdcApplicationArn?: string | undefined;
769
+ lakehouseRegistrationStatus?: string | undefined;
770
+ catalogArn?: string | undefined;
771
+ }
744
772
  export interface UpdateNamespaceRequest {
745
773
  namespaceName: string | undefined;
746
774
  adminUserPassword?: string | undefined;
@@ -50,6 +50,7 @@ export declare var DeleteUsageLimitRequest: StaticStructureSchema;
50
50
  export declare var DeleteUsageLimitResponse: StaticStructureSchema;
51
51
  export declare var DeleteWorkgroupRequest: StaticStructureSchema;
52
52
  export declare var DeleteWorkgroupResponse: StaticStructureSchema;
53
+ export declare var DryRunException: StaticErrorSchema;
53
54
  export declare var Endpoint: StaticStructureSchema;
54
55
  export declare var EndpointAccess: StaticStructureSchema;
55
56
  export declare var GetCredentialsRequest: StaticStructureSchema;
@@ -151,6 +152,8 @@ export declare var UpdateCustomDomainAssociationRequest: StaticStructureSchema;
151
152
  export declare var UpdateCustomDomainAssociationResponse: StaticStructureSchema;
152
153
  export declare var UpdateEndpointAccessRequest: StaticStructureSchema;
153
154
  export declare var UpdateEndpointAccessResponse: StaticStructureSchema;
155
+ export declare var UpdateLakehouseConfigurationRequest: StaticStructureSchema;
156
+ export declare var UpdateLakehouseConfigurationResponse: StaticStructureSchema;
154
157
  export declare var UpdateNamespaceRequest: StaticStructureSchema;
155
158
  export declare var UpdateNamespaceResponse: StaticStructureSchema;
156
159
  export declare var UpdateScheduledActionRequest: StaticStructureSchema;
@@ -259,6 +262,7 @@ export declare var TagResource: StaticOperationSchema;
259
262
  export declare var UntagResource: StaticOperationSchema;
260
263
  export declare var UpdateCustomDomainAssociation: StaticOperationSchema;
261
264
  export declare var UpdateEndpointAccess: StaticOperationSchema;
265
+ export declare var UpdateLakehouseConfiguration: StaticOperationSchema;
262
266
  export declare var UpdateNamespace: StaticOperationSchema;
263
267
  export declare var UpdateScheduledAction: StaticOperationSchema;
264
268
  export declare var UpdateSnapshot: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift-serverless",
3
3
  "description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.938.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-redshift-serverless",