blib/lib/Paws/StorageGateway/UpdateFileSystemAssociation.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::StorageGateway::UpdateFileSystemAssociation;
3 use Moose;
4 has AuditDestinationARN => (is => 'ro', isa => 'Str');
5 has CacheAttributes => (is => 'ro', isa => 'Paws::StorageGateway::CacheAttributes');
6 has FileSystemAssociationARN => (is => 'ro', isa => 'Str', required => 1);
7 has Password => (is => 'ro', isa => 'Str');
8 has UserName => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFileSystemAssociation');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::StorageGateway::UpdateFileSystemAssociationOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::StorageGateway::UpdateFileSystemAssociation - Arguments for method UpdateFileSystemAssociation on L<Paws::StorageGateway>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateFileSystemAssociation on the
26 L<AWS Storage Gateway|Paws::StorageGateway> service. Use the attributes of this class
27 as arguments to method UpdateFileSystemAssociation.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFileSystemAssociation.
30  
31 =head1 SYNOPSIS
32  
33 my $storagegateway = Paws->service('StorageGateway');
34 my $UpdateFileSystemAssociationOutput =
35 $storagegateway->UpdateFileSystemAssociation(
36 FileSystemAssociationARN => 'MyFileSystemAssociationARN',
37 AuditDestinationARN => 'MyAuditDestinationARN', # OPTIONAL
38 CacheAttributes => {
39 CacheStaleTimeoutInSeconds => 1, # OPTIONAL
40 }, # OPTIONAL
41 Password => 'MyDomainUserPassword', # OPTIONAL
42 UserName => 'MyDomainUserName', # OPTIONAL
43 );
44  
45 # Results:
46 my $FileSystemAssociationARN =
47 $UpdateFileSystemAssociationOutput->FileSystemAssociationARN;
48  
49 # Returns a L<Paws::StorageGateway::UpdateFileSystemAssociationOutput> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/storagegateway/UpdateFileSystemAssociation>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 AuditDestinationARN => Str
58  
59 The Amazon Resource Name (ARN) of the storage used for the audit logs.
60  
61  
62  
63 =head2 CacheAttributes => L<Paws::StorageGateway::CacheAttributes>
64  
65  
66  
67  
68  
69 =head2 B<REQUIRED> FileSystemAssociationARN => Str
70  
71 The Amazon Resource Name (ARN) of the file system association that you
72 want to update.
73  
74  
75  
76 =head2 Password => Str
77  
78 The password of the user credential.
79  
80  
81  
82 =head2 UserName => Str
83  
84 The user name of the user credential that has permission to access the
85 root share D$ of the Amazon FSx file system. The user account must
86 belong to the Amazon FSx delegated admin user group.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method UpdateFileSystemAssociation in L<Paws::StorageGateway>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102