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.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
Eq RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Read RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Show RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Generic RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Associated Types

type Rep RegisterElasticIp :: Type -> Type #

NFData RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Methods

rnf :: RegisterElasticIp -> () #

Hashable RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

ToJSON RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

AWSRequest RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Associated Types

type AWSResponse 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

type Rep RegisterElasticIp Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

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

Defined in Amazonka.OpsWorks.RegisterElasticIp

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:

$sel:elasticIp:RegisterElasticIp', registerElasticIp_elasticIp - The Elastic IP address.

$sel:stackId: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
Eq RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Read RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Show RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Generic RegisterElasticIpResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.RegisterElasticIp

Associated Types

type Rep RegisterElasticIpResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" '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:

$sel:elasticIp:RegisterElasticIp', registerElasticIpResponse_elasticIp - The Elastic IP address.

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

Response Lenses