| Copyright | (c) 2013-2015 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Network.AWS.OpsWorks.AssociateElasticIP
Description
Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. 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.
See: AWS API Reference for AssociateElasticIP.
Creating a Request
Arguments
| :: Text | |
| -> AssociateElasticIP | 
Creates a value of AssociateElasticIP with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AssociateElasticIP Source
See: associateElasticIP smart constructor.
Instances
Request Lenses
aeiInstanceId :: Lens' AssociateElasticIP (Maybe Text) Source
The instance ID.
aeiElasticIP :: Lens' AssociateElasticIP Text Source
The Elastic IP address.
Destructuring the Response
associateElasticIPResponse :: AssociateElasticIPResponse Source
Creates a value of AssociateElasticIPResponse with the minimum fields required to make a request.
data AssociateElasticIPResponse Source
See: associateElasticIPResponse smart constructor.