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 |
Updates channel flow attributes. This is a developer API.
Synopsis
- data UpdateChannelFlow = UpdateChannelFlow' {}
- newUpdateChannelFlow :: Text -> NonEmpty Processor -> Text -> UpdateChannelFlow
- updateChannelFlow_channelFlowArn :: Lens' UpdateChannelFlow Text
- updateChannelFlow_processors :: Lens' UpdateChannelFlow (NonEmpty Processor)
- updateChannelFlow_name :: Lens' UpdateChannelFlow Text
- data UpdateChannelFlowResponse = UpdateChannelFlowResponse' {
- channelFlowArn :: Maybe Text
- httpStatus :: Int
- newUpdateChannelFlowResponse :: Int -> UpdateChannelFlowResponse
- updateChannelFlowResponse_channelFlowArn :: Lens' UpdateChannelFlowResponse (Maybe Text)
- updateChannelFlowResponse_httpStatus :: Lens' UpdateChannelFlowResponse Int
Creating a Request
data UpdateChannelFlow Source #
See: newUpdateChannelFlow
smart constructor.
UpdateChannelFlow' | |
|
Instances
:: Text | |
-> NonEmpty Processor | |
-> Text | |
-> UpdateChannelFlow |
Create a value of UpdateChannelFlow
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:channelFlowArn:UpdateChannelFlow'
, updateChannelFlow_channelFlowArn
- The ARN of the channel flow.
$sel:processors:UpdateChannelFlow'
, updateChannelFlow_processors
- Information about the processor Lambda functions
$sel:name:UpdateChannelFlow'
, updateChannelFlow_name
- The name of the channel flow.
Request Lenses
updateChannelFlow_channelFlowArn :: Lens' UpdateChannelFlow Text Source #
The ARN of the channel flow.
updateChannelFlow_processors :: Lens' UpdateChannelFlow (NonEmpty Processor) Source #
Information about the processor Lambda functions
updateChannelFlow_name :: Lens' UpdateChannelFlow Text Source #
The name of the channel flow.
Destructuring the Response
data UpdateChannelFlowResponse Source #
See: newUpdateChannelFlowResponse
smart constructor.
UpdateChannelFlowResponse' | |
|
Instances
newUpdateChannelFlowResponse Source #
Create a value of UpdateChannelFlowResponse
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:channelFlowArn:UpdateChannelFlow'
, updateChannelFlowResponse_channelFlowArn
- The ARN of the channel flow.
$sel:httpStatus:UpdateChannelFlowResponse'
, updateChannelFlowResponse_httpStatus
- The response's http status code.
Response Lenses
updateChannelFlowResponse_channelFlowArn :: Lens' UpdateChannelFlowResponse (Maybe Text) Source #
The ARN of the channel flow.
updateChannelFlowResponse_httpStatus :: Lens' UpdateChannelFlowResponse Int Source #
The response's http status code.