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 |
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_loRaWAN :: Lens' GetServiceProfileResponse (Maybe LoRaWANGetServiceProfileInfo)
- getServiceProfileResponse_name :: Lens' GetServiceProfileResponse (Maybe Text)
- getServiceProfileResponse_id :: Lens' GetServiceProfileResponse (Maybe Text)
- getServiceProfileResponse_httpStatus :: Lens' GetServiceProfileResponse Int
Creating a Request
data GetServiceProfile Source #
See: newGetServiceProfile
smart constructor.
Instances
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:
$sel:id: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.
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:
$sel:arn:GetServiceProfileResponse'
, getServiceProfileResponse_arn
- The Amazon Resource Name of the resource.
$sel:loRaWAN:GetServiceProfileResponse'
, getServiceProfileResponse_loRaWAN
- Information about the service profile.
$sel:name:GetServiceProfileResponse'
, getServiceProfileResponse_name
- The name of the resource.
$sel:id:GetServiceProfile'
, getServiceProfileResponse_id
- The ID of the service profile.
$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_loRaWAN :: Lens' GetServiceProfileResponse (Maybe LoRaWANGetServiceProfileInfo) Source #
Information about the service profile.
getServiceProfileResponse_name :: Lens' GetServiceProfileResponse (Maybe Text) Source #
The name of the resource.
getServiceProfileResponse_id :: Lens' GetServiceProfileResponse (Maybe Text) Source #
The ID of the service profile.
getServiceProfileResponse_httpStatus :: Lens' GetServiceProfileResponse Int Source #
The response's http status code.