| 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.UpdateSite
Description
Updates the specified site.
Synopsis
- data UpdateSite = UpdateSite' {}
- newUpdateSite :: Text -> UpdateSite
- updateSite_description :: Lens' UpdateSite (Maybe Text)
- updateSite_name :: Lens' UpdateSite (Maybe Text)
- updateSite_notes :: Lens' UpdateSite (Maybe Text)
- updateSite_siteId :: Lens' UpdateSite Text
- data UpdateSiteResponse = UpdateSiteResponse' {
- site :: Maybe Site
- httpStatus :: Int
- newUpdateSiteResponse :: Int -> UpdateSiteResponse
- updateSiteResponse_site :: Lens' UpdateSiteResponse (Maybe Site)
- updateSiteResponse_httpStatus :: Lens' UpdateSiteResponse Int
Creating a Request
data UpdateSite Source #
See: newUpdateSite smart constructor.
Constructors
| UpdateSite' | |
Instances
Arguments
| :: Text | |
| -> UpdateSite |
Create a value of UpdateSite 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:
UpdateSite, updateSite_description - Undocumented member.
UpdateSite, updateSite_name - Undocumented member.
UpdateSite, updateSite_notes - Notes about a site.
UpdateSite, updateSite_siteId - The ID or the Amazon Resource Name (ARN) of the site.
Request Lenses
updateSite_description :: Lens' UpdateSite (Maybe Text) Source #
Undocumented member.
updateSite_name :: Lens' UpdateSite (Maybe Text) Source #
Undocumented member.
updateSite_notes :: Lens' UpdateSite (Maybe Text) Source #
Notes about a site.
updateSite_siteId :: Lens' UpdateSite Text Source #
The ID or the Amazon Resource Name (ARN) of the site.
Destructuring the Response
data UpdateSiteResponse Source #
See: newUpdateSiteResponse smart constructor.
Constructors
| UpdateSiteResponse' | |
Fields
| |
Instances
newUpdateSiteResponse Source #
Arguments
| :: Int | |
| -> UpdateSiteResponse |
Create a value of UpdateSiteResponse 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:UpdateSiteResponse', updateSiteResponse_site - Undocumented member.
$sel:httpStatus:UpdateSiteResponse', updateSiteResponse_httpStatus - The response's http status code.
Response Lenses
updateSiteResponse_site :: Lens' UpdateSiteResponse (Maybe Site) Source #
Undocumented member.
updateSiteResponse_httpStatus :: Lens' UpdateSiteResponse Int Source #
The response's http status code.