blib/lib/Paws/ImportExport/GetShippingLabel.pm untested

filter: Statementstmt 0.0% 0 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ImportExport::GetShippingLabel;
3 use Moose;
4 has APIVersion => (is => 'ro', isa => 'Str');
5 has City => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'city' );
6 has Company => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'company' );
7 has Country => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'country' );
8 has JobIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'jobIds' , required => 1);
9 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' );
10 has PhoneNumber => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'phoneNumber' );
11 has PostalCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'postalCode' );
12 has StateOrProvince => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'stateOrProvince' );
13 has Street1 => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'street1' );
14 has Street2 => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'street2' );
15 has Street3 => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'street3' );
16  
17 use MooseX::ClassAttribute;
18  
19 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetShippingLabel');
20 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ImportExport::GetShippingLabelOutput');
21 class_has _result_key => (isa => 'Str', is => 'ro', default => 'GetShippingLabelResult');
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::ImportExport::GetShippingLabel - Arguments for method GetShippingLabel on L<Paws::ImportExport>
29  
30 =head1 DESCRIPTION
31  
32 This class represents the parameters used for calling the method GetShippingLabel on the
33 L<AWS ImportE<sol>Export|Paws::ImportExport> service. Use the attributes of this class
34 as arguments to method GetShippingLabel.
35  
36 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetShippingLabel.
37  
38 =head1 SYNOPSIS
39  
40 my $importexport = Paws->service('ImportExport');
41 my $GetShippingLabelOutput = $importexport->GetShippingLabel(
42 JobIds => [ 'MyGenericString', ... ],
43 APIVersion => 'MyAPIVersion', # OPTIONAL
44 City => 'Mycity', # OPTIONAL
45 Company => 'Mycompany', # OPTIONAL
46 Country => 'Mycountry', # OPTIONAL
47 Name => 'Myname', # OPTIONAL
48 PhoneNumber => 'MyphoneNumber', # OPTIONAL
49 PostalCode => 'MypostalCode', # OPTIONAL
50 StateOrProvince => 'MystateOrProvince', # OPTIONAL
51 Street1 => 'Mystreet1', # OPTIONAL
52 Street2 => 'Mystreet2', # OPTIONAL
53 Street3 => 'Mystreet3', # OPTIONAL
54 );
55  
56 # Results:
57 my $ShippingLabelURL = $GetShippingLabelOutput->ShippingLabelURL;
58 my $Warning = $GetShippingLabelOutput->Warning;
59  
60 # Returns a L<Paws::ImportExport::GetShippingLabelOutput> object.
61  
62 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.
63 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/importexport/GetShippingLabel>
64  
65 =head1 ATTRIBUTES
66  
67  
68 =head2 APIVersion => Str
69  
70  
71  
72  
73  
74 =head2 City => Str
75  
76  
77  
78  
79  
80 =head2 Company => Str
81  
82  
83  
84  
85  
86 =head2 Country => Str
87  
88  
89  
90  
91  
92 =head2 B<REQUIRED> JobIds => ArrayRef[Str|Undef]
93  
94  
95  
96  
97  
98 =head2 Name => Str
99  
100  
101  
102  
103  
104 =head2 PhoneNumber => Str
105  
106  
107  
108  
109  
110 =head2 PostalCode => Str
111  
112  
113  
114  
115  
116 =head2 StateOrProvince => Str
117  
118  
119  
120  
121  
122 =head2 Street1 => Str
123  
124  
125  
126  
127  
128 =head2 Street2 => Str
129  
130  
131  
132  
133  
134 =head2 Street3 => Str
135  
136  
137  
138  
139  
140  
141 =head1 SEE ALSO
142  
143 This class forms part of L<Paws>, documenting arguments for method GetShippingLabel in L<Paws::ImportExport>
144  
145 =head1 BUGS and CONTRIBUTIONS
146  
147 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
148  
149 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
150  
151 =cut
152