amazonka-globalaccelerator-2.0: Amazon Global Accelerator 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.GlobalAccelerator.RemoveEndpoints

Description

Remove endpoints from an endpoint group.

The RemoveEndpoints API operation is the recommended option for removing endpoints. The alternative is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints to remove endpoints instead:

  • It's more convenient, because you only need to specify the endpoints that you want to remove. With the UpdateEndpointGroup API operation, you must specify all of the endpoints in the endpoint group except the ones that you want to remove from the group.
  • It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the UpdateEndpointGroup API operation, Global Accelerator must resolve all of the endpoints that remain in the group.
Synopsis

Creating a Request

data RemoveEndpoints Source #

See: newRemoveEndpoints smart constructor.

Constructors

RemoveEndpoints' 

Fields

Instances

Instances details
ToJSON RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

ToHeaders RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

ToPath RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

ToQuery RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

AWSRequest RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Associated Types

type AWSResponse RemoveEndpoints #

Generic RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Associated Types

type Rep RemoveEndpoints :: Type -> Type #

Read RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Show RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

NFData RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Methods

rnf :: RemoveEndpoints -> () #

Eq RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Hashable RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

type AWSResponse RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

type Rep RemoveEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

type Rep RemoveEndpoints = D1 ('MetaData "RemoveEndpoints" "Amazonka.GlobalAccelerator.RemoveEndpoints" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "RemoveEndpoints'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty EndpointIdentifier)) :*: S1 ('MetaSel ('Just "endpointGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRemoveEndpoints Source #

Create a value of RemoveEndpoints 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:endpointIdentifiers:RemoveEndpoints', removeEndpoints_endpointIdentifiers - The identifiers of the endpoints that you want to remove.

RemoveEndpoints, removeEndpoints_endpointGroupArn - The Amazon Resource Name (ARN) of the endpoint group.

Request Lenses

removeEndpoints_endpointIdentifiers :: Lens' RemoveEndpoints (NonEmpty EndpointIdentifier) Source #

The identifiers of the endpoints that you want to remove.

removeEndpoints_endpointGroupArn :: Lens' RemoveEndpoints Text Source #

The Amazon Resource Name (ARN) of the endpoint group.

Destructuring the Response

data RemoveEndpointsResponse Source #

See: newRemoveEndpointsResponse smart constructor.

Instances

Instances details
Generic RemoveEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Associated Types

type Rep RemoveEndpointsResponse :: Type -> Type #

Read RemoveEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Show RemoveEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

NFData RemoveEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

Methods

rnf :: RemoveEndpointsResponse -> () #

Eq RemoveEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

type Rep RemoveEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.RemoveEndpoints

type Rep RemoveEndpointsResponse = D1 ('MetaData "RemoveEndpointsResponse" "Amazonka.GlobalAccelerator.RemoveEndpoints" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "RemoveEndpointsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemoveEndpointsResponse :: RemoveEndpointsResponse Source #

Create a value of RemoveEndpointsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.