@aws-sdk/client-redshift 3.45.0 → 3.47.2
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/CHANGELOG.md +45 -0
- package/dist-cjs/endpoints.js +0 -20
- package/dist-cjs/models/models_0.js +4 -648
- package/dist-cjs/models/models_1.js +3 -117
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +0 -20
- package/dist-es/models/models_0.js +0 -428
- package/dist-es/models/models_1.js +0 -76
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/RedshiftClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -642
- package/dist-types/models/models_1.d.ts +0 -114
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -428
- package/dist-types/ts3.4/models/models_1.d.ts +0 -76
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
|
@@ -452,12 +452,6 @@ export interface ReservedNodeExchangeNotFoundFault extends __SmithyException, $M
|
|
|
452
452
|
$fault: "client";
|
|
453
453
|
message?: string;
|
|
454
454
|
}
|
|
455
|
-
export declare namespace ReservedNodeExchangeNotFoundFault {
|
|
456
|
-
/**
|
|
457
|
-
* @internal
|
|
458
|
-
*/
|
|
459
|
-
const filterSensitiveLog: (obj: ReservedNodeExchangeNotFoundFault) => any;
|
|
460
|
-
}
|
|
461
455
|
/**
|
|
462
456
|
* <p></p>
|
|
463
457
|
*/
|
|
@@ -925,12 +919,6 @@ export interface TableRestoreNotFoundFault extends __SmithyException, $MetadataB
|
|
|
925
919
|
$fault: "client";
|
|
926
920
|
message?: string;
|
|
927
921
|
}
|
|
928
|
-
export declare namespace TableRestoreNotFoundFault {
|
|
929
|
-
/**
|
|
930
|
-
* @internal
|
|
931
|
-
*/
|
|
932
|
-
const filterSensitiveLog: (obj: TableRestoreNotFoundFault) => any;
|
|
933
|
-
}
|
|
934
922
|
export declare type TableRestoreStatusType = "CANCELED" | "FAILED" | "IN_PROGRESS" | "PENDING" | "SUCCEEDED";
|
|
935
923
|
/**
|
|
936
924
|
* <p>Describes the status of a <a>RestoreTableFromClusterSnapshot</a>
|
|
@@ -1325,12 +1313,6 @@ export interface SnapshotCopyAlreadyDisabledFault extends __SmithyException, $Me
|
|
|
1325
1313
|
$fault: "client";
|
|
1326
1314
|
message?: string;
|
|
1327
1315
|
}
|
|
1328
|
-
export declare namespace SnapshotCopyAlreadyDisabledFault {
|
|
1329
|
-
/**
|
|
1330
|
-
* @internal
|
|
1331
|
-
*/
|
|
1332
|
-
const filterSensitiveLog: (obj: SnapshotCopyAlreadyDisabledFault) => any;
|
|
1333
|
-
}
|
|
1334
1316
|
export interface DisassociateDataShareConsumerMessage {
|
|
1335
1317
|
/**
|
|
1336
1318
|
* <p>The Amazon Resource Name (ARN) of the datashare to remove association for. </p>
|
|
@@ -1423,12 +1405,6 @@ export interface InsufficientS3BucketPolicyFault extends __SmithyException, $Met
|
|
|
1423
1405
|
$fault: "client";
|
|
1424
1406
|
message?: string;
|
|
1425
1407
|
}
|
|
1426
|
-
export declare namespace InsufficientS3BucketPolicyFault {
|
|
1427
|
-
/**
|
|
1428
|
-
* @internal
|
|
1429
|
-
*/
|
|
1430
|
-
const filterSensitiveLog: (obj: InsufficientS3BucketPolicyFault) => any;
|
|
1431
|
-
}
|
|
1432
1408
|
/**
|
|
1433
1409
|
* <p>The S3 bucket name is invalid. For more information about naming rules, go to
|
|
1434
1410
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html">Bucket
|
|
@@ -1440,12 +1416,6 @@ export interface InvalidS3BucketNameFault extends __SmithyException, $MetadataBe
|
|
|
1440
1416
|
$fault: "client";
|
|
1441
1417
|
message?: string;
|
|
1442
1418
|
}
|
|
1443
|
-
export declare namespace InvalidS3BucketNameFault {
|
|
1444
|
-
/**
|
|
1445
|
-
* @internal
|
|
1446
|
-
*/
|
|
1447
|
-
const filterSensitiveLog: (obj: InvalidS3BucketNameFault) => any;
|
|
1448
|
-
}
|
|
1449
1419
|
/**
|
|
1450
1420
|
* <p>The string specified for the logging S3 key prefix does not comply with the
|
|
1451
1421
|
* documented constraints.</p>
|
|
@@ -1455,12 +1425,6 @@ export interface InvalidS3KeyPrefixFault extends __SmithyException, $MetadataBea
|
|
|
1455
1425
|
$fault: "client";
|
|
1456
1426
|
message?: string;
|
|
1457
1427
|
}
|
|
1458
|
-
export declare namespace InvalidS3KeyPrefixFault {
|
|
1459
|
-
/**
|
|
1460
|
-
* @internal
|
|
1461
|
-
*/
|
|
1462
|
-
const filterSensitiveLog: (obj: InvalidS3KeyPrefixFault) => any;
|
|
1463
|
-
}
|
|
1464
1428
|
/**
|
|
1465
1429
|
* <p></p>
|
|
1466
1430
|
*/
|
|
@@ -1524,12 +1488,6 @@ export interface IncompatibleOrderableOptions extends __SmithyException, $Metada
|
|
|
1524
1488
|
$fault: "client";
|
|
1525
1489
|
message?: string;
|
|
1526
1490
|
}
|
|
1527
|
-
export declare namespace IncompatibleOrderableOptions {
|
|
1528
|
-
/**
|
|
1529
|
-
* @internal
|
|
1530
|
-
*/
|
|
1531
|
-
const filterSensitiveLog: (obj: IncompatibleOrderableOptions) => any;
|
|
1532
|
-
}
|
|
1533
1491
|
/**
|
|
1534
1492
|
* <p>The cluster already has cross-region snapshot copy enabled.</p>
|
|
1535
1493
|
*/
|
|
@@ -1538,12 +1496,6 @@ export interface SnapshotCopyAlreadyEnabledFault extends __SmithyException, $Met
|
|
|
1538
1496
|
$fault: "client";
|
|
1539
1497
|
message?: string;
|
|
1540
1498
|
}
|
|
1541
|
-
export declare namespace SnapshotCopyAlreadyEnabledFault {
|
|
1542
|
-
/**
|
|
1543
|
-
* @internal
|
|
1544
|
-
*/
|
|
1545
|
-
const filterSensitiveLog: (obj: SnapshotCopyAlreadyEnabledFault) => any;
|
|
1546
|
-
}
|
|
1547
1499
|
/**
|
|
1548
1500
|
* <p>The specified region is incorrect or does not exist.</p>
|
|
1549
1501
|
*/
|
|
@@ -1552,12 +1504,6 @@ export interface UnknownSnapshotCopyRegionFault extends __SmithyException, $Meta
|
|
|
1552
1504
|
$fault: "client";
|
|
1553
1505
|
message?: string;
|
|
1554
1506
|
}
|
|
1555
|
-
export declare namespace UnknownSnapshotCopyRegionFault {
|
|
1556
|
-
/**
|
|
1557
|
-
* @internal
|
|
1558
|
-
*/
|
|
1559
|
-
const filterSensitiveLog: (obj: UnknownSnapshotCopyRegionFault) => any;
|
|
1560
|
-
}
|
|
1561
1507
|
/**
|
|
1562
1508
|
* <p>The authorization for this endpoint can't be found.</p>
|
|
1563
1509
|
*/
|
|
@@ -1566,12 +1512,6 @@ export interface EndpointAuthorizationNotFoundFault extends __SmithyException, $
|
|
|
1566
1512
|
$fault: "client";
|
|
1567
1513
|
message?: string;
|
|
1568
1514
|
}
|
|
1569
|
-
export declare namespace EndpointAuthorizationNotFoundFault {
|
|
1570
|
-
/**
|
|
1571
|
-
* @internal
|
|
1572
|
-
*/
|
|
1573
|
-
const filterSensitiveLog: (obj: EndpointAuthorizationNotFoundFault) => any;
|
|
1574
|
-
}
|
|
1575
1515
|
/**
|
|
1576
1516
|
* <p>The request parameters to get cluster credentials.</p>
|
|
1577
1517
|
*/
|
|
@@ -1825,12 +1765,6 @@ export interface InProgressTableRestoreQuotaExceededFault extends __SmithyExcept
|
|
|
1825
1765
|
$fault: "client";
|
|
1826
1766
|
message?: string;
|
|
1827
1767
|
}
|
|
1828
|
-
export declare namespace InProgressTableRestoreQuotaExceededFault {
|
|
1829
|
-
/**
|
|
1830
|
-
* @internal
|
|
1831
|
-
*/
|
|
1832
|
-
const filterSensitiveLog: (obj: InProgressTableRestoreQuotaExceededFault) => any;
|
|
1833
|
-
}
|
|
1834
1768
|
/**
|
|
1835
1769
|
* <p>The restore is invalid.</p>
|
|
1836
1770
|
*/
|
|
@@ -1839,12 +1773,6 @@ export interface InvalidRestoreFault extends __SmithyException, $MetadataBearer
|
|
|
1839
1773
|
$fault: "client";
|
|
1840
1774
|
message?: string;
|
|
1841
1775
|
}
|
|
1842
|
-
export declare namespace InvalidRestoreFault {
|
|
1843
|
-
/**
|
|
1844
|
-
* @internal
|
|
1845
|
-
*/
|
|
1846
|
-
const filterSensitiveLog: (obj: InvalidRestoreFault) => any;
|
|
1847
|
-
}
|
|
1848
1776
|
/**
|
|
1849
1777
|
* <p>The value specified for the <code>sourceDatabaseName</code>,
|
|
1850
1778
|
* <code>sourceSchemaName</code>, or <code>sourceTableName</code> parameter, or a
|
|
@@ -1855,12 +1783,6 @@ export interface InvalidTableRestoreArgumentFault extends __SmithyException, $Me
|
|
|
1855
1783
|
$fault: "client";
|
|
1856
1784
|
message?: string;
|
|
1857
1785
|
}
|
|
1858
|
-
export declare namespace InvalidTableRestoreArgumentFault {
|
|
1859
|
-
/**
|
|
1860
|
-
* @internal
|
|
1861
|
-
*/
|
|
1862
|
-
const filterSensitiveLog: (obj: InvalidTableRestoreArgumentFault) => any;
|
|
1863
|
-
}
|
|
1864
1786
|
export interface ModifyAquaInputMessage {
|
|
1865
1787
|
/**
|
|
1866
1788
|
* <p>The identifier of the cluster to be modified.</p>
|
|
@@ -2217,12 +2139,6 @@ export interface TableLimitExceededFault extends __SmithyException, $MetadataBea
|
|
|
2217
2139
|
$fault: "client";
|
|
2218
2140
|
message?: string;
|
|
2219
2141
|
}
|
|
2220
|
-
export declare namespace TableLimitExceededFault {
|
|
2221
|
-
/**
|
|
2222
|
-
* @internal
|
|
2223
|
-
*/
|
|
2224
|
-
const filterSensitiveLog: (obj: TableLimitExceededFault) => any;
|
|
2225
|
-
}
|
|
2226
2142
|
/**
|
|
2227
2143
|
* <p>A request option was specified that is not supported.</p>
|
|
2228
2144
|
*/
|
|
@@ -2231,12 +2147,6 @@ export interface UnsupportedOptionFault extends __SmithyException, $MetadataBear
|
|
|
2231
2147
|
$fault: "client";
|
|
2232
2148
|
message?: string;
|
|
2233
2149
|
}
|
|
2234
|
-
export declare namespace UnsupportedOptionFault {
|
|
2235
|
-
/**
|
|
2236
|
-
* @internal
|
|
2237
|
-
*/
|
|
2238
|
-
const filterSensitiveLog: (obj: UnsupportedOptionFault) => any;
|
|
2239
|
-
}
|
|
2240
2150
|
export interface ModifyClusterDbRevisionMessage {
|
|
2241
2151
|
/**
|
|
2242
2152
|
* <p>The unique identifier of a cluster whose database revision you want to modify. </p>
|
|
@@ -2485,12 +2395,6 @@ export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
|
|
|
2485
2395
|
$fault: "client";
|
|
2486
2396
|
message?: string;
|
|
2487
2397
|
}
|
|
2488
|
-
export declare namespace SubnetAlreadyInUse {
|
|
2489
|
-
/**
|
|
2490
|
-
* @internal
|
|
2491
|
-
*/
|
|
2492
|
-
const filterSensitiveLog: (obj: SubnetAlreadyInUse) => any;
|
|
2493
|
-
}
|
|
2494
2398
|
export interface ModifyEndpointAccessMessage {
|
|
2495
2399
|
/**
|
|
2496
2400
|
* <p>The endpoint to be modified.</p>
|
|
@@ -2680,12 +2584,6 @@ export interface SnapshotCopyDisabledFault extends __SmithyException, $MetadataB
|
|
|
2680
2584
|
$fault: "client";
|
|
2681
2585
|
message?: string;
|
|
2682
2586
|
}
|
|
2683
|
-
export declare namespace SnapshotCopyDisabledFault {
|
|
2684
|
-
/**
|
|
2685
|
-
* @internal
|
|
2686
|
-
*/
|
|
2687
|
-
const filterSensitiveLog: (obj: SnapshotCopyDisabledFault) => any;
|
|
2688
|
-
}
|
|
2689
2587
|
export interface ModifySnapshotScheduleMessage {
|
|
2690
2588
|
/**
|
|
2691
2589
|
* <p>A unique alphanumeric identifier of the schedule to modify.</p>
|
|
@@ -2711,12 +2609,6 @@ export interface SnapshotScheduleUpdateInProgressFault extends __SmithyException
|
|
|
2711
2609
|
$fault: "client";
|
|
2712
2610
|
message?: string;
|
|
2713
2611
|
}
|
|
2714
|
-
export declare namespace SnapshotScheduleUpdateInProgressFault {
|
|
2715
|
-
/**
|
|
2716
|
-
* @internal
|
|
2717
|
-
*/
|
|
2718
|
-
const filterSensitiveLog: (obj: SnapshotScheduleUpdateInProgressFault) => any;
|
|
2719
|
-
}
|
|
2720
2612
|
export interface ModifyUsageLimitMessage {
|
|
2721
2613
|
/**
|
|
2722
2614
|
* <p>The identifier of the usage limit to modify.</p>
|
|
@@ -2796,12 +2688,6 @@ export interface ReservedNodeQuotaExceededFault extends __SmithyException, $Meta
|
|
|
2796
2688
|
$fault: "client";
|
|
2797
2689
|
message?: string;
|
|
2798
2690
|
}
|
|
2799
|
-
export declare namespace ReservedNodeQuotaExceededFault {
|
|
2800
|
-
/**
|
|
2801
|
-
* @internal
|
|
2802
|
-
*/
|
|
2803
|
-
const filterSensitiveLog: (obj: ReservedNodeQuotaExceededFault) => any;
|
|
2804
|
-
}
|
|
2805
2691
|
/**
|
|
2806
2692
|
* <p></p>
|
|
2807
2693
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { RedshiftClientConfig } from "./RedshiftClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: RedshiftClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: RedshiftClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { RedshiftClientConfig } from "./RedshiftClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: RedshiftClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: RedshiftClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
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";
|
|
9
9
|
import { AcceptReservedNodeExchangeCommandInput, AcceptReservedNodeExchangeCommandOutput } from "./commands/AcceptReservedNodeExchangeCommand";
|
|
10
10
|
import { AddPartnerCommandInput, AddPartnerCommandOutput } from "./commands/AddPartnerCommand";
|
|
@@ -169,6 +169,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
169
169
|
regionInfoProvider?: RegionInfoProvider;
|
|
170
170
|
|
|
171
171
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
172
|
+
|
|
173
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
172
174
|
}
|
|
173
175
|
declare type RedshiftClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
174
176
|
|