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 |
Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
Synopsis
- data RemoveFlowSource = RemoveFlowSource' {}
- newRemoveFlowSource :: Text -> Text -> RemoveFlowSource
- removeFlowSource_flowArn :: Lens' RemoveFlowSource Text
- removeFlowSource_sourceArn :: Lens' RemoveFlowSource Text
- data RemoveFlowSourceResponse = RemoveFlowSourceResponse' {}
- newRemoveFlowSourceResponse :: Int -> RemoveFlowSourceResponse
- removeFlowSourceResponse_flowArn :: Lens' RemoveFlowSourceResponse (Maybe Text)
- removeFlowSourceResponse_sourceArn :: Lens' RemoveFlowSourceResponse (Maybe Text)
- removeFlowSourceResponse_httpStatus :: Lens' RemoveFlowSourceResponse Int
Creating a Request
data RemoveFlowSource Source #
See: newRemoveFlowSource
smart constructor.
Instances
Create a value of RemoveFlowSource
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:RemoveFlowSource'
, removeFlowSource_flowArn
- The flow that you want to remove a source from.
$sel:sourceArn:RemoveFlowSource'
, removeFlowSource_sourceArn
- The ARN of the source that you want to remove.
Request Lenses
removeFlowSource_flowArn :: Lens' RemoveFlowSource Text Source #
The flow that you want to remove a source from.
removeFlowSource_sourceArn :: Lens' RemoveFlowSource Text Source #
The ARN of the source that you want to remove.
Destructuring the Response
data RemoveFlowSourceResponse Source #
See: newRemoveFlowSourceResponse
smart constructor.
Instances
newRemoveFlowSourceResponse Source #
Create a value of RemoveFlowSourceResponse
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:RemoveFlowSource'
, removeFlowSourceResponse_flowArn
- The ARN of the flow that is associated with the source you removed.
$sel:sourceArn:RemoveFlowSource'
, removeFlowSourceResponse_sourceArn
- The ARN of the source that was removed.
$sel:httpStatus:RemoveFlowSourceResponse'
, removeFlowSourceResponse_httpStatus
- The response's http status code.
Response Lenses
removeFlowSourceResponse_flowArn :: Lens' RemoveFlowSourceResponse (Maybe Text) Source #
The ARN of the flow that is associated with the source you removed.
removeFlowSourceResponse_sourceArn :: Lens' RemoveFlowSourceResponse (Maybe Text) Source #
The ARN of the source that was removed.
removeFlowSourceResponse_httpStatus :: Lens' RemoveFlowSourceResponse Int Source #
The response's http status code.