| 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.MediaConnect.AddFlowMediaStreams
Description
Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.
Synopsis
- data AddFlowMediaStreams = AddFlowMediaStreams' {}
- newAddFlowMediaStreams :: Text -> AddFlowMediaStreams
- addFlowMediaStreams_flowArn :: Lens' AddFlowMediaStreams Text
- addFlowMediaStreams_mediaStreams :: Lens' AddFlowMediaStreams [AddMediaStreamRequest]
- data AddFlowMediaStreamsResponse = AddFlowMediaStreamsResponse' {
- flowArn :: Maybe Text
- mediaStreams :: Maybe [MediaStream]
- httpStatus :: Int
- newAddFlowMediaStreamsResponse :: Int -> AddFlowMediaStreamsResponse
- addFlowMediaStreamsResponse_flowArn :: Lens' AddFlowMediaStreamsResponse (Maybe Text)
- addFlowMediaStreamsResponse_mediaStreams :: Lens' AddFlowMediaStreamsResponse (Maybe [MediaStream])
- addFlowMediaStreamsResponse_httpStatus :: Lens' AddFlowMediaStreamsResponse Int
Creating a Request
data AddFlowMediaStreams Source #
A request to add media streams to the flow.
See: newAddFlowMediaStreams smart constructor.
Constructors
| AddFlowMediaStreams' | |
Fields
| |
Instances
newAddFlowMediaStreams Source #
Arguments
| :: Text | |
| -> AddFlowMediaStreams |
Create a value of AddFlowMediaStreams 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:
AddFlowMediaStreams, addFlowMediaStreams_flowArn - The Amazon Resource Name (ARN) of the flow.
AddFlowMediaStreams, addFlowMediaStreams_mediaStreams - The media streams that you want to add to the flow.
Request Lenses
addFlowMediaStreams_flowArn :: Lens' AddFlowMediaStreams Text Source #
The Amazon Resource Name (ARN) of the flow.
addFlowMediaStreams_mediaStreams :: Lens' AddFlowMediaStreams [AddMediaStreamRequest] Source #
The media streams that you want to add to the flow.
Destructuring the Response
data AddFlowMediaStreamsResponse Source #
See: newAddFlowMediaStreamsResponse smart constructor.
Constructors
| AddFlowMediaStreamsResponse' | |
Fields
| |
Instances
newAddFlowMediaStreamsResponse Source #
Create a value of AddFlowMediaStreamsResponse 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:
AddFlowMediaStreams, addFlowMediaStreamsResponse_flowArn - The ARN of the flow that you added media streams to.
AddFlowMediaStreams, addFlowMediaStreamsResponse_mediaStreams - The media streams that you added to the flow.
$sel:httpStatus:AddFlowMediaStreamsResponse', addFlowMediaStreamsResponse_httpStatus - The response's http status code.
Response Lenses
addFlowMediaStreamsResponse_flowArn :: Lens' AddFlowMediaStreamsResponse (Maybe Text) Source #
The ARN of the flow that you added media streams to.
addFlowMediaStreamsResponse_mediaStreams :: Lens' AddFlowMediaStreamsResponse (Maybe [MediaStream]) Source #
The media streams that you added to the flow.
addFlowMediaStreamsResponse_httpStatus :: Lens' AddFlowMediaStreamsResponse Int Source #
The response's http status code.