@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
@@ -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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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 AWS service.</p>
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";
@@ -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
  */
@@ -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 AWS service.</p>
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