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 |
Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
Synopsis
- data CreateFlow = CreateFlow' {
- mediaStreams :: Maybe [AddMediaStreamRequest]
- sourceFailoverConfig :: Maybe FailoverConfig
- vpcInterfaces :: Maybe [VpcInterfaceRequest]
- sources :: Maybe [SetSourceRequest]
- outputs :: Maybe [AddOutputRequest]
- availabilityZone :: Maybe Text
- entitlements :: Maybe [GrantEntitlementRequest]
- source :: Maybe SetSourceRequest
- name :: Text
- newCreateFlow :: Text -> CreateFlow
- createFlow_mediaStreams :: Lens' CreateFlow (Maybe [AddMediaStreamRequest])
- createFlow_sourceFailoverConfig :: Lens' CreateFlow (Maybe FailoverConfig)
- createFlow_vpcInterfaces :: Lens' CreateFlow (Maybe [VpcInterfaceRequest])
- createFlow_sources :: Lens' CreateFlow (Maybe [SetSourceRequest])
- createFlow_outputs :: Lens' CreateFlow (Maybe [AddOutputRequest])
- createFlow_availabilityZone :: Lens' CreateFlow (Maybe Text)
- createFlow_entitlements :: Lens' CreateFlow (Maybe [GrantEntitlementRequest])
- createFlow_source :: Lens' CreateFlow (Maybe SetSourceRequest)
- createFlow_name :: Lens' CreateFlow Text
- data CreateFlowResponse = CreateFlowResponse' {
- flow :: Maybe Flow
- httpStatus :: Int
- newCreateFlowResponse :: Int -> CreateFlowResponse
- createFlowResponse_flow :: Lens' CreateFlowResponse (Maybe Flow)
- createFlowResponse_httpStatus :: Lens' CreateFlowResponse Int
Creating a Request
data CreateFlow Source #
Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
See: newCreateFlow
smart constructor.
CreateFlow' | |
|
Instances
Create a value of CreateFlow
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:mediaStreams:CreateFlow'
, createFlow_mediaStreams
- The media streams that you want to add to the flow. You can associate
these media streams with sources and outputs on the flow.
$sel:sourceFailoverConfig:CreateFlow'
, createFlow_sourceFailoverConfig
- Undocumented member.
$sel:vpcInterfaces:CreateFlow'
, createFlow_vpcInterfaces
- The VPC interfaces you want on the flow.
$sel:sources:CreateFlow'
, createFlow_sources
- Undocumented member.
$sel:outputs:CreateFlow'
, createFlow_outputs
- The outputs that you want to add to this flow.
$sel:availabilityZone:CreateFlow'
, createFlow_availabilityZone
- The Availability Zone that you want to create the flow in. These options
are limited to the Availability Zones within the current AWS Region.
$sel:entitlements:CreateFlow'
, createFlow_entitlements
- The entitlements that you want to grant on a flow.
$sel:source:CreateFlow'
, createFlow_source
- Undocumented member.
$sel:name:CreateFlow'
, createFlow_name
- The name of the flow.
Request Lenses
createFlow_mediaStreams :: Lens' CreateFlow (Maybe [AddMediaStreamRequest]) Source #
The media streams that you want to add to the flow. You can associate these media streams with sources and outputs on the flow.
createFlow_sourceFailoverConfig :: Lens' CreateFlow (Maybe FailoverConfig) Source #
Undocumented member.
createFlow_vpcInterfaces :: Lens' CreateFlow (Maybe [VpcInterfaceRequest]) Source #
The VPC interfaces you want on the flow.
createFlow_sources :: Lens' CreateFlow (Maybe [SetSourceRequest]) Source #
Undocumented member.
createFlow_outputs :: Lens' CreateFlow (Maybe [AddOutputRequest]) Source #
The outputs that you want to add to this flow.
createFlow_availabilityZone :: Lens' CreateFlow (Maybe Text) Source #
The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.
createFlow_entitlements :: Lens' CreateFlow (Maybe [GrantEntitlementRequest]) Source #
The entitlements that you want to grant on a flow.
createFlow_source :: Lens' CreateFlow (Maybe SetSourceRequest) Source #
Undocumented member.
createFlow_name :: Lens' CreateFlow Text Source #
The name of the flow.
Destructuring the Response
data CreateFlowResponse Source #
See: newCreateFlowResponse
smart constructor.
CreateFlowResponse' | |
|
Instances
newCreateFlowResponse Source #
Create a value of CreateFlowResponse
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:flow:CreateFlowResponse'
, createFlowResponse_flow
- Undocumented member.
$sel:httpStatus:CreateFlowResponse'
, createFlowResponse_httpStatus
- The response's http status code.
Response Lenses
createFlowResponse_flow :: Lens' CreateFlowResponse (Maybe Flow) Source #
Undocumented member.
createFlowResponse_httpStatus :: Lens' CreateFlowResponse Int Source #
The response's http status code.