import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { GetDeclarativePoliciesReportSummaryRequest, GetDeclarativePoliciesReportSummaryResult } from "../models/models_6"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDeclarativePoliciesReportSummaryCommand}. */ export interface GetDeclarativePoliciesReportSummaryCommandInput extends GetDeclarativePoliciesReportSummaryRequest { } /** * @public * * The output of {@link GetDeclarativePoliciesReportSummaryCommand}. */ export interface GetDeclarativePoliciesReportSummaryCommandOutput extends GetDeclarativePoliciesReportSummaryResult, __MetadataBearer { } declare const GetDeclarativePoliciesReportSummaryCommand_base: { new (input: GetDeclarativePoliciesReportSummaryCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetDeclarativePoliciesReportSummaryCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves a summary of the account status report.

*

To view the full report, download it from the Amazon S3 bucket where it was saved. * Reports are accessible only when they have the complete status. Reports * with other statuses (running, cancelled, or * error) are not available in the S3 bucket. For more information about * downloading objects from an S3 bucket, see Downloading objects in * the Amazon Simple Storage Service User Guide.

*

For more information, see Generating the account status report for declarative policies in the * Amazon Web Services Organizations User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, GetDeclarativePoliciesReportSummaryCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, GetDeclarativePoliciesReportSummaryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // GetDeclarativePoliciesReportSummaryRequest * DryRun: true || false, * ReportId: "STRING_VALUE", // required * }; * const command = new GetDeclarativePoliciesReportSummaryCommand(input); * const response = await client.send(command); * // { // GetDeclarativePoliciesReportSummaryResult * // ReportId: "STRING_VALUE", * // S3Bucket: "STRING_VALUE", * // S3Prefix: "STRING_VALUE", * // TargetId: "STRING_VALUE", * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // NumberOfAccounts: Number("int"), * // NumberOfFailedAccounts: Number("int"), * // AttributeSummaries: [ // AttributeSummaryList * // { // AttributeSummary * // AttributeName: "STRING_VALUE", * // MostFrequentValue: "STRING_VALUE", * // NumberOfMatchedAccounts: Number("int"), * // NumberOfUnmatchedAccounts: Number("int"), * // RegionalSummaries: [ // RegionalSummaryList * // { // RegionalSummary * // RegionName: "STRING_VALUE", * // NumberOfMatchedAccounts: Number("int"), * // NumberOfUnmatchedAccounts: Number("int"), * // }, * // ], * // }, * // ], * // }; * * ``` * * @param GetDeclarativePoliciesReportSummaryCommandInput - {@link GetDeclarativePoliciesReportSummaryCommandInput} * @returns {@link GetDeclarativePoliciesReportSummaryCommandOutput} * @see {@link GetDeclarativePoliciesReportSummaryCommandInput} for command's `input` shape. * @see {@link GetDeclarativePoliciesReportSummaryCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class GetDeclarativePoliciesReportSummaryCommand extends GetDeclarativePoliciesReportSummaryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDeclarativePoliciesReportSummaryRequest; output: GetDeclarativePoliciesReportSummaryResult; }; sdk: { input: GetDeclarativePoliciesReportSummaryCommandInput; output: GetDeclarativePoliciesReportSummaryCommandOutput; }; }; }