| 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.Chime.PutEventsConfiguration
Description
Creates an events configuration that allows a bot to receive outgoing events sent by Amazon Chime. Choose either an HTTPS endpoint or a Lambda function ARN. For more information, see Bot.
Synopsis
- data PutEventsConfiguration = PutEventsConfiguration' {}
- newPutEventsConfiguration :: Text -> Text -> PutEventsConfiguration
- putEventsConfiguration_lambdaFunctionArn :: Lens' PutEventsConfiguration (Maybe Text)
- putEventsConfiguration_outboundEventsHTTPSEndpoint :: Lens' PutEventsConfiguration (Maybe Text)
- putEventsConfiguration_accountId :: Lens' PutEventsConfiguration Text
- putEventsConfiguration_botId :: Lens' PutEventsConfiguration Text
- data PutEventsConfigurationResponse = PutEventsConfigurationResponse' {}
- newPutEventsConfigurationResponse :: Int -> PutEventsConfigurationResponse
- putEventsConfigurationResponse_eventsConfiguration :: Lens' PutEventsConfigurationResponse (Maybe EventsConfiguration)
- putEventsConfigurationResponse_httpStatus :: Lens' PutEventsConfigurationResponse Int
Creating a Request
data PutEventsConfiguration Source #
See: newPutEventsConfiguration smart constructor.
Constructors
| PutEventsConfiguration' | |
Fields | |
Instances
newPutEventsConfiguration Source #
Create a value of PutEventsConfiguration 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:
PutEventsConfiguration, putEventsConfiguration_lambdaFunctionArn - Lambda function ARN that allows the bot to receive outgoing events.
PutEventsConfiguration, putEventsConfiguration_outboundEventsHTTPSEndpoint - HTTPS endpoint that allows the bot to receive outgoing events.
PutEventsConfiguration, putEventsConfiguration_accountId - The Amazon Chime account ID.
PutEventsConfiguration, putEventsConfiguration_botId - The bot ID.
Request Lenses
putEventsConfiguration_lambdaFunctionArn :: Lens' PutEventsConfiguration (Maybe Text) Source #
Lambda function ARN that allows the bot to receive outgoing events.
putEventsConfiguration_outboundEventsHTTPSEndpoint :: Lens' PutEventsConfiguration (Maybe Text) Source #
HTTPS endpoint that allows the bot to receive outgoing events.
putEventsConfiguration_accountId :: Lens' PutEventsConfiguration Text Source #
The Amazon Chime account ID.
putEventsConfiguration_botId :: Lens' PutEventsConfiguration Text Source #
The bot ID.
Destructuring the Response
data PutEventsConfigurationResponse Source #
See: newPutEventsConfigurationResponse smart constructor.
Constructors
| PutEventsConfigurationResponse' | |
Fields
| |
Instances
newPutEventsConfigurationResponse Source #
Create a value of PutEventsConfigurationResponse 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:eventsConfiguration:PutEventsConfigurationResponse', putEventsConfigurationResponse_eventsConfiguration - Undocumented member.
$sel:httpStatus:PutEventsConfigurationResponse', putEventsConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
putEventsConfigurationResponse_eventsConfiguration :: Lens' PutEventsConfigurationResponse (Maybe EventsConfiguration) Source #
Undocumented member.
putEventsConfigurationResponse_httpStatus :: Lens' PutEventsConfigurationResponse Int Source #
The response's http status code.