aws.ec2.get_ipam_address_history
Example SQL Queries
SELECT * FROMaws.ec2.get_ipam_address_historyWHERE"cidr" = 'VALUE'AND "ipam_scope_id" = 'VALUE';Description
Retrieve historical information about a CIDR within an IPAM scope. For more information, see View the history of IP addresses in the Amazon VPC IPAM User Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| cidr Required Input Column The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR. | VARCHAR |
| ipam_scope_id Required Input Column The ID of the IPAM scope that the CIDR is in. | VARCHAR |
| dry_run Input Column A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. | BOOLEAN |
| end_time Input Column The end of the time period for which you are looking for history. If you omit this option, it will default to the current time. | TIMESTAMP_S |
| start_time Input Column The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime. | TIMESTAMP_S |
| vpc_id Input Column The VPC ID of the resource. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| resource_cidr The CIDR of the resource. | VARCHAR |
| resource_compliance_status The compliance status of a resource. For more information on compliance statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide. | VARCHAR |
| resource_id The ID of the resource. | VARCHAR |
| resource_name The name of the resource. | VARCHAR |
| resource_overlap_status The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see Monitor CIDR usage by resource in the Amazon VPC IPAM User Guide. | VARCHAR |
| resource_owner_id The ID of the resource owner. | VARCHAR |
| resource_region The Amazon Web Services Region of the resource. | VARCHAR |
| resource_type The type of the resource. | VARCHAR |
| sampled_end_time Sampled end time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the end time may have occurred before this specific time. | TIMESTAMP_S |
| sampled_start_time Sampled start time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the start time may have occurred before this specific time. | TIMESTAMP_S |