def __init__(self, events_lib, *args, **kwargs):
super(ServiceCommand, self).__init__(*args, **kwargs)<EOL>if not events_lib:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.events_lib = events_lib<EOL>self.all_cmds = self.events_lib.event_mapping<EOL>
Constructor for the ServiceCommand class

Parameters
----------
events_lib: samcli.commands.local.lib.generated_sample_events.events
    The events library that allows for CLI population and substitution
args: list
    any arguments passed in before kwargs
kwargs: dict
    dictionary containing the keys/values used to construct the ServiceCommand