libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.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.

Synopsis

Creating a Request

data AssociateElasticIp Source #

See: newAssociateElasticIp smart constructor.

Constructors

AssociateElasticIp' 

Fields

Instances

Instances details
Eq AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Read AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Show AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Generic AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Associated Types

type Rep AssociateElasticIp :: Type -> Type #

NFData AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Methods

rnf :: AssociateElasticIp -> () #

Hashable AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

ToJSON AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

AWSRequest AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Associated Types

type AWSResponse AssociateElasticIp #

ToHeaders AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

ToPath AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

ToQuery AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

type Rep AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

type Rep AssociateElasticIp = D1 ('MetaData "AssociateElasticIp" "Amazonka.OpsWorks.AssociateElasticIp" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "AssociateElasticIp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "elasticIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

newAssociateElasticIp Source #

Create a value of AssociateElasticIp 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:instanceId:AssociateElasticIp', associateElasticIp_instanceId - The instance ID.

$sel:elasticIp:AssociateElasticIp', associateElasticIp_elasticIp - The Elastic IP address.

Request Lenses

Destructuring the Response

data AssociateElasticIpResponse Source #

See: newAssociateElasticIpResponse smart constructor.

Instances

Instances details
Eq AssociateElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Read AssociateElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Show AssociateElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Generic AssociateElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

Associated Types

type Rep AssociateElasticIpResponse :: Type -> Type #

NFData AssociateElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

type Rep AssociateElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssociateElasticIp

type Rep AssociateElasticIpResponse = D1 ('MetaData "AssociateElasticIpResponse" "Amazonka.OpsWorks.AssociateElasticIp" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "AssociateElasticIpResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAssociateElasticIpResponse :: AssociateElasticIpResponse Source #

Create a value of AssociateElasticIpResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.