| 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 |
Amazonka.IoTWireless.GetDeviceProfile
Description
Gets information about a device profile.
Synopsis
- data GetDeviceProfile = GetDeviceProfile' {}
- newGetDeviceProfile :: Text -> GetDeviceProfile
- getDeviceProfile_id :: Lens' GetDeviceProfile Text
- data GetDeviceProfileResponse = GetDeviceProfileResponse' {}
- newGetDeviceProfileResponse :: Int -> GetDeviceProfileResponse
- getDeviceProfileResponse_arn :: Lens' GetDeviceProfileResponse (Maybe Text)
- getDeviceProfileResponse_loRaWAN :: Lens' GetDeviceProfileResponse (Maybe LoRaWANDeviceProfile)
- getDeviceProfileResponse_name :: Lens' GetDeviceProfileResponse (Maybe Text)
- getDeviceProfileResponse_id :: Lens' GetDeviceProfileResponse (Maybe Text)
- getDeviceProfileResponse_httpStatus :: Lens' GetDeviceProfileResponse Int
Creating a Request
data GetDeviceProfile Source #
See: newGetDeviceProfile smart constructor.
Constructors
| GetDeviceProfile' | |
Instances
Arguments
| :: Text | |
| -> GetDeviceProfile |
Create a value of GetDeviceProfile 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:id:GetDeviceProfile', getDeviceProfile_id - The ID of the resource to get.
Request Lenses
getDeviceProfile_id :: Lens' GetDeviceProfile Text Source #
The ID of the resource to get.
Destructuring the Response
data GetDeviceProfileResponse Source #
See: newGetDeviceProfileResponse smart constructor.
Constructors
| GetDeviceProfileResponse' | |
Instances
newGetDeviceProfileResponse Source #
Create a value of GetDeviceProfileResponse 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:arn:GetDeviceProfileResponse', getDeviceProfileResponse_arn - The Amazon Resource Name of the resource.
$sel:loRaWAN:GetDeviceProfileResponse', getDeviceProfileResponse_loRaWAN - Information about the device profile.
$sel:name:GetDeviceProfileResponse', getDeviceProfileResponse_name - The name of the resource.
$sel:id:GetDeviceProfile', getDeviceProfileResponse_id - The ID of the device profile.
$sel:httpStatus:GetDeviceProfileResponse', getDeviceProfileResponse_httpStatus - The response's http status code.
Response Lenses
getDeviceProfileResponse_arn :: Lens' GetDeviceProfileResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
getDeviceProfileResponse_loRaWAN :: Lens' GetDeviceProfileResponse (Maybe LoRaWANDeviceProfile) Source #
Information about the device profile.
getDeviceProfileResponse_name :: Lens' GetDeviceProfileResponse (Maybe Text) Source #
The name of the resource.
getDeviceProfileResponse_id :: Lens' GetDeviceProfileResponse (Maybe Text) Source #
The ID of the device profile.
getDeviceProfileResponse_httpStatus :: Lens' GetDeviceProfileResponse Int Source #
The response's http status code.