blib/lib/Paws/NetworkFirewall/DisassociateSubnets.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::NetworkFirewall::DisassociateSubnets;
3 use Moose;
4 has FirewallArn => (is => 'ro', isa => 'Str');
5 has FirewallName => (is => 'ro', isa => 'Str');
6 has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
7 has UpdateToken => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DisassociateSubnets');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::NetworkFirewall::DisassociateSubnetsResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::NetworkFirewall::DisassociateSubnets - Arguments for method DisassociateSubnets on L<Paws::NetworkFirewall>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DisassociateSubnets on the
25 L<AWS Network Firewall|Paws::NetworkFirewall> service. Use the attributes of this class
26 as arguments to method DisassociateSubnets.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DisassociateSubnets.
29  
30 =head1 SYNOPSIS
31  
32 my $network-firewall = Paws->service('NetworkFirewall');
33 my $DisassociateSubnetsResponse = $network -firewall->DisassociateSubnets(
34 SubnetIds => [
35 'MyAzSubnet', ... # min: 1, max: 128
36 ],
37 FirewallArn => 'MyResourceArn', # OPTIONAL
38 FirewallName => 'MyResourceName', # OPTIONAL
39 UpdateToken => 'MyUpdateToken', # OPTIONAL
40 );
41  
42 # Results:
43 my $FirewallArn = $DisassociateSubnetsResponse->FirewallArn;
44 my $FirewallName = $DisassociateSubnetsResponse->FirewallName;
45 my $SubnetMappings = $DisassociateSubnetsResponse->SubnetMappings;
46 my $UpdateToken = $DisassociateSubnetsResponse->UpdateToken;
47  
48 # Returns a L<Paws::NetworkFirewall::DisassociateSubnetsResponse> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/network-firewall/DisassociateSubnets>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 FirewallArn => Str
57  
58 The Amazon Resource Name (ARN) of the firewall.
59  
60 You must specify the ARN or the name, and you can specify both.
61  
62  
63  
64 =head2 FirewallName => Str
65  
66 The descriptive name of the firewall. You can't change the name of a
67 firewall after you create it.
68  
69 You must specify the ARN or the name, and you can specify both.
70  
71  
72  
73 =head2 B<REQUIRED> SubnetIds => ArrayRef[Str|Undef]
74  
75 The unique identifiers for the subnets that you want to disassociate.
76  
77  
78  
79 =head2 UpdateToken => Str
80  
81 An optional token that you can use for optimistic locking. Network
82 Firewall returns a token to your requests that access the firewall. The
83 token marks the state of the firewall resource at the time of the
84 request.
85  
86 To make an unconditional change to the firewall, omit the token in your
87 update request. Without the token, Network Firewall performs your
88 updates regardless of whether the firewall has changed since you last
89 retrieved it.
90  
91 To make a conditional change to the firewall, provide the token in your
92 update request. Network Firewall uses the token to ensure that the
93 firewall hasn't changed since you last retrieved it. If it has changed,
94 the operation fails with an C<InvalidTokenException>. If this happens,
95 retrieve the firewall again to get a current copy of it with a new
96 token. Reapply your changes as needed, then try the operation again
97 using the new token.
98  
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, documenting arguments for method DisassociateSubnets in L<Paws::NetworkFirewall>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113