import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchGetProfileRequest, BatchGetProfileResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link BatchGetProfileCommand}. */ export interface BatchGetProfileCommandInput extends BatchGetProfileRequest { } /** * @public * * The output of {@link BatchGetProfileCommand}. */ export interface BatchGetProfileCommandOutput extends BatchGetProfileResponse, __MetadataBearer { } declare const BatchGetProfileCommand_base: { new (input: BatchGetProfileCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchGetProfileCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get a batch of profiles.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, BatchGetProfileCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, BatchGetProfileCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles"; * const config = {}; // type is CustomerProfilesClientConfig * const client = new CustomerProfilesClient(config); * const input = { // BatchGetProfileRequest * DomainName: "STRING_VALUE", // required * ProfileIds: [ // BatchGetProfileIdList // required * "STRING_VALUE", * ], * }; * const command = new BatchGetProfileCommand(input); * const response = await client.send(command); * // { // BatchGetProfileResponse * // Errors: [ // BatchGetProfileErrorList * // { // BatchGetProfileError * // Code: "STRING_VALUE", // required * // Message: "STRING_VALUE", // required * // ProfileId: "STRING_VALUE", // required * // }, * // ], * // Profiles: [ // ProfileList * // { // Profile * // ProfileId: "STRING_VALUE", * // AccountNumber: "STRING_VALUE", * // AdditionalInformation: "STRING_VALUE", * // PartyType: "INDIVIDUAL" || "BUSINESS" || "OTHER", * // BusinessName: "STRING_VALUE", * // FirstName: "STRING_VALUE", * // MiddleName: "STRING_VALUE", * // LastName: "STRING_VALUE", * // BirthDate: "STRING_VALUE", * // Gender: "MALE" || "FEMALE" || "UNSPECIFIED", * // PhoneNumber: "STRING_VALUE", * // MobilePhoneNumber: "STRING_VALUE", * // HomePhoneNumber: "STRING_VALUE", * // BusinessPhoneNumber: "STRING_VALUE", * // EmailAddress: "STRING_VALUE", * // PersonalEmailAddress: "STRING_VALUE", * // BusinessEmailAddress: "STRING_VALUE", * // Address: { // Address * // Address1: "STRING_VALUE", * // Address2: "STRING_VALUE", * // Address3: "STRING_VALUE", * // Address4: "STRING_VALUE", * // City: "STRING_VALUE", * // County: "STRING_VALUE", * // State: "STRING_VALUE", * // Province: "STRING_VALUE", * // Country: "STRING_VALUE", * // PostalCode: "STRING_VALUE", * // }, * // ShippingAddress: { * // Address1: "STRING_VALUE", * // Address2: "STRING_VALUE", * // Address3: "STRING_VALUE", * // Address4: "STRING_VALUE", * // City: "STRING_VALUE", * // County: "STRING_VALUE", * // State: "STRING_VALUE", * // Province: "STRING_VALUE", * // Country: "STRING_VALUE", * // PostalCode: "STRING_VALUE", * // }, * // MailingAddress: { * // Address1: "STRING_VALUE", * // Address2: "STRING_VALUE", * // Address3: "STRING_VALUE", * // Address4: "STRING_VALUE", * // City: "STRING_VALUE", * // County: "STRING_VALUE", * // State: "STRING_VALUE", * // Province: "STRING_VALUE", * // Country: "STRING_VALUE", * // PostalCode: "STRING_VALUE", * // }, * // BillingAddress: { * // Address1: "STRING_VALUE", * // Address2: "STRING_VALUE", * // Address3: "STRING_VALUE", * // Address4: "STRING_VALUE", * // City: "STRING_VALUE", * // County: "STRING_VALUE", * // State: "STRING_VALUE", * // Province: "STRING_VALUE", * // Country: "STRING_VALUE", * // PostalCode: "STRING_VALUE", * // }, * // Attributes: { // Attributes * // "": "STRING_VALUE", * // }, * // FoundByItems: [ // foundByList * // { // FoundByKeyValue * // KeyName: "STRING_VALUE", * // Values: [ // requestValueList * // "STRING_VALUE", * // ], * // }, * // ], * // PartyTypeString: "STRING_VALUE", * // GenderString: "STRING_VALUE", * // ProfileType: "ACCOUNT_PROFILE" || "PROFILE", * // EngagementPreferences: { // EngagementPreferences * // Phone: [ // PhonePreferenceList * // { // ContactPreference * // KeyName: "STRING_VALUE", * // KeyValue: "STRING_VALUE", * // ProfileId: "STRING_VALUE", * // ContactType: "PhoneNumber" || "MobilePhoneNumber" || "HomePhoneNumber" || "BusinessPhoneNumber" || "EmailAddress" || "PersonalEmailAddress" || "BusinessEmailAddress", * // }, * // ], * // Email: [ // EmailPreferenceList * // { * // KeyName: "STRING_VALUE", * // KeyValue: "STRING_VALUE", * // ProfileId: "STRING_VALUE", * // ContactType: "PhoneNumber" || "MobilePhoneNumber" || "HomePhoneNumber" || "BusinessPhoneNumber" || "EmailAddress" || "PersonalEmailAddress" || "BusinessEmailAddress", * // }, * // ], * // }, * // }, * // ], * // }; * * ``` * * @param BatchGetProfileCommandInput - {@link BatchGetProfileCommandInput} * @returns {@link BatchGetProfileCommandOutput} * @see {@link BatchGetProfileCommandInput} for command's `input` shape. * @see {@link BatchGetProfileCommandOutput} for command's `response` shape. * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The input you provided is invalid.

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

An internal service error occurred.

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

The requested resource does not exist, or access was denied.

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

You exceeded the maximum number of requests.

* * @throws {@link CustomerProfilesServiceException} *

Base exception class for all service exceptions from CustomerProfiles service.

* * * @public */ export declare class BatchGetProfileCommand extends BatchGetProfileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetProfileRequest; output: BatchGetProfileResponse; }; sdk: { input: BatchGetProfileCommandInput; output: BatchGetProfileCommandOutput; }; }; }