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 |
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' {
- availabilityZone :: Maybe Text
- entitlements :: Maybe [GrantEntitlementRequest]
- maintenance :: Maybe AddMaintenance
- mediaStreams :: Maybe [AddMediaStreamRequest]
- outputs :: Maybe [AddOutputRequest]
- source :: Maybe SetSourceRequest
- sourceFailoverConfig :: Maybe FailoverConfig
- sources :: Maybe [SetSourceRequest]
- vpcInterfaces :: Maybe [VpcInterfaceRequest]
- name :: Text
- newCreateFlow :: Text -> CreateFlow
- createFlow_availabilityZone :: Lens' CreateFlow (Maybe Text)
- createFlow_entitlements :: Lens' CreateFlow (Maybe [GrantEntitlementRequest])
- createFlow_maintenance :: Lens' CreateFlow (Maybe AddMaintenance)
- createFlow_mediaStreams :: Lens' CreateFlow (Maybe [AddMediaStreamRequest])
- createFlow_outputs :: Lens' CreateFlow (Maybe [AddOutputRequest])
- createFlow_source :: Lens' CreateFlow (Maybe SetSourceRequest)
- createFlow_sourceFailoverConfig :: Lens' CreateFlow (Maybe FailoverConfig)
- createFlow_sources :: Lens' CreateFlow (Maybe [SetSourceRequest])
- createFlow_vpcInterfaces :: Lens' CreateFlow (Maybe [VpcInterfaceRequest])
- 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
:: Text | |
-> CreateFlow |
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:
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.
CreateFlow
, createFlow_entitlements
- The entitlements that you want to grant on a flow.
CreateFlow
, createFlow_maintenance
- Undocumented member.
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.
CreateFlow
, createFlow_outputs
- The outputs that you want to add to this flow.
CreateFlow
, createFlow_source
- Undocumented member.
CreateFlow
, createFlow_sourceFailoverConfig
- Undocumented member.
CreateFlow
, createFlow_sources
- Undocumented member.
CreateFlow
, createFlow_vpcInterfaces
- The VPC interfaces you want on the flow.
CreateFlow
, createFlow_name
- The name of the flow.
Request Lenses
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_maintenance :: Lens' CreateFlow (Maybe AddMaintenance) Source #
Undocumented member.
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_outputs :: Lens' CreateFlow (Maybe [AddOutputRequest]) Source #
The outputs that you want to add to this flow.
createFlow_source :: Lens' CreateFlow (Maybe SetSourceRequest) Source #
Undocumented member.
createFlow_sourceFailoverConfig :: Lens' CreateFlow (Maybe FailoverConfig) Source #
Undocumented member.
createFlow_sources :: Lens' CreateFlow (Maybe [SetSourceRequest]) Source #
Undocumented member.
createFlow_vpcInterfaces :: Lens' CreateFlow (Maybe [VpcInterfaceRequest]) Source #
The VPC interfaces you want on the flow.
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.