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.Nimble.GetStudio
Description
Get a studio resource.
Synopsis
- data GetStudio = GetStudio' {}
- newGetStudio :: Text -> GetStudio
- getStudio_studioId :: Lens' GetStudio Text
- data GetStudioResponse = GetStudioResponse' {
- httpStatus :: Int
- studio :: Studio
- newGetStudioResponse :: Int -> Studio -> GetStudioResponse
- getStudioResponse_httpStatus :: Lens' GetStudioResponse Int
- getStudioResponse_studio :: Lens' GetStudioResponse Studio
Creating a Request
See: newGetStudio
smart constructor.
Constructors
GetStudio' | |
Instances
Create a value of GetStudio
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:
GetStudio
, getStudio_studioId
- The studio ID.
Request Lenses
Destructuring the Response
data GetStudioResponse Source #
See: newGetStudioResponse
smart constructor.
Constructors
GetStudioResponse' | |
Fields
|
Instances
Arguments
:: Int | |
-> Studio | |
-> GetStudioResponse |
Create a value of GetStudioResponse
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:httpStatus:GetStudioResponse'
, getStudioResponse_httpStatus
- The response's http status code.
$sel:studio:GetStudioResponse'
, getStudioResponse_studio
- Information about a studio.
Response Lenses
getStudioResponse_httpStatus :: Lens' GetStudioResponse Int Source #
The response's http status code.
getStudioResponse_studio :: Lens' GetStudioResponse Studio Source #
Information about a studio.