Skip to content

Add Source Identifier To Subscription

docdb_add_source_identifier_to_subscription R Documentation

Adds a source identifier to an existing event notification subscription

Description

Adds a source identifier to an existing event notification subscription.

Usage

docdb_add_source_identifier_to_subscription(SubscriptionName,
  SourceIdentifier)

Arguments

SubscriptionName

[required] The name of the Amazon DocumentDB event notification subscription that you want to add a source identifier to.

SourceIdentifier

[required] The identifier of the event source to be added:

  • If the source type is an instance, a DBInstanceIdentifier must be provided.

  • If the source type is a security group, a DBSecurityGroupName must be provided.

  • If the source type is a parameter group, a DBParameterGroupName must be provided.

  • If the source type is a snapshot, a DBSnapshotIdentifier must be provided.

Value

A list with the following syntax:

list(
  EventSubscription = list(
    CustomerAwsId = "string",
    CustSubscriptionId = "string",
    SnsTopicArn = "string",
    Status = "string",
    SubscriptionCreationTime = "string",
    SourceType = "string",
    SourceIdsList = list(
      "string"
    ),
    EventCategoriesList = list(
      "string"
    ),
    Enabled = TRUE|FALSE,
    EventSubscriptionArn = "string"
  )
)

Request syntax

svc$add_source_identifier_to_subscription(
  SubscriptionName = "string",
  SourceIdentifier = "string"
)