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 |
Gets details for an events configuration that allows a bot to receive outgoing events, such as an HTTPS endpoint or Lambda function ARN.
Synopsis
- data GetEventsConfiguration = GetEventsConfiguration' {}
- newGetEventsConfiguration :: Text -> Text -> GetEventsConfiguration
- getEventsConfiguration_accountId :: Lens' GetEventsConfiguration Text
- getEventsConfiguration_botId :: Lens' GetEventsConfiguration Text
- data GetEventsConfigurationResponse = GetEventsConfigurationResponse' {}
- newGetEventsConfigurationResponse :: Int -> GetEventsConfigurationResponse
- getEventsConfigurationResponse_eventsConfiguration :: Lens' GetEventsConfigurationResponse (Maybe EventsConfiguration)
- getEventsConfigurationResponse_httpStatus :: Lens' GetEventsConfigurationResponse Int
Creating a Request
data GetEventsConfiguration Source #
See: newGetEventsConfiguration
smart constructor.
Instances
newGetEventsConfiguration Source #
:: Text | |
-> Text | |
-> GetEventsConfiguration |
Create a value of GetEventsConfiguration
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:accountId:GetEventsConfiguration'
, getEventsConfiguration_accountId
- The Amazon Chime account ID.
$sel:botId:GetEventsConfiguration'
, getEventsConfiguration_botId
- The bot ID.
Request Lenses
getEventsConfiguration_accountId :: Lens' GetEventsConfiguration Text Source #
The Amazon Chime account ID.
getEventsConfiguration_botId :: Lens' GetEventsConfiguration Text Source #
The bot ID.
Destructuring the Response
data GetEventsConfigurationResponse Source #
See: newGetEventsConfigurationResponse
smart constructor.
GetEventsConfigurationResponse' | |
|
Instances
Eq GetEventsConfigurationResponse Source # | |
Show GetEventsConfigurationResponse Source # | |
Defined in Amazonka.Chime.GetEventsConfiguration | |
Generic GetEventsConfigurationResponse Source # | |
NFData GetEventsConfigurationResponse Source # | |
Defined in Amazonka.Chime.GetEventsConfiguration rnf :: GetEventsConfigurationResponse -> () # | |
type Rep GetEventsConfigurationResponse Source # | |
Defined in Amazonka.Chime.GetEventsConfiguration type Rep GetEventsConfigurationResponse = D1 ('MetaData "GetEventsConfigurationResponse" "Amazonka.Chime.GetEventsConfiguration" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "GetEventsConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventsConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventsConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetEventsConfigurationResponse Source #
Create a value of GetEventsConfigurationResponse
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:GetEventsConfigurationResponse'
, getEventsConfigurationResponse_eventsConfiguration
- The events configuration details.
$sel:httpStatus:GetEventsConfigurationResponse'
, getEventsConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
getEventsConfigurationResponse_eventsConfiguration :: Lens' GetEventsConfigurationResponse (Maybe EventsConfiguration) Source #
The events configuration details.
getEventsConfigurationResponse_httpStatus :: Lens' GetEventsConfigurationResponse Int Source #
The response's http status code.