File Coverage

blib/lib/Paws/Config/ListDiscoveredResources.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::Config::ListDiscoveredResources;
3 1     1   435 use Moose;
  1         3  
  1         7  
4             has IncludeDeletedResources => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'includeDeletedResources' );
5             has Limit => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'limit' );
6             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
7             has ResourceIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'resourceIds' );
8             has ResourceName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceName' );
9             has ResourceType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceType' , required => 1);
10              
11 1     1   5743 use MooseX::ClassAttribute;
  1         4  
  1         8  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListDiscoveredResources');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::ListDiscoveredResourcesResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Config::ListDiscoveredResources - Arguments for method ListDiscoveredResources on Paws::Config
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method ListDiscoveredResources on the
27             AWS Config service. Use the attributes of this class
28             as arguments to method ListDiscoveredResources.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListDiscoveredResources.
31              
32             As an example:
33              
34             $service_obj->ListDiscoveredResources(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 IncludeDeletedResources => Bool
42              
43             Specifies whether AWS Config includes deleted resources in the results.
44             By default, deleted resources are not included.
45              
46              
47              
48             =head2 Limit => Int
49              
50             The maximum number of resource identifiers returned on each page. The
51             default is 100. You cannot specify a limit greater than 100. If you
52             specify 0, AWS Config uses the default.
53              
54              
55              
56             =head2 NextToken => Str
57              
58             The C<nextToken> string returned on a previous page that you use to get
59             the next page of results in a paginated response.
60              
61              
62              
63             =head2 ResourceIds => ArrayRef[Str|Undef]
64              
65             The IDs of only those resources that you want AWS Config to list in the
66             response. If you do not specify this parameter, AWS Config lists all
67             resources of the specified type that it has discovered.
68              
69              
70              
71             =head2 ResourceName => Str
72              
73             The custom name of only those resources that you want AWS Config to
74             list in the response. If you do not specify this parameter, AWS Config
75             lists all resources of the specified type that it has discovered.
76              
77              
78              
79             =head2 B<REQUIRED> ResourceType => Str
80              
81             The type of resources that you want AWS Config to list in the response.
82              
83             Valid values are: C<"AWS::EC2::CustomerGateway">, C<"AWS::EC2::EIP">, C<"AWS::EC2::Host">, C<"AWS::EC2::Instance">, C<"AWS::EC2::InternetGateway">, C<"AWS::EC2::NetworkAcl">, C<"AWS::EC2::NetworkInterface">, C<"AWS::EC2::RouteTable">, C<"AWS::EC2::SecurityGroup">, C<"AWS::EC2::Subnet">, C<"AWS::CloudTrail::Trail">, C<"AWS::EC2::Volume">, C<"AWS::EC2::VPC">, C<"AWS::EC2::VPNConnection">, C<"AWS::EC2::VPNGateway">, C<"AWS::IAM::Group">, C<"AWS::IAM::Policy">, C<"AWS::IAM::Role">, C<"AWS::IAM::User">, C<"AWS::ACM::Certificate">, C<"AWS::RDS::DBInstance">, C<"AWS::RDS::DBSubnetGroup">, C<"AWS::RDS::DBSecurityGroup">, C<"AWS::RDS::DBSnapshot">, C<"AWS::RDS::EventSubscription">, C<"AWS::ElasticLoadBalancingV2::LoadBalancer">, C<"AWS::S3::Bucket">, C<"AWS::SSM::ManagedInstanceInventory">, C<"AWS::Redshift::Cluster">, C<"AWS::Redshift::ClusterSnapshot">, C<"AWS::Redshift::ClusterParameterGroup">, C<"AWS::Redshift::ClusterSecurityGroup">, C<"AWS::Redshift::ClusterSubnetGroup">, C<"AWS::Redshift::EventSubscription">, C<"AWS::CloudWatch::Alarm">, C<"AWS::CloudFormation::Stack">, C<"AWS::DynamoDB::Table">, C<"AWS::AutoScaling::AutoScalingGroup">, C<"AWS::AutoScaling::LaunchConfiguration">, C<"AWS::AutoScaling::ScalingPolicy">, C<"AWS::AutoScaling::ScheduledAction">
84              
85              
86             =head1 SEE ALSO
87              
88             This class forms part of L<Paws>, documenting arguments for method ListDiscoveredResources in L<Paws::Config>
89              
90             =head1 BUGS and CONTRIBUTIONS
91              
92             The source code is located here: https://github.com/pplu/aws-sdk-perl
93              
94             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
95              
96             =cut
97