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

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Config::BatchGetAggregateResourceConfig;
3 use Moose;
4 has ConfigurationAggregatorName => (is => 'ro', isa => 'Str', required => 1);
5 has ResourceIdentifiers => (is => 'ro', isa => 'ArrayRef[Paws::Config::AggregateResourceIdentifier]', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchGetAggregateResourceConfig');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::BatchGetAggregateResourceConfigResponse');
11 class_has _result_key => (isa => 'Str', is => 'ro');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Config::BatchGetAggregateResourceConfig - Arguments for method BatchGetAggregateResourceConfig on L<Paws::Config>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method BatchGetAggregateResourceConfig on the
23 L<AWS Config|Paws::Config> service. Use the attributes of this class
24 as arguments to method BatchGetAggregateResourceConfig.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchGetAggregateResourceConfig.
27  
28 =head1 SYNOPSIS
29  
30 my $config = Paws->service('Config');
31 my $BatchGetAggregateResourceConfigResponse =
32 $config->BatchGetAggregateResourceConfig(
33 ConfigurationAggregatorName => 'MyConfigurationAggregatorName',
34 ResourceIdentifiers => [
35 {
36 ResourceId => 'MyResourceId', # min: 1, max: 768
37 ResourceType => 'AWS::EC2::CustomerGateway'
38 , # values: AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::EC2::RegisteredHAInstance, AWS::EC2::NatGateway, AWS::EC2::EgressOnlyInternetGateway, AWS::EC2::VPCEndpoint, AWS::EC2::VPCEndpointService, AWS::EC2::FlowLog, AWS::EC2::VPCPeeringConnection, AWS::Elasticsearch::Domain, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::DBCluster, AWS::RDS::DBClusterSnapshot, AWS::RDS::EventSubscription, AWS::S3::Bucket, AWS::S3::AccountPublicAccessBlock, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::SSM::ManagedInstanceInventory, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack, AWS::ElasticLoadBalancing::LoadBalancer, AWS::AutoScaling::AutoScalingGroup, AWS::AutoScaling::LaunchConfiguration, AWS::AutoScaling::ScalingPolicy, AWS::AutoScaling::ScheduledAction, AWS::DynamoDB::Table, AWS::CodeBuild::Project, AWS::WAF::RateBasedRule, AWS::WAF::Rule, AWS::WAF::RuleGroup, AWS::WAF::WebACL, AWS::WAFRegional::RateBasedRule, AWS::WAFRegional::Rule, AWS::WAFRegional::RuleGroup, AWS::WAFRegional::WebACL, AWS::CloudFront::Distribution, AWS::CloudFront::StreamingDistribution, AWS::Lambda::Function, AWS::NetworkFirewall::Firewall, AWS::NetworkFirewall::FirewallPolicy, AWS::NetworkFirewall::RuleGroup, AWS::ElasticBeanstalk::Application, AWS::ElasticBeanstalk::ApplicationVersion, AWS::ElasticBeanstalk::Environment, AWS::WAFv2::WebACL, AWS::WAFv2::RuleGroup, AWS::WAFv2::IPSet, AWS::WAFv2::RegexPatternSet, AWS::WAFv2::ManagedRuleSet, AWS::XRay::EncryptionConfig, AWS::SSM::AssociationCompliance, AWS::SSM::PatchCompliance, AWS::Shield::Protection, AWS::ShieldRegional::Protection, AWS::Config::ConformancePackCompliance, AWS::Config::ResourceCompliance, AWS::ApiGateway::Stage, AWS::ApiGateway::RestApi, AWS::ApiGatewayV2::Stage, AWS::ApiGatewayV2::Api, AWS::CodePipeline::Pipeline, AWS::ServiceCatalog::CloudFormationProvisionedProduct, AWS::ServiceCatalog::CloudFormationProduct, AWS::ServiceCatalog::Portfolio, AWS::SQS::Queue, AWS::KMS::Key, AWS::QLDB::Ledger, AWS::SecretsManager::Secret, AWS::SNS::Topic, AWS::SSM::FileData
39 SourceAccountId => 'MyAccountId',
40 SourceRegion => 'MyAwsRegion', # min: 1, max: 64
41 ResourceName => 'MyResourceName', # OPTIONAL
42 },
43 ...
44 ],
45  
46 );
47  
48 # Results:
49 my $BaseConfigurationItems =
50 $BatchGetAggregateResourceConfigResponse->BaseConfigurationItems;
51 my $UnprocessedResourceIdentifiers =
52 $BatchGetAggregateResourceConfigResponse->UnprocessedResourceIdentifiers;
53  
54 # Returns a L<Paws::Config::BatchGetAggregateResourceConfigResponse> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/BatchGetAggregateResourceConfig>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 B<REQUIRED> ConfigurationAggregatorName => Str
63  
64 The name of the configuration aggregator.
65  
66  
67  
68 =head2 B<REQUIRED> ResourceIdentifiers => ArrayRef[L<Paws::Config::AggregateResourceIdentifier>]
69  
70 A list of aggregate ResourceIdentifiers objects.
71  
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, documenting arguments for method BatchGetAggregateResourceConfig in L<Paws::Config>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86