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 |
Use to check if a device is registered with SageMaker Edge Manager.
Synopsis
- data GetDeviceRegistration = GetDeviceRegistration' {}
- newGetDeviceRegistration :: Text -> Text -> GetDeviceRegistration
- getDeviceRegistration_deviceName :: Lens' GetDeviceRegistration Text
- getDeviceRegistration_deviceFleetName :: Lens' GetDeviceRegistration Text
- data GetDeviceRegistrationResponse = GetDeviceRegistrationResponse' {}
- newGetDeviceRegistrationResponse :: Int -> GetDeviceRegistrationResponse
- getDeviceRegistrationResponse_cacheTTL :: Lens' GetDeviceRegistrationResponse (Maybe Text)
- getDeviceRegistrationResponse_deviceRegistration :: Lens' GetDeviceRegistrationResponse (Maybe Text)
- getDeviceRegistrationResponse_httpStatus :: Lens' GetDeviceRegistrationResponse Int
Creating a Request
data GetDeviceRegistration Source #
See: newGetDeviceRegistration
smart constructor.
GetDeviceRegistration' | |
|
Instances
newGetDeviceRegistration Source #
:: Text | |
-> Text | |
-> GetDeviceRegistration |
Create a value of GetDeviceRegistration
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:deviceName:GetDeviceRegistration'
, getDeviceRegistration_deviceName
- The unique name of the device you want to get the registration status
from.
$sel:deviceFleetName:GetDeviceRegistration'
, getDeviceRegistration_deviceFleetName
- The name of the fleet that the device belongs to.
Request Lenses
getDeviceRegistration_deviceName :: Lens' GetDeviceRegistration Text Source #
The unique name of the device you want to get the registration status from.
getDeviceRegistration_deviceFleetName :: Lens' GetDeviceRegistration Text Source #
The name of the fleet that the device belongs to.
Destructuring the Response
data GetDeviceRegistrationResponse Source #
See: newGetDeviceRegistrationResponse
smart constructor.
GetDeviceRegistrationResponse' | |
|
Instances
newGetDeviceRegistrationResponse Source #
Create a value of GetDeviceRegistrationResponse
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:cacheTTL:GetDeviceRegistrationResponse'
, getDeviceRegistrationResponse_cacheTTL
- The amount of time, in seconds, that the registration status is stored
on the device’s cache before it is refreshed.
$sel:deviceRegistration:GetDeviceRegistrationResponse'
, getDeviceRegistrationResponse_deviceRegistration
- Describes if the device is currently registered with SageMaker Edge
Manager.
$sel:httpStatus:GetDeviceRegistrationResponse'
, getDeviceRegistrationResponse_httpStatus
- The response's http status code.
Response Lenses
getDeviceRegistrationResponse_cacheTTL :: Lens' GetDeviceRegistrationResponse (Maybe Text) Source #
The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed.
getDeviceRegistrationResponse_deviceRegistration :: Lens' GetDeviceRegistrationResponse (Maybe Text) Source #
Describes if the device is currently registered with SageMaker Edge Manager.
getDeviceRegistrationResponse_httpStatus :: Lens' GetDeviceRegistrationResponse Int Source #
The response's http status code.