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 |
Returns a paginated list of location objects and their CIDR blocks.
This operation returns paginated results.
Synopsis
- data ListCidrBlocks = ListCidrBlocks' {
- locationName :: Maybe Text
- maxResults :: Maybe Text
- nextToken :: Maybe Text
- collectionId :: Text
- newListCidrBlocks :: Text -> ListCidrBlocks
- listCidrBlocks_locationName :: Lens' ListCidrBlocks (Maybe Text)
- listCidrBlocks_maxResults :: Lens' ListCidrBlocks (Maybe Text)
- listCidrBlocks_nextToken :: Lens' ListCidrBlocks (Maybe Text)
- listCidrBlocks_collectionId :: Lens' ListCidrBlocks Text
- data ListCidrBlocksResponse = ListCidrBlocksResponse' {
- cidrBlocks :: Maybe [CidrBlockSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListCidrBlocksResponse :: Int -> ListCidrBlocksResponse
- listCidrBlocksResponse_cidrBlocks :: Lens' ListCidrBlocksResponse (Maybe [CidrBlockSummary])
- listCidrBlocksResponse_nextToken :: Lens' ListCidrBlocksResponse (Maybe Text)
- listCidrBlocksResponse_httpStatus :: Lens' ListCidrBlocksResponse Int
Creating a Request
data ListCidrBlocks Source #
See: newListCidrBlocks
smart constructor.
ListCidrBlocks' | |
|
Instances
Create a value of ListCidrBlocks
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:
ListCidrBlocks
, listCidrBlocks_locationName
- The name of the CIDR collection location.
$sel:maxResults:ListCidrBlocks'
, listCidrBlocks_maxResults
- Maximum number of results you want returned.
ListCidrBlocks
, listCidrBlocks_nextToken
- An opaque pagination token to indicate where the service is to begin
enumerating results.
ListCidrBlocks
, listCidrBlocks_collectionId
- The UUID of the CIDR collection.
Request Lenses
listCidrBlocks_locationName :: Lens' ListCidrBlocks (Maybe Text) Source #
The name of the CIDR collection location.
listCidrBlocks_maxResults :: Lens' ListCidrBlocks (Maybe Text) Source #
Maximum number of results you want returned.
listCidrBlocks_nextToken :: Lens' ListCidrBlocks (Maybe Text) Source #
An opaque pagination token to indicate where the service is to begin enumerating results.
listCidrBlocks_collectionId :: Lens' ListCidrBlocks Text Source #
The UUID of the CIDR collection.
Destructuring the Response
data ListCidrBlocksResponse Source #
See: newListCidrBlocksResponse
smart constructor.
ListCidrBlocksResponse' | |
|
Instances
newListCidrBlocksResponse Source #
Create a value of ListCidrBlocksResponse
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:cidrBlocks:ListCidrBlocksResponse'
, listCidrBlocksResponse_cidrBlocks
- A complex type that contains information about the CIDR blocks.
ListCidrBlocks
, listCidrBlocksResponse_nextToken
- An opaque pagination token to indicate where the service is to begin
enumerating results.
If no value is provided, the listing of results starts from the beginning.
$sel:httpStatus:ListCidrBlocksResponse'
, listCidrBlocksResponse_httpStatus
- The response's http status code.
Response Lenses
listCidrBlocksResponse_cidrBlocks :: Lens' ListCidrBlocksResponse (Maybe [CidrBlockSummary]) Source #
A complex type that contains information about the CIDR blocks.
listCidrBlocksResponse_nextToken :: Lens' ListCidrBlocksResponse (Maybe Text) Source #
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
listCidrBlocksResponse_httpStatus :: Lens' ListCidrBlocksResponse Int Source #
The response's http status code.