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 information, such as the name, about a VPC endpoint.
Synopsis
- data GetEndpointAccess = GetEndpointAccess' {
- endpointName :: Text
- newGetEndpointAccess :: Text -> GetEndpointAccess
- getEndpointAccess_endpointName :: Lens' GetEndpointAccess Text
- data GetEndpointAccessResponse = GetEndpointAccessResponse' {}
- newGetEndpointAccessResponse :: Int -> GetEndpointAccessResponse
- getEndpointAccessResponse_endpoint :: Lens' GetEndpointAccessResponse (Maybe EndpointAccess)
- getEndpointAccessResponse_httpStatus :: Lens' GetEndpointAccessResponse Int
Creating a Request
data GetEndpointAccess Source #
See: newGetEndpointAccess
smart constructor.
GetEndpointAccess' | |
|
Instances
Create a value of GetEndpointAccess
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:
GetEndpointAccess
, getEndpointAccess_endpointName
- The name of the VPC endpoint to return information for.
Request Lenses
getEndpointAccess_endpointName :: Lens' GetEndpointAccess Text Source #
The name of the VPC endpoint to return information for.
Destructuring the Response
data GetEndpointAccessResponse Source #
See: newGetEndpointAccessResponse
smart constructor.
GetEndpointAccessResponse' | |
|
Instances
newGetEndpointAccessResponse Source #
Create a value of GetEndpointAccessResponse
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:
GetEndpointAccessResponse
, getEndpointAccessResponse_endpoint
- The returned VPC endpoint.
$sel:httpStatus:GetEndpointAccessResponse'
, getEndpointAccessResponse_httpStatus
- The response's http status code.
Response Lenses
getEndpointAccessResponse_endpoint :: Lens' GetEndpointAccessResponse (Maybe EndpointAccess) Source #
The returned VPC endpoint.
getEndpointAccessResponse_httpStatus :: Lens' GetEndpointAccessResponse Int Source #
The response's http status code.