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 an Outpost.
You can specify either an Availability one or an AZ ID.
Synopsis
- data CreateOutpost = CreateOutpost' {}
- newCreateOutpost :: Text -> Text -> CreateOutpost
- createOutpost_availabilityZone :: Lens' CreateOutpost (Maybe Text)
- createOutpost_availabilityZoneId :: Lens' CreateOutpost (Maybe Text)
- createOutpost_description :: Lens' CreateOutpost (Maybe Text)
- createOutpost_supportedHardwareType :: Lens' CreateOutpost (Maybe SupportedHardwareType)
- 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.
CreateOutpost' | |
|
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:
CreateOutpost
, createOutpost_availabilityZone
- Undocumented member.
CreateOutpost
, createOutpost_availabilityZoneId
- Undocumented member.
CreateOutpost
, createOutpost_description
- Undocumented member.
CreateOutpost
, createOutpost_supportedHardwareType
- The type of hardware for this Outpost.
CreateOutpost
, createOutpost_tags
- The tags to apply to the Outpost.
CreateOutpost
, createOutpost_name
- Undocumented member.
CreateOutpost
, createOutpost_siteId
- The ID or the Amazon Resource Name (ARN) of the site.
Request Lenses
createOutpost_availabilityZone :: Lens' CreateOutpost (Maybe Text) Source #
Undocumented member.
createOutpost_availabilityZoneId :: Lens' CreateOutpost (Maybe Text) Source #
Undocumented member.
createOutpost_description :: Lens' CreateOutpost (Maybe Text) Source #
Undocumented member.
createOutpost_supportedHardwareType :: Lens' CreateOutpost (Maybe SupportedHardwareType) Source #
The type of hardware for this Outpost.
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 #
The ID or the Amazon Resource Name (ARN) of the site.
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.