get_ipam_address_history
¶
get_ipam_address_history(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
44191 44192 44193 44194 44195 44196 44197 44198 44199 44200 44201 44202 44203 44204 44205 44206 44207 44208 44209 44210 44211 44212 44213 44214 44215 44216 44217 44218 44219 44220 44221 44222 44223 44224 44225 44226 44227 44228 44229 44230 44231 44232 44233 44234 44235 44236 44237 44238 44239 44240 44241 44242 44243 44244 44245 44246 44247 44248 44249 44250 44251 44252 44253 44254 44255 44256 44257 44258 44259 44260 44261 44262 44263 44264 44265 44266 44267 | |