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

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Config::GetResourceConfigHistory;
3 use Moose;
4 has ChronologicalOrder => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'chronologicalOrder' );
5 has EarlierTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'earlierTime' );
6 has LaterTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'laterTime' );
7 has Limit => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'limit' );
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
9 has ResourceId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceId' , required => 1);
10 has ResourceType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'resourceType' , required => 1);
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetResourceConfigHistory');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::GetResourceConfigHistoryResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Config::GetResourceConfigHistory - Arguments for method GetResourceConfigHistory on L<Paws::Config>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method GetResourceConfigHistory on the
28 L<AWS Config|Paws::Config> service. Use the attributes of this class
29 as arguments to method GetResourceConfigHistory.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetResourceConfigHistory.
32  
33 =head1 SYNOPSIS
34  
35 my $config = Paws->service('Config');
36 my $GetResourceConfigHistoryResponse = $config->GetResourceConfigHistory(
37 ResourceId => 'MyResourceId',
38 ResourceType => 'AWS::EC2::CustomerGateway',
39 ChronologicalOrder => 'Reverse', # OPTIONAL
40 EarlierTime => '1970-01-01T01:00:00', # OPTIONAL
41 LaterTime => '1970-01-01T01:00:00', # OPTIONAL
42 Limit => 1, # OPTIONAL
43 NextToken => 'MyNextToken', # OPTIONAL
44 );
45  
46 # Results:
47 my $ConfigurationItems =
48 $GetResourceConfigHistoryResponse->ConfigurationItems;
49 my $NextToken = $GetResourceConfigHistoryResponse->NextToken;
50  
51 # Returns a L<Paws::Config::GetResourceConfigHistoryResponse> 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/GetResourceConfigHistory>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 ChronologicalOrder => Str
60  
61 The chronological order for configuration items listed. By default, the
62 results are listed in reverse chronological order.
63  
64 Valid values are: C<"Reverse">, C<"Forward">
65  
66 =head2 EarlierTime => Str
67  
68 The time stamp that indicates an earlier time. If not specified, the
69 action returns paginated results that contain configuration items that
70 start when the first configuration item was recorded.
71  
72  
73  
74 =head2 LaterTime => Str
75  
76 The time stamp that indicates a later time. If not specified, current
77 time is taken.
78  
79  
80  
81 =head2 Limit => Int
82  
83 The maximum number of configuration items returned on each page. The
84 default is 10. You cannot specify a number greater than 100. If you
85 specify 0, AWS Config uses the default.
86  
87  
88  
89 =head2 NextToken => Str
90  
91 The C<nextToken> string returned on a previous page that you use to get
92 the next page of results in a paginated response.
93  
94  
95  
96 =head2 B<REQUIRED> ResourceId => Str
97  
98 The ID of the resource (for example., C<sg-xxxxxx>).
99  
100  
101  
102 =head2 B<REQUIRED> ResourceType => Str
103  
104 The resource type.
105  
106 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">
107  
108  
109 =head1 SEE ALSO
110  
111 This class forms part of L<Paws>, documenting arguments for method GetResourceConfigHistory in L<Paws::Config>
112  
113 =head1 BUGS and CONTRIBUTIONS
114  
115 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
116  
117 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
118  
119 =cut
120