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 |
Gets information about an Device Advisor endpoint.
Synopsis
- data GetEndpoint = GetEndpoint' {}
- newGetEndpoint :: GetEndpoint
- getEndpoint_certificateArn :: Lens' GetEndpoint (Maybe Text)
- getEndpoint_thingArn :: Lens' GetEndpoint (Maybe Text)
- data GetEndpointResponse = GetEndpointResponse' {
- endpoint :: Maybe Text
- httpStatus :: Int
- newGetEndpointResponse :: Int -> GetEndpointResponse
- getEndpointResponse_endpoint :: Lens' GetEndpointResponse (Maybe Text)
- getEndpointResponse_httpStatus :: Lens' GetEndpointResponse Int
Creating a Request
data GetEndpoint Source #
See: newGetEndpoint
smart constructor.
Instances
newGetEndpoint :: GetEndpoint Source #
Create a value of GetEndpoint
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:
GetEndpoint
, getEndpoint_certificateArn
- The certificate ARN of the device. This is an optional parameter.
GetEndpoint
, getEndpoint_thingArn
- The thing ARN of the device. This is an optional parameter.
Request Lenses
getEndpoint_certificateArn :: Lens' GetEndpoint (Maybe Text) Source #
The certificate ARN of the device. This is an optional parameter.
getEndpoint_thingArn :: Lens' GetEndpoint (Maybe Text) Source #
The thing ARN of the device. This is an optional parameter.
Destructuring the Response
data GetEndpointResponse Source #
See: newGetEndpointResponse
smart constructor.
GetEndpointResponse' | |
|
Instances
newGetEndpointResponse Source #
Create a value of GetEndpointResponse
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:endpoint:GetEndpointResponse'
, getEndpointResponse_endpoint
- The response of an Device Advisor endpoint.
$sel:httpStatus:GetEndpointResponse'
, getEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
getEndpointResponse_endpoint :: Lens' GetEndpointResponse (Maybe Text) Source #
The response of an Device Advisor endpoint.
getEndpointResponse_httpStatus :: Lens' GetEndpointResponse Int Source #
The response's http status code.