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 a studio component resource.
Synopsis
- data GetStudioComponent = GetStudioComponent' {}
- newGetStudioComponent :: Text -> Text -> GetStudioComponent
- getStudioComponent_studioId :: Lens' GetStudioComponent Text
- getStudioComponent_studioComponentId :: Lens' GetStudioComponent Text
- data GetStudioComponentResponse = GetStudioComponentResponse' {}
- newGetStudioComponentResponse :: Int -> GetStudioComponentResponse
- getStudioComponentResponse_studioComponent :: Lens' GetStudioComponentResponse (Maybe StudioComponent)
- getStudioComponentResponse_httpStatus :: Lens' GetStudioComponentResponse Int
Creating a Request
data GetStudioComponent Source #
See: newGetStudioComponent
smart constructor.
GetStudioComponent' | |
|
Instances
newGetStudioComponent Source #
:: Text | |
-> Text | |
-> GetStudioComponent |
Create a value of GetStudioComponent
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:GetStudioComponent'
, getStudioComponent_studioId
- The studio ID.
$sel:studioComponentId:GetStudioComponent'
, getStudioComponent_studioComponentId
- The studio component ID.
Request Lenses
getStudioComponent_studioId :: Lens' GetStudioComponent Text Source #
The studio ID.
getStudioComponent_studioComponentId :: Lens' GetStudioComponent Text Source #
The studio component ID.
Destructuring the Response
data GetStudioComponentResponse Source #
See: newGetStudioComponentResponse
smart constructor.
GetStudioComponentResponse' | |
|
Instances
newGetStudioComponentResponse Source #
Create a value of GetStudioComponentResponse
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:studioComponent:GetStudioComponentResponse'
, getStudioComponentResponse_studioComponent
- Information about the studio component.
$sel:httpStatus:GetStudioComponentResponse'
, getStudioComponentResponse_httpStatus
- The response's http status code.
Response Lenses
getStudioComponentResponse_studioComponent :: Lens' GetStudioComponentResponse (Maybe StudioComponent) Source #
Information about the studio component.
getStudioComponentResponse_httpStatus :: Lens' GetStudioComponentResponse Int Source #
The response's http status code.