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 |
Retrieves information about a gateway capability configuration. Each gateway capability defines data sources for a gateway. A capability configuration can contain multiple data source configurations. If you define OPC-UA sources for a gateway in the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To list all capability configurations for a gateway, use DescribeGateway.
Synopsis
- data DescribeGatewayCapabilityConfiguration = DescribeGatewayCapabilityConfiguration' {}
- newDescribeGatewayCapabilityConfiguration :: Text -> Text -> DescribeGatewayCapabilityConfiguration
- describeGatewayCapabilityConfiguration_gatewayId :: Lens' DescribeGatewayCapabilityConfiguration Text
- describeGatewayCapabilityConfiguration_capabilityNamespace :: Lens' DescribeGatewayCapabilityConfiguration Text
- data DescribeGatewayCapabilityConfigurationResponse = DescribeGatewayCapabilityConfigurationResponse' {}
- newDescribeGatewayCapabilityConfigurationResponse :: Int -> Text -> Text -> Text -> CapabilitySyncStatus -> DescribeGatewayCapabilityConfigurationResponse
- describeGatewayCapabilityConfigurationResponse_httpStatus :: Lens' DescribeGatewayCapabilityConfigurationResponse Int
- describeGatewayCapabilityConfigurationResponse_gatewayId :: Lens' DescribeGatewayCapabilityConfigurationResponse Text
- describeGatewayCapabilityConfigurationResponse_capabilityNamespace :: Lens' DescribeGatewayCapabilityConfigurationResponse Text
- describeGatewayCapabilityConfigurationResponse_capabilityConfiguration :: Lens' DescribeGatewayCapabilityConfigurationResponse Text
- describeGatewayCapabilityConfigurationResponse_capabilitySyncStatus :: Lens' DescribeGatewayCapabilityConfigurationResponse CapabilitySyncStatus
Creating a Request
data DescribeGatewayCapabilityConfiguration Source #
See: newDescribeGatewayCapabilityConfiguration
smart constructor.
DescribeGatewayCapabilityConfiguration' | |
|
Instances
newDescribeGatewayCapabilityConfiguration Source #
:: Text | |
-> Text |
|
-> DescribeGatewayCapabilityConfiguration |
Create a value of DescribeGatewayCapabilityConfiguration
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:gatewayId:DescribeGatewayCapabilityConfiguration'
, describeGatewayCapabilityConfiguration_gatewayId
- The ID of the gateway that defines the capability configuration.
$sel:capabilityNamespace:DescribeGatewayCapabilityConfiguration'
, describeGatewayCapabilityConfiguration_capabilityNamespace
- The namespace of the capability configuration. For example, if you
configure OPC-UA sources from the IoT SiteWise console, your OPC-UA
capability configuration has the namespace
iotsitewise:opcuacollector:version
, where version
is a number such
as 1
.
Request Lenses
describeGatewayCapabilityConfiguration_gatewayId :: Lens' DescribeGatewayCapabilityConfiguration Text Source #
The ID of the gateway that defines the capability configuration.
describeGatewayCapabilityConfiguration_capabilityNamespace :: Lens' DescribeGatewayCapabilityConfiguration Text Source #
The namespace of the capability configuration. For example, if you
configure OPC-UA sources from the IoT SiteWise console, your OPC-UA
capability configuration has the namespace
iotsitewise:opcuacollector:version
, where version
is a number such
as 1
.
Destructuring the Response
data DescribeGatewayCapabilityConfigurationResponse Source #
See: newDescribeGatewayCapabilityConfigurationResponse
smart constructor.
DescribeGatewayCapabilityConfigurationResponse' | |
|
Instances
newDescribeGatewayCapabilityConfigurationResponse Source #
Create a value of DescribeGatewayCapabilityConfigurationResponse
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:httpStatus:DescribeGatewayCapabilityConfigurationResponse'
, describeGatewayCapabilityConfigurationResponse_httpStatus
- The response's http status code.
$sel:gatewayId:DescribeGatewayCapabilityConfiguration'
, describeGatewayCapabilityConfigurationResponse_gatewayId
- The ID of the gateway that defines the capability configuration.
$sel:capabilityNamespace:DescribeGatewayCapabilityConfiguration'
, describeGatewayCapabilityConfigurationResponse_capabilityNamespace
- The namespace of the gateway capability.
$sel:capabilityConfiguration:DescribeGatewayCapabilityConfigurationResponse'
, describeGatewayCapabilityConfigurationResponse_capabilityConfiguration
- The JSON document that defines the gateway capability's configuration.
For more information, see
Configuring data sources (CLI)
in the IoT SiteWise User Guide.
$sel:capabilitySyncStatus:DescribeGatewayCapabilityConfigurationResponse'
, describeGatewayCapabilityConfigurationResponse_capabilitySyncStatus
- The synchronization status of the capability configuration. The sync
status can be one of the following:
IN_SYNC
– The gateway is running the capability configuration.OUT_OF_SYNC
– The gateway hasn't received the capability configuration.SYNC_FAILED
– The gateway rejected the capability configuration.
Response Lenses
describeGatewayCapabilityConfigurationResponse_httpStatus :: Lens' DescribeGatewayCapabilityConfigurationResponse Int Source #
The response's http status code.
describeGatewayCapabilityConfigurationResponse_gatewayId :: Lens' DescribeGatewayCapabilityConfigurationResponse Text Source #
The ID of the gateway that defines the capability configuration.
describeGatewayCapabilityConfigurationResponse_capabilityNamespace :: Lens' DescribeGatewayCapabilityConfigurationResponse Text Source #
The namespace of the gateway capability.
describeGatewayCapabilityConfigurationResponse_capabilityConfiguration :: Lens' DescribeGatewayCapabilityConfigurationResponse Text Source #
The JSON document that defines the gateway capability's configuration. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
describeGatewayCapabilityConfigurationResponse_capabilitySyncStatus :: Lens' DescribeGatewayCapabilityConfigurationResponse CapabilitySyncStatus Source #
The synchronization status of the capability configuration. The sync status can be one of the following:
IN_SYNC
– The gateway is running the capability configuration.OUT_OF_SYNC
– The gateway hasn't received the capability configuration.SYNC_FAILED
– The gateway rejected the capability configuration.