get_ipam_address_history
async
¶
get_ipam_address_history(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
cidr: Optional[String] = None,
ipam_scope_id: Optional[IpamScopeId] = None,
vpc_id: Optional[String] = None,
start_time: Optional[MillisecondDateTime] = None,
end_time: Optional[MillisecondDateTime] = None,
max_results: Optional[IpamAddressHistoryMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetIpamAddressHistoryResult
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.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
cidr(Optional[String], default:None) –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.
-
ipam_scope_id(Optional[IpamScopeId], default:None) –The ID of the IPAM scope that the CIDR is in.
-
vpc_id(Optional[String], default:None) –The ID of the VPC you want your history records filtered by.
-
start_time(Optional[MillisecondDateTime], default:None) –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.
-
end_time(Optional[MillisecondDateTime], default:None) –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.
-
max_results(Optional[IpamAddressHistoryMaxResults], default:None) –The maximum number of historical results you would like returned per page. Defaults to 100.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
44804 44805 44806 44807 44808 44809 44810 44811 44812 44813 44814 44815 44816 44817 44818 44819 44820 44821 44822 44823 44824 44825 44826 44827 44828 44829 44830 44831 44832 44833 44834 44835 44836 44837 44838 44839 44840 44841 44842 44843 44844 44845 44846 44847 44848 44849 44850 44851 44852 44853 44854 44855 44856 44857 44858 44859 44860 44861 44862 44863 44864 44865 44866 44867 44868 44869 44870 44871 44872 44873 44874 44875 44876 44877 44878 44879 44880 44881 | |