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 { DescribeUsageReportSubscriptionsRequest, DescribeUsageReportSubscriptionsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeUsageReportSubscriptionsCommand}. */ export interface DescribeUsageReportSubscriptionsCommandInput extends DescribeUsageReportSubscriptionsRequest { } /** * @public * * The output of {@link DescribeUsageReportSubscriptionsCommand}. */ export interface DescribeUsageReportSubscriptionsCommandOutput extends DescribeUsageReportSubscriptionsResult, __MetadataBearer { } declare const DescribeUsageReportSubscriptionsCommand_base: { new (input: DescribeUsageReportSubscriptionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeUsageReportSubscriptionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves a list that describes one or more usage report subscriptions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, DescribeUsageReportSubscriptionsCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, DescribeUsageReportSubscriptionsCommand } = 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 = { // DescribeUsageReportSubscriptionsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeUsageReportSubscriptionsCommand(input); * const response = await client.send(command); * // { // DescribeUsageReportSubscriptionsResult * // UsageReportSubscriptions: [ // UsageReportSubscriptionList * // { // UsageReportSubscription * // S3BucketName: "STRING_VALUE", * // Schedule: "DAILY", * // LastGeneratedReportDate: new Date("TIMESTAMP"), * // SubscriptionErrors: [ // LastReportGenerationExecutionErrors * // { // LastReportGenerationExecutionError * // ErrorCode: "RESOURCE_NOT_FOUND" || "ACCESS_DENIED" || "INTERNAL_SERVICE_ERROR", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeUsageReportSubscriptionsCommandInput - {@link DescribeUsageReportSubscriptionsCommandInput} * @returns {@link DescribeUsageReportSubscriptionsCommandOutput} * @see {@link DescribeUsageReportSubscriptionsCommandInput} for command's `input` shape. * @see {@link DescribeUsageReportSubscriptionsCommandOutput} 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 ResourceNotFoundException} (client fault) *

The specified resource was not found.

* * @throws {@link AppStreamServiceException} *

Base exception class for all service exceptions from AppStream service.

* * * @public */ export declare class DescribeUsageReportSubscriptionsCommand extends DescribeUsageReportSubscriptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeUsageReportSubscriptionsRequest; output: DescribeUsageReportSubscriptionsResult; }; sdk: { input: DescribeUsageReportSubscriptionsCommandInput; output: DescribeUsageReportSubscriptionsCommandOutput; }; }; }