blib/lib/Paws/CustomerProfiles/UpdateProfile.pm untested

filter: Statementstmt 0.0% 0 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CustomerProfiles::UpdateProfile;
3 use Moose;
4 has AccountNumber => (is => 'ro', isa => 'Str');
5 has AdditionalInformation => (is => 'ro', isa => 'Str');
6 has Address => (is => 'ro', isa => 'Paws::CustomerProfiles::UpdateAddress');
7 has Attributes => (is => 'ro', isa => 'Paws::CustomerProfiles::UpdateAttributes');
8 has BillingAddress => (is => 'ro', isa => 'Paws::CustomerProfiles::UpdateAddress');
9 has BirthDate => (is => 'ro', isa => 'Str');
10 has BusinessEmailAddress => (is => 'ro', isa => 'Str');
11 has BusinessName => (is => 'ro', isa => 'Str');
12 has BusinessPhoneNumber => (is => 'ro', isa => 'Str');
13 has DomainName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DomainName', required => 1);
14 has EmailAddress => (is => 'ro', isa => 'Str');
15 has FirstName => (is => 'ro', isa => 'Str');
16 has Gender => (is => 'ro', isa => 'Str');
17 has HomePhoneNumber => (is => 'ro', isa => 'Str');
18 has LastName => (is => 'ro', isa => 'Str');
19 has MailingAddress => (is => 'ro', isa => 'Paws::CustomerProfiles::UpdateAddress');
20 has MiddleName => (is => 'ro', isa => 'Str');
21 has MobilePhoneNumber => (is => 'ro', isa => 'Str');
22 has PartyType => (is => 'ro', isa => 'Str');
23 has PersonalEmailAddress => (is => 'ro', isa => 'Str');
24 has PhoneNumber => (is => 'ro', isa => 'Str');
25 has ProfileId => (is => 'ro', isa => 'Str', required => 1);
26 has ShippingAddress => (is => 'ro', isa => 'Paws::CustomerProfiles::UpdateAddress');
27  
28 use MooseX::ClassAttribute;
29  
30 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateProfile');
31 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/domains/{DomainName}/profiles');
32 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
33 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CustomerProfiles::UpdateProfileResponse');
34 1;
35  
36 ### main pod documentation begin ###
37  
38 =head1 NAME
39  
40 Paws::CustomerProfiles::UpdateProfile - Arguments for method UpdateProfile on L<Paws::CustomerProfiles>
41  
42 =head1 DESCRIPTION
43  
44 This class represents the parameters used for calling the method UpdateProfile on the
45 L<Amazon Connect Customer Profiles|Paws::CustomerProfiles> service. Use the attributes of this class
46 as arguments to method UpdateProfile.
47  
48 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateProfile.
49  
50 =head1 SYNOPSIS
51  
52 my $profile = Paws->service('CustomerProfiles');
53 my $UpdateProfileResponse = $profile->UpdateProfile(
54 DomainName => 'Myname',
55 ProfileId => 'Myuuid',
56 AccountNumber => 'Mystring0To255', # OPTIONAL
57 AdditionalInformation => 'Mystring0To1000', # OPTIONAL
58 Address => {
59 Address1 => 'Mystring0To255', # max: 255
60 Address2 => 'Mystring0To255', # max: 255
61 Address3 => 'Mystring0To255', # max: 255
62 Address4 => 'Mystring0To255', # max: 255
63 City => 'Mystring0To255', # max: 255
64 Country => 'Mystring0To255', # max: 255
65 County => 'Mystring0To255', # max: 255
66 PostalCode => 'Mystring0To255', # max: 255
67 Province => 'Mystring0To255', # max: 255
68 State => 'Mystring0To255', # max: 255
69 }, # OPTIONAL
70 Attributes => {
71 'Mystring1To255' =>
72 'Mystring0To255', # key: min: 1, max: 255, value: max: 255
73 }, # OPTIONAL
74 BillingAddress => {
75 Address1 => 'Mystring0To255', # max: 255
76 Address2 => 'Mystring0To255', # max: 255
77 Address3 => 'Mystring0To255', # max: 255
78 Address4 => 'Mystring0To255', # max: 255
79 City => 'Mystring0To255', # max: 255
80 Country => 'Mystring0To255', # max: 255
81 County => 'Mystring0To255', # max: 255
82 PostalCode => 'Mystring0To255', # max: 255
83 Province => 'Mystring0To255', # max: 255
84 State => 'Mystring0To255', # max: 255
85 }, # OPTIONAL
86 BirthDate => 'Mystring0To255', # OPTIONAL
87 BusinessEmailAddress => 'Mystring0To255', # OPTIONAL
88 BusinessName => 'Mystring0To255', # OPTIONAL
89 BusinessPhoneNumber => 'Mystring0To255', # OPTIONAL
90 EmailAddress => 'Mystring0To255', # OPTIONAL
91 FirstName => 'Mystring0To255', # OPTIONAL
92 Gender => 'MALE', # OPTIONAL
93 HomePhoneNumber => 'Mystring0To255', # OPTIONAL
94 LastName => 'Mystring0To255', # OPTIONAL
95 MailingAddress => {
96 Address1 => 'Mystring0To255', # max: 255
97 Address2 => 'Mystring0To255', # max: 255
98 Address3 => 'Mystring0To255', # max: 255
99 Address4 => 'Mystring0To255', # max: 255
100 City => 'Mystring0To255', # max: 255
101 Country => 'Mystring0To255', # max: 255
102 County => 'Mystring0To255', # max: 255
103 PostalCode => 'Mystring0To255', # max: 255
104 Province => 'Mystring0To255', # max: 255
105 State => 'Mystring0To255', # max: 255
106 }, # OPTIONAL
107 MiddleName => 'Mystring0To255', # OPTIONAL
108 MobilePhoneNumber => 'Mystring0To255', # OPTIONAL
109 PartyType => 'INDIVIDUAL', # OPTIONAL
110 PersonalEmailAddress => 'Mystring0To255', # OPTIONAL
111 PhoneNumber => 'Mystring0To255', # OPTIONAL
112 ShippingAddress => {
113 Address1 => 'Mystring0To255', # max: 255
114 Address2 => 'Mystring0To255', # max: 255
115 Address3 => 'Mystring0To255', # max: 255
116 Address4 => 'Mystring0To255', # max: 255
117 City => 'Mystring0To255', # max: 255
118 Country => 'Mystring0To255', # max: 255
119 County => 'Mystring0To255', # max: 255
120 PostalCode => 'Mystring0To255', # max: 255
121 Province => 'Mystring0To255', # max: 255
122 State => 'Mystring0To255', # max: 255
123 }, # OPTIONAL
124 );
125  
126 # Results:
127 my $ProfileId = $UpdateProfileResponse->ProfileId;
128  
129 # Returns a L<Paws::CustomerProfiles::UpdateProfileResponse> object.
130  
131 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.
132 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/profile/UpdateProfile>
133  
134 =head1 ATTRIBUTES
135  
136  
137 =head2 AccountNumber => Str
138  
139 A unique account number that you have given to the customer.
140  
141  
142  
143 =head2 AdditionalInformation => Str
144  
145 Any additional information relevant to the customerE<rsquo>s profile.
146  
147  
148  
149 =head2 Address => L<Paws::CustomerProfiles::UpdateAddress>
150  
151 A generic address associated with the customer that is not mailing,
152 shipping, or billing.
153  
154  
155  
156 =head2 Attributes => L<Paws::CustomerProfiles::UpdateAttributes>
157  
158 A key value pair of attributes of a customer profile.
159  
160  
161  
162 =head2 BillingAddress => L<Paws::CustomerProfiles::UpdateAddress>
163  
164 The customerE<rsquo>s billing address.
165  
166  
167  
168 =head2 BirthDate => Str
169  
170 The customerE<rsquo>s birth date.
171  
172  
173  
174 =head2 BusinessEmailAddress => Str
175  
176 The customerE<rsquo>s business email address.
177  
178  
179  
180 =head2 BusinessName => Str
181  
182 The name of the customerE<rsquo>s business.
183  
184  
185  
186 =head2 BusinessPhoneNumber => Str
187  
188 The customerE<rsquo>s business phone number.
189  
190  
191  
192 =head2 B<REQUIRED> DomainName => Str
193  
194 The unique name of the domain.
195  
196  
197  
198 =head2 EmailAddress => Str
199  
200 The customerE<rsquo>s email address, which has not been specified as a
201 personal or business address.
202  
203  
204  
205 =head2 FirstName => Str
206  
207 The customerE<rsquo>s first name.
208  
209  
210  
211 =head2 Gender => Str
212  
213 The gender with which the customer identifies.
214  
215 Valid values are: C<"MALE">, C<"FEMALE">, C<"UNSPECIFIED">
216  
217 =head2 HomePhoneNumber => Str
218  
219 The customerE<rsquo>s home phone number.
220  
221  
222  
223 =head2 LastName => Str
224  
225 The customerE<rsquo>s last name.
226  
227  
228  
229 =head2 MailingAddress => L<Paws::CustomerProfiles::UpdateAddress>
230  
231 The customerE<rsquo>s mailing address.
232  
233  
234  
235 =head2 MiddleName => Str
236  
237 The customerE<rsquo>s middle name.
238  
239  
240  
241 =head2 MobilePhoneNumber => Str
242  
243 The customerE<rsquo>s mobile phone number.
244  
245  
246  
247 =head2 PartyType => Str
248  
249 The type of profile used to describe the customer.
250  
251 Valid values are: C<"INDIVIDUAL">, C<"BUSINESS">, C<"OTHER">
252  
253 =head2 PersonalEmailAddress => Str
254  
255 The customerE<rsquo>s personal email address.
256  
257  
258  
259 =head2 PhoneNumber => Str
260  
261 The customerE<rsquo>s phone number, which has not been specified as a
262 mobile, home, or business number.
263  
264  
265  
266 =head2 B<REQUIRED> ProfileId => Str
267  
268 The unique identifier of a customer profile.
269  
270  
271  
272 =head2 ShippingAddress => L<Paws::CustomerProfiles::UpdateAddress>
273  
274 The customerE<rsquo>s shipping address.
275  
276  
277  
278  
279 =head1 SEE ALSO
280  
281 This class forms part of L<Paws>, documenting arguments for method UpdateProfile in L<Paws::CustomerProfiles>
282  
283 =head1 BUGS and CONTRIBUTIONS
284  
285 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
286  
287 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
288  
289 =cut
290