Class: Aws::NetworkFirewall::Types::CreateProxyResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#proxyTypes::Proxy

Proxy attached to a NAT gateway.

Returns:



1231
1232
1233
1234
1235
1236
# File 'lib/aws-sdk-networkfirewall/types.rb', line 1231

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

#update_tokenString

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

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

Returns:

  • (String)


1231
1232
1233
1234
1235
1236
# File 'lib/aws-sdk-networkfirewall/types.rb', line 1231

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