def replace_subnet(options = {})
      options = options.merge(association_id: @id)
      resp = @client.replace_route_table_association(options)
      RouteTableAssociation.new(
        id: resp.data.new_association_id,
        client: @client
      )
    end
def replace_subnet(options = {})
      options = options.merge(association_id: @id)
      resp = @client.replace_route_table_association(options)
      RouteTableAssociation.new(
        id: resp.data.new_association_id,
        client: @client
      )
    end
@example Request syntax with placeholder values

   routetableassociation = route_table_association.replace_subnet({
     dry_run: false,
     route_table_id: "String", # required
   })
 @param [Hash] options ({})
 @option options [Boolean] :dry_run
   Checks whether you have the required permissions for the action,
   without actually making the request, and provides an error response.
   If you have the required permissions, the error response is
   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
 @option options [required, String] :route_table_id
   The ID of the new route table to associate with the subnet.
 @return [RouteTableAssociation]