File Coverage

blib/lib/Paws/Discovery/ListServerNeighbors.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Discovery::ListServerNeighbors;
3 1     1   611 use Moose;
  1         4  
  1         11  
4             has ConfigurationId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'configurationId' , required => 1);
5             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
6             has NeighborConfigurationIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'neighborConfigurationIds' );
7             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
8             has PortInformationNeeded => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'portInformationNeeded' );
9              
10 1     1   9820 use MooseX::ClassAttribute;
  1         6  
  1         12  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListServerNeighbors');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Discovery::ListServerNeighborsResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::Discovery::ListServerNeighbors - Arguments for method ListServerNeighbors on Paws::Discovery
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method ListServerNeighbors on the
26             AWS Application Discovery Service service. Use the attributes of this class
27             as arguments to method ListServerNeighbors.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListServerNeighbors.
30              
31             As an example:
32              
33             $service_obj->ListServerNeighbors(Att1 => $value1, Att2 => $value2, ...);
34              
35             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 B<REQUIRED> ConfigurationId => Str
41              
42             Configuration ID of the server for which neighbors are being listed.
43              
44              
45              
46             =head2 MaxResults => Int
47              
48             Maximum number of results to return in a single page of output.
49              
50              
51              
52             =head2 NeighborConfigurationIds => ArrayRef[Str|Undef]
53              
54             List of configuration IDs to test for one-hop-away.
55              
56              
57              
58             =head2 NextToken => Str
59              
60             Token to retrieve the next set of results. For example, if you
61             previously specified 100 IDs for
62             C<ListServerNeighborsRequest$neighborConfigurationIds> but set
63             C<ListServerNeighborsRequest$maxResults> to 10, you received a set of
64             10 results along with a token. Use that token in this query to get the
65             next set of 10.
66              
67              
68              
69             =head2 PortInformationNeeded => Bool
70              
71             Flag to indicate if port and protocol information is needed as part of
72             the response.
73              
74              
75              
76              
77             =head1 SEE ALSO
78              
79             This class forms part of L<Paws>, documenting arguments for method ListServerNeighbors in L<Paws::Discovery>
80              
81             =head1 BUGS and CONTRIBUTIONS
82              
83             The source code is located here: https://github.com/pplu/aws-sdk-perl
84              
85             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
86              
87             =cut
88