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

******************************
update_channel_placement_group
******************************



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

  Change the settings for a ChannelPlacementGroup.

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


  **Request Syntax**
  ::

    response = client.update_channel_placement_group(
        ChannelPlacementGroupId='string',
        ClusterId='string',
        Name='string',
        Nodes=[
            'string',
        ]
    )
    
  :type ChannelPlacementGroupId: string
  :param ChannelPlacementGroupId: **[REQUIRED]** The ID of the channel placement group.

  
  :type ClusterId: string
  :param ClusterId: **[REQUIRED]** The ID of the cluster.

  
  :type Name: string
  :param Name: Include this parameter only if you want to change the current name of the ChannelPlacementGroup. Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive.

  
  :type Nodes: list
  :param Nodes: Include this parameter only if you want to change the list of Nodes that are associated with the ChannelPlacementGroup.

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

    

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

    
    ::

      {
          'Arn': 'string',
          'Channels': [
              'string',
          ],
          'ClusterId': 'string',
          'Id': 'string',
          'Name': 'string',
          'Nodes': [
              'string',
          ],
          'State': 'UNASSIGNED'|'ASSIGNING'|'ASSIGNED'|'DELETING'|'DELETE_FAILED'|'DELETED'|'UNASSIGNING'
      }
      
    **Response Structure**

    

    - *(dict) --* The channel placement group has been successfully updated.
      

      - **Arn** *(string) --* The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created.
      

      - **Channels** *(list) --* Used in ListChannelPlacementGroupsResult
        

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

      - **ClusterId** *(string) --* The ID of the Cluster that the Node belongs to.
      

      - **Id** *(string) --* The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN.
      

      - **Name** *(string) --* The name that you specified for the ChannelPlacementGroup.
      

      - **Nodes** *(list) --* An array with one item, which is the single Node that is associated with the ChannelPlacementGroup.
        

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

      - **State** *(string) --* The current state of the ChannelPlacementGroup.
  
  **Exceptions**
  
  *   :py:class:`MediaLive.Client.exceptions.BadRequestException`

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

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

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

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

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

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

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

  