:doc:`RuntimeforBedrockDataAutomation <../../bedrock-data-automation-runtime>` / Client / invoke_data_automation_async

****************************
invoke_data_automation_async
****************************



.. py:method:: RuntimeforBedrockDataAutomation.Client.invoke_data_automation_async(**kwargs)

  

  Async API: Invoke data automation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-data-automation-runtime-2024-06-13/InvokeDataAutomationAsync>`_  


  **Request Syntax**
  ::

    response = client.invoke_data_automation_async(
        clientToken='string',
        inputConfiguration={
            's3Uri': 'string',
            'assetProcessingConfiguration': {
                'video': {
                    'segmentConfiguration': {
                        'timestampSegment': {
                            'startTimeMillis': 123,
                            'endTimeMillis': 123
                        }
                    }
                }
            }
        },
        outputConfiguration={
            's3Uri': 'string'
        },
        dataAutomationConfiguration={
            'dataAutomationProjectArn': 'string',
            'stage': 'LIVE'|'DEVELOPMENT'
        },
        encryptionConfiguration={
            'kmsKeyId': 'string',
            'kmsEncryptionContext': {
                'string': 'string'
            }
        },
        notificationConfiguration={
            'eventBridgeConfiguration': {
                'eventBridgeEnabled': True|False
            }
        },
        blueprints=[
            {
                'blueprintArn': 'string',
                'version': 'string',
                'stage': 'DEVELOPMENT'|'LIVE'
            },
        ],
        dataAutomationProfileArn='string',
        tags=[
            {
                'key': 'string',
                'value': 'string'
            },
        ]
    )
    
  :type clientToken: string
  :param clientToken: 

    Idempotency token.

    This field is autopopulated if not provided.

  
  :type inputConfiguration: dict
  :param inputConfiguration: **[REQUIRED]** 

    Input configuration.

    

  
    - **s3Uri** *(string) --* **[REQUIRED]** 

      S3 uri.

      

    
    - **assetProcessingConfiguration** *(dict) --* 

      Asset processing configuration

      

    
      - **video** *(dict) --* 

        Video asset processing configuration

        

      
        - **segmentConfiguration** *(dict) --* 

          Delimits the segment of the input that will be processed

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

        
          - **timestampSegment** *(dict) --* 

            Timestamp segment

            

          
            - **startTimeMillis** *(integer) --* **[REQUIRED]** 

              Start timestamp in milliseconds

              

            
            - **endTimeMillis** *(integer) --* **[REQUIRED]** 

              End timestamp in milliseconds

              

            
          
        
      
    
  
  :type outputConfiguration: dict
  :param outputConfiguration: **[REQUIRED]** 

    Output configuration.

    

  
    - **s3Uri** *(string) --* **[REQUIRED]** 

      S3 uri.

      

    
  
  :type dataAutomationConfiguration: dict
  :param dataAutomationConfiguration: 

    Data automation configuration.

    

  
    - **dataAutomationProjectArn** *(string) --* **[REQUIRED]** 

      Data automation project arn.

      

    
    - **stage** *(string) --* 

      Data automation stage.

      

    
  
  :type encryptionConfiguration: dict
  :param encryptionConfiguration: 

    Encryption configuration.

    

  
    - **kmsKeyId** *(string) --* **[REQUIRED]** 

      Customer KMS key used for encryption

      

    
    - **kmsEncryptionContext** *(dict) --* 

      KMS encryption context.

      

    
      - *(string) --* 

        Excryption context key.

        

      
        - *(string) --* 

          Encryption context value.

          

        
  

  
  :type notificationConfiguration: dict
  :param notificationConfiguration: 

    Notification configuration.

    

  
    - **eventBridgeConfiguration** *(dict) --* **[REQUIRED]** 

      Event bridge configuration.

      

    
      - **eventBridgeEnabled** *(boolean) --* **[REQUIRED]** 

        Event bridge flag.

        

      
    
  
  :type blueprints: list
  :param blueprints: 

    Blueprint list.

    

  
    - *(dict) --* 

      Blueprint.

      

    
      - **blueprintArn** *(string) --* **[REQUIRED]** 

        Arn of blueprint.

        

      
      - **version** *(string) --* 

        Version of blueprint.

        

      
      - **stage** *(string) --* 

        Stage of blueprint.

        

      
    

  :type dataAutomationProfileArn: string
  :param dataAutomationProfileArn: **[REQUIRED]** 

    Data automation profile ARN

    

  
  :type tags: list
  :param tags: 

    List of tags.

    

  
    - *(dict) --* 

      Key value pair of a tag

      

    
      - **key** *(string) --* **[REQUIRED]** 

        Defines the context of the tag.

        

      
      - **value** *(string) --* **[REQUIRED]** 

        Defines the value within the context. e.g. <key=reason, value=training>.

        

      
    

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

    
    ::

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

    

    - *(dict) --* 

      Invoke Data Automation Async Response

      
      

      - **invocationArn** *(string) --* 

        ARN of the automation job

        
  
  **Exceptions**
  
  *   :py:class:`RuntimeforBedrockDataAutomation.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`RuntimeforBedrockDataAutomation.Client.exceptions.ValidationException`

  
  *   :py:class:`RuntimeforBedrockDataAutomation.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`RuntimeforBedrockDataAutomation.Client.exceptions.InternalServerException`

  
  *   :py:class:`RuntimeforBedrockDataAutomation.Client.exceptions.ThrottlingException`

  