Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets the settings for a specified service.
Synopsis
Creating a Request
:: Text | |
-> GetService |
Creates a value of GetService
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsId
- The ID of the service that you want to get settings for.
data GetService Source #
See: getService
smart constructor.
Instances
Request Lenses
Destructuring the Response
Creates a value of GetServiceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsrsService
- A complex type that contains information about the service.gsrsResponseStatus
- -- | The response status code.
data GetServiceResponse Source #
See: getServiceResponse
smart constructor.
Instances
Response Lenses
gsrsService :: Lens' GetServiceResponse (Maybe ServiceInfo) Source #
A complex type that contains information about the service.
gsrsResponseStatus :: Lens' GetServiceResponse Int Source #
- - | The response status code.