libZSservicesZSamazonka-dmsZSamazonka-dms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DMS.Types.EventSubscription

Description

 
Synopsis

Documentation

data EventSubscription Source #

Describes an event notification subscription created by the CreateEventSubscription operation.

See: newEventSubscription smart constructor.

Constructors

EventSubscription' 

Fields

  • status :: Maybe Text

    The status of the DMS event notification subscription.

    Constraints:

    Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist

    The status "no-permission" indicates that DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

  • customerAwsId :: Maybe Text

    The Amazon Web Services customer account associated with the DMS event notification subscription.

  • custSubscriptionId :: Maybe Text

    The DMS event notification subscription Id.

  • snsTopicArn :: Maybe Text

    The topic ARN of the DMS event notification subscription.

  • enabled :: Maybe Bool

    Boolean value that indicates if the event subscription is enabled.

  • sourceType :: Maybe Text

    The type of DMS resource that generates events.

    Valid values: replication-instance | replication-server | security-group | replication-task

  • subscriptionCreationTime :: Maybe Text

    The time the DMS event notification subscription was created.

  • eventCategoriesList :: Maybe [Text]

    A lists of event categories.

  • sourceIdsList :: Maybe [Text]

    A list of source Ids for the event subscription.

Instances

Instances details
Eq EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

Read EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

Show EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

Generic EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

Associated Types

type Rep EventSubscription :: Type -> Type #

NFData EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

Methods

rnf :: EventSubscription -> () #

Hashable EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

FromJSON EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

type Rep EventSubscription Source # 
Instance details

Defined in Amazonka.DMS.Types.EventSubscription

type Rep EventSubscription = D1 ('MetaData "EventSubscription" "Amazonka.DMS.Types.EventSubscription" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "EventSubscription'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customerAwsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "custSubscriptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "subscriptionCreationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventCategoriesList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "sourceIdsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newEventSubscription :: EventSubscription Source #

Create a value of EventSubscription 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:status:EventSubscription', eventSubscription_status - The status of the DMS event notification subscription.

Constraints:

Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist

The status "no-permission" indicates that DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

$sel:customerAwsId:EventSubscription', eventSubscription_customerAwsId - The Amazon Web Services customer account associated with the DMS event notification subscription.

$sel:custSubscriptionId:EventSubscription', eventSubscription_custSubscriptionId - The DMS event notification subscription Id.

$sel:snsTopicArn:EventSubscription', eventSubscription_snsTopicArn - The topic ARN of the DMS event notification subscription.

$sel:enabled:EventSubscription', eventSubscription_enabled - Boolean value that indicates if the event subscription is enabled.

$sel:sourceType:EventSubscription', eventSubscription_sourceType - The type of DMS resource that generates events.

Valid values: replication-instance | replication-server | security-group | replication-task

$sel:subscriptionCreationTime:EventSubscription', eventSubscription_subscriptionCreationTime - The time the DMS event notification subscription was created.

$sel:eventCategoriesList:EventSubscription', eventSubscription_eventCategoriesList - A lists of event categories.

$sel:sourceIdsList:EventSubscription', eventSubscription_sourceIdsList - A list of source Ids for the event subscription.

eventSubscription_status :: Lens' EventSubscription (Maybe Text) Source #

The status of the DMS event notification subscription.

Constraints:

Can be one of the following: creating | modifying | deleting | active | no-permission | topic-not-exist

The status "no-permission" indicates that DMS no longer has permission to post to the SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

eventSubscription_customerAwsId :: Lens' EventSubscription (Maybe Text) Source #

The Amazon Web Services customer account associated with the DMS event notification subscription.

eventSubscription_custSubscriptionId :: Lens' EventSubscription (Maybe Text) Source #

The DMS event notification subscription Id.

eventSubscription_snsTopicArn :: Lens' EventSubscription (Maybe Text) Source #

The topic ARN of the DMS event notification subscription.

eventSubscription_enabled :: Lens' EventSubscription (Maybe Bool) Source #

Boolean value that indicates if the event subscription is enabled.

eventSubscription_sourceType :: Lens' EventSubscription (Maybe Text) Source #

The type of DMS resource that generates events.

Valid values: replication-instance | replication-server | security-group | replication-task

eventSubscription_subscriptionCreationTime :: Lens' EventSubscription (Maybe Text) Source #

The time the DMS event notification subscription was created.

eventSubscription_sourceIdsList :: Lens' EventSubscription (Maybe [Text]) Source #

A list of source Ids for the event subscription.