import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; import type { CreateUsageReportSubscriptionRequest, CreateUsageReportSubscriptionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateUsageReportSubscriptionCommand}. */ export interface CreateUsageReportSubscriptionCommandInput extends CreateUsageReportSubscriptionRequest { } /** * @public * * The output of {@link CreateUsageReportSubscriptionCommand}. */ export interface CreateUsageReportSubscriptionCommandOutput extends CreateUsageReportSubscriptionResult, __MetadataBearer { } declare const CreateUsageReportSubscriptionCommand_base: { new (input: CreateUsageReportSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [CreateUsageReportSubscriptionCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a usage report subscription. Usage reports are generated daily.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, CreateUsageReportSubscriptionCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, CreateUsageReportSubscriptionCommand } = require("@aws-sdk/client-appstream"); // CommonJS import * // import type { AppStreamClientConfig } from "@aws-sdk/client-appstream"; * const config = {}; // type is AppStreamClientConfig * const client = new AppStreamClient(config); * const input = {}; * const command = new CreateUsageReportSubscriptionCommand(input); * const response = await client.send(command); * // { // CreateUsageReportSubscriptionResult * // S3BucketName: "STRING_VALUE", * // Schedule: "DAILY", * // }; * * ``` * * @param CreateUsageReportSubscriptionCommandInput - {@link CreateUsageReportSubscriptionCommandInput} * @returns {@link CreateUsageReportSubscriptionCommandOutput} * @see {@link CreateUsageReportSubscriptionCommandInput} for command's `input` shape. * @see {@link CreateUsageReportSubscriptionCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @throws {@link InvalidAccountStatusException} (client fault) *

The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.

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

The specified role is invalid.

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

The requested limit exceeds the permitted limit for an account.

* * @throws {@link AppStreamServiceException} *

Base exception class for all service exceptions from AppStream service.

* * * @public */ export declare class CreateUsageReportSubscriptionCommand extends CreateUsageReportSubscriptionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: CreateUsageReportSubscriptionResult; }; sdk: { input: CreateUsageReportSubscriptionCommandInput; output: CreateUsageReportSubscriptionCommandOutput; }; }; }