Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data RemoveEndpoints = RemoveEndpoints' {}
- newRemoveEndpoints :: NonEmpty EndpointIdentifier -> Text -> RemoveEndpoints
- removeEndpoints_endpointIdentifiers :: Lens' RemoveEndpoints (NonEmpty EndpointIdentifier)
- removeEndpoints_endpointGroupArn :: Lens' RemoveEndpoints Text
- data RemoveEndpointsResponse = RemoveEndpointsResponse' {
- newRemoveEndpointsResponse :: RemoveEndpointsResponse
Creating a Request
data RemoveEndpoints Source #
See: newRemoveEndpoints
smart constructor.
Constructors
RemoveEndpoints' | |
Fields
|
Instances
Arguments
:: NonEmpty EndpointIdentifier | |
-> Text | |
-> RemoveEndpoints |
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.
Constructors
RemoveEndpointsResponse' | |
Instances
newRemoveEndpointsResponse :: RemoveEndpointsResponse Source #
Create a value of RemoveEndpointsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.