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 |
Amazonka.OpsWorks.DisassociateElasticIp
Description
Disassociates an Elastic IP address from its instance. The address remains registered with the stack. 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 DisassociateElasticIp = DisassociateElasticIp' {}
- newDisassociateElasticIp :: Text -> DisassociateElasticIp
- disassociateElasticIp_elasticIp :: Lens' DisassociateElasticIp Text
- data DisassociateElasticIpResponse = DisassociateElasticIpResponse' {
- newDisassociateElasticIpResponse :: DisassociateElasticIpResponse
Creating a Request
data DisassociateElasticIp Source #
See: newDisassociateElasticIp
smart constructor.
Constructors
DisassociateElasticIp' | |
Instances
newDisassociateElasticIp Source #
Create a value of DisassociateElasticIp
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:elasticIp:DisassociateElasticIp'
, disassociateElasticIp_elasticIp
- The Elastic IP address.
Request Lenses
disassociateElasticIp_elasticIp :: Lens' DisassociateElasticIp Text Source #
The Elastic IP address.
Destructuring the Response
data DisassociateElasticIpResponse Source #
See: newDisassociateElasticIpResponse
smart constructor.
Constructors
DisassociateElasticIpResponse' | |
Instances
Eq DisassociateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.DisassociateElasticIp | |
Read DisassociateElasticIpResponse Source # | |
Show DisassociateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.DisassociateElasticIp Methods showsPrec :: Int -> DisassociateElasticIpResponse -> ShowS # show :: DisassociateElasticIpResponse -> String # showList :: [DisassociateElasticIpResponse] -> ShowS # | |
Generic DisassociateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.DisassociateElasticIp Associated Types type Rep DisassociateElasticIpResponse :: Type -> Type # | |
NFData DisassociateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.DisassociateElasticIp Methods rnf :: DisassociateElasticIpResponse -> () # | |
type Rep DisassociateElasticIpResponse Source # | |
Defined in Amazonka.OpsWorks.DisassociateElasticIp |
newDisassociateElasticIpResponse :: DisassociateElasticIpResponse Source #
Create a value of DisassociateElasticIpResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.