:doc:`MediaPackage <../../mediapackage>` / Client / rotate_ingest_endpoint_credentials

**********************************
rotate_ingest_endpoint_credentials
**********************************



.. py:method:: MediaPackage.Client.rotate_ingest_endpoint_credentials(**kwargs)

  Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials>`_  


  **Request Syntax**
  ::

    response = client.rotate_ingest_endpoint_credentials(
        Id='string',
        IngestEndpointId='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** The ID of the channel the IngestEndpoint is on.

  
  :type IngestEndpointId: string
  :param IngestEndpointId: **[REQUIRED]** The id of the IngestEndpoint whose credentials should be rotated

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

    
    ::

      {
          'Arn': 'string',
          'CreatedAt': 'string',
          'Description': 'string',
          'EgressAccessLogs': {
              'LogGroupName': 'string'
          },
          'HlsIngest': {
              'IngestEndpoints': [
                  {
                      'Id': 'string',
                      'Password': 'string',
                      'Url': 'string',
                      'Username': 'string'
                  },
              ]
          },
          'Id': 'string',
          'IngressAccessLogs': {
              'LogGroupName': 'string'
          },
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* The updated Channel record.
      

      - **Arn** *(string) --* The Amazon Resource Name (ARN) assigned to the Channel.
      

      - **CreatedAt** *(string) --* The date and time the Channel was created.
      

      - **Description** *(string) --* A short text description of the Channel.
      

      - **EgressAccessLogs** *(dict) --* Configure egress access logging.
        

        - **LogGroupName** *(string) --* Customize the log group name.
    
      

      - **HlsIngest** *(dict) --* An HTTP Live Streaming (HLS) ingest resource configuration.
        

        - **IngestEndpoints** *(list) --* A list of endpoints to which the source stream should be sent.
          

          - *(dict) --* An endpoint for ingesting source content for a Channel.
            

            - **Id** *(string) --* The system generated unique identifier for the IngestEndpoint
            

            - **Password** *(string) --* The system generated password for ingest authentication.
            

            - **Url** *(string) --* The ingest URL to which the source stream should be sent.
            

            - **Username** *(string) --* The system generated username for ingest authentication.
        
      
    
      

      - **Id** *(string) --* The ID of the Channel.
      

      - **IngressAccessLogs** *(dict) --* Configure ingress access logging.
        

        - **LogGroupName** *(string) --* Customize the log group name.
    
      

      - **Tags** *(dict) --* A collection of tags associated with a resource
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`MediaPackage.Client.exceptions.UnprocessableEntityException`

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

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

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

  
  *   :py:class:`MediaPackage.Client.exceptions.ServiceUnavailableException`

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

  