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 |
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.
Instances
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:
$sel:name:UpdateElasticIp'
, updateElasticIp_name
- The new name.
$sel:elasticIp: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.
Instances
Eq UpdateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateElasticIp | |
Read UpdateElasticIpResponse Source # | |
Show UpdateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateElasticIp showsPrec :: Int -> UpdateElasticIpResponse -> ShowS # show :: UpdateElasticIpResponse -> String # showList :: [UpdateElasticIpResponse] -> ShowS # | |
Generic UpdateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateElasticIp type Rep UpdateElasticIpResponse :: Type -> Type # | |
NFData UpdateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateElasticIp rnf :: UpdateElasticIpResponse -> () # | |
type Rep UpdateElasticIpResponse Source # | |
newUpdateElasticIpResponse :: UpdateElasticIpResponse Source #
Create a value of UpdateElasticIpResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.