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 |
Update a listener for a custom routing accelerator.
Synopsis
- data UpdateCustomRoutingListener = UpdateCustomRoutingListener' {}
- newUpdateCustomRoutingListener :: Text -> NonEmpty PortRange -> UpdateCustomRoutingListener
- updateCustomRoutingListener_listenerArn :: Lens' UpdateCustomRoutingListener Text
- updateCustomRoutingListener_portRanges :: Lens' UpdateCustomRoutingListener (NonEmpty PortRange)
- data UpdateCustomRoutingListenerResponse = UpdateCustomRoutingListenerResponse' {}
- newUpdateCustomRoutingListenerResponse :: Int -> UpdateCustomRoutingListenerResponse
- updateCustomRoutingListenerResponse_listener :: Lens' UpdateCustomRoutingListenerResponse (Maybe CustomRoutingListener)
- updateCustomRoutingListenerResponse_httpStatus :: Lens' UpdateCustomRoutingListenerResponse Int
Creating a Request
data UpdateCustomRoutingListener Source #
See: newUpdateCustomRoutingListener
smart constructor.
UpdateCustomRoutingListener' | |
|
Instances
newUpdateCustomRoutingListener Source #
Create a value of UpdateCustomRoutingListener
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:UpdateCustomRoutingListener'
, updateCustomRoutingListener_listenerArn
- The Amazon Resource Name (ARN) of the listener to update.
$sel:portRanges:UpdateCustomRoutingListener'
, updateCustomRoutingListener_portRanges
- The updated port range to support for connections from clients to your
accelerator. If you remove ports that are currently being used by a
subnet endpoint, the call fails.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
Request Lenses
updateCustomRoutingListener_listenerArn :: Lens' UpdateCustomRoutingListener Text Source #
The Amazon Resource Name (ARN) of the listener to update.
updateCustomRoutingListener_portRanges :: Lens' UpdateCustomRoutingListener (NonEmpty PortRange) Source #
The updated port range to support for connections from clients to your accelerator. If you remove ports that are currently being used by a subnet endpoint, the call fails.
Separately, you set port ranges for endpoints. For more information, see About endpoints for custom routing accelerators.
Destructuring the Response
data UpdateCustomRoutingListenerResponse Source #
See: newUpdateCustomRoutingListenerResponse
smart constructor.
UpdateCustomRoutingListenerResponse' | |
|
Instances
newUpdateCustomRoutingListenerResponse Source #
Create a value of UpdateCustomRoutingListenerResponse
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:UpdateCustomRoutingListenerResponse'
, updateCustomRoutingListenerResponse_listener
- Information for the updated listener for a custom routing accelerator.
$sel:httpStatus:UpdateCustomRoutingListenerResponse'
, updateCustomRoutingListenerResponse_httpStatus
- The response's http status code.
Response Lenses
updateCustomRoutingListenerResponse_listener :: Lens' UpdateCustomRoutingListenerResponse (Maybe CustomRoutingListener) Source #
Information for the updated listener for a custom routing accelerator.
updateCustomRoutingListenerResponse_httpStatus :: Lens' UpdateCustomRoutingListenerResponse Int Source #
The response's http status code.