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 |
This operation is used by SaaS partners to delete a partner event source. This operation is not used by Amazon Web Services customers.
When you delete an event source, the status of the corresponding partner event bus in the Amazon Web Services customer account becomes DELETED.
Synopsis
- data DeletePartnerEventSource = DeletePartnerEventSource' {}
- newDeletePartnerEventSource :: Text -> Text -> DeletePartnerEventSource
- deletePartnerEventSource_name :: Lens' DeletePartnerEventSource Text
- deletePartnerEventSource_account :: Lens' DeletePartnerEventSource Text
- data DeletePartnerEventSourceResponse = DeletePartnerEventSourceResponse' {
- newDeletePartnerEventSourceResponse :: DeletePartnerEventSourceResponse
Creating a Request
data DeletePartnerEventSource Source #
See: newDeletePartnerEventSource
smart constructor.
Instances
newDeletePartnerEventSource Source #
:: Text | |
-> Text | |
-> DeletePartnerEventSource |
Create a value of DeletePartnerEventSource
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:DeletePartnerEventSource'
, deletePartnerEventSource_name
- The name of the event source to delete.
$sel:account:DeletePartnerEventSource'
, deletePartnerEventSource_account
- The Amazon Web Services account ID of the Amazon Web Services customer
that the event source was created for.
Request Lenses
deletePartnerEventSource_name :: Lens' DeletePartnerEventSource Text Source #
The name of the event source to delete.
deletePartnerEventSource_account :: Lens' DeletePartnerEventSource Text Source #
The Amazon Web Services account ID of the Amazon Web Services customer that the event source was created for.
Destructuring the Response
data DeletePartnerEventSourceResponse Source #
See: newDeletePartnerEventSourceResponse
smart constructor.
Instances
Eq DeletePartnerEventSourceResponse Source # | |
Read DeletePartnerEventSourceResponse Source # | |
Show DeletePartnerEventSourceResponse Source # | |
Generic DeletePartnerEventSourceResponse Source # | |
NFData DeletePartnerEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeletePartnerEventSource rnf :: DeletePartnerEventSourceResponse -> () # | |
type Rep DeletePartnerEventSourceResponse Source # | |
Defined in Amazonka.CloudWatchEvents.DeletePartnerEventSource type Rep DeletePartnerEventSourceResponse = D1 ('MetaData "DeletePartnerEventSourceResponse" "Amazonka.CloudWatchEvents.DeletePartnerEventSource" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "DeletePartnerEventSourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeletePartnerEventSourceResponse :: DeletePartnerEventSourceResponse Source #
Create a value of DeletePartnerEventSourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.