def decrease_stream_retention_period(stream_name, retention_hours, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 r = _execute_with_retries(conn, 'decrease_stream_retention_period', StreamName=stream_name, RetentionPeriodHours=retention_hours)
 if ('error' not in r):
  r['result'] = True
 return r

def decrease_stream_retention_period ( stream_name , retention_hours , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) r = _execute_with_retries ( conn , 'decrease_stream_retention_period' , StreamName = stream_name , RetentionPeriodHours = retention_hours ) if ( 'error' not in r ) : r [ 'result' ] = True return r
decrease stream retention period to retention_hours cli example:: salt myminion boto_kinesis .