Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a site for an Outpost.
Synopsis
- data CreateSite = CreateSite' {}
- newCreateSite :: Text -> CreateSite
- createSite_description :: Lens' CreateSite (Maybe Text)
- createSite_notes :: Lens' CreateSite (Maybe Text)
- createSite_operatingAddress :: Lens' CreateSite (Maybe Address)
- createSite_rackPhysicalProperties :: Lens' CreateSite (Maybe RackPhysicalProperties)
- createSite_shippingAddress :: Lens' CreateSite (Maybe Address)
- createSite_tags :: Lens' CreateSite (Maybe (HashMap Text Text))
- createSite_name :: Lens' CreateSite Text
- data CreateSiteResponse = CreateSiteResponse' {
- site :: Maybe Site
- httpStatus :: Int
- newCreateSiteResponse :: Int -> CreateSiteResponse
- createSiteResponse_site :: Lens' CreateSiteResponse (Maybe Site)
- createSiteResponse_httpStatus :: Lens' CreateSiteResponse Int
Creating a Request
data CreateSite Source #
See: newCreateSite
smart constructor.
CreateSite' | |
|
Instances
:: Text | |
-> CreateSite |
Create a value of CreateSite
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateSite
, createSite_description
- Undocumented member.
CreateSite
, createSite_notes
- 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.
$sel:operatingAddress:CreateSite'
, createSite_operatingAddress
- The location to install and power on the hardware. This address might be
different from the shipping address.
CreateSite
, createSite_rackPhysicalProperties
- 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.
$sel:shippingAddress:CreateSite'
, createSite_shippingAddress
- The location to ship the hardware. This address might be different from
the operating address.
CreateSite
, createSite_tags
- The tags to apply to a site.
CreateSite
, createSite_name
- Undocumented member.
Request Lenses
createSite_description :: Lens' CreateSite (Maybe Text) Source #
Undocumented member.
createSite_notes :: Lens' CreateSite (Maybe Text) Source #
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.
createSite_operatingAddress :: Lens' CreateSite (Maybe Address) Source #
The location to install and power on the hardware. This address might be different from the shipping address.
createSite_rackPhysicalProperties :: Lens' CreateSite (Maybe RackPhysicalProperties) Source #
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.
createSite_shippingAddress :: Lens' CreateSite (Maybe Address) Source #
The location to ship the hardware. This address might be different from the operating address.
createSite_tags :: Lens' CreateSite (Maybe (HashMap Text Text)) Source #
The tags to apply to a site.
createSite_name :: Lens' CreateSite Text Source #
Undocumented member.
Destructuring the Response
data CreateSiteResponse Source #
See: newCreateSiteResponse
smart constructor.
CreateSiteResponse' | |
|
Instances
newCreateSiteResponse Source #
Create a value of CreateSiteResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:site:CreateSiteResponse'
, createSiteResponse_site
- Undocumented member.
$sel:httpStatus:CreateSiteResponse'
, createSiteResponse_httpStatus
- The response's http status code.
Response Lenses
createSiteResponse_site :: Lens' CreateSiteResponse (Maybe Site) Source #
Undocumented member.
createSiteResponse_httpStatus :: Lens' CreateSiteResponse Int Source #
The response's http status code.