libZSservicesZSamazonka-neptuneZSamazonka-neptune
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.Neptune.AddSourceIdentifierToSubscription

Description

Adds a source identifier to an existing event notification subscription.

Synopsis

Creating a Request

data AddSourceIdentifierToSubscription Source #

See: newAddSourceIdentifierToSubscription smart constructor.

Constructors

AddSourceIdentifierToSubscription' 

Fields

  • subscriptionName :: Text

    The name of the event notification subscription you want to add a source identifier to.

  • sourceIdentifier :: Text

    The identifier of the event source to be added.

    Constraints:

    • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.
    • If the source type is a DB security group, a DBSecurityGroupName must be supplied.
    • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.
    • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Instances

Instances details
Eq AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Read AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Show AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Generic AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Associated Types

type Rep AddSourceIdentifierToSubscription :: Type -> Type #

NFData AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Hashable AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

AWSRequest AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

ToHeaders AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

ToPath AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

ToQuery AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscription = D1 ('MetaData "AddSourceIdentifierToSubscription" "Amazonka.Neptune.AddSourceIdentifierToSubscription" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "AddSourceIdentifierToSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AddSourceIdentifierToSubscription Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

newAddSourceIdentifierToSubscription Source #

Create a value of AddSourceIdentifierToSubscription 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:subscriptionName:AddSourceIdentifierToSubscription', addSourceIdentifierToSubscription_subscriptionName - The name of the event notification subscription you want to add a source identifier to.

$sel:sourceIdentifier:AddSourceIdentifierToSubscription', addSourceIdentifierToSubscription_sourceIdentifier - The identifier of the event source to be added.

Constraints:

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.
  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.
  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.
  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Request Lenses

addSourceIdentifierToSubscription_subscriptionName :: Lens' AddSourceIdentifierToSubscription Text Source #

The name of the event notification subscription you want to add a source identifier to.

addSourceIdentifierToSubscription_sourceIdentifier :: Lens' AddSourceIdentifierToSubscription Text Source #

The identifier of the event source to be added.

Constraints:

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.
  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.
  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.
  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Destructuring the Response

data AddSourceIdentifierToSubscriptionResponse Source #

Constructors

AddSourceIdentifierToSubscriptionResponse' 

Fields

Instances

Instances details
Eq AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Read AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Show AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

Generic AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

NFData AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Neptune.AddSourceIdentifierToSubscription

type Rep AddSourceIdentifierToSubscriptionResponse = D1 ('MetaData "AddSourceIdentifierToSubscriptionResponse" "Amazonka.Neptune.AddSourceIdentifierToSubscription" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "AddSourceIdentifierToSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventSubscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventSubscription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses