import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetPrimaryEmailUpdateStatusRequest, GetPrimaryEmailUpdateStatusResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetPrimaryEmailUpdateStatusCommand}. */ export interface GetPrimaryEmailUpdateStatusCommandInput extends GetPrimaryEmailUpdateStatusRequest { } /** * @public * * The output of {@link GetPrimaryEmailUpdateStatusCommand}. */ export interface GetPrimaryEmailUpdateStatusCommandOutput extends GetPrimaryEmailUpdateStatusResponse, __MetadataBearer { } declare const GetPrimaryEmailUpdateStatusCommand_base: { new (input: GetPrimaryEmailUpdateStatusCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetPrimaryEmailUpdateStatusCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves the status of the most recent primary email update for the specified account. For complete details about how to update the primary email address, see Update the primary email address for your AWS account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AccountClient, GetPrimaryEmailUpdateStatusCommand } from "@aws-sdk/client-account"; // ES Modules import * // const { AccountClient, GetPrimaryEmailUpdateStatusCommand } = require("@aws-sdk/client-account"); // CommonJS import * // import type { AccountClientConfig } from "@aws-sdk/client-account"; * const config = {}; // type is AccountClientConfig * const client = new AccountClient(config); * const input = { // GetPrimaryEmailUpdateStatusRequest * AccountId: "STRING_VALUE", * }; * const command = new GetPrimaryEmailUpdateStatusCommand(input); * const response = await client.send(command); * // { // GetPrimaryEmailUpdateStatusResponse * // Status: "STRING_VALUE", // required * // UpdatedAt: new Date("TIMESTAMP"), * // }; * * ``` * * @param GetPrimaryEmailUpdateStatusCommandInput - {@link GetPrimaryEmailUpdateStatusCommandInput} * @returns {@link GetPrimaryEmailUpdateStatusCommandOutput} * @see {@link GetPrimaryEmailUpdateStatusCommandInput} for command's `input` shape. * @see {@link GetPrimaryEmailUpdateStatusCommandOutput} for command's `response` shape. * @see {@link AccountClientResolvedConfig | config} for AccountClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The operation failed because the calling identity doesn't have the minimum required permissions.

* * @throws {@link InternalServerException} (server fault) *

The operation failed because of an error internal to Amazon Web Services. Try your operation again later.

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

The operation failed because it specified a resource that can't be found.

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

The operation failed because it was called too frequently and exceeded a throttle limit.

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

The operation failed because one of the input parameters was invalid.

* * @throws {@link AccountServiceException} *

Base exception class for all service exceptions from Account service.

* * * @public */ export declare class GetPrimaryEmailUpdateStatusCommand extends GetPrimaryEmailUpdateStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetPrimaryEmailUpdateStatusRequest; output: GetPrimaryEmailUpdateStatusResponse; }; sdk: { input: GetPrimaryEmailUpdateStatusCommandInput; output: GetPrimaryEmailUpdateStatusCommandOutput; }; }; }