import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateSiteInput, CreateSiteOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateSiteCommand}. */ export interface CreateSiteCommandInput extends CreateSiteInput { } /** * @public * * The output of {@link CreateSiteCommand}. */ export interface CreateSiteCommandOutput extends CreateSiteOutput, __MetadataBearer { } declare const CreateSiteCommand_base: { new (input: CreateSiteCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateSiteCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a site for an Outpost.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OutpostsClient, CreateSiteCommand } from "@aws-sdk/client-outposts"; // ES Modules import * // const { OutpostsClient, CreateSiteCommand } = 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 = { // CreateSiteInput * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", * Notes: "STRING_VALUE", * Tags: { // TagMap * "": "STRING_VALUE", * }, * OperatingAddress: { // 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", * }, * ShippingAddress: { * 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", * }, * RackPhysicalProperties: { // RackPhysicalProperties * PowerDrawKva: "POWER_5_KVA" || "POWER_10_KVA" || "POWER_15_KVA" || "POWER_30_KVA", * PowerPhase: "SINGLE_PHASE" || "THREE_PHASE", * PowerConnector: "L6_30P" || "IEC309" || "AH530P7W" || "AH532P6W" || "CS8365C", * PowerFeedDrop: "ABOVE_RACK" || "BELOW_RACK", * UplinkGbps: "UPLINK_1G" || "UPLINK_10G" || "UPLINK_40G" || "UPLINK_100G", * UplinkCount: "UPLINK_COUNT_1" || "UPLINK_COUNT_2" || "UPLINK_COUNT_3" || "UPLINK_COUNT_4" || "UPLINK_COUNT_5" || "UPLINK_COUNT_6" || "UPLINK_COUNT_7" || "UPLINK_COUNT_8" || "UPLINK_COUNT_12" || "UPLINK_COUNT_16", * FiberOpticCableType: "SINGLE_MODE" || "MULTI_MODE", * OpticalStandard: "OPTIC_10GBASE_SR" || "OPTIC_10GBASE_IR" || "OPTIC_10GBASE_LR" || "OPTIC_40GBASE_SR" || "OPTIC_40GBASE_ESR" || "OPTIC_40GBASE_IR4_LR4L" || "OPTIC_40GBASE_LR4" || "OPTIC_100GBASE_SR4" || "OPTIC_100GBASE_CWDM4" || "OPTIC_100GBASE_LR4" || "OPTIC_100G_PSM4_MSA" || "OPTIC_1000BASE_LX" || "OPTIC_1000BASE_SX", * MaximumSupportedWeightLbs: "NO_LIMIT" || "MAX_1400_LBS" || "MAX_1600_LBS" || "MAX_1800_LBS" || "MAX_2000_LBS", * }, * }; * const command = new CreateSiteCommand(input); * const response = await client.send(command); * // { // CreateSiteOutput * // Site: { // Site * // SiteId: "STRING_VALUE", * // AccountId: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // SiteArn: "STRING_VALUE", * // Notes: "STRING_VALUE", * // OperatingAddressCountryCode: "STRING_VALUE", * // OperatingAddressStateOrRegion: "STRING_VALUE", * // OperatingAddressCity: "STRING_VALUE", * // RackPhysicalProperties: { // RackPhysicalProperties * // PowerDrawKva: "POWER_5_KVA" || "POWER_10_KVA" || "POWER_15_KVA" || "POWER_30_KVA", * // PowerPhase: "SINGLE_PHASE" || "THREE_PHASE", * // PowerConnector: "L6_30P" || "IEC309" || "AH530P7W" || "AH532P6W" || "CS8365C", * // PowerFeedDrop: "ABOVE_RACK" || "BELOW_RACK", * // UplinkGbps: "UPLINK_1G" || "UPLINK_10G" || "UPLINK_40G" || "UPLINK_100G", * // UplinkCount: "UPLINK_COUNT_1" || "UPLINK_COUNT_2" || "UPLINK_COUNT_3" || "UPLINK_COUNT_4" || "UPLINK_COUNT_5" || "UPLINK_COUNT_6" || "UPLINK_COUNT_7" || "UPLINK_COUNT_8" || "UPLINK_COUNT_12" || "UPLINK_COUNT_16", * // FiberOpticCableType: "SINGLE_MODE" || "MULTI_MODE", * // OpticalStandard: "OPTIC_10GBASE_SR" || "OPTIC_10GBASE_IR" || "OPTIC_10GBASE_LR" || "OPTIC_40GBASE_SR" || "OPTIC_40GBASE_ESR" || "OPTIC_40GBASE_IR4_LR4L" || "OPTIC_40GBASE_LR4" || "OPTIC_100GBASE_SR4" || "OPTIC_100GBASE_CWDM4" || "OPTIC_100GBASE_LR4" || "OPTIC_100G_PSM4_MSA" || "OPTIC_1000BASE_LX" || "OPTIC_1000BASE_SX", * // MaximumSupportedWeightLbs: "NO_LIMIT" || "MAX_1400_LBS" || "MAX_1600_LBS" || "MAX_1800_LBS" || "MAX_2000_LBS", * // }, * // }, * // }; * * ``` * * @param CreateSiteCommandInput - {@link CreateSiteCommandInput} * @returns {@link CreateSiteCommandOutput} * @see {@link CreateSiteCommandInput} for command's `input` shape. * @see {@link CreateSiteCommandOutput} 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 ServiceQuotaExceededException} (client fault) *

You have exceeded a service quota.

* * @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 CreateSiteCommand extends CreateSiteCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateSiteInput; output: CreateSiteOutput; }; sdk: { input: CreateSiteCommandInput; output: CreateSiteCommandOutput; }; }; }