| 1 | package Paws::IoTThingsGraph; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'iotthingsgraph' } | ||
| 4 | sub signing_name { 'iotthingsgraph' } | ||
| 5 | sub version { '2018-09-06' } | ||
| 6 | sub target_prefix { 'IotThingsGraphFrontEndService' } | ||
| 7 | sub json_version { "1.1" } | ||
| 8 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 9 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 10 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 11 | }); | ||
| 12 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 13 | ] }); | ||
| 14 | |||
| 15 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller'; | ||
| 16 | |||
| 17 | |||
| 18 | sub AssociateEntityToThing { | ||
| 19 | my $self = shift; | ||
| 20 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::AssociateEntityToThing', @_); | ||
| 21 | return $self->caller->do_call($self, $call_object); | ||
| 22 | } | ||
| 23 | sub CreateFlowTemplate { | ||
| 24 | my $self = shift; | ||
| 25 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::CreateFlowTemplate', @_); | ||
| 26 | return $self->caller->do_call($self, $call_object); | ||
| 27 | } | ||
| 28 | sub CreateSystemInstance { | ||
| 29 | my $self = shift; | ||
| 30 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::CreateSystemInstance', @_); | ||
| 31 | return $self->caller->do_call($self, $call_object); | ||
| 32 | } | ||
| 33 | sub CreateSystemTemplate { | ||
| 34 | my $self = shift; | ||
| 35 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::CreateSystemTemplate', @_); | ||
| 36 | return $self->caller->do_call($self, $call_object); | ||
| 37 | } | ||
| 38 | sub DeleteFlowTemplate { | ||
| 39 | my $self = shift; | ||
| 40 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DeleteFlowTemplate', @_); | ||
| 41 | return $self->caller->do_call($self, $call_object); | ||
| 42 | } | ||
| 43 | sub DeleteNamespace { | ||
| 44 | my $self = shift; | ||
| 45 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DeleteNamespace', @_); | ||
| 46 | return $self->caller->do_call($self, $call_object); | ||
| 47 | } | ||
| 48 | sub DeleteSystemInstance { | ||
| 49 | my $self = shift; | ||
| 50 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DeleteSystemInstance', @_); | ||
| 51 | return $self->caller->do_call($self, $call_object); | ||
| 52 | } | ||
| 53 | sub DeleteSystemTemplate { | ||
| 54 | my $self = shift; | ||
| 55 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DeleteSystemTemplate', @_); | ||
| 56 | return $self->caller->do_call($self, $call_object); | ||
| 57 | } | ||
| 58 | sub DeploySystemInstance { | ||
| 59 | my $self = shift; | ||
| 60 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DeploySystemInstance', @_); | ||
| 61 | return $self->caller->do_call($self, $call_object); | ||
| 62 | } | ||
| 63 | sub DeprecateFlowTemplate { | ||
| 64 | my $self = shift; | ||
| 65 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DeprecateFlowTemplate', @_); | ||
| 66 | return $self->caller->do_call($self, $call_object); | ||
| 67 | } | ||
| 68 | sub DeprecateSystemTemplate { | ||
| 69 | my $self = shift; | ||
| 70 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DeprecateSystemTemplate', @_); | ||
| 71 | return $self->caller->do_call($self, $call_object); | ||
| 72 | } | ||
| 73 | sub DescribeNamespace { | ||
| 74 | my $self = shift; | ||
| 75 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DescribeNamespace', @_); | ||
| 76 | return $self->caller->do_call($self, $call_object); | ||
| 77 | } | ||
| 78 | sub DissociateEntityFromThing { | ||
| 79 | my $self = shift; | ||
| 80 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::DissociateEntityFromThing', @_); | ||
| 81 | return $self->caller->do_call($self, $call_object); | ||
| 82 | } | ||
| 83 | sub GetEntities { | ||
| 84 | my $self = shift; | ||
| 85 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetEntities', @_); | ||
| 86 | return $self->caller->do_call($self, $call_object); | ||
| 87 | } | ||
| 88 | sub GetFlowTemplate { | ||
| 89 | my $self = shift; | ||
| 90 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetFlowTemplate', @_); | ||
| 91 | return $self->caller->do_call($self, $call_object); | ||
| 92 | } | ||
| 93 | sub GetFlowTemplateRevisions { | ||
| 94 | my $self = shift; | ||
| 95 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetFlowTemplateRevisions', @_); | ||
| 96 | return $self->caller->do_call($self, $call_object); | ||
| 97 | } | ||
| 98 | sub GetNamespaceDeletionStatus { | ||
| 99 | my $self = shift; | ||
| 100 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetNamespaceDeletionStatus', @_); | ||
| 101 | return $self->caller->do_call($self, $call_object); | ||
| 102 | } | ||
| 103 | sub GetSystemInstance { | ||
| 104 | my $self = shift; | ||
| 105 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetSystemInstance', @_); | ||
| 106 | return $self->caller->do_call($self, $call_object); | ||
| 107 | } | ||
| 108 | sub GetSystemTemplate { | ||
| 109 | my $self = shift; | ||
| 110 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetSystemTemplate', @_); | ||
| 111 | return $self->caller->do_call($self, $call_object); | ||
| 112 | } | ||
| 113 | sub GetSystemTemplateRevisions { | ||
| 114 | my $self = shift; | ||
| 115 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetSystemTemplateRevisions', @_); | ||
| 116 | return $self->caller->do_call($self, $call_object); | ||
| 117 | } | ||
| 118 | sub GetUploadStatus { | ||
| 119 | my $self = shift; | ||
| 120 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::GetUploadStatus', @_); | ||
| 121 | return $self->caller->do_call($self, $call_object); | ||
| 122 | } | ||
| 123 | sub ListFlowExecutionMessages { | ||
| 124 | my $self = shift; | ||
| 125 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::ListFlowExecutionMessages', @_); | ||
| 126 | return $self->caller->do_call($self, $call_object); | ||
| 127 | } | ||
| 128 | sub ListTagsForResource { | ||
| 129 | my $self = shift; | ||
| 130 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::ListTagsForResource', @_); | ||
| 131 | return $self->caller->do_call($self, $call_object); | ||
| 132 | } | ||
| 133 | sub SearchEntities { | ||
| 134 | my $self = shift; | ||
| 135 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::SearchEntities', @_); | ||
| 136 | return $self->caller->do_call($self, $call_object); | ||
| 137 | } | ||
| 138 | sub SearchFlowExecutions { | ||
| 139 | my $self = shift; | ||
| 140 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::SearchFlowExecutions', @_); | ||
| 141 | return $self->caller->do_call($self, $call_object); | ||
| 142 | } | ||
| 143 | sub SearchFlowTemplates { | ||
| 144 | my $self = shift; | ||
| 145 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::SearchFlowTemplates', @_); | ||
| 146 | return $self->caller->do_call($self, $call_object); | ||
| 147 | } | ||
| 148 | sub SearchSystemInstances { | ||
| 149 | my $self = shift; | ||
| 150 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::SearchSystemInstances', @_); | ||
| 151 | return $self->caller->do_call($self, $call_object); | ||
| 152 | } | ||
| 153 | sub SearchSystemTemplates { | ||
| 154 | my $self = shift; | ||
| 155 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::SearchSystemTemplates', @_); | ||
| 156 | return $self->caller->do_call($self, $call_object); | ||
| 157 | } | ||
| 158 | sub SearchThings { | ||
| 159 | my $self = shift; | ||
| 160 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::SearchThings', @_); | ||
| 161 | return $self->caller->do_call($self, $call_object); | ||
| 162 | } | ||
| 163 | sub TagResource { | ||
| 164 | my $self = shift; | ||
| 165 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::TagResource', @_); | ||
| 166 | return $self->caller->do_call($self, $call_object); | ||
| 167 | } | ||
| 168 | sub UndeploySystemInstance { | ||
| 169 | my $self = shift; | ||
| 170 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::UndeploySystemInstance', @_); | ||
| 171 | return $self->caller->do_call($self, $call_object); | ||
| 172 | } | ||
| 173 | sub UntagResource { | ||
| 174 | my $self = shift; | ||
| 175 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::UntagResource', @_); | ||
| 176 | return $self->caller->do_call($self, $call_object); | ||
| 177 | } | ||
| 178 | sub UpdateFlowTemplate { | ||
| 179 | my $self = shift; | ||
| 180 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::UpdateFlowTemplate', @_); | ||
| 181 | return $self->caller->do_call($self, $call_object); | ||
| 182 | } | ||
| 183 | sub UpdateSystemTemplate { | ||
| 184 | my $self = shift; | ||
| 185 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::UpdateSystemTemplate', @_); | ||
| 186 | return $self->caller->do_call($self, $call_object); | ||
| 187 | } | ||
| 188 | sub UploadEntityDefinitions { | ||
| 189 | my $self = shift; | ||
| 190 | my $call_object = $self->new_with_coercions('Paws::IoTThingsGraph::UploadEntityDefinitions', @_); | ||
| 191 | return $self->caller->do_call($self, $call_object); | ||
| 192 | } | ||
| 193 | |||
| 194 | sub GetAllFlowTemplateRevisions { | ||
| 195 | my $self = shift; | ||
| 196 | |||
| 197 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 198 | my $result = $self->GetFlowTemplateRevisions(@_); | ||
| 199 | my $next_result = $result; | ||
| 200 | |||
| 201 | if (not defined $callback) { | ||
| 202 | while ($next_result->nextToken) { | ||
| 203 | $next_result = $self->GetFlowTemplateRevisions(@_, nextToken => $next_result->nextToken); | ||
| 204 | push @{ $result->summaries }, @{ $next_result->summaries }; | ||
| 205 | } | ||
| 206 | return $result; | ||
| 207 | } else { | ||
| 208 | while ($result->nextToken) { | ||
| 209 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 210 | $result = $self->GetFlowTemplateRevisions(@_, nextToken => $result->nextToken); | ||
| 211 | } | ||
| 212 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 213 | } | ||
| 214 | |||
| 215 | return undef | ||
| 216 | } | ||
| 217 | sub GetAllSystemTemplateRevisions { | ||
| 218 | my $self = shift; | ||
| 219 | |||
| 220 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 221 | my $result = $self->GetSystemTemplateRevisions(@_); | ||
| 222 | my $next_result = $result; | ||
| 223 | |||
| 224 | if (not defined $callback) { | ||
| 225 | while ($next_result->nextToken) { | ||
| 226 | $next_result = $self->GetSystemTemplateRevisions(@_, nextToken => $next_result->nextToken); | ||
| 227 | push @{ $result->summaries }, @{ $next_result->summaries }; | ||
| 228 | } | ||
| 229 | return $result; | ||
| 230 | } else { | ||
| 231 | while ($result->nextToken) { | ||
| 232 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 233 | $result = $self->GetSystemTemplateRevisions(@_, nextToken => $result->nextToken); | ||
| 234 | } | ||
| 235 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 236 | } | ||
| 237 | |||
| 238 | return undef | ||
| 239 | } | ||
| 240 | sub ListAllFlowExecutionMessages { | ||
| 241 | my $self = shift; | ||
| 242 | |||
| 243 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 244 | my $result = $self->ListFlowExecutionMessages(@_); | ||
| 245 | my $next_result = $result; | ||
| 246 | |||
| 247 | if (not defined $callback) { | ||
| 248 | while ($next_result->nextToken) { | ||
| 249 | $next_result = $self->ListFlowExecutionMessages(@_, nextToken => $next_result->nextToken); | ||
| 250 | push @{ $result->messages }, @{ $next_result->messages }; | ||
| 251 | } | ||
| 252 | return $result; | ||
| 253 | } else { | ||
| 254 | while ($result->nextToken) { | ||
| 255 | $callback->($_ => 'messages') foreach (@{ $result->messages }); | ||
| 256 | $result = $self->ListFlowExecutionMessages(@_, nextToken => $result->nextToken); | ||
| 257 | } | ||
| 258 | $callback->($_ => 'messages') foreach (@{ $result->messages }); | ||
| 259 | } | ||
| 260 | |||
| 261 | return undef | ||
| 262 | } | ||
| 263 | sub ListAllTagsForResource { | ||
| 264 | my $self = shift; | ||
| 265 | |||
| 266 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 267 | my $result = $self->ListTagsForResource(@_); | ||
| 268 | my $next_result = $result; | ||
| 269 | |||
| 270 | if (not defined $callback) { | ||
| 271 | while ($next_result->nextToken) { | ||
| 272 | $next_result = $self->ListTagsForResource(@_, nextToken => $next_result->nextToken); | ||
| 273 | push @{ $result->tags }, @{ $next_result->tags }; | ||
| 274 | } | ||
| 275 | return $result; | ||
| 276 | } else { | ||
| 277 | while ($result->nextToken) { | ||
| 278 | $callback->($_ => 'tags') foreach (@{ $result->tags }); | ||
| 279 | $result = $self->ListTagsForResource(@_, nextToken => $result->nextToken); | ||
| 280 | } | ||
| 281 | $callback->($_ => 'tags') foreach (@{ $result->tags }); | ||
| 282 | } | ||
| 283 | |||
| 284 | return undef | ||
| 285 | } | ||
| 286 | sub SearchAllEntities { | ||
| 287 | my $self = shift; | ||
| 288 | |||
| 289 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 290 | my $result = $self->SearchEntities(@_); | ||
| 291 | my $next_result = $result; | ||
| 292 | |||
| 293 | if (not defined $callback) { | ||
| 294 | while ($next_result->nextToken) { | ||
| 295 | $next_result = $self->SearchEntities(@_, nextToken => $next_result->nextToken); | ||
| 296 | push @{ $result->descriptions }, @{ $next_result->descriptions }; | ||
| 297 | } | ||
| 298 | return $result; | ||
| 299 | } else { | ||
| 300 | while ($result->nextToken) { | ||
| 301 | $callback->($_ => 'descriptions') foreach (@{ $result->descriptions }); | ||
| 302 | $result = $self->SearchEntities(@_, nextToken => $result->nextToken); | ||
| 303 | } | ||
| 304 | $callback->($_ => 'descriptions') foreach (@{ $result->descriptions }); | ||
| 305 | } | ||
| 306 | |||
| 307 | return undef | ||
| 308 | } | ||
| 309 | sub SearchAllFlowExecutions { | ||
| 310 | my $self = shift; | ||
| 311 | |||
| 312 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 313 | my $result = $self->SearchFlowExecutions(@_); | ||
| 314 | my $next_result = $result; | ||
| 315 | |||
| 316 | if (not defined $callback) { | ||
| 317 | while ($next_result->nextToken) { | ||
| 318 | $next_result = $self->SearchFlowExecutions(@_, nextToken => $next_result->nextToken); | ||
| 319 | push @{ $result->summaries }, @{ $next_result->summaries }; | ||
| 320 | } | ||
| 321 | return $result; | ||
| 322 | } else { | ||
| 323 | while ($result->nextToken) { | ||
| 324 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 325 | $result = $self->SearchFlowExecutions(@_, nextToken => $result->nextToken); | ||
| 326 | } | ||
| 327 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 328 | } | ||
| 329 | |||
| 330 | return undef | ||
| 331 | } | ||
| 332 | sub SearchAllFlowTemplates { | ||
| 333 | my $self = shift; | ||
| 334 | |||
| 335 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 336 | my $result = $self->SearchFlowTemplates(@_); | ||
| 337 | my $next_result = $result; | ||
| 338 | |||
| 339 | if (not defined $callback) { | ||
| 340 | while ($next_result->nextToken) { | ||
| 341 | $next_result = $self->SearchFlowTemplates(@_, nextToken => $next_result->nextToken); | ||
| 342 | push @{ $result->summaries }, @{ $next_result->summaries }; | ||
| 343 | } | ||
| 344 | return $result; | ||
| 345 | } else { | ||
| 346 | while ($result->nextToken) { | ||
| 347 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 348 | $result = $self->SearchFlowTemplates(@_, nextToken => $result->nextToken); | ||
| 349 | } | ||
| 350 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 351 | } | ||
| 352 | |||
| 353 | return undef | ||
| 354 | } | ||
| 355 | sub SearchAllSystemInstances { | ||
| 356 | my $self = shift; | ||
| 357 | |||
| 358 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 359 | my $result = $self->SearchSystemInstances(@_); | ||
| 360 | my $next_result = $result; | ||
| 361 | |||
| 362 | if (not defined $callback) { | ||
| 363 | while ($next_result->nextToken) { | ||
| 364 | $next_result = $self->SearchSystemInstances(@_, nextToken => $next_result->nextToken); | ||
| 365 | push @{ $result->summaries }, @{ $next_result->summaries }; | ||
| 366 | } | ||
| 367 | return $result; | ||
| 368 | } else { | ||
| 369 | while ($result->nextToken) { | ||
| 370 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 371 | $result = $self->SearchSystemInstances(@_, nextToken => $result->nextToken); | ||
| 372 | } | ||
| 373 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 374 | } | ||
| 375 | |||
| 376 | return undef | ||
| 377 | } | ||
| 378 | sub SearchAllSystemTemplates { | ||
| 379 | my $self = shift; | ||
| 380 | |||
| 381 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 382 | my $result = $self->SearchSystemTemplates(@_); | ||
| 383 | my $next_result = $result; | ||
| 384 | |||
| 385 | if (not defined $callback) { | ||
| 386 | while ($next_result->nextToken) { | ||
| 387 | $next_result = $self->SearchSystemTemplates(@_, nextToken => $next_result->nextToken); | ||
| 388 | push @{ $result->summaries }, @{ $next_result->summaries }; | ||
| 389 | } | ||
| 390 | return $result; | ||
| 391 | } else { | ||
| 392 | while ($result->nextToken) { | ||
| 393 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 394 | $result = $self->SearchSystemTemplates(@_, nextToken => $result->nextToken); | ||
| 395 | } | ||
| 396 | $callback->($_ => 'summaries') foreach (@{ $result->summaries }); | ||
| 397 | } | ||
| 398 | |||
| 399 | return undef | ||
| 400 | } | ||
| 401 | sub SearchAllThings { | ||
| 402 | my $self = shift; | ||
| 403 | |||
| 404 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 405 | my $result = $self->SearchThings(@_); | ||
| 406 | my $next_result = $result; | ||
| 407 | |||
| 408 | if (not defined $callback) { | ||
| 409 | while ($next_result->nextToken) { | ||
| 410 | $next_result = $self->SearchThings(@_, nextToken => $next_result->nextToken); | ||
| 411 | push @{ $result->things }, @{ $next_result->things }; | ||
| 412 | } | ||
| 413 | return $result; | ||
| 414 | } else { | ||
| 415 | while ($result->nextToken) { | ||
| 416 | $callback->($_ => 'things') foreach (@{ $result->things }); | ||
| 417 | $result = $self->SearchThings(@_, nextToken => $result->nextToken); | ||
| 418 | } | ||
| 419 | $callback->($_ => 'things') foreach (@{ $result->things }); | ||
| 420 | } | ||
| 421 | |||
| 422 | return undef | ||
| 423 | } | ||
| 424 | |||
| 425 | |||
| 426 | sub operations { qw/AssociateEntityToThing CreateFlowTemplate CreateSystemInstance CreateSystemTemplate DeleteFlowTemplate DeleteNamespace DeleteSystemInstance DeleteSystemTemplate DeploySystemInstance DeprecateFlowTemplate DeprecateSystemTemplate DescribeNamespace DissociateEntityFromThing GetEntities GetFlowTemplate GetFlowTemplateRevisions GetNamespaceDeletionStatus GetSystemInstance GetSystemTemplate GetSystemTemplateRevisions GetUploadStatus ListFlowExecutionMessages ListTagsForResource SearchEntities SearchFlowExecutions SearchFlowTemplates SearchSystemInstances SearchSystemTemplates SearchThings TagResource UndeploySystemInstance UntagResource UpdateFlowTemplate UpdateSystemTemplate UploadEntityDefinitions / } | ||
| 427 | |||
| 428 | 1; | ||
| 429 | |||
| 430 | ### main pod documentation begin ### | ||
| 431 | |||
| 432 | =head1 NAME | ||
| 433 | |||
| 434 | Paws::IoTThingsGraph - Perl Interface to AWS AWS IoT Things Graph | ||
| 435 | |||
| 436 | =head1 SYNOPSIS | ||
| 437 | |||
| 438 | use Paws; | ||
| 439 | |||
| 440 | my $obj = Paws->service('IoTThingsGraph'); | ||
| 441 | my $res = $obj->Method( | ||
| 442 | Arg1 => $val1, | ||
| 443 | Arg2 => [ 'V1', 'V2' ], | ||
| 444 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 445 | # of the arguments type | ||
| 446 | Arg3 => { Att1 => 'Val1' }, | ||
| 447 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 448 | # the constructor of the arguments type | ||
| 449 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 450 | ); | ||
| 451 | |||
| 452 | =head1 DESCRIPTION | ||
| 453 | |||
| 454 | AWS IoT Things Graph | ||
| 455 | |||
| 456 | AWS IoT Things Graph provides an integrated set of tools that enable | ||
| 457 | developers to connect devices and services that use different | ||
| 458 | standards, such as units of measure and communication protocols. AWS | ||
| 459 | IoT Things Graph makes it possible to build IoT applications with | ||
| 460 | little to no code by connecting devices and services and defining how | ||
| 461 | they interact at an abstract level. | ||
| 462 | |||
| 463 | For more information about how AWS IoT Things Graph works, see the User | ||
| 464 | Guide | ||
| 465 | (https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-whatis.html). | ||
| 466 | |||
| 467 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06> | ||
| 468 | |||
| 469 | |||
| 470 | =head1 METHODS | ||
| 471 | |||
| 472 | =head2 AssociateEntityToThing | ||
| 473 | |||
| 474 | =over | ||
| 475 | |||
| 476 | =item EntityId => Str | ||
| 477 | |||
| 478 | =item ThingName => Str | ||
| 479 | |||
| 480 | =item [NamespaceVersion => Int] | ||
| 481 | |||
| 482 | |||
| 483 | =back | ||
| 484 | |||
| 485 | Each argument is described in detail in: L<Paws::IoTThingsGraph::AssociateEntityToThing> | ||
| 486 | |||
| 487 | Returns: a L<Paws::IoTThingsGraph::AssociateEntityToThingResponse> instance | ||
| 488 | |||
| 489 | Associates a device with a concrete thing that is in the user's | ||
| 490 | registry. | ||
| 491 | |||
| 492 | A thing can be associated with only one device at a time. If you | ||
| 493 | associate a thing with a new device id, its previous association will | ||
| 494 | be removed. | ||
| 495 | |||
| 496 | |||
| 497 | =head2 CreateFlowTemplate | ||
| 498 | |||
| 499 | =over | ||
| 500 | |||
| 501 | =item Definition => L<Paws::IoTThingsGraph::DefinitionDocument> | ||
| 502 | |||
| 503 | =item [CompatibleNamespaceVersion => Int] | ||
| 504 | |||
| 505 | |||
| 506 | =back | ||
| 507 | |||
| 508 | Each argument is described in detail in: L<Paws::IoTThingsGraph::CreateFlowTemplate> | ||
| 509 | |||
| 510 | Returns: a L<Paws::IoTThingsGraph::CreateFlowTemplateResponse> instance | ||
| 511 | |||
| 512 | Creates a workflow template. Workflows can be created only in the | ||
| 513 | user's namespace. (The public namespace contains only entities.) The | ||
| 514 | workflow can contain only entities in the specified namespace. The | ||
| 515 | workflow is validated against the entities in the latest version of the | ||
| 516 | user's namespace unless another namespace version is specified in the | ||
| 517 | request. | ||
| 518 | |||
| 519 | |||
| 520 | =head2 CreateSystemInstance | ||
| 521 | |||
| 522 | =over | ||
| 523 | |||
| 524 | =item Definition => L<Paws::IoTThingsGraph::DefinitionDocument> | ||
| 525 | |||
| 526 | =item Target => Str | ||
| 527 | |||
| 528 | =item [FlowActionsRoleArn => Str] | ||
| 529 | |||
| 530 | =item [GreengrassGroupName => Str] | ||
| 531 | |||
| 532 | =item [MetricsConfiguration => L<Paws::IoTThingsGraph::MetricsConfiguration>] | ||
| 533 | |||
| 534 | =item [S3BucketName => Str] | ||
| 535 | |||
| 536 | =item [Tags => ArrayRef[L<Paws::IoTThingsGraph::Tag>]] | ||
| 537 | |||
| 538 | |||
| 539 | =back | ||
| 540 | |||
| 541 | Each argument is described in detail in: L<Paws::IoTThingsGraph::CreateSystemInstance> | ||
| 542 | |||
| 543 | Returns: a L<Paws::IoTThingsGraph::CreateSystemInstanceResponse> instance | ||
| 544 | |||
| 545 | Creates a system instance. | ||
| 546 | |||
| 547 | This action validates the system instance, prepares the | ||
| 548 | deployment-related resources. For Greengrass deployments, it updates | ||
| 549 | the Greengrass group that is specified by the C<greengrassGroupName> | ||
| 550 | parameter. It also adds a file to the S3 bucket specified by the | ||
| 551 | C<s3BucketName> parameter. You need to call C<DeploySystemInstance> | ||
| 552 | after running this action. | ||
| 553 | |||
| 554 | For Greengrass deployments, since this action modifies and adds | ||
| 555 | resources to a Greengrass group and an S3 bucket on the caller's | ||
| 556 | behalf, the calling identity must have write permissions to both the | ||
| 557 | specified Greengrass group and S3 bucket. Otherwise, the call will fail | ||
| 558 | with an authorization error. | ||
| 559 | |||
| 560 | For cloud deployments, this action requires a C<flowActionsRoleArn> | ||
| 561 | value. This is an IAM role that has permissions to access AWS services, | ||
| 562 | such as AWS Lambda and AWS IoT, that the flow uses when it executes. | ||
| 563 | |||
| 564 | If the definition document doesn't specify a version of the user's | ||
| 565 | namespace, the latest version will be used by default. | ||
| 566 | |||
| 567 | |||
| 568 | =head2 CreateSystemTemplate | ||
| 569 | |||
| 570 | =over | ||
| 571 | |||
| 572 | =item Definition => L<Paws::IoTThingsGraph::DefinitionDocument> | ||
| 573 | |||
| 574 | =item [CompatibleNamespaceVersion => Int] | ||
| 575 | |||
| 576 | |||
| 577 | =back | ||
| 578 | |||
| 579 | Each argument is described in detail in: L<Paws::IoTThingsGraph::CreateSystemTemplate> | ||
| 580 | |||
| 581 | Returns: a L<Paws::IoTThingsGraph::CreateSystemTemplateResponse> instance | ||
| 582 | |||
| 583 | Creates a system. The system is validated against the entities in the | ||
| 584 | latest version of the user's namespace unless another namespace version | ||
| 585 | is specified in the request. | ||
| 586 | |||
| 587 | |||
| 588 | =head2 DeleteFlowTemplate | ||
| 589 | |||
| 590 | =over | ||
| 591 | |||
| 592 | =item Id => Str | ||
| 593 | |||
| 594 | |||
| 595 | =back | ||
| 596 | |||
| 597 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DeleteFlowTemplate> | ||
| 598 | |||
| 599 | Returns: a L<Paws::IoTThingsGraph::DeleteFlowTemplateResponse> instance | ||
| 600 | |||
| 601 | Deletes a workflow. Any new system or deployment that contains this | ||
| 602 | workflow will fail to update or deploy. Existing deployments that | ||
| 603 | contain the workflow will continue to run (since they use a snapshot of | ||
| 604 | the workflow taken at the time of deployment). | ||
| 605 | |||
| 606 | |||
| 607 | =head2 DeleteNamespace | ||
| 608 | |||
| 609 | |||
| 610 | |||
| 611 | |||
| 612 | |||
| 613 | |||
| 614 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DeleteNamespace> | ||
| 615 | |||
| 616 | Returns: a L<Paws::IoTThingsGraph::DeleteNamespaceResponse> instance | ||
| 617 | |||
| 618 | Deletes the specified namespace. This action deletes all of the | ||
| 619 | entities in the namespace. Delete the systems and flows that use | ||
| 620 | entities in the namespace before performing this action. | ||
| 621 | |||
| 622 | |||
| 623 | =head2 DeleteSystemInstance | ||
| 624 | |||
| 625 | =over | ||
| 626 | |||
| 627 | =item [Id => Str] | ||
| 628 | |||
| 629 | |||
| 630 | =back | ||
| 631 | |||
| 632 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DeleteSystemInstance> | ||
| 633 | |||
| 634 | Returns: a L<Paws::IoTThingsGraph::DeleteSystemInstanceResponse> instance | ||
| 635 | |||
| 636 | Deletes a system instance. Only system instances that have never been | ||
| 637 | deployed, or that have been undeployed can be deleted. | ||
| 638 | |||
| 639 | Users can create a new system instance that has the same ID as a | ||
| 640 | deleted system instance. | ||
| 641 | |||
| 642 | |||
| 643 | =head2 DeleteSystemTemplate | ||
| 644 | |||
| 645 | =over | ||
| 646 | |||
| 647 | =item Id => Str | ||
| 648 | |||
| 649 | |||
| 650 | =back | ||
| 651 | |||
| 652 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DeleteSystemTemplate> | ||
| 653 | |||
| 654 | Returns: a L<Paws::IoTThingsGraph::DeleteSystemTemplateResponse> instance | ||
| 655 | |||
| 656 | Deletes a system. New deployments can't contain the system after its | ||
| 657 | deletion. Existing deployments that contain the system will continue to | ||
| 658 | work because they use a snapshot of the system that is taken when it is | ||
| 659 | deployed. | ||
| 660 | |||
| 661 | |||
| 662 | =head2 DeploySystemInstance | ||
| 663 | |||
| 664 | =over | ||
| 665 | |||
| 666 | =item [Id => Str] | ||
| 667 | |||
| 668 | |||
| 669 | =back | ||
| 670 | |||
| 671 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DeploySystemInstance> | ||
| 672 | |||
| 673 | Returns: a L<Paws::IoTThingsGraph::DeploySystemInstanceResponse> instance | ||
| 674 | |||
| 675 | B<Greengrass and Cloud Deployments> | ||
| 676 | |||
| 677 | Deploys the system instance to the target specified in | ||
| 678 | C<CreateSystemInstance>. | ||
| 679 | |||
| 680 | B<Greengrass Deployments> | ||
| 681 | |||
| 682 | If the system or any workflows and entities have been updated before | ||
| 683 | this action is called, then the deployment will create a new Amazon | ||
| 684 | Simple Storage Service resource file and then deploy it. | ||
| 685 | |||
| 686 | Since this action creates a Greengrass deployment on the caller's | ||
| 687 | behalf, the calling identity must have write permissions to the | ||
| 688 | specified Greengrass group. Otherwise, the call will fail with an | ||
| 689 | authorization error. | ||
| 690 | |||
| 691 | For information about the artifacts that get added to your Greengrass | ||
| 692 | core device when you use this API, see AWS IoT Things Graph and AWS IoT | ||
| 693 | Greengrass | ||
| 694 | (https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-greengrass.html). | ||
| 695 | |||
| 696 | |||
| 697 | =head2 DeprecateFlowTemplate | ||
| 698 | |||
| 699 | =over | ||
| 700 | |||
| 701 | =item Id => Str | ||
| 702 | |||
| 703 | |||
| 704 | =back | ||
| 705 | |||
| 706 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DeprecateFlowTemplate> | ||
| 707 | |||
| 708 | Returns: a L<Paws::IoTThingsGraph::DeprecateFlowTemplateResponse> instance | ||
| 709 | |||
| 710 | Deprecates the specified workflow. This action marks the workflow for | ||
| 711 | deletion. Deprecated flows can't be deployed, but existing deployments | ||
| 712 | will continue to run. | ||
| 713 | |||
| 714 | |||
| 715 | =head2 DeprecateSystemTemplate | ||
| 716 | |||
| 717 | =over | ||
| 718 | |||
| 719 | =item Id => Str | ||
| 720 | |||
| 721 | |||
| 722 | =back | ||
| 723 | |||
| 724 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DeprecateSystemTemplate> | ||
| 725 | |||
| 726 | Returns: a L<Paws::IoTThingsGraph::DeprecateSystemTemplateResponse> instance | ||
| 727 | |||
| 728 | Deprecates the specified system. | ||
| 729 | |||
| 730 | |||
| 731 | =head2 DescribeNamespace | ||
| 732 | |||
| 733 | =over | ||
| 734 | |||
| 735 | =item [NamespaceName => Str] | ||
| 736 | |||
| 737 | |||
| 738 | =back | ||
| 739 | |||
| 740 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DescribeNamespace> | ||
| 741 | |||
| 742 | Returns: a L<Paws::IoTThingsGraph::DescribeNamespaceResponse> instance | ||
| 743 | |||
| 744 | Gets the latest version of the user's namespace and the public version | ||
| 745 | that it is tracking. | ||
| 746 | |||
| 747 | |||
| 748 | =head2 DissociateEntityFromThing | ||
| 749 | |||
| 750 | =over | ||
| 751 | |||
| 752 | =item EntityType => Str | ||
| 753 | |||
| 754 | =item ThingName => Str | ||
| 755 | |||
| 756 | |||
| 757 | =back | ||
| 758 | |||
| 759 | Each argument is described in detail in: L<Paws::IoTThingsGraph::DissociateEntityFromThing> | ||
| 760 | |||
| 761 | Returns: a L<Paws::IoTThingsGraph::DissociateEntityFromThingResponse> instance | ||
| 762 | |||
| 763 | Dissociates a device entity from a concrete thing. The action takes | ||
| 764 | only the type of the entity that you need to dissociate because only | ||
| 765 | one entity of a particular type can be associated with a thing. | ||
| 766 | |||
| 767 | |||
| 768 | =head2 GetEntities | ||
| 769 | |||
| 770 | =over | ||
| 771 | |||
| 772 | =item Ids => ArrayRef[Str|Undef] | ||
| 773 | |||
| 774 | =item [NamespaceVersion => Int] | ||
| 775 | |||
| 776 | |||
| 777 | =back | ||
| 778 | |||
| 779 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetEntities> | ||
| 780 | |||
| 781 | Returns: a L<Paws::IoTThingsGraph::GetEntitiesResponse> instance | ||
| 782 | |||
| 783 | Gets definitions of the specified entities. Uses the latest version of | ||
| 784 | the user's namespace by default. This API returns the following TDM | ||
| 785 | entities. | ||
| 786 | |||
| 787 | =over | ||
| 788 | |||
| 789 | =item * | ||
| 790 | |||
| 791 | Properties | ||
| 792 | |||
| 793 | =item * | ||
| 794 | |||
| 795 | States | ||
| 796 | |||
| 797 | =item * | ||
| 798 | |||
| 799 | Events | ||
| 800 | |||
| 801 | =item * | ||
| 802 | |||
| 803 | Actions | ||
| 804 | |||
| 805 | =item * | ||
| 806 | |||
| 807 | Capabilities | ||
| 808 | |||
| 809 | =item * | ||
| 810 | |||
| 811 | Mappings | ||
| 812 | |||
| 813 | =item * | ||
| 814 | |||
| 815 | Devices | ||
| 816 | |||
| 817 | =item * | ||
| 818 | |||
| 819 | Device Models | ||
| 820 | |||
| 821 | =item * | ||
| 822 | |||
| 823 | Services | ||
| 824 | |||
| 825 | =back | ||
| 826 | |||
| 827 | This action doesn't return definitions for systems, flows, and | ||
| 828 | deployments. | ||
| 829 | |||
| 830 | |||
| 831 | =head2 GetFlowTemplate | ||
| 832 | |||
| 833 | =over | ||
| 834 | |||
| 835 | =item Id => Str | ||
| 836 | |||
| 837 | =item [RevisionNumber => Int] | ||
| 838 | |||
| 839 | |||
| 840 | =back | ||
| 841 | |||
| 842 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetFlowTemplate> | ||
| 843 | |||
| 844 | Returns: a L<Paws::IoTThingsGraph::GetFlowTemplateResponse> instance | ||
| 845 | |||
| 846 | Gets the latest version of the C<DefinitionDocument> and | ||
| 847 | C<FlowTemplateSummary> for the specified workflow. | ||
| 848 | |||
| 849 | |||
| 850 | =head2 GetFlowTemplateRevisions | ||
| 851 | |||
| 852 | =over | ||
| 853 | |||
| 854 | =item Id => Str | ||
| 855 | |||
| 856 | =item [MaxResults => Int] | ||
| 857 | |||
| 858 | =item [NextToken => Str] | ||
| 859 | |||
| 860 | |||
| 861 | =back | ||
| 862 | |||
| 863 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetFlowTemplateRevisions> | ||
| 864 | |||
| 865 | Returns: a L<Paws::IoTThingsGraph::GetFlowTemplateRevisionsResponse> instance | ||
| 866 | |||
| 867 | Gets revisions of the specified workflow. Only the last 100 revisions | ||
| 868 | are stored. If the workflow has been deprecated, this action will | ||
| 869 | return revisions that occurred before the deprecation. This action | ||
| 870 | won't work for workflows that have been deleted. | ||
| 871 | |||
| 872 | |||
| 873 | =head2 GetNamespaceDeletionStatus | ||
| 874 | |||
| 875 | |||
| 876 | |||
| 877 | |||
| 878 | |||
| 879 | |||
| 880 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetNamespaceDeletionStatus> | ||
| 881 | |||
| 882 | Returns: a L<Paws::IoTThingsGraph::GetNamespaceDeletionStatusResponse> instance | ||
| 883 | |||
| 884 | Gets the status of a namespace deletion task. | ||
| 885 | |||
| 886 | |||
| 887 | =head2 GetSystemInstance | ||
| 888 | |||
| 889 | =over | ||
| 890 | |||
| 891 | =item Id => Str | ||
| 892 | |||
| 893 | |||
| 894 | =back | ||
| 895 | |||
| 896 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetSystemInstance> | ||
| 897 | |||
| 898 | Returns: a L<Paws::IoTThingsGraph::GetSystemInstanceResponse> instance | ||
| 899 | |||
| 900 | Gets a system instance. | ||
| 901 | |||
| 902 | |||
| 903 | =head2 GetSystemTemplate | ||
| 904 | |||
| 905 | =over | ||
| 906 | |||
| 907 | =item Id => Str | ||
| 908 | |||
| 909 | =item [RevisionNumber => Int] | ||
| 910 | |||
| 911 | |||
| 912 | =back | ||
| 913 | |||
| 914 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetSystemTemplate> | ||
| 915 | |||
| 916 | Returns: a L<Paws::IoTThingsGraph::GetSystemTemplateResponse> instance | ||
| 917 | |||
| 918 | Gets a system. | ||
| 919 | |||
| 920 | |||
| 921 | =head2 GetSystemTemplateRevisions | ||
| 922 | |||
| 923 | =over | ||
| 924 | |||
| 925 | =item Id => Str | ||
| 926 | |||
| 927 | =item [MaxResults => Int] | ||
| 928 | |||
| 929 | =item [NextToken => Str] | ||
| 930 | |||
| 931 | |||
| 932 | =back | ||
| 933 | |||
| 934 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetSystemTemplateRevisions> | ||
| 935 | |||
| 936 | Returns: a L<Paws::IoTThingsGraph::GetSystemTemplateRevisionsResponse> instance | ||
| 937 | |||
| 938 | Gets revisions made to the specified system template. Only the previous | ||
| 939 | 100 revisions are stored. If the system has been deprecated, this | ||
| 940 | action will return the revisions that occurred before its deprecation. | ||
| 941 | This action won't work with systems that have been deleted. | ||
| 942 | |||
| 943 | |||
| 944 | =head2 GetUploadStatus | ||
| 945 | |||
| 946 | =over | ||
| 947 | |||
| 948 | =item UploadId => Str | ||
| 949 | |||
| 950 | |||
| 951 | =back | ||
| 952 | |||
| 953 | Each argument is described in detail in: L<Paws::IoTThingsGraph::GetUploadStatus> | ||
| 954 | |||
| 955 | Returns: a L<Paws::IoTThingsGraph::GetUploadStatusResponse> instance | ||
| 956 | |||
| 957 | Gets the status of the specified upload. | ||
| 958 | |||
| 959 | |||
| 960 | =head2 ListFlowExecutionMessages | ||
| 961 | |||
| 962 | =over | ||
| 963 | |||
| 964 | =item FlowExecutionId => Str | ||
| 965 | |||
| 966 | =item [MaxResults => Int] | ||
| 967 | |||
| 968 | =item [NextToken => Str] | ||
| 969 | |||
| 970 | |||
| 971 | =back | ||
| 972 | |||
| 973 | Each argument is described in detail in: L<Paws::IoTThingsGraph::ListFlowExecutionMessages> | ||
| 974 | |||
| 975 | Returns: a L<Paws::IoTThingsGraph::ListFlowExecutionMessagesResponse> instance | ||
| 976 | |||
| 977 | Returns a list of objects that contain information about events in a | ||
| 978 | flow execution. | ||
| 979 | |||
| 980 | |||
| 981 | =head2 ListTagsForResource | ||
| 982 | |||
| 983 | =over | ||
| 984 | |||
| 985 | =item ResourceArn => Str | ||
| 986 | |||
| 987 | =item [MaxResults => Int] | ||
| 988 | |||
| 989 | =item [NextToken => Str] | ||
| 990 | |||
| 991 | |||
| 992 | =back | ||
| 993 | |||
| 994 | Each argument is described in detail in: L<Paws::IoTThingsGraph::ListTagsForResource> | ||
| 995 | |||
| 996 | Returns: a L<Paws::IoTThingsGraph::ListTagsForResourceResponse> instance | ||
| 997 | |||
| 998 | Lists all tags on an AWS IoT Things Graph resource. | ||
| 999 | |||
| 1000 | |||
| 1001 | =head2 SearchEntities | ||
| 1002 | |||
| 1003 | =over | ||
| 1004 | |||
| 1005 | =item EntityTypes => ArrayRef[Str|Undef] | ||
| 1006 | |||
| 1007 | =item [Filters => ArrayRef[L<Paws::IoTThingsGraph::EntityFilter>]] | ||
| 1008 | |||
| 1009 | =item [MaxResults => Int] | ||
| 1010 | |||
| 1011 | =item [NamespaceVersion => Int] | ||
| 1012 | |||
| 1013 | =item [NextToken => Str] | ||
| 1014 | |||
| 1015 | |||
| 1016 | =back | ||
| 1017 | |||
| 1018 | Each argument is described in detail in: L<Paws::IoTThingsGraph::SearchEntities> | ||
| 1019 | |||
| 1020 | Returns: a L<Paws::IoTThingsGraph::SearchEntitiesResponse> instance | ||
| 1021 | |||
| 1022 | Searches for entities of the specified type. You can search for | ||
| 1023 | entities in your namespace and the public namespace that you're | ||
| 1024 | tracking. | ||
| 1025 | |||
| 1026 | |||
| 1027 | =head2 SearchFlowExecutions | ||
| 1028 | |||
| 1029 | =over | ||
| 1030 | |||
| 1031 | =item SystemInstanceId => Str | ||
| 1032 | |||
| 1033 | =item [EndTime => Str] | ||
| 1034 | |||
| 1035 | =item [FlowExecutionId => Str] | ||
| 1036 | |||
| 1037 | =item [MaxResults => Int] | ||
| 1038 | |||
| 1039 | =item [NextToken => Str] | ||
| 1040 | |||
| 1041 | =item [StartTime => Str] | ||
| 1042 | |||
| 1043 | |||
| 1044 | =back | ||
| 1045 | |||
| 1046 | Each argument is described in detail in: L<Paws::IoTThingsGraph::SearchFlowExecutions> | ||
| 1047 | |||
| 1048 | Returns: a L<Paws::IoTThingsGraph::SearchFlowExecutionsResponse> instance | ||
| 1049 | |||
| 1050 | Searches for AWS IoT Things Graph workflow execution instances. | ||
| 1051 | |||
| 1052 | |||
| 1053 | =head2 SearchFlowTemplates | ||
| 1054 | |||
| 1055 | =over | ||
| 1056 | |||
| 1057 | =item [Filters => ArrayRef[L<Paws::IoTThingsGraph::FlowTemplateFilter>]] | ||
| 1058 | |||
| 1059 | =item [MaxResults => Int] | ||
| 1060 | |||
| 1061 | =item [NextToken => Str] | ||
| 1062 | |||
| 1063 | |||
| 1064 | =back | ||
| 1065 | |||
| 1066 | Each argument is described in detail in: L<Paws::IoTThingsGraph::SearchFlowTemplates> | ||
| 1067 | |||
| 1068 | Returns: a L<Paws::IoTThingsGraph::SearchFlowTemplatesResponse> instance | ||
| 1069 | |||
| 1070 | Searches for summary information about workflows. | ||
| 1071 | |||
| 1072 | |||
| 1073 | =head2 SearchSystemInstances | ||
| 1074 | |||
| 1075 | =over | ||
| 1076 | |||
| 1077 | =item [Filters => ArrayRef[L<Paws::IoTThingsGraph::SystemInstanceFilter>]] | ||
| 1078 | |||
| 1079 | =item [MaxResults => Int] | ||
| 1080 | |||
| 1081 | =item [NextToken => Str] | ||
| 1082 | |||
| 1083 | |||
| 1084 | =back | ||
| 1085 | |||
| 1086 | Each argument is described in detail in: L<Paws::IoTThingsGraph::SearchSystemInstances> | ||
| 1087 | |||
| 1088 | Returns: a L<Paws::IoTThingsGraph::SearchSystemInstancesResponse> instance | ||
| 1089 | |||
| 1090 | Searches for system instances in the user's account. | ||
| 1091 | |||
| 1092 | |||
| 1093 | =head2 SearchSystemTemplates | ||
| 1094 | |||
| 1095 | =over | ||
| 1096 | |||
| 1097 | =item [Filters => ArrayRef[L<Paws::IoTThingsGraph::SystemTemplateFilter>]] | ||
| 1098 | |||
| 1099 | =item [MaxResults => Int] | ||
| 1100 | |||
| 1101 | =item [NextToken => Str] | ||
| 1102 | |||
| 1103 | |||
| 1104 | =back | ||
| 1105 | |||
| 1106 | Each argument is described in detail in: L<Paws::IoTThingsGraph::SearchSystemTemplates> | ||
| 1107 | |||
| 1108 | Returns: a L<Paws::IoTThingsGraph::SearchSystemTemplatesResponse> instance | ||
| 1109 | |||
| 1110 | Searches for summary information about systems in the user's account. | ||
| 1111 | You can filter by the ID of a workflow to return only systems that use | ||
| 1112 | the specified workflow. | ||
| 1113 | |||
| 1114 | |||
| 1115 | =head2 SearchThings | ||
| 1116 | |||
| 1117 | =over | ||
| 1118 | |||
| 1119 | =item EntityId => Str | ||
| 1120 | |||
| 1121 | =item [MaxResults => Int] | ||
| 1122 | |||
| 1123 | =item [NamespaceVersion => Int] | ||
| 1124 | |||
| 1125 | =item [NextToken => Str] | ||
| 1126 | |||
| 1127 | |||
| 1128 | =back | ||
| 1129 | |||
| 1130 | Each argument is described in detail in: L<Paws::IoTThingsGraph::SearchThings> | ||
| 1131 | |||
| 1132 | Returns: a L<Paws::IoTThingsGraph::SearchThingsResponse> instance | ||
| 1133 | |||
| 1134 | Searches for things associated with the specified entity. You can | ||
| 1135 | search by both device and device model. | ||
| 1136 | |||
| 1137 | For example, if two different devices, camera1 and camera2, implement | ||
| 1138 | the camera device model, the user can associate thing1 to camera1 and | ||
| 1139 | thing2 to camera2. C<SearchThings(camera2)> will return only thing2, | ||
| 1140 | but C<SearchThings(camera)> will return both thing1 and thing2. | ||
| 1141 | |||
| 1142 | This action searches for exact matches and doesn't perform partial text | ||
| 1143 | matching. | ||
| 1144 | |||
| 1145 | |||
| 1146 | =head2 TagResource | ||
| 1147 | |||
| 1148 | =over | ||
| 1149 | |||
| 1150 | =item ResourceArn => Str | ||
| 1151 | |||
| 1152 | =item Tags => ArrayRef[L<Paws::IoTThingsGraph::Tag>] | ||
| 1153 | |||
| 1154 | |||
| 1155 | =back | ||
| 1156 | |||
| 1157 | Each argument is described in detail in: L<Paws::IoTThingsGraph::TagResource> | ||
| 1158 | |||
| 1159 | Returns: a L<Paws::IoTThingsGraph::TagResourceResponse> instance | ||
| 1160 | |||
| 1161 | Creates a tag for the specified resource. | ||
| 1162 | |||
| 1163 | |||
| 1164 | =head2 UndeploySystemInstance | ||
| 1165 | |||
| 1166 | =over | ||
| 1167 | |||
| 1168 | =item [Id => Str] | ||
| 1169 | |||
| 1170 | |||
| 1171 | =back | ||
| 1172 | |||
| 1173 | Each argument is described in detail in: L<Paws::IoTThingsGraph::UndeploySystemInstance> | ||
| 1174 | |||
| 1175 | Returns: a L<Paws::IoTThingsGraph::UndeploySystemInstanceResponse> instance | ||
| 1176 | |||
| 1177 | Removes a system instance from its target (Cloud or Greengrass). | ||
| 1178 | |||
| 1179 | |||
| 1180 | =head2 UntagResource | ||
| 1181 | |||
| 1182 | =over | ||
| 1183 | |||
| 1184 | =item ResourceArn => Str | ||
| 1185 | |||
| 1186 | =item TagKeys => ArrayRef[Str|Undef] | ||
| 1187 | |||
| 1188 | |||
| 1189 | =back | ||
| 1190 | |||
| 1191 | Each argument is described in detail in: L<Paws::IoTThingsGraph::UntagResource> | ||
| 1192 | |||
| 1193 | Returns: a L<Paws::IoTThingsGraph::UntagResourceResponse> instance | ||
| 1194 | |||
| 1195 | Removes a tag from the specified resource. | ||
| 1196 | |||
| 1197 | |||
| 1198 | =head2 UpdateFlowTemplate | ||
| 1199 | |||
| 1200 | =over | ||
| 1201 | |||
| 1202 | =item Definition => L<Paws::IoTThingsGraph::DefinitionDocument> | ||
| 1203 | |||
| 1204 | =item Id => Str | ||
| 1205 | |||
| 1206 | =item [CompatibleNamespaceVersion => Int] | ||
| 1207 | |||
| 1208 | |||
| 1209 | =back | ||
| 1210 | |||
| 1211 | Each argument is described in detail in: L<Paws::IoTThingsGraph::UpdateFlowTemplate> | ||
| 1212 | |||
| 1213 | Returns: a L<Paws::IoTThingsGraph::UpdateFlowTemplateResponse> instance | ||
| 1214 | |||
| 1215 | Updates the specified workflow. All deployed systems and system | ||
| 1216 | instances that use the workflow will see the changes in the flow when | ||
| 1217 | it is redeployed. If you don't want this behavior, copy the workflow | ||
| 1218 | (creating a new workflow with a different ID), and update the copy. The | ||
| 1219 | workflow can contain only entities in the specified namespace. | ||
| 1220 | |||
| 1221 | |||
| 1222 | =head2 UpdateSystemTemplate | ||
| 1223 | |||
| 1224 | =over | ||
| 1225 | |||
| 1226 | =item Definition => L<Paws::IoTThingsGraph::DefinitionDocument> | ||
| 1227 | |||
| 1228 | =item Id => Str | ||
| 1229 | |||
| 1230 | =item [CompatibleNamespaceVersion => Int] | ||
| 1231 | |||
| 1232 | |||
| 1233 | =back | ||
| 1234 | |||
| 1235 | Each argument is described in detail in: L<Paws::IoTThingsGraph::UpdateSystemTemplate> | ||
| 1236 | |||
| 1237 | Returns: a L<Paws::IoTThingsGraph::UpdateSystemTemplateResponse> instance | ||
| 1238 | |||
| 1239 | Updates the specified system. You don't need to run this action after | ||
| 1240 | updating a workflow. Any deployment that uses the system will see the | ||
| 1241 | changes in the system when it is redeployed. | ||
| 1242 | |||
| 1243 | |||
| 1244 | =head2 UploadEntityDefinitions | ||
| 1245 | |||
| 1246 | =over | ||
| 1247 | |||
| 1248 | =item [DeprecateExistingEntities => Bool] | ||
| 1249 | |||
| 1250 | =item [Document => L<Paws::IoTThingsGraph::DefinitionDocument>] | ||
| 1251 | |||
| 1252 | =item [SyncWithPublicNamespace => Bool] | ||
| 1253 | |||
| 1254 | |||
| 1255 | =back | ||
| 1256 | |||
| 1257 | Each argument is described in detail in: L<Paws::IoTThingsGraph::UploadEntityDefinitions> | ||
| 1258 | |||
| 1259 | Returns: a L<Paws::IoTThingsGraph::UploadEntityDefinitionsResponse> instance | ||
| 1260 | |||
| 1261 | Asynchronously uploads one or more entity definitions to the user's | ||
| 1262 | namespace. The C<document> parameter is required if | ||
| 1263 | C<syncWithPublicNamespace> and C<deleteExistingEntites> are false. If | ||
| 1264 | the C<syncWithPublicNamespace> parameter is set to C<true>, the user's | ||
| 1265 | namespace will synchronize with the latest version of the public | ||
| 1266 | namespace. If C<deprecateExistingEntities> is set to true, all entities | ||
| 1267 | in the latest version will be deleted before the new | ||
| 1268 | C<DefinitionDocument> is uploaded. | ||
| 1269 | |||
| 1270 | When a user uploads entity definitions for the first time, the service | ||
| 1271 | creates a new namespace for the user. The new namespace tracks the | ||
| 1272 | public namespace. Currently users can have only one namespace. The | ||
| 1273 | namespace version increments whenever a user uploads entity definitions | ||
| 1274 | that are backwards-incompatible and whenever a user sets the | ||
| 1275 | C<syncWithPublicNamespace> parameter or the | ||
| 1276 | C<deprecateExistingEntities> parameter to C<true>. | ||
| 1277 | |||
| 1278 | The IDs for all of the entities should be in URN format. Each entity | ||
| 1279 | must be in the user's namespace. Users can't create entities in the | ||
| 1280 | public namespace, but entity definitions can refer to entities in the | ||
| 1281 | public namespace. | ||
| 1282 | |||
| 1283 | Valid entities are C<Device>, C<DeviceModel>, C<Service>, | ||
| 1284 | C<Capability>, C<State>, C<Action>, C<Event>, C<Property>, C<Mapping>, | ||
| 1285 | C<Enum>. | ||
| 1286 | |||
| 1287 | |||
| 1288 | |||
| 1289 | |||
| 1290 | =head1 PAGINATORS | ||
| 1291 | |||
| 1292 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 1293 | |||
| 1294 | =head2 GetAllFlowTemplateRevisions(sub { },Id => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1295 | |||
| 1296 | =head2 GetAllFlowTemplateRevisions(Id => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1297 | |||
| 1298 | |||
| 1299 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1300 | |||
| 1301 | - summaries, passing the object as the first parameter, and the string 'summaries' as the second parameter | ||
| 1302 | |||
| 1303 | If not, it will return a a L<Paws::IoTThingsGraph::GetFlowTemplateRevisionsResponse> 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. | ||
| 1304 | |||
| 1305 | |||
| 1306 | =head2 GetAllSystemTemplateRevisions(sub { },Id => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1307 | |||
| 1308 | =head2 GetAllSystemTemplateRevisions(Id => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1309 | |||
| 1310 | |||
| 1311 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1312 | |||
| 1313 | - summaries, passing the object as the first parameter, and the string 'summaries' as the second parameter | ||
| 1314 | |||
| 1315 | If not, it will return a a L<Paws::IoTThingsGraph::GetSystemTemplateRevisionsResponse> 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. | ||
| 1316 | |||
| 1317 | |||
| 1318 | =head2 ListAllFlowExecutionMessages(sub { },FlowExecutionId => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1319 | |||
| 1320 | =head2 ListAllFlowExecutionMessages(FlowExecutionId => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1321 | |||
| 1322 | |||
| 1323 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1324 | |||
| 1325 | - messages, passing the object as the first parameter, and the string 'messages' as the second parameter | ||
| 1326 | |||
| 1327 | If not, it will return a a L<Paws::IoTThingsGraph::ListFlowExecutionMessagesResponse> 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. | ||
| 1328 | |||
| 1329 | |||
| 1330 | =head2 ListAllTagsForResource(sub { },ResourceArn => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1331 | |||
| 1332 | =head2 ListAllTagsForResource(ResourceArn => Str, [MaxResults => Int, NextToken => Str]) | ||
| 1333 | |||
| 1334 | |||
| 1335 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1336 | |||
| 1337 | - tags, passing the object as the first parameter, and the string 'tags' as the second parameter | ||
| 1338 | |||
| 1339 | If not, it will return a a L<Paws::IoTThingsGraph::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. | ||
| 1340 | |||
| 1341 | |||
| 1342 | =head2 SearchAllEntities(sub { },EntityTypes => ArrayRef[Str|Undef], [Filters => ArrayRef[L<Paws::IoTThingsGraph::EntityFilter>], MaxResults => Int, NamespaceVersion => Int, NextToken => Str]) | ||
| 1343 | |||
| 1344 | =head2 SearchAllEntities(EntityTypes => ArrayRef[Str|Undef], [Filters => ArrayRef[L<Paws::IoTThingsGraph::EntityFilter>], MaxResults => Int, NamespaceVersion => Int, NextToken => Str]) | ||
| 1345 | |||
| 1346 | |||
| 1347 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1348 | |||
| 1349 | - descriptions, passing the object as the first parameter, and the string 'descriptions' as the second parameter | ||
| 1350 | |||
| 1351 | If not, it will return a a L<Paws::IoTThingsGraph::SearchEntitiesResponse> 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. | ||
| 1352 | |||
| 1353 | |||
| 1354 | =head2 SearchAllFlowExecutions(sub { },SystemInstanceId => Str, [EndTime => Str, FlowExecutionId => Str, MaxResults => Int, NextToken => Str, StartTime => Str]) | ||
| 1355 | |||
| 1356 | =head2 SearchAllFlowExecutions(SystemInstanceId => Str, [EndTime => Str, FlowExecutionId => Str, MaxResults => Int, NextToken => Str, StartTime => Str]) | ||
| 1357 | |||
| 1358 | |||
| 1359 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1360 | |||
| 1361 | - summaries, passing the object as the first parameter, and the string 'summaries' as the second parameter | ||
| 1362 | |||
| 1363 | If not, it will return a a L<Paws::IoTThingsGraph::SearchFlowExecutionsResponse> 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. | ||
| 1364 | |||
| 1365 | |||
| 1366 | =head2 SearchAllFlowTemplates(sub { },[Filters => ArrayRef[L<Paws::IoTThingsGraph::FlowTemplateFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1367 | |||
| 1368 | =head2 SearchAllFlowTemplates([Filters => ArrayRef[L<Paws::IoTThingsGraph::FlowTemplateFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1369 | |||
| 1370 | |||
| 1371 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1372 | |||
| 1373 | - summaries, passing the object as the first parameter, and the string 'summaries' as the second parameter | ||
| 1374 | |||
| 1375 | If not, it will return a a L<Paws::IoTThingsGraph::SearchFlowTemplatesResponse> 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. | ||
| 1376 | |||
| 1377 | |||
| 1378 | =head2 SearchAllSystemInstances(sub { },[Filters => ArrayRef[L<Paws::IoTThingsGraph::SystemInstanceFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1379 | |||
| 1380 | =head2 SearchAllSystemInstances([Filters => ArrayRef[L<Paws::IoTThingsGraph::SystemInstanceFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1381 | |||
| 1382 | |||
| 1383 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1384 | |||
| 1385 | - summaries, passing the object as the first parameter, and the string 'summaries' as the second parameter | ||
| 1386 | |||
| 1387 | If not, it will return a a L<Paws::IoTThingsGraph::SearchSystemInstancesResponse> 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. | ||
| 1388 | |||
| 1389 | |||
| 1390 | =head2 SearchAllSystemTemplates(sub { },[Filters => ArrayRef[L<Paws::IoTThingsGraph::SystemTemplateFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1391 | |||
| 1392 | =head2 SearchAllSystemTemplates([Filters => ArrayRef[L<Paws::IoTThingsGraph::SystemTemplateFilter>], MaxResults => Int, NextToken => Str]) | ||
| 1393 | |||
| 1394 | |||
| 1395 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1396 | |||
| 1397 | - summaries, passing the object as the first parameter, and the string 'summaries' as the second parameter | ||
| 1398 | |||
| 1399 | If not, it will return a a L<Paws::IoTThingsGraph::SearchSystemTemplatesResponse> 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. | ||
| 1400 | |||
| 1401 | |||
| 1402 | =head2 SearchAllThings(sub { },EntityId => Str, [MaxResults => Int, NamespaceVersion => Int, NextToken => Str]) | ||
| 1403 | |||
| 1404 | =head2 SearchAllThings(EntityId => Str, [MaxResults => Int, NamespaceVersion => Int, NextToken => Str]) | ||
| 1405 | |||
| 1406 | |||
| 1407 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1408 | |||
| 1409 | - things, passing the object as the first parameter, and the string 'things' as the second parameter | ||
| 1410 | |||
| 1411 | If not, it will return a a L<Paws::IoTThingsGraph::SearchThingsResponse> 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. | ||
| 1412 | |||
| 1413 | |||
| 1414 | |||
| 1415 | |||
| 1416 | |||
| 1417 | =head1 SEE ALSO | ||
| 1418 | |||
| 1419 | This service class forms part of L<Paws> | ||
| 1420 | |||
| 1421 | =head1 BUGS and CONTRIBUTIONS | ||
| 1422 | |||
| 1423 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 1424 | |||
| 1425 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 1426 | |||
| 1427 | =cut | ||
| 1428 |