class_docstr: Configuration object passed in when deploying models to Amazon SageMaker Endpoints.
  
  This object specifies configuration related to serverless endpoint. Use this configuration
  when trying to create serverless endpoint and make serverless inference
class_docstr_tok: ["Configuration","object","passed","in","when","deploying","models","to","Amazon","SageMaker","Endpoints",".","This","object","specifies","configuration","related","to","serverless","endpoint",".","Use","this","configuration","when","trying","to","create","serverless","endpoint","and","make","serverless","inference"]
docstr: Generates a request dictionary using the parameters provided to the class.
docstr_tok: ["Generates","a","request","dictionary","using","the","parameters","provided","to","the","class","."]
code: def _to_request_dict(self):
      """Generates a request dictionary using the parameters provided to the class."""
      request_dict = {
          "MemorySizeInMB": self.memory_size_in_mb,
          "MaxConcurrency": self.max_concurrency,
      }
  
      if self.provisioned_concurrency is not None:
          request_dict[
              "ProvisionedConcurrency"
          ] = self.provisioned_concurrency
  
      return request_dict
  
imports: from __future__ import print_function, absolute_import
  from typing import Optional
label_desc: Use image node_id 2 for calling the ServerlessInferenceConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: request_dict