amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpsWorks.RegisterElasticIp

Description

Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. 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 RegisterElasticIp Source #

See: newRegisterElasticIp smart constructor.

Constructors

RegisterElasticIp' 

Fields

Instances

Instances details
ToJSON RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

ToHeaders RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

ToPath RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

ToQuery RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

AWSRequest RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Associated Types

type AWSResponse RegisterElasticIp #

Generic RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Associated Types

type Rep RegisterElasticIp :: Type -> Type #

Read RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Show RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

NFData RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Methods

rnf :: RegisterElasticIp -> () #

Eq RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Hashable RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

type AWSResponse RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

type Rep RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

type Rep RegisterElasticIp = D1 ('MetaData "RegisterElasticIp" "Amazonka.OpsWorks.RegisterElasticIp" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "RegisterElasticIp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "elasticIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRegisterElasticIp Source #

Create a value of RegisterElasticIp 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:

RegisterElasticIp, registerElasticIp_elasticIp - The Elastic IP address.

RegisterElasticIp, registerElasticIp_stackId - The stack ID.

Request Lenses

Destructuring the Response

data RegisterElasticIpResponse Source #

Contains the response to a RegisterElasticIp request.

See: newRegisterElasticIpResponse smart constructor.

Constructors

RegisterElasticIpResponse' 

Fields

Instances

Instances details
Generic RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Associated Types

type Rep RegisterElasticIpResponse :: Type -> Type #

Read RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Show RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

NFData RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Eq RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

type Rep RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

type Rep RegisterElasticIpResponse = D1 ('MetaData "RegisterElasticIpResponse" "Amazonka.OpsWorks.RegisterElasticIp" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "RegisterElasticIpResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "elasticIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRegisterElasticIpResponse Source #

Create a value of RegisterElasticIpResponse 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:

RegisterElasticIp, registerElasticIpResponse_elasticIp - The Elastic IP address.

$sel:httpStatus:RegisterElasticIpResponse', registerElasticIpResponse_httpStatus - The response's http status code.

Response Lenses