NAME

Paws::NetworkFirewall::AssociateSubnets - Arguments for method AssociateSubnets on Paws::NetworkFirewall

DESCRIPTION

This class represents the parameters used for calling the method AssociateSubnets on the AWS Network Firewall service. Use the attributes of this class as arguments to method AssociateSubnets.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateSubnets.

SYNOPSIS

my $network-firewall = Paws->service('NetworkFirewall');
my $AssociateSubnetsResponse = $network -firewall->AssociateSubnets(
  SubnetMappings => [
    {
      SubnetId => 'MyCollectionMember_String',

    },
    ...
  ],
  FirewallArn  => 'MyResourceArn',     # OPTIONAL
  FirewallName => 'MyResourceName',    # OPTIONAL
  UpdateToken  => 'MyUpdateToken',     # OPTIONAL
);

# Results:
my $FirewallArn    = $AssociateSubnetsResponse->FirewallArn;
my $FirewallName   = $AssociateSubnetsResponse->FirewallName;
my $SubnetMappings = $AssociateSubnetsResponse->SubnetMappings;
my $UpdateToken    = $AssociateSubnetsResponse->UpdateToken;

# Returns a L<Paws::NetworkFirewall::AssociateSubnetsResponse> 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/AssociateSubnets

ATTRIBUTES

FirewallArn => Str

The Amazon Resource Name (ARN) of the firewall.

You must specify the ARN or the name, and you can specify both.

FirewallName => Str

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

REQUIRED SubnetMappings => ArrayRef[Paws::NetworkFirewall::SubnetMapping]

The IDs of the subnets that you want to associate with the firewall.

UpdateToken => Str

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method AssociateSubnets in Paws::NetworkFirewall

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues