@aws-sdk/client-redshift 3.51.0 → 3.54.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 (32) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/RedshiftServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +1399 -4
  5. package/dist-cjs/models/models_1.js +251 -3
  6. package/dist-cjs/protocols/Aws_query.js +1315 -4522
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/RedshiftServiceException.js +12 -0
  9. package/dist-es/models/models_0.js +1287 -1
  10. package/dist-es/models/models_1.js +230 -1
  11. package/dist-es/protocols/Aws_query.js +2680 -4687
  12. package/dist-types/Redshift.d.ts +7 -5
  13. package/dist-types/RedshiftClient.d.ts +2 -2
  14. package/dist-types/commands/CreateSnapshotCopyGrantCommand.d.ts +2 -2
  15. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +2 -2
  16. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +3 -1
  17. package/dist-types/index.d.ts +1 -0
  18. package/dist-types/models/RedshiftServiceException.d.ts +10 -0
  19. package/dist-types/models/models_0.d.ts +771 -438
  20. package/dist-types/models/models_1.d.ts +147 -86
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  22. package/dist-types/runtimeConfig.d.ts +1 -1
  23. package/dist-types/runtimeConfig.native.d.ts +1 -1
  24. package/dist-types/ts3.4/RedshiftClient.d.ts +2 -2
  25. package/dist-types/ts3.4/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/RedshiftServiceException.d.ts +6 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +542 -429
  28. package/dist-types/ts3.4/models/models_1.d.ts +99 -77
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  32. package/package.json +34 -34
@@ -1,5 +1,6 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ActionType, AquaConfiguration, AquaConfigurationStatus, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, EventSubscription, HsmConfiguration, Parameter, RecurringCharge, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType } from "./models_0";
3
+ import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
3
4
  /**
4
5
  * <p></p>
5
6
  */
@@ -447,10 +448,13 @@ export declare namespace DescribeReservedNodeExchangeStatusOutputMessage {
447
448
  /**
448
449
  * <p>The reserved-node exchange status wasn't found.</p>
449
450
  */
450
- export interface ReservedNodeExchangeNotFoundFault extends __SmithyException, $MetadataBearer {
451
- name: "ReservedNodeExchangeNotFoundFault";
452
- $fault: "client";
453
- message?: string;
451
+ export declare class ReservedNodeExchangeNotFoundFault extends __BaseException {
452
+ readonly name: "ReservedNodeExchangeNotFoundFault";
453
+ readonly $fault: "client";
454
+ /**
455
+ * @internal
456
+ */
457
+ constructor(opts: __ExceptionOptionType<ReservedNodeExchangeNotFoundFault, __BaseException>);
454
458
  }
455
459
  /**
456
460
  * <p></p>
@@ -914,10 +918,13 @@ export declare namespace DescribeTableRestoreStatusMessage {
914
918
  /**
915
919
  * <p>The specified <code>TableRestoreRequestId</code> value was not found.</p>
916
920
  */
917
- export interface TableRestoreNotFoundFault extends __SmithyException, $MetadataBearer {
918
- name: "TableRestoreNotFoundFault";
919
- $fault: "client";
920
- message?: string;
921
+ export declare class TableRestoreNotFoundFault extends __BaseException {
922
+ readonly name: "TableRestoreNotFoundFault";
923
+ readonly $fault: "client";
924
+ /**
925
+ * @internal
926
+ */
927
+ constructor(opts: __ExceptionOptionType<TableRestoreNotFoundFault, __BaseException>);
921
928
  }
922
929
  export declare type TableRestoreStatusType = "CANCELED" | "FAILED" | "IN_PROGRESS" | "PENDING" | "SUCCEEDED";
923
930
  /**
@@ -1308,10 +1315,13 @@ export declare namespace DisableSnapshotCopyResult {
1308
1315
  /**
1309
1316
  * <p>The cluster already has cross-region snapshot copy disabled.</p>
1310
1317
  */
1311
- export interface SnapshotCopyAlreadyDisabledFault extends __SmithyException, $MetadataBearer {
1312
- name: "SnapshotCopyAlreadyDisabledFault";
1313
- $fault: "client";
1314
- message?: string;
1318
+ export declare class SnapshotCopyAlreadyDisabledFault extends __BaseException {
1319
+ readonly name: "SnapshotCopyAlreadyDisabledFault";
1320
+ readonly $fault: "client";
1321
+ /**
1322
+ * @internal
1323
+ */
1324
+ constructor(opts: __ExceptionOptionType<SnapshotCopyAlreadyDisabledFault, __BaseException>);
1315
1325
  }
1316
1326
  export interface DisassociateDataShareConsumerMessage {
1317
1327
  /**
@@ -1328,6 +1338,10 @@ export interface DisassociateDataShareConsumerMessage {
1328
1338
  * the datashare is removed from.</p>
1329
1339
  */
1330
1340
  ConsumerArn?: string;
1341
+ /**
1342
+ * <p>From a datashare consumer account, removes association of a datashare from all the existing and future namespaces in the specified Amazon Web Services Region.</p>
1343
+ */
1344
+ ConsumerRegion?: string;
1331
1345
  }
1332
1346
  export declare namespace DisassociateDataShareConsumerMessage {
1333
1347
  /**
@@ -1400,10 +1414,13 @@ export declare namespace EnableLoggingMessage {
1400
1414
  * <p>The cluster does not have read bucket or put object permissions on the S3 bucket
1401
1415
  * specified when enabling logging.</p>
1402
1416
  */
1403
- export interface InsufficientS3BucketPolicyFault extends __SmithyException, $MetadataBearer {
1404
- name: "InsufficientS3BucketPolicyFault";
1405
- $fault: "client";
1406
- message?: string;
1417
+ export declare class InsufficientS3BucketPolicyFault extends __BaseException {
1418
+ readonly name: "InsufficientS3BucketPolicyFault";
1419
+ readonly $fault: "client";
1420
+ /**
1421
+ * @internal
1422
+ */
1423
+ constructor(opts: __ExceptionOptionType<InsufficientS3BucketPolicyFault, __BaseException>);
1407
1424
  }
1408
1425
  /**
1409
1426
  * <p>The S3 bucket name is invalid. For more information about naming rules, go to
@@ -1411,19 +1428,25 @@ export interface InsufficientS3BucketPolicyFault extends __SmithyException, $Met
1411
1428
  * Restrictions and Limitations</a> in the Amazon Simple Storage Service (S3)
1412
1429
  * Developer Guide.</p>
1413
1430
  */
1414
- export interface InvalidS3BucketNameFault extends __SmithyException, $MetadataBearer {
1415
- name: "InvalidS3BucketNameFault";
1416
- $fault: "client";
1417
- message?: string;
1431
+ export declare class InvalidS3BucketNameFault extends __BaseException {
1432
+ readonly name: "InvalidS3BucketNameFault";
1433
+ readonly $fault: "client";
1434
+ /**
1435
+ * @internal
1436
+ */
1437
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketNameFault, __BaseException>);
1418
1438
  }
1419
1439
  /**
1420
1440
  * <p>The string specified for the logging S3 key prefix does not comply with the
1421
1441
  * documented constraints.</p>
1422
1442
  */
1423
- export interface InvalidS3KeyPrefixFault extends __SmithyException, $MetadataBearer {
1424
- name: "InvalidS3KeyPrefixFault";
1425
- $fault: "client";
1426
- message?: string;
1443
+ export declare class InvalidS3KeyPrefixFault extends __BaseException {
1444
+ readonly name: "InvalidS3KeyPrefixFault";
1445
+ readonly $fault: "client";
1446
+ /**
1447
+ * @internal
1448
+ */
1449
+ constructor(opts: __ExceptionOptionType<InvalidS3KeyPrefixFault, __BaseException>);
1427
1450
  }
1428
1451
  /**
1429
1452
  * <p></p>
@@ -1483,34 +1506,46 @@ export declare namespace EnableSnapshotCopyResult {
1483
1506
  /**
1484
1507
  * <p>The specified options are incompatible.</p>
1485
1508
  */
1486
- export interface IncompatibleOrderableOptions extends __SmithyException, $MetadataBearer {
1487
- name: "IncompatibleOrderableOptions";
1488
- $fault: "client";
1489
- message?: string;
1509
+ export declare class IncompatibleOrderableOptions extends __BaseException {
1510
+ readonly name: "IncompatibleOrderableOptions";
1511
+ readonly $fault: "client";
1512
+ /**
1513
+ * @internal
1514
+ */
1515
+ constructor(opts: __ExceptionOptionType<IncompatibleOrderableOptions, __BaseException>);
1490
1516
  }
1491
1517
  /**
1492
1518
  * <p>The cluster already has cross-region snapshot copy enabled.</p>
1493
1519
  */
1494
- export interface SnapshotCopyAlreadyEnabledFault extends __SmithyException, $MetadataBearer {
1495
- name: "SnapshotCopyAlreadyEnabledFault";
1496
- $fault: "client";
1497
- message?: string;
1520
+ export declare class SnapshotCopyAlreadyEnabledFault extends __BaseException {
1521
+ readonly name: "SnapshotCopyAlreadyEnabledFault";
1522
+ readonly $fault: "client";
1523
+ /**
1524
+ * @internal
1525
+ */
1526
+ constructor(opts: __ExceptionOptionType<SnapshotCopyAlreadyEnabledFault, __BaseException>);
1498
1527
  }
1499
1528
  /**
1500
1529
  * <p>The specified region is incorrect or does not exist.</p>
1501
1530
  */
1502
- export interface UnknownSnapshotCopyRegionFault extends __SmithyException, $MetadataBearer {
1503
- name: "UnknownSnapshotCopyRegionFault";
1504
- $fault: "client";
1505
- message?: string;
1531
+ export declare class UnknownSnapshotCopyRegionFault extends __BaseException {
1532
+ readonly name: "UnknownSnapshotCopyRegionFault";
1533
+ readonly $fault: "client";
1534
+ /**
1535
+ * @internal
1536
+ */
1537
+ constructor(opts: __ExceptionOptionType<UnknownSnapshotCopyRegionFault, __BaseException>);
1506
1538
  }
1507
1539
  /**
1508
1540
  * <p>The authorization for this endpoint can't be found.</p>
1509
1541
  */
1510
- export interface EndpointAuthorizationNotFoundFault extends __SmithyException, $MetadataBearer {
1511
- name: "EndpointAuthorizationNotFoundFault";
1512
- $fault: "client";
1513
- message?: string;
1542
+ export declare class EndpointAuthorizationNotFoundFault extends __BaseException {
1543
+ readonly name: "EndpointAuthorizationNotFoundFault";
1544
+ readonly $fault: "client";
1545
+ /**
1546
+ * @internal
1547
+ */
1548
+ constructor(opts: __ExceptionOptionType<EndpointAuthorizationNotFoundFault, __BaseException>);
1514
1549
  }
1515
1550
  /**
1516
1551
  * <p>The request parameters to get cluster credentials.</p>
@@ -1760,28 +1795,37 @@ export declare namespace GetReservedNodeExchangeOfferingsOutputMessage {
1760
1795
  * <p>You have exceeded the allowed number of table restore requests. Wait for your
1761
1796
  * current table restore requests to complete before making a new request.</p>
1762
1797
  */
1763
- export interface InProgressTableRestoreQuotaExceededFault extends __SmithyException, $MetadataBearer {
1764
- name: "InProgressTableRestoreQuotaExceededFault";
1765
- $fault: "client";
1766
- message?: string;
1798
+ export declare class InProgressTableRestoreQuotaExceededFault extends __BaseException {
1799
+ readonly name: "InProgressTableRestoreQuotaExceededFault";
1800
+ readonly $fault: "client";
1801
+ /**
1802
+ * @internal
1803
+ */
1804
+ constructor(opts: __ExceptionOptionType<InProgressTableRestoreQuotaExceededFault, __BaseException>);
1767
1805
  }
1768
1806
  /**
1769
1807
  * <p>The restore is invalid.</p>
1770
1808
  */
1771
- export interface InvalidRestoreFault extends __SmithyException, $MetadataBearer {
1772
- name: "InvalidRestoreFault";
1773
- $fault: "client";
1774
- message?: string;
1809
+ export declare class InvalidRestoreFault extends __BaseException {
1810
+ readonly name: "InvalidRestoreFault";
1811
+ readonly $fault: "client";
1812
+ /**
1813
+ * @internal
1814
+ */
1815
+ constructor(opts: __ExceptionOptionType<InvalidRestoreFault, __BaseException>);
1775
1816
  }
1776
1817
  /**
1777
1818
  * <p>The value specified for the <code>sourceDatabaseName</code>,
1778
1819
  * <code>sourceSchemaName</code>, or <code>sourceTableName</code> parameter, or a
1779
1820
  * combination of these, doesn't exist in the snapshot.</p>
1780
1821
  */
1781
- export interface InvalidTableRestoreArgumentFault extends __SmithyException, $MetadataBearer {
1782
- name: "InvalidTableRestoreArgumentFault";
1783
- $fault: "client";
1784
- message?: string;
1822
+ export declare class InvalidTableRestoreArgumentFault extends __BaseException {
1823
+ readonly name: "InvalidTableRestoreArgumentFault";
1824
+ readonly $fault: "client";
1825
+ /**
1826
+ * @internal
1827
+ */
1828
+ constructor(opts: __ExceptionOptionType<InvalidTableRestoreArgumentFault, __BaseException>);
1785
1829
  }
1786
1830
  export interface ModifyAquaInputMessage {
1787
1831
  /**
@@ -1951,8 +1995,8 @@ export interface ModifyClusterMessage {
1951
1995
  * <p>Must contain one number.</p>
1952
1996
  * </li>
1953
1997
  * <li>
1954
- * <p>Can be any printable ASCII character (ASCII code 33 to 126) except '
1955
- * (single quote), " (double quote), \, /, @, or space.</p>
1998
+ * <p>Can be any printable ASCII character (ASCII code 33-126) except '
1999
+ * (single quote), " (double quote), \, /, or @.</p>
1956
2000
  * </li>
1957
2001
  * </ul>
1958
2002
  */
@@ -2134,18 +2178,24 @@ export declare namespace ModifyClusterResult {
2134
2178
  * <p>The number of tables in the cluster exceeds the limit for the requested new cluster
2135
2179
  * node type. </p>
2136
2180
  */
2137
- export interface TableLimitExceededFault extends __SmithyException, $MetadataBearer {
2138
- name: "TableLimitExceededFault";
2139
- $fault: "client";
2140
- message?: string;
2181
+ export declare class TableLimitExceededFault extends __BaseException {
2182
+ readonly name: "TableLimitExceededFault";
2183
+ readonly $fault: "client";
2184
+ /**
2185
+ * @internal
2186
+ */
2187
+ constructor(opts: __ExceptionOptionType<TableLimitExceededFault, __BaseException>);
2141
2188
  }
2142
2189
  /**
2143
2190
  * <p>A request option was specified that is not supported.</p>
2144
2191
  */
2145
- export interface UnsupportedOptionFault extends __SmithyException, $MetadataBearer {
2146
- name: "UnsupportedOptionFault";
2147
- $fault: "client";
2148
- message?: string;
2192
+ export declare class UnsupportedOptionFault extends __BaseException {
2193
+ readonly name: "UnsupportedOptionFault";
2194
+ readonly $fault: "client";
2195
+ /**
2196
+ * @internal
2197
+ */
2198
+ constructor(opts: __ExceptionOptionType<UnsupportedOptionFault, __BaseException>);
2149
2199
  }
2150
2200
  export interface ModifyClusterDbRevisionMessage {
2151
2201
  /**
@@ -2189,13 +2239,11 @@ export interface ModifyClusterIamRolesMessage {
2189
2239
  ClusterIdentifier: string | undefined;
2190
2240
  /**
2191
2241
  * <p>Zero or more IAM roles to associate with the cluster. The roles must be in their
2192
- * Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single
2193
- * cluster in a single request.</p>
2242
+ * Amazon Resource Name (ARN) format. </p>
2194
2243
  */
2195
2244
  AddIamRoles?: string[];
2196
2245
  /**
2197
- * <p>Zero or more IAM roles in ARN format to disassociate from the cluster. You can
2198
- * disassociate up to 10 IAM roles from a single cluster in a single request.</p>
2246
+ * <p>Zero or more IAM roles in ARN format to disassociate from the cluster. </p>
2199
2247
  */
2200
2248
  RemoveIamRoles?: string[];
2201
2249
  /**
@@ -2390,10 +2438,13 @@ export declare namespace ModifyClusterSubnetGroupResult {
2390
2438
  /**
2391
2439
  * <p>A specified subnet is already in use by another cluster.</p>
2392
2440
  */
2393
- export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
2394
- name: "SubnetAlreadyInUse";
2395
- $fault: "client";
2396
- message?: string;
2441
+ export declare class SubnetAlreadyInUse extends __BaseException {
2442
+ readonly name: "SubnetAlreadyInUse";
2443
+ readonly $fault: "client";
2444
+ /**
2445
+ * @internal
2446
+ */
2447
+ constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
2397
2448
  }
2398
2449
  export interface ModifyEndpointAccessMessage {
2399
2450
  /**
@@ -2579,10 +2630,13 @@ export declare namespace ModifySnapshotCopyRetentionPeriodResult {
2579
2630
  * <p>Cross-region snapshot copy was temporarily disabled. Try your request
2580
2631
  * again.</p>
2581
2632
  */
2582
- export interface SnapshotCopyDisabledFault extends __SmithyException, $MetadataBearer {
2583
- name: "SnapshotCopyDisabledFault";
2584
- $fault: "client";
2585
- message?: string;
2633
+ export declare class SnapshotCopyDisabledFault extends __BaseException {
2634
+ readonly name: "SnapshotCopyDisabledFault";
2635
+ readonly $fault: "client";
2636
+ /**
2637
+ * @internal
2638
+ */
2639
+ constructor(opts: __ExceptionOptionType<SnapshotCopyDisabledFault, __BaseException>);
2586
2640
  }
2587
2641
  export interface ModifySnapshotScheduleMessage {
2588
2642
  /**
@@ -2604,10 +2658,13 @@ export declare namespace ModifySnapshotScheduleMessage {
2604
2658
  /**
2605
2659
  * <p>The specified snapshot schedule is already being updated.</p>
2606
2660
  */
2607
- export interface SnapshotScheduleUpdateInProgressFault extends __SmithyException, $MetadataBearer {
2608
- name: "SnapshotScheduleUpdateInProgressFault";
2609
- $fault: "client";
2610
- message?: string;
2661
+ export declare class SnapshotScheduleUpdateInProgressFault extends __BaseException {
2662
+ readonly name: "SnapshotScheduleUpdateInProgressFault";
2663
+ readonly $fault: "client";
2664
+ /**
2665
+ * @internal
2666
+ */
2667
+ constructor(opts: __ExceptionOptionType<SnapshotScheduleUpdateInProgressFault, __BaseException>);
2611
2668
  }
2612
2669
  export interface ModifyUsageLimitMessage {
2613
2670
  /**
@@ -2683,10 +2740,13 @@ export declare namespace PurchaseReservedNodeOfferingResult {
2683
2740
  * in the <i>Amazon Redshift Cluster Management Guide</i>.
2684
2741
  * </p>
2685
2742
  */
2686
- export interface ReservedNodeQuotaExceededFault extends __SmithyException, $MetadataBearer {
2687
- name: "ReservedNodeQuotaExceededFault";
2688
- $fault: "client";
2689
- message?: string;
2743
+ export declare class ReservedNodeQuotaExceededFault extends __BaseException {
2744
+ readonly name: "ReservedNodeQuotaExceededFault";
2745
+ readonly $fault: "client";
2746
+ /**
2747
+ * @internal
2748
+ */
2749
+ constructor(opts: __ExceptionOptionType<ReservedNodeQuotaExceededFault, __BaseException>);
2690
2750
  }
2691
2751
  /**
2692
2752
  * <p></p>
@@ -2953,9 +3013,10 @@ export interface RestoreFromClusterSnapshotMessage {
2953
3013
  /**
2954
3014
  * <p>A list of Identity and Access Management (IAM) roles that can be used by the
2955
3015
  * cluster to access other Amazon Web Services services. You must supply the IAM roles in their Amazon
2956
- * Resource Name (ARN) format. You can supply up to 10 IAM roles in a single
2957
- * request.</p>
2958
- * <p>A cluster can have up to 10 IAM roles associated at any time.</p>
3016
+ * Resource Name (ARN) format. </p>
3017
+ * <p>The maximum number of IAM roles that you can associate is subject to a quota.
3018
+ * For more information, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html">Quotas and limits</a>
3019
+ * in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
2959
3020
  */
2960
3021
  IamRoles?: string[];
2961
3022
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RedshiftClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RedshiftClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RedshiftClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptReservedNodeExchangeCommandInput, AcceptReservedNodeExchangeCommandOutput } from "./commands/AcceptReservedNodeExchangeCommand";
10
10
  import { AddPartnerCommandInput, AddPartnerCommandOutput } from "./commands/AddPartnerCommand";
11
11
  import { AssociateDataShareConsumerCommandInput, AssociateDataShareConsumerCommandOutput } from "./commands/AssociateDataShareConsumerCommand";
@@ -134,7 +134,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
134
134
 
135
135
  urlParser?: __UrlParser;
136
136
 
137
- bodyLengthChecker?: (body: any) => number | undefined;
137
+ bodyLengthChecker?: __BodyLengthCalculator;
138
138
 
139
139
  streamCollector?: __StreamCollector;
140
140
 
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { RedshiftServiceException } from "./models/RedshiftServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class RedshiftServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }