Class: Aws::ConfigService::Types::GetResourceConfigHistoryRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConfigService::Types::GetResourceConfigHistoryRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-configservice/types.rb
Overview
When making an API call, you may pass GetResourceConfigHistoryRequest data as a hash:
{
resource_type: "AWS::EC2::CustomerGateway", # required, accepts 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::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
resource_id: "ResourceId", # required
later_time: Time.now,
earlier_time: Time.now,
chronological_order: "Reverse", # accepts Reverse, Forward
limit: 1,
next_token: "NextToken",
}
The input for the GetResourceConfigHistory action.
Instance Attribute Summary collapse
-
#chronological_order ⇒ String
The chronological order for configuration items listed.
-
#earlier_time ⇒ Time
The time stamp that indicates an earlier time.
-
#later_time ⇒ Time
The time stamp that indicates a later time.
-
#limit ⇒ Integer
The maximum number of configuration items returned on each page.
-
#next_token ⇒ String
The ‘nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
-
#resource_id ⇒ String
The ID of the resource (for example., ‘sg-xxxxxx`).
-
#resource_type ⇒ String
The resource type.
Instance Attribute Details
#chronological_order ⇒ String
The chronological order for configuration items listed. By default the results are listed in reverse chronological order.
1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/aws-sdk-configservice/types.rb', line 1786 class GetResourceConfigHistoryRequest < Struct.new( :resource_type, :resource_id, :later_time, :earlier_time, :chronological_order, :limit, :next_token) include Aws::Structure end |
#earlier_time ⇒ Time
The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.
1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/aws-sdk-configservice/types.rb', line 1786 class GetResourceConfigHistoryRequest < Struct.new( :resource_type, :resource_id, :later_time, :earlier_time, :chronological_order, :limit, :next_token) include Aws::Structure end |
#later_time ⇒ Time
The time stamp that indicates a later time. If not specified, current time is taken.
1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/aws-sdk-configservice/types.rb', line 1786 class GetResourceConfigHistoryRequest < Struct.new( :resource_type, :resource_id, :later_time, :earlier_time, :chronological_order, :limit, :next_token) include Aws::Structure end |
#limit ⇒ Integer
The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/aws-sdk-configservice/types.rb', line 1786 class GetResourceConfigHistoryRequest < Struct.new( :resource_type, :resource_id, :later_time, :earlier_time, :chronological_order, :limit, :next_token) include Aws::Structure end |
#next_token ⇒ String
The ‘nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/aws-sdk-configservice/types.rb', line 1786 class GetResourceConfigHistoryRequest < Struct.new( :resource_type, :resource_id, :later_time, :earlier_time, :chronological_order, :limit, :next_token) include Aws::Structure end |
#resource_id ⇒ String
The ID of the resource (for example., ‘sg-xxxxxx`).
1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/aws-sdk-configservice/types.rb', line 1786 class GetResourceConfigHistoryRequest < Struct.new( :resource_type, :resource_id, :later_time, :earlier_time, :chronological_order, :limit, :next_token) include Aws::Structure end |
#resource_type ⇒ String
The resource type.
1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/aws-sdk-configservice/types.rb', line 1786 class GetResourceConfigHistoryRequest < Struct.new( :resource_type, :resource_id, :later_time, :earlier_time, :chronological_order, :limit, :next_token) include Aws::Structure end |