import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ViewBillingRequest, ViewBillingResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ViewBillingCommand}. */ export interface ViewBillingCommandInput extends ViewBillingRequest { } /** * @public * * The output of {@link ViewBillingCommand}. */ export interface ViewBillingCommandOutput extends ViewBillingResponse, __MetadataBearer { } declare const ViewBillingCommand_base: { new (input: ViewBillingCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ViewBillingCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns all the domain-related billing records for the current Amazon Web Services account for a specified period

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53DomainsClient, ViewBillingCommand } from "@aws-sdk/client-route-53-domains"; // ES Modules import * // const { Route53DomainsClient, ViewBillingCommand } = require("@aws-sdk/client-route-53-domains"); // CommonJS import * // import type { Route53DomainsClientConfig } from "@aws-sdk/client-route-53-domains"; * const config = {}; // type is Route53DomainsClientConfig * const client = new Route53DomainsClient(config); * const input = { // ViewBillingRequest * Start: new Date("TIMESTAMP"), * End: new Date("TIMESTAMP"), * Marker: "STRING_VALUE", * MaxItems: Number("int"), * }; * const command = new ViewBillingCommand(input); * const response = await client.send(command); * // { // ViewBillingResponse * // NextPageMarker: "STRING_VALUE", * // BillingRecords: [ // BillingRecords * // { // BillingRecord * // DomainName: "STRING_VALUE", * // Operation: "REGISTER_DOMAIN" || "DELETE_DOMAIN" || "TRANSFER_IN_DOMAIN" || "UPDATE_DOMAIN_CONTACT" || "UPDATE_NAMESERVER" || "CHANGE_PRIVACY_PROTECTION" || "DOMAIN_LOCK" || "ENABLE_AUTORENEW" || "DISABLE_AUTORENEW" || "ADD_DNSSEC" || "REMOVE_DNSSEC" || "EXPIRE_DOMAIN" || "TRANSFER_OUT_DOMAIN" || "CHANGE_DOMAIN_OWNER" || "RENEW_DOMAIN" || "PUSH_DOMAIN" || "INTERNAL_TRANSFER_OUT_DOMAIN" || "INTERNAL_TRANSFER_IN_DOMAIN" || "RELEASE_TO_GANDI" || "TRANSFER_ON_RENEW" || "RESTORE_DOMAIN", * // InvoiceId: "STRING_VALUE", * // BillDate: new Date("TIMESTAMP"), * // Price: Number("double"), * // }, * // ], * // }; * * ``` * * @param ViewBillingCommandInput - {@link ViewBillingCommandInput} * @returns {@link ViewBillingCommandOutput} * @see {@link ViewBillingCommandInput} for command's `input` shape. * @see {@link ViewBillingCommandOutput} for command's `response` shape. * @see {@link Route53DomainsClientResolvedConfig | config} for Route53DomainsClient's `config` shape. * * @throws {@link InvalidInput} (client fault) *

The requested item is not acceptable. For example, for APIs that accept a domain name, * the request might specify a domain name that doesn't belong to the account that * submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, the * password might be invalid.

* * @throws {@link Route53DomainsServiceException} *

Base exception class for all service exceptions from Route53Domains service.

* * * @public */ export declare class ViewBillingCommand extends ViewBillingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ViewBillingRequest; output: ViewBillingResponse; }; sdk: { input: ViewBillingCommandInput; output: ViewBillingCommandOutput; }; }; }