Sha256: 41d3d57cc46cf17fd3653e302e83d9e5bb9f320aa5abbaac68fbca1855845f4c
Contents?: true
Size: 1.17 KB
Versions: 52
Compression:
Stored size: 1.17 KB
Contents
module Fog module AWS class RDS class Real require 'fog/aws/parsers/rds/modify_db_subnet_group.rb' # Creates a db subnet group # http://docs.aws.amazon.com/AmazonRDS/2012-01-15/APIReference/API_ModifyDBSubnetGroup.html # ==== Parameters # * DBSubnetGroupName <~String> - The name for the DB Subnet Group. This value is stored as a lowercase string. Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". # * SubnetIds <~Array> - The EC2 Subnet IDs for the DB Subnet Group. # * DBSubnetGroupDescription <~String> - The description for the DB Subnet Group # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: def modify_db_subnet_group(name, subnet_ids, description = nil) params = { 'Action' => 'ModifyDBSubnetGroup', 'DBSubnetGroupName' => name, 'DBSubnetGroupDescription' => description, :parser => Fog::Parsers::AWS::RDS::ModifyDBSubnetGroup.new } params.merge!(Fog::AWS.indexed_param("SubnetIds.member", Array(subnet_ids))) request(params) end end end end end
Version data entries
52 entries across 50 versions & 2 rubygems