@aws-sdk/client-redshift 3.504.0 → 3.509.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 +805 -3862
- 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 +801 -3888
- 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 +3 -3
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>;
|
|
@@ -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
|