:doc:`GroundStation <../../groundstation>` / Client / update_mission_profile

**********************
update_mission_profile
**********************



.. py:method:: GroundStation.Client.update_mission_profile(**kwargs)

  

  Updates a mission profile.

   

  Updating a mission profile will not update the execution parameters for existing future contacts.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/UpdateMissionProfile>`_  


  **Request Syntax**
  ::

    response = client.update_mission_profile(
        missionProfileId='string',
        name='string',
        contactPrePassDurationSeconds=123,
        contactPostPassDurationSeconds=123,
        minimumViableContactDurationSeconds=123,
        dataflowEdges=[
            [
                'string',
            ],
        ],
        trackingConfigArn='string',
        telemetrySinkConfigArn='string',
        streamsKmsKey={
            'kmsKeyArn': 'string',
            'kmsAliasArn': 'string',
            'kmsAliasName': 'string'
        },
        streamsKmsRole='string'
    )
    
  :type missionProfileId: string
  :param missionProfileId: **[REQUIRED]** 

    UUID of a mission profile.

    

  
  :type name: string
  :param name: 

    Name of a mission profile.

    

  
  :type contactPrePassDurationSeconds: integer
  :param contactPrePassDurationSeconds: 

    Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

    

  
  :type contactPostPassDurationSeconds: integer
  :param contactPostPassDurationSeconds: 

    Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

    

  
  :type minimumViableContactDurationSeconds: integer
  :param minimumViableContactDurationSeconds: 

    Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station will not present you with contacts shorter than this duration.

    

  
  :type dataflowEdges: list
  :param dataflowEdges: 

    A list of lists of ARNs. Each list of ARNs is an edge, with a *from* ``Config`` and a *to* ``Config``.

    

  
    - *(list) --* 

    
      - *(string) --* 

      
  

  :type trackingConfigArn: string
  :param trackingConfigArn: 

    ARN of a tracking ``Config``.

    

  
  :type telemetrySinkConfigArn: string
  :param telemetrySinkConfigArn: 

    ARN of a telemetry sink ``Config``.

    

  
  :type streamsKmsKey: dict
  :param streamsKmsKey: 

    KMS key to use for encrypting streams.

    .. note::    This is a Tagged Union structure. Only one of the     following top level keys can be set: ``kmsKeyArn``, ``kmsAliasArn``, ``kmsAliasName``. 

  
    - **kmsKeyArn** *(string) --* 

      KMS Key Arn.

      

    
    - **kmsAliasArn** *(string) --* 

      KMS Alias Arn.

      

    
    - **kmsAliasName** *(string) --* 

      KMS Alias Name.

      

    
  
  :type streamsKmsRole: string
  :param streamsKmsRole: 

    Role to use for encrypting streams with KMS key.

    

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

    
    ::

      {
          'missionProfileId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **missionProfileId** *(string) --* 

        UUID of a mission profile.

        
  
  **Exceptions**
  
  *   :py:class:`GroundStation.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`GroundStation.Client.exceptions.DependencyException`

  
  *   :py:class:`GroundStation.Client.exceptions.ResourceNotFoundException`

  