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 |
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.
Instances
newPutEventsConfiguration Source #
:: Text | |
-> Text | |
-> PutEventsConfiguration |
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:
$sel:lambdaFunctionArn:PutEventsConfiguration'
, putEventsConfiguration_lambdaFunctionArn
- Lambda function ARN that allows the bot to receive outgoing events.
$sel:outboundEventsHTTPSEndpoint:PutEventsConfiguration'
, putEventsConfiguration_outboundEventsHTTPSEndpoint
- HTTPS endpoint that allows the bot to receive outgoing events.
$sel:accountId:PutEventsConfiguration'
, putEventsConfiguration_accountId
- The Amazon Chime account ID.
$sel:botId: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.
PutEventsConfigurationResponse' | |
|
Instances
Eq PutEventsConfigurationResponse Source # | |
Show PutEventsConfigurationResponse Source # | |
Defined in Amazonka.Chime.PutEventsConfiguration | |
Generic PutEventsConfigurationResponse Source # | |
NFData PutEventsConfigurationResponse Source # | |
Defined in Amazonka.Chime.PutEventsConfiguration rnf :: PutEventsConfigurationResponse -> () # | |
type Rep PutEventsConfigurationResponse Source # | |
Defined in Amazonka.Chime.PutEventsConfiguration type Rep PutEventsConfigurationResponse = D1 ('MetaData "PutEventsConfigurationResponse" "Amazonka.Chime.PutEventsConfiguration" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PutEventsConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventsConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventsConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.