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 |
Amazonka.IoT.UpdateEventConfigurations
Description
Updates the event configurations.
Requires permission to access the UpdateEventConfigurations action.
Synopsis
- data UpdateEventConfigurations = UpdateEventConfigurations' {}
- newUpdateEventConfigurations :: UpdateEventConfigurations
- updateEventConfigurations_eventConfigurations :: Lens' UpdateEventConfigurations (Maybe (HashMap EventType Configuration))
- data UpdateEventConfigurationsResponse = UpdateEventConfigurationsResponse' {
- httpStatus :: Int
- newUpdateEventConfigurationsResponse :: Int -> UpdateEventConfigurationsResponse
- updateEventConfigurationsResponse_httpStatus :: Lens' UpdateEventConfigurationsResponse Int
Creating a Request
data UpdateEventConfigurations Source #
See: newUpdateEventConfigurations
smart constructor.
Constructors
UpdateEventConfigurations' | |
Fields
|
Instances
newUpdateEventConfigurations :: UpdateEventConfigurations Source #
Create a value of UpdateEventConfigurations
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:eventConfigurations:UpdateEventConfigurations'
, updateEventConfigurations_eventConfigurations
- The new event configuration values.
Request Lenses
updateEventConfigurations_eventConfigurations :: Lens' UpdateEventConfigurations (Maybe (HashMap EventType Configuration)) Source #
The new event configuration values.
Destructuring the Response
data UpdateEventConfigurationsResponse Source #
See: newUpdateEventConfigurationsResponse
smart constructor.
Constructors
UpdateEventConfigurationsResponse' | |
Fields
|
Instances
newUpdateEventConfigurationsResponse Source #
Arguments
:: Int | |
-> UpdateEventConfigurationsResponse |
Create a value of UpdateEventConfigurationsResponse
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:httpStatus:UpdateEventConfigurationsResponse'
, updateEventConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
updateEventConfigurationsResponse_httpStatus :: Lens' UpdateEventConfigurationsResponse Int Source #
The response's http status code.