| 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.CreateCustomRoutingEndpointGroup
Description
Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.
Synopsis
- data CreateCustomRoutingEndpointGroup = CreateCustomRoutingEndpointGroup' {}
- newCreateCustomRoutingEndpointGroup :: Text -> Text -> NonEmpty CustomRoutingDestinationConfiguration -> Text -> CreateCustomRoutingEndpointGroup
- createCustomRoutingEndpointGroup_listenerArn :: Lens' CreateCustomRoutingEndpointGroup Text
- createCustomRoutingEndpointGroup_endpointGroupRegion :: Lens' CreateCustomRoutingEndpointGroup Text
- createCustomRoutingEndpointGroup_destinationConfigurations :: Lens' CreateCustomRoutingEndpointGroup (NonEmpty CustomRoutingDestinationConfiguration)
- createCustomRoutingEndpointGroup_idempotencyToken :: Lens' CreateCustomRoutingEndpointGroup Text
- data CreateCustomRoutingEndpointGroupResponse = CreateCustomRoutingEndpointGroupResponse' {}
- newCreateCustomRoutingEndpointGroupResponse :: Int -> CreateCustomRoutingEndpointGroupResponse
- createCustomRoutingEndpointGroupResponse_endpointGroup :: Lens' CreateCustomRoutingEndpointGroupResponse (Maybe CustomRoutingEndpointGroup)
- createCustomRoutingEndpointGroupResponse_httpStatus :: Lens' CreateCustomRoutingEndpointGroupResponse Int
Creating a Request
data CreateCustomRoutingEndpointGroup Source #
See: newCreateCustomRoutingEndpointGroup smart constructor.
Constructors
| CreateCustomRoutingEndpointGroup' | |
Fields
| |
Instances
newCreateCustomRoutingEndpointGroup Source #
Arguments
| :: Text | |
| -> Text | |
| -> NonEmpty CustomRoutingDestinationConfiguration |
|
| -> Text | |
| -> CreateCustomRoutingEndpointGroup |
Create a value of CreateCustomRoutingEndpointGroup 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:
CreateCustomRoutingEndpointGroup, createCustomRoutingEndpointGroup_listenerArn - The Amazon Resource Name (ARN) of the listener for a custom routing
endpoint.
CreateCustomRoutingEndpointGroup, createCustomRoutingEndpointGroup_endpointGroupRegion - The Amazon Web Services Region where the endpoint group is located. A
listener can have only one endpoint group in a specific Region.
$sel:destinationConfigurations:CreateCustomRoutingEndpointGroup', createCustomRoutingEndpointGroup_destinationConfigurations - Sets the port range and protocol for all endpoints (virtual private
cloud subnets) in a custom routing endpoint group to accept client
traffic on.
$sel:idempotencyToken:CreateCustomRoutingEndpointGroup', createCustomRoutingEndpointGroup_idempotencyToken - A unique, case-sensitive identifier that you provide to ensure the
idempotency—that is, the uniqueness—of the request.
Request Lenses
createCustomRoutingEndpointGroup_listenerArn :: Lens' CreateCustomRoutingEndpointGroup Text Source #
The Amazon Resource Name (ARN) of the listener for a custom routing endpoint.
createCustomRoutingEndpointGroup_endpointGroupRegion :: Lens' CreateCustomRoutingEndpointGroup Text Source #
The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
createCustomRoutingEndpointGroup_destinationConfigurations :: Lens' CreateCustomRoutingEndpointGroup (NonEmpty CustomRoutingDestinationConfiguration) Source #
Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.
createCustomRoutingEndpointGroup_idempotencyToken :: Lens' CreateCustomRoutingEndpointGroup Text Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
Destructuring the Response
data CreateCustomRoutingEndpointGroupResponse Source #
See: newCreateCustomRoutingEndpointGroupResponse smart constructor.
Constructors
| CreateCustomRoutingEndpointGroupResponse' | |
Fields
| |
Instances
newCreateCustomRoutingEndpointGroupResponse Source #
Arguments
| :: Int | |
| -> CreateCustomRoutingEndpointGroupResponse |
Create a value of CreateCustomRoutingEndpointGroupResponse 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:endpointGroup:CreateCustomRoutingEndpointGroupResponse', createCustomRoutingEndpointGroupResponse_endpointGroup - The information about the endpoint group created for a custom routing
accelerator.
$sel:httpStatus:CreateCustomRoutingEndpointGroupResponse', createCustomRoutingEndpointGroupResponse_httpStatus - The response's http status code.
Response Lenses
createCustomRoutingEndpointGroupResponse_endpointGroup :: Lens' CreateCustomRoutingEndpointGroupResponse (Maybe CustomRoutingEndpointGroup) Source #
The information about the endpoint group created for a custom routing accelerator.
createCustomRoutingEndpointGroupResponse_httpStatus :: Lens' CreateCustomRoutingEndpointGroupResponse Int Source #
The response's http status code.