import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient"; import type { PutContactInformationRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link PutContactInformationCommand}. */ export interface PutContactInformationCommandInput extends PutContactInformationRequest { } /** * @public * * The output of {@link PutContactInformationCommand}. */ export interface PutContactInformationCommandOutput extends __MetadataBearer { } declare const PutContactInformationCommand_base: { new (input: PutContactInformationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: PutContactInformationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates the primary contact information of an Amazon Web Services account.

For complete details about how to use the primary contact operations, see Update the primary contact for your Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AccountClient, PutContactInformationCommand } from "@aws-sdk/client-account"; // ES Modules import * // const { AccountClient, PutContactInformationCommand } = 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 = { // PutContactInformationRequest * ContactInformation: { // ContactInformation * FullName: "STRING_VALUE", // required * AddressLine1: "STRING_VALUE", // required * AddressLine2: "STRING_VALUE", * AddressLine3: "STRING_VALUE", * City: "STRING_VALUE", // required * StateOrRegion: "STRING_VALUE", * DistrictOrCounty: "STRING_VALUE", * PostalCode: "STRING_VALUE", // required * CountryCode: "STRING_VALUE", // required * PhoneNumber: "STRING_VALUE", // required * CompanyName: "STRING_VALUE", * WebsiteUrl: "STRING_VALUE", * }, * AccountId: "STRING_VALUE", * }; * const command = new PutContactInformationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param PutContactInformationCommandInput - {@link PutContactInformationCommandInput} * @returns {@link PutContactInformationCommandOutput} * @see {@link PutContactInformationCommandInput} for command's `input` shape. * @see {@link PutContactInformationCommandOutput} 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 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 PutContactInformationCommand extends PutContactInformationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutContactInformationRequest; output: {}; }; sdk: { input: PutContactInformationCommandInput; output: PutContactInformationCommandOutput; }; }; }