nl_tokens: Defines a new Service class using a service identifier and list of versions including an optional set of features ( functions ) to apply to the class prototype .
pl_tokens: function defineService ( serviceIdentifier , versions , features ) { if ( ! Array . isArray ( versions ) ) { features = versions ; versions = [ ] ; } var svc = inherit ( AWS . Service , features || { } ) ; if ( typeof serviceIdentifier === 'string' ) { AWS . Service . addVersions ( svc , <mask> ) ; var identifier = svc . serviceIdentifier || serviceIdentifier ; svc . serviceIdentifier = identifier ; } else { // defineService called with an API svc . prototype . api = serviceIdentifier ; AWS . Service . defineMethods ( svc ) ; } return svc ; }