amazonka-opsworks-1.2.0: Amazon OpsWorks SDK.

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

Network.AWS.OpsWorks.DescribeElasticIPs

Contents

Description

Describes Elastic IP addresses.

You must specify at least one of the parameters.

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 on user permissions, see Managing User Permissions.

See: AWS API Reference for DescribeElasticIPs.

Synopsis

Creating a Request

describeElasticIPs :: DescribeElasticIPs Source

Creates a value of DescribeElasticIPs with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

deiInstanceId :: 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.

deiIPs :: Lens' DescribeElasticIPs [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.

deiStackId :: 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

describeElasticIPsResponse Source

Creates a value of DescribeElasticIPsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

deirsElasticIPs :: Lens' DescribeElasticIPsResponse [ElasticIP] Source

An ElasticIps object that describes the specified Elastic IP addresses.