| 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.IoTSiteWise.DescribeGateway
Description
Retrieves information about a gateway.
Synopsis
- data DescribeGateway = DescribeGateway' {}
- newDescribeGateway :: Text -> DescribeGateway
- describeGateway_gatewayId :: Lens' DescribeGateway Text
- data DescribeGatewayResponse = DescribeGatewayResponse' {}
- newDescribeGatewayResponse :: Int -> Text -> Text -> Text -> UTCTime -> UTCTime -> DescribeGatewayResponse
- describeGatewayResponse_gatewayPlatform :: Lens' DescribeGatewayResponse (Maybe GatewayPlatform)
- describeGatewayResponse_httpStatus :: Lens' DescribeGatewayResponse Int
- describeGatewayResponse_gatewayId :: Lens' DescribeGatewayResponse Text
- describeGatewayResponse_gatewayName :: Lens' DescribeGatewayResponse Text
- describeGatewayResponse_gatewayArn :: Lens' DescribeGatewayResponse Text
- describeGatewayResponse_gatewayCapabilitySummaries :: Lens' DescribeGatewayResponse [GatewayCapabilitySummary]
- describeGatewayResponse_creationDate :: Lens' DescribeGatewayResponse UTCTime
- describeGatewayResponse_lastUpdateDate :: Lens' DescribeGatewayResponse UTCTime
Creating a Request
data DescribeGateway Source #
See: newDescribeGateway smart constructor.
Constructors
| DescribeGateway' | |
Instances
Arguments
| :: Text | |
| -> DescribeGateway |
Create a value of DescribeGateway 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:
DescribeGateway, describeGateway_gatewayId - The ID of the gateway device.
Request Lenses
describeGateway_gatewayId :: Lens' DescribeGateway Text Source #
The ID of the gateway device.
Destructuring the Response
data DescribeGatewayResponse Source #
See: newDescribeGatewayResponse smart constructor.
Constructors
| DescribeGatewayResponse' | |
Fields
| |
Instances
newDescribeGatewayResponse Source #
Create a value of DescribeGatewayResponse 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:
DescribeGatewayResponse, describeGatewayResponse_gatewayPlatform - The gateway's platform.
$sel:httpStatus:DescribeGatewayResponse', describeGatewayResponse_httpStatus - The response's http status code.
DescribeGateway, describeGatewayResponse_gatewayId - The ID of the gateway device.
DescribeGatewayResponse, describeGatewayResponse_gatewayName - The name of the gateway.
$sel:gatewayArn:DescribeGatewayResponse', describeGatewayResponse_gatewayArn - The
ARN
of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}DescribeGatewayResponse, describeGatewayResponse_gatewayCapabilitySummaries - A list of gateway capability summaries that each contain a namespace and
status. Each gateway capability defines data sources for the gateway. To
retrieve a capability configuration's definition, use
DescribeGatewayCapabilityConfiguration.
DescribeGatewayResponse, describeGatewayResponse_creationDate - The date the gateway was created, in Unix epoch time.
DescribeGatewayResponse, describeGatewayResponse_lastUpdateDate - The date the gateway was last updated, in Unix epoch time.
Response Lenses
describeGatewayResponse_gatewayPlatform :: Lens' DescribeGatewayResponse (Maybe GatewayPlatform) Source #
The gateway's platform.
describeGatewayResponse_httpStatus :: Lens' DescribeGatewayResponse Int Source #
The response's http status code.
describeGatewayResponse_gatewayId :: Lens' DescribeGatewayResponse Text Source #
The ID of the gateway device.
describeGatewayResponse_gatewayName :: Lens' DescribeGatewayResponse Text Source #
The name of the gateway.
describeGatewayResponse_gatewayArn :: Lens' DescribeGatewayResponse Text Source #
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}describeGatewayResponse_gatewayCapabilitySummaries :: Lens' DescribeGatewayResponse [GatewayCapabilitySummary] Source #
A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
describeGatewayResponse_creationDate :: Lens' DescribeGatewayResponse UTCTime Source #
The date the gateway was created, in Unix epoch time.
describeGatewayResponse_lastUpdateDate :: Lens' DescribeGatewayResponse UTCTime Source #
The date the gateway was last updated, in Unix epoch time.