Class: Aws::DocDB::Types::AddSourceIdentifierToSubscriptionMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb

Overview

Note:

When making an API call, you may pass AddSourceIdentifierToSubscriptionMessage data as a hash:

{
  subscription_name: "String", # required
  source_identifier: "String", # required
}

Represents the input to AddSourceIdentifierToSubscription.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#source_identifierString

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.

Returns:

  • (String)


46
47
48
49
50
51
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 46

class AddSourceIdentifierToSubscriptionMessage < Struct.new(
  :subscription_name,
  :source_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#subscription_nameString

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

Returns:

  • (String)


46
47
48
49
50
51
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 46

class AddSourceIdentifierToSubscriptionMessage < Struct.new(
  :subscription_name,
  :source_identifier)
  SENSITIVE = []
  include Aws::Structure
end