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 |
Gets information about the specified Outpost site.
Synopsis
- data GetSite = GetSite' {}
- newGetSite :: Text -> GetSite
- getSite_siteId :: Lens' GetSite Text
- data GetSiteResponse = GetSiteResponse' {
- site :: Maybe Site
- httpStatus :: Int
- newGetSiteResponse :: Int -> GetSiteResponse
- getSiteResponse_site :: Lens' GetSiteResponse (Maybe Site)
- getSiteResponse_httpStatus :: Lens' GetSiteResponse Int
Creating a Request
See: newGetSite
smart constructor.
Instances
ToHeaders GetSite Source # | |
Defined in Amazonka.Outposts.GetSite | |
ToPath GetSite Source # | |
Defined in Amazonka.Outposts.GetSite toPath :: GetSite -> ByteString # | |
ToQuery GetSite Source # | |
Defined in Amazonka.Outposts.GetSite toQuery :: GetSite -> QueryString # | |
AWSRequest GetSite Source # | |
Defined in Amazonka.Outposts.GetSite type AWSResponse GetSite # request :: (Service -> Service) -> GetSite -> Request GetSite # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetSite -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetSite))) # | |
Generic GetSite Source # | |
Read GetSite Source # | |
Show GetSite Source # | |
NFData GetSite Source # | |
Defined in Amazonka.Outposts.GetSite | |
Eq GetSite Source # | |
Hashable GetSite Source # | |
Defined in Amazonka.Outposts.GetSite | |
type AWSResponse GetSite Source # | |
Defined in Amazonka.Outposts.GetSite | |
type Rep GetSite Source # | |
Defined in Amazonka.Outposts.GetSite |
Create a value of GetSite
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:
GetSite
, getSite_siteId
- The ID or the Amazon Resource Name (ARN) of the site.
Request Lenses
Destructuring the Response
data GetSiteResponse Source #
See: newGetSiteResponse
smart constructor.
GetSiteResponse' | |
|
Instances
Create a value of GetSiteResponse
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:GetSiteResponse'
, getSiteResponse_site
- Undocumented member.
$sel:httpStatus:GetSiteResponse'
, getSiteResponse_httpStatus
- The response's http status code.
Response Lenses
getSiteResponse_site :: Lens' GetSiteResponse (Maybe Site) Source #
Undocumented member.
getSiteResponse_httpStatus :: Lens' GetSiteResponse Int Source #
The response's http status code.