| 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.OpenSearch.ListVpcEndpoints
Description
Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon Web Services account and Region.
Synopsis
- data ListVpcEndpoints = ListVpcEndpoints' {}
- newListVpcEndpoints :: ListVpcEndpoints
- listVpcEndpoints_nextToken :: Lens' ListVpcEndpoints (Maybe Text)
- data ListVpcEndpointsResponse = ListVpcEndpointsResponse' {}
- newListVpcEndpointsResponse :: Int -> Text -> ListVpcEndpointsResponse
- listVpcEndpointsResponse_httpStatus :: Lens' ListVpcEndpointsResponse Int
- listVpcEndpointsResponse_vpcEndpointSummaryList :: Lens' ListVpcEndpointsResponse [VpcEndpointSummary]
- listVpcEndpointsResponse_nextToken :: Lens' ListVpcEndpointsResponse Text
Creating a Request
data ListVpcEndpoints Source #
See: newListVpcEndpoints smart constructor.
Constructors
| ListVpcEndpoints' | |
Instances
newListVpcEndpoints :: ListVpcEndpoints Source #
Create a value of ListVpcEndpoints 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:
ListVpcEndpoints, listVpcEndpoints_nextToken - If your initial ListVpcEndpoints operation returns a nextToken, you
can include the returned nextToken in subsequent ListVpcEndpoints
operations, which returns results in the next page.
Request Lenses
listVpcEndpoints_nextToken :: Lens' ListVpcEndpoints (Maybe Text) Source #
If your initial ListVpcEndpoints operation returns a nextToken, you
can include the returned nextToken in subsequent ListVpcEndpoints
operations, which returns results in the next page.
Destructuring the Response
data ListVpcEndpointsResponse Source #
See: newListVpcEndpointsResponse smart constructor.
Constructors
| ListVpcEndpointsResponse' | |
Fields
| |
Instances
newListVpcEndpointsResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> ListVpcEndpointsResponse |
Create a value of ListVpcEndpointsResponse 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:httpStatus:ListVpcEndpointsResponse', listVpcEndpointsResponse_httpStatus - The response's http status code.
$sel:vpcEndpointSummaryList:ListVpcEndpointsResponse', listVpcEndpointsResponse_vpcEndpointSummaryList - Information about each endpoint.
ListVpcEndpoints, listVpcEndpointsResponse_nextToken - When nextToken is returned, there are more results available. The
value of nextToken is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.
Response Lenses
listVpcEndpointsResponse_httpStatus :: Lens' ListVpcEndpointsResponse Int Source #
The response's http status code.
listVpcEndpointsResponse_vpcEndpointSummaryList :: Lens' ListVpcEndpointsResponse [VpcEndpointSummary] Source #
Information about each endpoint.
listVpcEndpointsResponse_nextToken :: Lens' ListVpcEndpointsResponse Text Source #
When nextToken is returned, there are more results available. The
value of nextToken is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.