@aws-sdk/client-redshift-serverless 3.934.0 → 3.935.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/dist-cjs/index.js CHANGED
@@ -143,14 +143,6 @@ let ConflictException$1 = class ConflictException extends RedshiftServerlessServ
143
143
  Object.setPrototypeOf(this, ConflictException.prototype);
144
144
  }
145
145
  };
146
- const SnapshotStatus = {
147
- AVAILABLE: "AVAILABLE",
148
- CANCELLED: "CANCELLED",
149
- COPYING: "COPYING",
150
- CREATING: "CREATING",
151
- DELETED: "DELETED",
152
- FAILED: "FAILED",
153
- };
154
146
  let InternalServerException$1 = class InternalServerException extends RedshiftServerlessServiceException$1 {
155
147
  name = "InternalServerException";
156
148
  $fault = "server";
@@ -231,48 +223,6 @@ let ThrottlingException$1 = class ThrottlingException extends RedshiftServerless
231
223
  this.code = opts.code;
232
224
  }
233
225
  };
234
- const LogExport = {
235
- CONNECTION_LOG: "connectionlog",
236
- USER_ACTIVITY_LOG: "useractivitylog",
237
- USER_LOG: "userlog",
238
- };
239
- const NamespaceStatus = {
240
- AVAILABLE: "AVAILABLE",
241
- DELETING: "DELETING",
242
- MODIFYING: "MODIFYING",
243
- };
244
- const OfferingType = {
245
- ALL_UPFRONT: "ALL_UPFRONT",
246
- NO_UPFRONT: "NO_UPFRONT",
247
- };
248
- const State = {
249
- ACTIVE: "ACTIVE",
250
- DISABLED: "DISABLED",
251
- };
252
- const UsageLimitBreachAction = {
253
- DEACTIVATE: "deactivate",
254
- EMIT_METRIC: "emit-metric",
255
- LOG: "log",
256
- };
257
- const UsageLimitPeriod = {
258
- DAILY: "daily",
259
- MONTHLY: "monthly",
260
- WEEKLY: "weekly",
261
- };
262
- const UsageLimitUsageType = {
263
- CROSS_REGION_DATASHARING: "cross-region-datasharing",
264
- SERVERLESS_COMPUTE: "serverless-compute",
265
- };
266
- const PerformanceTargetStatus = {
267
- DISABLED: "DISABLED",
268
- ENABLED: "ENABLED",
269
- };
270
- const WorkgroupStatus = {
271
- AVAILABLE: "AVAILABLE",
272
- CREATING: "CREATING",
273
- DELETING: "DELETING",
274
- MODIFYING: "MODIFYING",
275
- };
276
226
  let InsufficientCapacityException$1 = class InsufficientCapacityException extends RedshiftServerlessServiceException$1 {
277
227
  name = "InsufficientCapacityException";
278
228
  $fault = "client";
@@ -310,13 +260,6 @@ let InvalidPaginationException$1 = class InvalidPaginationException extends Reds
310
260
  Object.setPrototypeOf(this, InvalidPaginationException.prototype);
311
261
  }
312
262
  };
313
- const ManagedWorkgroupStatus = {
314
- AVAILABLE: "AVAILABLE",
315
- CREATING: "CREATING",
316
- DELETING: "DELETING",
317
- MODIFYING: "MODIFYING",
318
- NOT_AVAILABLE: "NOT_AVAILABLE",
319
- };
320
263
 
321
264
  const _A = "Association";
322
265
  const _ADE = "AccessDeniedException";
@@ -3143,6 +3086,14 @@ const paginateListUsageLimits = core.createPaginator(RedshiftServerlessClient, L
3143
3086
 
3144
3087
  const paginateListWorkgroups = core.createPaginator(RedshiftServerlessClient, ListWorkgroupsCommand, "nextToken", "nextToken", "maxResults");
3145
3088
 
3089
+ const ManagedWorkgroupStatus = {
3090
+ AVAILABLE: "AVAILABLE",
3091
+ CREATING: "CREATING",
3092
+ DELETING: "DELETING",
3093
+ MODIFYING: "MODIFYING",
3094
+ NOT_AVAILABLE: "NOT_AVAILABLE",
3095
+ };
3096
+
3146
3097
  Object.defineProperty(exports, "$Command", {
3147
3098
  enumerable: true,
3148
3099
  get: function () { return smithyClient.Command; }
@@ -3205,11 +3156,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3205
3156
  exports.ListTracksCommand = ListTracksCommand;
3206
3157
  exports.ListUsageLimitsCommand = ListUsageLimitsCommand;
3207
3158
  exports.ListWorkgroupsCommand = ListWorkgroupsCommand;
3208
- exports.LogExport = LogExport;
3209
3159
  exports.ManagedWorkgroupStatus = ManagedWorkgroupStatus;
3210
- exports.NamespaceStatus = NamespaceStatus;
3211
- exports.OfferingType = OfferingType;
3212
- exports.PerformanceTargetStatus = PerformanceTargetStatus;
3213
3160
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
3214
3161
  exports.RedshiftServerless = RedshiftServerless;
3215
3162
  exports.RedshiftServerlessClient = RedshiftServerlessClient;
@@ -3220,8 +3167,6 @@ exports.RestoreFromSnapshotCommand = RestoreFromSnapshotCommand;
3220
3167
  exports.RestoreTableFromRecoveryPointCommand = RestoreTableFromRecoveryPointCommand;
3221
3168
  exports.RestoreTableFromSnapshotCommand = RestoreTableFromSnapshotCommand;
3222
3169
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
3223
- exports.SnapshotStatus = SnapshotStatus;
3224
- exports.State = State;
3225
3170
  exports.TagResourceCommand = TagResourceCommand;
3226
3171
  exports.ThrottlingException = ThrottlingException$1;
3227
3172
  exports.TooManyTagsException = TooManyTagsException$1;
@@ -3234,11 +3179,7 @@ exports.UpdateSnapshotCommand = UpdateSnapshotCommand;
3234
3179
  exports.UpdateSnapshotCopyConfigurationCommand = UpdateSnapshotCopyConfigurationCommand;
3235
3180
  exports.UpdateUsageLimitCommand = UpdateUsageLimitCommand;
3236
3181
  exports.UpdateWorkgroupCommand = UpdateWorkgroupCommand;
3237
- exports.UsageLimitBreachAction = UsageLimitBreachAction;
3238
- exports.UsageLimitPeriod = UsageLimitPeriod;
3239
- exports.UsageLimitUsageType = UsageLimitUsageType;
3240
3182
  exports.ValidationException = ValidationException$1;
3241
- exports.WorkgroupStatus = WorkgroupStatus;
3242
3183
  exports.paginateListCustomDomainAssociations = paginateListCustomDomainAssociations;
3243
3184
  exports.paginateListEndpointAccess = paginateListEndpointAccess;
3244
3185
  exports.paginateListManagedWorkgroups = paginateListManagedWorkgroups;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./RedshiftServerlessClient";
2
2
  export * from "./RedshiftServerless";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { RedshiftServerlessServiceException } from "./models/RedshiftServerlessServiceException";
@@ -0,0 +1,7 @@
1
+ export const ManagedWorkgroupStatus = {
2
+ AVAILABLE: "AVAILABLE",
3
+ CREATING: "CREATING",
4
+ DELETING: "DELETING",
5
+ MODIFYING: "MODIFYING",
6
+ NOT_AVAILABLE: "NOT_AVAILABLE",
7
+ };
@@ -0,0 +1,144 @@
1
+ import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ code;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.code = opts.code;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ constructor(opts) {
20
+ super({
21
+ name: "ConflictException",
22
+ $fault: "client",
23
+ ...opts,
24
+ });
25
+ Object.setPrototypeOf(this, ConflictException.prototype);
26
+ }
27
+ }
28
+ export class InternalServerException extends __BaseException {
29
+ name = "InternalServerException";
30
+ $fault = "server";
31
+ $retryable = {};
32
+ constructor(opts) {
33
+ super({
34
+ name: "InternalServerException",
35
+ $fault: "server",
36
+ ...opts,
37
+ });
38
+ Object.setPrototypeOf(this, InternalServerException.prototype);
39
+ }
40
+ }
41
+ export class ResourceNotFoundException extends __BaseException {
42
+ name = "ResourceNotFoundException";
43
+ $fault = "client";
44
+ resourceName;
45
+ constructor(opts) {
46
+ super({
47
+ name: "ResourceNotFoundException",
48
+ $fault: "client",
49
+ ...opts,
50
+ });
51
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
52
+ this.resourceName = opts.resourceName;
53
+ }
54
+ }
55
+ export class ServiceQuotaExceededException extends __BaseException {
56
+ name = "ServiceQuotaExceededException";
57
+ $fault = "client";
58
+ constructor(opts) {
59
+ super({
60
+ name: "ServiceQuotaExceededException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
65
+ }
66
+ }
67
+ export class TooManyTagsException extends __BaseException {
68
+ name = "TooManyTagsException";
69
+ $fault = "client";
70
+ resourceName;
71
+ constructor(opts) {
72
+ super({
73
+ name: "TooManyTagsException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
78
+ this.resourceName = opts.resourceName;
79
+ }
80
+ }
81
+ export class ValidationException extends __BaseException {
82
+ name = "ValidationException";
83
+ $fault = "client";
84
+ constructor(opts) {
85
+ super({
86
+ name: "ValidationException",
87
+ $fault: "client",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, ValidationException.prototype);
91
+ }
92
+ }
93
+ export class ThrottlingException extends __BaseException {
94
+ name = "ThrottlingException";
95
+ $fault = "client";
96
+ $retryable = {};
97
+ code;
98
+ constructor(opts) {
99
+ super({
100
+ name: "ThrottlingException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
105
+ this.code = opts.code;
106
+ }
107
+ }
108
+ export class InsufficientCapacityException extends __BaseException {
109
+ name = "InsufficientCapacityException";
110
+ $fault = "client";
111
+ $retryable = {};
112
+ constructor(opts) {
113
+ super({
114
+ name: "InsufficientCapacityException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
119
+ }
120
+ }
121
+ export class Ipv6CidrBlockNotFoundException extends __BaseException {
122
+ name = "Ipv6CidrBlockNotFoundException";
123
+ $fault = "client";
124
+ constructor(opts) {
125
+ super({
126
+ name: "Ipv6CidrBlockNotFoundException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ Object.setPrototypeOf(this, Ipv6CidrBlockNotFoundException.prototype);
131
+ }
132
+ }
133
+ export class InvalidPaginationException extends __BaseException {
134
+ name = "InvalidPaginationException";
135
+ $fault = "client";
136
+ constructor(opts) {
137
+ super({
138
+ name: "InvalidPaginationException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ Object.setPrototypeOf(this, InvalidPaginationException.prototype);
143
+ }
144
+ }
@@ -1,30 +1,3 @@
1
- import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- code;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.code = opts.code;
14
- }
15
- }
16
- export class ConflictException extends __BaseException {
17
- name = "ConflictException";
18
- $fault = "client";
19
- constructor(opts) {
20
- super({
21
- name: "ConflictException",
22
- $fault: "client",
23
- ...opts,
24
- });
25
- Object.setPrototypeOf(this, ConflictException.prototype);
26
- }
27
- }
28
1
  export const SnapshotStatus = {
29
2
  AVAILABLE: "AVAILABLE",
30
3
  CANCELLED: "CANCELLED",
@@ -33,86 +6,6 @@ export const SnapshotStatus = {
33
6
  DELETED: "DELETED",
34
7
  FAILED: "FAILED",
35
8
  };
36
- export class InternalServerException extends __BaseException {
37
- name = "InternalServerException";
38
- $fault = "server";
39
- $retryable = {};
40
- constructor(opts) {
41
- super({
42
- name: "InternalServerException",
43
- $fault: "server",
44
- ...opts,
45
- });
46
- Object.setPrototypeOf(this, InternalServerException.prototype);
47
- }
48
- }
49
- export class ResourceNotFoundException extends __BaseException {
50
- name = "ResourceNotFoundException";
51
- $fault = "client";
52
- resourceName;
53
- constructor(opts) {
54
- super({
55
- name: "ResourceNotFoundException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
60
- this.resourceName = opts.resourceName;
61
- }
62
- }
63
- export class ServiceQuotaExceededException extends __BaseException {
64
- name = "ServiceQuotaExceededException";
65
- $fault = "client";
66
- constructor(opts) {
67
- super({
68
- name: "ServiceQuotaExceededException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
73
- }
74
- }
75
- export class TooManyTagsException extends __BaseException {
76
- name = "TooManyTagsException";
77
- $fault = "client";
78
- resourceName;
79
- constructor(opts) {
80
- super({
81
- name: "TooManyTagsException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
86
- this.resourceName = opts.resourceName;
87
- }
88
- }
89
- export class ValidationException extends __BaseException {
90
- name = "ValidationException";
91
- $fault = "client";
92
- constructor(opts) {
93
- super({
94
- name: "ValidationException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- Object.setPrototypeOf(this, ValidationException.prototype);
99
- }
100
- }
101
- export class ThrottlingException extends __BaseException {
102
- name = "ThrottlingException";
103
- $fault = "client";
104
- $retryable = {};
105
- code;
106
- constructor(opts) {
107
- super({
108
- name: "ThrottlingException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- Object.setPrototypeOf(this, ThrottlingException.prototype);
113
- this.code = opts.code;
114
- }
115
- }
116
9
  export const LogExport = {
117
10
  CONNECTION_LOG: "connectionlog",
118
11
  USER_ACTIVITY_LOG: "useractivitylog",
@@ -155,47 +48,3 @@ export const WorkgroupStatus = {
155
48
  DELETING: "DELETING",
156
49
  MODIFYING: "MODIFYING",
157
50
  };
158
- export class InsufficientCapacityException extends __BaseException {
159
- name = "InsufficientCapacityException";
160
- $fault = "client";
161
- $retryable = {};
162
- constructor(opts) {
163
- super({
164
- name: "InsufficientCapacityException",
165
- $fault: "client",
166
- ...opts,
167
- });
168
- Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
169
- }
170
- }
171
- export class Ipv6CidrBlockNotFoundException extends __BaseException {
172
- name = "Ipv6CidrBlockNotFoundException";
173
- $fault = "client";
174
- constructor(opts) {
175
- super({
176
- name: "Ipv6CidrBlockNotFoundException",
177
- $fault: "client",
178
- ...opts,
179
- });
180
- Object.setPrototypeOf(this, Ipv6CidrBlockNotFoundException.prototype);
181
- }
182
- }
183
- export class InvalidPaginationException extends __BaseException {
184
- name = "InvalidPaginationException";
185
- $fault = "client";
186
- constructor(opts) {
187
- super({
188
- name: "InvalidPaginationException",
189
- $fault: "client",
190
- ...opts,
191
- });
192
- Object.setPrototypeOf(this, InvalidPaginationException.prototype);
193
- }
194
- }
195
- export const ManagedWorkgroupStatus = {
196
- AVAILABLE: "AVAILABLE",
197
- CREATING: "CREATING",
198
- DELETING: "DELETING",
199
- MODIFYING: "MODIFYING",
200
- NOT_AVAILABLE: "NOT_AVAILABLE",
201
- };
@@ -430,7 +430,7 @@ const _wV = "workgroupVersion";
430
430
  const _wo = "workgroups";
431
431
  const n0 = "com.amazonaws.redshiftserverless";
432
432
  import { TypeRegistry } from "@smithy/core/schema";
433
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InsufficientCapacityException as __InsufficientCapacityException, InternalServerException as __InternalServerException, InvalidPaginationException as __InvalidPaginationException, Ipv6CidrBlockNotFoundException as __Ipv6CidrBlockNotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/index";
433
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InsufficientCapacityException as __InsufficientCapacityException, InternalServerException as __InternalServerException, InvalidPaginationException as __InvalidPaginationException, Ipv6CidrBlockNotFoundException as __Ipv6CidrBlockNotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
434
434
  import { RedshiftServerlessServiceException as __RedshiftServerlessServiceException } from "../models/RedshiftServerlessServiceException";
435
435
  export var DbPassword = [0, n0, _DP, 8, 0];
436
436
  export var DbUser = [0, n0, _DU, 8, 0];
@@ -18,5 +18,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
18
18
  export type { RedshiftServerlessExtensionConfiguration } from "./extensionConfiguration";
19
19
  export * from "./commands";
20
20
  export * from "./pagination";
21
- export * from "./models";
21
+ export * from "./models/enums";
22
+ export * from "./models/errors";
23
+ export type * from "./models/models_0";
22
24
  export { RedshiftServerlessServiceException } from "./models/RedshiftServerlessServiceException";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ManagedWorkgroupStatus: {
6
+ readonly AVAILABLE: "AVAILABLE";
7
+ readonly CREATING: "CREATING";
8
+ readonly DELETING: "DELETING";
9
+ readonly MODIFYING: "MODIFYING";
10
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type ManagedWorkgroupStatus = (typeof ManagedWorkgroupStatus)[keyof typeof ManagedWorkgroupStatus];
@@ -0,0 +1,149 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ code?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The submitted action has conflicts.</p>
18
+ * @public
19
+ */
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
27
+ }
28
+ /**
29
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
30
+ * @public
31
+ */
32
+ export declare class InternalServerException extends __BaseException {
33
+ readonly name: "InternalServerException";
34
+ readonly $fault: "server";
35
+ $retryable: {};
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
40
+ }
41
+ /**
42
+ * <p>The resource could not be found.</p>
43
+ * @public
44
+ */
45
+ export declare class ResourceNotFoundException extends __BaseException {
46
+ readonly name: "ResourceNotFoundException";
47
+ readonly $fault: "client";
48
+ /**
49
+ * <p>The name of the resource that could not be found.</p>
50
+ * @public
51
+ */
52
+ resourceName?: string | undefined;
53
+ /**
54
+ * @internal
55
+ */
56
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
57
+ }
58
+ /**
59
+ * <p>The service limit was exceeded.</p>
60
+ * @public
61
+ */
62
+ export declare class ServiceQuotaExceededException extends __BaseException {
63
+ readonly name: "ServiceQuotaExceededException";
64
+ readonly $fault: "client";
65
+ /**
66
+ * @internal
67
+ */
68
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
69
+ }
70
+ /**
71
+ * <p>The request exceeded the number of tags allowed for a resource.</p>
72
+ * @public
73
+ */
74
+ export declare class TooManyTagsException extends __BaseException {
75
+ readonly name: "TooManyTagsException";
76
+ readonly $fault: "client";
77
+ /**
78
+ * <p>The name of the resource that exceeded the number of tags allowed for a resource.</p>
79
+ * @public
80
+ */
81
+ resourceName?: string | undefined;
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
89
+ * @public
90
+ */
91
+ export declare class ValidationException extends __BaseException {
92
+ readonly name: "ValidationException";
93
+ readonly $fault: "client";
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
98
+ }
99
+ /**
100
+ * <p>The request was denied due to request throttling.</p>
101
+ * @public
102
+ */
103
+ export declare class ThrottlingException extends __BaseException {
104
+ readonly name: "ThrottlingException";
105
+ readonly $fault: "client";
106
+ $retryable: {};
107
+ code?: string | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
112
+ }
113
+ /**
114
+ * <p>There is an insufficient capacity to perform the action.</p>
115
+ * @public
116
+ */
117
+ export declare class InsufficientCapacityException extends __BaseException {
118
+ readonly name: "InsufficientCapacityException";
119
+ readonly $fault: "client";
120
+ $retryable: {};
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
125
+ }
126
+ /**
127
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.</p>
128
+ * @public
129
+ */
130
+ export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
131
+ readonly name: "Ipv6CidrBlockNotFoundException";
132
+ readonly $fault: "client";
133
+ /**
134
+ * @internal
135
+ */
136
+ constructor(opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>);
137
+ }
138
+ /**
139
+ * <p>The provided pagination token is invalid.</p>
140
+ * @public
141
+ */
142
+ export declare class InvalidPaginationException extends __BaseException {
143
+ readonly name: "InvalidPaginationException";
144
+ readonly $fault: "client";
145
+ /**
146
+ * @internal
147
+ */
148
+ constructor(opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>);
149
+ }
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- code?: string | undefined;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
1
+ import { ManagedWorkgroupStatus } from "./enums";
16
2
  /**
17
3
  * <p>An object that represents the custom domain name association.</p>
18
4
  * @public
@@ -59,18 +45,6 @@ export interface ConfigParameter {
59
45
  */
60
46
  parameterValue?: string | undefined;
61
47
  }
62
- /**
63
- * <p>The submitted action has conflicts.</p>
64
- * @public
65
- */
66
- export declare class ConflictException extends __BaseException {
67
- readonly name: "ConflictException";
68
- readonly $fault: "client";
69
- /**
70
- * @internal
71
- */
72
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
73
- }
74
48
  /**
75
49
  * <p>A map of key-value pairs.</p>
76
50
  * @public
@@ -256,77 +230,6 @@ export interface ConvertRecoveryPointToSnapshotResponse {
256
230
  */
257
231
  snapshot?: Snapshot | undefined;
258
232
  }
259
- /**
260
- * <p>The request processing has failed because of an unknown error, exception or failure.</p>
261
- * @public
262
- */
263
- export declare class InternalServerException extends __BaseException {
264
- readonly name: "InternalServerException";
265
- readonly $fault: "server";
266
- $retryable: {};
267
- /**
268
- * @internal
269
- */
270
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
271
- }
272
- /**
273
- * <p>The resource could not be found.</p>
274
- * @public
275
- */
276
- export declare class ResourceNotFoundException extends __BaseException {
277
- readonly name: "ResourceNotFoundException";
278
- readonly $fault: "client";
279
- /**
280
- * <p>The name of the resource that could not be found.</p>
281
- * @public
282
- */
283
- resourceName?: string | undefined;
284
- /**
285
- * @internal
286
- */
287
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
288
- }
289
- /**
290
- * <p>The service limit was exceeded.</p>
291
- * @public
292
- */
293
- export declare class ServiceQuotaExceededException extends __BaseException {
294
- readonly name: "ServiceQuotaExceededException";
295
- readonly $fault: "client";
296
- /**
297
- * @internal
298
- */
299
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
300
- }
301
- /**
302
- * <p>The request exceeded the number of tags allowed for a resource.</p>
303
- * @public
304
- */
305
- export declare class TooManyTagsException extends __BaseException {
306
- readonly name: "TooManyTagsException";
307
- readonly $fault: "client";
308
- /**
309
- * <p>The name of the resource that exceeded the number of tags allowed for a resource.</p>
310
- * @public
311
- */
312
- resourceName?: string | undefined;
313
- /**
314
- * @internal
315
- */
316
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
317
- }
318
- /**
319
- * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
320
- * @public
321
- */
322
- export declare class ValidationException extends __BaseException {
323
- readonly name: "ValidationException";
324
- readonly $fault: "client";
325
- /**
326
- * @internal
327
- */
328
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
329
- }
330
233
  /**
331
234
  * @public
332
235
  */
@@ -372,20 +275,6 @@ export interface CreateCustomDomainAssociationResponse {
372
275
  */
373
276
  customDomainCertificateExpiryTime?: Date | undefined;
374
277
  }
375
- /**
376
- * <p>The request was denied due to request throttling.</p>
377
- * @public
378
- */
379
- export declare class ThrottlingException extends __BaseException {
380
- readonly name: "ThrottlingException";
381
- readonly $fault: "client";
382
- $retryable: {};
383
- code?: string | undefined;
384
- /**
385
- * @internal
386
- */
387
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
388
- }
389
278
  /**
390
279
  * @public
391
280
  */
@@ -1681,31 +1570,6 @@ export interface CreateWorkgroupResponse {
1681
1570
  */
1682
1571
  workgroup?: Workgroup | undefined;
1683
1572
  }
1684
- /**
1685
- * <p>There is an insufficient capacity to perform the action.</p>
1686
- * @public
1687
- */
1688
- export declare class InsufficientCapacityException extends __BaseException {
1689
- readonly name: "InsufficientCapacityException";
1690
- readonly $fault: "client";
1691
- $retryable: {};
1692
- /**
1693
- * @internal
1694
- */
1695
- constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
1696
- }
1697
- /**
1698
- * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.</p>
1699
- * @public
1700
- */
1701
- export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
1702
- readonly name: "Ipv6CidrBlockNotFoundException";
1703
- readonly $fault: "client";
1704
- /**
1705
- * @internal
1706
- */
1707
- constructor(opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>);
1708
- }
1709
1573
  /**
1710
1574
  * @public
1711
1575
  */
@@ -2514,18 +2378,6 @@ export interface GetWorkgroupResponse {
2514
2378
  */
2515
2379
  workgroup: Workgroup | undefined;
2516
2380
  }
2517
- /**
2518
- * <p>The provided pagination token is invalid.</p>
2519
- * @public
2520
- */
2521
- export declare class InvalidPaginationException extends __BaseException {
2522
- readonly name: "InvalidPaginationException";
2523
- readonly $fault: "client";
2524
- /**
2525
- * @internal
2526
- */
2527
- constructor(opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>);
2528
- }
2529
2381
  /**
2530
2382
  * @public
2531
2383
  */
@@ -2595,21 +2447,6 @@ export interface ListManagedWorkgroupsRequest {
2595
2447
  */
2596
2448
  maxResults?: number | undefined;
2597
2449
  }
2598
- /**
2599
- * @public
2600
- * @enum
2601
- */
2602
- export declare const ManagedWorkgroupStatus: {
2603
- readonly AVAILABLE: "AVAILABLE";
2604
- readonly CREATING: "CREATING";
2605
- readonly DELETING: "DELETING";
2606
- readonly MODIFYING: "MODIFYING";
2607
- readonly NOT_AVAILABLE: "NOT_AVAILABLE";
2608
- };
2609
- /**
2610
- * @public
2611
- */
2612
- export type ManagedWorkgroupStatus = (typeof ManagedWorkgroupStatus)[keyof typeof ManagedWorkgroupStatus];
2613
2450
  /**
2614
2451
  * <p>A collection of Amazon Redshift compute resources managed by AWS Glue.</p>
2615
2452
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { RedshiftServerlessExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { RedshiftServerlessServiceException } from "./models/RedshiftServerlessServiceException";
@@ -0,0 +1,9 @@
1
+ export declare const ManagedWorkgroupStatus: {
2
+ readonly AVAILABLE: "AVAILABLE";
3
+ readonly CREATING: "CREATING";
4
+ readonly DELETING: "DELETING";
5
+ readonly MODIFYING: "MODIFYING";
6
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
7
+ };
8
+ export type ManagedWorkgroupStatus =
9
+ (typeof ManagedWorkgroupStatus)[keyof typeof ManagedWorkgroupStatus];
@@ -0,0 +1,84 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ code?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
15
+ }
16
+ export declare class InternalServerException extends __BaseException {
17
+ readonly name: "InternalServerException";
18
+ readonly $fault: "server";
19
+ $retryable: {};
20
+ constructor(
21
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ResourceNotFoundException extends __BaseException {
25
+ readonly name: "ResourceNotFoundException";
26
+ readonly $fault: "client";
27
+ resourceName?: string | undefined;
28
+ constructor(
29
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
30
+ );
31
+ }
32
+ export declare class ServiceQuotaExceededException extends __BaseException {
33
+ readonly name: "ServiceQuotaExceededException";
34
+ readonly $fault: "client";
35
+ constructor(
36
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
37
+ );
38
+ }
39
+ export declare class TooManyTagsException extends __BaseException {
40
+ readonly name: "TooManyTagsException";
41
+ readonly $fault: "client";
42
+ resourceName?: string | undefined;
43
+ constructor(
44
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ValidationException extends __BaseException {
48
+ readonly name: "ValidationException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
52
+ );
53
+ }
54
+ export declare class ThrottlingException extends __BaseException {
55
+ readonly name: "ThrottlingException";
56
+ readonly $fault: "client";
57
+ $retryable: {};
58
+ code?: string | undefined;
59
+ constructor(
60
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
61
+ );
62
+ }
63
+ export declare class InsufficientCapacityException extends __BaseException {
64
+ readonly name: "InsufficientCapacityException";
65
+ readonly $fault: "client";
66
+ $retryable: {};
67
+ constructor(
68
+ opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
69
+ );
70
+ }
71
+ export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
72
+ readonly name: "Ipv6CidrBlockNotFoundException";
73
+ readonly $fault: "client";
74
+ constructor(
75
+ opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>
76
+ );
77
+ }
78
+ export declare class InvalidPaginationException extends __BaseException {
79
+ readonly name: "InvalidPaginationException";
80
+ readonly $fault: "client";
81
+ constructor(
82
+ opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>
83
+ );
84
+ }
@@ -1,13 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- code?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
1
+ import { ManagedWorkgroupStatus } from "./enums";
11
2
  export interface Association {
12
3
  customDomainCertificateArn?: string | undefined;
13
4
  customDomainCertificateExpiryTime?: Date | undefined;
@@ -18,11 +9,6 @@ export interface ConfigParameter {
18
9
  parameterKey?: string | undefined;
19
10
  parameterValue?: string | undefined;
20
11
  }
21
- export declare class ConflictException extends __BaseException {
22
- readonly name: "ConflictException";
23
- readonly $fault: "client";
24
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
25
- }
26
12
  export interface Tag {
27
13
  key: string | undefined;
28
14
  value: string | undefined;
@@ -70,44 +56,6 @@ export interface Snapshot {
70
56
  export interface ConvertRecoveryPointToSnapshotResponse {
71
57
  snapshot?: Snapshot | undefined;
72
58
  }
73
- export declare class InternalServerException extends __BaseException {
74
- readonly name: "InternalServerException";
75
- readonly $fault: "server";
76
- $retryable: {};
77
- constructor(
78
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
79
- );
80
- }
81
- export declare class ResourceNotFoundException extends __BaseException {
82
- readonly name: "ResourceNotFoundException";
83
- readonly $fault: "client";
84
- resourceName?: string | undefined;
85
- constructor(
86
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
87
- );
88
- }
89
- export declare class ServiceQuotaExceededException extends __BaseException {
90
- readonly name: "ServiceQuotaExceededException";
91
- readonly $fault: "client";
92
- constructor(
93
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
94
- );
95
- }
96
- export declare class TooManyTagsException extends __BaseException {
97
- readonly name: "TooManyTagsException";
98
- readonly $fault: "client";
99
- resourceName?: string | undefined;
100
- constructor(
101
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
102
- );
103
- }
104
- export declare class ValidationException extends __BaseException {
105
- readonly name: "ValidationException";
106
- readonly $fault: "client";
107
- constructor(
108
- opts: __ExceptionOptionType<ValidationException, __BaseException>
109
- );
110
- }
111
59
  export interface CreateCustomDomainAssociationRequest {
112
60
  workgroupName: string | undefined;
113
61
  customDomainName: string | undefined;
@@ -119,15 +67,6 @@ export interface CreateCustomDomainAssociationResponse {
119
67
  customDomainCertificateArn?: string | undefined;
120
68
  customDomainCertificateExpiryTime?: Date | undefined;
121
69
  }
122
- export declare class ThrottlingException extends __BaseException {
123
- readonly name: "ThrottlingException";
124
- readonly $fault: "client";
125
- $retryable: {};
126
- code?: string | undefined;
127
- constructor(
128
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
129
- );
130
- }
131
70
  export interface CreateEndpointAccessRequest {
132
71
  endpointName: string | undefined;
133
72
  subnetIds: string[] | undefined;
@@ -456,21 +395,6 @@ export interface Workgroup {
456
395
  export interface CreateWorkgroupResponse {
457
396
  workgroup?: Workgroup | undefined;
458
397
  }
459
- export declare class InsufficientCapacityException extends __BaseException {
460
- readonly name: "InsufficientCapacityException";
461
- readonly $fault: "client";
462
- $retryable: {};
463
- constructor(
464
- opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
465
- );
466
- }
467
- export declare class Ipv6CidrBlockNotFoundException extends __BaseException {
468
- readonly name: "Ipv6CidrBlockNotFoundException";
469
- readonly $fault: "client";
470
- constructor(
471
- opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundException, __BaseException>
472
- );
473
- }
474
398
  export interface DeleteEndpointAccessRequest {
475
399
  endpointName: string | undefined;
476
400
  }
@@ -677,13 +601,6 @@ export interface GetWorkgroupRequest {
677
601
  export interface GetWorkgroupResponse {
678
602
  workgroup: Workgroup | undefined;
679
603
  }
680
- export declare class InvalidPaginationException extends __BaseException {
681
- readonly name: "InvalidPaginationException";
682
- readonly $fault: "client";
683
- constructor(
684
- opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>
685
- );
686
- }
687
604
  export interface ListCustomDomainAssociationsRequest {
688
605
  nextToken?: string | undefined;
689
606
  maxResults?: number | undefined;
@@ -699,15 +616,6 @@ export interface ListManagedWorkgroupsRequest {
699
616
  nextToken?: string | undefined;
700
617
  maxResults?: number | undefined;
701
618
  }
702
- export declare const ManagedWorkgroupStatus: {
703
- readonly AVAILABLE: "AVAILABLE";
704
- readonly CREATING: "CREATING";
705
- readonly DELETING: "DELETING";
706
- readonly MODIFYING: "MODIFYING";
707
- readonly NOT_AVAILABLE: "NOT_AVAILABLE";
708
- };
709
- export type ManagedWorkgroupStatus =
710
- (typeof ManagedWorkgroupStatus)[keyof typeof ManagedWorkgroupStatus];
711
619
  export interface ManagedWorkgroupListItem {
712
620
  managedWorkgroupName?: string | undefined;
713
621
  managedWorkgroupId?: string | undefined;
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.934.0",
4
+ "version": "3.935.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",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";