Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates an Outpost.
You can specify AvailabilityZone
or AvailabilityZoneId
.
Synopsis
- data CreateOutpost = CreateOutpost' {}
- newCreateOutpost :: Text -> Text -> CreateOutpost
- createOutpost_availabilityZoneId :: Lens' CreateOutpost (Maybe Text)
- createOutpost_availabilityZone :: Lens' CreateOutpost (Maybe Text)
- createOutpost_description :: Lens' CreateOutpost (Maybe Text)
- createOutpost_tags :: Lens' CreateOutpost (Maybe (HashMap Text Text))
- createOutpost_name :: Lens' CreateOutpost Text
- createOutpost_siteId :: Lens' CreateOutpost Text
- data CreateOutpostResponse = CreateOutpostResponse' {
- outpost :: Maybe Outpost
- httpStatus :: Int
- newCreateOutpostResponse :: Int -> CreateOutpostResponse
- createOutpostResponse_outpost :: Lens' CreateOutpostResponse (Maybe Outpost)
- createOutpostResponse_httpStatus :: Lens' CreateOutpostResponse Int
Creating a Request
data CreateOutpost Source #
See: newCreateOutpost
smart constructor.
Instances
Create a value of CreateOutpost
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:availabilityZoneId:CreateOutpost'
, createOutpost_availabilityZoneId
- Undocumented member.
$sel:availabilityZone:CreateOutpost'
, createOutpost_availabilityZone
- Undocumented member.
$sel:description:CreateOutpost'
, createOutpost_description
- Undocumented member.
$sel:tags:CreateOutpost'
, createOutpost_tags
- The tags to apply to the Outpost.
$sel:name:CreateOutpost'
, createOutpost_name
- Undocumented member.
$sel:siteId:CreateOutpost'
, createOutpost_siteId
- Undocumented member.
Request Lenses
createOutpost_availabilityZoneId :: Lens' CreateOutpost (Maybe Text) Source #
Undocumented member.
createOutpost_availabilityZone :: Lens' CreateOutpost (Maybe Text) Source #
Undocumented member.
createOutpost_description :: Lens' CreateOutpost (Maybe Text) Source #
Undocumented member.
createOutpost_tags :: Lens' CreateOutpost (Maybe (HashMap Text Text)) Source #
The tags to apply to the Outpost.
createOutpost_name :: Lens' CreateOutpost Text Source #
Undocumented member.
createOutpost_siteId :: Lens' CreateOutpost Text Source #
Undocumented member.
Destructuring the Response
data CreateOutpostResponse Source #
See: newCreateOutpostResponse
smart constructor.
CreateOutpostResponse' | |
|
Instances
newCreateOutpostResponse Source #
Create a value of CreateOutpostResponse
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:outpost:CreateOutpostResponse'
, createOutpostResponse_outpost
- Undocumented member.
$sel:httpStatus:CreateOutpostResponse'
, createOutpostResponse_httpStatus
- The response's http status code.
Response Lenses
createOutpostResponse_outpost :: Lens' CreateOutpostResponse (Maybe Outpost) Source #
Undocumented member.
createOutpostResponse_httpStatus :: Lens' CreateOutpostResponse Int Source #
The response's http status code.