code: async def InstanceTypes(self, constraints):
          '''
          constraints : typing.Sequence[~CloudInstanceTypesConstraint]
          Returns -> typing.Sequence[~InstanceTypesResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='Cloud',
                     request='InstanceTypes',
                     version=1,
                     params=_params)
          _params['constraints'] = constraints
          reply = await self.rpc(msg)
          return replync def InstanceTypes(self, constraints):
          '''
          constraints : typing.Sequence[~CloudInstanceTypesConstraint]
          Returns -> typing.Sequence[~InstanceTypesResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='Cloud',
                     request='InstanceTypes',
                     version=1,
                     params=_params)
          _params['constraints'] = constraints
          reply = await self.rpc(msg)
          return reply
docs: constraints : typing.Sequence[~CloudInstanceTypesConstraint]
          Returns -> typing.Sequence[~InstanceTypesResult]