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 |
You can use this operation to temporarily stop receiving events from the specified partner event source. The matching event bus is not deleted.
When you deactivate a partner event source, the source goes into PENDING state. If it remains in PENDING state for more than two weeks, it is deleted.
To activate a deactivated partner event source, use ActivateEventSource.
Synopsis
- data DeactivateEventSource = DeactivateEventSource' {}
- newDeactivateEventSource :: Text -> DeactivateEventSource
- deactivateEventSource_name :: Lens' DeactivateEventSource Text
- data DeactivateEventSourceResponse = DeactivateEventSourceResponse' {
- newDeactivateEventSourceResponse :: DeactivateEventSourceResponse
Creating a Request
data DeactivateEventSource Source #
See: newDeactivateEventSource
smart constructor.
Instances
newDeactivateEventSource Source #
Create a value of DeactivateEventSource
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:
DeactivateEventSource
, deactivateEventSource_name
- The name of the partner event source to deactivate.
Request Lenses
deactivateEventSource_name :: Lens' DeactivateEventSource Text Source #
The name of the partner event source to deactivate.
Destructuring the Response
data DeactivateEventSourceResponse Source #
See: newDeactivateEventSourceResponse
smart constructor.
Instances
newDeactivateEventSourceResponse :: DeactivateEventSourceResponse Source #
Create a value of DeactivateEventSourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.