@aws-sdk/client-redshift-serverless 3.169.0 → 3.171.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/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/RedshiftServerless.d.ts +633 -190
  3. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +327 -110
  4. package/dist-types/ts3.4/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/CreateEndpointAccessCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +35 -17
  7. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +35 -17
  8. package/dist-types/ts3.4/commands/CreateUsageLimitCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/CreateWorkgroupCommand.d.ts +35 -17
  10. package/dist-types/ts3.4/commands/DeleteEndpointAccessCommand.d.ts +39 -17
  11. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +35 -17
  12. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -17
  13. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +35 -17
  14. package/dist-types/ts3.4/commands/DeleteUsageLimitCommand.d.ts +35 -17
  15. package/dist-types/ts3.4/commands/DeleteWorkgroupCommand.d.ts +35 -17
  16. package/dist-types/ts3.4/commands/GetCredentialsCommand.d.ts +35 -17
  17. package/dist-types/ts3.4/commands/GetEndpointAccessCommand.d.ts +36 -17
  18. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +32 -17
  19. package/dist-types/ts3.4/commands/GetRecoveryPointCommand.d.ts +35 -17
  20. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +36 -17
  21. package/dist-types/ts3.4/commands/GetSnapshotCommand.d.ts +32 -17
  22. package/dist-types/ts3.4/commands/GetUsageLimitCommand.d.ts +35 -17
  23. package/dist-types/ts3.4/commands/GetWorkgroupCommand.d.ts +32 -17
  24. package/dist-types/ts3.4/commands/ListEndpointAccessCommand.d.ts +36 -17
  25. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +35 -17
  26. package/dist-types/ts3.4/commands/ListRecoveryPointsCommand.d.ts +36 -17
  27. package/dist-types/ts3.4/commands/ListSnapshotsCommand.d.ts +35 -17
  28. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  29. package/dist-types/ts3.4/commands/ListUsageLimitsCommand.d.ts +35 -17
  30. package/dist-types/ts3.4/commands/ListWorkgroupsCommand.d.ts +35 -17
  31. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +36 -17
  32. package/dist-types/ts3.4/commands/RestoreFromRecoveryPointCommand.d.ts +39 -17
  33. package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +36 -17
  34. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  35. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
  36. package/dist-types/ts3.4/commands/UpdateEndpointAccessCommand.d.ts +39 -17
  37. package/dist-types/ts3.4/commands/UpdateNamespaceCommand.d.ts +35 -17
  38. package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +35 -17
  39. package/dist-types/ts3.4/commands/UpdateUsageLimitCommand.d.ts +35 -17
  40. package/dist-types/ts3.4/commands/UpdateWorkgroupCommand.d.ts +35 -17
  41. package/dist-types/ts3.4/commands/index.d.ts +37 -37
  42. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  43. package/dist-types/ts3.4/index.d.ts +6 -6
  44. package/dist-types/ts3.4/models/RedshiftServerlessServiceException.d.ts +7 -6
  45. package/dist-types/ts3.4/models/index.d.ts +1 -1
  46. package/dist-types/ts3.4/models/models_0.d.ts +776 -966
  47. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  48. package/dist-types/ts3.4/pagination/ListEndpointAccessPaginator.d.ts +11 -4
  49. package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/ListRecoveryPointsPaginator.d.ts +11 -4
  51. package/dist-types/ts3.4/pagination/ListSnapshotsPaginator.d.ts +11 -4
  52. package/dist-types/ts3.4/pagination/ListUsageLimitsPaginator.d.ts +11 -4
  53. package/dist-types/ts3.4/pagination/ListWorkgroupsPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/index.d.ts +7 -7
  55. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +449 -113
  56. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -38
  57. package/dist-types/ts3.4/runtimeConfig.d.ts +67 -38
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -37
  59. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -11
  60. package/package.json +34 -34
@@ -1,966 +1,776 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { RedshiftServerlessServiceException as __BaseException } from "./RedshiftServerlessServiceException";
3
-
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- code?: string;
8
-
9
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
- }
11
-
12
- export interface ConfigParameter {
13
-
14
- parameterKey?: string;
15
-
16
- parameterValue?: string;
17
- }
18
-
19
- export declare class ConflictException extends __BaseException {
20
- readonly name: "ConflictException";
21
- readonly $fault: "client";
22
-
23
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
24
- }
25
- export interface ConvertRecoveryPointToSnapshotRequest {
26
-
27
- recoveryPointId: string | undefined;
28
-
29
- snapshotName: string | undefined;
30
-
31
- retentionPeriod?: number;
32
- }
33
- export declare enum SnapshotStatus {
34
- AVAILABLE = "AVAILABLE",
35
- CANCELLED = "CANCELLED",
36
- COPYING = "COPYING",
37
- CREATING = "CREATING",
38
- DELETED = "DELETED",
39
- FAILED = "FAILED"
40
- }
41
-
42
- export interface Snapshot {
43
-
44
- namespaceName?: string;
45
-
46
- namespaceArn?: string;
47
-
48
- snapshotName?: string;
49
-
50
- snapshotCreateTime?: Date;
51
-
52
- adminUsername?: string;
53
-
54
- status?: SnapshotStatus | string;
55
-
56
- kmsKeyId?: string;
57
-
58
- ownerAccount?: string;
59
-
60
- totalBackupSizeInMegaBytes?: number;
61
-
62
- actualIncrementalBackupSizeInMegaBytes?: number;
63
-
64
- backupProgressInMegaBytes?: number;
65
-
66
- currentBackupRateInMegaBytesPerSecond?: number;
67
-
68
- estimatedSecondsToCompletion?: number;
69
-
70
- elapsedTimeInSeconds?: number;
71
-
72
- snapshotRetentionPeriod?: number;
73
-
74
- snapshotRemainingDays?: number;
75
-
76
- snapshotRetentionStartTime?: Date;
77
-
78
- snapshotArn?: string;
79
-
80
- accountsWithRestoreAccess?: string[];
81
-
82
- accountsWithProvisionedRestoreAccess?: string[];
83
- }
84
- export interface ConvertRecoveryPointToSnapshotResponse {
85
-
86
- snapshot?: Snapshot;
87
- }
88
-
89
- export declare class InternalServerException extends __BaseException {
90
- readonly name: "InternalServerException";
91
- readonly $fault: "server";
92
- $retryable: {};
93
-
94
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
95
- }
96
-
97
- export declare class ResourceNotFoundException extends __BaseException {
98
- readonly name: "ResourceNotFoundException";
99
- readonly $fault: "client";
100
-
101
- resourceName?: string;
102
-
103
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
104
- }
105
-
106
- export declare class ServiceQuotaExceededException extends __BaseException {
107
- readonly name: "ServiceQuotaExceededException";
108
- readonly $fault: "client";
109
-
110
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
111
- }
112
-
113
- export declare class ValidationException extends __BaseException {
114
- readonly name: "ValidationException";
115
- readonly $fault: "client";
116
-
117
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
118
- }
119
- export interface CreateEndpointAccessRequest {
120
-
121
- endpointName: string | undefined;
122
-
123
- subnetIds: string[] | undefined;
124
-
125
- workgroupName: string | undefined;
126
-
127
- vpcSecurityGroupIds?: string[];
128
- }
129
-
130
- export interface NetworkInterface {
131
-
132
- networkInterfaceId?: string;
133
-
134
- subnetId?: string;
135
-
136
- privateIpAddress?: string;
137
-
138
- availabilityZone?: string;
139
- }
140
-
141
- export interface VpcEndpoint {
142
-
143
- vpcEndpointId?: string;
144
-
145
- vpcId?: string;
146
-
147
- networkInterfaces?: NetworkInterface[];
148
- }
149
-
150
- export interface VpcSecurityGroupMembership {
151
-
152
- vpcSecurityGroupId?: string;
153
-
154
- status?: string;
155
- }
156
-
157
- export interface EndpointAccess {
158
-
159
- endpointName?: string;
160
-
161
- endpointStatus?: string;
162
-
163
- workgroupName?: string;
164
-
165
- endpointCreateTime?: Date;
166
-
167
- port?: number;
168
-
169
- address?: string;
170
-
171
- subnetIds?: string[];
172
-
173
- vpcSecurityGroups?: VpcSecurityGroupMembership[];
174
-
175
- vpcEndpoint?: VpcEndpoint;
176
-
177
- endpointArn?: string;
178
- }
179
- export interface CreateEndpointAccessResponse {
180
-
181
- endpoint?: EndpointAccess;
182
- }
183
- export declare enum LogExport {
184
- CONNECTION_LOG = "connectionlog",
185
- USER_ACTIVITY_LOG = "useractivitylog",
186
- USER_LOG = "userlog"
187
- }
188
-
189
- export interface Tag {
190
-
191
- key: string | undefined;
192
-
193
- value: string | undefined;
194
- }
195
- export interface CreateNamespaceRequest {
196
-
197
- namespaceName: string | undefined;
198
-
199
- adminUsername?: string;
200
-
201
- adminUserPassword?: string;
202
-
203
- dbName?: string;
204
-
205
- kmsKeyId?: string;
206
-
207
- defaultIamRoleArn?: string;
208
-
209
- iamRoles?: string[];
210
-
211
- logExports?: (LogExport | string)[];
212
-
213
- tags?: Tag[];
214
- }
215
- export declare enum NamespaceStatus {
216
- AVAILABLE = "AVAILABLE",
217
- DELETING = "DELETING",
218
- MODIFYING = "MODIFYING"
219
- }
220
-
221
- export interface Namespace {
222
-
223
- namespaceArn?: string;
224
-
225
- namespaceId?: string;
226
-
227
- namespaceName?: string;
228
-
229
- adminUsername?: string;
230
-
231
- dbName?: string;
232
-
233
- kmsKeyId?: string;
234
-
235
- defaultIamRoleArn?: string;
236
-
237
- iamRoles?: string[];
238
-
239
- logExports?: (LogExport | string)[];
240
-
241
- status?: NamespaceStatus | string;
242
-
243
- creationDate?: Date;
244
- }
245
- export interface CreateNamespaceResponse {
246
-
247
- namespace?: Namespace;
248
- }
249
-
250
- export declare class TooManyTagsException extends __BaseException {
251
- readonly name: "TooManyTagsException";
252
- readonly $fault: "client";
253
-
254
- resourceName?: string;
255
-
256
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
257
- }
258
- export interface CreateSnapshotRequest {
259
-
260
- namespaceName: string | undefined;
261
-
262
- snapshotName: string | undefined;
263
-
264
- retentionPeriod?: number;
265
- }
266
- export interface CreateSnapshotResponse {
267
-
268
- snapshot?: Snapshot;
269
- }
270
- export declare enum UsageLimitBreachAction {
271
- DEACTIVATE = "deactivate",
272
- EMIT_METRIC = "emit-metric",
273
- LOG = "log"
274
- }
275
- export declare enum UsageLimitPeriod {
276
- DAILY = "daily",
277
- MONTHLY = "monthly",
278
- WEEKLY = "weekly"
279
- }
280
- export declare enum UsageLimitUsageType {
281
- CROSS_REGION_DATASHARING = "cross-region-datasharing",
282
- SERVERLESS_COMPUTE = "serverless-compute"
283
- }
284
- export interface CreateUsageLimitRequest {
285
-
286
- resourceArn: string | undefined;
287
-
288
- usageType: UsageLimitUsageType | string | undefined;
289
-
290
- amount: number | undefined;
291
-
292
- period?: UsageLimitPeriod | string;
293
-
294
- breachAction?: UsageLimitBreachAction | string;
295
- }
296
-
297
- export interface UsageLimit {
298
-
299
- usageLimitId?: string;
300
-
301
- usageLimitArn?: string;
302
-
303
- resourceArn?: string;
304
-
305
- usageType?: UsageLimitUsageType | string;
306
-
307
- amount?: number;
308
-
309
- period?: UsageLimitPeriod | string;
310
-
311
- breachAction?: UsageLimitBreachAction | string;
312
- }
313
- export interface CreateUsageLimitResponse {
314
-
315
- usageLimit?: UsageLimit;
316
- }
317
- export interface CreateWorkgroupRequest {
318
-
319
- workgroupName: string | undefined;
320
-
321
- namespaceName: string | undefined;
322
-
323
- baseCapacity?: number;
324
-
325
- enhancedVpcRouting?: boolean;
326
-
327
- configParameters?: ConfigParameter[];
328
-
329
- securityGroupIds?: string[];
330
-
331
- subnetIds?: string[];
332
-
333
- publiclyAccessible?: boolean;
334
-
335
- tags?: Tag[];
336
- }
337
-
338
- export interface Endpoint {
339
-
340
- address?: string;
341
-
342
- port?: number;
343
-
344
- vpcEndpoints?: VpcEndpoint[];
345
- }
346
- export declare enum WorkgroupStatus {
347
- AVAILABLE = "AVAILABLE",
348
- CREATING = "CREATING",
349
- DELETING = "DELETING",
350
- MODIFYING = "MODIFYING"
351
- }
352
-
353
- export interface Workgroup {
354
-
355
- workgroupId?: string;
356
-
357
- workgroupArn?: string;
358
-
359
- workgroupName?: string;
360
-
361
- namespaceName?: string;
362
-
363
- baseCapacity?: number;
364
-
365
- enhancedVpcRouting?: boolean;
366
-
367
- configParameters?: ConfigParameter[];
368
-
369
- securityGroupIds?: string[];
370
-
371
- subnetIds?: string[];
372
-
373
- status?: WorkgroupStatus | string;
374
-
375
- endpoint?: Endpoint;
376
-
377
- publiclyAccessible?: boolean;
378
-
379
- creationDate?: Date;
380
- }
381
- export interface CreateWorkgroupResponse {
382
-
383
- workgroup?: Workgroup;
384
- }
385
-
386
- export declare class InsufficientCapacityException extends __BaseException {
387
- readonly name: "InsufficientCapacityException";
388
- readonly $fault: "client";
389
- $retryable: {};
390
-
391
- constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
392
- }
393
- export interface DeleteEndpointAccessRequest {
394
-
395
- endpointName: string | undefined;
396
- }
397
- export interface DeleteEndpointAccessResponse {
398
-
399
- endpoint?: EndpointAccess;
400
- }
401
- export interface GetEndpointAccessRequest {
402
-
403
- endpointName: string | undefined;
404
- }
405
- export interface GetEndpointAccessResponse {
406
-
407
- endpoint?: EndpointAccess;
408
- }
409
- export interface ListEndpointAccessRequest {
410
-
411
- nextToken?: string;
412
-
413
- maxResults?: number;
414
-
415
- workgroupName?: string;
416
-
417
- vpcId?: string;
418
- }
419
- export interface ListEndpointAccessResponse {
420
-
421
- nextToken?: string;
422
-
423
- endpoints: EndpointAccess[] | undefined;
424
- }
425
- export interface UpdateEndpointAccessRequest {
426
-
427
- endpointName: string | undefined;
428
-
429
- vpcSecurityGroupIds?: string[];
430
- }
431
- export interface UpdateEndpointAccessResponse {
432
-
433
- endpoint?: EndpointAccess;
434
- }
435
- export interface DeleteNamespaceRequest {
436
-
437
- namespaceName: string | undefined;
438
-
439
- finalSnapshotName?: string;
440
-
441
- finalSnapshotRetentionPeriod?: number;
442
- }
443
- export interface DeleteNamespaceResponse {
444
-
445
- namespace: Namespace | undefined;
446
- }
447
- export interface DeleteResourcePolicyRequest {
448
-
449
- resourceArn: string | undefined;
450
- }
451
- export interface DeleteResourcePolicyResponse {
452
- }
453
- export interface DeleteSnapshotRequest {
454
-
455
- snapshotName: string | undefined;
456
- }
457
- export interface DeleteSnapshotResponse {
458
-
459
- snapshot?: Snapshot;
460
- }
461
- export interface DeleteUsageLimitRequest {
462
-
463
- usageLimitId: string | undefined;
464
- }
465
- export interface DeleteUsageLimitResponse {
466
-
467
- usageLimit?: UsageLimit;
468
- }
469
- export interface DeleteWorkgroupRequest {
470
-
471
- workgroupName: string | undefined;
472
- }
473
- export interface DeleteWorkgroupResponse {
474
-
475
- workgroup: Workgroup | undefined;
476
- }
477
- export interface GetCredentialsRequest {
478
-
479
- workgroupName: string | undefined;
480
-
481
- dbName?: string;
482
-
483
- durationSeconds?: number;
484
- }
485
- export interface GetCredentialsResponse {
486
-
487
- dbUser?: string;
488
-
489
- dbPassword?: string;
490
-
491
- expiration?: Date;
492
-
493
- nextRefreshTime?: Date;
494
- }
495
- export interface GetNamespaceRequest {
496
-
497
- namespaceName: string | undefined;
498
- }
499
- export interface GetNamespaceResponse {
500
-
501
- namespace: Namespace | undefined;
502
- }
503
- export interface GetRecoveryPointRequest {
504
-
505
- recoveryPointId: string | undefined;
506
- }
507
-
508
- export interface RecoveryPoint {
509
-
510
- recoveryPointId?: string;
511
-
512
- recoveryPointCreateTime?: Date;
513
-
514
- totalSizeInMegaBytes?: number;
515
-
516
- namespaceName?: string;
517
-
518
- workgroupName?: string;
519
- }
520
- export interface GetRecoveryPointResponse {
521
-
522
- recoveryPoint?: RecoveryPoint;
523
- }
524
- export interface GetResourcePolicyRequest {
525
-
526
- resourceArn: string | undefined;
527
- }
528
-
529
- export interface ResourcePolicy {
530
-
531
- resourceArn?: string;
532
-
533
- policy?: string;
534
- }
535
- export interface GetResourcePolicyResponse {
536
-
537
- resourcePolicy?: ResourcePolicy;
538
- }
539
- export interface GetSnapshotRequest {
540
-
541
- snapshotName?: string;
542
-
543
- ownerAccount?: string;
544
-
545
- snapshotArn?: string;
546
- }
547
- export interface GetSnapshotResponse {
548
-
549
- snapshot?: Snapshot;
550
- }
551
- export interface GetUsageLimitRequest {
552
-
553
- usageLimitId: string | undefined;
554
- }
555
- export interface GetUsageLimitResponse {
556
-
557
- usageLimit?: UsageLimit;
558
- }
559
- export interface GetWorkgroupRequest {
560
-
561
- workgroupName: string | undefined;
562
- }
563
- export interface GetWorkgroupResponse {
564
-
565
- workgroup: Workgroup | undefined;
566
- }
567
-
568
- export declare class InvalidPaginationException extends __BaseException {
569
- readonly name: "InvalidPaginationException";
570
- readonly $fault: "client";
571
-
572
- constructor(opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>);
573
- }
574
- export interface ListNamespacesRequest {
575
-
576
- nextToken?: string;
577
-
578
- maxResults?: number;
579
- }
580
- export interface ListNamespacesResponse {
581
-
582
- nextToken?: string;
583
-
584
- namespaces: Namespace[] | undefined;
585
- }
586
- export interface ListRecoveryPointsRequest {
587
-
588
- nextToken?: string;
589
-
590
- maxResults?: number;
591
-
592
- startTime?: Date;
593
-
594
- endTime?: Date;
595
-
596
- namespaceName?: string;
597
- }
598
- export interface ListRecoveryPointsResponse {
599
-
600
- recoveryPoints?: RecoveryPoint[];
601
-
602
- nextToken?: string;
603
- }
604
- export interface ListSnapshotsRequest {
605
-
606
- nextToken?: string;
607
-
608
- maxResults?: number;
609
-
610
- namespaceName?: string;
611
-
612
- namespaceArn?: string;
613
-
614
- ownerAccount?: string;
615
-
616
- startTime?: Date;
617
-
618
- endTime?: Date;
619
- }
620
- export interface ListSnapshotsResponse {
621
-
622
- nextToken?: string;
623
-
624
- snapshots?: Snapshot[];
625
- }
626
- export interface ListTagsForResourceRequest {
627
-
628
- resourceArn: string | undefined;
629
- }
630
- export interface ListTagsForResourceResponse {
631
-
632
- tags?: Tag[];
633
- }
634
-
635
- export declare class ThrottlingException extends __BaseException {
636
- readonly name: "ThrottlingException";
637
- readonly $fault: "client";
638
- $retryable: {};
639
- code?: string;
640
-
641
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
642
- }
643
- export interface ListUsageLimitsRequest {
644
-
645
- resourceArn?: string;
646
-
647
- usageType?: UsageLimitUsageType | string;
648
-
649
- nextToken?: string;
650
-
651
- maxResults?: number;
652
- }
653
- export interface ListUsageLimitsResponse {
654
-
655
- usageLimits?: UsageLimit[];
656
-
657
- nextToken?: string;
658
- }
659
- export interface ListWorkgroupsRequest {
660
-
661
- nextToken?: string;
662
-
663
- maxResults?: number;
664
- }
665
- export interface ListWorkgroupsResponse {
666
-
667
- nextToken?: string;
668
-
669
- workgroups: Workgroup[] | undefined;
670
- }
671
- export interface UpdateNamespaceRequest {
672
-
673
- namespaceName: string | undefined;
674
-
675
- adminUserPassword?: string;
676
-
677
- adminUsername?: string;
678
-
679
- kmsKeyId?: string;
680
-
681
- defaultIamRoleArn?: string;
682
-
683
- iamRoles?: string[];
684
-
685
- logExports?: (LogExport | string)[];
686
- }
687
- export interface UpdateNamespaceResponse {
688
-
689
- namespace: Namespace | undefined;
690
- }
691
- export interface PutResourcePolicyRequest {
692
-
693
- resourceArn: string | undefined;
694
-
695
- policy: string | undefined;
696
- }
697
- export interface PutResourcePolicyResponse {
698
-
699
- resourcePolicy?: ResourcePolicy;
700
- }
701
- export interface RestoreFromRecoveryPointRequest {
702
-
703
- recoveryPointId: string | undefined;
704
-
705
- namespaceName: string | undefined;
706
-
707
- workgroupName: string | undefined;
708
- }
709
- export interface RestoreFromRecoveryPointResponse {
710
-
711
- recoveryPointId?: string;
712
-
713
- namespace?: Namespace;
714
- }
715
- export interface RestoreFromSnapshotRequest {
716
-
717
- namespaceName: string | undefined;
718
-
719
- workgroupName: string | undefined;
720
-
721
- snapshotName?: string;
722
-
723
- snapshotArn?: string;
724
-
725
- ownerAccount?: string;
726
- }
727
- export interface RestoreFromSnapshotResponse {
728
-
729
- snapshotName?: string;
730
-
731
- ownerAccount?: string;
732
-
733
- namespace?: Namespace;
734
- }
735
- export interface UpdateSnapshotRequest {
736
-
737
- snapshotName: string | undefined;
738
-
739
- retentionPeriod?: number;
740
- }
741
- export interface UpdateSnapshotResponse {
742
-
743
- snapshot?: Snapshot;
744
- }
745
- export interface TagResourceRequest {
746
-
747
- resourceArn: string | undefined;
748
-
749
- tags: Tag[] | undefined;
750
- }
751
- export interface TagResourceResponse {
752
- }
753
- export interface UntagResourceRequest {
754
-
755
- resourceArn: string | undefined;
756
-
757
- tagKeys: string[] | undefined;
758
- }
759
- export interface UntagResourceResponse {
760
- }
761
- export interface UpdateUsageLimitRequest {
762
-
763
- usageLimitId: string | undefined;
764
-
765
- amount?: number;
766
-
767
- breachAction?: UsageLimitBreachAction | string;
768
- }
769
- export interface UpdateUsageLimitResponse {
770
-
771
- usageLimit?: UsageLimit;
772
- }
773
- export interface UpdateWorkgroupRequest {
774
-
775
- workgroupName: string | undefined;
776
-
777
- baseCapacity?: number;
778
-
779
- enhancedVpcRouting?: boolean;
780
-
781
- configParameters?: ConfigParameter[];
782
-
783
- publiclyAccessible?: boolean;
784
-
785
- subnetIds?: string[];
786
-
787
- securityGroupIds?: string[];
788
- }
789
- export interface UpdateWorkgroupResponse {
790
-
791
- workgroup: Workgroup | undefined;
792
- }
793
-
794
- export declare const ConfigParameterFilterSensitiveLog: (obj: ConfigParameter) => any;
795
-
796
- export declare const ConvertRecoveryPointToSnapshotRequestFilterSensitiveLog: (obj: ConvertRecoveryPointToSnapshotRequest) => any;
797
-
798
- export declare const SnapshotFilterSensitiveLog: (obj: Snapshot) => any;
799
-
800
- export declare const ConvertRecoveryPointToSnapshotResponseFilterSensitiveLog: (obj: ConvertRecoveryPointToSnapshotResponse) => any;
801
-
802
- export declare const CreateEndpointAccessRequestFilterSensitiveLog: (obj: CreateEndpointAccessRequest) => any;
803
-
804
- export declare const NetworkInterfaceFilterSensitiveLog: (obj: NetworkInterface) => any;
805
-
806
- export declare const VpcEndpointFilterSensitiveLog: (obj: VpcEndpoint) => any;
807
-
808
- export declare const VpcSecurityGroupMembershipFilterSensitiveLog: (obj: VpcSecurityGroupMembership) => any;
809
-
810
- export declare const EndpointAccessFilterSensitiveLog: (obj: EndpointAccess) => any;
811
-
812
- export declare const CreateEndpointAccessResponseFilterSensitiveLog: (obj: CreateEndpointAccessResponse) => any;
813
-
814
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
815
-
816
- export declare const CreateNamespaceRequestFilterSensitiveLog: (obj: CreateNamespaceRequest) => any;
817
-
818
- export declare const NamespaceFilterSensitiveLog: (obj: Namespace) => any;
819
-
820
- export declare const CreateNamespaceResponseFilterSensitiveLog: (obj: CreateNamespaceResponse) => any;
821
-
822
- export declare const CreateSnapshotRequestFilterSensitiveLog: (obj: CreateSnapshotRequest) => any;
823
-
824
- export declare const CreateSnapshotResponseFilterSensitiveLog: (obj: CreateSnapshotResponse) => any;
825
-
826
- export declare const CreateUsageLimitRequestFilterSensitiveLog: (obj: CreateUsageLimitRequest) => any;
827
-
828
- export declare const UsageLimitFilterSensitiveLog: (obj: UsageLimit) => any;
829
-
830
- export declare const CreateUsageLimitResponseFilterSensitiveLog: (obj: CreateUsageLimitResponse) => any;
831
-
832
- export declare const CreateWorkgroupRequestFilterSensitiveLog: (obj: CreateWorkgroupRequest) => any;
833
-
834
- export declare const EndpointFilterSensitiveLog: (obj: Endpoint) => any;
835
-
836
- export declare const WorkgroupFilterSensitiveLog: (obj: Workgroup) => any;
837
-
838
- export declare const CreateWorkgroupResponseFilterSensitiveLog: (obj: CreateWorkgroupResponse) => any;
839
-
840
- export declare const DeleteEndpointAccessRequestFilterSensitiveLog: (obj: DeleteEndpointAccessRequest) => any;
841
-
842
- export declare const DeleteEndpointAccessResponseFilterSensitiveLog: (obj: DeleteEndpointAccessResponse) => any;
843
-
844
- export declare const GetEndpointAccessRequestFilterSensitiveLog: (obj: GetEndpointAccessRequest) => any;
845
-
846
- export declare const GetEndpointAccessResponseFilterSensitiveLog: (obj: GetEndpointAccessResponse) => any;
847
-
848
- export declare const ListEndpointAccessRequestFilterSensitiveLog: (obj: ListEndpointAccessRequest) => any;
849
-
850
- export declare const ListEndpointAccessResponseFilterSensitiveLog: (obj: ListEndpointAccessResponse) => any;
851
-
852
- export declare const UpdateEndpointAccessRequestFilterSensitiveLog: (obj: UpdateEndpointAccessRequest) => any;
853
-
854
- export declare const UpdateEndpointAccessResponseFilterSensitiveLog: (obj: UpdateEndpointAccessResponse) => any;
855
-
856
- export declare const DeleteNamespaceRequestFilterSensitiveLog: (obj: DeleteNamespaceRequest) => any;
857
-
858
- export declare const DeleteNamespaceResponseFilterSensitiveLog: (obj: DeleteNamespaceResponse) => any;
859
-
860
- export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (obj: DeleteResourcePolicyRequest) => any;
861
-
862
- export declare const DeleteResourcePolicyResponseFilterSensitiveLog: (obj: DeleteResourcePolicyResponse) => any;
863
-
864
- export declare const DeleteSnapshotRequestFilterSensitiveLog: (obj: DeleteSnapshotRequest) => any;
865
-
866
- export declare const DeleteSnapshotResponseFilterSensitiveLog: (obj: DeleteSnapshotResponse) => any;
867
-
868
- export declare const DeleteUsageLimitRequestFilterSensitiveLog: (obj: DeleteUsageLimitRequest) => any;
869
-
870
- export declare const DeleteUsageLimitResponseFilterSensitiveLog: (obj: DeleteUsageLimitResponse) => any;
871
-
872
- export declare const DeleteWorkgroupRequestFilterSensitiveLog: (obj: DeleteWorkgroupRequest) => any;
873
-
874
- export declare const DeleteWorkgroupResponseFilterSensitiveLog: (obj: DeleteWorkgroupResponse) => any;
875
-
876
- export declare const GetCredentialsRequestFilterSensitiveLog: (obj: GetCredentialsRequest) => any;
877
-
878
- export declare const GetCredentialsResponseFilterSensitiveLog: (obj: GetCredentialsResponse) => any;
879
-
880
- export declare const GetNamespaceRequestFilterSensitiveLog: (obj: GetNamespaceRequest) => any;
881
-
882
- export declare const GetNamespaceResponseFilterSensitiveLog: (obj: GetNamespaceResponse) => any;
883
-
884
- export declare const GetRecoveryPointRequestFilterSensitiveLog: (obj: GetRecoveryPointRequest) => any;
885
-
886
- export declare const RecoveryPointFilterSensitiveLog: (obj: RecoveryPoint) => any;
887
-
888
- export declare const GetRecoveryPointResponseFilterSensitiveLog: (obj: GetRecoveryPointResponse) => any;
889
-
890
- export declare const GetResourcePolicyRequestFilterSensitiveLog: (obj: GetResourcePolicyRequest) => any;
891
-
892
- export declare const ResourcePolicyFilterSensitiveLog: (obj: ResourcePolicy) => any;
893
-
894
- export declare const GetResourcePolicyResponseFilterSensitiveLog: (obj: GetResourcePolicyResponse) => any;
895
-
896
- export declare const GetSnapshotRequestFilterSensitiveLog: (obj: GetSnapshotRequest) => any;
897
-
898
- export declare const GetSnapshotResponseFilterSensitiveLog: (obj: GetSnapshotResponse) => any;
899
-
900
- export declare const GetUsageLimitRequestFilterSensitiveLog: (obj: GetUsageLimitRequest) => any;
901
-
902
- export declare const GetUsageLimitResponseFilterSensitiveLog: (obj: GetUsageLimitResponse) => any;
903
-
904
- export declare const GetWorkgroupRequestFilterSensitiveLog: (obj: GetWorkgroupRequest) => any;
905
-
906
- export declare const GetWorkgroupResponseFilterSensitiveLog: (obj: GetWorkgroupResponse) => any;
907
-
908
- export declare const ListNamespacesRequestFilterSensitiveLog: (obj: ListNamespacesRequest) => any;
909
-
910
- export declare const ListNamespacesResponseFilterSensitiveLog: (obj: ListNamespacesResponse) => any;
911
-
912
- export declare const ListRecoveryPointsRequestFilterSensitiveLog: (obj: ListRecoveryPointsRequest) => any;
913
-
914
- export declare const ListRecoveryPointsResponseFilterSensitiveLog: (obj: ListRecoveryPointsResponse) => any;
915
-
916
- export declare const ListSnapshotsRequestFilterSensitiveLog: (obj: ListSnapshotsRequest) => any;
917
-
918
- export declare const ListSnapshotsResponseFilterSensitiveLog: (obj: ListSnapshotsResponse) => any;
919
-
920
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
921
-
922
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
923
-
924
- export declare const ListUsageLimitsRequestFilterSensitiveLog: (obj: ListUsageLimitsRequest) => any;
925
-
926
- export declare const ListUsageLimitsResponseFilterSensitiveLog: (obj: ListUsageLimitsResponse) => any;
927
-
928
- export declare const ListWorkgroupsRequestFilterSensitiveLog: (obj: ListWorkgroupsRequest) => any;
929
-
930
- export declare const ListWorkgroupsResponseFilterSensitiveLog: (obj: ListWorkgroupsResponse) => any;
931
-
932
- export declare const UpdateNamespaceRequestFilterSensitiveLog: (obj: UpdateNamespaceRequest) => any;
933
-
934
- export declare const UpdateNamespaceResponseFilterSensitiveLog: (obj: UpdateNamespaceResponse) => any;
935
-
936
- export declare const PutResourcePolicyRequestFilterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
937
-
938
- export declare const PutResourcePolicyResponseFilterSensitiveLog: (obj: PutResourcePolicyResponse) => any;
939
-
940
- export declare const RestoreFromRecoveryPointRequestFilterSensitiveLog: (obj: RestoreFromRecoveryPointRequest) => any;
941
-
942
- export declare const RestoreFromRecoveryPointResponseFilterSensitiveLog: (obj: RestoreFromRecoveryPointResponse) => any;
943
-
944
- export declare const RestoreFromSnapshotRequestFilterSensitiveLog: (obj: RestoreFromSnapshotRequest) => any;
945
-
946
- export declare const RestoreFromSnapshotResponseFilterSensitiveLog: (obj: RestoreFromSnapshotResponse) => any;
947
-
948
- export declare const UpdateSnapshotRequestFilterSensitiveLog: (obj: UpdateSnapshotRequest) => any;
949
-
950
- export declare const UpdateSnapshotResponseFilterSensitiveLog: (obj: UpdateSnapshotResponse) => any;
951
-
952
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
953
-
954
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
955
-
956
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
957
-
958
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
959
-
960
- export declare const UpdateUsageLimitRequestFilterSensitiveLog: (obj: UpdateUsageLimitRequest) => any;
961
-
962
- export declare const UpdateUsageLimitResponseFilterSensitiveLog: (obj: UpdateUsageLimitResponse) => any;
963
-
964
- export declare const UpdateWorkgroupRequestFilterSensitiveLog: (obj: UpdateWorkgroupRequest) => any;
965
-
966
- export declare const UpdateWorkgroupResponseFilterSensitiveLog: (obj: UpdateWorkgroupResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/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;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export interface ConfigParameter {
12
+ parameterKey?: string;
13
+ parameterValue?: string;
14
+ }
15
+ export declare class ConflictException extends __BaseException {
16
+ readonly name: "ConflictException";
17
+ readonly $fault: "client";
18
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
19
+ }
20
+ export interface ConvertRecoveryPointToSnapshotRequest {
21
+ recoveryPointId: string | undefined;
22
+ snapshotName: string | undefined;
23
+ retentionPeriod?: number;
24
+ }
25
+ export declare enum SnapshotStatus {
26
+ AVAILABLE = "AVAILABLE",
27
+ CANCELLED = "CANCELLED",
28
+ COPYING = "COPYING",
29
+ CREATING = "CREATING",
30
+ DELETED = "DELETED",
31
+ FAILED = "FAILED",
32
+ }
33
+ export interface Snapshot {
34
+ namespaceName?: string;
35
+ namespaceArn?: string;
36
+ snapshotName?: string;
37
+ snapshotCreateTime?: Date;
38
+ adminUsername?: string;
39
+ status?: SnapshotStatus | string;
40
+ kmsKeyId?: string;
41
+ ownerAccount?: string;
42
+ totalBackupSizeInMegaBytes?: number;
43
+ actualIncrementalBackupSizeInMegaBytes?: number;
44
+ backupProgressInMegaBytes?: number;
45
+ currentBackupRateInMegaBytesPerSecond?: number;
46
+ estimatedSecondsToCompletion?: number;
47
+ elapsedTimeInSeconds?: number;
48
+ snapshotRetentionPeriod?: number;
49
+ snapshotRemainingDays?: number;
50
+ snapshotRetentionStartTime?: Date;
51
+ snapshotArn?: string;
52
+ accountsWithRestoreAccess?: string[];
53
+ accountsWithProvisionedRestoreAccess?: string[];
54
+ }
55
+ export interface ConvertRecoveryPointToSnapshotResponse {
56
+ snapshot?: Snapshot;
57
+ }
58
+ export declare class InternalServerException extends __BaseException {
59
+ readonly name: "InternalServerException";
60
+ readonly $fault: "server";
61
+ $retryable: {};
62
+ constructor(
63
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
64
+ );
65
+ }
66
+ export declare class ResourceNotFoundException extends __BaseException {
67
+ readonly name: "ResourceNotFoundException";
68
+ readonly $fault: "client";
69
+ resourceName?: string;
70
+ constructor(
71
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
72
+ );
73
+ }
74
+ export declare class ServiceQuotaExceededException extends __BaseException {
75
+ readonly name: "ServiceQuotaExceededException";
76
+ readonly $fault: "client";
77
+ constructor(
78
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
79
+ );
80
+ }
81
+ export declare class ValidationException extends __BaseException {
82
+ readonly name: "ValidationException";
83
+ readonly $fault: "client";
84
+ constructor(
85
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
86
+ );
87
+ }
88
+ export interface CreateEndpointAccessRequest {
89
+ endpointName: string | undefined;
90
+ subnetIds: string[] | undefined;
91
+ workgroupName: string | undefined;
92
+ vpcSecurityGroupIds?: string[];
93
+ }
94
+ export interface NetworkInterface {
95
+ networkInterfaceId?: string;
96
+ subnetId?: string;
97
+ privateIpAddress?: string;
98
+ availabilityZone?: string;
99
+ }
100
+ export interface VpcEndpoint {
101
+ vpcEndpointId?: string;
102
+ vpcId?: string;
103
+ networkInterfaces?: NetworkInterface[];
104
+ }
105
+ export interface VpcSecurityGroupMembership {
106
+ vpcSecurityGroupId?: string;
107
+ status?: string;
108
+ }
109
+ export interface EndpointAccess {
110
+ endpointName?: string;
111
+ endpointStatus?: string;
112
+ workgroupName?: string;
113
+ endpointCreateTime?: Date;
114
+ port?: number;
115
+ address?: string;
116
+ subnetIds?: string[];
117
+ vpcSecurityGroups?: VpcSecurityGroupMembership[];
118
+ vpcEndpoint?: VpcEndpoint;
119
+ endpointArn?: string;
120
+ }
121
+ export interface CreateEndpointAccessResponse {
122
+ endpoint?: EndpointAccess;
123
+ }
124
+ export declare enum LogExport {
125
+ CONNECTION_LOG = "connectionlog",
126
+ USER_ACTIVITY_LOG = "useractivitylog",
127
+ USER_LOG = "userlog",
128
+ }
129
+ export interface Tag {
130
+ key: string | undefined;
131
+ value: string | undefined;
132
+ }
133
+ export interface CreateNamespaceRequest {
134
+ namespaceName: string | undefined;
135
+ adminUsername?: string;
136
+ adminUserPassword?: string;
137
+ dbName?: string;
138
+ kmsKeyId?: string;
139
+ defaultIamRoleArn?: string;
140
+ iamRoles?: string[];
141
+ logExports?: (LogExport | string)[];
142
+ tags?: Tag[];
143
+ }
144
+ export declare enum NamespaceStatus {
145
+ AVAILABLE = "AVAILABLE",
146
+ DELETING = "DELETING",
147
+ MODIFYING = "MODIFYING",
148
+ }
149
+ export interface Namespace {
150
+ namespaceArn?: string;
151
+ namespaceId?: string;
152
+ namespaceName?: string;
153
+ adminUsername?: string;
154
+ dbName?: string;
155
+ kmsKeyId?: string;
156
+ defaultIamRoleArn?: string;
157
+ iamRoles?: string[];
158
+ logExports?: (LogExport | string)[];
159
+ status?: NamespaceStatus | string;
160
+ creationDate?: Date;
161
+ }
162
+ export interface CreateNamespaceResponse {
163
+ namespace?: Namespace;
164
+ }
165
+ export declare class TooManyTagsException extends __BaseException {
166
+ readonly name: "TooManyTagsException";
167
+ readonly $fault: "client";
168
+ resourceName?: string;
169
+ constructor(
170
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
171
+ );
172
+ }
173
+ export interface CreateSnapshotRequest {
174
+ namespaceName: string | undefined;
175
+ snapshotName: string | undefined;
176
+ retentionPeriod?: number;
177
+ }
178
+ export interface CreateSnapshotResponse {
179
+ snapshot?: Snapshot;
180
+ }
181
+ export declare enum UsageLimitBreachAction {
182
+ DEACTIVATE = "deactivate",
183
+ EMIT_METRIC = "emit-metric",
184
+ LOG = "log",
185
+ }
186
+ export declare enum UsageLimitPeriod {
187
+ DAILY = "daily",
188
+ MONTHLY = "monthly",
189
+ WEEKLY = "weekly",
190
+ }
191
+ export declare enum UsageLimitUsageType {
192
+ CROSS_REGION_DATASHARING = "cross-region-datasharing",
193
+ SERVERLESS_COMPUTE = "serverless-compute",
194
+ }
195
+ export interface CreateUsageLimitRequest {
196
+ resourceArn: string | undefined;
197
+ usageType: UsageLimitUsageType | string | undefined;
198
+ amount: number | undefined;
199
+ period?: UsageLimitPeriod | string;
200
+ breachAction?: UsageLimitBreachAction | string;
201
+ }
202
+ export interface UsageLimit {
203
+ usageLimitId?: string;
204
+ usageLimitArn?: string;
205
+ resourceArn?: string;
206
+ usageType?: UsageLimitUsageType | string;
207
+ amount?: number;
208
+ period?: UsageLimitPeriod | string;
209
+ breachAction?: UsageLimitBreachAction | string;
210
+ }
211
+ export interface CreateUsageLimitResponse {
212
+ usageLimit?: UsageLimit;
213
+ }
214
+ export interface CreateWorkgroupRequest {
215
+ workgroupName: string | undefined;
216
+ namespaceName: string | undefined;
217
+ baseCapacity?: number;
218
+ enhancedVpcRouting?: boolean;
219
+ configParameters?: ConfigParameter[];
220
+ securityGroupIds?: string[];
221
+ subnetIds?: string[];
222
+ publiclyAccessible?: boolean;
223
+ tags?: Tag[];
224
+ }
225
+ export interface Endpoint {
226
+ address?: string;
227
+ port?: number;
228
+ vpcEndpoints?: VpcEndpoint[];
229
+ }
230
+ export declare enum WorkgroupStatus {
231
+ AVAILABLE = "AVAILABLE",
232
+ CREATING = "CREATING",
233
+ DELETING = "DELETING",
234
+ MODIFYING = "MODIFYING",
235
+ }
236
+ export interface Workgroup {
237
+ workgroupId?: string;
238
+ workgroupArn?: string;
239
+ workgroupName?: string;
240
+ namespaceName?: string;
241
+ baseCapacity?: number;
242
+ enhancedVpcRouting?: boolean;
243
+ configParameters?: ConfigParameter[];
244
+ securityGroupIds?: string[];
245
+ subnetIds?: string[];
246
+ status?: WorkgroupStatus | string;
247
+ endpoint?: Endpoint;
248
+ publiclyAccessible?: boolean;
249
+ creationDate?: Date;
250
+ }
251
+ export interface CreateWorkgroupResponse {
252
+ workgroup?: Workgroup;
253
+ }
254
+ export declare class InsufficientCapacityException extends __BaseException {
255
+ readonly name: "InsufficientCapacityException";
256
+ readonly $fault: "client";
257
+ $retryable: {};
258
+ constructor(
259
+ opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>
260
+ );
261
+ }
262
+ export interface DeleteEndpointAccessRequest {
263
+ endpointName: string | undefined;
264
+ }
265
+ export interface DeleteEndpointAccessResponse {
266
+ endpoint?: EndpointAccess;
267
+ }
268
+ export interface GetEndpointAccessRequest {
269
+ endpointName: string | undefined;
270
+ }
271
+ export interface GetEndpointAccessResponse {
272
+ endpoint?: EndpointAccess;
273
+ }
274
+ export interface ListEndpointAccessRequest {
275
+ nextToken?: string;
276
+ maxResults?: number;
277
+ workgroupName?: string;
278
+ vpcId?: string;
279
+ }
280
+ export interface ListEndpointAccessResponse {
281
+ nextToken?: string;
282
+ endpoints: EndpointAccess[] | undefined;
283
+ }
284
+ export interface UpdateEndpointAccessRequest {
285
+ endpointName: string | undefined;
286
+ vpcSecurityGroupIds?: string[];
287
+ }
288
+ export interface UpdateEndpointAccessResponse {
289
+ endpoint?: EndpointAccess;
290
+ }
291
+ export interface DeleteNamespaceRequest {
292
+ namespaceName: string | undefined;
293
+ finalSnapshotName?: string;
294
+ finalSnapshotRetentionPeriod?: number;
295
+ }
296
+ export interface DeleteNamespaceResponse {
297
+ namespace: Namespace | undefined;
298
+ }
299
+ export interface DeleteResourcePolicyRequest {
300
+ resourceArn: string | undefined;
301
+ }
302
+ export interface DeleteResourcePolicyResponse {}
303
+ export interface DeleteSnapshotRequest {
304
+ snapshotName: string | undefined;
305
+ }
306
+ export interface DeleteSnapshotResponse {
307
+ snapshot?: Snapshot;
308
+ }
309
+ export interface DeleteUsageLimitRequest {
310
+ usageLimitId: string | undefined;
311
+ }
312
+ export interface DeleteUsageLimitResponse {
313
+ usageLimit?: UsageLimit;
314
+ }
315
+ export interface DeleteWorkgroupRequest {
316
+ workgroupName: string | undefined;
317
+ }
318
+ export interface DeleteWorkgroupResponse {
319
+ workgroup: Workgroup | undefined;
320
+ }
321
+ export interface GetCredentialsRequest {
322
+ workgroupName: string | undefined;
323
+ dbName?: string;
324
+ durationSeconds?: number;
325
+ }
326
+ export interface GetCredentialsResponse {
327
+ dbUser?: string;
328
+ dbPassword?: string;
329
+ expiration?: Date;
330
+ nextRefreshTime?: Date;
331
+ }
332
+ export interface GetNamespaceRequest {
333
+ namespaceName: string | undefined;
334
+ }
335
+ export interface GetNamespaceResponse {
336
+ namespace: Namespace | undefined;
337
+ }
338
+ export interface GetRecoveryPointRequest {
339
+ recoveryPointId: string | undefined;
340
+ }
341
+ export interface RecoveryPoint {
342
+ recoveryPointId?: string;
343
+ recoveryPointCreateTime?: Date;
344
+ totalSizeInMegaBytes?: number;
345
+ namespaceName?: string;
346
+ workgroupName?: string;
347
+ }
348
+ export interface GetRecoveryPointResponse {
349
+ recoveryPoint?: RecoveryPoint;
350
+ }
351
+ export interface GetResourcePolicyRequest {
352
+ resourceArn: string | undefined;
353
+ }
354
+ export interface ResourcePolicy {
355
+ resourceArn?: string;
356
+ policy?: string;
357
+ }
358
+ export interface GetResourcePolicyResponse {
359
+ resourcePolicy?: ResourcePolicy;
360
+ }
361
+ export interface GetSnapshotRequest {
362
+ snapshotName?: string;
363
+ ownerAccount?: string;
364
+ snapshotArn?: string;
365
+ }
366
+ export interface GetSnapshotResponse {
367
+ snapshot?: Snapshot;
368
+ }
369
+ export interface GetUsageLimitRequest {
370
+ usageLimitId: string | undefined;
371
+ }
372
+ export interface GetUsageLimitResponse {
373
+ usageLimit?: UsageLimit;
374
+ }
375
+ export interface GetWorkgroupRequest {
376
+ workgroupName: string | undefined;
377
+ }
378
+ export interface GetWorkgroupResponse {
379
+ workgroup: Workgroup | undefined;
380
+ }
381
+ export declare class InvalidPaginationException extends __BaseException {
382
+ readonly name: "InvalidPaginationException";
383
+ readonly $fault: "client";
384
+ constructor(
385
+ opts: __ExceptionOptionType<InvalidPaginationException, __BaseException>
386
+ );
387
+ }
388
+ export interface ListNamespacesRequest {
389
+ nextToken?: string;
390
+ maxResults?: number;
391
+ }
392
+ export interface ListNamespacesResponse {
393
+ nextToken?: string;
394
+ namespaces: Namespace[] | undefined;
395
+ }
396
+ export interface ListRecoveryPointsRequest {
397
+ nextToken?: string;
398
+ maxResults?: number;
399
+ startTime?: Date;
400
+ endTime?: Date;
401
+ namespaceName?: string;
402
+ }
403
+ export interface ListRecoveryPointsResponse {
404
+ recoveryPoints?: RecoveryPoint[];
405
+ nextToken?: string;
406
+ }
407
+ export interface ListSnapshotsRequest {
408
+ nextToken?: string;
409
+ maxResults?: number;
410
+ namespaceName?: string;
411
+ namespaceArn?: string;
412
+ ownerAccount?: string;
413
+ startTime?: Date;
414
+ endTime?: Date;
415
+ }
416
+ export interface ListSnapshotsResponse {
417
+ nextToken?: string;
418
+ snapshots?: Snapshot[];
419
+ }
420
+ export interface ListTagsForResourceRequest {
421
+ resourceArn: string | undefined;
422
+ }
423
+ export interface ListTagsForResourceResponse {
424
+ tags?: Tag[];
425
+ }
426
+ export declare class ThrottlingException extends __BaseException {
427
+ readonly name: "ThrottlingException";
428
+ readonly $fault: "client";
429
+ $retryable: {};
430
+ code?: string;
431
+ constructor(
432
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
433
+ );
434
+ }
435
+ export interface ListUsageLimitsRequest {
436
+ resourceArn?: string;
437
+ usageType?: UsageLimitUsageType | string;
438
+ nextToken?: string;
439
+ maxResults?: number;
440
+ }
441
+ export interface ListUsageLimitsResponse {
442
+ usageLimits?: UsageLimit[];
443
+ nextToken?: string;
444
+ }
445
+ export interface ListWorkgroupsRequest {
446
+ nextToken?: string;
447
+ maxResults?: number;
448
+ }
449
+ export interface ListWorkgroupsResponse {
450
+ nextToken?: string;
451
+ workgroups: Workgroup[] | undefined;
452
+ }
453
+ export interface UpdateNamespaceRequest {
454
+ namespaceName: string | undefined;
455
+ adminUserPassword?: string;
456
+ adminUsername?: string;
457
+ kmsKeyId?: string;
458
+ defaultIamRoleArn?: string;
459
+ iamRoles?: string[];
460
+ logExports?: (LogExport | string)[];
461
+ }
462
+ export interface UpdateNamespaceResponse {
463
+ namespace: Namespace | undefined;
464
+ }
465
+ export interface PutResourcePolicyRequest {
466
+ resourceArn: string | undefined;
467
+ policy: string | undefined;
468
+ }
469
+ export interface PutResourcePolicyResponse {
470
+ resourcePolicy?: ResourcePolicy;
471
+ }
472
+ export interface RestoreFromRecoveryPointRequest {
473
+ recoveryPointId: string | undefined;
474
+ namespaceName: string | undefined;
475
+ workgroupName: string | undefined;
476
+ }
477
+ export interface RestoreFromRecoveryPointResponse {
478
+ recoveryPointId?: string;
479
+ namespace?: Namespace;
480
+ }
481
+ export interface RestoreFromSnapshotRequest {
482
+ namespaceName: string | undefined;
483
+ workgroupName: string | undefined;
484
+ snapshotName?: string;
485
+ snapshotArn?: string;
486
+ ownerAccount?: string;
487
+ }
488
+ export interface RestoreFromSnapshotResponse {
489
+ snapshotName?: string;
490
+ ownerAccount?: string;
491
+ namespace?: Namespace;
492
+ }
493
+ export interface UpdateSnapshotRequest {
494
+ snapshotName: string | undefined;
495
+ retentionPeriod?: number;
496
+ }
497
+ export interface UpdateSnapshotResponse {
498
+ snapshot?: Snapshot;
499
+ }
500
+ export interface TagResourceRequest {
501
+ resourceArn: string | undefined;
502
+ tags: Tag[] | undefined;
503
+ }
504
+ export interface TagResourceResponse {}
505
+ export interface UntagResourceRequest {
506
+ resourceArn: string | undefined;
507
+ tagKeys: string[] | undefined;
508
+ }
509
+ export interface UntagResourceResponse {}
510
+ export interface UpdateUsageLimitRequest {
511
+ usageLimitId: string | undefined;
512
+ amount?: number;
513
+ breachAction?: UsageLimitBreachAction | string;
514
+ }
515
+ export interface UpdateUsageLimitResponse {
516
+ usageLimit?: UsageLimit;
517
+ }
518
+ export interface UpdateWorkgroupRequest {
519
+ workgroupName: string | undefined;
520
+ baseCapacity?: number;
521
+ enhancedVpcRouting?: boolean;
522
+ configParameters?: ConfigParameter[];
523
+ publiclyAccessible?: boolean;
524
+ subnetIds?: string[];
525
+ securityGroupIds?: string[];
526
+ }
527
+ export interface UpdateWorkgroupResponse {
528
+ workgroup: Workgroup | undefined;
529
+ }
530
+ export declare const ConfigParameterFilterSensitiveLog: (
531
+ obj: ConfigParameter
532
+ ) => any;
533
+ export declare const ConvertRecoveryPointToSnapshotRequestFilterSensitiveLog: (
534
+ obj: ConvertRecoveryPointToSnapshotRequest
535
+ ) => any;
536
+ export declare const SnapshotFilterSensitiveLog: (obj: Snapshot) => any;
537
+ export declare const ConvertRecoveryPointToSnapshotResponseFilterSensitiveLog: (
538
+ obj: ConvertRecoveryPointToSnapshotResponse
539
+ ) => any;
540
+ export declare const CreateEndpointAccessRequestFilterSensitiveLog: (
541
+ obj: CreateEndpointAccessRequest
542
+ ) => any;
543
+ export declare const NetworkInterfaceFilterSensitiveLog: (
544
+ obj: NetworkInterface
545
+ ) => any;
546
+ export declare const VpcEndpointFilterSensitiveLog: (obj: VpcEndpoint) => any;
547
+ export declare const VpcSecurityGroupMembershipFilterSensitiveLog: (
548
+ obj: VpcSecurityGroupMembership
549
+ ) => any;
550
+ export declare const EndpointAccessFilterSensitiveLog: (
551
+ obj: EndpointAccess
552
+ ) => any;
553
+ export declare const CreateEndpointAccessResponseFilterSensitiveLog: (
554
+ obj: CreateEndpointAccessResponse
555
+ ) => any;
556
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
557
+ export declare const CreateNamespaceRequestFilterSensitiveLog: (
558
+ obj: CreateNamespaceRequest
559
+ ) => any;
560
+ export declare const NamespaceFilterSensitiveLog: (obj: Namespace) => any;
561
+ export declare const CreateNamespaceResponseFilterSensitiveLog: (
562
+ obj: CreateNamespaceResponse
563
+ ) => any;
564
+ export declare const CreateSnapshotRequestFilterSensitiveLog: (
565
+ obj: CreateSnapshotRequest
566
+ ) => any;
567
+ export declare const CreateSnapshotResponseFilterSensitiveLog: (
568
+ obj: CreateSnapshotResponse
569
+ ) => any;
570
+ export declare const CreateUsageLimitRequestFilterSensitiveLog: (
571
+ obj: CreateUsageLimitRequest
572
+ ) => any;
573
+ export declare const UsageLimitFilterSensitiveLog: (obj: UsageLimit) => any;
574
+ export declare const CreateUsageLimitResponseFilterSensitiveLog: (
575
+ obj: CreateUsageLimitResponse
576
+ ) => any;
577
+ export declare const CreateWorkgroupRequestFilterSensitiveLog: (
578
+ obj: CreateWorkgroupRequest
579
+ ) => any;
580
+ export declare const EndpointFilterSensitiveLog: (obj: Endpoint) => any;
581
+ export declare const WorkgroupFilterSensitiveLog: (obj: Workgroup) => any;
582
+ export declare const CreateWorkgroupResponseFilterSensitiveLog: (
583
+ obj: CreateWorkgroupResponse
584
+ ) => any;
585
+ export declare const DeleteEndpointAccessRequestFilterSensitiveLog: (
586
+ obj: DeleteEndpointAccessRequest
587
+ ) => any;
588
+ export declare const DeleteEndpointAccessResponseFilterSensitiveLog: (
589
+ obj: DeleteEndpointAccessResponse
590
+ ) => any;
591
+ export declare const GetEndpointAccessRequestFilterSensitiveLog: (
592
+ obj: GetEndpointAccessRequest
593
+ ) => any;
594
+ export declare const GetEndpointAccessResponseFilterSensitiveLog: (
595
+ obj: GetEndpointAccessResponse
596
+ ) => any;
597
+ export declare const ListEndpointAccessRequestFilterSensitiveLog: (
598
+ obj: ListEndpointAccessRequest
599
+ ) => any;
600
+ export declare const ListEndpointAccessResponseFilterSensitiveLog: (
601
+ obj: ListEndpointAccessResponse
602
+ ) => any;
603
+ export declare const UpdateEndpointAccessRequestFilterSensitiveLog: (
604
+ obj: UpdateEndpointAccessRequest
605
+ ) => any;
606
+ export declare const UpdateEndpointAccessResponseFilterSensitiveLog: (
607
+ obj: UpdateEndpointAccessResponse
608
+ ) => any;
609
+ export declare const DeleteNamespaceRequestFilterSensitiveLog: (
610
+ obj: DeleteNamespaceRequest
611
+ ) => any;
612
+ export declare const DeleteNamespaceResponseFilterSensitiveLog: (
613
+ obj: DeleteNamespaceResponse
614
+ ) => any;
615
+ export declare const DeleteResourcePolicyRequestFilterSensitiveLog: (
616
+ obj: DeleteResourcePolicyRequest
617
+ ) => any;
618
+ export declare const DeleteResourcePolicyResponseFilterSensitiveLog: (
619
+ obj: DeleteResourcePolicyResponse
620
+ ) => any;
621
+ export declare const DeleteSnapshotRequestFilterSensitiveLog: (
622
+ obj: DeleteSnapshotRequest
623
+ ) => any;
624
+ export declare const DeleteSnapshotResponseFilterSensitiveLog: (
625
+ obj: DeleteSnapshotResponse
626
+ ) => any;
627
+ export declare const DeleteUsageLimitRequestFilterSensitiveLog: (
628
+ obj: DeleteUsageLimitRequest
629
+ ) => any;
630
+ export declare const DeleteUsageLimitResponseFilterSensitiveLog: (
631
+ obj: DeleteUsageLimitResponse
632
+ ) => any;
633
+ export declare const DeleteWorkgroupRequestFilterSensitiveLog: (
634
+ obj: DeleteWorkgroupRequest
635
+ ) => any;
636
+ export declare const DeleteWorkgroupResponseFilterSensitiveLog: (
637
+ obj: DeleteWorkgroupResponse
638
+ ) => any;
639
+ export declare const GetCredentialsRequestFilterSensitiveLog: (
640
+ obj: GetCredentialsRequest
641
+ ) => any;
642
+ export declare const GetCredentialsResponseFilterSensitiveLog: (
643
+ obj: GetCredentialsResponse
644
+ ) => any;
645
+ export declare const GetNamespaceRequestFilterSensitiveLog: (
646
+ obj: GetNamespaceRequest
647
+ ) => any;
648
+ export declare const GetNamespaceResponseFilterSensitiveLog: (
649
+ obj: GetNamespaceResponse
650
+ ) => any;
651
+ export declare const GetRecoveryPointRequestFilterSensitiveLog: (
652
+ obj: GetRecoveryPointRequest
653
+ ) => any;
654
+ export declare const RecoveryPointFilterSensitiveLog: (
655
+ obj: RecoveryPoint
656
+ ) => any;
657
+ export declare const GetRecoveryPointResponseFilterSensitiveLog: (
658
+ obj: GetRecoveryPointResponse
659
+ ) => any;
660
+ export declare const GetResourcePolicyRequestFilterSensitiveLog: (
661
+ obj: GetResourcePolicyRequest
662
+ ) => any;
663
+ export declare const ResourcePolicyFilterSensitiveLog: (
664
+ obj: ResourcePolicy
665
+ ) => any;
666
+ export declare const GetResourcePolicyResponseFilterSensitiveLog: (
667
+ obj: GetResourcePolicyResponse
668
+ ) => any;
669
+ export declare const GetSnapshotRequestFilterSensitiveLog: (
670
+ obj: GetSnapshotRequest
671
+ ) => any;
672
+ export declare const GetSnapshotResponseFilterSensitiveLog: (
673
+ obj: GetSnapshotResponse
674
+ ) => any;
675
+ export declare const GetUsageLimitRequestFilterSensitiveLog: (
676
+ obj: GetUsageLimitRequest
677
+ ) => any;
678
+ export declare const GetUsageLimitResponseFilterSensitiveLog: (
679
+ obj: GetUsageLimitResponse
680
+ ) => any;
681
+ export declare const GetWorkgroupRequestFilterSensitiveLog: (
682
+ obj: GetWorkgroupRequest
683
+ ) => any;
684
+ export declare const GetWorkgroupResponseFilterSensitiveLog: (
685
+ obj: GetWorkgroupResponse
686
+ ) => any;
687
+ export declare const ListNamespacesRequestFilterSensitiveLog: (
688
+ obj: ListNamespacesRequest
689
+ ) => any;
690
+ export declare const ListNamespacesResponseFilterSensitiveLog: (
691
+ obj: ListNamespacesResponse
692
+ ) => any;
693
+ export declare const ListRecoveryPointsRequestFilterSensitiveLog: (
694
+ obj: ListRecoveryPointsRequest
695
+ ) => any;
696
+ export declare const ListRecoveryPointsResponseFilterSensitiveLog: (
697
+ obj: ListRecoveryPointsResponse
698
+ ) => any;
699
+ export declare const ListSnapshotsRequestFilterSensitiveLog: (
700
+ obj: ListSnapshotsRequest
701
+ ) => any;
702
+ export declare const ListSnapshotsResponseFilterSensitiveLog: (
703
+ obj: ListSnapshotsResponse
704
+ ) => any;
705
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
706
+ obj: ListTagsForResourceRequest
707
+ ) => any;
708
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
709
+ obj: ListTagsForResourceResponse
710
+ ) => any;
711
+ export declare const ListUsageLimitsRequestFilterSensitiveLog: (
712
+ obj: ListUsageLimitsRequest
713
+ ) => any;
714
+ export declare const ListUsageLimitsResponseFilterSensitiveLog: (
715
+ obj: ListUsageLimitsResponse
716
+ ) => any;
717
+ export declare const ListWorkgroupsRequestFilterSensitiveLog: (
718
+ obj: ListWorkgroupsRequest
719
+ ) => any;
720
+ export declare const ListWorkgroupsResponseFilterSensitiveLog: (
721
+ obj: ListWorkgroupsResponse
722
+ ) => any;
723
+ export declare const UpdateNamespaceRequestFilterSensitiveLog: (
724
+ obj: UpdateNamespaceRequest
725
+ ) => any;
726
+ export declare const UpdateNamespaceResponseFilterSensitiveLog: (
727
+ obj: UpdateNamespaceResponse
728
+ ) => any;
729
+ export declare const PutResourcePolicyRequestFilterSensitiveLog: (
730
+ obj: PutResourcePolicyRequest
731
+ ) => any;
732
+ export declare const PutResourcePolicyResponseFilterSensitiveLog: (
733
+ obj: PutResourcePolicyResponse
734
+ ) => any;
735
+ export declare const RestoreFromRecoveryPointRequestFilterSensitiveLog: (
736
+ obj: RestoreFromRecoveryPointRequest
737
+ ) => any;
738
+ export declare const RestoreFromRecoveryPointResponseFilterSensitiveLog: (
739
+ obj: RestoreFromRecoveryPointResponse
740
+ ) => any;
741
+ export declare const RestoreFromSnapshotRequestFilterSensitiveLog: (
742
+ obj: RestoreFromSnapshotRequest
743
+ ) => any;
744
+ export declare const RestoreFromSnapshotResponseFilterSensitiveLog: (
745
+ obj: RestoreFromSnapshotResponse
746
+ ) => any;
747
+ export declare const UpdateSnapshotRequestFilterSensitiveLog: (
748
+ obj: UpdateSnapshotRequest
749
+ ) => any;
750
+ export declare const UpdateSnapshotResponseFilterSensitiveLog: (
751
+ obj: UpdateSnapshotResponse
752
+ ) => any;
753
+ export declare const TagResourceRequestFilterSensitiveLog: (
754
+ obj: TagResourceRequest
755
+ ) => any;
756
+ export declare const TagResourceResponseFilterSensitiveLog: (
757
+ obj: TagResourceResponse
758
+ ) => any;
759
+ export declare const UntagResourceRequestFilterSensitiveLog: (
760
+ obj: UntagResourceRequest
761
+ ) => any;
762
+ export declare const UntagResourceResponseFilterSensitiveLog: (
763
+ obj: UntagResourceResponse
764
+ ) => any;
765
+ export declare const UpdateUsageLimitRequestFilterSensitiveLog: (
766
+ obj: UpdateUsageLimitRequest
767
+ ) => any;
768
+ export declare const UpdateUsageLimitResponseFilterSensitiveLog: (
769
+ obj: UpdateUsageLimitResponse
770
+ ) => any;
771
+ export declare const UpdateWorkgroupRequestFilterSensitiveLog: (
772
+ obj: UpdateWorkgroupRequest
773
+ ) => any;
774
+ export declare const UpdateWorkgroupResponseFilterSensitiveLog: (
775
+ obj: UpdateWorkgroupResponse
776
+ ) => any;