:doc:`S3Control <../../s3control>` / Client / put_access_point_configuration_for_object_lambda

************************************************
put_access_point_configuration_for_object_lambda
************************************************



.. py:method:: S3Control.Client.put_access_point_configuration_for_object_lambda(**kwargs)

  

  .. note::

    

    This operation is not supported by directory buckets.

    

   

  Replaces configuration for an Object Lambda Access Point.

   

  The following actions are related to ``PutAccessPointConfigurationForObjectLambda``:

   

  
  * `GetAccessPointConfigurationForObjectLambda <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html>`__
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda>`_  


  **Request Syntax**
  ::

    response = client.put_access_point_configuration_for_object_lambda(
        AccountId='string',
        Name='string',
        Configuration={
            'SupportingAccessPoint': 'string',
            'CloudWatchMetricsEnabled': True|False,
            'AllowedFeatures': [
                'GetObject-Range'|'GetObject-PartNumber'|'HeadObject-Range'|'HeadObject-PartNumber',
            ],
            'TransformationConfigurations': [
                {
                    'Actions': [
                        'GetObject'|'HeadObject'|'ListObjects'|'ListObjectsV2',
                    ],
                    'ContentTransformation': {
                        'AwsLambda': {
                            'FunctionArn': 'string',
                            'FunctionPayload': 'string'
                        }
                    }
                },
            ]
        }
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The account ID for the account that owns the specified Object Lambda Access Point.

    

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

    The name of the Object Lambda Access Point.

    

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

    Object Lambda Access Point configuration document.

    

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

      Standard access point associated with the Object Lambda Access Point.

      

    
    - **CloudWatchMetricsEnabled** *(boolean) --* 

      A container for whether the CloudWatch metrics configuration is enabled.

      

    
    - **AllowedFeatures** *(list) --* 

      A container for allowed features. Valid inputs are ``GetObject-Range``, ``GetObject-PartNumber``, ``HeadObject-Range``, and ``HeadObject-PartNumber``.

      

    
      - *(string) --* 

      
  
    - **TransformationConfigurations** *(list) --* **[REQUIRED]** 

      A container for transformation configurations for an Object Lambda Access Point.

      

    
      - *(dict) --* 

        A configuration used when creating an Object Lambda Access Point transformation.

        

      
        - **Actions** *(list) --* **[REQUIRED]** 

          A container for the action of an Object Lambda Access Point configuration. Valid inputs are ``GetObject``, ``ListObjects``, ``HeadObject``, and ``ListObjectsV2``.

          

        
          - *(string) --* 

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

          A container for the content transformation of an Object Lambda Access Point configuration.

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

        
          - **AwsLambda** *(dict) --* 

            A container for an Lambda function.

            

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

              The Amazon Resource Name (ARN) of the Lambda function.

              

            
            - **FunctionPayload** *(string) --* 

              Additional JSON that provides supplemental data to the Lambda function used to transform objects.

              

            
          
        
      
  
  
  
  :returns: None