| 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 |
Amazonka.APIGateway.GetVpcLinks
Description
Gets the VpcLinks collection under the caller's account in a selected region.
This operation returns paginated results.
Synopsis
- data GetVpcLinks = GetVpcLinks' {}
- newGetVpcLinks :: GetVpcLinks
- getVpcLinks_limit :: Lens' GetVpcLinks (Maybe Int)
- getVpcLinks_position :: Lens' GetVpcLinks (Maybe Text)
- data GetVpcLinksResponse = GetVpcLinksResponse' {}
- newGetVpcLinksResponse :: Int -> GetVpcLinksResponse
- getVpcLinksResponse_items :: Lens' GetVpcLinksResponse (Maybe [VpcLink])
- getVpcLinksResponse_position :: Lens' GetVpcLinksResponse (Maybe Text)
- getVpcLinksResponse_httpStatus :: Lens' GetVpcLinksResponse Int
Creating a Request
data GetVpcLinks Source #
Gets the VpcLinks collection under the caller's account in a selected region.
See: newGetVpcLinks smart constructor.
Constructors
| GetVpcLinks' | |
Instances
newGetVpcLinks :: GetVpcLinks Source #
Create a value of GetVpcLinks 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:
GetVpcLinks, getVpcLinks_limit - The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
GetVpcLinks, getVpcLinks_position - The current pagination position in the paged result set.
Request Lenses
getVpcLinks_limit :: Lens' GetVpcLinks (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
getVpcLinks_position :: Lens' GetVpcLinks (Maybe Text) Source #
The current pagination position in the paged result set.
Destructuring the Response
data GetVpcLinksResponse Source #
The collection of VPC links under the caller's account in a region.
See: newGetVpcLinksResponse smart constructor.
Constructors
| GetVpcLinksResponse' | |
Instances
newGetVpcLinksResponse Source #
Arguments
| :: Int | |
| -> GetVpcLinksResponse |
Create a value of GetVpcLinksResponse 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:
GetVpcLinksResponse, getVpcLinksResponse_items - The current page of elements from this collection.
GetVpcLinks, getVpcLinksResponse_position - Undocumented member.
$sel:httpStatus:GetVpcLinksResponse', getVpcLinksResponse_httpStatus - The response's http status code.
Response Lenses
getVpcLinksResponse_items :: Lens' GetVpcLinksResponse (Maybe [VpcLink]) Source #
The current page of elements from this collection.
getVpcLinksResponse_position :: Lens' GetVpcLinksResponse (Maybe Text) Source #
Undocumented member.
getVpcLinksResponse_httpStatus :: Lens' GetVpcLinksResponse Int Source #
The response's http status code.