blib/lib/Paws/Datasync/UpdateLocationObjectStorage.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Datasync::UpdateLocationObjectStorage;
3 use Moose;
4 has AccessKey => (is => 'ro', isa => 'Str');
5 has AgentArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6 has LocationArn => (is => 'ro', isa => 'Str', required => 1);
7 has SecretKey => (is => 'ro', isa => 'Str');
8 has ServerPort => (is => 'ro', isa => 'Int');
9 has ServerProtocol => (is => 'ro', isa => 'Str');
10 has Subdirectory => (is => 'ro', isa => 'Str');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateLocationObjectStorage');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Datasync::UpdateLocationObjectStorageResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Datasync::UpdateLocationObjectStorage - Arguments for method UpdateLocationObjectStorage on L<Paws::Datasync>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateLocationObjectStorage on the
28 L<AWS DataSync|Paws::Datasync> service. Use the attributes of this class
29 as arguments to method UpdateLocationObjectStorage.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateLocationObjectStorage.
32  
33 =head1 SYNOPSIS
34  
35 my $datasync = Paws->service('Datasync');
36 my $UpdateLocationObjectStorageResponse =
37 $datasync->UpdateLocationObjectStorage(
38 LocationArn => 'MyLocationArn',
39 AccessKey => 'MyObjectStorageAccessKey', # OPTIONAL
40 AgentArns => [
41 'MyAgentArn', ... # max: 128
42 ], # OPTIONAL
43 SecretKey => 'MyObjectStorageSecretKey', # OPTIONAL
44 ServerPort => 1, # OPTIONAL
45 ServerProtocol => 'HTTPS', # OPTIONAL
46 Subdirectory => 'MyS3Subdirectory', # OPTIONAL
47 );
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/datasync/UpdateLocationObjectStorage>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 AccessKey => Str
56  
57 Optional. The access key is used if credentials are required to access
58 the self-managed object storage server. If your object storage requires
59 a user name and password to authenticate, use C<AccessKey> and
60 C<SecretKey> to provide the user name and password, respectively.
61  
62  
63  
64 =head2 AgentArns => ArrayRef[Str|Undef]
65  
66 The Amazon Resource Name (ARN) of the agents associated with the
67 self-managed object storage server location.
68  
69  
70  
71 =head2 B<REQUIRED> LocationArn => Str
72  
73 The Amazon Resource Name (ARN) of the self-managed object storage
74 server location to be updated.
75  
76  
77  
78 =head2 SecretKey => Str
79  
80 Optional. The secret key is used if credentials are required to access
81 the self-managed object storage server. If your object storage requires
82 a user name and password to authenticate, use C<AccessKey> and
83 C<SecretKey> to provide the user name and password, respectively.
84  
85  
86  
87 =head2 ServerPort => Int
88  
89 The port that your self-managed object storage server accepts inbound
90 network traffic on. The server port is set by default to TCP 80 (HTTP)
91 or TCP 443 (HTTPS). You can specify a custom port if your self-managed
92 object storage server requires one.
93  
94  
95  
96 =head2 ServerProtocol => Str
97  
98 The protocol that the object storage server uses to communicate. Valid
99 values are C<HTTP> or C<HTTPS>.
100  
101 Valid values are: C<"HTTPS">, C<"HTTP">
102  
103 =head2 Subdirectory => Str
104  
105 The subdirectory in the self-managed object storage server that is used
106 to read data from.
107  
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, documenting arguments for method UpdateLocationObjectStorage in L<Paws::Datasync>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122