| 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.GetServiceProfile
Description
Gets information about a service profile.
Synopsis
- data GetServiceProfile = GetServiceProfile' {}
- newGetServiceProfile :: Text -> GetServiceProfile
- getServiceProfile_id :: Lens' GetServiceProfile Text
- data GetServiceProfileResponse = GetServiceProfileResponse' {}
- newGetServiceProfileResponse :: Int -> GetServiceProfileResponse
- getServiceProfileResponse_arn :: Lens' GetServiceProfileResponse (Maybe Text)
- getServiceProfileResponse_id :: Lens' GetServiceProfileResponse (Maybe Text)
- getServiceProfileResponse_loRaWAN :: Lens' GetServiceProfileResponse (Maybe LoRaWANGetServiceProfileInfo)
- getServiceProfileResponse_name :: Lens' GetServiceProfileResponse (Maybe Text)
- getServiceProfileResponse_httpStatus :: Lens' GetServiceProfileResponse Int
Creating a Request
data GetServiceProfile Source #
See: newGetServiceProfile smart constructor.
Constructors
| GetServiceProfile' | |
Instances
Arguments
| :: Text | |
| -> GetServiceProfile |
Create a value of GetServiceProfile 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:
GetServiceProfile, getServiceProfile_id - The ID of the resource to get.
Request Lenses
getServiceProfile_id :: Lens' GetServiceProfile Text Source #
The ID of the resource to get.
Destructuring the Response
data GetServiceProfileResponse Source #
See: newGetServiceProfileResponse smart constructor.
Constructors
| GetServiceProfileResponse' | |
Instances
newGetServiceProfileResponse Source #
Create a value of GetServiceProfileResponse 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:
GetServiceProfileResponse, getServiceProfileResponse_arn - The Amazon Resource Name of the resource.
GetServiceProfile, getServiceProfileResponse_id - The ID of the service profile.
GetServiceProfileResponse, getServiceProfileResponse_loRaWAN - Information about the service profile.
GetServiceProfileResponse, getServiceProfileResponse_name - The name of the resource.
$sel:httpStatus:GetServiceProfileResponse', getServiceProfileResponse_httpStatus - The response's http status code.
Response Lenses
getServiceProfileResponse_arn :: Lens' GetServiceProfileResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
getServiceProfileResponse_id :: Lens' GetServiceProfileResponse (Maybe Text) Source #
The ID of the service profile.
getServiceProfileResponse_loRaWAN :: Lens' GetServiceProfileResponse (Maybe LoRaWANGetServiceProfileInfo) Source #
Information about the service profile.
getServiceProfileResponse_name :: Lens' GetServiceProfileResponse (Maybe Text) Source #
The name of the resource.
getServiceProfileResponse_httpStatus :: Lens' GetServiceProfileResponse Int Source #
The response's http status code.