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 |
Update a custom routing accelerator.
Synopsis
- data UpdateCustomRoutingAccelerator = UpdateCustomRoutingAccelerator' {}
- newUpdateCustomRoutingAccelerator :: Text -> UpdateCustomRoutingAccelerator
- updateCustomRoutingAccelerator_enabled :: Lens' UpdateCustomRoutingAccelerator (Maybe Bool)
- updateCustomRoutingAccelerator_ipAddressType :: Lens' UpdateCustomRoutingAccelerator (Maybe IpAddressType)
- updateCustomRoutingAccelerator_name :: Lens' UpdateCustomRoutingAccelerator (Maybe Text)
- updateCustomRoutingAccelerator_acceleratorArn :: Lens' UpdateCustomRoutingAccelerator Text
- data UpdateCustomRoutingAcceleratorResponse = UpdateCustomRoutingAcceleratorResponse' {}
- newUpdateCustomRoutingAcceleratorResponse :: Int -> UpdateCustomRoutingAcceleratorResponse
- updateCustomRoutingAcceleratorResponse_accelerator :: Lens' UpdateCustomRoutingAcceleratorResponse (Maybe CustomRoutingAccelerator)
- updateCustomRoutingAcceleratorResponse_httpStatus :: Lens' UpdateCustomRoutingAcceleratorResponse Int
Creating a Request
data UpdateCustomRoutingAccelerator Source #
See: newUpdateCustomRoutingAccelerator
smart constructor.
UpdateCustomRoutingAccelerator' | |
|
Instances
newUpdateCustomRoutingAccelerator Source #
Create a value of UpdateCustomRoutingAccelerator
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:
UpdateCustomRoutingAccelerator
, updateCustomRoutingAccelerator_enabled
- Indicates whether an accelerator is enabled. The value is true or false.
The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
UpdateCustomRoutingAccelerator
, updateCustomRoutingAccelerator_ipAddressType
- The IP address type that an accelerator supports. For a custom routing
accelerator, the value must be IPV4.
UpdateCustomRoutingAccelerator
, updateCustomRoutingAccelerator_name
- The name of the accelerator. The name can have a maximum of 64
characters, must contain only alphanumeric characters, periods (.), or
hyphens (-), and must not begin or end with a hyphen or period.
UpdateCustomRoutingAccelerator
, updateCustomRoutingAccelerator_acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator to update.
Request Lenses
updateCustomRoutingAccelerator_enabled :: Lens' UpdateCustomRoutingAccelerator (Maybe Bool) Source #
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
updateCustomRoutingAccelerator_ipAddressType :: Lens' UpdateCustomRoutingAccelerator (Maybe IpAddressType) Source #
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
updateCustomRoutingAccelerator_name :: Lens' UpdateCustomRoutingAccelerator (Maybe Text) Source #
The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
updateCustomRoutingAccelerator_acceleratorArn :: Lens' UpdateCustomRoutingAccelerator Text Source #
The Amazon Resource Name (ARN) of the accelerator to update.
Destructuring the Response
data UpdateCustomRoutingAcceleratorResponse Source #
See: newUpdateCustomRoutingAcceleratorResponse
smart constructor.
UpdateCustomRoutingAcceleratorResponse' | |
|
Instances
newUpdateCustomRoutingAcceleratorResponse Source #
Create a value of UpdateCustomRoutingAcceleratorResponse
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:accelerator:UpdateCustomRoutingAcceleratorResponse'
, updateCustomRoutingAcceleratorResponse_accelerator
- Information about the updated custom routing accelerator.
$sel:httpStatus:UpdateCustomRoutingAcceleratorResponse'
, updateCustomRoutingAcceleratorResponse_httpStatus
- The response's http status code.
Response Lenses
updateCustomRoutingAcceleratorResponse_accelerator :: Lens' UpdateCustomRoutingAcceleratorResponse (Maybe CustomRoutingAccelerator) Source #
Information about the updated custom routing accelerator.
updateCustomRoutingAcceleratorResponse_httpStatus :: Lens' UpdateCustomRoutingAcceleratorResponse Int Source #
The response's http status code.