Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the current status of the endpoint.
Synopsis
- data GetResolverEndpoint = GetResolverEndpoint' {}
- newGetResolverEndpoint :: Text -> GetResolverEndpoint
- getResolverEndpoint_resolverEndpointId :: Lens' GetResolverEndpoint Text
- data GetResolverEndpointResponse = GetResolverEndpointResponse' {}
- newGetResolverEndpointResponse :: Int -> GetResolverEndpointResponse
- getResolverEndpointResponse_resolverEndpoint :: Lens' GetResolverEndpointResponse (Maybe ResolverEndpoint)
- getResolverEndpointResponse_httpStatus :: Lens' GetResolverEndpointResponse Int
Creating a Request
data GetResolverEndpoint Source #
See: newGetResolverEndpoint
smart constructor.
GetResolverEndpoint' | |
|
Instances
newGetResolverEndpoint Source #
Create a value of GetResolverEndpoint
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:resolverEndpointId:GetResolverEndpoint'
, getResolverEndpoint_resolverEndpointId
- The ID of the Resolver endpoint that you want to get information about.
Request Lenses
getResolverEndpoint_resolverEndpointId :: Lens' GetResolverEndpoint Text Source #
The ID of the Resolver endpoint that you want to get information about.
Destructuring the Response
data GetResolverEndpointResponse Source #
See: newGetResolverEndpointResponse
smart constructor.
GetResolverEndpointResponse' | |
|
Instances
newGetResolverEndpointResponse Source #
Create a value of GetResolverEndpointResponse
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:resolverEndpoint:GetResolverEndpointResponse'
, getResolverEndpointResponse_resolverEndpoint
- Information about the Resolver endpoint that you specified in a
GetResolverEndpoint
request.
$sel:httpStatus:GetResolverEndpointResponse'
, getResolverEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
getResolverEndpointResponse_resolverEndpoint :: Lens' GetResolverEndpointResponse (Maybe ResolverEndpoint) Source #
Information about the Resolver endpoint that you specified in a
GetResolverEndpoint
request.
getResolverEndpointResponse_httpStatus :: Lens' GetResolverEndpointResponse Int Source #
The response's http status code.