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

Description

Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.

To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeByoipCidrs Source #

See: newDescribeByoipCidrs smart constructor.

Constructors

DescribeByoipCidrs' 

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.

  • nextToken :: Maybe Text

    The token for the next page of results.

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

Instances

Instances details
ToHeaders DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

ToPath DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

ToQuery DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

AWSPager DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

AWSRequest DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Associated Types

type AWSResponse DescribeByoipCidrs #

Generic DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Associated Types

type Rep DescribeByoipCidrs :: Type -> Type #

Read DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Show DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

NFData DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Methods

rnf :: DescribeByoipCidrs -> () #

Eq DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Hashable DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

type AWSResponse DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

type Rep DescribeByoipCidrs Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

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

newDescribeByoipCidrs Source #

Create a value of DescribeByoipCidrs 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:DescribeByoipCidrs', describeByoipCidrs_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.

DescribeByoipCidrs, describeByoipCidrs_nextToken - The token for the next page of results.

$sel:maxResults:DescribeByoipCidrs', describeByoipCidrs_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.

Request Lenses

describeByoipCidrs_dryRun :: Lens' DescribeByoipCidrs (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.

describeByoipCidrs_nextToken :: Lens' DescribeByoipCidrs (Maybe Text) Source #

The token for the next page of results.

describeByoipCidrs_maxResults :: Lens' DescribeByoipCidrs 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 DescribeByoipCidrsResponse Source #

See: newDescribeByoipCidrsResponse smart constructor.

Constructors

DescribeByoipCidrsResponse' 

Fields

Instances

Instances details
Generic DescribeByoipCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Associated Types

type Rep DescribeByoipCidrsResponse :: Type -> Type #

Read DescribeByoipCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Show DescribeByoipCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

NFData DescribeByoipCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

Eq DescribeByoipCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

type Rep DescribeByoipCidrsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeByoipCidrs

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

newDescribeByoipCidrsResponse Source #

Create a value of DescribeByoipCidrsResponse 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:byoipCidrs:DescribeByoipCidrsResponse', describeByoipCidrsResponse_byoipCidrs - Information about your address ranges.

DescribeByoipCidrs, describeByoipCidrsResponse_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:DescribeByoipCidrsResponse', describeByoipCidrsResponse_httpStatus - The response's http status code.

Response Lenses

describeByoipCidrsResponse_nextToken :: Lens' DescribeByoipCidrsResponse (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.