| 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.RemoveFlowSource
Description
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.
Constructors
| RemoveFlowSource' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> RemoveFlowSource |
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:
RemoveFlowSource, removeFlowSource_flowArn - The flow that you want to remove a source from.
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.
Constructors
| RemoveFlowSourceResponse' | |
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:
RemoveFlowSource, removeFlowSourceResponse_flowArn - The ARN of the flow that is associated with the source you removed.
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.