:doc:`DataExchange <../../dataexchange>` / Client / list_event_actions

******************
list_event_actions
******************



.. py:method:: DataExchange.Client.list_event_actions(**kwargs)

  

  This operation lists your event actions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActions>`_  


  **Request Syntax**
  ::

    response = client.list_event_actions(
        EventSourceId='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type EventSourceId: string
  :param EventSourceId: 

    The unique identifier for the event source.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results returned by a single call.

    

  
  :type NextToken: string
  :param NextToken: 

    The token value retrieved from a previous call to access the next page of results.

    

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

    
    ::

      {
          'EventActions': [
              {
                  'Action': {
                      'ExportRevisionToS3': {
                          'Encryption': {
                              'KmsKeyArn': 'string',
                              'Type': 'aws:kms'|'AES256'
                          },
                          'RevisionDestination': {
                              'Bucket': 'string',
                              'KeyPattern': 'string'
                          }
                      }
                  },
                  'Arn': 'string',
                  'CreatedAt': datetime(2015, 1, 1),
                  'Event': {
                      'RevisionPublished': {
                          'DataSetId': 'string'
                      }
                  },
                  'Id': 'string',
                  'UpdatedAt': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **EventActions** *(list) --* 

        The event action objects listed by the request.

        
        

        - *(dict) --* 

          An event action is an object that defines the relationship between a specific event and an automated action that will be taken on behalf of the customer.

          
          

          - **Action** *(dict) --* 

            What occurs after a certain event.

            
            

            - **ExportRevisionToS3** *(dict) --* 

              Details for the export revision to Amazon S3 action.

              
              

              - **Encryption** *(dict) --* 

                Encryption configuration for the auto export job.

                
                

                - **KmsKeyArn** *(string) --* 

                  The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.

                  
                

                - **Type** *(string) --* 

                  The type of server side encryption used for encrypting the objects in Amazon S3.

                  
            
              

              - **RevisionDestination** *(dict) --* 

                A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.

                
                

                - **Bucket** *(string) --* 

                  The Amazon S3 bucket that is the destination for the event action.

                  
                

                - **KeyPattern** *(string) --* 

                  A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see `Key patterns when exporting revisions <https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns>`__.

                  
            
          
        
          

          - **Arn** *(string) --* 

            The Amazon Resource Name (ARN) for the event action.

            
          

          - **CreatedAt** *(datetime) --* 

            The date and time that the event action was created, in ISO 8601 format.

            
          

          - **Event** *(dict) --* 

            What occurs to start an action.

            
            

            - **RevisionPublished** *(dict) --* 

              What occurs to start the revision publish action.

              
              

              - **DataSetId** *(string) --* 

                The data set ID of the published revision.

                
          
        
          

          - **Id** *(string) --* 

            The unique identifier for the event action.

            
          

          - **UpdatedAt** *(datetime) --* 

            The date and time that the event action was last updated, in ISO 8601 format.

            
      
    
      

      - **NextToken** *(string) --* 

        The token value retrieved from a previous call to access the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`DataExchange.Client.exceptions.ResourceNotFoundException`

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

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

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

  