| 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.CloudWatchEvents.DeactivateEventSource
Description
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.
Constructors
| DeactivateEventSource' | |
Instances
newDeactivateEventSource Source #
Arguments
| :: Text | |
| -> DeactivateEventSource |
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.
Constructors
| DeactivateEventSourceResponse' | |
Instances
| Generic DeactivateEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeactivateEventSource Associated Types type Rep DeactivateEventSourceResponse :: Type -> Type # | |
| Read DeactivateEventSourceResponse Source # | |
| Show DeactivateEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeactivateEventSource Methods showsPrec :: Int -> DeactivateEventSourceResponse -> ShowS # show :: DeactivateEventSourceResponse -> String # showList :: [DeactivateEventSourceResponse] -> ShowS # | |
| NFData DeactivateEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeactivateEventSource Methods rnf :: DeactivateEventSourceResponse -> () # | |
| Eq DeactivateEventSourceResponse Source # | |
| type Rep DeactivateEventSourceResponse Source # | |
newDeactivateEventSourceResponse :: DeactivateEventSourceResponse Source #
Create a value of DeactivateEventSourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.