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 |
Adds Sources to flow
Synopsis
- data AddFlowSources = AddFlowSources' {
- flowArn :: Text
- sources :: [SetSourceRequest]
- newAddFlowSources :: Text -> AddFlowSources
- addFlowSources_flowArn :: Lens' AddFlowSources Text
- addFlowSources_sources :: Lens' AddFlowSources [SetSourceRequest]
- data AddFlowSourcesResponse = AddFlowSourcesResponse' {}
- newAddFlowSourcesResponse :: Int -> AddFlowSourcesResponse
- addFlowSourcesResponse_flowArn :: Lens' AddFlowSourcesResponse (Maybe Text)
- addFlowSourcesResponse_sources :: Lens' AddFlowSourcesResponse (Maybe [Source])
- addFlowSourcesResponse_httpStatus :: Lens' AddFlowSourcesResponse Int
Creating a Request
data AddFlowSources Source #
A request to add sources to the flow.
See: newAddFlowSources
smart constructor.
AddFlowSources' | |
|
Instances
Create a value of AddFlowSources
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:flowArn:AddFlowSources'
, addFlowSources_flowArn
- The flow that you want to mutate.
$sel:sources:AddFlowSources'
, addFlowSources_sources
- A list of sources that you want to add.
Request Lenses
addFlowSources_flowArn :: Lens' AddFlowSources Text Source #
The flow that you want to mutate.
addFlowSources_sources :: Lens' AddFlowSources [SetSourceRequest] Source #
A list of sources that you want to add.
Destructuring the Response
data AddFlowSourcesResponse Source #
See: newAddFlowSourcesResponse
smart constructor.
Instances
newAddFlowSourcesResponse Source #
Create a value of AddFlowSourcesResponse
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:flowArn:AddFlowSources'
, addFlowSourcesResponse_flowArn
- The ARN of the flow that these sources were added to.
$sel:sources:AddFlowSources'
, addFlowSourcesResponse_sources
- The details of the newly added sources.
$sel:httpStatus:AddFlowSourcesResponse'
, addFlowSourcesResponse_httpStatus
- The response's http status code.
Response Lenses
addFlowSourcesResponse_flowArn :: Lens' AddFlowSourcesResponse (Maybe Text) Source #
The ARN of the flow that these sources were added to.
addFlowSourcesResponse_sources :: Lens' AddFlowSourcesResponse (Maybe [Source]) Source #
The details of the newly added sources.
addFlowSourcesResponse_httpStatus :: Lens' AddFlowSourcesResponse Int Source #
The response's http status code.