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 |
Gets information about the specified Outpost.
Synopsis
- data GetOutpost = GetOutpost' {}
- newGetOutpost :: Text -> GetOutpost
- getOutpost_outpostId :: Lens' GetOutpost Text
- data GetOutpostResponse = GetOutpostResponse' {
- outpost :: Maybe Outpost
- httpStatus :: Int
- newGetOutpostResponse :: Int -> GetOutpostResponse
- getOutpostResponse_outpost :: Lens' GetOutpostResponse (Maybe Outpost)
- getOutpostResponse_httpStatus :: Lens' GetOutpostResponse Int
Creating a Request
data GetOutpost Source #
See: newGetOutpost
smart constructor.
Instances
Create a value of GetOutpost
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:outpostId:GetOutpost'
, getOutpost_outpostId
- The ID of the Outpost.
Request Lenses
getOutpost_outpostId :: Lens' GetOutpost Text Source #
The ID of the Outpost.
Destructuring the Response
data GetOutpostResponse Source #
See: newGetOutpostResponse
smart constructor.
GetOutpostResponse' | |
|
Instances
newGetOutpostResponse Source #
Create a value of GetOutpostResponse
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:GetOutpostResponse'
, getOutpostResponse_outpost
- Undocumented member.
$sel:httpStatus:GetOutpostResponse'
, getOutpostResponse_httpStatus
- The response's http status code.
Response Lenses
getOutpostResponse_outpost :: Lens' GetOutpostResponse (Maybe Outpost) Source #
Undocumented member.
getOutpostResponse_httpStatus :: Lens' GetOutpostResponse Int Source #
The response's http status code.