File Coverage

blib/lib/Paws/Snowball/UpdateCluster.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Snowball::UpdateCluster;
3 1     1   618 use Moose;
  1         5  
  1         10  
4             has AddressId => (is => 'ro', isa => 'Str');
5             has ClusterId => (is => 'ro', isa => 'Str', required => 1);
6             has Description => (is => 'ro', isa => 'Str');
7             has ForwardingAddressId => (is => 'ro', isa => 'Str');
8             has Notification => (is => 'ro', isa => 'Paws::Snowball::Notification');
9             has Resources => (is => 'ro', isa => 'Paws::Snowball::JobResource');
10             has RoleARN => (is => 'ro', isa => 'Str');
11             has ShippingOption => (is => 'ro', isa => 'Str');
12              
13 1     1   7880 use MooseX::ClassAttribute;
  1         3  
  1         10  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateCluster');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Snowball::UpdateClusterResult');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::Snowball::UpdateCluster - Arguments for method UpdateCluster on Paws::Snowball
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method UpdateCluster on the
29             Amazon Import/Export Snowball service. Use the attributes of this class
30             as arguments to method UpdateCluster.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateCluster.
33              
34             As an example:
35              
36             $service_obj->UpdateCluster(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 AddressId => Str
44              
45             The ID of the updated Address object.
46              
47              
48              
49             =head2 B<REQUIRED> ClusterId => Str
50              
51             The cluster ID of the cluster that you want to update, for example
52             C<CID123e4567-e89b-12d3-a456-426655440000>.
53              
54              
55              
56             =head2 Description => Str
57              
58             The updated description of this cluster.
59              
60              
61              
62             =head2 ForwardingAddressId => Str
63              
64             The updated ID for the forwarding address for a cluster. This field is
65             not supported in most regions.
66              
67              
68              
69             =head2 Notification => L<Paws::Snowball::Notification>
70              
71             The new or updated Notification object.
72              
73              
74              
75             =head2 Resources => L<Paws::Snowball::JobResource>
76              
77             The updated arrays of JobResource objects that can include updated
78             S3Resource objects or LambdaResource objects.
79              
80              
81              
82             =head2 RoleARN => Str
83              
84             The new role Amazon Resource Name (ARN) that you want to associate with
85             this cluster. To create a role ARN, use the CreateRole API action in
86             AWS Identity and Access Management (IAM).
87              
88              
89              
90             =head2 ShippingOption => Str
91              
92             The updated shipping option value of this cluster's ShippingDetails
93             object.
94              
95             Valid values are: C<"SECOND_DAY">, C<"NEXT_DAY">, C<"EXPRESS">, C<"STANDARD">
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, documenting arguments for method UpdateCluster in L<Paws::Snowball>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut
109