# File lib/fog/aws/models/rds/subnet_groups.rb, line 12defalldata = service.describe_db_subnet_groups.body['DescribeDBSubnetGroupsResult']['DBSubnetGroups']
load(data) # data is an array of attribute hashesend
get(identity)click to toggle source
# File lib/fog/aws/models/rds/subnet_groups.rb, line 17defget(identity)
data = service.describe_db_subnet_groups(identity).body['DescribeDBSubnetGroupsResult']['DBSubnetGroups'].firstnew(data) # data is an attribute hashrescueFog::AWS::RDS::NotFoundnilend