class Fog::AWS::RDS::EventSubscriptions
Public Instance Methods
all()
click to toggle source
# File lib/fog/aws/models/rds/event_subscriptions.rb, line 9 def all data = service.describe_event_subscriptions.body['DescribeEventSubscriptionsResult']['EventSubscriptionsList'] load(data) end
get(identity)
click to toggle source
# File lib/fog/aws/models/rds/event_subscriptions.rb, line 14 def get(identity) data = service.describe_event_subscriptions('SubscriptionName' => identity).body['DescribeEventSubscriptionsResult']['EventSubscriptionsList'] new(data.first) rescue Fog::AWS::RDS::NotFound nil end