:doc:`MediaLive <../../medialive>` / Client / batch_stop

**********
batch_stop
**********



.. py:method:: MediaLive.Client.batch_stop(**kwargs)

  Stops running resources

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop>`_  


  **Request Syntax**
  ::

    response = client.batch_stop(
        ChannelIds=[
            'string',
        ],
        MultiplexIds=[
            'string',
        ]
    )
    
  :type ChannelIds: list
  :param ChannelIds: List of channel IDs

  
    - *(string) --* Placeholder documentation for __string

    

  :type MultiplexIds: list
  :param MultiplexIds: List of multiplex IDs

  
    - *(string) --* Placeholder documentation for __string

    

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

    
    ::

      {
          'Failed': [
              {
                  'Arn': 'string',
                  'Code': 'string',
                  'Id': 'string',
                  'Message': 'string'
              },
          ],
          'Successful': [
              {
                  'Arn': 'string',
                  'Id': 'string',
                  'State': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* Successfully initiated stop of the resources.
      

      - **Failed** *(list) --* List of failed operations
        

        - *(dict) --* Details from a failed operation
          

          - **Arn** *(string) --* ARN of the resource
          

          - **Code** *(string) --* Error code for the failed operation
          

          - **Id** *(string) --* ID of the resource
          

          - **Message** *(string) --* Error message for the failed operation
      
    
      

      - **Successful** *(list) --* List of successful operations
        

        - *(dict) --* Details from a successful operation
          

          - **Arn** *(string) --* ARN of the resource
          

          - **Id** *(string) --* ID of the resource
          

          - **State** *(string) --* Current state of the resource
      
    
  
  **Exceptions**
  
  *   :py:class:`MediaLive.Client.exceptions.BadRequestException`

  
  *   :py:class:`MediaLive.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MediaLive.Client.exceptions.ForbiddenException`

  
  *   :py:class:`MediaLive.Client.exceptions.BadGatewayException`

  
  *   :py:class:`MediaLive.Client.exceptions.NotFoundException`

  
  *   :py:class:`MediaLive.Client.exceptions.GatewayTimeoutException`

  
  *   :py:class:`MediaLive.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`MediaLive.Client.exceptions.ConflictException`

  