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

Description

Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeMovingAddresses Source #

See: newDescribeMovingAddresses smart constructor.

Constructors

DescribeMovingAddresses' 

Fields

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

  • filters :: Maybe [Filter]

    One or more filters.

    • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).
  • maxResults :: Maybe Natural

    The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

    Default: If no value is provided, the default is 1000.

  • nextToken :: Maybe Text

    The token for the next page of results.

  • publicIps :: Maybe [Text]

    One or more Elastic IP addresses.

Instances

Instances details
ToHeaders DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

ToPath DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

ToQuery DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

AWSPager DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

AWSRequest DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Generic DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Associated Types

type Rep DescribeMovingAddresses :: Type -> Type #

Read DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Show DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

NFData DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Methods

rnf :: DescribeMovingAddresses -> () #

Eq DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Hashable DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

type AWSResponse DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

type Rep DescribeMovingAddresses Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

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

newDescribeMovingAddresses :: DescribeMovingAddresses Source #

Create a value of DescribeMovingAddresses 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:dryRun:DescribeMovingAddresses', describeMovingAddresses_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:filters:DescribeMovingAddresses', describeMovingAddresses_filters - One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).

$sel:maxResults:DescribeMovingAddresses', describeMovingAddresses_maxResults - The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

DescribeMovingAddresses, describeMovingAddresses_nextToken - The token for the next page of results.

$sel:publicIps:DescribeMovingAddresses', describeMovingAddresses_publicIps - One or more Elastic IP addresses.

Request Lenses

describeMovingAddresses_dryRun :: Lens' DescribeMovingAddresses (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.

describeMovingAddresses_filters :: Lens' DescribeMovingAddresses (Maybe [Filter]) Source #

One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).

describeMovingAddresses_maxResults :: Lens' DescribeMovingAddresses (Maybe Natural) Source #

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

Destructuring the Response

data DescribeMovingAddressesResponse Source #

See: newDescribeMovingAddressesResponse smart constructor.

Constructors

DescribeMovingAddressesResponse' 

Fields

Instances

Instances details
Generic DescribeMovingAddressesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Associated Types

type Rep DescribeMovingAddressesResponse :: Type -> Type #

Read DescribeMovingAddressesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Show DescribeMovingAddressesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

NFData DescribeMovingAddressesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

Eq DescribeMovingAddressesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

type Rep DescribeMovingAddressesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeMovingAddresses

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

newDescribeMovingAddressesResponse Source #

Create a value of DescribeMovingAddressesResponse 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:movingAddressStatuses:DescribeMovingAddressesResponse', describeMovingAddressesResponse_movingAddressStatuses - The status for each Elastic IP address.

DescribeMovingAddresses, describeMovingAddressesResponse_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:DescribeMovingAddressesResponse', describeMovingAddressesResponse_httpStatus - The response's http status code.

Response Lenses

describeMovingAddressesResponse_nextToken :: Lens' DescribeMovingAddressesResponse (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.