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

Description

Stops advertising an address range that is provisioned as an address pool.

You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.

It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services because of BGP propagation delays.

Synopsis

Creating a Request

data WithdrawByoipCidr Source #

See: newWithdrawByoipCidr smart constructor.

Constructors

WithdrawByoipCidr' 

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.

  • cidr :: Text

    The address range, in CIDR notation.

Instances

Instances details
ToHeaders WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

ToPath WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

ToQuery WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

AWSRequest WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Associated Types

type AWSResponse WithdrawByoipCidr #

Generic WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Associated Types

type Rep WithdrawByoipCidr :: Type -> Type #

Read WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Show WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

NFData WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Methods

rnf :: WithdrawByoipCidr -> () #

Eq WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Hashable WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

type AWSResponse WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

type Rep WithdrawByoipCidr Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

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

newWithdrawByoipCidr Source #

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

WithdrawByoipCidr, withdrawByoipCidr_cidr - The address range, in CIDR notation.

Request Lenses

withdrawByoipCidr_dryRun :: Lens' WithdrawByoipCidr (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.

withdrawByoipCidr_cidr :: Lens' WithdrawByoipCidr Text Source #

The address range, in CIDR notation.

Destructuring the Response

data WithdrawByoipCidrResponse Source #

See: newWithdrawByoipCidrResponse smart constructor.

Constructors

WithdrawByoipCidrResponse' 

Fields

Instances

Instances details
Generic WithdrawByoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Associated Types

type Rep WithdrawByoipCidrResponse :: Type -> Type #

Read WithdrawByoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Show WithdrawByoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

NFData WithdrawByoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

Eq WithdrawByoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

type Rep WithdrawByoipCidrResponse Source # 
Instance details

Defined in Amazonka.EC2.WithdrawByoipCidr

type Rep WithdrawByoipCidrResponse = D1 ('MetaData "WithdrawByoipCidrResponse" "Amazonka.EC2.WithdrawByoipCidr" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "WithdrawByoipCidrResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "byoipCidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByoipCidr)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newWithdrawByoipCidrResponse Source #

Create a value of WithdrawByoipCidrResponse 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:byoipCidr:WithdrawByoipCidrResponse', withdrawByoipCidrResponse_byoipCidr - Information about the address pool.

$sel:httpStatus:WithdrawByoipCidrResponse', withdrawByoipCidrResponse_httpStatus - The response's http status code.

Response Lenses