| 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.RedshiftServerLess.ListEndpointAccess
Description
Returns an array of EndpointAccess objects and relevant information.
This operation returns paginated results.
Synopsis
- data ListEndpointAccess = ListEndpointAccess' {}
- newListEndpointAccess :: ListEndpointAccess
- listEndpointAccess_maxResults :: Lens' ListEndpointAccess (Maybe Natural)
- listEndpointAccess_nextToken :: Lens' ListEndpointAccess (Maybe Text)
- listEndpointAccess_vpcId :: Lens' ListEndpointAccess (Maybe Text)
- listEndpointAccess_workgroupName :: Lens' ListEndpointAccess (Maybe Text)
- data ListEndpointAccessResponse = ListEndpointAccessResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- endpoints :: [EndpointAccess]
- newListEndpointAccessResponse :: Int -> ListEndpointAccessResponse
- listEndpointAccessResponse_nextToken :: Lens' ListEndpointAccessResponse (Maybe Text)
- listEndpointAccessResponse_httpStatus :: Lens' ListEndpointAccessResponse Int
- listEndpointAccessResponse_endpoints :: Lens' ListEndpointAccessResponse [EndpointAccess]
Creating a Request
data ListEndpointAccess Source #
See: newListEndpointAccess smart constructor.
Constructors
| ListEndpointAccess' | |
Fields
| |
Instances
newListEndpointAccess :: ListEndpointAccess Source #
Create a value of ListEndpointAccess 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:maxResults:ListEndpointAccess', listEndpointAccess_maxResults - An optional parameter that specifies the maximum number of results to
return. You can use nextToken to display the next page of results.
ListEndpointAccess, listEndpointAccess_nextToken - If your initial ListEndpointAccess operation returns a nextToken,
you can include the returned nextToken in following
ListEndpointAccess operations, which returns results in the next page.
ListEndpointAccess, listEndpointAccess_vpcId - The unique identifier of the virtual private cloud with access to Amazon
Redshift Serverless.
ListEndpointAccess, listEndpointAccess_workgroupName - The name of the workgroup associated with the VPC endpoint to return.
Request Lenses
listEndpointAccess_maxResults :: Lens' ListEndpointAccess (Maybe Natural) Source #
An optional parameter that specifies the maximum number of results to
return. You can use nextToken to display the next page of results.
listEndpointAccess_nextToken :: Lens' ListEndpointAccess (Maybe Text) Source #
If your initial ListEndpointAccess operation returns a nextToken,
you can include the returned nextToken in following
ListEndpointAccess operations, which returns results in the next page.
listEndpointAccess_vpcId :: Lens' ListEndpointAccess (Maybe Text) Source #
The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.
listEndpointAccess_workgroupName :: Lens' ListEndpointAccess (Maybe Text) Source #
The name of the workgroup associated with the VPC endpoint to return.
Destructuring the Response
data ListEndpointAccessResponse Source #
See: newListEndpointAccessResponse smart constructor.
Constructors
| ListEndpointAccessResponse' | |
Fields
| |
Instances
newListEndpointAccessResponse Source #
Create a value of ListEndpointAccessResponse 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:
ListEndpointAccess, listEndpointAccessResponse_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.
$sel:httpStatus:ListEndpointAccessResponse', listEndpointAccessResponse_httpStatus - The response's http status code.
$sel:endpoints:ListEndpointAccessResponse', listEndpointAccessResponse_endpoints - The returned VPC endpoints.
Response Lenses
listEndpointAccessResponse_nextToken :: Lens' ListEndpointAccessResponse (Maybe 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.
listEndpointAccessResponse_httpStatus :: Lens' ListEndpointAccessResponse Int Source #
The response's http status code.
listEndpointAccessResponse_endpoints :: Lens' ListEndpointAccessResponse [EndpointAccess] Source #
The returned VPC endpoints.