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

Version Path
fog-aws-3.30.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.29.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.28.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.27.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.26.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.25.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.24.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.23.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.22.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.21.1 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.21.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.20.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.19.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.18.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.17.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.16.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.15.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.14.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.13.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb
fog-aws-3.12.0 lib/fog/aws/requests/rds/modify_db_subnet_group.rb