Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
This operation returns paginated results.
Synopsis
- data GetIpamAddressHistory = GetIpamAddressHistory' {}
- newGetIpamAddressHistory :: Text -> Text -> GetIpamAddressHistory
- getIpamAddressHistory_dryRun :: Lens' GetIpamAddressHistory (Maybe Bool)
- getIpamAddressHistory_endTime :: Lens' GetIpamAddressHistory (Maybe UTCTime)
- getIpamAddressHistory_maxResults :: Lens' GetIpamAddressHistory (Maybe Natural)
- getIpamAddressHistory_nextToken :: Lens' GetIpamAddressHistory (Maybe Text)
- getIpamAddressHistory_startTime :: Lens' GetIpamAddressHistory (Maybe UTCTime)
- getIpamAddressHistory_vpcId :: Lens' GetIpamAddressHistory (Maybe Text)
- getIpamAddressHistory_cidr :: Lens' GetIpamAddressHistory Text
- getIpamAddressHistory_ipamScopeId :: Lens' GetIpamAddressHistory Text
- data GetIpamAddressHistoryResponse = GetIpamAddressHistoryResponse' {}
- newGetIpamAddressHistoryResponse :: Int -> GetIpamAddressHistoryResponse
- getIpamAddressHistoryResponse_historyRecords :: Lens' GetIpamAddressHistoryResponse (Maybe [IpamAddressHistoryRecord])
- getIpamAddressHistoryResponse_nextToken :: Lens' GetIpamAddressHistoryResponse (Maybe Text)
- getIpamAddressHistoryResponse_httpStatus :: Lens' GetIpamAddressHistoryResponse Int
Creating a Request
data GetIpamAddressHistory Source #
See: newGetIpamAddressHistory
smart constructor.
GetIpamAddressHistory' | |
|
Instances
newGetIpamAddressHistory Source #
Create a value of GetIpamAddressHistory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:GetIpamAddressHistory'
, getIpamAddressHistory_dryRun
- 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
.
GetIpamAddressHistory
, getIpamAddressHistory_endTime
- 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.
$sel:maxResults:GetIpamAddressHistory'
, getIpamAddressHistory_maxResults
- The maximum number of historical results you would like returned per
page. Defaults to 100.
GetIpamAddressHistory
, getIpamAddressHistory_nextToken
- The token for the next page of results.
GetIpamAddressHistory
, getIpamAddressHistory_startTime
- 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.
GetIpamAddressHistory
, getIpamAddressHistory_vpcId
- The ID of the VPC you want your history records filtered by.
GetIpamAddressHistory
, getIpamAddressHistory_cidr
- 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.
GetIpamAddressHistory
, getIpamAddressHistory_ipamScopeId
- The ID of the IPAM scope that the CIDR is in.
Request Lenses
getIpamAddressHistory_dryRun :: Lens' GetIpamAddressHistory (Maybe Bool) Source #
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
.
getIpamAddressHistory_endTime :: Lens' GetIpamAddressHistory (Maybe UTCTime) Source #
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.
getIpamAddressHistory_maxResults :: Lens' GetIpamAddressHistory (Maybe Natural) Source #
The maximum number of historical results you would like returned per page. Defaults to 100.
getIpamAddressHistory_nextToken :: Lens' GetIpamAddressHistory (Maybe Text) Source #
The token for the next page of results.
getIpamAddressHistory_startTime :: Lens' GetIpamAddressHistory (Maybe UTCTime) Source #
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.
getIpamAddressHistory_vpcId :: Lens' GetIpamAddressHistory (Maybe Text) Source #
The ID of the VPC you want your history records filtered by.
getIpamAddressHistory_cidr :: Lens' GetIpamAddressHistory Text Source #
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.
getIpamAddressHistory_ipamScopeId :: Lens' GetIpamAddressHistory Text Source #
The ID of the IPAM scope that the CIDR is in.
Destructuring the Response
data GetIpamAddressHistoryResponse Source #
See: newGetIpamAddressHistoryResponse
smart constructor.
GetIpamAddressHistoryResponse' | |
|
Instances
newGetIpamAddressHistoryResponse Source #
Create a value of GetIpamAddressHistoryResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:historyRecords:GetIpamAddressHistoryResponse'
, getIpamAddressHistoryResponse_historyRecords
- A historical record for a CIDR within an IPAM scope. If the CIDR is
associated with an EC2 instance, you will see an object in the response
for the instance and one for the network interface.
GetIpamAddressHistory
, getIpamAddressHistoryResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:GetIpamAddressHistoryResponse'
, getIpamAddressHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
getIpamAddressHistoryResponse_historyRecords :: Lens' GetIpamAddressHistoryResponse (Maybe [IpamAddressHistoryRecord]) Source #
A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.
getIpamAddressHistoryResponse_nextToken :: Lens' GetIpamAddressHistoryResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
getIpamAddressHistoryResponse_httpStatus :: Lens' GetIpamAddressHistoryResponse Int Source #
The response's http status code.