« blib/lib/Paws/Config/GetAggregateConformancePackComplianceSummaryResponse.pm
↑ Summary
blib/lib/Paws/Config/GetAggregateDiscoveredResourceCountsResponse.pm »
| 1 | |||
| 2 | package Paws::Config::GetAggregateDiscoveredResourceCounts; | ||
| 3 | use Moose; | ||
| 4 | has ConfigurationAggregatorName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Filters => (is => 'ro', isa => 'Paws::Config::ResourceCountFilters'); | ||
| 6 | has GroupByKey => (is => 'ro', isa => 'Str'); | ||
| 7 | has Limit => (is => 'ro', isa => 'Int'); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetAggregateDiscoveredResourceCounts'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::GetAggregateDiscoveredResourceCountsResponse'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Config::GetAggregateDiscoveredResourceCounts - Arguments for method GetAggregateDiscoveredResourceCounts on L<Paws::Config> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method GetAggregateDiscoveredResourceCounts on the | ||
| 26 | L<AWS Config|Paws::Config> service. Use the attributes of this class | ||
| 27 | as arguments to method GetAggregateDiscoveredResourceCounts. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetAggregateDiscoveredResourceCounts. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $config = Paws->service('Config'); | ||
| 34 | my $GetAggregateDiscoveredResourceCountsResponse = | ||
| 35 | $config->GetAggregateDiscoveredResourceCounts( | ||
| 36 | ConfigurationAggregatorName => 'MyConfigurationAggregatorName', | ||
| 37 | Filters => { | ||
| 38 | AccountId => 'MyAccountId', # OPTIONAL | ||
| 39 | Region => 'MyAwsRegion', # min: 1, max: 64; OPTIONAL | ||
| 40 | ResourceType => 'AWS::EC2::CustomerGateway' | ||
| 41 | , # 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; OPTIONAL | ||
| 42 | }, # OPTIONAL | ||
| 43 | GroupByKey => 'RESOURCE_TYPE', # OPTIONAL | ||
| 44 | Limit => 1, # OPTIONAL | ||
| 45 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 46 | ); | ||
| 47 | |||
| 48 | # Results: | ||
| 49 | my $GroupByKey = $GetAggregateDiscoveredResourceCountsResponse->GroupByKey; | ||
| 50 | my $GroupedResourceCounts = | ||
| 51 | $GetAggregateDiscoveredResourceCountsResponse->GroupedResourceCounts; | ||
| 52 | my $NextToken = $GetAggregateDiscoveredResourceCountsResponse->NextToken; | ||
| 53 | my $TotalDiscoveredResources = | ||
| 54 | $GetAggregateDiscoveredResourceCountsResponse->TotalDiscoveredResources; | ||
| 55 | |||
| 56 | # Returns a L<Paws::Config::GetAggregateDiscoveredResourceCountsResponse> object. | ||
| 57 | |||
| 58 | 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. | ||
| 59 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/GetAggregateDiscoveredResourceCounts> | ||
| 60 | |||
| 61 | =head1 ATTRIBUTES | ||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> ConfigurationAggregatorName => Str | ||
| 65 | |||
| 66 | The name of the configuration aggregator. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 Filters => L<Paws::Config::ResourceCountFilters> | ||
| 71 | |||
| 72 | Filters the results based on the C<ResourceCountFilters> object. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 GroupByKey => Str | ||
| 77 | |||
| 78 | The key to group the resource counts. | ||
| 79 | |||
| 80 | Valid values are: C<"RESOURCE_TYPE">, C<"ACCOUNT_ID">, C<"AWS_REGION"> | ||
| 81 | |||
| 82 | =head2 Limit => Int | ||
| 83 | |||
| 84 | The maximum number of GroupedResourceCount objects returned on each | ||
| 85 | page. The default is 1000. You cannot specify a number greater than | ||
| 86 | 1000. If you specify 0, AWS Config uses the default. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 NextToken => Str | ||
| 91 | |||
| 92 | The C<nextToken> string returned on a previous page that you use to get | ||
| 93 | the next page of results in a paginated response. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, documenting arguments for method GetAggregateDiscoveredResourceCounts in L<Paws::Config> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |