import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ModifyReportDefinitionRequest, ModifyReportDefinitionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ModifyReportDefinitionCommand}. */ export interface ModifyReportDefinitionCommandInput extends ModifyReportDefinitionRequest { } /** * @public * * The output of {@link ModifyReportDefinitionCommand}. */ export interface ModifyReportDefinitionCommandOutput extends ModifyReportDefinitionResponse, __MetadataBearer { } declare const ModifyReportDefinitionCommand_base: { new (input: ModifyReportDefinitionCommandInput): import("@smithy/core/client").CommandImpl; new (input: ModifyReportDefinitionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Allows you to programmatically update your report preferences.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CostAndUsageReportServiceClient, ModifyReportDefinitionCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import * // const { CostAndUsageReportServiceClient, ModifyReportDefinitionCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import * // import type { CostAndUsageReportServiceClientConfig } from "@aws-sdk/client-cost-and-usage-report-service"; * const config = {}; // type is CostAndUsageReportServiceClientConfig * const client = new CostAndUsageReportServiceClient(config); * const input = { // ModifyReportDefinitionRequest * ReportName: "STRING_VALUE", // required * ReportDefinition: { // ReportDefinition * ReportName: "STRING_VALUE", // required * TimeUnit: "HOURLY" || "DAILY" || "MONTHLY", // required * Format: "textORcsv" || "Parquet", // required * Compression: "ZIP" || "GZIP" || "Parquet", // required * AdditionalSchemaElements: [ // SchemaElementList // required * "RESOURCES" || "SPLIT_COST_ALLOCATION_DATA" || "MANUAL_DISCOUNT_COMPATIBILITY", * ], * S3Bucket: "STRING_VALUE", // required * S3Prefix: "STRING_VALUE", // required * S3Region: "af-south-1" || "ap-east-1" || "ap-south-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ca-central-1" || "eu-central-1" || "eu-central-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "cn-north-1" || "cn-northwest-1", // required * AdditionalArtifacts: [ // AdditionalArtifactList * "REDSHIFT" || "QUICKSIGHT" || "ATHENA", * ], * RefreshClosedReports: true || false, * ReportVersioning: "CREATE_NEW_REPORT" || "OVERWRITE_REPORT", * BillingViewArn: "STRING_VALUE", * ReportStatus: { // ReportStatus * lastDelivery: "STRING_VALUE", * lastStatus: "SUCCESS" || "ERROR_PERMISSIONS" || "ERROR_NO_BUCKET", * }, * }, * }; * const command = new ModifyReportDefinitionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param ModifyReportDefinitionCommandInput - {@link ModifyReportDefinitionCommandInput} * @returns {@link ModifyReportDefinitionCommandOutput} * @see {@link ModifyReportDefinitionCommandInput} for command's `input` shape. * @see {@link ModifyReportDefinitionCommandOutput} for command's `response` shape. * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for CostAndUsageReportServiceClient's `config` shape. * * @throws {@link InternalErrorException} (server fault) *

An error on the server occurred during the processing of your request. Try again later.

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

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link CostAndUsageReportServiceServiceException} *

Base exception class for all service exceptions from CostAndUsageReportService service.

* * * @public */ export declare class ModifyReportDefinitionCommand extends ModifyReportDefinitionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyReportDefinitionRequest; output: {}; }; sdk: { input: ModifyReportDefinitionCommandInput; output: ModifyReportDefinitionCommandOutput; }; }; }