| 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.OpsWorks.UpdateElasticIp
Description
Updates a registered Elastic IP address's name. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Synopsis
- data UpdateElasticIp = UpdateElasticIp' {}
- newUpdateElasticIp :: Text -> UpdateElasticIp
- updateElasticIp_name :: Lens' UpdateElasticIp (Maybe Text)
- updateElasticIp_elasticIp :: Lens' UpdateElasticIp Text
- data UpdateElasticIpResponse = UpdateElasticIpResponse' {
- newUpdateElasticIpResponse :: UpdateElasticIpResponse
Creating a Request
data UpdateElasticIp Source #
See: newUpdateElasticIp smart constructor.
Constructors
| UpdateElasticIp' | |
Instances
Arguments
| :: Text | |
| -> UpdateElasticIp |
Create a value of UpdateElasticIp 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:
UpdateElasticIp, updateElasticIp_name - The new name.
UpdateElasticIp, updateElasticIp_elasticIp - The IP address for which you want to update the name.
Request Lenses
updateElasticIp_name :: Lens' UpdateElasticIp (Maybe Text) Source #
The new name.
updateElasticIp_elasticIp :: Lens' UpdateElasticIp Text Source #
The IP address for which you want to update the name.
Destructuring the Response
data UpdateElasticIpResponse Source #
See: newUpdateElasticIpResponse smart constructor.
Constructors
| UpdateElasticIpResponse' | |
Instances
newUpdateElasticIpResponse :: UpdateElasticIpResponse Source #
Create a value of UpdateElasticIpResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.