| 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.NetworkManager.UpdateLink
Description
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
Synopsis
- data UpdateLink = UpdateLink' {}
- newUpdateLink :: Text -> Text -> UpdateLink
- updateLink_bandwidth :: Lens' UpdateLink (Maybe Bandwidth)
- updateLink_description :: Lens' UpdateLink (Maybe Text)
- updateLink_provider :: Lens' UpdateLink (Maybe Text)
- updateLink_type :: Lens' UpdateLink (Maybe Text)
- updateLink_globalNetworkId :: Lens' UpdateLink Text
- updateLink_linkId :: Lens' UpdateLink Text
- data UpdateLinkResponse = UpdateLinkResponse' {
- link :: Maybe Link
- httpStatus :: Int
- newUpdateLinkResponse :: Int -> UpdateLinkResponse
- updateLinkResponse_link :: Lens' UpdateLinkResponse (Maybe Link)
- updateLinkResponse_httpStatus :: Lens' UpdateLinkResponse Int
Creating a Request
data UpdateLink Source #
See: newUpdateLink smart constructor.
Constructors
| UpdateLink' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateLink |
Create a value of UpdateLink 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:
UpdateLink, updateLink_bandwidth - The upload and download speed in Mbps.
UpdateLink, updateLink_description - A description of the link.
Constraints: Maximum length of 256 characters.
UpdateLink, updateLink_provider - The provider of the link.
Constraints: Maximum length of 128 characters.
UpdateLink, updateLink_type - The type of the link.
Constraints: Maximum length of 128 characters.
UpdateLink, updateLink_globalNetworkId - The ID of the global network.
UpdateLink, updateLink_linkId - The ID of the link.
Request Lenses
updateLink_bandwidth :: Lens' UpdateLink (Maybe Bandwidth) Source #
The upload and download speed in Mbps.
updateLink_description :: Lens' UpdateLink (Maybe Text) Source #
A description of the link.
Constraints: Maximum length of 256 characters.
updateLink_provider :: Lens' UpdateLink (Maybe Text) Source #
The provider of the link.
Constraints: Maximum length of 128 characters.
updateLink_type :: Lens' UpdateLink (Maybe Text) Source #
The type of the link.
Constraints: Maximum length of 128 characters.
updateLink_globalNetworkId :: Lens' UpdateLink Text Source #
The ID of the global network.
updateLink_linkId :: Lens' UpdateLink Text Source #
The ID of the link.
Destructuring the Response
data UpdateLinkResponse Source #
See: newUpdateLinkResponse smart constructor.
Constructors
| UpdateLinkResponse' | |
Fields
| |
Instances
newUpdateLinkResponse Source #
Arguments
| :: Int | |
| -> UpdateLinkResponse |
Create a value of UpdateLinkResponse 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:link:UpdateLinkResponse', updateLinkResponse_link - Information about the link.
$sel:httpStatus:UpdateLinkResponse', updateLinkResponse_httpStatus - The response's http status code.
Response Lenses
updateLinkResponse_link :: Lens' UpdateLinkResponse (Maybe Link) Source #
Information about the link.
updateLinkResponse_httpStatus :: Lens' UpdateLinkResponse Int Source #
The response's http status code.