@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
|
@@ -992,6 +992,16 @@ export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
|
992
992
|
});
|
|
993
993
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
994
994
|
};
|
|
995
|
+
export const se_ListRecommendationsCommand = async (input, context) => {
|
|
996
|
+
const headers = SHARED_HEADERS;
|
|
997
|
+
let body;
|
|
998
|
+
body = buildFormUrlencodedString({
|
|
999
|
+
...se_ListRecommendationsMessage(input, context),
|
|
1000
|
+
[_A]: _LR,
|
|
1001
|
+
[_V]: _,
|
|
1002
|
+
});
|
|
1003
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1004
|
+
};
|
|
995
1005
|
export const se_ModifyAquaConfigurationCommand = async (input, context) => {
|
|
996
1006
|
const headers = SHARED_HEADERS;
|
|
997
1007
|
let body;
|
|
@@ -2564,6 +2574,19 @@ export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
|
2564
2574
|
};
|
|
2565
2575
|
return response;
|
|
2566
2576
|
};
|
|
2577
|
+
export const de_ListRecommendationsCommand = async (output, context) => {
|
|
2578
|
+
if (output.statusCode >= 300) {
|
|
2579
|
+
return de_CommandError(output, context);
|
|
2580
|
+
}
|
|
2581
|
+
const data = await parseBody(output.body, context);
|
|
2582
|
+
let contents = {};
|
|
2583
|
+
contents = de_ListRecommendationsResult(data.ListRecommendationsResult, context);
|
|
2584
|
+
const response = {
|
|
2585
|
+
$metadata: deserializeMetadata(output),
|
|
2586
|
+
...contents,
|
|
2587
|
+
};
|
|
2588
|
+
return response;
|
|
2589
|
+
};
|
|
2567
2590
|
export const de_ModifyAquaConfigurationCommand = async (output, context) => {
|
|
2568
2591
|
if (output.statusCode >= 300) {
|
|
2569
2592
|
return de_CommandError(output, context);
|
|
@@ -6712,6 +6735,22 @@ const se_LakeFormationServiceIntegrations = (input, context) => {
|
|
|
6712
6735
|
}
|
|
6713
6736
|
return entries;
|
|
6714
6737
|
};
|
|
6738
|
+
const se_ListRecommendationsMessage = (input, context) => {
|
|
6739
|
+
const entries = {};
|
|
6740
|
+
if (input[_CIl] != null) {
|
|
6741
|
+
entries[_CIl] = input[_CIl];
|
|
6742
|
+
}
|
|
6743
|
+
if (input[_NA] != null) {
|
|
6744
|
+
entries[_NA] = input[_NA];
|
|
6745
|
+
}
|
|
6746
|
+
if (input[_MR] != null) {
|
|
6747
|
+
entries[_MR] = input[_MR];
|
|
6748
|
+
}
|
|
6749
|
+
if (input[_M] != null) {
|
|
6750
|
+
entries[_M] = input[_M];
|
|
6751
|
+
}
|
|
6752
|
+
return entries;
|
|
6753
|
+
};
|
|
6715
6754
|
const se_LogTypeList = (input, context) => {
|
|
6716
6755
|
const entries = {};
|
|
6717
6756
|
let counter = 1;
|
|
@@ -10302,6 +10341,19 @@ const de_LimitExceededFault = (output, context) => {
|
|
|
10302
10341
|
}
|
|
10303
10342
|
return contents;
|
|
10304
10343
|
};
|
|
10344
|
+
const de_ListRecommendationsResult = (output, context) => {
|
|
10345
|
+
const contents = {};
|
|
10346
|
+
if (output.Recommendations === "") {
|
|
10347
|
+
contents[_Re] = [];
|
|
10348
|
+
}
|
|
10349
|
+
else if (output[_Re] != null && output[_Re][_Rec] != null) {
|
|
10350
|
+
contents[_Re] = de_RecommendationList(__getArrayIfSingleItem(output[_Re][_Rec]), context);
|
|
10351
|
+
}
|
|
10352
|
+
if (output[_M] != null) {
|
|
10353
|
+
contents[_M] = __expectString(output[_M]);
|
|
10354
|
+
}
|
|
10355
|
+
return contents;
|
|
10356
|
+
};
|
|
10305
10357
|
const de_LoggingStatus = (output, context) => {
|
|
10306
10358
|
const contents = {};
|
|
10307
10359
|
if (output[_LEo] != null) {
|
|
@@ -10737,6 +10789,82 @@ const de_RebootClusterResult = (output, context) => {
|
|
|
10737
10789
|
}
|
|
10738
10790
|
return contents;
|
|
10739
10791
|
};
|
|
10792
|
+
const de_Recommendation = (output, context) => {
|
|
10793
|
+
const contents = {};
|
|
10794
|
+
if (output[_Id] != null) {
|
|
10795
|
+
contents[_Id] = __expectString(output[_Id]);
|
|
10796
|
+
}
|
|
10797
|
+
if (output[_CIl] != null) {
|
|
10798
|
+
contents[_CIl] = __expectString(output[_CIl]);
|
|
10799
|
+
}
|
|
10800
|
+
if (output[_NA] != null) {
|
|
10801
|
+
contents[_NA] = __expectString(output[_NA]);
|
|
10802
|
+
}
|
|
10803
|
+
if (output[_CAr] != null) {
|
|
10804
|
+
contents[_CAr] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CAr]));
|
|
10805
|
+
}
|
|
10806
|
+
if (output[_RTec] != null) {
|
|
10807
|
+
contents[_RTec] = __expectString(output[_RTec]);
|
|
10808
|
+
}
|
|
10809
|
+
if (output[_Ti] != null) {
|
|
10810
|
+
contents[_Ti] = __expectString(output[_Ti]);
|
|
10811
|
+
}
|
|
10812
|
+
if (output[_D] != null) {
|
|
10813
|
+
contents[_D] = __expectString(output[_D]);
|
|
10814
|
+
}
|
|
10815
|
+
if (output[_Ob] != null) {
|
|
10816
|
+
contents[_Ob] = __expectString(output[_Ob]);
|
|
10817
|
+
}
|
|
10818
|
+
if (output[_IRm] != null) {
|
|
10819
|
+
contents[_IRm] = __expectString(output[_IRm]);
|
|
10820
|
+
}
|
|
10821
|
+
if (output[_RTeco] != null) {
|
|
10822
|
+
contents[_RTeco] = __expectString(output[_RTeco]);
|
|
10823
|
+
}
|
|
10824
|
+
if (output.RecommendedActions === "") {
|
|
10825
|
+
contents[_RAe] = [];
|
|
10826
|
+
}
|
|
10827
|
+
else if (output[_RAe] != null && output[_RAe][_RAec] != null) {
|
|
10828
|
+
contents[_RAe] = de_RecommendedActionList(__getArrayIfSingleItem(output[_RAe][_RAec]), context);
|
|
10829
|
+
}
|
|
10830
|
+
if (output.ReferenceLinks === "") {
|
|
10831
|
+
contents[_RL] = [];
|
|
10832
|
+
}
|
|
10833
|
+
else if (output[_RL] != null && output[_RL][_RLe] != null) {
|
|
10834
|
+
contents[_RL] = de_ReferenceLinkList(__getArrayIfSingleItem(output[_RL][_RLe]), context);
|
|
10835
|
+
}
|
|
10836
|
+
return contents;
|
|
10837
|
+
};
|
|
10838
|
+
const de_RecommendationList = (output, context) => {
|
|
10839
|
+
return (output || [])
|
|
10840
|
+
.filter((e) => e != null)
|
|
10841
|
+
.map((entry) => {
|
|
10842
|
+
return de_Recommendation(entry, context);
|
|
10843
|
+
});
|
|
10844
|
+
};
|
|
10845
|
+
const de_RecommendedAction = (output, context) => {
|
|
10846
|
+
const contents = {};
|
|
10847
|
+
if (output[_Te] != null) {
|
|
10848
|
+
contents[_Te] = __expectString(output[_Te]);
|
|
10849
|
+
}
|
|
10850
|
+
if (output[_Dat] != null) {
|
|
10851
|
+
contents[_Dat] = __expectString(output[_Dat]);
|
|
10852
|
+
}
|
|
10853
|
+
if (output[_Co] != null) {
|
|
10854
|
+
contents[_Co] = __expectString(output[_Co]);
|
|
10855
|
+
}
|
|
10856
|
+
if (output[_Ty] != null) {
|
|
10857
|
+
contents[_Ty] = __expectString(output[_Ty]);
|
|
10858
|
+
}
|
|
10859
|
+
return contents;
|
|
10860
|
+
};
|
|
10861
|
+
const de_RecommendedActionList = (output, context) => {
|
|
10862
|
+
return (output || [])
|
|
10863
|
+
.filter((e) => e != null)
|
|
10864
|
+
.map((entry) => {
|
|
10865
|
+
return de_RecommendedAction(entry, context);
|
|
10866
|
+
});
|
|
10867
|
+
};
|
|
10740
10868
|
const de_RecurringCharge = (output, context) => {
|
|
10741
10869
|
const contents = {};
|
|
10742
10870
|
if (output[_RCA] != null) {
|
|
@@ -10822,6 +10950,23 @@ const de_RedshiftIdcApplicationQuotaExceededFault = (output, context) => {
|
|
|
10822
10950
|
}
|
|
10823
10951
|
return contents;
|
|
10824
10952
|
};
|
|
10953
|
+
const de_ReferenceLink = (output, context) => {
|
|
10954
|
+
const contents = {};
|
|
10955
|
+
if (output[_Te] != null) {
|
|
10956
|
+
contents[_Te] = __expectString(output[_Te]);
|
|
10957
|
+
}
|
|
10958
|
+
if (output[_L] != null) {
|
|
10959
|
+
contents[_L] = __expectString(output[_L]);
|
|
10960
|
+
}
|
|
10961
|
+
return contents;
|
|
10962
|
+
};
|
|
10963
|
+
const de_ReferenceLinkList = (output, context) => {
|
|
10964
|
+
return (output || [])
|
|
10965
|
+
.filter((e) => e != null)
|
|
10966
|
+
.map((entry) => {
|
|
10967
|
+
return de_ReferenceLink(entry, context);
|
|
10968
|
+
});
|
|
10969
|
+
};
|
|
10825
10970
|
const de_ReservedNode = (output, context) => {
|
|
10826
10971
|
const contents = {};
|
|
10827
10972
|
if (output[_RNI] != null) {
|
|
@@ -12354,6 +12499,7 @@ const _CV = "ClusterVersion";
|
|
|
12354
12499
|
const _CVl = "ClusterVersions";
|
|
12355
12500
|
const _Cl = "Clusters";
|
|
12356
12501
|
const _Clu = "Cluster";
|
|
12502
|
+
const _Co = "Command";
|
|
12357
12503
|
const _D = "Description";
|
|
12358
12504
|
const _DAA = "DescribeAccountAttributes";
|
|
12359
12505
|
const _DAP = "DeleteAuthenticationProfile";
|
|
@@ -12449,6 +12595,7 @@ const _DUL = "DeleteUsageLimit";
|
|
|
12449
12595
|
const _DULe = "DescribeUsageLimits";
|
|
12450
12596
|
const _DV = "DatabaseVersion";
|
|
12451
12597
|
const _Da = "Date";
|
|
12598
|
+
const _Dat = "Database";
|
|
12452
12599
|
const _Du = "Duration";
|
|
12453
12600
|
const _E = "Encrypted";
|
|
12454
12601
|
const _EAL = "EndpointAccessList";
|
|
@@ -12544,11 +12691,14 @@ const _IPRa = "IPRange";
|
|
|
12544
12691
|
const _IR = "IamRoles";
|
|
12545
12692
|
const _IRA = "IamRoleArn";
|
|
12546
12693
|
const _IRa = "IamRole";
|
|
12694
|
+
const _IRm = "ImpactRanking";
|
|
12547
12695
|
const _ITC = "ImportTablesCompleted";
|
|
12548
12696
|
const _ITIP = "ImportTablesInProgress";
|
|
12549
12697
|
const _ITNS = "ImportTablesNotStarted";
|
|
12698
|
+
const _Id = "Id";
|
|
12550
12699
|
const _K = "Key";
|
|
12551
12700
|
const _KKI = "KmsKeyId";
|
|
12701
|
+
const _L = "Link";
|
|
12552
12702
|
const _LDT = "LogDestinationType";
|
|
12553
12703
|
const _LE = "LogExports";
|
|
12554
12704
|
const _LEo = "LoggingEnabled";
|
|
@@ -12556,6 +12706,7 @@ const _LF = "LakeFormation";
|
|
|
12556
12706
|
const _LFM = "LastFailureMessage";
|
|
12557
12707
|
const _LFQ = "LakeFormationQuery";
|
|
12558
12708
|
const _LFT = "LastFailureTime";
|
|
12709
|
+
const _LR = "ListRecommendations";
|
|
12559
12710
|
const _LSD = "LoadSampleData";
|
|
12560
12711
|
const _LSDT = "LastSuccessfulDeliveryTime";
|
|
12561
12712
|
const _LT = "LimitType";
|
|
@@ -12598,6 +12749,7 @@ const _Ma = "Manual";
|
|
|
12598
12749
|
const _Me = "Message";
|
|
12599
12750
|
const _Mo = "Mode";
|
|
12600
12751
|
const _N = "Name";
|
|
12752
|
+
const _NA = "NamespaceArn";
|
|
12601
12753
|
const _NC = "NodeCount";
|
|
12602
12754
|
const _NCI = "NewClusterIdentifier";
|
|
12603
12755
|
const _NCO = "NodeConfigurationOption";
|
|
@@ -12618,6 +12770,7 @@ const _OCO = "OrderableClusterOptions";
|
|
|
12618
12770
|
const _OCOr = "OrderableClusterOption";
|
|
12619
12771
|
const _ON = "OperationName";
|
|
12620
12772
|
const _OT = "OfferingType";
|
|
12773
|
+
const _Ob = "Observation";
|
|
12621
12774
|
const _P = "Port";
|
|
12622
12775
|
const _PA = "PubliclyAccessible";
|
|
12623
12776
|
const _PAED = "ParameterApplyErrorDescription";
|
|
@@ -12650,6 +12803,8 @@ const _Po = "Policy";
|
|
|
12650
12803
|
const _R = "Resources";
|
|
12651
12804
|
const _RA = "ResourceArn";
|
|
12652
12805
|
const _RAP = "ResetAllParameters";
|
|
12806
|
+
const _RAe = "RecommendedActions";
|
|
12807
|
+
const _RAec = "RecommendedAction";
|
|
12653
12808
|
const _RC = "RebootCluster";
|
|
12654
12809
|
const _RCA = "RecurringChargeAmount";
|
|
12655
12810
|
const _RCF = "RecurringChargeFrequency";
|
|
@@ -12669,6 +12824,8 @@ const _RIAA = "RedshiftIdcApplicationArn";
|
|
|
12669
12824
|
const _RIAN = "RedshiftIdcApplicationName";
|
|
12670
12825
|
const _RIAe = "RedshiftIdcApplications";
|
|
12671
12826
|
const _RIR = "RemoveIamRoles";
|
|
12827
|
+
const _RL = "ReferenceLinks";
|
|
12828
|
+
const _RLe = "ReferenceLink";
|
|
12672
12829
|
const _RN = "ResourceName";
|
|
12673
12830
|
const _RNCO = "ReservedNodeConfigurationOption";
|
|
12674
12831
|
const _RNCOL = "ReservedNodeConfigurationOptionList";
|
|
@@ -12691,9 +12848,13 @@ const _RSA = "RevokeSnapshotAccess";
|
|
|
12691
12848
|
const _RT = "ResourceType";
|
|
12692
12849
|
const _RTFCS = "RestoreTableFromClusterSnapshot";
|
|
12693
12850
|
const _RTe = "RevisionTarget";
|
|
12851
|
+
const _RTec = "RecommendationType";
|
|
12852
|
+
const _RTeco = "RecommendationText";
|
|
12694
12853
|
const _RTeq = "RequestTime";
|
|
12695
12854
|
const _RTes = "ResizeType";
|
|
12696
12855
|
const _RTev = "RevisionTargets";
|
|
12856
|
+
const _Re = "Recommendations";
|
|
12857
|
+
const _Rec = "Recommendation";
|
|
12697
12858
|
const _S = "Severity";
|
|
12698
12859
|
const _SA = "SnapshotArn";
|
|
12699
12860
|
const _SAD = "ScheduledActionDescription";
|
|
@@ -12799,6 +12960,9 @@ const _TSN = "TargetSchemaName";
|
|
|
12799
12960
|
const _TTIA = "TrustedTokenIssuerArn";
|
|
12800
12961
|
const _TV = "TagValues";
|
|
12801
12962
|
const _Ta = "Tag";
|
|
12963
|
+
const _Te = "Text";
|
|
12964
|
+
const _Ti = "Title";
|
|
12965
|
+
const _Ty = "Type";
|
|
12802
12966
|
const _UA = "UpdatedAt";
|
|
12803
12967
|
const _UL = "UsageLimits";
|
|
12804
12968
|
const _ULI = "UsageLimitId";
|
package/dist-types/Redshift.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMC
|
|
|
98
98
|
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
99
99
|
import { GetReservedNodeExchangeOfferingsCommandInput, GetReservedNodeExchangeOfferingsCommandOutput } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
100
100
|
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
101
|
+
import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
|
|
101
102
|
import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput } from "./commands/ModifyAquaConfigurationCommand";
|
|
102
103
|
import { ModifyAuthenticationProfileCommandInput, ModifyAuthenticationProfileCommandOutput } from "./commands/ModifyAuthenticationProfileCommand";
|
|
103
104
|
import { ModifyClusterCommandInput, ModifyClusterCommandOutput } from "./commands/ModifyClusterCommand";
|
|
@@ -727,6 +728,12 @@ export interface Redshift {
|
|
|
727
728
|
getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
|
|
728
729
|
getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
729
730
|
getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
|
|
731
|
+
/**
|
|
732
|
+
* @see {@link ListRecommendationsCommand}
|
|
733
|
+
*/
|
|
734
|
+
listRecommendations(args: ListRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendationsCommandOutput>;
|
|
735
|
+
listRecommendations(args: ListRecommendationsCommandInput, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
|
|
736
|
+
listRecommendations(args: ListRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
|
|
730
737
|
/**
|
|
731
738
|
* @see {@link ModifyAquaConfigurationCommand}
|
|
732
739
|
*/
|
|
@@ -107,6 +107,7 @@ import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMC
|
|
|
107
107
|
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
108
108
|
import { GetReservedNodeExchangeOfferingsCommandInput, GetReservedNodeExchangeOfferingsCommandOutput } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
109
109
|
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
110
|
+
import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
|
|
110
111
|
import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput } from "./commands/ModifyAquaConfigurationCommand";
|
|
111
112
|
import { ModifyAuthenticationProfileCommandInput, ModifyAuthenticationProfileCommandOutput } from "./commands/ModifyAuthenticationProfileCommand";
|
|
112
113
|
import { ModifyClusterCommandInput, ModifyClusterCommandOutput } from "./commands/ModifyClusterCommand";
|
|
@@ -146,11 +147,11 @@ export { __Client };
|
|
|
146
147
|
/**
|
|
147
148
|
* @public
|
|
148
149
|
*/
|
|
149
|
-
export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateRedshiftIdcApplicationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteRedshiftIdcApplicationCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeInboundIntegrationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeRedshiftIdcApplicationsCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | FailoverPrimaryComputeCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | GetResourcePolicyCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyRedshiftIdcApplicationCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | PutResourcePolicyCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
150
|
+
export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateRedshiftIdcApplicationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteRedshiftIdcApplicationCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeInboundIntegrationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeRedshiftIdcApplicationsCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | FailoverPrimaryComputeCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | GetResourcePolicyCommandInput | ListRecommendationsCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyRedshiftIdcApplicationCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | PutResourcePolicyCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
150
151
|
/**
|
|
151
152
|
* @public
|
|
152
153
|
*/
|
|
153
|
-
export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateRedshiftIdcApplicationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteRedshiftIdcApplicationCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeInboundIntegrationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeRedshiftIdcApplicationsCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | FailoverPrimaryComputeCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | GetResourcePolicyCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyRedshiftIdcApplicationCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | PutResourcePolicyCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
154
|
+
export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateRedshiftIdcApplicationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteRedshiftIdcApplicationCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeInboundIntegrationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeRedshiftIdcApplicationsCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | FailoverPrimaryComputeCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | GetResourcePolicyCommandOutput | ListRecommendationsCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyRedshiftIdcApplicationCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | PutResourcePolicyCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
154
155
|
/**
|
|
155
156
|
* @public
|
|
156
157
|
*/
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListRecommendationsMessage, ListRecommendationsResult } from "../models/models_1";
|
|
4
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link ListRecommendationsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListRecommendationsCommandInput extends ListRecommendationsMessage {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link ListRecommendationsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface ListRecommendationsCommandOutput extends ListRecommendationsResult, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const ListRecommendationsCommand_base: {
|
|
24
|
+
new (input: ListRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { RedshiftClient, ListRecommendationsCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
34
|
+
* // const { RedshiftClient, ListRecommendationsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
35
|
+
* const client = new RedshiftClient(config);
|
|
36
|
+
* const input = { // ListRecommendationsMessage
|
|
37
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
38
|
+
* NamespaceArn: "STRING_VALUE",
|
|
39
|
+
* MaxRecords: Number("int"),
|
|
40
|
+
* Marker: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListRecommendationsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListRecommendationsResult
|
|
45
|
+
* // Recommendations: [ // RecommendationList
|
|
46
|
+
* // { // Recommendation
|
|
47
|
+
* // Id: "STRING_VALUE",
|
|
48
|
+
* // ClusterIdentifier: "STRING_VALUE",
|
|
49
|
+
* // NamespaceArn: "STRING_VALUE",
|
|
50
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // RecommendationType: "STRING_VALUE",
|
|
52
|
+
* // Title: "STRING_VALUE",
|
|
53
|
+
* // Description: "STRING_VALUE",
|
|
54
|
+
* // Observation: "STRING_VALUE",
|
|
55
|
+
* // ImpactRanking: "HIGH" || "MEDIUM" || "LOW",
|
|
56
|
+
* // RecommendationText: "STRING_VALUE",
|
|
57
|
+
* // RecommendedActions: [ // RecommendedActionList
|
|
58
|
+
* // { // RecommendedAction
|
|
59
|
+
* // Text: "STRING_VALUE",
|
|
60
|
+
* // Database: "STRING_VALUE",
|
|
61
|
+
* // Command: "STRING_VALUE",
|
|
62
|
+
* // Type: "SQL" || "CLI",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // ReferenceLinks: [ // ReferenceLinkList
|
|
66
|
+
* // { // ReferenceLink
|
|
67
|
+
* // Text: "STRING_VALUE",
|
|
68
|
+
* // Link: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // Marker: "STRING_VALUE",
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param ListRecommendationsCommandInput - {@link ListRecommendationsCommandInput}
|
|
79
|
+
* @returns {@link ListRecommendationsCommandOutput}
|
|
80
|
+
* @see {@link ListRecommendationsCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link ListRecommendationsCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
85
|
+
* <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
|
|
86
|
+
* </p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
89
|
+
* <p>The requested operation isn't supported.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link RedshiftServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
export declare class ListRecommendationsCommand extends ListRecommendationsCommand_base {
|
|
96
|
+
}
|
|
@@ -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";
|
|
@@ -2999,6 +2999,19 @@ export declare class InvalidPolicyFault extends __BaseException {
|
|
|
2999
2999
|
*/
|
|
3000
3000
|
constructor(opts: __ExceptionOptionType<InvalidPolicyFault, __BaseException>);
|
|
3001
3001
|
}
|
|
3002
|
+
/**
|
|
3003
|
+
* @public
|
|
3004
|
+
* @enum
|
|
3005
|
+
*/
|
|
3006
|
+
export declare const ImpactRankingType: {
|
|
3007
|
+
readonly HIGH: "HIGH";
|
|
3008
|
+
readonly LOW: "LOW";
|
|
3009
|
+
readonly MEDIUM: "MEDIUM";
|
|
3010
|
+
};
|
|
3011
|
+
/**
|
|
3012
|
+
* @public
|
|
3013
|
+
*/
|
|
3014
|
+
export type ImpactRankingType = (typeof ImpactRankingType)[keyof typeof ImpactRankingType];
|
|
3002
3015
|
/**
|
|
3003
3016
|
* @public
|
|
3004
3017
|
* <p>You have exceeded the allowed number of table restore requests. Wait for your
|
|
@@ -3038,6 +3051,180 @@ export declare class InvalidTableRestoreArgumentFault extends __BaseException {
|
|
|
3038
3051
|
*/
|
|
3039
3052
|
constructor(opts: __ExceptionOptionType<InvalidTableRestoreArgumentFault, __BaseException>);
|
|
3040
3053
|
}
|
|
3054
|
+
/**
|
|
3055
|
+
* @public
|
|
3056
|
+
*/
|
|
3057
|
+
export interface ListRecommendationsMessage {
|
|
3058
|
+
/**
|
|
3059
|
+
* @public
|
|
3060
|
+
* <p>The unique identifier of the Amazon Redshift cluster for which the list of Advisor recommendations is returned.
|
|
3061
|
+
* If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.</p>
|
|
3062
|
+
*/
|
|
3063
|
+
ClusterIdentifier?: string;
|
|
3064
|
+
/**
|
|
3065
|
+
* @public
|
|
3066
|
+
* <p>The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for which the list of Advisor recommendations is returned.
|
|
3067
|
+
* If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.</p>
|
|
3068
|
+
*/
|
|
3069
|
+
NamespaceArn?: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* @public
|
|
3072
|
+
* <p>The maximum number of response records to return in each call. If the number of remaining response records
|
|
3073
|
+
* exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve
|
|
3074
|
+
* the next set of records by retrying the command with the returned marker value.</p>
|
|
3075
|
+
*/
|
|
3076
|
+
MaxRecords?: number;
|
|
3077
|
+
/**
|
|
3078
|
+
* @public
|
|
3079
|
+
* <p>A value that indicates the starting point for the next set of response records in a subsequent request. If a
|
|
3080
|
+
* value is returned in a response, you can retrieve the next set
|
|
3081
|
+
* of records by providing this returned marker value in the Marker parameter
|
|
3082
|
+
* and retrying the command. If the Marker field is empty, all response
|
|
3083
|
+
* records have been retrieved for the request.
|
|
3084
|
+
* </p>
|
|
3085
|
+
*/
|
|
3086
|
+
Marker?: string;
|
|
3087
|
+
}
|
|
3088
|
+
/**
|
|
3089
|
+
* @public
|
|
3090
|
+
* @enum
|
|
3091
|
+
*/
|
|
3092
|
+
export declare const RecommendedActionType: {
|
|
3093
|
+
readonly CLI: "CLI";
|
|
3094
|
+
readonly SQL: "SQL";
|
|
3095
|
+
};
|
|
3096
|
+
/**
|
|
3097
|
+
* @public
|
|
3098
|
+
*/
|
|
3099
|
+
export type RecommendedActionType = (typeof RecommendedActionType)[keyof typeof RecommendedActionType];
|
|
3100
|
+
/**
|
|
3101
|
+
* @public
|
|
3102
|
+
* <p>The recommended action from the Amazon Redshift Advisor recommendation.</p>
|
|
3103
|
+
*/
|
|
3104
|
+
export interface RecommendedAction {
|
|
3105
|
+
/**
|
|
3106
|
+
* @public
|
|
3107
|
+
* <p>The specific instruction about the command.</p>
|
|
3108
|
+
*/
|
|
3109
|
+
Text?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
* @public
|
|
3112
|
+
* <p>The database name to perform the action on. Only applicable if the type of command is SQL.</p>
|
|
3113
|
+
*/
|
|
3114
|
+
Database?: string;
|
|
3115
|
+
/**
|
|
3116
|
+
* @public
|
|
3117
|
+
* <p>The command to run.</p>
|
|
3118
|
+
*/
|
|
3119
|
+
Command?: string;
|
|
3120
|
+
/**
|
|
3121
|
+
* @public
|
|
3122
|
+
* <p>The type of command.</p>
|
|
3123
|
+
*/
|
|
3124
|
+
Type?: RecommendedActionType;
|
|
3125
|
+
}
|
|
3126
|
+
/**
|
|
3127
|
+
* @public
|
|
3128
|
+
* <p>A link to an Amazon Redshift Advisor reference for more information about a recommendation.</p>
|
|
3129
|
+
*/
|
|
3130
|
+
export interface ReferenceLink {
|
|
3131
|
+
/**
|
|
3132
|
+
* @public
|
|
3133
|
+
* <p>The hyperlink text that describes the link to more information.</p>
|
|
3134
|
+
*/
|
|
3135
|
+
Text?: string;
|
|
3136
|
+
/**
|
|
3137
|
+
* @public
|
|
3138
|
+
* <p>The URL address to find more information.</p>
|
|
3139
|
+
*/
|
|
3140
|
+
Link?: string;
|
|
3141
|
+
}
|
|
3142
|
+
/**
|
|
3143
|
+
* @public
|
|
3144
|
+
* <p>An Amazon Redshift Advisor recommended action on the Amazon Redshift cluster.</p>
|
|
3145
|
+
*/
|
|
3146
|
+
export interface Recommendation {
|
|
3147
|
+
/**
|
|
3148
|
+
* @public
|
|
3149
|
+
* <p>A unique identifier of the Advisor recommendation.</p>
|
|
3150
|
+
*/
|
|
3151
|
+
Id?: string;
|
|
3152
|
+
/**
|
|
3153
|
+
* @public
|
|
3154
|
+
* <p>The unique identifier of the cluster for which the recommendation is returned.</p>
|
|
3155
|
+
*/
|
|
3156
|
+
ClusterIdentifier?: string;
|
|
3157
|
+
/**
|
|
3158
|
+
* @public
|
|
3159
|
+
* <p>The Amazon Redshift cluster namespace ARN for which the recommendations is returned.</p>
|
|
3160
|
+
*/
|
|
3161
|
+
NamespaceArn?: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* @public
|
|
3164
|
+
* <p>The date and time (UTC) that the recommendation was created.</p>
|
|
3165
|
+
*/
|
|
3166
|
+
CreatedAt?: Date;
|
|
3167
|
+
/**
|
|
3168
|
+
* @public
|
|
3169
|
+
* <p>The type of Advisor recommendation.</p>
|
|
3170
|
+
*/
|
|
3171
|
+
RecommendationType?: string;
|
|
3172
|
+
/**
|
|
3173
|
+
* @public
|
|
3174
|
+
* <p>The title of the recommendation.</p>
|
|
3175
|
+
*/
|
|
3176
|
+
Title?: string;
|
|
3177
|
+
/**
|
|
3178
|
+
* @public
|
|
3179
|
+
* <p>The description of the recommendation.</p>
|
|
3180
|
+
*/
|
|
3181
|
+
Description?: string;
|
|
3182
|
+
/**
|
|
3183
|
+
* @public
|
|
3184
|
+
* <p>The description of what was observed about your cluster.</p>
|
|
3185
|
+
*/
|
|
3186
|
+
Observation?: string;
|
|
3187
|
+
/**
|
|
3188
|
+
* @public
|
|
3189
|
+
* <p>The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.</p>
|
|
3190
|
+
*/
|
|
3191
|
+
ImpactRanking?: ImpactRankingType;
|
|
3192
|
+
/**
|
|
3193
|
+
* @public
|
|
3194
|
+
* <p>The description of the recommendation.</p>
|
|
3195
|
+
*/
|
|
3196
|
+
RecommendationText?: string;
|
|
3197
|
+
/**
|
|
3198
|
+
* @public
|
|
3199
|
+
* <p>List of Amazon Redshift recommended actions.</p>
|
|
3200
|
+
*/
|
|
3201
|
+
RecommendedActions?: RecommendedAction[];
|
|
3202
|
+
/**
|
|
3203
|
+
* @public
|
|
3204
|
+
* <p>List of helpful links for more information about the Advisor recommendation.</p>
|
|
3205
|
+
*/
|
|
3206
|
+
ReferenceLinks?: ReferenceLink[];
|
|
3207
|
+
}
|
|
3208
|
+
/**
|
|
3209
|
+
* @public
|
|
3210
|
+
*/
|
|
3211
|
+
export interface ListRecommendationsResult {
|
|
3212
|
+
/**
|
|
3213
|
+
* @public
|
|
3214
|
+
* <p>The Advisor recommendations for action on the Amazon Redshift cluster.</p>
|
|
3215
|
+
*/
|
|
3216
|
+
Recommendations?: Recommendation[];
|
|
3217
|
+
/**
|
|
3218
|
+
* @public
|
|
3219
|
+
* <p>A value that indicates the starting point for the next set of response records in a subsequent
|
|
3220
|
+
* request. If a value is returned in a response, you can retrieve the next set
|
|
3221
|
+
* of records by providing this returned marker value in the Marker parameter
|
|
3222
|
+
* and retrying the command. If the Marker field is empty, all response
|
|
3223
|
+
* records have been retrieved for the request.
|
|
3224
|
+
* </p>
|
|
3225
|
+
*/
|
|
3226
|
+
Marker?: string;
|
|
3227
|
+
}
|
|
3041
3228
|
/**
|
|
3042
3229
|
* @public
|
|
3043
3230
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "../commands/ListRecommendationsCommand";
|
|
3
|
+
import { RedshiftPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListRecommendations: (config: RedshiftPaginationConfiguration, input: ListRecommendationsCommandInput, ...rest: any[]) => Paginator<ListRecommendationsCommandOutput>;
|