| 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.IoT.DescribeEndpoint
Description
Returns a unique endpoint specific to the Amazon Web Services account making the call.
Requires permission to access the DescribeEndpoint action.
Synopsis
- data DescribeEndpoint = DescribeEndpoint' {}
- newDescribeEndpoint :: DescribeEndpoint
- describeEndpoint_endpointType :: Lens' DescribeEndpoint (Maybe Text)
- data DescribeEndpointResponse = DescribeEndpointResponse' {}
- newDescribeEndpointResponse :: Int -> DescribeEndpointResponse
- describeEndpointResponse_endpointAddress :: Lens' DescribeEndpointResponse (Maybe Text)
- describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int
Creating a Request
data DescribeEndpoint Source #
The input for the DescribeEndpoint operation.
See: newDescribeEndpoint smart constructor.
Constructors
| DescribeEndpoint' | |
Fields
| |
Instances
newDescribeEndpoint :: DescribeEndpoint Source #
Create a value of DescribeEndpoint 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:endpointType:DescribeEndpoint', describeEndpoint_endpointType - The endpoint type. Valid endpoint types include:
iot:Data- Returns a VeriSign signed data endpoint.iot:Data-ATS- Returns an ATS signed data endpoint.iot:CredentialProvider- Returns an IoT credentials provider API endpoint.iot:Jobs- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of
Symantec certificate authorities.
Request Lenses
describeEndpoint_endpointType :: Lens' DescribeEndpoint (Maybe Text) Source #
The endpoint type. Valid endpoint types include:
iot:Data- Returns a VeriSign signed data endpoint.iot:Data-ATS- Returns an ATS signed data endpoint.iot:CredentialProvider- Returns an IoT credentials provider API endpoint.iot:Jobs- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of
Symantec certificate authorities.
Destructuring the Response
data DescribeEndpointResponse Source #
The output from the DescribeEndpoint operation.
See: newDescribeEndpointResponse smart constructor.
Constructors
| DescribeEndpointResponse' | |
Fields
| |
Instances
newDescribeEndpointResponse Source #
Create a value of DescribeEndpointResponse 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:endpointAddress:DescribeEndpointResponse', describeEndpointResponse_endpointAddress - The endpoint. The format of the endpoint is as follows:
identifier.iot.region.amazonaws.com.
$sel:httpStatus:DescribeEndpointResponse', describeEndpointResponse_httpStatus - The response's http status code.
Response Lenses
describeEndpointResponse_endpointAddress :: Lens' DescribeEndpointResponse (Maybe Text) Source #
The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com.
describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int Source #
The response's http status code.