| 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 |
Amazonka.Outposts.GetOutpost
Description
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.
Constructors
| GetOutpost' | |
Instances
Arguments
| :: Text | |
| -> GetOutpost |
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:
GetOutpost, getOutpost_outpostId - The ID or the Amazon Resource Name (ARN) of the Outpost.
Request Lenses
getOutpost_outpostId :: Lens' GetOutpost Text Source #
The ID or the Amazon Resource Name (ARN) of the Outpost.
Destructuring the Response
data GetOutpostResponse Source #
See: newGetOutpostResponse smart constructor.
Constructors
| GetOutpostResponse' | |
Fields
| |
Instances
newGetOutpostResponse Source #
Arguments
| :: Int | |
| -> GetOutpostResponse |
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.