:doc:`SageMaker <../../sagemaker>` / Client / list_device_fleets

******************
list_device_fleets
******************



.. py:method:: SageMaker.Client.list_device_fleets(**kwargs)

  

  Returns a list of devices in the fleet.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets>`_  


  **Request Syntax**
  ::

    response = client.list_device_fleets(
        NextToken='string',
        MaxResults=123,
        CreationTimeAfter=datetime(2015, 1, 1),
        CreationTimeBefore=datetime(2015, 1, 1),
        LastModifiedTimeAfter=datetime(2015, 1, 1),
        LastModifiedTimeBefore=datetime(2015, 1, 1),
        NameContains='string',
        SortBy='NAME'|'CREATION_TIME'|'LAST_MODIFIED_TIME',
        SortOrder='Ascending'|'Descending'
    )
    
  :type NextToken: string
  :param NextToken: 

    The response from the last list when returning a list large enough to need tokening.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to select.

    

  
  :type CreationTimeAfter: datetime
  :param CreationTimeAfter: 

    Filter fleets where packaging job was created after specified time.

    

  
  :type CreationTimeBefore: datetime
  :param CreationTimeBefore: 

    Filter fleets where the edge packaging job was created before specified time.

    

  
  :type LastModifiedTimeAfter: datetime
  :param LastModifiedTimeAfter: 

    Select fleets where the job was updated after X

    

  
  :type LastModifiedTimeBefore: datetime
  :param LastModifiedTimeBefore: 

    Select fleets where the job was updated before X

    

  
  :type NameContains: string
  :param NameContains: 

    Filter for fleets containing this name in their fleet device name.

    

  
  :type SortBy: string
  :param SortBy: 

    The column to sort by.

    

  
  :type SortOrder: string
  :param SortOrder: 

    What direction to sort in.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'DeviceFleetSummaries': [
              {
                  'DeviceFleetArn': 'string',
                  'DeviceFleetName': 'string',
                  'CreationTime': datetime(2015, 1, 1),
                  'LastModifiedTime': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DeviceFleetSummaries** *(list) --* 

        Summary of the device fleet.

        
        

        - *(dict) --* 

          Summary of the device fleet.

          
          

          - **DeviceFleetArn** *(string) --* 

            Amazon Resource Name (ARN) of the device fleet.

            
          

          - **DeviceFleetName** *(string) --* 

            Name of the device fleet.

            
          

          - **CreationTime** *(datetime) --* 

            Timestamp of when the device fleet was created.

            
          

          - **LastModifiedTime** *(datetime) --* 

            Timestamp of when the device fleet was last updated.

            
      
    
      

      - **NextToken** *(string) --* 

        The response from the last list when returning a list large enough to need tokening.

        
  