Class: Aws::NetworkFirewall::Types::UpdateFirewallPolicyResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#firewall_policy_responseTypes::FirewallPolicyResponse

The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.



4905
4906
4907
4908
4909
4910
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 4905

class UpdateFirewallPolicyResponse < Struct.new(
  :update_token,
  :firewall_policy_response)
  SENSITIVE = []
  include Aws::Structure
end

#update_tokenString

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Returns:

  • (String)


4905
4906
4907
4908
4909
4910
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 4905

class UpdateFirewallPolicyResponse < Struct.new(
  :update_token,
  :firewall_policy_response)
  SENSITIVE = []
  include Aws::Structure
end