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 |
Gets information about the subnet CIDR reservations.
Synopsis
- data GetSubnetCidrReservations = GetSubnetCidrReservations' {}
- newGetSubnetCidrReservations :: Text -> GetSubnetCidrReservations
- getSubnetCidrReservations_dryRun :: Lens' GetSubnetCidrReservations (Maybe Bool)
- getSubnetCidrReservations_filters :: Lens' GetSubnetCidrReservations (Maybe [Filter])
- getSubnetCidrReservations_maxResults :: Lens' GetSubnetCidrReservations (Maybe Natural)
- getSubnetCidrReservations_nextToken :: Lens' GetSubnetCidrReservations (Maybe Text)
- getSubnetCidrReservations_subnetId :: Lens' GetSubnetCidrReservations Text
- data GetSubnetCidrReservationsResponse = GetSubnetCidrReservationsResponse' {}
- newGetSubnetCidrReservationsResponse :: Int -> GetSubnetCidrReservationsResponse
- getSubnetCidrReservationsResponse_nextToken :: Lens' GetSubnetCidrReservationsResponse (Maybe Text)
- getSubnetCidrReservationsResponse_subnetIpv4CidrReservations :: Lens' GetSubnetCidrReservationsResponse (Maybe [SubnetCidrReservation])
- getSubnetCidrReservationsResponse_subnetIpv6CidrReservations :: Lens' GetSubnetCidrReservationsResponse (Maybe [SubnetCidrReservation])
- getSubnetCidrReservationsResponse_httpStatus :: Lens' GetSubnetCidrReservationsResponse Int
Creating a Request
data GetSubnetCidrReservations Source #
See: newGetSubnetCidrReservations
smart constructor.
GetSubnetCidrReservations' | |
|
Instances
newGetSubnetCidrReservations Source #
Create a value of GetSubnetCidrReservations
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:GetSubnetCidrReservations'
, getSubnetCidrReservations_dryRun
- Checks 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
.
$sel:filters:GetSubnetCidrReservations'
, getSubnetCidrReservations_filters
- One or more filters.
reservationType
- The type of reservation (prefix
|explicit
).subnet-id
- The ID of the subnet.tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
$sel:maxResults:GetSubnetCidrReservations'
, getSubnetCidrReservations_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
GetSubnetCidrReservations
, getSubnetCidrReservations_nextToken
- The token for the next page of results.
GetSubnetCidrReservations
, getSubnetCidrReservations_subnetId
- The ID of the subnet.
Request Lenses
getSubnetCidrReservations_dryRun :: Lens' GetSubnetCidrReservations (Maybe Bool) Source #
Checks 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
.
getSubnetCidrReservations_filters :: Lens' GetSubnetCidrReservations (Maybe [Filter]) Source #
One or more filters.
reservationType
- The type of reservation (prefix
|explicit
).subnet-id
- The ID of the subnet.tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
getSubnetCidrReservations_maxResults :: Lens' GetSubnetCidrReservations (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
getSubnetCidrReservations_nextToken :: Lens' GetSubnetCidrReservations (Maybe Text) Source #
The token for the next page of results.
getSubnetCidrReservations_subnetId :: Lens' GetSubnetCidrReservations Text Source #
The ID of the subnet.
Destructuring the Response
data GetSubnetCidrReservationsResponse Source #
See: newGetSubnetCidrReservationsResponse
smart constructor.
GetSubnetCidrReservationsResponse' | |
|
Instances
newGetSubnetCidrReservationsResponse Source #
Create a value of GetSubnetCidrReservationsResponse
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:
GetSubnetCidrReservations
, getSubnetCidrReservationsResponse_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:subnetIpv4CidrReservations:GetSubnetCidrReservationsResponse'
, getSubnetCidrReservationsResponse_subnetIpv4CidrReservations
- Information about the IPv4 subnet CIDR reservations.
$sel:subnetIpv6CidrReservations:GetSubnetCidrReservationsResponse'
, getSubnetCidrReservationsResponse_subnetIpv6CidrReservations
- Information about the IPv6 subnet CIDR reservations.
$sel:httpStatus:GetSubnetCidrReservationsResponse'
, getSubnetCidrReservationsResponse_httpStatus
- The response's http status code.
Response Lenses
getSubnetCidrReservationsResponse_nextToken :: Lens' GetSubnetCidrReservationsResponse (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.
getSubnetCidrReservationsResponse_subnetIpv4CidrReservations :: Lens' GetSubnetCidrReservationsResponse (Maybe [SubnetCidrReservation]) Source #
Information about the IPv4 subnet CIDR reservations.
getSubnetCidrReservationsResponse_subnetIpv6CidrReservations :: Lens' GetSubnetCidrReservationsResponse (Maybe [SubnetCidrReservation]) Source #
Information about the IPv6 subnet CIDR reservations.
getSubnetCidrReservationsResponse_httpStatus :: Lens' GetSubnetCidrReservationsResponse Int Source #
The response's http status code.