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 |
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
- data AddEndpoints = AddEndpoints' {}
- newAddEndpoints :: Text -> AddEndpoints
- addEndpoints_endpointConfigurations :: Lens' AddEndpoints [EndpointConfiguration]
- addEndpoints_endpointGroupArn :: Lens' AddEndpoints Text
- data AddEndpointsResponse = AddEndpointsResponse' {}
- newAddEndpointsResponse :: Int -> AddEndpointsResponse
- addEndpointsResponse_endpointDescriptions :: Lens' AddEndpointsResponse (Maybe [EndpointDescription])
- addEndpointsResponse_endpointGroupArn :: Lens' AddEndpointsResponse (Maybe Text)
- addEndpointsResponse_httpStatus :: Lens' AddEndpointsResponse Int
Creating a Request
data AddEndpoints Source #
See: newAddEndpoints
smart constructor.
AddEndpoints' | |
|
Instances
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_endpointConfigurations :: Lens' AddEndpoints [EndpointConfiguration] Source #
The list of endpoint objects.
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.
AddEndpointsResponse' | |
|
Instances
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_endpointDescriptions :: Lens' AddEndpointsResponse (Maybe [EndpointDescription]) Source #
The list of endpoint objects.
addEndpointsResponse_endpointGroupArn :: Lens' AddEndpointsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the endpoint group.
addEndpointsResponse_httpStatus :: Lens' AddEndpointsResponse Int Source #
The response's http status code.