![]() |
![]()
| ![]() |
![]()
NAMEPaws::NetworkFirewall::UpdateFirewallDeleteProtection - Arguments for method UpdateFirewallDeleteProtection on Paws::NetworkFirewall DESCRIPTIONThis class represents the parameters used for calling the method UpdateFirewallDeleteProtection on the AWS Network Firewall service. Use the attributes of this class as arguments to method UpdateFirewallDeleteProtection. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFirewallDeleteProtection. SYNOPSISmy $network-firewall = Paws->service('NetworkFirewall'); my $UpdateFirewallDeleteProtectionResponse = $network -firewall->UpdateFirewallDeleteProtection( DeleteProtection => 1, FirewallArn => 'MyResourceArn', # OPTIONAL FirewallName => 'MyResourceName', # OPTIONAL UpdateToken => 'MyUpdateToken', # OPTIONAL ); # Results: my $DeleteProtection = $UpdateFirewallDeleteProtectionResponse->DeleteProtection; my $FirewallArn = $UpdateFirewallDeleteProtectionResponse->FirewallArn; my $FirewallName = $UpdateFirewallDeleteProtectionResponse->FirewallName; my $UpdateToken = $UpdateFirewallDeleteProtectionResponse->UpdateToken; # Returns a Paws::NetworkFirewall::UpdateFirewallDeleteProtectionResponse object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/network-firewall/UpdateFirewallDeleteProtection> ATTRIBUTESREQUIRED DeleteProtection => BoolA flag indicating whether it is possible to delete the firewall. A setting of "TRUE" indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to "TRUE". FirewallArn => StrThe Amazon Resource Name (ARN) of the firewall. You must specify the ARN or the name, and you can specify both. FirewallName => StrThe descriptive name of the firewall. You can't change the name of a firewall after you create it. You must specify the ARN or the name, and you can specify both. UpdateToken => StrAn 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. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateFirewallDeleteProtection in Paws::NetworkFirewall BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|