| 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 |
Amazonka.Nimble.GetStudio
Description
Get a Studio resource.
Synopsis
- data GetStudio = GetStudio' {}
- newGetStudio :: Text -> GetStudio
- getStudio_studioId :: Lens' GetStudio Text
- data GetStudioResponse = GetStudioResponse' {
- studio :: Maybe Studio
- httpStatus :: Int
- newGetStudioResponse :: Int -> GetStudioResponse
- getStudioResponse_studio :: Lens' GetStudioResponse (Maybe Studio)
- getStudioResponse_httpStatus :: Lens' GetStudioResponse Int
Creating a Request
See: newGetStudio smart constructor.
Constructors
| GetStudio' | |
Instances
| Eq GetStudio Source # | |
| Read GetStudio Source # | |
| Show GetStudio Source # | |
| Generic GetStudio Source # | |
| NFData GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
| Hashable GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
| AWSRequest GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio Associated Types type AWSResponse GetStudio # Methods request :: GetStudio -> Request GetStudio # response :: MonadResource m => Logger -> Service -> Proxy GetStudio -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetStudio))) # | |
| ToHeaders GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
| ToPath GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio Methods toPath :: GetStudio -> ByteString # | |
| ToQuery GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio Methods toQuery :: GetStudio -> QueryString # | |
| type Rep GetStudio Source # | |
Defined in Amazonka.Nimble.GetStudio | |
| type AWSResponse 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:
$sel:studioId:GetStudio', getStudio_studioId - The studio ID.
Request Lenses
Destructuring the Response
data GetStudioResponse Source #
See: newGetStudioResponse smart constructor.
Constructors
| GetStudioResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> 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:studio:GetStudioResponse', getStudioResponse_studio - Information about a studio.
$sel:httpStatus:GetStudioResponse', getStudioResponse_httpStatus - The response's http status code.
Response Lenses
getStudioResponse_studio :: Lens' GetStudioResponse (Maybe Studio) Source #
Information about a studio.
getStudioResponse_httpStatus :: Lens' GetStudioResponse Int Source #
The response's http status code.