| 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.GetStudioComponent
Description
Gets a studio component resource.
Synopsis
- data GetStudioComponent = GetStudioComponent' {}
- newGetStudioComponent :: Text -> Text -> GetStudioComponent
- getStudioComponent_studioComponentId :: Lens' GetStudioComponent Text
- getStudioComponent_studioId :: 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.
Constructors
| GetStudioComponent' | |
Fields
| |
Instances
newGetStudioComponent Source #
Arguments
| :: 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:
GetStudioComponent, getStudioComponent_studioComponentId - The studio component ID.
GetStudioComponent, getStudioComponent_studioId - The studio ID.
Request Lenses
getStudioComponent_studioComponentId :: Lens' GetStudioComponent Text Source #
The studio component ID.
getStudioComponent_studioId :: Lens' GetStudioComponent Text Source #
The studio ID.
Destructuring the Response
data GetStudioComponentResponse Source #
See: newGetStudioComponentResponse smart constructor.
Constructors
| GetStudioComponentResponse' | |
Fields
| |
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.