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 |
Amazonka.GlobalAccelerator.CreateCustomRoutingListener
Description
Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive to assigned static IP addresses on the port range that you specify.
Synopsis
- data CreateCustomRoutingListener = CreateCustomRoutingListener' {}
- newCreateCustomRoutingListener :: Text -> NonEmpty PortRange -> Text -> CreateCustomRoutingListener
- createCustomRoutingListener_acceleratorArn :: Lens' CreateCustomRoutingListener Text
- createCustomRoutingListener_portRanges :: Lens' CreateCustomRoutingListener (NonEmpty PortRange)
- createCustomRoutingListener_idempotencyToken :: Lens' CreateCustomRoutingListener Text
- data CreateCustomRoutingListenerResponse = CreateCustomRoutingListenerResponse' {}
- newCreateCustomRoutingListenerResponse :: Int -> CreateCustomRoutingListenerResponse
- createCustomRoutingListenerResponse_listener :: Lens' CreateCustomRoutingListenerResponse (Maybe CustomRoutingListener)
- createCustomRoutingListenerResponse_httpStatus :: Lens' CreateCustomRoutingListenerResponse Int
Creating a Request
data CreateCustomRoutingListener Source #
See: newCreateCustomRoutingListener
smart constructor.
Constructors
CreateCustomRoutingListener' | |
Fields
|
Instances
newCreateCustomRoutingListener Source #
Arguments
:: Text | |
-> NonEmpty PortRange | |
-> Text | |
-> CreateCustomRoutingListener |
Create a value of CreateCustomRoutingListener
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:acceleratorArn:CreateCustomRoutingListener'
, createCustomRoutingListener_acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator for a custom routing
listener.
$sel:portRanges:CreateCustomRoutingListener'
, createCustomRoutingListener_portRanges
- The port range to support for connections from clients to your
accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
$sel:idempotencyToken:CreateCustomRoutingListener'
, createCustomRoutingListener_idempotencyToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency—that is, the uniqueness—of the request.
Request Lenses
createCustomRoutingListener_acceleratorArn :: Lens' CreateCustomRoutingListener Text Source #
The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.
createCustomRoutingListener_portRanges :: Lens' CreateCustomRoutingListener (NonEmpty PortRange) Source #
The port range to support for connections from clients to your accelerator.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
createCustomRoutingListener_idempotencyToken :: Lens' CreateCustomRoutingListener 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 CreateCustomRoutingListenerResponse Source #
See: newCreateCustomRoutingListenerResponse
smart constructor.
Constructors
CreateCustomRoutingListenerResponse' | |
Fields
|
Instances
newCreateCustomRoutingListenerResponse Source #
Arguments
:: Int | |
-> CreateCustomRoutingListenerResponse |
Create a value of CreateCustomRoutingListenerResponse
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:listener:CreateCustomRoutingListenerResponse'
, createCustomRoutingListenerResponse_listener
- The listener that you've created for a custom routing accelerator.
$sel:httpStatus:CreateCustomRoutingListenerResponse'
, createCustomRoutingListenerResponse_httpStatus
- The response's http status code.
Response Lenses
createCustomRoutingListenerResponse_listener :: Lens' CreateCustomRoutingListenerResponse (Maybe CustomRoutingListener) Source #
The listener that you've created for a custom routing accelerator.
createCustomRoutingListenerResponse_httpStatus :: Lens' CreateCustomRoutingListenerResponse Int Source #
The response's http status code.