import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetEmailIdentityPoliciesRequest, GetEmailIdentityPoliciesResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SESv2ClientResolvedConfig } from "../SESv2Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetEmailIdentityPoliciesCommand}. */ export interface GetEmailIdentityPoliciesCommandInput extends GetEmailIdentityPoliciesRequest { } /** * @public * * The output of {@link GetEmailIdentityPoliciesCommand}. */ export interface GetEmailIdentityPoliciesCommandOutput extends GetEmailIdentityPoliciesResponse, __MetadataBearer { } declare const GetEmailIdentityPoliciesCommand_base: { new (input: GetEmailIdentityPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetEmailIdentityPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns the requested sending authorization policies for the given identity (an email * address or a domain). The policies are returned as a map of policy names to policy * contents. You can retrieve a maximum of 20 policies at a time.

* *

This API is for the identity owner only. If you have not verified the identity, * this API will return an error.

*
*

Sending authorization is a feature that enables an identity owner to authorize other * senders to use its identities. For information about using sending authorization, see * the Amazon SES Developer * Guide.

*

You can execute this operation no more than once per second.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SESv2Client, GetEmailIdentityPoliciesCommand } from "@aws-sdk/client-sesv2"; // ES Modules import * // const { SESv2Client, GetEmailIdentityPoliciesCommand } = require("@aws-sdk/client-sesv2"); // CommonJS import * // import type { SESv2ClientConfig } from "@aws-sdk/client-sesv2"; * const config = {}; // type is SESv2ClientConfig * const client = new SESv2Client(config); * const input = { // GetEmailIdentityPoliciesRequest * EmailIdentity: "STRING_VALUE", // required * }; * const command = new GetEmailIdentityPoliciesCommand(input); * const response = await client.send(command); * // { // GetEmailIdentityPoliciesResponse * // Policies: { // PolicyMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetEmailIdentityPoliciesCommandInput - {@link GetEmailIdentityPoliciesCommandInput} * @returns {@link GetEmailIdentityPoliciesCommandOutput} * @see {@link GetEmailIdentityPoliciesCommandInput} for command's `input` shape. * @see {@link GetEmailIdentityPoliciesCommandOutput} for command's `response` shape. * @see {@link SESv2ClientResolvedConfig | config} for SESv2Client's `config` shape. * * @throws {@link BadRequestException} (client fault) *

The input you provided is invalid.

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

The resource you attempted to access doesn't exist.

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

Too many requests have been made to the operation.

* * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* * * @public */ export declare class GetEmailIdentityPoliciesCommand extends GetEmailIdentityPoliciesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetEmailIdentityPoliciesRequest; output: GetEmailIdentityPoliciesResponse; }; sdk: { input: GetEmailIdentityPoliciesCommandInput; output: GetEmailIdentityPoliciesCommandOutput; }; }; }