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

Description

Add endpoints to an endpoint group. The AddEndpoints API operation is the recommended option for adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup API) or when you update an endpoint group (with the UpdateEndpointGroup API).

There are two advantages to using AddEndpoints to add endpoints:

  • It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding.
  • It's more convenient, because you don't need to specify all of the current endpoints that are already in the endpoint group in addition to the new endpoints that you want to add.
Synopsis

Creating a Request

data AddEndpoints Source #

See: newAddEndpoints smart constructor.

Constructors

AddEndpoints' 

Fields

Instances

Instances details
ToJSON AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

ToHeaders AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

ToPath AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

ToQuery AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

AWSRequest AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Associated Types

type AWSResponse AddEndpoints #

Generic AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Associated Types

type Rep AddEndpoints :: Type -> Type #

Read AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Show AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

NFData AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Methods

rnf :: AddEndpoints -> () #

Eq AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Hashable AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

type AWSResponse AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

type Rep AddEndpoints Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

type Rep AddEndpoints = D1 ('MetaData "AddEndpoints" "Amazonka.GlobalAccelerator.AddEndpoints" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "AddEndpoints'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EndpointConfiguration]) :*: S1 ('MetaSel ('Just "endpointGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAddEndpoints Source #

Create a value of AddEndpoints 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:endpointConfigurations:AddEndpoints', addEndpoints_endpointConfigurations - The list of endpoint objects.

AddEndpoints, addEndpoints_endpointGroupArn - The Amazon Resource Name (ARN) of the endpoint group.

Request Lenses

addEndpoints_endpointGroupArn :: Lens' AddEndpoints Text Source #

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

Destructuring the Response

data AddEndpointsResponse Source #

See: newAddEndpointsResponse smart constructor.

Constructors

AddEndpointsResponse' 

Fields

Instances

Instances details
Generic AddEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Associated Types

type Rep AddEndpointsResponse :: Type -> Type #

Read AddEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Show AddEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

NFData AddEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

Methods

rnf :: AddEndpointsResponse -> () #

Eq AddEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

type Rep AddEndpointsResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.AddEndpoints

type Rep AddEndpointsResponse = D1 ('MetaData "AddEndpointsResponse" "Amazonka.GlobalAccelerator.AddEndpoints" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "AddEndpointsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EndpointDescription])) :*: (S1 ('MetaSel ('Just "endpointGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAddEndpointsResponse Source #

Create a value of AddEndpointsResponse 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:

AddEndpointsResponse, addEndpointsResponse_endpointDescriptions - The list of endpoint objects.

AddEndpoints, addEndpointsResponse_endpointGroupArn - The Amazon Resource Name (ARN) of the endpoint group.

$sel:httpStatus:AddEndpointsResponse', addEndpointsResponse_httpStatus - The response's http status code.

Response Lenses

addEndpointsResponse_endpointGroupArn :: Lens' AddEndpointsResponse (Maybe Text) Source #

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