blib/lib/Paws/Config/ListDiscoveredResources.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Config::ListDiscoveredResources;
3 use Moose;
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 use MooseX::ClassAttribute;
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 L<Paws::Config>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListDiscoveredResources on the
27 L<AWS Config|Paws::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 =head1 SYNOPSIS
33  
34 my $config = Paws->service('Config');
35 my $ListDiscoveredResourcesResponse = $config->ListDiscoveredResources(
36 ResourceType => 'AWS::EC2::CustomerGateway',
37 IncludeDeletedResources => 1, # OPTIONAL
38 Limit => 1, # OPTIONAL
39 NextToken => 'MyNextToken', # OPTIONAL
40 ResourceIds => [
41 'MyResourceId', ... # min: 1, max: 768
42 ], # OPTIONAL
43 ResourceName => 'MyResourceName', # OPTIONAL
44 );
45  
46 # Results:
47 my $NextToken = $ListDiscoveredResourcesResponse->NextToken;
48 my $ResourceIdentifiers =
49 $ListDiscoveredResourcesResponse->ResourceIdentifiers;
50  
51 # Returns a L<Paws::Config::ListDiscoveredResourcesResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/ListDiscoveredResources>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 IncludeDeletedResources => Bool
60  
61 Specifies whether AWS Config includes deleted resources in the results.
62 By default, deleted resources are not included.
63  
64  
65  
66 =head2 Limit => Int
67  
68 The maximum number of resource identifiers returned on each page. The
69 default is 100. You cannot specify a number greater than 100. If you
70 specify 0, AWS Config uses the default.
71  
72  
73  
74 =head2 NextToken => Str
75  
76 The C<nextToken> string returned on a previous page that you use to get
77 the next page of results in a paginated response.
78  
79  
80  
81 =head2 ResourceIds => ArrayRef[Str|Undef]
82  
83 The IDs of only those resources that you want AWS Config to list in the
84 response. If you do not specify this parameter, AWS Config lists all
85 resources of the specified type that it has discovered.
86  
87  
88  
89 =head2 ResourceName => Str
90  
91 The custom name of only those resources that you want AWS Config to
92 list in the response. If you do not specify this parameter, AWS Config
93 lists all resources of the specified type that it has discovered.
94  
95  
96  
97 =head2 B<REQUIRED> ResourceType => Str
98  
99 The type of resources that you want AWS Config to list in the response.
100  
101 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::EC2::RegisteredHAInstance">, C<"AWS::EC2::NatGateway">, C<"AWS::EC2::EgressOnlyInternetGateway">, C<"AWS::EC2::VPCEndpoint">, C<"AWS::EC2::VPCEndpointService">, C<"AWS::EC2::FlowLog">, C<"AWS::EC2::VPCPeeringConnection">, C<"AWS::Elasticsearch::Domain">, C<"AWS::IAM::Group">, C<"AWS::IAM::Policy">, C<"AWS::IAM::Role">, C<"AWS::IAM::User">, C<"AWS::ElasticLoadBalancingV2::LoadBalancer">, C<"AWS::ACM::Certificate">, C<"AWS::RDS::DBInstance">, C<"AWS::RDS::DBSubnetGroup">, C<"AWS::RDS::DBSecurityGroup">, C<"AWS::RDS::DBSnapshot">, C<"AWS::RDS::DBCluster">, C<"AWS::RDS::DBClusterSnapshot">, C<"AWS::RDS::EventSubscription">, C<"AWS::S3::Bucket">, C<"AWS::S3::AccountPublicAccessBlock">, 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::SSM::ManagedInstanceInventory">, C<"AWS::CloudWatch::Alarm">, C<"AWS::CloudFormation::Stack">, C<"AWS::ElasticLoadBalancing::LoadBalancer">, C<"AWS::AutoScaling::AutoScalingGroup">, C<"AWS::AutoScaling::LaunchConfiguration">, C<"AWS::AutoScaling::ScalingPolicy">, C<"AWS::AutoScaling::ScheduledAction">, C<"AWS::DynamoDB::Table">, C<"AWS::CodeBuild::Project">, C<"AWS::WAF::RateBasedRule">, C<"AWS::WAF::Rule">, C<"AWS::WAF::RuleGroup">, C<"AWS::WAF::WebACL">, C<"AWS::WAFRegional::RateBasedRule">, C<"AWS::WAFRegional::Rule">, C<"AWS::WAFRegional::RuleGroup">, C<"AWS::WAFRegional::WebACL">, C<"AWS::CloudFront::Distribution">, C<"AWS::CloudFront::StreamingDistribution">, C<"AWS::Lambda::Function">, C<"AWS::NetworkFirewall::Firewall">, C<"AWS::NetworkFirewall::FirewallPolicy">, C<"AWS::NetworkFirewall::RuleGroup">, C<"AWS::ElasticBeanstalk::Application">, C<"AWS::ElasticBeanstalk::ApplicationVersion">, C<"AWS::ElasticBeanstalk::Environment">, C<"AWS::WAFv2::WebACL">, C<"AWS::WAFv2::RuleGroup">, C<"AWS::WAFv2::IPSet">, C<"AWS::WAFv2::RegexPatternSet">, C<"AWS::WAFv2::ManagedRuleSet">, C<"AWS::XRay::EncryptionConfig">, C<"AWS::SSM::AssociationCompliance">, C<"AWS::SSM::PatchCompliance">, C<"AWS::Shield::Protection">, C<"AWS::ShieldRegional::Protection">, C<"AWS::Config::ConformancePackCompliance">, C<"AWS::Config::ResourceCompliance">, C<"AWS::ApiGateway::Stage">, C<"AWS::ApiGateway::RestApi">, C<"AWS::ApiGatewayV2::Stage">, C<"AWS::ApiGatewayV2::Api">, C<"AWS::CodePipeline::Pipeline">, C<"AWS::ServiceCatalog::CloudFormationProvisionedProduct">, C<"AWS::ServiceCatalog::CloudFormationProduct">, C<"AWS::ServiceCatalog::Portfolio">, C<"AWS::SQS::Queue">, C<"AWS::KMS::Key">, C<"AWS::QLDB::Ledger">, C<"AWS::SecretsManager::Secret">, C<"AWS::SNS::Topic">, C<"AWS::SSM::FileData">
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method ListDiscoveredResources in L<Paws::Config>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115