amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DescribeAddressesAttribute

Description

Describes the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeAddressesAttribute Source #

See: newDescribeAddressesAttribute smart constructor.

Constructors

DescribeAddressesAttribute' 

Fields

  • allocationIds :: Maybe [Text]
    EC2-VPC
    The allocation IDs.
  • attribute :: Maybe AddressAttributeName

    The attribute of the IP address.

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

Instances

Instances details
ToHeaders DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

ToPath DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

ToQuery DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

AWSPager DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

AWSRequest DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Generic DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Associated Types

type Rep DescribeAddressesAttribute :: Type -> Type #

Read DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Show DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

NFData DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Eq DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Hashable DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

type AWSResponse DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

type Rep DescribeAddressesAttribute Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

type Rep DescribeAddressesAttribute = D1 ('MetaData "DescribeAddressesAttribute" "Amazonka.EC2.DescribeAddressesAttribute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeAddressesAttribute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allocationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "attribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddressAttributeName))) :*: (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDescribeAddressesAttribute :: DescribeAddressesAttribute Source #

Create a value of DescribeAddressesAttribute 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:allocationIds:DescribeAddressesAttribute', describeAddressesAttribute_allocationIds - [EC2-VPC] The allocation IDs.

$sel:attribute:DescribeAddressesAttribute', describeAddressesAttribute_attribute - The attribute of the IP address.

$sel:dryRun:DescribeAddressesAttribute', describeAddressesAttribute_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

$sel:maxResults:DescribeAddressesAttribute', describeAddressesAttribute_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

DescribeAddressesAttribute, describeAddressesAttribute_nextToken - The token for the next page of results.

Request Lenses

describeAddressesAttribute_dryRun :: Lens' DescribeAddressesAttribute (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

describeAddressesAttribute_maxResults :: Lens' DescribeAddressesAttribute (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

data DescribeAddressesAttributeResponse Source #

Constructors

DescribeAddressesAttributeResponse' 

Fields

Instances

Instances details
Generic DescribeAddressesAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Associated Types

type Rep DescribeAddressesAttributeResponse :: Type -> Type #

Read DescribeAddressesAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Show DescribeAddressesAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

NFData DescribeAddressesAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

Eq DescribeAddressesAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

type Rep DescribeAddressesAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressesAttribute

type Rep DescribeAddressesAttributeResponse = D1 ('MetaData "DescribeAddressesAttributeResponse" "Amazonka.EC2.DescribeAddressesAttribute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeAddressesAttributeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AddressAttribute])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeAddressesAttributeResponse Source #

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

DescribeAddressesAttributeResponse, describeAddressesAttributeResponse_addresses - Information about the IP addresses.

DescribeAddressesAttribute, describeAddressesAttributeResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeAddressesAttributeResponse', describeAddressesAttributeResponse_httpStatus - The response's http status code.

Response Lenses

describeAddressesAttributeResponse_nextToken :: Lens' DescribeAddressesAttributeResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.