class_docstr: Sets up an Amazon SageMaker Collection.
docstr: Initializes a Collection instance.
  
  A Collection is a logical grouping of Model Groups.
  
  Args:
      sagemaker_session (sagemaker.session.Session): A Session object which
          manages interactions between Amazon SageMaker APIs and other
          AWS services needed. If unspecified, a session is created using
          the default AWS configuration chain.
docstr_tok: ["Initializes","a","Collection","instance",".","A","Collection","is","a","logical","grouping","of","Model","Groups",".","Args",":","sagemaker_session","(","sagemaker.session.Session",")",":","A","Session","object","which","manages","interactions","between","Amazon","SageMaker","APIs","and","other","AWS","services","needed",".","If","unspecified",",","a","session","is","created","using","the","default","AWS","configuration","chain","."]
code: def __init__(self, sagemaker_session):
      """Initializes a Collection instance.
  
      A Collection is a logical grouping of Model Groups.
  
      Args:
          sagemaker_session (sagemaker.session.Session): A Session object which
              manages interactions between Amazon SageMaker APIs and other
              AWS services needed. If unspecified, a session is created using
              the default AWS configuration chain.
      """
  
      self.sagemaker_session = sagemaker_session or Session()
  
imports: from __future__ import absolute_import
  import json
  import time
  from typing import List
  from botocore.exceptions import ClientError
  from sagemaker.session import Session
label_desc: Use image node_id 1 to create a new Collection object from inherited base classes: object with example: obj = Collection(sagemaker_session)