import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeEventDetailsForOrganizationRequest, DescribeEventDetailsForOrganizationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeEventDetailsForOrganizationCommand}. */ export interface DescribeEventDetailsForOrganizationCommandInput extends DescribeEventDetailsForOrganizationRequest { } /** * @public * * The output of {@link DescribeEventDetailsForOrganizationCommand}. */ export interface DescribeEventDetailsForOrganizationCommandOutput extends DescribeEventDetailsForOrganizationResponse, __MetadataBearer { } declare const DescribeEventDetailsForOrganizationCommand_base: { new (input: DescribeEventDetailsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeEventDetailsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns detailed information about one or more specified events for one or more * Amazon Web Services accounts in your organization. This information includes standard event data (such as * the Amazon Web Services Region and service), an event description, and (depending on the event) possible * metadata. This operation doesn't return affected entities, such as the resources related to * the event. To return affected entities, use the DescribeAffectedEntitiesForOrganization operation.

* *

Before you can call this operation, you must first enable Health to work with * Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's * management account.

*
*

When you call the DescribeEventDetailsForOrganization operation, specify * the organizationEventDetailFilters object in the request. Depending on the * Health event type, note the following differences:

* *

For more information, see Event.

* *

This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more * information, see Resource- and action-based conditions in the Health User Guide.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { HealthClient, DescribeEventDetailsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import * // const { HealthClient, DescribeEventDetailsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import * // import type { HealthClientConfig } from "@aws-sdk/client-health"; * const config = {}; // type is HealthClientConfig * const client = new HealthClient(config); * const input = { // DescribeEventDetailsForOrganizationRequest * organizationEventDetailFilters: [ // OrganizationEventDetailFiltersList // required * { // EventAccountFilter * eventArn: "STRING_VALUE", // required * awsAccountId: "STRING_VALUE", * }, * ], * locale: "STRING_VALUE", * }; * const command = new DescribeEventDetailsForOrganizationCommand(input); * const response = await client.send(command); * // { // DescribeEventDetailsForOrganizationResponse * // successfulSet: [ // DescribeEventDetailsForOrganizationSuccessfulSet * // { // OrganizationEventDetails * // awsAccountId: "STRING_VALUE", * // event: { // Event * // arn: "STRING_VALUE", * // service: "STRING_VALUE", * // eventTypeCode: "STRING_VALUE", * // eventTypeCategory: "issue" || "accountNotification" || "scheduledChange" || "investigation", * // region: "STRING_VALUE", * // availabilityZone: "STRING_VALUE", * // startTime: new Date("TIMESTAMP"), * // endTime: new Date("TIMESTAMP"), * // lastUpdatedTime: new Date("TIMESTAMP"), * // statusCode: "open" || "closed" || "upcoming", * // eventScopeCode: "PUBLIC" || "ACCOUNT_SPECIFIC" || "NONE", * // actionability: "ACTION_REQUIRED" || "ACTION_MAY_BE_REQUIRED" || "INFORMATIONAL", * // personas: [ // EventPersonaList * // "OPERATIONS" || "SECURITY" || "BILLING", * // ], * // }, * // eventDescription: { // EventDescription * // latestDescription: "STRING_VALUE", * // }, * // eventMetadata: { // eventMetadata * // "": "STRING_VALUE", * // }, * // }, * // ], * // failedSet: [ // DescribeEventDetailsForOrganizationFailedSet * // { // OrganizationEventDetailsErrorItem * // awsAccountId: "STRING_VALUE", * // eventArn: "STRING_VALUE", * // errorName: "STRING_VALUE", * // errorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeEventDetailsForOrganizationCommandInput - {@link DescribeEventDetailsForOrganizationCommandInput} * @returns {@link DescribeEventDetailsForOrganizationCommandOutput} * @see {@link DescribeEventDetailsForOrganizationCommandInput} for command's `input` shape. * @see {@link DescribeEventDetailsForOrganizationCommandOutput} for command's `response` shape. * @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape. * * @throws {@link UnsupportedLocale} (client fault) *

The specified locale is not supported.

* * @throws {@link HealthServiceException} *

Base exception class for all service exceptions from Health service.

* * * @public */ export declare class DescribeEventDetailsForOrganizationCommand extends DescribeEventDetailsForOrganizationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEventDetailsForOrganizationRequest; output: DescribeEventDetailsForOrganizationResponse; }; sdk: { input: DescribeEventDetailsForOrganizationCommandInput; output: DescribeEventDetailsForOrganizationCommandOutput; }; }; }