amazonka-network-firewall-2.0: Amazon Network Firewall SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Description

A complex type that contains settings for encryption of your firewall resources.

Synopsis

Creating a Request

data UpdateFirewallEncryptionConfiguration Source #

Constructors

UpdateFirewallEncryptionConfiguration' 

Fields

  • encryptionConfiguration :: Maybe EncryptionConfiguration
     
  • firewallArn :: Maybe Text

    The Amazon Resource Name (ARN) of the firewall.

  • firewallName :: Maybe Text

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

  • updateToken :: Maybe Text

    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.

Instances

Instances details
ToJSON UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

ToHeaders UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

ToPath UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

ToQuery UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

AWSRequest UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Generic UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Read UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Show UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

NFData UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Eq UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Hashable UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

type AWSResponse UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

type Rep UpdateFirewallEncryptionConfiguration Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

type Rep UpdateFirewallEncryptionConfiguration = D1 ('MetaData "UpdateFirewallEncryptionConfiguration" "Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "UpdateFirewallEncryptionConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "firewallArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "firewallName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "updateToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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_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 #

Constructors

UpdateFirewallEncryptionConfigurationResponse' 

Fields

  • encryptionConfiguration :: Maybe EncryptionConfiguration
     
  • firewallArn :: Maybe Text

    The Amazon Resource Name (ARN) of the firewall.

  • firewallName :: Maybe Text

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

  • updateToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic UpdateFirewallEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Read UpdateFirewallEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Show UpdateFirewallEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

NFData UpdateFirewallEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

Eq UpdateFirewallEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

type Rep UpdateFirewallEncryptionConfigurationResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration

type Rep UpdateFirewallEncryptionConfigurationResponse = D1 ('MetaData "UpdateFirewallEncryptionConfigurationResponse" "Amazonka.NetworkFirewall.UpdateFirewallEncryptionConfiguration" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "UpdateFirewallEncryptionConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "firewallArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "firewallName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updateToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateFirewallEncryptionConfigurationResponse Source #

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_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.