import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeCrossAccountAccessRoleResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeCrossAccountAccessRoleCommand}. */ export interface DescribeCrossAccountAccessRoleCommandInput { } /** * @public * * The output of {@link DescribeCrossAccountAccessRoleCommand}. */ export interface DescribeCrossAccountAccessRoleCommandOutput extends DescribeCrossAccountAccessRoleResponse, __MetadataBearer { } declare const DescribeCrossAccountAccessRoleCommand_base: { new (input: DescribeCrossAccountAccessRoleCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeCrossAccountAccessRoleCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the IAM role that enables Amazon Inspector to access your AWS * account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { InspectorClient, DescribeCrossAccountAccessRoleCommand } from "@aws-sdk/client-inspector"; // ES Modules import * // const { InspectorClient, DescribeCrossAccountAccessRoleCommand } = require("@aws-sdk/client-inspector"); // CommonJS import * // import type { InspectorClientConfig } from "@aws-sdk/client-inspector"; * const config = {}; // type is InspectorClientConfig * const client = new InspectorClient(config); * const input = {}; * const command = new DescribeCrossAccountAccessRoleCommand(input); * const response = await client.send(command); * // { // DescribeCrossAccountAccessRoleResponse * // roleArn: "STRING_VALUE", // required * // valid: true || false, // required * // registeredAt: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param DescribeCrossAccountAccessRoleCommandInput - {@link DescribeCrossAccountAccessRoleCommandInput} * @returns {@link DescribeCrossAccountAccessRoleCommandOutput} * @see {@link DescribeCrossAccountAccessRoleCommandInput} for command's `input` shape. * @see {@link DescribeCrossAccountAccessRoleCommandOutput} for command's `response` shape. * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape. * * @throws {@link InternalException} (server fault) *

Internal server error.

* * @throws {@link InspectorServiceException} *

Base exception class for all service exceptions from Inspector service.

* * * @public */ export declare class DescribeCrossAccountAccessRoleCommand extends DescribeCrossAccountAccessRoleCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: DescribeCrossAccountAccessRoleResponse; }; sdk: { input: DescribeCrossAccountAccessRoleCommandInput; output: DescribeCrossAccountAccessRoleCommandOutput; }; }; }