File Coverage

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