blib/lib/Paws/Discovery.pm untested

filter: Statementstmt 0.0% 0 / 210 Branchbran 0.0% 0 / 24 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 38 Podpod 0.0% 0 / 37 totaltotal 0.0% 0 / 309 CC 13 SCAR 17.2
CC
13
Cov
0%
DescribeAllAgents
12.0
DescribeAllContinuousExports
12.0
DescribeAllExportConfigurations
12.0
CRAP 5.6
1 package Paws::Discovery;
2 use Moose;
3 sub service { 'discovery' }
4 sub signing_name { 'discovery' }
5 sub version { '2015-11-01' }
6 sub target_prefix { 'AWSPoseidonService_V2015_11_01' }
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 AssociateConfigurationItemsToApplication {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::Discovery::AssociateConfigurationItemsToApplication', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub BatchDeleteImportData {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::Discovery::BatchDeleteImportData', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub CreateApplication {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::Discovery::CreateApplication', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub CreateTags {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::Discovery::CreateTags', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DeleteApplications {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::Discovery::DeleteApplications', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DeleteTags {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::Discovery::DeleteTags', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub DescribeAgents {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::Discovery::DescribeAgents', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub DescribeConfigurations {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::Discovery::DescribeConfigurations', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub DescribeContinuousExports {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::Discovery::DescribeContinuousExports', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub DescribeExportConfigurations {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::Discovery::DescribeExportConfigurations', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub DescribeExportTasks {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::Discovery::DescribeExportTasks', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub DescribeImportTasks {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::Discovery::DescribeImportTasks', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub DescribeTags {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::Discovery::DescribeTags', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub DisassociateConfigurationItemsFromApplication {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::Discovery::DisassociateConfigurationItemsFromApplication', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub ExportConfigurations {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::Discovery::ExportConfigurations', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub GetDiscoverySummary {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::Discovery::GetDiscoverySummary', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub ListConfigurations {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::Discovery::ListConfigurations', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub ListServerNeighbors {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::Discovery::ListServerNeighbors', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub StartContinuousExport {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::Discovery::StartContinuousExport', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub StartDataCollectionByAgentIds {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::Discovery::StartDataCollectionByAgentIds', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub StartExportTask {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::Discovery::StartExportTask', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub StartImportTask {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::Discovery::StartImportTask', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub StopContinuousExport {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::Discovery::StopContinuousExport', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub StopDataCollectionByAgentIds {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::Discovery::StopDataCollectionByAgentIds', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub UpdateApplication {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::Discovery::UpdateApplication', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143
144 sub DescribeAllAgents {
145 my $self = shift;
146  
147 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
148 my $result = $self->DescribeAgents(@_);
149 my $next_result = $result;
150  
151 if (not defined $callback) {
152 while ($next_result->nextToken) {
153 $next_result = $self->DescribeAgents(@_, nextToken => $next_result->nextToken);
154 push @{ $result->agentsInfo }, @{ $next_result->agentsInfo };
155 }
156 return $result;
157 } else {
158 while ($result->nextToken) {
159 $callback->($_ => 'agentsInfo') foreach (@{ $result->agentsInfo });
160 $result = $self->DescribeAgents(@_, nextToken => $result->nextToken);
161 }
162 $callback->($_ => 'agentsInfo') foreach (@{ $result->agentsInfo });
163 }
164  
165 return undef
166 }
167 sub DescribeAllContinuousExports {
168 my $self = shift;
169  
170 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
171 my $result = $self->DescribeContinuousExports(@_);
172 my $next_result = $result;
173  
174 if (not defined $callback) {
175 while ($next_result->nextToken) {
176 $next_result = $self->DescribeContinuousExports(@_, nextToken => $next_result->nextToken);
177 push @{ $result->descriptions }, @{ $next_result->descriptions };
178 }
179 return $result;
180 } else {
181 while ($result->nextToken) {
182 $callback->($_ => 'descriptions') foreach (@{ $result->descriptions });
183 $result = $self->DescribeContinuousExports(@_, nextToken => $result->nextToken);
184 }
185 $callback->($_ => 'descriptions') foreach (@{ $result->descriptions });
186 }
187  
188 return undef
189 }
190 sub DescribeAllExportConfigurations {
191 my $self = shift;
192  
193 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
194 my $result = $self->DescribeExportConfigurations(@_);
195 my $next_result = $result;
196  
197 if (not defined $callback) {
198 while ($next_result->nextToken) {
199 $next_result = $self->DescribeExportConfigurations(@_, nextToken => $next_result->nextToken);
200 push @{ $result->exportsInfo }, @{ $next_result->exportsInfo };
201 }
202 return $result;
203 } else {
204 while ($result->nextToken) {
205 $callback->($_ => 'exportsInfo') foreach (@{ $result->exportsInfo });
206 $result = $self->DescribeExportConfigurations(@_, nextToken => $result->nextToken);
207 }
208 $callback->($_ => 'exportsInfo') foreach (@{ $result->exportsInfo });
209 }
210  
211 return undef
212 }
213 sub DescribeAllExportTasks {
214 my $self = shift;
215  
216 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
217 my $result = $self->DescribeExportTasks(@_);
218 my $next_result = $result;
219  
220 if (not defined $callback) {
221 while ($next_result->nextToken) {
222 $next_result = $self->DescribeExportTasks(@_, nextToken => $next_result->nextToken);
223 push @{ $result->exportsInfo }, @{ $next_result->exportsInfo };
224 }
225 return $result;
226 } else {
227 while ($result->nextToken) {
228 $callback->($_ => 'exportsInfo') foreach (@{ $result->exportsInfo });
229 $result = $self->DescribeExportTasks(@_, nextToken => $result->nextToken);
230 }
231 $callback->($_ => 'exportsInfo') foreach (@{ $result->exportsInfo });
232 }
233  
234 return undef
235 }
236 sub DescribeAllTags {
237 my $self = shift;
238  
239 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
240 my $result = $self->DescribeTags(@_);
241 my $next_result = $result;
242  
243 if (not defined $callback) {
244 while ($next_result->nextToken) {
245 $next_result = $self->DescribeTags(@_, nextToken => $next_result->nextToken);
246 push @{ $result->tags }, @{ $next_result->tags };
247 }
248 return $result;
249 } else {
250 while ($result->nextToken) {
251 $callback->($_ => 'tags') foreach (@{ $result->tags });
252 $result = $self->DescribeTags(@_, nextToken => $result->nextToken);
253 }
254 $callback->($_ => 'tags') foreach (@{ $result->tags });
255 }
256  
257 return undef
258 }
259 sub ListAllConfigurations {
260 my $self = shift;
261  
262 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
263 my $result = $self->ListConfigurations(@_);
264 my $next_result = $result;
265  
266 if (not defined $callback) {
267 while ($next_result->nextToken) {
268 $next_result = $self->ListConfigurations(@_, nextToken => $next_result->nextToken);
269 push @{ $result->configurations }, @{ $next_result->configurations };
270 }
271 return $result;
272 } else {
273 while ($result->nextToken) {
274 $callback->($_ => 'configurations') foreach (@{ $result->configurations });
275 $result = $self->ListConfigurations(@_, nextToken => $result->nextToken);
276 }
277 $callback->($_ => 'configurations') foreach (@{ $result->configurations });
278 }
279  
280 return undef
281 }
282  
283  
284 sub operations { qw/AssociateConfigurationItemsToApplication BatchDeleteImportData CreateApplication CreateTags DeleteApplications DeleteTags DescribeAgents DescribeConfigurations DescribeContinuousExports DescribeExportConfigurations DescribeExportTasks DescribeImportTasks DescribeTags DisassociateConfigurationItemsFromApplication ExportConfigurations GetDiscoverySummary ListConfigurations ListServerNeighbors StartContinuousExport StartDataCollectionByAgentIds StartExportTask StartImportTask StopContinuousExport StopDataCollectionByAgentIds UpdateApplication / }
285  
286 1;
287  
288 ### main pod documentation begin ###
289  
290 =head1 NAME
291  
292 Paws::Discovery - Perl Interface to AWS AWS Application Discovery Service
293  
294 =head1 SYNOPSIS
295  
296 use Paws;
297  
298 my $obj = Paws->service('Discovery');
299 my $res = $obj->Method(
300 Arg1 => $val1,
301 Arg2 => [ 'V1', 'V2' ],
302 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
303 # of the arguments type
304 Arg3 => { Att1 => 'Val1' },
305 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
306 # the constructor of the arguments type
307 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
308 );
309  
310 =head1 DESCRIPTION
311  
312 AWS Application Discovery Service
313  
314 AWS Application Discovery Service helps you plan application migration
315 projects. It automatically identifies servers, virtual machines (VMs),
316 and network dependencies in your on-premises data centers. For more
317 information, see the AWS Application Discovery Service FAQ
318 (http://aws.amazon.com/application-discovery/faqs/). Application
319 Discovery Service offers three ways of performing discovery and
320 collecting data about your on-premises servers:
321  
322 =over
323  
324 =item *
325  
326 B<Agentless discovery> is recommended for environments that use VMware
327 vCenter Server. This mode doesn't require you to install an agent on
328 each host. It does not work in non-VMware environments.
329  
330 =over
331  
332 =item *
333  
334 Agentless discovery gathers server information regardless of the
335 operating systems, which minimizes the time required for initial
336 on-premises infrastructure assessment.
337  
338 =item *
339  
340 Agentless discovery doesn't collect information about network
341 dependencies, only agent-based discovery collects that information.
342  
343 =back
344  
345 =back
346  
347 =over
348  
349 =item *
350  
351 B<Agent-based discovery> collects a richer set of data than agentless
352 discovery by using the AWS Application Discovery Agent, which you
353 install on one or more hosts in your data center.
354  
355 =over
356  
357 =item *
358  
359 The agent captures infrastructure and application information,
360 including an inventory of running processes, system performance
361 information, resource utilization, and network dependencies.
362  
363 =item *
364  
365 The information collected by agents is secured at rest and in transit
366 to the Application Discovery Service database in the cloud.
367  
368 =back
369  
370 =back
371  
372 =over
373  
374 =item *
375  
376 B<AWS Partner Network (APN) solutions> integrate with Application
377 Discovery Service, enabling you to import details of your on-premises
378 environment directly into Migration Hub without using the discovery
379 connector or discovery agent.
380  
381 =over
382  
383 =item *
384  
385 Third-party application discovery tools can query AWS Application
386 Discovery Service, and they can write to the Application Discovery
387 Service database using the public API.
388  
389 =item *
390  
391 In this way, you can import data into Migration Hub and view it, so
392 that you can associate applications with servers and track migrations.
393  
394 =back
395  
396 =back
397  
398 B<Recommendations>
399  
400 We recommend that you use agent-based discovery for non-VMware
401 environments, and whenever you want to collect information about
402 network dependencies. You can run agent-based and agentless discovery
403 simultaneously. Use agentless discovery to complete the initial
404 infrastructure assessment quickly, and then install agents on select
405 hosts to collect additional information.
406  
407 B<Working With This Guide>
408  
409 This API reference provides descriptions, syntax, and usage examples
410 for each of the actions and data types for Application Discovery
411 Service. The topic for each action shows the API request parameters and
412 the response. Alternatively, you can use one of the AWS SDKs to access
413 an API that is tailored to the programming language or platform that
414 you're using. For more information, see AWS SDKs
415 (http://aws.amazon.com/tools/#SDKs).
416  
417 =over
418  
419 =item *
420  
421 Remember that you must set your Migration Hub home region before you
422 call any of these APIs.
423  
424 =item *
425  
426 You must make API calls for write actions (create, notify, associate,
427 disassociate, import, or put) while in your home region, or a
428 C<HomeRegionNotSetException> error is returned.
429  
430 =item *
431  
432 API calls for read actions (list, describe, stop, and delete) are
433 permitted outside of your home region.
434  
435 =item *
436  
437 Although it is unlikely, the Migration Hub home region could change. If
438 you call APIs outside the home region, an C<InvalidInputException> is
439 returned.
440  
441 =item *
442  
443 You must call C<GetHomeRegion> to obtain the latest Migration Hub home
444 region.
445  
446 =back
447  
448 This guide is intended for use with the AWS Application Discovery
449 Service User Guide
450 (http://docs.aws.amazon.com/application-discovery/latest/userguide/).
451  
452 All data is handled according to the AWS Privacy Policy
453 (http://aws.amazon.com/privacy/). You can operate Application Discovery
454 Service offline to inspect collected data before it is shared with the
455 service.
456  
457 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01>
458  
459  
460 =head1 METHODS
461  
462 =head2 AssociateConfigurationItemsToApplication
463  
464 =over
465  
466 =item ApplicationConfigurationId => Str
467  
468 =item ConfigurationIds => ArrayRef[Str|Undef]
469  
470  
471 =back
472  
473 Each argument is described in detail in: L<Paws::Discovery::AssociateConfigurationItemsToApplication>
474  
475 Returns: a L<Paws::Discovery::AssociateConfigurationItemsToApplicationResponse> instance
476  
477 Associates one or more configuration items with an application.
478  
479  
480 =head2 BatchDeleteImportData
481  
482 =over
483  
484 =item ImportTaskIds => ArrayRef[Str|Undef]
485  
486  
487 =back
488  
489 Each argument is described in detail in: L<Paws::Discovery::BatchDeleteImportData>
490  
491 Returns: a L<Paws::Discovery::BatchDeleteImportDataResponse> instance
492  
493 Deletes one or more import tasks, each identified by their import ID.
494 Each import task has a number of records that can identify servers or
495 applications.
496  
497 AWS Application Discovery Service has built-in matching logic that will
498 identify when discovered servers match existing entries that you've
499 previously discovered, the information for the already-existing
500 discovered server is updated. When you delete an import task that
501 contains records that were used to match, the information in those
502 matched records that comes from the deleted records will also be
503 deleted.
504  
505  
506 =head2 CreateApplication
507  
508 =over
509  
510 =item Name => Str
511  
512 =item [Description => Str]
513  
514  
515 =back
516  
517 Each argument is described in detail in: L<Paws::Discovery::CreateApplication>
518  
519 Returns: a L<Paws::Discovery::CreateApplicationResponse> instance
520  
521 Creates an application with the given name and description.
522  
523  
524 =head2 CreateTags
525  
526 =over
527  
528 =item ConfigurationIds => ArrayRef[Str|Undef]
529  
530 =item Tags => ArrayRef[L<Paws::Discovery::Tag>]
531  
532  
533 =back
534  
535 Each argument is described in detail in: L<Paws::Discovery::CreateTags>
536  
537 Returns: a L<Paws::Discovery::CreateTagsResponse> instance
538  
539 Creates one or more tags for configuration items. Tags are metadata
540 that help you categorize IT assets. This API accepts a list of multiple
541 configuration items.
542  
543  
544 =head2 DeleteApplications
545  
546 =over
547  
548 =item ConfigurationIds => ArrayRef[Str|Undef]
549  
550  
551 =back
552  
553 Each argument is described in detail in: L<Paws::Discovery::DeleteApplications>
554  
555 Returns: a L<Paws::Discovery::DeleteApplicationsResponse> instance
556  
557 Deletes a list of applications and their associations with
558 configuration items.
559  
560  
561 =head2 DeleteTags
562  
563 =over
564  
565 =item ConfigurationIds => ArrayRef[Str|Undef]
566  
567 =item [Tags => ArrayRef[L<Paws::Discovery::Tag>]]
568  
569  
570 =back
571  
572 Each argument is described in detail in: L<Paws::Discovery::DeleteTags>
573  
574 Returns: a L<Paws::Discovery::DeleteTagsResponse> instance
575  
576 Deletes the association between configuration items and one or more
577 tags. This API accepts a list of multiple configuration items.
578  
579  
580 =head2 DescribeAgents
581  
582 =over
583  
584 =item [AgentIds => ArrayRef[Str|Undef]]
585  
586 =item [Filters => ArrayRef[L<Paws::Discovery::Filter>]]
587  
588 =item [MaxResults => Int]
589  
590 =item [NextToken => Str]
591  
592  
593 =back
594  
595 Each argument is described in detail in: L<Paws::Discovery::DescribeAgents>
596  
597 Returns: a L<Paws::Discovery::DescribeAgentsResponse> instance
598  
599 Lists agents or connectors as specified by ID or other filters. All
600 agents/connectors associated with your user account can be listed if
601 you call C<DescribeAgents> as is without passing any parameters.
602  
603  
604 =head2 DescribeConfigurations
605  
606 =over
607  
608 =item ConfigurationIds => ArrayRef[Str|Undef]
609  
610  
611 =back
612  
613 Each argument is described in detail in: L<Paws::Discovery::DescribeConfigurations>
614  
615 Returns: a L<Paws::Discovery::DescribeConfigurationsResponse> instance
616  
617 Retrieves attributes for a list of configuration item IDs.
618  
619 All of the supplied IDs must be for the same asset type from one of the
620 following:
621  
622 =over
623  
624 =item *
625  
626 server
627  
628 =item *
629  
630 application
631  
632 =item *
633  
634 process
635  
636 =item *
637  
638 connection
639  
640 =back
641  
642 Output fields are specific to the asset type specified. For example,
643 the output for a I<server> configuration item includes a list of
644 attributes about the server, such as host name, operating system,
645 number of network cards, etc.
646  
647 For a complete list of outputs for each asset type, see Using the
648 DescribeConfigurations Action
649 (https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#DescribeConfigurations)
650 in the I<AWS Application Discovery Service User Guide>.
651  
652  
653 =head2 DescribeContinuousExports
654  
655 =over
656  
657 =item [ExportIds => ArrayRef[Str|Undef]]
658  
659 =item [MaxResults => Int]
660  
661 =item [NextToken => Str]
662  
663  
664 =back
665  
666 Each argument is described in detail in: L<Paws::Discovery::DescribeContinuousExports>
667  
668 Returns: a L<Paws::Discovery::DescribeContinuousExportsResponse> instance
669  
670 Lists exports as specified by ID. All continuous exports associated
671 with your user account can be listed if you call
672 C<DescribeContinuousExports> as is without passing any parameters.
673  
674  
675 =head2 DescribeExportConfigurations
676  
677 =over
678  
679 =item [ExportIds => ArrayRef[Str|Undef]]
680  
681 =item [MaxResults => Int]
682  
683 =item [NextToken => Str]
684  
685  
686 =back
687  
688 Each argument is described in detail in: L<Paws::Discovery::DescribeExportConfigurations>
689  
690 Returns: a L<Paws::Discovery::DescribeExportConfigurationsResponse> instance
691  
692 C<DescribeExportConfigurations> is deprecated. Use DescribeImportTasks
693 (https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html),
694 instead.
695  
696  
697 =head2 DescribeExportTasks
698  
699 =over
700  
701 =item [ExportIds => ArrayRef[Str|Undef]]
702  
703 =item [Filters => ArrayRef[L<Paws::Discovery::ExportFilter>]]
704  
705 =item [MaxResults => Int]
706  
707 =item [NextToken => Str]
708  
709  
710 =back
711  
712 Each argument is described in detail in: L<Paws::Discovery::DescribeExportTasks>
713  
714 Returns: a L<Paws::Discovery::DescribeExportTasksResponse> instance
715  
716 Retrieve status of one or more export tasks. You can retrieve the
717 status of up to 100 export tasks.
718  
719  
720 =head2 DescribeImportTasks
721  
722 =over
723  
724 =item [Filters => ArrayRef[L<Paws::Discovery::ImportTaskFilter>]]
725  
726 =item [MaxResults => Int]
727  
728 =item [NextToken => Str]
729  
730  
731 =back
732  
733 Each argument is described in detail in: L<Paws::Discovery::DescribeImportTasks>
734  
735 Returns: a L<Paws::Discovery::DescribeImportTasksResponse> instance
736  
737 Returns an array of import tasks for your account, including status
738 information, times, IDs, the Amazon S3 Object URL for the import file,
739 and more.
740  
741  
742 =head2 DescribeTags
743  
744 =over
745  
746 =item [Filters => ArrayRef[L<Paws::Discovery::TagFilter>]]
747  
748 =item [MaxResults => Int]
749  
750 =item [NextToken => Str]
751  
752  
753 =back
754  
755 Each argument is described in detail in: L<Paws::Discovery::DescribeTags>
756  
757 Returns: a L<Paws::Discovery::DescribeTagsResponse> instance
758  
759 Retrieves a list of configuration items that have tags as specified by
760 the key-value pairs, name and value, passed to the optional parameter
761 C<filters>.
762  
763 There are three valid tag filter names:
764  
765 =over
766  
767 =item *
768  
769 tagKey
770  
771 =item *
772  
773 tagValue
774  
775 =item *
776  
777 configurationId
778  
779 =back
780  
781 Also, all configuration items associated with your user account that
782 have tags can be listed if you call C<DescribeTags> as is without
783 passing any parameters.
784  
785  
786 =head2 DisassociateConfigurationItemsFromApplication
787  
788 =over
789  
790 =item ApplicationConfigurationId => Str
791  
792 =item ConfigurationIds => ArrayRef[Str|Undef]
793  
794  
795 =back
796  
797 Each argument is described in detail in: L<Paws::Discovery::DisassociateConfigurationItemsFromApplication>
798  
799 Returns: a L<Paws::Discovery::DisassociateConfigurationItemsFromApplicationResponse> instance
800  
801 Disassociates one or more configuration items from an application.
802  
803  
804 =head2 ExportConfigurations
805  
806 =over
807  
808 =item =>
809  
810  
811 =back
812  
813 Each argument is described in detail in: L<Paws::Discovery::ExportConfigurations>
814  
815 Returns: a L<Paws::Discovery::ExportConfigurationsResponse> instance
816  
817 Deprecated. Use C<StartExportTask> instead.
818  
819 Exports all discovered configuration data to an Amazon S3 bucket or an
820 application that enables you to view and evaluate the data. Data
821 includes tags and tag associations, processes, connections, servers,
822 and system performance. This API returns an export ID that you can
823 query using the I<DescribeExportConfigurations> API. The system imposes
824 a limit of two configuration exports in six hours.
825  
826  
827 =head2 GetDiscoverySummary
828  
829  
830  
831  
832  
833  
834 Each argument is described in detail in: L<Paws::Discovery::GetDiscoverySummary>
835  
836 Returns: a L<Paws::Discovery::GetDiscoverySummaryResponse> instance
837  
838 Retrieves a short summary of discovered assets.
839  
840 This API operation takes no request parameters and is called as is at
841 the command prompt as shown in the example.
842  
843  
844 =head2 ListConfigurations
845  
846 =over
847  
848 =item ConfigurationType => Str
849  
850 =item [Filters => ArrayRef[L<Paws::Discovery::Filter>]]
851  
852 =item [MaxResults => Int]
853  
854 =item [NextToken => Str]
855  
856 =item [OrderBy => ArrayRef[L<Paws::Discovery::OrderByElement>]]
857  
858  
859 =back
860  
861 Each argument is described in detail in: L<Paws::Discovery::ListConfigurations>
862  
863 Returns: a L<Paws::Discovery::ListConfigurationsResponse> instance
864  
865 Retrieves a list of configuration items as specified by the value
866 passed to the required parameter C<configurationType>. Optional
867 filtering may be applied to refine search results.
868  
869  
870 =head2 ListServerNeighbors
871  
872 =over
873  
874 =item ConfigurationId => Str
875  
876 =item [MaxResults => Int]
877  
878 =item [NeighborConfigurationIds => ArrayRef[Str|Undef]]
879  
880 =item [NextToken => Str]
881  
882 =item [PortInformationNeeded => Bool]
883  
884  
885 =back
886  
887 Each argument is described in detail in: L<Paws::Discovery::ListServerNeighbors>
888  
889 Returns: a L<Paws::Discovery::ListServerNeighborsResponse> instance
890  
891 Retrieves a list of servers that are one network hop away from a
892 specified server.
893  
894  
895 =head2 StartContinuousExport
896  
897  
898  
899  
900  
901  
902 Each argument is described in detail in: L<Paws::Discovery::StartContinuousExport>
903  
904 Returns: a L<Paws::Discovery::StartContinuousExportResponse> instance
905  
906 Start the continuous flow of agent's discovered data into Amazon
907 Athena.
908  
909  
910 =head2 StartDataCollectionByAgentIds
911  
912 =over
913  
914 =item AgentIds => ArrayRef[Str|Undef]
915  
916  
917 =back
918  
919 Each argument is described in detail in: L<Paws::Discovery::StartDataCollectionByAgentIds>
920  
921 Returns: a L<Paws::Discovery::StartDataCollectionByAgentIdsResponse> instance
922  
923 Instructs the specified agents or connectors to start collecting data.
924  
925  
926 =head2 StartExportTask
927  
928 =over
929  
930 =item [EndTime => Str]
931  
932 =item [ExportDataFormat => ArrayRef[Str|Undef]]
933  
934 =item [Filters => ArrayRef[L<Paws::Discovery::ExportFilter>]]
935  
936 =item [StartTime => Str]
937  
938  
939 =back
940  
941 Each argument is described in detail in: L<Paws::Discovery::StartExportTask>
942  
943 Returns: a L<Paws::Discovery::StartExportTaskResponse> instance
944  
945 Begins the export of discovered data to an S3 bucket.
946  
947 If you specify C<agentIds> in a filter, the task exports up to 72 hours
948 of detailed data collected by the identified Application Discovery
949 Agent, including network, process, and performance details. A time
950 range for exported agent data may be set by using C<startTime> and
951 C<endTime>. Export of detailed agent data is limited to five
952 concurrently running exports.
953  
954 If you do not include an C<agentIds> filter, summary data is exported
955 that includes both AWS Agentless Discovery Connector data and summary
956 data from AWS Discovery Agents. Export of summary data is limited to
957 two exports per day.
958  
959  
960 =head2 StartImportTask
961  
962 =over
963  
964 =item ImportUrl => Str
965  
966 =item Name => Str
967  
968 =item [ClientRequestToken => Str]
969  
970  
971 =back
972  
973 Each argument is described in detail in: L<Paws::Discovery::StartImportTask>
974  
975 Returns: a L<Paws::Discovery::StartImportTaskResponse> instance
976  
977 Starts an import task, which allows you to import details of your
978 on-premises environment directly into AWS Migration Hub without having
979 to use the Application Discovery Service (ADS) tools such as the
980 Discovery Connector or Discovery Agent. This gives you the option to
981 perform migration assessment and planning directly from your imported
982 data, including the ability to group your devices as applications and
983 track their migration status.
984  
985 To start an import request, do this:
986  
987 =over
988  
989 =item 1.
990  
991 Download the specially formatted comma separated value (CSV) import
992 template, which you can find here:
993 https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv
994 (https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv).
995  
996 =item 2.
997  
998 Fill out the template with your server and application data.
999  
1000 =item 3.
1001  
1002 Upload your import file to an Amazon S3 bucket, and make a note of it's
1003 Object URL. Your import file must be in the CSV format.
1004  
1005 =item 4.
1006  
1007 Use the console or the C<StartImportTask> command with the AWS CLI or
1008 one of the AWS SDKs to import the records from your file.
1009  
1010 =back
1011  
1012 For more information, including step-by-step procedures, see Migration
1013 Hub Import
1014 (https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-import.html)
1015 in the I<AWS Application Discovery Service User Guide>.
1016  
1017 There are limits to the number of import tasks you can create (and
1018 delete) in an AWS account. For more information, see AWS Application
1019 Discovery Service Limits
1020 (https://docs.aws.amazon.com/application-discovery/latest/userguide/ads_service_limits.html)
1021 in the I<AWS Application Discovery Service User Guide>.
1022  
1023  
1024 =head2 StopContinuousExport
1025  
1026 =over
1027  
1028 =item ExportId => Str
1029  
1030  
1031 =back
1032  
1033 Each argument is described in detail in: L<Paws::Discovery::StopContinuousExport>
1034  
1035 Returns: a L<Paws::Discovery::StopContinuousExportResponse> instance
1036  
1037 Stop the continuous flow of agent's discovered data into Amazon Athena.
1038  
1039  
1040 =head2 StopDataCollectionByAgentIds
1041  
1042 =over
1043  
1044 =item AgentIds => ArrayRef[Str|Undef]
1045  
1046  
1047 =back
1048  
1049 Each argument is described in detail in: L<Paws::Discovery::StopDataCollectionByAgentIds>
1050  
1051 Returns: a L<Paws::Discovery::StopDataCollectionByAgentIdsResponse> instance
1052  
1053 Instructs the specified agents or connectors to stop collecting data.
1054  
1055  
1056 =head2 UpdateApplication
1057  
1058 =over
1059  
1060 =item ConfigurationId => Str
1061  
1062 =item [Description => Str]
1063  
1064 =item [Name => Str]
1065  
1066  
1067 =back
1068  
1069 Each argument is described in detail in: L<Paws::Discovery::UpdateApplication>
1070  
1071 Returns: a L<Paws::Discovery::UpdateApplicationResponse> instance
1072  
1073 Updates metadata about an application.
1074  
1075  
1076  
1077  
1078 =head1 PAGINATORS
1079  
1080 Paginator methods are helpers that repetively call methods that return partial results
1081  
1082 =head2 DescribeAllAgents(sub { },[AgentIds => ArrayRef[Str|Undef], Filters => ArrayRef[L<Paws::Discovery::Filter>], MaxResults => Int, NextToken => Str])
1083  
1084 =head2 DescribeAllAgents([AgentIds => ArrayRef[Str|Undef], Filters => ArrayRef[L<Paws::Discovery::Filter>], MaxResults => Int, NextToken => Str])
1085  
1086  
1087 If passed a sub as first parameter, it will call the sub for each element found in :
1088  
1089 - agentsInfo, passing the object as the first parameter, and the string 'agentsInfo' as the second parameter
1090  
1091 If not, it will return a a L<Paws::Discovery::DescribeAgentsResponse> 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.
1092  
1093  
1094 =head2 DescribeAllContinuousExports(sub { },[ExportIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1095  
1096 =head2 DescribeAllContinuousExports([ExportIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1097  
1098  
1099 If passed a sub as first parameter, it will call the sub for each element found in :
1100  
1101 - descriptions, passing the object as the first parameter, and the string 'descriptions' as the second parameter
1102  
1103 If not, it will return a a L<Paws::Discovery::DescribeContinuousExportsResponse> 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.
1104  
1105  
1106 =head2 DescribeAllExportConfigurations(sub { },[ExportIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1107  
1108 =head2 DescribeAllExportConfigurations([ExportIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1109  
1110  
1111 If passed a sub as first parameter, it will call the sub for each element found in :
1112  
1113 - exportsInfo, passing the object as the first parameter, and the string 'exportsInfo' as the second parameter
1114  
1115 If not, it will return a a L<Paws::Discovery::DescribeExportConfigurationsResponse> 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.
1116  
1117  
1118 =head2 DescribeAllExportTasks(sub { },[ExportIds => ArrayRef[Str|Undef], Filters => ArrayRef[L<Paws::Discovery::ExportFilter>], MaxResults => Int, NextToken => Str])
1119  
1120 =head2 DescribeAllExportTasks([ExportIds => ArrayRef[Str|Undef], Filters => ArrayRef[L<Paws::Discovery::ExportFilter>], MaxResults => Int, NextToken => Str])
1121  
1122  
1123 If passed a sub as first parameter, it will call the sub for each element found in :
1124  
1125 - exportsInfo, passing the object as the first parameter, and the string 'exportsInfo' as the second parameter
1126  
1127 If not, it will return a a L<Paws::Discovery::DescribeExportTasksResponse> 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.
1128  
1129  
1130 =head2 DescribeAllTags(sub { },[Filters => ArrayRef[L<Paws::Discovery::TagFilter>], MaxResults => Int, NextToken => Str])
1131  
1132 =head2 DescribeAllTags([Filters => ArrayRef[L<Paws::Discovery::TagFilter>], MaxResults => Int, NextToken => Str])
1133  
1134  
1135 If passed a sub as first parameter, it will call the sub for each element found in :
1136  
1137 - tags, passing the object as the first parameter, and the string 'tags' as the second parameter
1138  
1139 If not, it will return a a L<Paws::Discovery::DescribeTagsResponse> 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.
1140  
1141  
1142 =head2 ListAllConfigurations(sub { },ConfigurationType => Str, [Filters => ArrayRef[L<Paws::Discovery::Filter>], MaxResults => Int, NextToken => Str, OrderBy => ArrayRef[L<Paws::Discovery::OrderByElement>]])
1143  
1144 =head2 ListAllConfigurations(ConfigurationType => Str, [Filters => ArrayRef[L<Paws::Discovery::Filter>], MaxResults => Int, NextToken => Str, OrderBy => ArrayRef[L<Paws::Discovery::OrderByElement>]])
1145  
1146  
1147 If passed a sub as first parameter, it will call the sub for each element found in :
1148  
1149 - configurations, passing the object as the first parameter, and the string 'configurations' as the second parameter
1150  
1151 If not, it will return a a L<Paws::Discovery::ListConfigurationsResponse> 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.
1152  
1153  
1154  
1155  
1156  
1157 =head1 SEE ALSO
1158  
1159 This service class forms part of L<Paws>
1160  
1161 =head1 BUGS and CONTRIBUTIONS
1162  
1163 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1164  
1165 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1166  
1167 =cut
1168