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 |
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.
Instances
ToHeaders GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
ToPath GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio toPath :: GetStudio -> ByteString # | |
ToQuery GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio toQuery :: GetStudio -> QueryString # | |
AWSRequest GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio type AWSResponse GetStudio # request :: (Service -> Service) -> GetStudio -> Request GetStudio # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetStudio -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetStudio))) # | |
Generic GetStudio Source # | |
Read GetStudio Source # | |
Show GetStudio Source # | |
NFData GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
Eq GetStudio Source # | |
Hashable GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
type AWSResponse GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
type Rep GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio |
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.
GetStudioResponse' | |
|
Instances
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.