blib/lib/Paws/CloudDirectory.pm untested

filter: Statementstmt 0.0% 0 / 591 Branchbran 0.0% 0 / 76 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 91 Podpod 0.0% 0 / 90 totaltotal 0.0% 0 / 848 CC 39 SCAR 18.6
CC
39
Cov
0%
ListAllAppliedSchemaArns
12.0
ListAllAttachedIndices
12.0
ListAllDevelopmentSchemaArns
12.0
CRAP 6.4
1 package Paws::CloudDirectory;
2 use Moose;
3 sub service { 'clouddirectory' }
4 sub signing_name { 'clouddirectory' }
5 sub version { '2017-01-11' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub AddFacetToObject {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::AddFacetToObject', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub ApplySchema {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ApplySchema', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub AttachObject {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::AttachObject', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub AttachPolicy {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::AttachPolicy', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub AttachToIndex {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::AttachToIndex', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub AttachTypedLink {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::AttachTypedLink', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub BatchRead {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::BatchRead', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub BatchWrite {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::BatchWrite', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub CreateDirectory {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::CreateDirectory', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub CreateFacet {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::CreateFacet', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub CreateIndex {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::CreateIndex', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub CreateObject {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::CreateObject', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub CreateSchema {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::CreateSchema', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub CreateTypedLinkFacet {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::CreateTypedLinkFacet', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub DeleteDirectory {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DeleteDirectory', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub DeleteFacet {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DeleteFacet', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub DeleteObject {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DeleteObject', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub DeleteSchema {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DeleteSchema', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub DeleteTypedLinkFacet {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DeleteTypedLinkFacet', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub DetachFromIndex {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DetachFromIndex', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub DetachObject {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DetachObject', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub DetachPolicy {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DetachPolicy', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub DetachTypedLink {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DetachTypedLink', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub DisableDirectory {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::DisableDirectory', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub EnableDirectory {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::EnableDirectory', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub GetAppliedSchemaVersion {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetAppliedSchemaVersion', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub GetDirectory {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetDirectory', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub GetFacet {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetFacet', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub GetLinkAttributes {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetLinkAttributes', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162 sub GetObjectAttributes {
163 my $self = shift;
164 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetObjectAttributes', @_);
165 return $self->caller->do_call($self, $call_object);
166 }
167 sub GetObjectInformation {
168 my $self = shift;
169 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetObjectInformation', @_);
170 return $self->caller->do_call($self, $call_object);
171 }
172 sub GetSchemaAsJson {
173 my $self = shift;
174 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetSchemaAsJson', @_);
175 return $self->caller->do_call($self, $call_object);
176 }
177 sub GetTypedLinkFacetInformation {
178 my $self = shift;
179 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::GetTypedLinkFacetInformation', @_);
180 return $self->caller->do_call($self, $call_object);
181 }
182 sub ListAppliedSchemaArns {
183 my $self = shift;
184 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListAppliedSchemaArns', @_);
185 return $self->caller->do_call($self, $call_object);
186 }
187 sub ListAttachedIndices {
188 my $self = shift;
189 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListAttachedIndices', @_);
190 return $self->caller->do_call($self, $call_object);
191 }
192 sub ListDevelopmentSchemaArns {
193 my $self = shift;
194 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListDevelopmentSchemaArns', @_);
195 return $self->caller->do_call($self, $call_object);
196 }
197 sub ListDirectories {
198 my $self = shift;
199 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListDirectories', @_);
200 return $self->caller->do_call($self, $call_object);
201 }
202 sub ListFacetAttributes {
203 my $self = shift;
204 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListFacetAttributes', @_);
205 return $self->caller->do_call($self, $call_object);
206 }
207 sub ListFacetNames {
208 my $self = shift;
209 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListFacetNames', @_);
210 return $self->caller->do_call($self, $call_object);
211 }
212 sub ListIncomingTypedLinks {
213 my $self = shift;
214 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListIncomingTypedLinks', @_);
215 return $self->caller->do_call($self, $call_object);
216 }
217 sub ListIndex {
218 my $self = shift;
219 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListIndex', @_);
220 return $self->caller->do_call($self, $call_object);
221 }
222 sub ListManagedSchemaArns {
223 my $self = shift;
224 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListManagedSchemaArns', @_);
225 return $self->caller->do_call($self, $call_object);
226 }
227 sub ListObjectAttributes {
228 my $self = shift;
229 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListObjectAttributes', @_);
230 return $self->caller->do_call($self, $call_object);
231 }
232 sub ListObjectChildren {
233 my $self = shift;
234 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListObjectChildren', @_);
235 return $self->caller->do_call($self, $call_object);
236 }
237 sub ListObjectParentPaths {
238 my $self = shift;
239 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListObjectParentPaths', @_);
240 return $self->caller->do_call($self, $call_object);
241 }
242 sub ListObjectParents {
243 my $self = shift;
244 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListObjectParents', @_);
245 return $self->caller->do_call($self, $call_object);
246 }
247 sub ListObjectPolicies {
248 my $self = shift;
249 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListObjectPolicies', @_);
250 return $self->caller->do_call($self, $call_object);
251 }
252 sub ListOutgoingTypedLinks {
253 my $self = shift;
254 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListOutgoingTypedLinks', @_);
255 return $self->caller->do_call($self, $call_object);
256 }
257 sub ListPolicyAttachments {
258 my $self = shift;
259 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListPolicyAttachments', @_);
260 return $self->caller->do_call($self, $call_object);
261 }
262 sub ListPublishedSchemaArns {
263 my $self = shift;
264 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListPublishedSchemaArns', @_);
265 return $self->caller->do_call($self, $call_object);
266 }
267 sub ListTagsForResource {
268 my $self = shift;
269 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListTagsForResource', @_);
270 return $self->caller->do_call($self, $call_object);
271 }
272 sub ListTypedLinkFacetAttributes {
273 my $self = shift;
274 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListTypedLinkFacetAttributes', @_);
275 return $self->caller->do_call($self, $call_object);
276 }
277 sub ListTypedLinkFacetNames {
278 my $self = shift;
279 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::ListTypedLinkFacetNames', @_);
280 return $self->caller->do_call($self, $call_object);
281 }
282 sub LookupPolicy {
283 my $self = shift;
284 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::LookupPolicy', @_);
285 return $self->caller->do_call($self, $call_object);
286 }
287 sub PublishSchema {
288 my $self = shift;
289 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::PublishSchema', @_);
290 return $self->caller->do_call($self, $call_object);
291 }
292 sub PutSchemaFromJson {
293 my $self = shift;
294 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::PutSchemaFromJson', @_);
295 return $self->caller->do_call($self, $call_object);
296 }
297 sub RemoveFacetFromObject {
298 my $self = shift;
299 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::RemoveFacetFromObject', @_);
300 return $self->caller->do_call($self, $call_object);
301 }
302 sub TagResource {
303 my $self = shift;
304 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::TagResource', @_);
305 return $self->caller->do_call($self, $call_object);
306 }
307 sub UntagResource {
308 my $self = shift;
309 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UntagResource', @_);
310 return $self->caller->do_call($self, $call_object);
311 }
312 sub UpdateFacet {
313 my $self = shift;
314 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UpdateFacet', @_);
315 return $self->caller->do_call($self, $call_object);
316 }
317 sub UpdateLinkAttributes {
318 my $self = shift;
319 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UpdateLinkAttributes', @_);
320 return $self->caller->do_call($self, $call_object);
321 }
322 sub UpdateObjectAttributes {
323 my $self = shift;
324 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UpdateObjectAttributes', @_);
325 return $self->caller->do_call($self, $call_object);
326 }
327 sub UpdateSchema {
328 my $self = shift;
329 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UpdateSchema', @_);
330 return $self->caller->do_call($self, $call_object);
331 }
332 sub UpdateTypedLinkFacet {
333 my $self = shift;
334 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UpdateTypedLinkFacet', @_);
335 return $self->caller->do_call($self, $call_object);
336 }
337 sub UpgradeAppliedSchema {
338 my $self = shift;
339 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UpgradeAppliedSchema', @_);
340 return $self->caller->do_call($self, $call_object);
341 }
342 sub UpgradePublishedSchema {
343 my $self = shift;
344 my $call_object = $self->new_with_coercions('Paws::CloudDirectory::UpgradePublishedSchema', @_);
345 return $self->caller->do_call($self, $call_object);
346 }
347
348 sub ListAllAppliedSchemaArns {
349 my $self = shift;
350  
351 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
352 my $result = $self->ListAppliedSchemaArns(@_);
353 my $next_result = $result;
354  
355 if (not defined $callback) {
356 while ($next_result->NextToken) {
357 $next_result = $self->ListAppliedSchemaArns(@_, NextToken => $next_result->NextToken);
358 push @{ $result->SchemaArns }, @{ $next_result->SchemaArns };
359 }
360 return $result;
361 } else {
362 while ($result->NextToken) {
363 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
364 $result = $self->ListAppliedSchemaArns(@_, NextToken => $result->NextToken);
365 }
366 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
367 }
368  
369 return undef
370 }
371 sub ListAllAttachedIndices {
372 my $self = shift;
373  
374 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
375 my $result = $self->ListAttachedIndices(@_);
376 my $next_result = $result;
377  
378 if (not defined $callback) {
379 while ($next_result->NextToken) {
380 $next_result = $self->ListAttachedIndices(@_, NextToken => $next_result->NextToken);
381 push @{ $result->IndexAttachments }, @{ $next_result->IndexAttachments };
382 }
383 return $result;
384 } else {
385 while ($result->NextToken) {
386 $callback->($_ => 'IndexAttachments') foreach (@{ $result->IndexAttachments });
387 $result = $self->ListAttachedIndices(@_, NextToken => $result->NextToken);
388 }
389 $callback->($_ => 'IndexAttachments') foreach (@{ $result->IndexAttachments });
390 }
391  
392 return undef
393 }
394 sub ListAllDevelopmentSchemaArns {
395 my $self = shift;
396  
397 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
398 my $result = $self->ListDevelopmentSchemaArns(@_);
399 my $next_result = $result;
400  
401 if (not defined $callback) {
402 while ($next_result->NextToken) {
403 $next_result = $self->ListDevelopmentSchemaArns(@_, NextToken => $next_result->NextToken);
404 push @{ $result->SchemaArns }, @{ $next_result->SchemaArns };
405 }
406 return $result;
407 } else {
408 while ($result->NextToken) {
409 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
410 $result = $self->ListDevelopmentSchemaArns(@_, NextToken => $result->NextToken);
411 }
412 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
413 }
414  
415 return undef
416 }
417 sub ListAllDirectories {
418 my $self = shift;
419  
420 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
421 my $result = $self->ListDirectories(@_);
422 my $next_result = $result;
423  
424 if (not defined $callback) {
425 while ($next_result->NextToken) {
426 $next_result = $self->ListDirectories(@_, NextToken => $next_result->NextToken);
427 push @{ $result->Directories }, @{ $next_result->Directories };
428 }
429 return $result;
430 } else {
431 while ($result->NextToken) {
432 $callback->($_ => 'Directories') foreach (@{ $result->Directories });
433 $result = $self->ListDirectories(@_, NextToken => $result->NextToken);
434 }
435 $callback->($_ => 'Directories') foreach (@{ $result->Directories });
436 }
437  
438 return undef
439 }
440 sub ListAllFacetAttributes {
441 my $self = shift;
442  
443 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
444 my $result = $self->ListFacetAttributes(@_);
445 my $next_result = $result;
446  
447 if (not defined $callback) {
448 while ($next_result->NextToken) {
449 $next_result = $self->ListFacetAttributes(@_, NextToken => $next_result->NextToken);
450 push @{ $result->Attributes }, @{ $next_result->Attributes };
451 }
452 return $result;
453 } else {
454 while ($result->NextToken) {
455 $callback->($_ => 'Attributes') foreach (@{ $result->Attributes });
456 $result = $self->ListFacetAttributes(@_, NextToken => $result->NextToken);
457 }
458 $callback->($_ => 'Attributes') foreach (@{ $result->Attributes });
459 }
460  
461 return undef
462 }
463 sub ListAllFacetNames {
464 my $self = shift;
465  
466 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
467 my $result = $self->ListFacetNames(@_);
468 my $next_result = $result;
469  
470 if (not defined $callback) {
471 while ($next_result->NextToken) {
472 $next_result = $self->ListFacetNames(@_, NextToken => $next_result->NextToken);
473 push @{ $result->FacetNames }, @{ $next_result->FacetNames };
474 }
475 return $result;
476 } else {
477 while ($result->NextToken) {
478 $callback->($_ => 'FacetNames') foreach (@{ $result->FacetNames });
479 $result = $self->ListFacetNames(@_, NextToken => $result->NextToken);
480 }
481 $callback->($_ => 'FacetNames') foreach (@{ $result->FacetNames });
482 }
483  
484 return undef
485 }
486 sub ListAllIncomingTypedLinks {
487 my $self = shift;
488  
489 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
490 my $result = $self->ListIncomingTypedLinks(@_);
491 my $next_result = $result;
492  
493 if (not defined $callback) {
494 while ($next_result->NextToken) {
495 $next_result = $self->ListIncomingTypedLinks(@_, NextToken => $next_result->NextToken);
496 push @{ $result->LinkSpecifiers }, @{ $next_result->LinkSpecifiers };
497 }
498 return $result;
499 } else {
500 while ($result->NextToken) {
501 $callback->($_ => 'LinkSpecifiers') foreach (@{ $result->LinkSpecifiers });
502 $result = $self->ListIncomingTypedLinks(@_, NextToken => $result->NextToken);
503 }
504 $callback->($_ => 'LinkSpecifiers') foreach (@{ $result->LinkSpecifiers });
505 }
506  
507 return undef
508 }
509 sub ListAllIndex {
510 my $self = shift;
511  
512 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
513 my $result = $self->ListIndex(@_);
514 my $next_result = $result;
515  
516 if (not defined $callback) {
517 while ($next_result->NextToken) {
518 $next_result = $self->ListIndex(@_, NextToken => $next_result->NextToken);
519 push @{ $result->IndexAttachments }, @{ $next_result->IndexAttachments };
520 }
521 return $result;
522 } else {
523 while ($result->NextToken) {
524 $callback->($_ => 'IndexAttachments') foreach (@{ $result->IndexAttachments });
525 $result = $self->ListIndex(@_, NextToken => $result->NextToken);
526 }
527 $callback->($_ => 'IndexAttachments') foreach (@{ $result->IndexAttachments });
528 }
529  
530 return undef
531 }
532 sub ListAllManagedSchemaArns {
533 my $self = shift;
534  
535 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
536 my $result = $self->ListManagedSchemaArns(@_);
537 my $next_result = $result;
538  
539 if (not defined $callback) {
540 while ($next_result->NextToken) {
541 $next_result = $self->ListManagedSchemaArns(@_, NextToken => $next_result->NextToken);
542 push @{ $result->SchemaArns }, @{ $next_result->SchemaArns };
543 }
544 return $result;
545 } else {
546 while ($result->NextToken) {
547 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
548 $result = $self->ListManagedSchemaArns(@_, NextToken => $result->NextToken);
549 }
550 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
551 }
552  
553 return undef
554 }
555 sub ListAllObjectAttributes {
556 my $self = shift;
557  
558 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
559 my $result = $self->ListObjectAttributes(@_);
560 my $next_result = $result;
561  
562 if (not defined $callback) {
563 while ($next_result->NextToken) {
564 $next_result = $self->ListObjectAttributes(@_, NextToken => $next_result->NextToken);
565 push @{ $result->Attributes }, @{ $next_result->Attributes };
566 }
567 return $result;
568 } else {
569 while ($result->NextToken) {
570 $callback->($_ => 'Attributes') foreach (@{ $result->Attributes });
571 $result = $self->ListObjectAttributes(@_, NextToken => $result->NextToken);
572 }
573 $callback->($_ => 'Attributes') foreach (@{ $result->Attributes });
574 }
575  
576 return undef
577 }
578 sub ListAllObjectParentPaths {
579 my $self = shift;
580  
581 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
582 my $result = $self->ListObjectParentPaths(@_);
583 my $next_result = $result;
584  
585 if (not defined $callback) {
586 while ($next_result->NextToken) {
587 $next_result = $self->ListObjectParentPaths(@_, NextToken => $next_result->NextToken);
588 push @{ $result->PathToObjectIdentifiersList }, @{ $next_result->PathToObjectIdentifiersList };
589 }
590 return $result;
591 } else {
592 while ($result->NextToken) {
593 $callback->($_ => 'PathToObjectIdentifiersList') foreach (@{ $result->PathToObjectIdentifiersList });
594 $result = $self->ListObjectParentPaths(@_, NextToken => $result->NextToken);
595 }
596 $callback->($_ => 'PathToObjectIdentifiersList') foreach (@{ $result->PathToObjectIdentifiersList });
597 }
598  
599 return undef
600 }
601 sub ListAllObjectPolicies {
602 my $self = shift;
603  
604 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
605 my $result = $self->ListObjectPolicies(@_);
606 my $next_result = $result;
607  
608 if (not defined $callback) {
609 while ($next_result->NextToken) {
610 $next_result = $self->ListObjectPolicies(@_, NextToken => $next_result->NextToken);
611 push @{ $result->AttachedPolicyIds }, @{ $next_result->AttachedPolicyIds };
612 }
613 return $result;
614 } else {
615 while ($result->NextToken) {
616 $callback->($_ => 'AttachedPolicyIds') foreach (@{ $result->AttachedPolicyIds });
617 $result = $self->ListObjectPolicies(@_, NextToken => $result->NextToken);
618 }
619 $callback->($_ => 'AttachedPolicyIds') foreach (@{ $result->AttachedPolicyIds });
620 }
621  
622 return undef
623 }
624 sub ListAllOutgoingTypedLinks {
625 my $self = shift;
626  
627 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
628 my $result = $self->ListOutgoingTypedLinks(@_);
629 my $next_result = $result;
630  
631 if (not defined $callback) {
632 while ($next_result->NextToken) {
633 $next_result = $self->ListOutgoingTypedLinks(@_, NextToken => $next_result->NextToken);
634 push @{ $result->TypedLinkSpecifiers }, @{ $next_result->TypedLinkSpecifiers };
635 }
636 return $result;
637 } else {
638 while ($result->NextToken) {
639 $callback->($_ => 'TypedLinkSpecifiers') foreach (@{ $result->TypedLinkSpecifiers });
640 $result = $self->ListOutgoingTypedLinks(@_, NextToken => $result->NextToken);
641 }
642 $callback->($_ => 'TypedLinkSpecifiers') foreach (@{ $result->TypedLinkSpecifiers });
643 }
644  
645 return undef
646 }
647 sub ListAllPolicyAttachments {
648 my $self = shift;
649  
650 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
651 my $result = $self->ListPolicyAttachments(@_);
652 my $next_result = $result;
653  
654 if (not defined $callback) {
655 while ($next_result->NextToken) {
656 $next_result = $self->ListPolicyAttachments(@_, NextToken => $next_result->NextToken);
657 push @{ $result->ObjectIdentifiers }, @{ $next_result->ObjectIdentifiers };
658 }
659 return $result;
660 } else {
661 while ($result->NextToken) {
662 $callback->($_ => 'ObjectIdentifiers') foreach (@{ $result->ObjectIdentifiers });
663 $result = $self->ListPolicyAttachments(@_, NextToken => $result->NextToken);
664 }
665 $callback->($_ => 'ObjectIdentifiers') foreach (@{ $result->ObjectIdentifiers });
666 }
667  
668 return undef
669 }
670 sub ListAllPublishedSchemaArns {
671 my $self = shift;
672  
673 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
674 my $result = $self->ListPublishedSchemaArns(@_);
675 my $next_result = $result;
676  
677 if (not defined $callback) {
678 while ($next_result->NextToken) {
679 $next_result = $self->ListPublishedSchemaArns(@_, NextToken => $next_result->NextToken);
680 push @{ $result->SchemaArns }, @{ $next_result->SchemaArns };
681 }
682 return $result;
683 } else {
684 while ($result->NextToken) {
685 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
686 $result = $self->ListPublishedSchemaArns(@_, NextToken => $result->NextToken);
687 }
688 $callback->($_ => 'SchemaArns') foreach (@{ $result->SchemaArns });
689 }
690  
691 return undef
692 }
693 sub ListAllTagsForResource {
694 my $self = shift;
695  
696 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
697 my $result = $self->ListTagsForResource(@_);
698 my $next_result = $result;
699  
700 if (not defined $callback) {
701 while ($next_result->NextToken) {
702 $next_result = $self->ListTagsForResource(@_, NextToken => $next_result->NextToken);
703 push @{ $result->Tags }, @{ $next_result->Tags };
704 }
705 return $result;
706 } else {
707 while ($result->NextToken) {
708 $callback->($_ => 'Tags') foreach (@{ $result->Tags });
709 $result = $self->ListTagsForResource(@_, NextToken => $result->NextToken);
710 }
711 $callback->($_ => 'Tags') foreach (@{ $result->Tags });
712 }
713  
714 return undef
715 }
716 sub ListAllTypedLinkFacetAttributes {
717 my $self = shift;
718  
719 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
720 my $result = $self->ListTypedLinkFacetAttributes(@_);
721 my $next_result = $result;
722  
723 if (not defined $callback) {
724 while ($next_result->NextToken) {
725 $next_result = $self->ListTypedLinkFacetAttributes(@_, NextToken => $next_result->NextToken);
726 push @{ $result->Attributes }, @{ $next_result->Attributes };
727 }
728 return $result;
729 } else {
730 while ($result->NextToken) {
731 $callback->($_ => 'Attributes') foreach (@{ $result->Attributes });
732 $result = $self->ListTypedLinkFacetAttributes(@_, NextToken => $result->NextToken);
733 }
734 $callback->($_ => 'Attributes') foreach (@{ $result->Attributes });
735 }
736  
737 return undef
738 }
739 sub ListAllTypedLinkFacetNames {
740 my $self = shift;
741  
742 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
743 my $result = $self->ListTypedLinkFacetNames(@_);
744 my $next_result = $result;
745  
746 if (not defined $callback) {
747 while ($next_result->NextToken) {
748 $next_result = $self->ListTypedLinkFacetNames(@_, NextToken => $next_result->NextToken);
749 push @{ $result->FacetNames }, @{ $next_result->FacetNames };
750 }
751 return $result;
752 } else {
753 while ($result->NextToken) {
754 $callback->($_ => 'FacetNames') foreach (@{ $result->FacetNames });
755 $result = $self->ListTypedLinkFacetNames(@_, NextToken => $result->NextToken);
756 }
757 $callback->($_ => 'FacetNames') foreach (@{ $result->FacetNames });
758 }
759  
760 return undef
761 }
762 sub LookupAllPolicies {
763 my $self = shift;
764  
765 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
766 my $result = $self->LookupPolicy(@_);
767 my $next_result = $result;
768  
769 if (not defined $callback) {
770 while ($next_result->NextToken) {
771 $next_result = $self->LookupPolicy(@_, NextToken => $next_result->NextToken);
772 push @{ $result->PolicyToPathList }, @{ $next_result->PolicyToPathList };
773 }
774 return $result;
775 } else {
776 while ($result->NextToken) {
777 $callback->($_ => 'PolicyToPathList') foreach (@{ $result->PolicyToPathList });
778 $result = $self->LookupPolicy(@_, NextToken => $result->NextToken);
779 }
780 $callback->($_ => 'PolicyToPathList') foreach (@{ $result->PolicyToPathList });
781 }
782  
783 return undef
784 }
785  
786  
787 sub operations { qw/AddFacetToObject ApplySchema AttachObject AttachPolicy AttachToIndex AttachTypedLink BatchRead BatchWrite CreateDirectory CreateFacet CreateIndex CreateObject CreateSchema CreateTypedLinkFacet DeleteDirectory DeleteFacet DeleteObject DeleteSchema DeleteTypedLinkFacet DetachFromIndex DetachObject DetachPolicy DetachTypedLink DisableDirectory EnableDirectory GetAppliedSchemaVersion GetDirectory GetFacet GetLinkAttributes GetObjectAttributes GetObjectInformation GetSchemaAsJson GetTypedLinkFacetInformation ListAppliedSchemaArns ListAttachedIndices ListDevelopmentSchemaArns ListDirectories ListFacetAttributes ListFacetNames ListIncomingTypedLinks ListIndex ListManagedSchemaArns ListObjectAttributes ListObjectChildren ListObjectParentPaths ListObjectParents ListObjectPolicies ListOutgoingTypedLinks ListPolicyAttachments ListPublishedSchemaArns ListTagsForResource ListTypedLinkFacetAttributes ListTypedLinkFacetNames LookupPolicy PublishSchema PutSchemaFromJson RemoveFacetFromObject TagResource UntagResource UpdateFacet UpdateLinkAttributes UpdateObjectAttributes UpdateSchema UpdateTypedLinkFacet UpgradeAppliedSchema UpgradePublishedSchema / }
788  
789 1;
790  
791 ### main pod documentation begin ###
792  
793 =head1 NAME
794  
795 Paws::CloudDirectory - Perl Interface to AWS Amazon CloudDirectory
796  
797 =head1 SYNOPSIS
798  
799 use Paws;
800  
801 my $obj = Paws->service('CloudDirectory');
802 my $res = $obj->Method(
803 Arg1 => $val1,
804 Arg2 => [ 'V1', 'V2' ],
805 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
806 # of the arguments type
807 Arg3 => { Att1 => 'Val1' },
808 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
809 # the constructor of the arguments type
810 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
811 );
812  
813 =head1 DESCRIPTION
814  
815 Amazon Cloud Directory
816  
817 Amazon Cloud Directory is a component of the AWS Directory Service that
818 simplifies the development and management of cloud-scale web, mobile,
819 and IoT applications. This guide describes the Cloud Directory
820 operations that you can call programmatically and includes detailed
821 information on data types and errors. For information about Cloud
822 Directory features, see AWS Directory Service
823 (https://aws.amazon.com/directoryservice/) and the Amazon Cloud
824 Directory Developer Guide
825 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/what_is_cloud_directory.html).
826  
827 For the AWS API documentation, see L<https://docs.aws.amazon.com/directory-service/>
828  
829  
830 =head1 METHODS
831  
832 =head2 AddFacetToObject
833  
834 =over
835  
836 =item DirectoryArn => Str
837  
838 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
839  
840 =item SchemaFacet => L<Paws::CloudDirectory::SchemaFacet>
841  
842 =item [ObjectAttributeList => ArrayRef[L<Paws::CloudDirectory::AttributeKeyAndValue>]]
843  
844  
845 =back
846  
847 Each argument is described in detail in: L<Paws::CloudDirectory::AddFacetToObject>
848  
849 Returns: a L<Paws::CloudDirectory::AddFacetToObjectResponse> instance
850  
851 Adds a new Facet to an object. An object can have more than one facet
852 applied on it.
853  
854  
855 =head2 ApplySchema
856  
857 =over
858  
859 =item DirectoryArn => Str
860  
861 =item PublishedSchemaArn => Str
862  
863  
864 =back
865  
866 Each argument is described in detail in: L<Paws::CloudDirectory::ApplySchema>
867  
868 Returns: a L<Paws::CloudDirectory::ApplySchemaResponse> instance
869  
870 Copies the input published schema, at the specified version, into the
871 Directory with the same name and version as that of the published
872 schema.
873  
874  
875 =head2 AttachObject
876  
877 =over
878  
879 =item ChildReference => L<Paws::CloudDirectory::ObjectReference>
880  
881 =item DirectoryArn => Str
882  
883 =item LinkName => Str
884  
885 =item ParentReference => L<Paws::CloudDirectory::ObjectReference>
886  
887  
888 =back
889  
890 Each argument is described in detail in: L<Paws::CloudDirectory::AttachObject>
891  
892 Returns: a L<Paws::CloudDirectory::AttachObjectResponse> instance
893  
894 Attaches an existing object to another object. An object can be
895 accessed in two ways:
896  
897 =over
898  
899 =item 1.
900  
901 Using the path
902  
903 =item 2.
904  
905 Using C<ObjectIdentifier>
906  
907 =back
908  
909  
910  
911 =head2 AttachPolicy
912  
913 =over
914  
915 =item DirectoryArn => Str
916  
917 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
918  
919 =item PolicyReference => L<Paws::CloudDirectory::ObjectReference>
920  
921  
922 =back
923  
924 Each argument is described in detail in: L<Paws::CloudDirectory::AttachPolicy>
925  
926 Returns: a L<Paws::CloudDirectory::AttachPolicyResponse> instance
927  
928 Attaches a policy object to a regular object. An object can have a
929 limited number of attached policies.
930  
931  
932 =head2 AttachToIndex
933  
934 =over
935  
936 =item DirectoryArn => Str
937  
938 =item IndexReference => L<Paws::CloudDirectory::ObjectReference>
939  
940 =item TargetReference => L<Paws::CloudDirectory::ObjectReference>
941  
942  
943 =back
944  
945 Each argument is described in detail in: L<Paws::CloudDirectory::AttachToIndex>
946  
947 Returns: a L<Paws::CloudDirectory::AttachToIndexResponse> instance
948  
949 Attaches the specified object to the specified index.
950  
951  
952 =head2 AttachTypedLink
953  
954 =over
955  
956 =item Attributes => ArrayRef[L<Paws::CloudDirectory::AttributeNameAndValue>]
957  
958 =item DirectoryArn => Str
959  
960 =item SourceObjectReference => L<Paws::CloudDirectory::ObjectReference>
961  
962 =item TargetObjectReference => L<Paws::CloudDirectory::ObjectReference>
963  
964 =item TypedLinkFacet => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>
965  
966  
967 =back
968  
969 Each argument is described in detail in: L<Paws::CloudDirectory::AttachTypedLink>
970  
971 Returns: a L<Paws::CloudDirectory::AttachTypedLinkResponse> instance
972  
973 Attaches a typed link to a specified source and target object. For more
974 information, see Typed Links
975 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
976  
977  
978 =head2 BatchRead
979  
980 =over
981  
982 =item DirectoryArn => Str
983  
984 =item Operations => ArrayRef[L<Paws::CloudDirectory::BatchReadOperation>]
985  
986 =item [ConsistencyLevel => Str]
987  
988  
989 =back
990  
991 Each argument is described in detail in: L<Paws::CloudDirectory::BatchRead>
992  
993 Returns: a L<Paws::CloudDirectory::BatchReadResponse> instance
994  
995 Performs all the read operations in a batch.
996  
997  
998 =head2 BatchWrite
999  
1000 =over
1001  
1002 =item DirectoryArn => Str
1003  
1004 =item Operations => ArrayRef[L<Paws::CloudDirectory::BatchWriteOperation>]
1005  
1006  
1007 =back
1008  
1009 Each argument is described in detail in: L<Paws::CloudDirectory::BatchWrite>
1010  
1011 Returns: a L<Paws::CloudDirectory::BatchWriteResponse> instance
1012  
1013 Performs all the write operations in a batch. Either all the operations
1014 succeed or none.
1015  
1016  
1017 =head2 CreateDirectory
1018  
1019 =over
1020  
1021 =item Name => Str
1022  
1023 =item SchemaArn => Str
1024  
1025  
1026 =back
1027  
1028 Each argument is described in detail in: L<Paws::CloudDirectory::CreateDirectory>
1029  
1030 Returns: a L<Paws::CloudDirectory::CreateDirectoryResponse> instance
1031  
1032 Creates a Directory by copying the published schema into the directory.
1033 A directory cannot be created without a schema.
1034  
1035 You can also quickly create a directory using a managed schema, called
1036 the C<QuickStartSchema>. For more information, see Managed Schema
1037 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_managed.html)
1038 in the I<Amazon Cloud Directory Developer Guide>.
1039  
1040  
1041 =head2 CreateFacet
1042  
1043 =over
1044  
1045 =item Name => Str
1046  
1047 =item SchemaArn => Str
1048  
1049 =item [Attributes => ArrayRef[L<Paws::CloudDirectory::FacetAttribute>]]
1050  
1051 =item [FacetStyle => Str]
1052  
1053 =item [ObjectType => Str]
1054  
1055  
1056 =back
1057  
1058 Each argument is described in detail in: L<Paws::CloudDirectory::CreateFacet>
1059  
1060 Returns: a L<Paws::CloudDirectory::CreateFacetResponse> instance
1061  
1062 Creates a new Facet in a schema. Facet creation is allowed only in
1063 development or applied schemas.
1064  
1065  
1066 =head2 CreateIndex
1067  
1068 =over
1069  
1070 =item DirectoryArn => Str
1071  
1072 =item IsUnique => Bool
1073  
1074 =item OrderedIndexedAttributeList => ArrayRef[L<Paws::CloudDirectory::AttributeKey>]
1075  
1076 =item [LinkName => Str]
1077  
1078 =item [ParentReference => L<Paws::CloudDirectory::ObjectReference>]
1079  
1080  
1081 =back
1082  
1083 Each argument is described in detail in: L<Paws::CloudDirectory::CreateIndex>
1084  
1085 Returns: a L<Paws::CloudDirectory::CreateIndexResponse> instance
1086  
1087 Creates an index object. See Indexing and search
1088 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/indexing_search.html)
1089 for more information.
1090  
1091  
1092 =head2 CreateObject
1093  
1094 =over
1095  
1096 =item DirectoryArn => Str
1097  
1098 =item SchemaFacets => ArrayRef[L<Paws::CloudDirectory::SchemaFacet>]
1099  
1100 =item [LinkName => Str]
1101  
1102 =item [ObjectAttributeList => ArrayRef[L<Paws::CloudDirectory::AttributeKeyAndValue>]]
1103  
1104 =item [ParentReference => L<Paws::CloudDirectory::ObjectReference>]
1105  
1106  
1107 =back
1108  
1109 Each argument is described in detail in: L<Paws::CloudDirectory::CreateObject>
1110  
1111 Returns: a L<Paws::CloudDirectory::CreateObjectResponse> instance
1112  
1113 Creates an object in a Directory. Additionally attaches the object to a
1114 parent, if a parent reference and C<LinkName> is specified. An object
1115 is simply a collection of Facet attributes. You can also use this API
1116 call to create a policy object, if the facet from which you create the
1117 object is a policy facet.
1118  
1119  
1120 =head2 CreateSchema
1121  
1122 =over
1123  
1124 =item Name => Str
1125  
1126  
1127 =back
1128  
1129 Each argument is described in detail in: L<Paws::CloudDirectory::CreateSchema>
1130  
1131 Returns: a L<Paws::CloudDirectory::CreateSchemaResponse> instance
1132  
1133 Creates a new schema in a development state. A schema can exist in
1134 three phases:
1135  
1136 =over
1137  
1138 =item *
1139  
1140 I<Development:> This is a mutable phase of the schema. All new schemas
1141 are in the development phase. Once the schema is finalized, it can be
1142 published.
1143  
1144 =item *
1145  
1146 I<Published:> Published schemas are immutable and have a version
1147 associated with them.
1148  
1149 =item *
1150  
1151 I<Applied:> Applied schemas are mutable in a way that allows you to add
1152 new schema facets. You can also add new, nonrequired attributes to
1153 existing schema facets. You can apply only published schemas to
1154 directories.
1155  
1156 =back
1157  
1158  
1159  
1160 =head2 CreateTypedLinkFacet
1161  
1162 =over
1163  
1164 =item Facet => L<Paws::CloudDirectory::TypedLinkFacet>
1165  
1166 =item SchemaArn => Str
1167  
1168  
1169 =back
1170  
1171 Each argument is described in detail in: L<Paws::CloudDirectory::CreateTypedLinkFacet>
1172  
1173 Returns: a L<Paws::CloudDirectory::CreateTypedLinkFacetResponse> instance
1174  
1175 Creates a TypedLinkFacet. For more information, see Typed Links
1176 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
1177  
1178  
1179 =head2 DeleteDirectory
1180  
1181 =over
1182  
1183 =item DirectoryArn => Str
1184  
1185  
1186 =back
1187  
1188 Each argument is described in detail in: L<Paws::CloudDirectory::DeleteDirectory>
1189  
1190 Returns: a L<Paws::CloudDirectory::DeleteDirectoryResponse> instance
1191  
1192 Deletes a directory. Only disabled directories can be deleted. A
1193 deleted directory cannot be undone. Exercise extreme caution when
1194 deleting directories.
1195  
1196  
1197 =head2 DeleteFacet
1198  
1199 =over
1200  
1201 =item Name => Str
1202  
1203 =item SchemaArn => Str
1204  
1205  
1206 =back
1207  
1208 Each argument is described in detail in: L<Paws::CloudDirectory::DeleteFacet>
1209  
1210 Returns: a L<Paws::CloudDirectory::DeleteFacetResponse> instance
1211  
1212 Deletes a given Facet. All attributes and Rules that are associated
1213 with the facet will be deleted. Only development schema facets are
1214 allowed deletion.
1215  
1216  
1217 =head2 DeleteObject
1218  
1219 =over
1220  
1221 =item DirectoryArn => Str
1222  
1223 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1224  
1225  
1226 =back
1227  
1228 Each argument is described in detail in: L<Paws::CloudDirectory::DeleteObject>
1229  
1230 Returns: a L<Paws::CloudDirectory::DeleteObjectResponse> instance
1231  
1232 Deletes an object and its associated attributes. Only objects with no
1233 children and no parents can be deleted. The maximum number of
1234 attributes that can be deleted during an object deletion is 30. For
1235 more information, see Amazon Cloud Directory Limits
1236 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html).
1237  
1238  
1239 =head2 DeleteSchema
1240  
1241 =over
1242  
1243 =item SchemaArn => Str
1244  
1245  
1246 =back
1247  
1248 Each argument is described in detail in: L<Paws::CloudDirectory::DeleteSchema>
1249  
1250 Returns: a L<Paws::CloudDirectory::DeleteSchemaResponse> instance
1251  
1252 Deletes a given schema. Schemas in a development and published state
1253 can only be deleted.
1254  
1255  
1256 =head2 DeleteTypedLinkFacet
1257  
1258 =over
1259  
1260 =item Name => Str
1261  
1262 =item SchemaArn => Str
1263  
1264  
1265 =back
1266  
1267 Each argument is described in detail in: L<Paws::CloudDirectory::DeleteTypedLinkFacet>
1268  
1269 Returns: a L<Paws::CloudDirectory::DeleteTypedLinkFacetResponse> instance
1270  
1271 Deletes a TypedLinkFacet. For more information, see Typed Links
1272 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
1273  
1274  
1275 =head2 DetachFromIndex
1276  
1277 =over
1278  
1279 =item DirectoryArn => Str
1280  
1281 =item IndexReference => L<Paws::CloudDirectory::ObjectReference>
1282  
1283 =item TargetReference => L<Paws::CloudDirectory::ObjectReference>
1284  
1285  
1286 =back
1287  
1288 Each argument is described in detail in: L<Paws::CloudDirectory::DetachFromIndex>
1289  
1290 Returns: a L<Paws::CloudDirectory::DetachFromIndexResponse> instance
1291  
1292 Detaches the specified object from the specified index.
1293  
1294  
1295 =head2 DetachObject
1296  
1297 =over
1298  
1299 =item DirectoryArn => Str
1300  
1301 =item LinkName => Str
1302  
1303 =item ParentReference => L<Paws::CloudDirectory::ObjectReference>
1304  
1305  
1306 =back
1307  
1308 Each argument is described in detail in: L<Paws::CloudDirectory::DetachObject>
1309  
1310 Returns: a L<Paws::CloudDirectory::DetachObjectResponse> instance
1311  
1312 Detaches a given object from the parent object. The object that is to
1313 be detached from the parent is specified by the link name.
1314  
1315  
1316 =head2 DetachPolicy
1317  
1318 =over
1319  
1320 =item DirectoryArn => Str
1321  
1322 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1323  
1324 =item PolicyReference => L<Paws::CloudDirectory::ObjectReference>
1325  
1326  
1327 =back
1328  
1329 Each argument is described in detail in: L<Paws::CloudDirectory::DetachPolicy>
1330  
1331 Returns: a L<Paws::CloudDirectory::DetachPolicyResponse> instance
1332  
1333 Detaches a policy from an object.
1334  
1335  
1336 =head2 DetachTypedLink
1337  
1338 =over
1339  
1340 =item DirectoryArn => Str
1341  
1342 =item TypedLinkSpecifier => L<Paws::CloudDirectory::TypedLinkSpecifier>
1343  
1344  
1345 =back
1346  
1347 Each argument is described in detail in: L<Paws::CloudDirectory::DetachTypedLink>
1348  
1349 Returns: nothing
1350  
1351 Detaches a typed link from a specified source and target object. For
1352 more information, see Typed Links
1353 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
1354  
1355  
1356 =head2 DisableDirectory
1357  
1358 =over
1359  
1360 =item DirectoryArn => Str
1361  
1362  
1363 =back
1364  
1365 Each argument is described in detail in: L<Paws::CloudDirectory::DisableDirectory>
1366  
1367 Returns: a L<Paws::CloudDirectory::DisableDirectoryResponse> instance
1368  
1369 Disables the specified directory. Disabled directories cannot be read
1370 or written to. Only enabled directories can be disabled. Disabled
1371 directories may be reenabled.
1372  
1373  
1374 =head2 EnableDirectory
1375  
1376 =over
1377  
1378 =item DirectoryArn => Str
1379  
1380  
1381 =back
1382  
1383 Each argument is described in detail in: L<Paws::CloudDirectory::EnableDirectory>
1384  
1385 Returns: a L<Paws::CloudDirectory::EnableDirectoryResponse> instance
1386  
1387 Enables the specified directory. Only disabled directories can be
1388 enabled. Once enabled, the directory can then be read and written to.
1389  
1390  
1391 =head2 GetAppliedSchemaVersion
1392  
1393 =over
1394  
1395 =item SchemaArn => Str
1396  
1397  
1398 =back
1399  
1400 Each argument is described in detail in: L<Paws::CloudDirectory::GetAppliedSchemaVersion>
1401  
1402 Returns: a L<Paws::CloudDirectory::GetAppliedSchemaVersionResponse> instance
1403  
1404 Returns current applied schema version ARN, including the minor version
1405 in use.
1406  
1407  
1408 =head2 GetDirectory
1409  
1410 =over
1411  
1412 =item DirectoryArn => Str
1413  
1414  
1415 =back
1416  
1417 Each argument is described in detail in: L<Paws::CloudDirectory::GetDirectory>
1418  
1419 Returns: a L<Paws::CloudDirectory::GetDirectoryResponse> instance
1420  
1421 Retrieves metadata about a directory.
1422  
1423  
1424 =head2 GetFacet
1425  
1426 =over
1427  
1428 =item Name => Str
1429  
1430 =item SchemaArn => Str
1431  
1432  
1433 =back
1434  
1435 Each argument is described in detail in: L<Paws::CloudDirectory::GetFacet>
1436  
1437 Returns: a L<Paws::CloudDirectory::GetFacetResponse> instance
1438  
1439 Gets details of the Facet, such as facet name, attributes, Rules, or
1440 C<ObjectType>. You can call this on all kinds of schema facets --
1441 published, development, or applied.
1442  
1443  
1444 =head2 GetLinkAttributes
1445  
1446 =over
1447  
1448 =item AttributeNames => ArrayRef[Str|Undef]
1449  
1450 =item DirectoryArn => Str
1451  
1452 =item TypedLinkSpecifier => L<Paws::CloudDirectory::TypedLinkSpecifier>
1453  
1454 =item [ConsistencyLevel => Str]
1455  
1456  
1457 =back
1458  
1459 Each argument is described in detail in: L<Paws::CloudDirectory::GetLinkAttributes>
1460  
1461 Returns: a L<Paws::CloudDirectory::GetLinkAttributesResponse> instance
1462  
1463 Retrieves attributes that are associated with a typed link.
1464  
1465  
1466 =head2 GetObjectAttributes
1467  
1468 =over
1469  
1470 =item AttributeNames => ArrayRef[Str|Undef]
1471  
1472 =item DirectoryArn => Str
1473  
1474 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1475  
1476 =item SchemaFacet => L<Paws::CloudDirectory::SchemaFacet>
1477  
1478 =item [ConsistencyLevel => Str]
1479  
1480  
1481 =back
1482  
1483 Each argument is described in detail in: L<Paws::CloudDirectory::GetObjectAttributes>
1484  
1485 Returns: a L<Paws::CloudDirectory::GetObjectAttributesResponse> instance
1486  
1487 Retrieves attributes within a facet that are associated with an object.
1488  
1489  
1490 =head2 GetObjectInformation
1491  
1492 =over
1493  
1494 =item DirectoryArn => Str
1495  
1496 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1497  
1498 =item [ConsistencyLevel => Str]
1499  
1500  
1501 =back
1502  
1503 Each argument is described in detail in: L<Paws::CloudDirectory::GetObjectInformation>
1504  
1505 Returns: a L<Paws::CloudDirectory::GetObjectInformationResponse> instance
1506  
1507 Retrieves metadata about an object.
1508  
1509  
1510 =head2 GetSchemaAsJson
1511  
1512 =over
1513  
1514 =item SchemaArn => Str
1515  
1516  
1517 =back
1518  
1519 Each argument is described in detail in: L<Paws::CloudDirectory::GetSchemaAsJson>
1520  
1521 Returns: a L<Paws::CloudDirectory::GetSchemaAsJsonResponse> instance
1522  
1523 Retrieves a JSON representation of the schema. See JSON Schema Format
1524 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_jsonformat.html#schemas_json)
1525 for more information.
1526  
1527  
1528 =head2 GetTypedLinkFacetInformation
1529  
1530 =over
1531  
1532 =item Name => Str
1533  
1534 =item SchemaArn => Str
1535  
1536  
1537 =back
1538  
1539 Each argument is described in detail in: L<Paws::CloudDirectory::GetTypedLinkFacetInformation>
1540  
1541 Returns: a L<Paws::CloudDirectory::GetTypedLinkFacetInformationResponse> instance
1542  
1543 Returns the identity attribute order for a specific TypedLinkFacet. For
1544 more information, see Typed Links
1545 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
1546  
1547  
1548 =head2 ListAppliedSchemaArns
1549  
1550 =over
1551  
1552 =item DirectoryArn => Str
1553  
1554 =item [MaxResults => Int]
1555  
1556 =item [NextToken => Str]
1557  
1558 =item [SchemaArn => Str]
1559  
1560  
1561 =back
1562  
1563 Each argument is described in detail in: L<Paws::CloudDirectory::ListAppliedSchemaArns>
1564  
1565 Returns: a L<Paws::CloudDirectory::ListAppliedSchemaArnsResponse> instance
1566  
1567 Lists schema major versions applied to a directory. If C<SchemaArn> is
1568 provided, lists the minor version.
1569  
1570  
1571 =head2 ListAttachedIndices
1572  
1573 =over
1574  
1575 =item DirectoryArn => Str
1576  
1577 =item TargetReference => L<Paws::CloudDirectory::ObjectReference>
1578  
1579 =item [ConsistencyLevel => Str]
1580  
1581 =item [MaxResults => Int]
1582  
1583 =item [NextToken => Str]
1584  
1585  
1586 =back
1587  
1588 Each argument is described in detail in: L<Paws::CloudDirectory::ListAttachedIndices>
1589  
1590 Returns: a L<Paws::CloudDirectory::ListAttachedIndicesResponse> instance
1591  
1592 Lists indices attached to the specified object.
1593  
1594  
1595 =head2 ListDevelopmentSchemaArns
1596  
1597 =over
1598  
1599 =item [MaxResults => Int]
1600  
1601 =item [NextToken => Str]
1602  
1603  
1604 =back
1605  
1606 Each argument is described in detail in: L<Paws::CloudDirectory::ListDevelopmentSchemaArns>
1607  
1608 Returns: a L<Paws::CloudDirectory::ListDevelopmentSchemaArnsResponse> instance
1609  
1610 Retrieves each Amazon Resource Name (ARN) of schemas in the development
1611 state.
1612  
1613  
1614 =head2 ListDirectories
1615  
1616 =over
1617  
1618 =item [MaxResults => Int]
1619  
1620 =item [NextToken => Str]
1621  
1622 =item [State => Str]
1623  
1624  
1625 =back
1626  
1627 Each argument is described in detail in: L<Paws::CloudDirectory::ListDirectories>
1628  
1629 Returns: a L<Paws::CloudDirectory::ListDirectoriesResponse> instance
1630  
1631 Lists directories created within an account.
1632  
1633  
1634 =head2 ListFacetAttributes
1635  
1636 =over
1637  
1638 =item Name => Str
1639  
1640 =item SchemaArn => Str
1641  
1642 =item [MaxResults => Int]
1643  
1644 =item [NextToken => Str]
1645  
1646  
1647 =back
1648  
1649 Each argument is described in detail in: L<Paws::CloudDirectory::ListFacetAttributes>
1650  
1651 Returns: a L<Paws::CloudDirectory::ListFacetAttributesResponse> instance
1652  
1653 Retrieves attributes attached to the facet.
1654  
1655  
1656 =head2 ListFacetNames
1657  
1658 =over
1659  
1660 =item SchemaArn => Str
1661  
1662 =item [MaxResults => Int]
1663  
1664 =item [NextToken => Str]
1665  
1666  
1667 =back
1668  
1669 Each argument is described in detail in: L<Paws::CloudDirectory::ListFacetNames>
1670  
1671 Returns: a L<Paws::CloudDirectory::ListFacetNamesResponse> instance
1672  
1673 Retrieves the names of facets that exist in a schema.
1674  
1675  
1676 =head2 ListIncomingTypedLinks
1677  
1678 =over
1679  
1680 =item DirectoryArn => Str
1681  
1682 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1683  
1684 =item [ConsistencyLevel => Str]
1685  
1686 =item [FilterAttributeRanges => ArrayRef[L<Paws::CloudDirectory::TypedLinkAttributeRange>]]
1687  
1688 =item [FilterTypedLink => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>]
1689  
1690 =item [MaxResults => Int]
1691  
1692 =item [NextToken => Str]
1693  
1694  
1695 =back
1696  
1697 Each argument is described in detail in: L<Paws::CloudDirectory::ListIncomingTypedLinks>
1698  
1699 Returns: a L<Paws::CloudDirectory::ListIncomingTypedLinksResponse> instance
1700  
1701 Returns a paginated list of all the incoming TypedLinkSpecifier
1702 information for an object. It also supports filtering by typed link
1703 facet and identity attributes. For more information, see Typed Links
1704 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
1705  
1706  
1707 =head2 ListIndex
1708  
1709 =over
1710  
1711 =item DirectoryArn => Str
1712  
1713 =item IndexReference => L<Paws::CloudDirectory::ObjectReference>
1714  
1715 =item [ConsistencyLevel => Str]
1716  
1717 =item [MaxResults => Int]
1718  
1719 =item [NextToken => Str]
1720  
1721 =item [RangesOnIndexedValues => ArrayRef[L<Paws::CloudDirectory::ObjectAttributeRange>]]
1722  
1723  
1724 =back
1725  
1726 Each argument is described in detail in: L<Paws::CloudDirectory::ListIndex>
1727  
1728 Returns: a L<Paws::CloudDirectory::ListIndexResponse> instance
1729  
1730 Lists objects attached to the specified index.
1731  
1732  
1733 =head2 ListManagedSchemaArns
1734  
1735 =over
1736  
1737 =item [MaxResults => Int]
1738  
1739 =item [NextToken => Str]
1740  
1741 =item [SchemaArn => Str]
1742  
1743  
1744 =back
1745  
1746 Each argument is described in detail in: L<Paws::CloudDirectory::ListManagedSchemaArns>
1747  
1748 Returns: a L<Paws::CloudDirectory::ListManagedSchemaArnsResponse> instance
1749  
1750 Lists the major version families of each managed schema. If a major
1751 version ARN is provided as SchemaArn, the minor version revisions in
1752 that family are listed instead.
1753  
1754  
1755 =head2 ListObjectAttributes
1756  
1757 =over
1758  
1759 =item DirectoryArn => Str
1760  
1761 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1762  
1763 =item [ConsistencyLevel => Str]
1764  
1765 =item [FacetFilter => L<Paws::CloudDirectory::SchemaFacet>]
1766  
1767 =item [MaxResults => Int]
1768  
1769 =item [NextToken => Str]
1770  
1771  
1772 =back
1773  
1774 Each argument is described in detail in: L<Paws::CloudDirectory::ListObjectAttributes>
1775  
1776 Returns: a L<Paws::CloudDirectory::ListObjectAttributesResponse> instance
1777  
1778 Lists all attributes that are associated with an object.
1779  
1780  
1781 =head2 ListObjectChildren
1782  
1783 =over
1784  
1785 =item DirectoryArn => Str
1786  
1787 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1788  
1789 =item [ConsistencyLevel => Str]
1790  
1791 =item [MaxResults => Int]
1792  
1793 =item [NextToken => Str]
1794  
1795  
1796 =back
1797  
1798 Each argument is described in detail in: L<Paws::CloudDirectory::ListObjectChildren>
1799  
1800 Returns: a L<Paws::CloudDirectory::ListObjectChildrenResponse> instance
1801  
1802 Returns a paginated list of child objects that are associated with a
1803 given object.
1804  
1805  
1806 =head2 ListObjectParentPaths
1807  
1808 =over
1809  
1810 =item DirectoryArn => Str
1811  
1812 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1813  
1814 =item [MaxResults => Int]
1815  
1816 =item [NextToken => Str]
1817  
1818  
1819 =back
1820  
1821 Each argument is described in detail in: L<Paws::CloudDirectory::ListObjectParentPaths>
1822  
1823 Returns: a L<Paws::CloudDirectory::ListObjectParentPathsResponse> instance
1824  
1825 Retrieves all available parent paths for any object type such as node,
1826 leaf node, policy node, and index node objects. For more information
1827 about objects, see Directory Structure
1828 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directorystructure.html).
1829  
1830 Use this API to evaluate all parents for an object. The call returns
1831 all objects from the root of the directory up to the requested object.
1832 The API returns the number of paths based on user-defined
1833 C<MaxResults>, in case there are multiple paths to the parent. The
1834 order of the paths and nodes returned is consistent among multiple API
1835 calls unless the objects are deleted or moved. Paths not leading to the
1836 directory root are ignored from the target object.
1837  
1838  
1839 =head2 ListObjectParents
1840  
1841 =over
1842  
1843 =item DirectoryArn => Str
1844  
1845 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1846  
1847 =item [ConsistencyLevel => Str]
1848  
1849 =item [IncludeAllLinksToEachParent => Bool]
1850  
1851 =item [MaxResults => Int]
1852  
1853 =item [NextToken => Str]
1854  
1855  
1856 =back
1857  
1858 Each argument is described in detail in: L<Paws::CloudDirectory::ListObjectParents>
1859  
1860 Returns: a L<Paws::CloudDirectory::ListObjectParentsResponse> instance
1861  
1862 Lists parent objects that are associated with a given object in
1863 pagination fashion.
1864  
1865  
1866 =head2 ListObjectPolicies
1867  
1868 =over
1869  
1870 =item DirectoryArn => Str
1871  
1872 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1873  
1874 =item [ConsistencyLevel => Str]
1875  
1876 =item [MaxResults => Int]
1877  
1878 =item [NextToken => Str]
1879  
1880  
1881 =back
1882  
1883 Each argument is described in detail in: L<Paws::CloudDirectory::ListObjectPolicies>
1884  
1885 Returns: a L<Paws::CloudDirectory::ListObjectPoliciesResponse> instance
1886  
1887 Returns policies attached to an object in pagination fashion.
1888  
1889  
1890 =head2 ListOutgoingTypedLinks
1891  
1892 =over
1893  
1894 =item DirectoryArn => Str
1895  
1896 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
1897  
1898 =item [ConsistencyLevel => Str]
1899  
1900 =item [FilterAttributeRanges => ArrayRef[L<Paws::CloudDirectory::TypedLinkAttributeRange>]]
1901  
1902 =item [FilterTypedLink => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>]
1903  
1904 =item [MaxResults => Int]
1905  
1906 =item [NextToken => Str]
1907  
1908  
1909 =back
1910  
1911 Each argument is described in detail in: L<Paws::CloudDirectory::ListOutgoingTypedLinks>
1912  
1913 Returns: a L<Paws::CloudDirectory::ListOutgoingTypedLinksResponse> instance
1914  
1915 Returns a paginated list of all the outgoing TypedLinkSpecifier
1916 information for an object. It also supports filtering by typed link
1917 facet and identity attributes. For more information, see Typed Links
1918 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
1919  
1920  
1921 =head2 ListPolicyAttachments
1922  
1923 =over
1924  
1925 =item DirectoryArn => Str
1926  
1927 =item PolicyReference => L<Paws::CloudDirectory::ObjectReference>
1928  
1929 =item [ConsistencyLevel => Str]
1930  
1931 =item [MaxResults => Int]
1932  
1933 =item [NextToken => Str]
1934  
1935  
1936 =back
1937  
1938 Each argument is described in detail in: L<Paws::CloudDirectory::ListPolicyAttachments>
1939  
1940 Returns: a L<Paws::CloudDirectory::ListPolicyAttachmentsResponse> instance
1941  
1942 Returns all of the C<ObjectIdentifiers> to which a given policy is
1943 attached.
1944  
1945  
1946 =head2 ListPublishedSchemaArns
1947  
1948 =over
1949  
1950 =item [MaxResults => Int]
1951  
1952 =item [NextToken => Str]
1953  
1954 =item [SchemaArn => Str]
1955  
1956  
1957 =back
1958  
1959 Each argument is described in detail in: L<Paws::CloudDirectory::ListPublishedSchemaArns>
1960  
1961 Returns: a L<Paws::CloudDirectory::ListPublishedSchemaArnsResponse> instance
1962  
1963 Lists the major version families of each published schema. If a major
1964 version ARN is provided as C<SchemaArn>, the minor version revisions in
1965 that family are listed instead.
1966  
1967  
1968 =head2 ListTagsForResource
1969  
1970 =over
1971  
1972 =item ResourceArn => Str
1973  
1974 =item [MaxResults => Int]
1975  
1976 =item [NextToken => Str]
1977  
1978  
1979 =back
1980  
1981 Each argument is described in detail in: L<Paws::CloudDirectory::ListTagsForResource>
1982  
1983 Returns: a L<Paws::CloudDirectory::ListTagsForResourceResponse> instance
1984  
1985 Returns tags for a resource. Tagging is currently supported only for
1986 directories with a limit of 50 tags per directory. All 50 tags are
1987 returned for a given directory with this API call.
1988  
1989  
1990 =head2 ListTypedLinkFacetAttributes
1991  
1992 =over
1993  
1994 =item Name => Str
1995  
1996 =item SchemaArn => Str
1997  
1998 =item [MaxResults => Int]
1999  
2000 =item [NextToken => Str]
2001  
2002  
2003 =back
2004  
2005 Each argument is described in detail in: L<Paws::CloudDirectory::ListTypedLinkFacetAttributes>
2006  
2007 Returns: a L<Paws::CloudDirectory::ListTypedLinkFacetAttributesResponse> instance
2008  
2009 Returns a paginated list of all attribute definitions for a particular
2010 TypedLinkFacet. For more information, see Typed Links
2011 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
2012  
2013  
2014 =head2 ListTypedLinkFacetNames
2015  
2016 =over
2017  
2018 =item SchemaArn => Str
2019  
2020 =item [MaxResults => Int]
2021  
2022 =item [NextToken => Str]
2023  
2024  
2025 =back
2026  
2027 Each argument is described in detail in: L<Paws::CloudDirectory::ListTypedLinkFacetNames>
2028  
2029 Returns: a L<Paws::CloudDirectory::ListTypedLinkFacetNamesResponse> instance
2030  
2031 Returns a paginated list of C<TypedLink> facet names for a particular
2032 schema. For more information, see Typed Links
2033 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
2034  
2035  
2036 =head2 LookupPolicy
2037  
2038 =over
2039  
2040 =item DirectoryArn => Str
2041  
2042 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
2043  
2044 =item [MaxResults => Int]
2045  
2046 =item [NextToken => Str]
2047  
2048  
2049 =back
2050  
2051 Each argument is described in detail in: L<Paws::CloudDirectory::LookupPolicy>
2052  
2053 Returns: a L<Paws::CloudDirectory::LookupPolicyResponse> instance
2054  
2055 Lists all policies from the root of the Directory to the object
2056 specified. If there are no policies present, an empty list is returned.
2057 If policies are present, and if some objects don't have the policies
2058 attached, it returns the C<ObjectIdentifier> for such objects. If
2059 policies are present, it returns C<ObjectIdentifier>, C<policyId>, and
2060 C<policyType>. Paths that don't lead to the root from the target object
2061 are ignored. For more information, see Policies
2062 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies).
2063  
2064  
2065 =head2 PublishSchema
2066  
2067 =over
2068  
2069 =item DevelopmentSchemaArn => Str
2070  
2071 =item Version => Str
2072  
2073 =item [MinorVersion => Str]
2074  
2075 =item [Name => Str]
2076  
2077  
2078 =back
2079  
2080 Each argument is described in detail in: L<Paws::CloudDirectory::PublishSchema>
2081  
2082 Returns: a L<Paws::CloudDirectory::PublishSchemaResponse> instance
2083  
2084 Publishes a development schema with a major version and a recommended
2085 minor version.
2086  
2087  
2088 =head2 PutSchemaFromJson
2089  
2090 =over
2091  
2092 =item Document => Str
2093  
2094 =item SchemaArn => Str
2095  
2096  
2097 =back
2098  
2099 Each argument is described in detail in: L<Paws::CloudDirectory::PutSchemaFromJson>
2100  
2101 Returns: a L<Paws::CloudDirectory::PutSchemaFromJsonResponse> instance
2102  
2103 Allows a schema to be updated using JSON upload. Only available for
2104 development schemas. See JSON Schema Format
2105 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_jsonformat.html#schemas_json)
2106 for more information.
2107  
2108  
2109 =head2 RemoveFacetFromObject
2110  
2111 =over
2112  
2113 =item DirectoryArn => Str
2114  
2115 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
2116  
2117 =item SchemaFacet => L<Paws::CloudDirectory::SchemaFacet>
2118  
2119  
2120 =back
2121  
2122 Each argument is described in detail in: L<Paws::CloudDirectory::RemoveFacetFromObject>
2123  
2124 Returns: a L<Paws::CloudDirectory::RemoveFacetFromObjectResponse> instance
2125  
2126 Removes the specified facet from the specified object.
2127  
2128  
2129 =head2 TagResource
2130  
2131 =over
2132  
2133 =item ResourceArn => Str
2134  
2135 =item Tags => ArrayRef[L<Paws::CloudDirectory::Tag>]
2136  
2137  
2138 =back
2139  
2140 Each argument is described in detail in: L<Paws::CloudDirectory::TagResource>
2141  
2142 Returns: a L<Paws::CloudDirectory::TagResourceResponse> instance
2143  
2144 An API operation for adding tags to a resource.
2145  
2146  
2147 =head2 UntagResource
2148  
2149 =over
2150  
2151 =item ResourceArn => Str
2152  
2153 =item TagKeys => ArrayRef[Str|Undef]
2154  
2155  
2156 =back
2157  
2158 Each argument is described in detail in: L<Paws::CloudDirectory::UntagResource>
2159  
2160 Returns: a L<Paws::CloudDirectory::UntagResourceResponse> instance
2161  
2162 An API operation for removing tags from a resource.
2163  
2164  
2165 =head2 UpdateFacet
2166  
2167 =over
2168  
2169 =item Name => Str
2170  
2171 =item SchemaArn => Str
2172  
2173 =item [AttributeUpdates => ArrayRef[L<Paws::CloudDirectory::FacetAttributeUpdate>]]
2174  
2175 =item [ObjectType => Str]
2176  
2177  
2178 =back
2179  
2180 Each argument is described in detail in: L<Paws::CloudDirectory::UpdateFacet>
2181  
2182 Returns: a L<Paws::CloudDirectory::UpdateFacetResponse> instance
2183  
2184 Does the following:
2185  
2186 =over
2187  
2188 =item 1.
2189  
2190 Adds new C<Attributes>, C<Rules>, or C<ObjectTypes>.
2191  
2192 =item 2.
2193  
2194 Updates existing C<Attributes>, C<Rules>, or C<ObjectTypes>.
2195  
2196 =item 3.
2197  
2198 Deletes existing C<Attributes>, C<Rules>, or C<ObjectTypes>.
2199  
2200 =back
2201  
2202  
2203  
2204 =head2 UpdateLinkAttributes
2205  
2206 =over
2207  
2208 =item AttributeUpdates => ArrayRef[L<Paws::CloudDirectory::LinkAttributeUpdate>]
2209  
2210 =item DirectoryArn => Str
2211  
2212 =item TypedLinkSpecifier => L<Paws::CloudDirectory::TypedLinkSpecifier>
2213  
2214  
2215 =back
2216  
2217 Each argument is described in detail in: L<Paws::CloudDirectory::UpdateLinkAttributes>
2218  
2219 Returns: a L<Paws::CloudDirectory::UpdateLinkAttributesResponse> instance
2220  
2221 Updates a given typed linkE<rsquo>s attributes. Attributes to be
2222 updated must not contribute to the typed linkE<rsquo>s identity, as
2223 defined by its C<IdentityAttributeOrder>.
2224  
2225  
2226 =head2 UpdateObjectAttributes
2227  
2228 =over
2229  
2230 =item AttributeUpdates => ArrayRef[L<Paws::CloudDirectory::ObjectAttributeUpdate>]
2231  
2232 =item DirectoryArn => Str
2233  
2234 =item ObjectReference => L<Paws::CloudDirectory::ObjectReference>
2235  
2236  
2237 =back
2238  
2239 Each argument is described in detail in: L<Paws::CloudDirectory::UpdateObjectAttributes>
2240  
2241 Returns: a L<Paws::CloudDirectory::UpdateObjectAttributesResponse> instance
2242  
2243 Updates a given object's attributes.
2244  
2245  
2246 =head2 UpdateSchema
2247  
2248 =over
2249  
2250 =item Name => Str
2251  
2252 =item SchemaArn => Str
2253  
2254  
2255 =back
2256  
2257 Each argument is described in detail in: L<Paws::CloudDirectory::UpdateSchema>
2258  
2259 Returns: a L<Paws::CloudDirectory::UpdateSchemaResponse> instance
2260  
2261 Updates the schema name with a new name. Only development schema names
2262 can be updated.
2263  
2264  
2265 =head2 UpdateTypedLinkFacet
2266  
2267 =over
2268  
2269 =item AttributeUpdates => ArrayRef[L<Paws::CloudDirectory::TypedLinkFacetAttributeUpdate>]
2270  
2271 =item IdentityAttributeOrder => ArrayRef[Str|Undef]
2272  
2273 =item Name => Str
2274  
2275 =item SchemaArn => Str
2276  
2277  
2278 =back
2279  
2280 Each argument is described in detail in: L<Paws::CloudDirectory::UpdateTypedLinkFacet>
2281  
2282 Returns: a L<Paws::CloudDirectory::UpdateTypedLinkFacetResponse> instance
2283  
2284 Updates a TypedLinkFacet. For more information, see Typed Links
2285 (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink).
2286  
2287  
2288 =head2 UpgradeAppliedSchema
2289  
2290 =over
2291  
2292 =item DirectoryArn => Str
2293  
2294 =item PublishedSchemaArn => Str
2295  
2296 =item [DryRun => Bool]
2297  
2298  
2299 =back
2300  
2301 Each argument is described in detail in: L<Paws::CloudDirectory::UpgradeAppliedSchema>
2302  
2303 Returns: a L<Paws::CloudDirectory::UpgradeAppliedSchemaResponse> instance
2304  
2305 Upgrades a single directory in-place using the C<PublishedSchemaArn>
2306 with schema updates found in C<MinorVersion>. Backwards-compatible
2307 minor version upgrades are instantaneously available for readers on all
2308 objects in the directory. Note: This is a synchronous API call and
2309 upgrades only one schema on a given directory per call. To upgrade
2310 multiple directories from one schema, you would need to call this API
2311 on each directory.
2312  
2313  
2314 =head2 UpgradePublishedSchema
2315  
2316 =over
2317  
2318 =item DevelopmentSchemaArn => Str
2319  
2320 =item MinorVersion => Str
2321  
2322 =item PublishedSchemaArn => Str
2323  
2324 =item [DryRun => Bool]
2325  
2326  
2327 =back
2328  
2329 Each argument is described in detail in: L<Paws::CloudDirectory::UpgradePublishedSchema>
2330  
2331 Returns: a L<Paws::CloudDirectory::UpgradePublishedSchemaResponse> instance
2332  
2333 Upgrades a published schema under a new minor version revision using
2334 the current contents of C<DevelopmentSchemaArn>.
2335  
2336  
2337  
2338  
2339 =head1 PAGINATORS
2340  
2341 Paginator methods are helpers that repetively call methods that return partial results
2342  
2343 =head2 ListAllAppliedSchemaArns(sub { },DirectoryArn => Str, [MaxResults => Int, NextToken => Str, SchemaArn => Str])
2344  
2345 =head2 ListAllAppliedSchemaArns(DirectoryArn => Str, [MaxResults => Int, NextToken => Str, SchemaArn => Str])
2346  
2347  
2348 If passed a sub as first parameter, it will call the sub for each element found in :
2349  
2350 - SchemaArns, passing the object as the first parameter, and the string 'SchemaArns' as the second parameter
2351  
2352 If not, it will return a a L<Paws::CloudDirectory::ListAppliedSchemaArnsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2353  
2354  
2355 =head2 ListAllAttachedIndices(sub { },DirectoryArn => Str, TargetReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str])
2356  
2357 =head2 ListAllAttachedIndices(DirectoryArn => Str, TargetReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str])
2358  
2359  
2360 If passed a sub as first parameter, it will call the sub for each element found in :
2361  
2362 - IndexAttachments, passing the object as the first parameter, and the string 'IndexAttachments' as the second parameter
2363  
2364 If not, it will return a a L<Paws::CloudDirectory::ListAttachedIndicesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2365  
2366  
2367 =head2 ListAllDevelopmentSchemaArns(sub { },[MaxResults => Int, NextToken => Str])
2368  
2369 =head2 ListAllDevelopmentSchemaArns([MaxResults => Int, NextToken => Str])
2370  
2371  
2372 If passed a sub as first parameter, it will call the sub for each element found in :
2373  
2374 - SchemaArns, passing the object as the first parameter, and the string 'SchemaArns' as the second parameter
2375  
2376 If not, it will return a a L<Paws::CloudDirectory::ListDevelopmentSchemaArnsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2377  
2378  
2379 =head2 ListAllDirectories(sub { },[MaxResults => Int, NextToken => Str, State => Str])
2380  
2381 =head2 ListAllDirectories([MaxResults => Int, NextToken => Str, State => Str])
2382  
2383  
2384 If passed a sub as first parameter, it will call the sub for each element found in :
2385  
2386 - Directories, passing the object as the first parameter, and the string 'Directories' as the second parameter
2387  
2388 If not, it will return a a L<Paws::CloudDirectory::ListDirectoriesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2389  
2390  
2391 =head2 ListAllFacetAttributes(sub { },Name => Str, SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2392  
2393 =head2 ListAllFacetAttributes(Name => Str, SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2394  
2395  
2396 If passed a sub as first parameter, it will call the sub for each element found in :
2397  
2398 - Attributes, passing the object as the first parameter, and the string 'Attributes' as the second parameter
2399  
2400 If not, it will return a a L<Paws::CloudDirectory::ListFacetAttributesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2401  
2402  
2403 =head2 ListAllFacetNames(sub { },SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2404  
2405 =head2 ListAllFacetNames(SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2406  
2407  
2408 If passed a sub as first parameter, it will call the sub for each element found in :
2409  
2410 - FacetNames, passing the object as the first parameter, and the string 'FacetNames' as the second parameter
2411  
2412 If not, it will return a a L<Paws::CloudDirectory::ListFacetNamesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2413  
2414  
2415 =head2 ListAllIncomingTypedLinks(sub { },DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, FilterAttributeRanges => ArrayRef[L<Paws::CloudDirectory::TypedLinkAttributeRange>], FilterTypedLink => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>, MaxResults => Int, NextToken => Str])
2416  
2417 =head2 ListAllIncomingTypedLinks(DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, FilterAttributeRanges => ArrayRef[L<Paws::CloudDirectory::TypedLinkAttributeRange>], FilterTypedLink => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>, MaxResults => Int, NextToken => Str])
2418  
2419  
2420 If passed a sub as first parameter, it will call the sub for each element found in :
2421  
2422 - LinkSpecifiers, passing the object as the first parameter, and the string 'LinkSpecifiers' as the second parameter
2423  
2424 If not, it will return a a L<Paws::CloudDirectory::ListIncomingTypedLinksResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2425  
2426  
2427 =head2 ListAllIndex(sub { },DirectoryArn => Str, IndexReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str, RangesOnIndexedValues => ArrayRef[L<Paws::CloudDirectory::ObjectAttributeRange>]])
2428  
2429 =head2 ListAllIndex(DirectoryArn => Str, IndexReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str, RangesOnIndexedValues => ArrayRef[L<Paws::CloudDirectory::ObjectAttributeRange>]])
2430  
2431  
2432 If passed a sub as first parameter, it will call the sub for each element found in :
2433  
2434 - IndexAttachments, passing the object as the first parameter, and the string 'IndexAttachments' as the second parameter
2435  
2436 If not, it will return a a L<Paws::CloudDirectory::ListIndexResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2437  
2438  
2439 =head2 ListAllManagedSchemaArns(sub { },[MaxResults => Int, NextToken => Str, SchemaArn => Str])
2440  
2441 =head2 ListAllManagedSchemaArns([MaxResults => Int, NextToken => Str, SchemaArn => Str])
2442  
2443  
2444 If passed a sub as first parameter, it will call the sub for each element found in :
2445  
2446 - SchemaArns, passing the object as the first parameter, and the string 'SchemaArns' as the second parameter
2447  
2448 If not, it will return a a L<Paws::CloudDirectory::ListManagedSchemaArnsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2449  
2450  
2451 =head2 ListAllObjectAttributes(sub { },DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, FacetFilter => L<Paws::CloudDirectory::SchemaFacet>, MaxResults => Int, NextToken => Str])
2452  
2453 =head2 ListAllObjectAttributes(DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, FacetFilter => L<Paws::CloudDirectory::SchemaFacet>, MaxResults => Int, NextToken => Str])
2454  
2455  
2456 If passed a sub as first parameter, it will call the sub for each element found in :
2457  
2458 - Attributes, passing the object as the first parameter, and the string 'Attributes' as the second parameter
2459  
2460 If not, it will return a a L<Paws::CloudDirectory::ListObjectAttributesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2461  
2462  
2463 =head2 ListAllObjectParentPaths(sub { },DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [MaxResults => Int, NextToken => Str])
2464  
2465 =head2 ListAllObjectParentPaths(DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [MaxResults => Int, NextToken => Str])
2466  
2467  
2468 If passed a sub as first parameter, it will call the sub for each element found in :
2469  
2470 - PathToObjectIdentifiersList, passing the object as the first parameter, and the string 'PathToObjectIdentifiersList' as the second parameter
2471  
2472 If not, it will return a a L<Paws::CloudDirectory::ListObjectParentPathsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2473  
2474  
2475 =head2 ListAllObjectPolicies(sub { },DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str])
2476  
2477 =head2 ListAllObjectPolicies(DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str])
2478  
2479  
2480 If passed a sub as first parameter, it will call the sub for each element found in :
2481  
2482 - AttachedPolicyIds, passing the object as the first parameter, and the string 'AttachedPolicyIds' as the second parameter
2483  
2484 If not, it will return a a L<Paws::CloudDirectory::ListObjectPoliciesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2485  
2486  
2487 =head2 ListAllOutgoingTypedLinks(sub { },DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, FilterAttributeRanges => ArrayRef[L<Paws::CloudDirectory::TypedLinkAttributeRange>], FilterTypedLink => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>, MaxResults => Int, NextToken => Str])
2488  
2489 =head2 ListAllOutgoingTypedLinks(DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, FilterAttributeRanges => ArrayRef[L<Paws::CloudDirectory::TypedLinkAttributeRange>], FilterTypedLink => L<Paws::CloudDirectory::TypedLinkSchemaAndFacetName>, MaxResults => Int, NextToken => Str])
2490  
2491  
2492 If passed a sub as first parameter, it will call the sub for each element found in :
2493  
2494 - TypedLinkSpecifiers, passing the object as the first parameter, and the string 'TypedLinkSpecifiers' as the second parameter
2495  
2496 If not, it will return a a L<Paws::CloudDirectory::ListOutgoingTypedLinksResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2497  
2498  
2499 =head2 ListAllPolicyAttachments(sub { },DirectoryArn => Str, PolicyReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str])
2500  
2501 =head2 ListAllPolicyAttachments(DirectoryArn => Str, PolicyReference => L<Paws::CloudDirectory::ObjectReference>, [ConsistencyLevel => Str, MaxResults => Int, NextToken => Str])
2502  
2503  
2504 If passed a sub as first parameter, it will call the sub for each element found in :
2505  
2506 - ObjectIdentifiers, passing the object as the first parameter, and the string 'ObjectIdentifiers' as the second parameter
2507  
2508 If not, it will return a a L<Paws::CloudDirectory::ListPolicyAttachmentsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2509  
2510  
2511 =head2 ListAllPublishedSchemaArns(sub { },[MaxResults => Int, NextToken => Str, SchemaArn => Str])
2512  
2513 =head2 ListAllPublishedSchemaArns([MaxResults => Int, NextToken => Str, SchemaArn => Str])
2514  
2515  
2516 If passed a sub as first parameter, it will call the sub for each element found in :
2517  
2518 - SchemaArns, passing the object as the first parameter, and the string 'SchemaArns' as the second parameter
2519  
2520 If not, it will return a a L<Paws::CloudDirectory::ListPublishedSchemaArnsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2521  
2522  
2523 =head2 ListAllTagsForResource(sub { },ResourceArn => Str, [MaxResults => Int, NextToken => Str])
2524  
2525 =head2 ListAllTagsForResource(ResourceArn => Str, [MaxResults => Int, NextToken => Str])
2526  
2527  
2528 If passed a sub as first parameter, it will call the sub for each element found in :
2529  
2530 - Tags, passing the object as the first parameter, and the string 'Tags' as the second parameter
2531  
2532 If not, it will return a a L<Paws::CloudDirectory::ListTagsForResourceResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2533  
2534  
2535 =head2 ListAllTypedLinkFacetAttributes(sub { },Name => Str, SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2536  
2537 =head2 ListAllTypedLinkFacetAttributes(Name => Str, SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2538  
2539  
2540 If passed a sub as first parameter, it will call the sub for each element found in :
2541  
2542 - Attributes, passing the object as the first parameter, and the string 'Attributes' as the second parameter
2543  
2544 If not, it will return a a L<Paws::CloudDirectory::ListTypedLinkFacetAttributesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2545  
2546  
2547 =head2 ListAllTypedLinkFacetNames(sub { },SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2548  
2549 =head2 ListAllTypedLinkFacetNames(SchemaArn => Str, [MaxResults => Int, NextToken => Str])
2550  
2551  
2552 If passed a sub as first parameter, it will call the sub for each element found in :
2553  
2554 - FacetNames, passing the object as the first parameter, and the string 'FacetNames' as the second parameter
2555  
2556 If not, it will return a a L<Paws::CloudDirectory::ListTypedLinkFacetNamesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2557  
2558  
2559 =head2 LookupAllPolicies(sub { },DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [MaxResults => Int, NextToken => Str])
2560  
2561 =head2 LookupAllPolicies(DirectoryArn => Str, ObjectReference => L<Paws::CloudDirectory::ObjectReference>, [MaxResults => Int, NextToken => Str])
2562  
2563  
2564 If passed a sub as first parameter, it will call the sub for each element found in :
2565  
2566 - PolicyToPathList, passing the object as the first parameter, and the string 'PolicyToPathList' as the second parameter
2567  
2568 If not, it will return a a L<Paws::CloudDirectory::LookupPolicyResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2569  
2570  
2571  
2572  
2573  
2574 =head1 SEE ALSO
2575  
2576 This service class forms part of L<Paws>
2577  
2578 =head1 BUGS and CONTRIBUTIONS
2579  
2580 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
2581  
2582 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
2583  
2584 =cut
2585