Class: Aws::DocDB::Types::ModifyEventSubscriptionMessage
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::DocDB::Types::ModifyEventSubscriptionMessage
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-docdb/types.rb
 
Overview
Represents the input to ModifyEventSubscription.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #enabled  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A Boolean value; set to ‘true` to activate the subscription.
 - 
  
    
      #event_categories  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of event categories for a ‘SourceType` that you want to subscribe to.
 - 
  
    
      #sns_topic_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Amazon Resource Name (ARN) of the SNS topic created for event notification.
 - 
  
    
      #source_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of source that is generating the events.
 - 
  
    
      #subscription_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the Amazon DocumentDB event notification subscription.
 
Instance Attribute Details
#enabled ⇒ Boolean
A Boolean value; set to ‘true` to activate the subscription.
      4345 4346 4347 4348 4349 4350 4351 4352 4353  | 
    
      # File 'lib/aws-sdk-docdb/types.rb', line 4345 class ModifyEventSubscriptionMessage < Struct.new( :subscription_name, :sns_topic_arn, :source_type, :event_categories, :enabled) SENSITIVE = [] include Aws::Structure end  | 
  
#event_categories ⇒ Array<String>
A list of event categories for a ‘SourceType` that you want to subscribe to.
      4345 4346 4347 4348 4349 4350 4351 4352 4353  | 
    
      # File 'lib/aws-sdk-docdb/types.rb', line 4345 class ModifyEventSubscriptionMessage < Struct.new( :subscription_name, :sns_topic_arn, :source_type, :event_categories, :enabled) SENSITIVE = [] include Aws::Structure end  | 
  
#sns_topic_arn ⇒ String
The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
      4345 4346 4347 4348 4349 4350 4351 4352 4353  | 
    
      # File 'lib/aws-sdk-docdb/types.rb', line 4345 class ModifyEventSubscriptionMessage < Struct.new( :subscription_name, :sns_topic_arn, :source_type, :event_categories, :enabled) SENSITIVE = [] include Aws::Structure end  | 
  
#source_type ⇒ String
The type of source that is generating the events. For example, if you want to be notified of events generated by an instance, set this parameter to ‘db-instance`. If this value is not specified, all events are returned.
Valid values: ‘db-instance`, `db-parameter-group`, `db-security-group`
      4345 4346 4347 4348 4349 4350 4351 4352 4353  | 
    
      # File 'lib/aws-sdk-docdb/types.rb', line 4345 class ModifyEventSubscriptionMessage < Struct.new( :subscription_name, :sns_topic_arn, :source_type, :event_categories, :enabled) SENSITIVE = [] include Aws::Structure end  | 
  
#subscription_name ⇒ String
The name of the Amazon DocumentDB event notification subscription.
      4345 4346 4347 4348 4349 4350 4351 4352 4353  | 
    
      # File 'lib/aws-sdk-docdb/types.rb', line 4345 class ModifyEventSubscriptionMessage < Struct.new( :subscription_name, :sns_topic_arn, :source_type, :event_categories, :enabled) SENSITIVE = [] include Aws::Structure end  |