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

Description

Describes Elastic IP addresses.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

Synopsis

Creating a Request

data DescribeElasticIps Source #

See: newDescribeElasticIps smart constructor.

Constructors

DescribeElasticIps' 

Fields

  • instanceId :: Maybe Text

    The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

  • ips :: Maybe [Text]

    An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

  • stackId :: Maybe Text

    A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack.

Instances

Instances details
Eq DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Read DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Show DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Generic DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Associated Types

type Rep DescribeElasticIps :: Type -> Type #

NFData DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Methods

rnf :: DescribeElasticIps -> () #

Hashable DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

ToJSON DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

AWSRequest DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Associated Types

type AWSResponse DescribeElasticIps #

ToHeaders DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

ToPath DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

ToQuery DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

type Rep DescribeElasticIps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

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

Defined in Amazonka.OpsWorks.DescribeElasticIps

newDescribeElasticIps :: DescribeElasticIps Source #

Create a value of DescribeElasticIps 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:DescribeElasticIps', describeElasticIps_instanceId - The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

$sel:ips:DescribeElasticIps', describeElasticIps_ips - An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

$sel:stackId:DescribeElasticIps', describeElasticIps_stackId - A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack.

Request Lenses

describeElasticIps_instanceId :: Lens' DescribeElasticIps (Maybe Text) Source #

The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

describeElasticIps_ips :: Lens' DescribeElasticIps (Maybe [Text]) Source #

An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

describeElasticIps_stackId :: Lens' DescribeElasticIps (Maybe Text) Source #

A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack.

Destructuring the Response

data DescribeElasticIpsResponse Source #

Contains the response to a DescribeElasticIps request.

See: newDescribeElasticIpsResponse smart constructor.

Constructors

DescribeElasticIpsResponse' 

Fields

Instances

Instances details
Eq DescribeElasticIpsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Read DescribeElasticIpsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Show DescribeElasticIpsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Generic DescribeElasticIpsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

Associated Types

type Rep DescribeElasticIpsResponse :: Type -> Type #

NFData DescribeElasticIpsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

type Rep DescribeElasticIpsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeElasticIps

type Rep DescribeElasticIpsResponse = D1 ('MetaData "DescribeElasticIpsResponse" "Amazonka.OpsWorks.DescribeElasticIps" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DescribeElasticIpsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "elasticIps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ElasticIp])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeElasticIpsResponse Source #

Create a value of DescribeElasticIpsResponse 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:elasticIps:DescribeElasticIpsResponse', describeElasticIpsResponse_elasticIps - An ElasticIps object that describes the specified Elastic IP addresses.

$sel:httpStatus:DescribeElasticIpsResponse', describeElasticIpsResponse_httpStatus - The response's http status code.

Response Lenses

describeElasticIpsResponse_elasticIps :: Lens' DescribeElasticIpsResponse (Maybe [ElasticIp]) Source #

An ElasticIps object that describes the specified Elastic IP addresses.