Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one AWS 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.
CreateCustomRoutingEndpointGroup' | |
|
Instances
newCreateCustomRoutingEndpointGroup Source #
:: 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:
$sel:listenerArn:CreateCustomRoutingEndpointGroup'
, createCustomRoutingEndpointGroup_listenerArn
- The Amazon Resource Name (ARN) of the listener for a custom routing
endpoint.
$sel:endpointGroupRegion:CreateCustomRoutingEndpointGroup'
, createCustomRoutingEndpointGroup_endpointGroupRegion
- The AWS 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 AWS 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.
CreateCustomRoutingEndpointGroupResponse' | |
|
Instances
Eq CreateCustomRoutingEndpointGroupResponse Source # | |
Read CreateCustomRoutingEndpointGroupResponse Source # | |
Show CreateCustomRoutingEndpointGroupResponse Source # | |
Generic CreateCustomRoutingEndpointGroupResponse Source # | |
NFData CreateCustomRoutingEndpointGroupResponse Source # | |
type Rep CreateCustomRoutingEndpointGroupResponse Source # | |
Defined in Amazonka.GlobalAccelerator.CreateCustomRoutingEndpointGroup type Rep CreateCustomRoutingEndpointGroupResponse = D1 ('MetaData "CreateCustomRoutingEndpointGroupResponse" "Amazonka.GlobalAccelerator.CreateCustomRoutingEndpointGroup" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "CreateCustomRoutingEndpointGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomRoutingEndpointGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateCustomRoutingEndpointGroupResponse Source #
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.