| 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.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_id :: Lens' GetDeviceProfileResponse (Maybe Text)
- getDeviceProfileResponse_loRaWAN :: Lens' GetDeviceProfileResponse (Maybe LoRaWANDeviceProfile)
- getDeviceProfileResponse_name :: 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:
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:
GetDeviceProfileResponse, getDeviceProfileResponse_arn - The Amazon Resource Name of the resource.
GetDeviceProfile, getDeviceProfileResponse_id - The ID of the device profile.
GetDeviceProfileResponse, getDeviceProfileResponse_loRaWAN - Information about the device profile.
GetDeviceProfileResponse, getDeviceProfileResponse_name - The name of the resource.
$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_id :: Lens' GetDeviceProfileResponse (Maybe Text) Source #
The ID of the device profile.
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_httpStatus :: Lens' GetDeviceProfileResponse Int Source #
The response's http status code.