import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListPickupLocationsRequest, ListPickupLocationsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListPickupLocationsCommand}. */ export interface ListPickupLocationsCommandInput extends ListPickupLocationsRequest { } /** * @public * * The output of {@link ListPickupLocationsCommand}. */ export interface ListPickupLocationsCommandOutput extends ListPickupLocationsResult, __MetadataBearer { } declare const ListPickupLocationsCommand_base: { new (input: ListPickupLocationsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListPickupLocationsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

A list of locations from which the customer can choose to pickup a device.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowballClient, ListPickupLocationsCommand } from "@aws-sdk/client-snowball"; // ES Modules import * // const { SnowballClient, ListPickupLocationsCommand } = require("@aws-sdk/client-snowball"); // CommonJS import * // import type { SnowballClientConfig } from "@aws-sdk/client-snowball"; * const config = {}; // type is SnowballClientConfig * const client = new SnowballClient(config); * const input = { // ListPickupLocationsRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListPickupLocationsCommand(input); * const response = await client.send(command); * // { // ListPickupLocationsResult * // Addresses: [ // AddressList * // { // Address * // AddressId: "STRING_VALUE", * // Name: "STRING_VALUE", * // Company: "STRING_VALUE", * // Street1: "STRING_VALUE", * // Street2: "STRING_VALUE", * // Street3: "STRING_VALUE", * // City: "STRING_VALUE", * // StateOrProvince: "STRING_VALUE", * // PrefectureOrDistrict: "STRING_VALUE", * // Landmark: "STRING_VALUE", * // Country: "STRING_VALUE", * // PostalCode: "STRING_VALUE", * // PhoneNumber: "STRING_VALUE", * // IsRestricted: true || false, * // Type: "CUST_PICKUP" || "AWS_SHIP", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListPickupLocationsCommandInput - {@link ListPickupLocationsCommandInput} * @returns {@link ListPickupLocationsCommandOutput} * @see {@link ListPickupLocationsCommandInput} for command's `input` shape. * @see {@link ListPickupLocationsCommandOutput} for command's `response` shape. * @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape. * * @throws {@link InvalidResourceException} (client fault) *

The specified resource can't be found. Check the information you provided in your last * request, and try again.

* * @throws {@link SnowballServiceException} *

Base exception class for all service exceptions from Snowball service.

* * * @example To get a list of locations from which the customer can choose to pickup a device. * ```javascript * // Returns a specified number of Address objects. Each Address is a pickup location address for Snow Family devices. * const input = { /* empty *\/ }; * const command = new ListPickupLocationsCommand(input); * const response = await client.send(command); * /* response is * { * Addresses: [ * { * AddressId: "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b", * City: "Seattle", * Company: "My Company", * Country: "US", * Name: "My Name", * PhoneNumber: "425-555-5555", * PostalCode: "98101", * StateOrProvince: "WA", * Street1: "123 Main Street" * } * ] * } * *\/ * ``` * * @public */ export declare class ListPickupLocationsCommand extends ListPickupLocationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListPickupLocationsRequest; output: ListPickupLocationsResult; }; sdk: { input: ListPickupLocationsCommandInput; output: ListPickupLocationsCommandOutput; }; }; }