@aws-sdk/client-redshift 3.507.0 → 3.511.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -7
- package/dist-cjs/commands/ListRecommendationsCommand.js +1 -0
- package/dist-cjs/index.js +194 -0
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +1 -0
- package/dist-es/Redshift.js +2 -0
- package/dist-es/commands/ListRecommendationsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +9 -0
- package/dist-es/pagination/ListRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +164 -0
- package/dist-types/Redshift.d.ts +7 -0
- package/dist-types/RedshiftClient.d.ts +3 -2
- package/dist-types/commands/ListRecommendationsCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +187 -0
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_query.d.ts +9 -0
- package/dist-types/ts3.4/Redshift.d.ts +17 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +47 -0
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/package.json +14 -14
|
@@ -34,3 +34,4 @@ export * from "./DescribeTagsPaginator";
|
|
|
34
34
|
export * from "./DescribeUsageLimitsPaginator";
|
|
35
35
|
export * from "./GetReservedNodeExchangeConfigurationOptionsPaginator";
|
|
36
36
|
export * from "./GetReservedNodeExchangeOfferingsPaginator";
|
|
37
|
+
export * from "./ListRecommendationsPaginator";
|
|
@@ -99,6 +99,7 @@ import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMC
|
|
|
99
99
|
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "../commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
100
100
|
import { GetReservedNodeExchangeOfferingsCommandInput, GetReservedNodeExchangeOfferingsCommandOutput } from "../commands/GetReservedNodeExchangeOfferingsCommand";
|
|
101
101
|
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
|
|
102
|
+
import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "../commands/ListRecommendationsCommand";
|
|
102
103
|
import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput } from "../commands/ModifyAquaConfigurationCommand";
|
|
103
104
|
import { ModifyAuthenticationProfileCommandInput, ModifyAuthenticationProfileCommandOutput } from "../commands/ModifyAuthenticationProfileCommand";
|
|
104
105
|
import { ModifyClusterCommandInput, ModifyClusterCommandOutput } from "../commands/ModifyClusterCommand";
|
|
@@ -528,6 +529,10 @@ export declare const se_GetReservedNodeExchangeOfferingsCommand: (input: GetRese
|
|
|
528
529
|
* serializeAws_queryGetResourcePolicyCommand
|
|
529
530
|
*/
|
|
530
531
|
export declare const se_GetResourcePolicyCommand: (input: GetResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
532
|
+
/**
|
|
533
|
+
* serializeAws_queryListRecommendationsCommand
|
|
534
|
+
*/
|
|
535
|
+
export declare const se_ListRecommendationsCommand: (input: ListRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
531
536
|
/**
|
|
532
537
|
* serializeAws_queryModifyAquaConfigurationCommand
|
|
533
538
|
*/
|
|
@@ -1056,6 +1061,10 @@ export declare const de_GetReservedNodeExchangeOfferingsCommand: (output: __Http
|
|
|
1056
1061
|
* deserializeAws_queryGetResourcePolicyCommand
|
|
1057
1062
|
*/
|
|
1058
1063
|
export declare const de_GetResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourcePolicyCommandOutput>;
|
|
1064
|
+
/**
|
|
1065
|
+
* deserializeAws_queryListRecommendationsCommand
|
|
1066
|
+
*/
|
|
1067
|
+
export declare const de_ListRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecommendationsCommandOutput>;
|
|
1059
1068
|
/**
|
|
1060
1069
|
* deserializeAws_queryModifyAquaConfigurationCommand
|
|
1061
1070
|
*/
|
|
@@ -395,6 +395,10 @@ import {
|
|
|
395
395
|
GetResourcePolicyCommandInput,
|
|
396
396
|
GetResourcePolicyCommandOutput,
|
|
397
397
|
} from "./commands/GetResourcePolicyCommand";
|
|
398
|
+
import {
|
|
399
|
+
ListRecommendationsCommandInput,
|
|
400
|
+
ListRecommendationsCommandOutput,
|
|
401
|
+
} from "./commands/ListRecommendationsCommand";
|
|
398
402
|
import {
|
|
399
403
|
ModifyAquaConfigurationCommandInput,
|
|
400
404
|
ModifyAquaConfigurationCommandOutput,
|
|
@@ -1834,6 +1838,19 @@ export interface Redshift {
|
|
|
1834
1838
|
options: __HttpHandlerOptions,
|
|
1835
1839
|
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
1836
1840
|
): void;
|
|
1841
|
+
listRecommendations(
|
|
1842
|
+
args: ListRecommendationsCommandInput,
|
|
1843
|
+
options?: __HttpHandlerOptions
|
|
1844
|
+
): Promise<ListRecommendationsCommandOutput>;
|
|
1845
|
+
listRecommendations(
|
|
1846
|
+
args: ListRecommendationsCommandInput,
|
|
1847
|
+
cb: (err: any, data?: ListRecommendationsCommandOutput) => void
|
|
1848
|
+
): void;
|
|
1849
|
+
listRecommendations(
|
|
1850
|
+
args: ListRecommendationsCommandInput,
|
|
1851
|
+
options: __HttpHandlerOptions,
|
|
1852
|
+
cb: (err: any, data?: ListRecommendationsCommandOutput) => void
|
|
1853
|
+
): void;
|
|
1837
1854
|
modifyAquaConfiguration(
|
|
1838
1855
|
args: ModifyAquaConfigurationCommandInput,
|
|
1839
1856
|
options?: __HttpHandlerOptions
|
|
@@ -441,6 +441,10 @@ import {
|
|
|
441
441
|
GetResourcePolicyCommandInput,
|
|
442
442
|
GetResourcePolicyCommandOutput,
|
|
443
443
|
} from "./commands/GetResourcePolicyCommand";
|
|
444
|
+
import {
|
|
445
|
+
ListRecommendationsCommandInput,
|
|
446
|
+
ListRecommendationsCommandOutput,
|
|
447
|
+
} from "./commands/ListRecommendationsCommand";
|
|
444
448
|
import {
|
|
445
449
|
ModifyAquaConfigurationCommandInput,
|
|
446
450
|
ModifyAquaConfigurationCommandOutput,
|
|
@@ -680,6 +684,7 @@ export type ServiceInputTypes =
|
|
|
680
684
|
| GetReservedNodeExchangeConfigurationOptionsCommandInput
|
|
681
685
|
| GetReservedNodeExchangeOfferingsCommandInput
|
|
682
686
|
| GetResourcePolicyCommandInput
|
|
687
|
+
| ListRecommendationsCommandInput
|
|
683
688
|
| ModifyAquaConfigurationCommandInput
|
|
684
689
|
| ModifyAuthenticationProfileCommandInput
|
|
685
690
|
| ModifyClusterCommandInput
|
|
@@ -813,6 +818,7 @@ export type ServiceOutputTypes =
|
|
|
813
818
|
| GetReservedNodeExchangeConfigurationOptionsCommandOutput
|
|
814
819
|
| GetReservedNodeExchangeOfferingsCommandOutput
|
|
815
820
|
| GetResourcePolicyCommandOutput
|
|
821
|
+
| ListRecommendationsCommandOutput
|
|
816
822
|
| ModifyAquaConfigurationCommandOutput
|
|
817
823
|
| ModifyAuthenticationProfileCommandOutput
|
|
818
824
|
| ModifyClusterCommandOutput
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListRecommendationsMessage,
|
|
5
|
+
ListRecommendationsResult,
|
|
6
|
+
} from "../models/models_1";
|
|
7
|
+
import {
|
|
8
|
+
RedshiftClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../RedshiftClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListRecommendationsCommandInput
|
|
14
|
+
extends ListRecommendationsMessage {}
|
|
15
|
+
export interface ListRecommendationsCommandOutput
|
|
16
|
+
extends ListRecommendationsResult,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListRecommendationsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListRecommendationsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListRecommendationsCommandInput,
|
|
23
|
+
ListRecommendationsCommandOutput,
|
|
24
|
+
RedshiftClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class ListRecommendationsCommand extends ListRecommendationsCommand_base {}
|
|
@@ -97,6 +97,7 @@ export * from "./GetClusterCredentialsWithIAMCommand";
|
|
|
97
97
|
export * from "./GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
98
98
|
export * from "./GetReservedNodeExchangeOfferingsCommand";
|
|
99
99
|
export * from "./GetResourcePolicyCommand";
|
|
100
|
+
export * from "./ListRecommendationsCommand";
|
|
100
101
|
export * from "./ModifyAquaConfigurationCommand";
|
|
101
102
|
export * from "./ModifyAuthenticationProfileCommand";
|
|
102
103
|
export * from "./ModifyClusterCommand";
|
|
@@ -688,6 +688,13 @@ export declare class InvalidPolicyFault extends __BaseException {
|
|
|
688
688
|
readonly $fault: "client";
|
|
689
689
|
constructor(opts: __ExceptionOptionType<InvalidPolicyFault, __BaseException>);
|
|
690
690
|
}
|
|
691
|
+
export declare const ImpactRankingType: {
|
|
692
|
+
readonly HIGH: "HIGH";
|
|
693
|
+
readonly LOW: "LOW";
|
|
694
|
+
readonly MEDIUM: "MEDIUM";
|
|
695
|
+
};
|
|
696
|
+
export type ImpactRankingType =
|
|
697
|
+
(typeof ImpactRankingType)[keyof typeof ImpactRankingType];
|
|
691
698
|
export declare class InProgressTableRestoreQuotaExceededFault extends __BaseException {
|
|
692
699
|
readonly name: "InProgressTableRestoreQuotaExceededFault";
|
|
693
700
|
readonly $fault: "client";
|
|
@@ -715,6 +722,46 @@ export declare class InvalidTableRestoreArgumentFault extends __BaseException {
|
|
|
715
722
|
>
|
|
716
723
|
);
|
|
717
724
|
}
|
|
725
|
+
export interface ListRecommendationsMessage {
|
|
726
|
+
ClusterIdentifier?: string;
|
|
727
|
+
NamespaceArn?: string;
|
|
728
|
+
MaxRecords?: number;
|
|
729
|
+
Marker?: string;
|
|
730
|
+
}
|
|
731
|
+
export declare const RecommendedActionType: {
|
|
732
|
+
readonly CLI: "CLI";
|
|
733
|
+
readonly SQL: "SQL";
|
|
734
|
+
};
|
|
735
|
+
export type RecommendedActionType =
|
|
736
|
+
(typeof RecommendedActionType)[keyof typeof RecommendedActionType];
|
|
737
|
+
export interface RecommendedAction {
|
|
738
|
+
Text?: string;
|
|
739
|
+
Database?: string;
|
|
740
|
+
Command?: string;
|
|
741
|
+
Type?: RecommendedActionType;
|
|
742
|
+
}
|
|
743
|
+
export interface ReferenceLink {
|
|
744
|
+
Text?: string;
|
|
745
|
+
Link?: string;
|
|
746
|
+
}
|
|
747
|
+
export interface Recommendation {
|
|
748
|
+
Id?: string;
|
|
749
|
+
ClusterIdentifier?: string;
|
|
750
|
+
NamespaceArn?: string;
|
|
751
|
+
CreatedAt?: Date;
|
|
752
|
+
RecommendationType?: string;
|
|
753
|
+
Title?: string;
|
|
754
|
+
Description?: string;
|
|
755
|
+
Observation?: string;
|
|
756
|
+
ImpactRanking?: ImpactRankingType;
|
|
757
|
+
RecommendationText?: string;
|
|
758
|
+
RecommendedActions?: RecommendedAction[];
|
|
759
|
+
ReferenceLinks?: ReferenceLink[];
|
|
760
|
+
}
|
|
761
|
+
export interface ListRecommendationsResult {
|
|
762
|
+
Recommendations?: Recommendation[];
|
|
763
|
+
Marker?: string;
|
|
764
|
+
}
|
|
718
765
|
export interface ModifyAquaInputMessage {
|
|
719
766
|
ClusterIdentifier: string | undefined;
|
|
720
767
|
AquaConfigurationStatus?: AquaConfigurationStatus;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRecommendationsCommandInput,
|
|
4
|
+
ListRecommendationsCommandOutput,
|
|
5
|
+
} from "../commands/ListRecommendationsCommand";
|
|
6
|
+
import { RedshiftPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListRecommendations: (
|
|
8
|
+
config: RedshiftPaginationConfiguration,
|
|
9
|
+
input: ListRecommendationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRecommendationsCommandOutput>;
|
|
@@ -34,3 +34,4 @@ export * from "./DescribeTagsPaginator";
|
|
|
34
34
|
export * from "./DescribeUsageLimitsPaginator";
|
|
35
35
|
export * from "./GetReservedNodeExchangeConfigurationOptionsPaginator";
|
|
36
36
|
export * from "./GetReservedNodeExchangeOfferingsPaginator";
|
|
37
|
+
export * from "./ListRecommendationsPaginator";
|
|
@@ -399,6 +399,10 @@ import {
|
|
|
399
399
|
GetResourcePolicyCommandInput,
|
|
400
400
|
GetResourcePolicyCommandOutput,
|
|
401
401
|
} from "../commands/GetResourcePolicyCommand";
|
|
402
|
+
import {
|
|
403
|
+
ListRecommendationsCommandInput,
|
|
404
|
+
ListRecommendationsCommandOutput,
|
|
405
|
+
} from "../commands/ListRecommendationsCommand";
|
|
402
406
|
import {
|
|
403
407
|
ModifyAquaConfigurationCommandInput,
|
|
404
408
|
ModifyAquaConfigurationCommandOutput,
|
|
@@ -927,6 +931,10 @@ export declare const se_GetResourcePolicyCommand: (
|
|
|
927
931
|
input: GetResourcePolicyCommandInput,
|
|
928
932
|
context: __SerdeContext
|
|
929
933
|
) => Promise<__HttpRequest>;
|
|
934
|
+
export declare const se_ListRecommendationsCommand: (
|
|
935
|
+
input: ListRecommendationsCommandInput,
|
|
936
|
+
context: __SerdeContext
|
|
937
|
+
) => Promise<__HttpRequest>;
|
|
930
938
|
export declare const se_ModifyAquaConfigurationCommand: (
|
|
931
939
|
input: ModifyAquaConfigurationCommandInput,
|
|
932
940
|
context: __SerdeContext
|
|
@@ -1455,6 +1463,10 @@ export declare const de_GetResourcePolicyCommand: (
|
|
|
1455
1463
|
output: __HttpResponse,
|
|
1456
1464
|
context: __SerdeContext
|
|
1457
1465
|
) => Promise<GetResourcePolicyCommandOutput>;
|
|
1466
|
+
export declare const de_ListRecommendationsCommand: (
|
|
1467
|
+
output: __HttpResponse,
|
|
1468
|
+
context: __SerdeContext
|
|
1469
|
+
) => Promise<ListRecommendationsCommandOutput>;
|
|
1458
1470
|
export declare const de_ModifyAquaConfigurationCommand: (
|
|
1459
1471
|
output: __HttpResponse,
|
|
1460
1472
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.511.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-redshift",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.511.0",
|
|
24
|
+
"@aws-sdk/core": "3.511.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.511.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.511.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.511.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.511.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.511.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.511.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.511.0",
|
|
32
|
+
"@aws-sdk/types": "3.511.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.511.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.511.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.511.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.1.1",
|
|
37
37
|
"@smithy/core": "^1.3.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.4.1",
|