import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateSiteAddressInput, UpdateSiteAddressOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateSiteAddressCommand}. */ export interface UpdateSiteAddressCommandInput extends UpdateSiteAddressInput { } /** * @public * * The output of {@link UpdateSiteAddressCommand}. */ export interface UpdateSiteAddressCommandOutput extends UpdateSiteAddressOutput, __MetadataBearer { } declare const UpdateSiteAddressCommand_base: { new (input: UpdateSiteAddressCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateSiteAddressCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the address of the specified site.

*

You can't update a site address if there is an order in progress. You must wait for the * order to complete or cancel the order.

*

You can update the operating address before you place an order at the site, or after all * Outposts that belong to the site have been deactivated.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OutpostsClient, UpdateSiteAddressCommand } from "@aws-sdk/client-outposts"; // ES Modules import * // const { OutpostsClient, UpdateSiteAddressCommand } = require("@aws-sdk/client-outposts"); // CommonJS import * // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts"; * const config = {}; // type is OutpostsClientConfig * const client = new OutpostsClient(config); * const input = { // UpdateSiteAddressInput * SiteId: "STRING_VALUE", // required * AddressType: "SHIPPING_ADDRESS" || "OPERATING_ADDRESS", // required * Address: { // Address * ContactName: "STRING_VALUE", // required * ContactPhoneNumber: "STRING_VALUE", // required * AddressLine1: "STRING_VALUE", // required * AddressLine2: "STRING_VALUE", * AddressLine3: "STRING_VALUE", * City: "STRING_VALUE", // required * StateOrRegion: "STRING_VALUE", // required * DistrictOrCounty: "STRING_VALUE", * PostalCode: "STRING_VALUE", // required * CountryCode: "STRING_VALUE", // required * Municipality: "STRING_VALUE", * }, * }; * const command = new UpdateSiteAddressCommand(input); * const response = await client.send(command); * // { // UpdateSiteAddressOutput * // AddressType: "SHIPPING_ADDRESS" || "OPERATING_ADDRESS", * // Address: { // Address * // ContactName: "STRING_VALUE", // required * // ContactPhoneNumber: "STRING_VALUE", // required * // AddressLine1: "STRING_VALUE", // required * // AddressLine2: "STRING_VALUE", * // AddressLine3: "STRING_VALUE", * // City: "STRING_VALUE", // required * // StateOrRegion: "STRING_VALUE", // required * // DistrictOrCounty: "STRING_VALUE", * // PostalCode: "STRING_VALUE", // required * // CountryCode: "STRING_VALUE", // required * // Municipality: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdateSiteAddressCommandInput - {@link UpdateSiteAddressCommandInput} * @returns {@link UpdateSiteAddressCommandOutput} * @see {@link UpdateSiteAddressCommandInput} for command's `input` shape. * @see {@link UpdateSiteAddressCommandOutput} for command's `response` shape. * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have permission to perform this operation.

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

Updating or deleting this resource can cause an inconsistent state.

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

An internal error has occurred.

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

The specified request is not valid.

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

A parameter is not valid.

* * @throws {@link OutpostsServiceException} *

Base exception class for all service exceptions from Outposts service.

* * * @public */ export declare class UpdateSiteAddressCommand extends UpdateSiteAddressCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateSiteAddressInput; output: UpdateSiteAddressOutput; }; sdk: { input: UpdateSiteAddressCommandInput; output: UpdateSiteAddressCommandOutput; }; }; }