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 |
A complex type that contains settings for encryption of your firewall resources.
Synopsis
- data UpdateFirewallEncryptionConfiguration = UpdateFirewallEncryptionConfiguration' {}
- newUpdateFirewallEncryptionConfiguration :: UpdateFirewallEncryptionConfiguration
- updateFirewallEncryptionConfiguration_encryptionConfiguration :: Lens' UpdateFirewallEncryptionConfiguration (Maybe EncryptionConfiguration)
- updateFirewallEncryptionConfiguration_firewallArn :: Lens' UpdateFirewallEncryptionConfiguration (Maybe Text)
- updateFirewallEncryptionConfiguration_firewallName :: Lens' UpdateFirewallEncryptionConfiguration (Maybe Text)
- updateFirewallEncryptionConfiguration_updateToken :: Lens' UpdateFirewallEncryptionConfiguration (Maybe Text)
- data UpdateFirewallEncryptionConfigurationResponse = UpdateFirewallEncryptionConfigurationResponse' {}
- newUpdateFirewallEncryptionConfigurationResponse :: Int -> UpdateFirewallEncryptionConfigurationResponse
- updateFirewallEncryptionConfigurationResponse_encryptionConfiguration :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe EncryptionConfiguration)
- updateFirewallEncryptionConfigurationResponse_firewallArn :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe Text)
- updateFirewallEncryptionConfigurationResponse_firewallName :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe Text)
- updateFirewallEncryptionConfigurationResponse_updateToken :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe Text)
- updateFirewallEncryptionConfigurationResponse_httpStatus :: Lens' UpdateFirewallEncryptionConfigurationResponse Int
Creating a Request
data UpdateFirewallEncryptionConfiguration Source #
See: newUpdateFirewallEncryptionConfiguration
smart constructor.
UpdateFirewallEncryptionConfiguration' | |
|
Instances
newUpdateFirewallEncryptionConfiguration :: UpdateFirewallEncryptionConfiguration Source #
Create a value of UpdateFirewallEncryptionConfiguration
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:
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfiguration_encryptionConfiguration
- Undocumented member.
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfiguration_firewallArn
- The Amazon Resource Name (ARN) of the firewall.
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfiguration_firewallName
- The descriptive name of the firewall. You can't change the name of a
firewall after you create it.
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfiguration_updateToken
- An optional token that you can use for optimistic locking. Network
Firewall returns a token to your requests that access the firewall. The
token marks the state of the firewall resource at the time of the
request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your
update request. Network Firewall uses the token to ensure that the
firewall hasn't changed since you last retrieved it. If it has changed,
the operation fails with an InvalidTokenException
. If this happens,
retrieve the firewall again to get a current copy of it with a new
token. Reapply your changes as needed, then try the operation again
using the new token.
Request Lenses
updateFirewallEncryptionConfiguration_encryptionConfiguration :: Lens' UpdateFirewallEncryptionConfiguration (Maybe EncryptionConfiguration) Source #
Undocumented member.
updateFirewallEncryptionConfiguration_firewallArn :: Lens' UpdateFirewallEncryptionConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the firewall.
updateFirewallEncryptionConfiguration_firewallName :: Lens' UpdateFirewallEncryptionConfiguration (Maybe Text) Source #
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
updateFirewallEncryptionConfiguration_updateToken :: Lens' UpdateFirewallEncryptionConfiguration (Maybe Text) Source #
An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your
update request. Network Firewall uses the token to ensure that the
firewall hasn't changed since you last retrieved it. If it has changed,
the operation fails with an InvalidTokenException
. If this happens,
retrieve the firewall again to get a current copy of it with a new
token. Reapply your changes as needed, then try the operation again
using the new token.
Destructuring the Response
data UpdateFirewallEncryptionConfigurationResponse Source #
See: newUpdateFirewallEncryptionConfigurationResponse
smart constructor.
UpdateFirewallEncryptionConfigurationResponse' | |
|
Instances
newUpdateFirewallEncryptionConfigurationResponse Source #
:: Int |
|
-> UpdateFirewallEncryptionConfigurationResponse |
Create a value of UpdateFirewallEncryptionConfigurationResponse
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:
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfigurationResponse_encryptionConfiguration
- Undocumented member.
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfigurationResponse_firewallArn
- The Amazon Resource Name (ARN) of the firewall.
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfigurationResponse_firewallName
- The descriptive name of the firewall. You can't change the name of a
firewall after you create it.
UpdateFirewallEncryptionConfiguration
, updateFirewallEncryptionConfigurationResponse_updateToken
- An optional token that you can use for optimistic locking. Network
Firewall returns a token to your requests that access the firewall. The
token marks the state of the firewall resource at the time of the
request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your
update request. Network Firewall uses the token to ensure that the
firewall hasn't changed since you last retrieved it. If it has changed,
the operation fails with an InvalidTokenException
. If this happens,
retrieve the firewall again to get a current copy of it with a new
token. Reapply your changes as needed, then try the operation again
using the new token.
$sel:httpStatus:UpdateFirewallEncryptionConfigurationResponse'
, updateFirewallEncryptionConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateFirewallEncryptionConfigurationResponse_encryptionConfiguration :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe EncryptionConfiguration) Source #
Undocumented member.
updateFirewallEncryptionConfigurationResponse_firewallArn :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the firewall.
updateFirewallEncryptionConfigurationResponse_firewallName :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe Text) Source #
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
updateFirewallEncryptionConfigurationResponse_updateToken :: Lens' UpdateFirewallEncryptionConfigurationResponse (Maybe Text) Source #
An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.
To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.
To make a conditional change to the firewall, provide the token in your
update request. Network Firewall uses the token to ensure that the
firewall hasn't changed since you last retrieved it. If it has changed,
the operation fails with an InvalidTokenException
. If this happens,
retrieve the firewall again to get a current copy of it with a new
token. Reapply your changes as needed, then try the operation again
using the new token.
updateFirewallEncryptionConfigurationResponse_httpStatus :: Lens' UpdateFirewallEncryptionConfigurationResponse Int Source #
The response's http status code.