:doc:`StorageGateway <../../storagegateway>` / Client / list_volume_initiators

**********************
list_volume_initiators
**********************



.. py:method:: StorageGateway.Client.list_volume_initiators(**kwargs)

  

  Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not. This operation is only supported in the cached volume and stored volume gateway types.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiators>`_  


  **Request Syntax**
  ::

    response = client.list_volume_initiators(
        VolumeARN='string'
    )
    
  :type VolumeARN: string
  :param VolumeARN: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the volume. Use the  ListVolumes operation to return a list of gateway volumes for the gateway.

    

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

    
    ::

      {
          'Initiators': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      ListVolumeInitiatorsOutput

      
      

      - **Initiators** *(list) --* 

        The host names and port numbers of all iSCSI initiators that are connected to the gateway.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`StorageGateway.Client.exceptions.InvalidGatewayRequestException`

  
  *   :py:class:`StorageGateway.Client.exceptions.InternalServerError`

  