| 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.GetEventsConfiguration
Description
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.
Constructors
| GetEventsConfiguration' | |
Instances
newGetEventsConfiguration Source #
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:
GetEventsConfiguration, getEventsConfiguration_accountId - The Amazon Chime account ID.
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.
Constructors
| GetEventsConfigurationResponse' | |
Fields
| |
Instances
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.