def modify_replication_group(name, wait=600, security_groups=None, region=None, key=None, keyid=None, profile=None, **args):
 if security_groups:
  if (not isinstance(security_groups, list)):
   security_groups = [security_groups]
  sgs = __salt__['boto_secgroup.convert_to_group_ids'](groups=security_groups, region=region, key=key, keyid=keyid, profile=profile)
  if ('SecurityGroupIds' not in args):
   args['SecurityGroupIds'] = []
  args['SecurityGroupIds'] += sgs
 args = dict([(k, v) for (k, v) in args.items() if (not k.startswith('_'))])
 return _modify_resource(name, name_param='ReplicationGroupId', desc='replication group', res_type='replication_group', wait=wait, status_param='Status', region=region, key=key, keyid=keyid, profile=profile, **args)

def modify_replication_group ( name , wait = 600 , security_groups = None , region = None , key = None , keyid = None , profile = None , ** args ) : if security_groups : if ( not isinstance ( security_groups , list ) ) : security_groups = [ security_groups ] sgs = __salt__ [ 'boto_secgroup.convert_to_group_ids' ] ( groups = security_groups , region = region , key = key , keyid = keyid , profile = profile ) if ( 'SecurityGroupIds' not in args ) : args [ 'SecurityGroupIds' ] = [ ] args [ 'SecurityGroupIds' ] += sgs args = dict ( [ ( k , v ) for ( k , v ) in args . items ( ) if ( not k . startswith ( '_' ) ) ] ) return _modify_resource ( name , name_param = 'ReplicationGroupId' , desc = 'replication group' , res_type = 'replication_group' , wait = wait , status_param = 'Status' , region = region , key = key , keyid = keyid , profile = profile , ** args )
modify a replication group .