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 |
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:
$sel:name: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
Eq DeactivateEventSourceResponse Source # | |
Read DeactivateEventSourceResponse Source # | |
Show DeactivateEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeactivateEventSource showsPrec :: Int -> DeactivateEventSourceResponse -> ShowS # show :: DeactivateEventSourceResponse -> String # showList :: [DeactivateEventSourceResponse] -> ShowS # | |
Generic DeactivateEventSourceResponse Source # | |
NFData DeactivateEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeactivateEventSource rnf :: DeactivateEventSourceResponse -> () # | |
type Rep DeactivateEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeactivateEventSource type Rep DeactivateEventSourceResponse = D1 ('MetaData "DeactivateEventSourceResponse" "Amazonka.CloudWatchEvents.DeactivateEventSource" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DeactivateEventSourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeactivateEventSourceResponse :: DeactivateEventSourceResponse Source #
Create a value of DeactivateEventSourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.