import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ExportRDSDatabaseRecommendationsRequest, ExportRDSDatabaseRecommendationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ExportRDSDatabaseRecommendationsCommand}. */ export interface ExportRDSDatabaseRecommendationsCommandInput extends ExportRDSDatabaseRecommendationsRequest { } /** * @public * * The output of {@link ExportRDSDatabaseRecommendationsCommand}. */ export interface ExportRDSDatabaseRecommendationsCommandOutput extends ExportRDSDatabaseRecommendationsResponse, __MetadataBearer { } declare const ExportRDSDatabaseRecommendationsCommand_base: { new (input: ExportRDSDatabaseRecommendationsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ExportRDSDatabaseRecommendationsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Export optimization recommendations for your Amazon Aurora and Amazon Relational Database Service (Amazon RDS) databases. *

*

Recommendations are exported in a comma-separated values (CSV) file, and its metadata * in a JavaScript Object Notation (JSON) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting * Recommendations in the Compute Optimizer User * Guide.

*

You can have only one Amazon Aurora or RDS export job in progress per Amazon Web Services Region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComputeOptimizerClient, ExportRDSDatabaseRecommendationsCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import * // const { ComputeOptimizerClient, ExportRDSDatabaseRecommendationsCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import * // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer"; * const config = {}; // type is ComputeOptimizerClientConfig * const client = new ComputeOptimizerClient(config); * const input = { // ExportRDSDatabaseRecommendationsRequest * accountIds: [ // AccountIds * "STRING_VALUE", * ], * filters: [ // RDSDBRecommendationFilters * { // RDSDBRecommendationFilter * name: "InstanceFinding" || "InstanceFindingReasonCode" || "StorageFinding" || "StorageFindingReasonCode" || "Idle", * values: [ // FilterValues * "STRING_VALUE", * ], * }, * ], * fieldsToExport: [ // ExportableRDSDBFields * "ResourceArn" || "AccountId" || "Engine" || "EngineVersion" || "Idle" || "MultiAZDBInstance" || "ClusterWriter" || "CurrentDBInstanceClass" || "CurrentStorageConfigurationStorageType" || "CurrentStorageConfigurationAllocatedStorage" || "CurrentStorageConfigurationMaxAllocatedStorage" || "CurrentStorageConfigurationIOPS" || "CurrentStorageConfigurationStorageThroughput" || "CurrentStorageEstimatedMonthlyVolumeIOPsCostVariation" || "CurrentInstanceOnDemandHourlyPrice" || "CurrentStorageOnDemandMonthlyPrice" || "LookbackPeriodInDays" || "CurrentStorageEstimatedClusterInstanceOnDemandMonthlyCost" || "CurrentStorageEstimatedClusterStorageOnDemandMonthlyCost" || "CurrentStorageEstimatedClusterStorageIOOnDemandMonthlyCost" || "CurrentInstancePerformanceRisk" || "UtilizationMetricsCpuMaximum" || "UtilizationMetricsMemoryMaximum" || "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" || "UtilizationMetricsNetworkReceiveThroughputMaximum" || "UtilizationMetricsNetworkTransmitThroughputMaximum" || "UtilizationMetricsEBSVolumeReadIOPSMaximum" || "UtilizationMetricsEBSVolumeWriteIOPSMaximum" || "UtilizationMetricsEBSVolumeReadThroughputMaximum" || "UtilizationMetricsEBSVolumeWriteThroughputMaximum" || "UtilizationMetricsDatabaseConnectionsMaximum" || "UtilizationMetricsStorageNetworkReceiveThroughputMaximum" || "UtilizationMetricsStorageNetworkTransmitThroughputMaximum" || "UtilizationMetricsAuroraMemoryHealthStateMaximum" || "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum" || "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum" || "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum" || "UtilizationMetricsReadIOPSEphemeralStorageMaximum" || "UtilizationMetricsWriteIOPSEphemeralStorageMaximum" || "UtilizationMetricsVolumeBytesUsedAverage" || "UtilizationMetricsVolumeReadIOPsAverage" || "UtilizationMetricsVolumeWriteIOPsAverage" || "InstanceFinding" || "InstanceFindingReasonCodes" || "StorageFinding" || "StorageFindingReasonCodes" || "InstanceRecommendationOptionsDBInstanceClass" || "InstanceRecommendationOptionsRank" || "InstanceRecommendationOptionsPerformanceRisk" || "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" || "StorageRecommendationOptionsStorageType" || "StorageRecommendationOptionsAllocatedStorage" || "StorageRecommendationOptionsMaxAllocatedStorage" || "StorageRecommendationOptionsIOPS" || "StorageRecommendationOptionsStorageThroughput" || "StorageRecommendationOptionsRank" || "StorageRecommendationOptionsEstimatedMonthlyVolumeIOPsCostVariation" || "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" || "InstanceRecommendationOptionsSavingsOpportunityPercentage" || "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" || "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" || "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" || "StorageRecommendationOptionsOnDemandMonthlyPrice" || "StorageRecommendationOptionsEstimatedClusterInstanceOnDemandMonthlyCost" || "StorageRecommendationOptionsEstimatedClusterStorageOnDemandMonthlyCost" || "StorageRecommendationOptionsEstimatedClusterStorageIOOnDemandMonthlyCost" || "StorageRecommendationOptionsSavingsOpportunityPercentage" || "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" || "StorageRecommendationOptionsEstimatedMonthlySavingsValue" || "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" || "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" || "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" || "EffectiveRecommendationPreferencesCpuVendorArchitectures" || "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" || "EffectiveRecommendationPreferencesLookBackPeriod" || "EffectiveRecommendationPreferencesSavingsEstimationMode" || "LastRefreshTimestamp" || "Tags" || "DBClusterIdentifier" || "PromotionTier", * ], * s3DestinationConfig: { // S3DestinationConfig * bucket: "STRING_VALUE", * keyPrefix: "STRING_VALUE", * }, * fileFormat: "Csv", * includeMemberAccounts: true || false, * recommendationPreferences: { // RecommendationPreferences * cpuVendorArchitectures: [ // CpuVendorArchitectures * "AWS_ARM64" || "CURRENT", * ], * }, * }; * const command = new ExportRDSDatabaseRecommendationsCommand(input); * const response = await client.send(command); * // { // ExportRDSDatabaseRecommendationsResponse * // jobId: "STRING_VALUE", * // s3Destination: { // S3Destination * // bucket: "STRING_VALUE", * // key: "STRING_VALUE", * // metadataKey: "STRING_VALUE", * // }, * // }; * * ``` * * @param ExportRDSDatabaseRecommendationsCommandInput - {@link ExportRDSDatabaseRecommendationsCommandInput} * @returns {@link ExportRDSDatabaseRecommendationsCommandOutput} * @see {@link ExportRDSDatabaseRecommendationsCommandInput} for command's `input` shape. * @see {@link ExportRDSDatabaseRecommendationsCommandOutput} for command's `response` shape. * @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

An internal error has occurred. Try your call again.

* * @throws {@link InvalidParameterValueException} (client fault) *

The value supplied for the input parameter is out of range or not valid.

* * @throws {@link LimitExceededException} (client fault) *

The request exceeds a limit of the service.

* * @throws {@link MissingAuthenticationToken} (client fault) *

The request must contain either a valid (registered) Amazon Web Services access key ID * or X.509 certificate.

* * @throws {@link OptInRequiredException} (client fault) *

The account is not opted in to Compute Optimizer.

* * @throws {@link ServiceUnavailableException} (server fault) *

The request has failed due to a temporary failure of the server.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ComputeOptimizerServiceException} *

Base exception class for all service exceptions from ComputeOptimizer service.

* * * @public */ export declare class ExportRDSDatabaseRecommendationsCommand extends ExportRDSDatabaseRecommendationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ExportRDSDatabaseRecommendationsRequest; output: ExportRDSDatabaseRecommendationsResponse; }; sdk: { input: ExportRDSDatabaseRecommendationsCommandInput; output: ExportRDSDatabaseRecommendationsCommandOutput; }; }; }