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 |
Deletes an existing site. The site cannot be associated with any device or link.
Synopsis
- data DeleteSite = DeleteSite' {
- globalNetworkId :: Text
- siteId :: Text
- newDeleteSite :: Text -> Text -> DeleteSite
- deleteSite_globalNetworkId :: Lens' DeleteSite Text
- deleteSite_siteId :: Lens' DeleteSite Text
- data DeleteSiteResponse = DeleteSiteResponse' {
- site :: Maybe Site
- httpStatus :: Int
- newDeleteSiteResponse :: Int -> DeleteSiteResponse
- deleteSiteResponse_site :: Lens' DeleteSiteResponse (Maybe Site)
- deleteSiteResponse_httpStatus :: Lens' DeleteSiteResponse Int
Creating a Request
data DeleteSite Source #
See: newDeleteSite
smart constructor.
DeleteSite' | |
|
Instances
Create a value of DeleteSite
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:globalNetworkId:DeleteSite'
, deleteSite_globalNetworkId
- The ID of the global network.
$sel:siteId:DeleteSite'
, deleteSite_siteId
- The ID of the site.
Request Lenses
deleteSite_globalNetworkId :: Lens' DeleteSite Text Source #
The ID of the global network.
deleteSite_siteId :: Lens' DeleteSite Text Source #
The ID of the site.
Destructuring the Response
data DeleteSiteResponse Source #
See: newDeleteSiteResponse
smart constructor.
DeleteSiteResponse' | |
|
Instances
newDeleteSiteResponse Source #
Create a value of DeleteSiteResponse
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:DeleteSiteResponse'
, deleteSiteResponse_site
- Information about the site.
$sel:httpStatus:DeleteSiteResponse'
, deleteSiteResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSiteResponse_site :: Lens' DeleteSiteResponse (Maybe Site) Source #
Information about the site.
deleteSiteResponse_httpStatus :: Lens' DeleteSiteResponse Int Source #
The response's http status code.