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

Description

Describes an Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeAddressTransfers Source #

See: newDescribeAddressTransfers smart constructor.

Constructors

DescribeAddressTransfers' 

Fields

  • allocationIds :: Maybe [Text]

    The allocation IDs of Elastic IP addresses.

  • 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 address transfers to return in one page of results.

  • nextToken :: Maybe Text

    Specify the pagination token from a previous request to retrieve the next page of results.

Instances

Instances details
ToHeaders DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

ToPath DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

ToQuery DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

AWSPager DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

AWSRequest DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Generic DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Associated Types

type Rep DescribeAddressTransfers :: Type -> Type #

Read DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Show DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

NFData DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Eq DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Hashable DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

type AWSResponse DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

type Rep DescribeAddressTransfers Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

type Rep DescribeAddressTransfers = D1 ('MetaData "DescribeAddressTransfers" "Amazonka.EC2.DescribeAddressTransfers" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeAddressTransfers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allocationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: 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)))))

newDescribeAddressTransfers :: DescribeAddressTransfers Source #

Create a value of DescribeAddressTransfers 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:DescribeAddressTransfers', describeAddressTransfers_allocationIds - The allocation IDs of Elastic IP addresses.

$sel:dryRun:DescribeAddressTransfers', describeAddressTransfers_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:DescribeAddressTransfers', describeAddressTransfers_maxResults - The maximum number of address transfers to return in one page of results.

DescribeAddressTransfers, describeAddressTransfers_nextToken - Specify the pagination token from a previous request to retrieve the next page of results.

Request Lenses

describeAddressTransfers_allocationIds :: Lens' DescribeAddressTransfers (Maybe [Text]) Source #

The allocation IDs of Elastic IP addresses.

describeAddressTransfers_dryRun :: Lens' DescribeAddressTransfers (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.

describeAddressTransfers_maxResults :: Lens' DescribeAddressTransfers (Maybe Natural) Source #

The maximum number of address transfers to return in one page of results.

describeAddressTransfers_nextToken :: Lens' DescribeAddressTransfers (Maybe Text) Source #

Specify the pagination token from a previous request to retrieve the next page of results.

Destructuring the Response

data DescribeAddressTransfersResponse Source #

See: newDescribeAddressTransfersResponse smart constructor.

Constructors

DescribeAddressTransfersResponse' 

Fields

Instances

Instances details
Generic DescribeAddressTransfersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Associated Types

type Rep DescribeAddressTransfersResponse :: Type -> Type #

Read DescribeAddressTransfersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Show DescribeAddressTransfersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

NFData DescribeAddressTransfersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

Eq DescribeAddressTransfersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

type Rep DescribeAddressTransfersResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeAddressTransfers

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

newDescribeAddressTransfersResponse Source #

Create a value of DescribeAddressTransfersResponse 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:addressTransfers:DescribeAddressTransfersResponse', describeAddressTransfersResponse_addressTransfers - The Elastic IP address transfer.

DescribeAddressTransfers, describeAddressTransfersResponse_nextToken - Specify the pagination token from a previous request to retrieve the next page of results.

$sel:httpStatus:DescribeAddressTransfersResponse', describeAddressTransfersResponse_httpStatus - The response's http status code.

Response Lenses

describeAddressTransfersResponse_nextToken :: Lens' DescribeAddressTransfersResponse (Maybe Text) Source #

Specify the pagination token from a previous request to retrieve the next page of results.