Outposts / Client / create_site

create_site#

Outposts.Client.create_site(**kwargs)#

Creates a site for an Outpost.

See also: AWS API Documentation

Request Syntax

response = client.create_site(
    Name='string',
    Description='string',
    Notes='string',
    Tags={
        'string': 'string'
    },
    OperatingAddress={
        'ContactName': 'string',
        'ContactPhoneNumber': 'string',
        'AddressLine1': 'string',
        'AddressLine2': 'string',
        'AddressLine3': 'string',
        'City': 'string',
        'StateOrRegion': 'string',
        'DistrictOrCounty': 'string',
        'PostalCode': 'string',
        'CountryCode': 'string',
        'Municipality': 'string'
    },
    ShippingAddress={
        'ContactName': 'string',
        'ContactPhoneNumber': 'string',
        'AddressLine1': 'string',
        'AddressLine2': 'string',
        'AddressLine3': 'string',
        'City': 'string',
        'StateOrRegion': 'string',
        'DistrictOrCounty': 'string',
        'PostalCode': 'string',
        'CountryCode': 'string',
        'Municipality': 'string'
    },
    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',
        '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'
    }
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the site.

  • Description (string) – The description of the site.

  • Notes (string) – Additional information that you provide about site access requirements, electrician scheduling, personal protective equipment, or regulation of equipment materials that could affect your installation process.

  • Tags (dict) –

    The tags to apply to a site.

    • (string) –

      • (string) –

  • OperatingAddress (dict) –

    The location to install and power on the hardware. This address might be different from the shipping address.

    • ContactName (string) –

      The name of the contact.

    • ContactPhoneNumber (string) –

      The phone number of the contact.

    • AddressLine1 (string) – [REQUIRED]

      The first line of the address.

    • AddressLine2 (string) –

      The second line of the address.

    • AddressLine3 (string) –

      The third line of the address.

    • City (string) – [REQUIRED]

      The city for the address.

    • StateOrRegion (string) – [REQUIRED]

      The state for the address.

    • DistrictOrCounty (string) –

      The district or county for the address.

    • PostalCode (string) – [REQUIRED]

      The postal code for the address.

    • CountryCode (string) – [REQUIRED]

      The ISO-3166 two-letter country code for the address.

    • Municipality (string) –

      The municipality for the address.

  • ShippingAddress (dict) –

    The location to ship the hardware. This address might be different from the operating address.

    • ContactName (string) –

      The name of the contact.

    • ContactPhoneNumber (string) –

      The phone number of the contact.

    • AddressLine1 (string) – [REQUIRED]

      The first line of the address.

    • AddressLine2 (string) –

      The second line of the address.

    • AddressLine3 (string) –

      The third line of the address.

    • City (string) – [REQUIRED]

      The city for the address.

    • StateOrRegion (string) – [REQUIRED]

      The state for the address.

    • DistrictOrCounty (string) –

      The district or county for the address.

    • PostalCode (string) – [REQUIRED]

      The postal code for the address.

    • CountryCode (string) – [REQUIRED]

      The ISO-3166 two-letter country code for the address.

    • Municipality (string) –

      The municipality for the address.

  • RackPhysicalProperties (dict) –

    Information about the physical and logistical details for the rack at this site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.

    • PowerDrawKva (string) –

      The power draw available at the hardware placement position for the rack.

    • PowerPhase (string) –

      The power option that you can provide for hardware.

    • PowerConnector (string) –

      The power connector for the hardware.

    • PowerFeedDrop (string) –

      The position of the power feed.

    • UplinkGbps (string) –

      The uplink speed the rack supports for the connection to the Region.

    • UplinkCount (string) –

      The number of uplinks each Outpost network device.

    • FiberOpticCableType (string) –

      The type of fiber used to attach the Outpost to the network.

    • OpticalStandard (string) –

      The type of optical standard used to attach the Outpost to the network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

    • MaximumSupportedWeightLbs (string) –

      The maximum rack weight that this site can support. NO_LIMIT is over 2000 lbs (907 kg).

Return type:

dict

Returns:

Response Syntax

{
    'Site': {
        'SiteId': 'string',
        'AccountId': 'string',
        'Name': 'string',
        'Description': 'string',
        'Tags': {
            'string': 'string'
        },
        'SiteArn': 'string',
        'Notes': 'string',
        'OperatingAddressCountryCode': 'string',
        'OperatingAddressStateOrRegion': 'string',
        'OperatingAddressCity': 'string',
        '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',
            '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'
        }
    }
}

Response Structure

  • (dict) –

    • Site (dict) –

      Information about a site.

      • SiteId (string) –

        The ID of the site.

      • AccountId (string) –

        The ID of the Amazon Web Services account.

      • Name (string) –

        The name of the site.

      • Description (string) –

        The description of the site.

      • Tags (dict) –

        The site tags.

        • (string) –

          • (string) –

      • SiteArn (string) –

        The Amazon Resource Name (ARN) of the site.

      • Notes (string) –

        Notes about a site.

      • OperatingAddressCountryCode (string) –

        The ISO-3166 two-letter country code where the hardware is installed and powered on.

      • OperatingAddressStateOrRegion (string) –

        State or region where the hardware is installed and powered on.

      • OperatingAddressCity (string) –

        City where the hardware is installed and powered on.

      • RackPhysicalProperties (dict) –

        Information about the physical and logistical details for a rack at the site.

        • PowerDrawKva (string) –

          The power draw available at the hardware placement position for the rack.

        • PowerPhase (string) –

          The power option that you can provide for hardware.

        • PowerConnector (string) –

          The power connector for the hardware.

        • PowerFeedDrop (string) –

          The position of the power feed.

        • UplinkGbps (string) –

          The uplink speed the rack supports for the connection to the Region.

        • UplinkCount (string) –

          The number of uplinks each Outpost network device.

        • FiberOpticCableType (string) –

          The type of fiber used to attach the Outpost to the network.

        • OpticalStandard (string) –

          The type of optical standard used to attach the Outpost to the network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

        • MaximumSupportedWeightLbs (string) –

          The maximum rack weight that this site can support. NO_LIMIT is over 2000 lbs (907 kg).

Exceptions

  • Outposts.Client.exceptions.ValidationException

  • Outposts.Client.exceptions.ConflictException

  • Outposts.Client.exceptions.AccessDeniedException

  • Outposts.Client.exceptions.InternalServerException

  • Outposts.Client.exceptions.ServiceQuotaExceededException