:doc:`EC2 <../../ec2>` / Client / modify_verified_access_endpoint_policy

**************************************
modify_verified_access_endpoint_policy
**************************************



.. py:method:: EC2.Client.modify_verified_access_endpoint_policy(**kwargs)

  

  Modifies the specified Amazon Web Services Verified Access endpoint policy.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessEndpointPolicy>`_  


  **Request Syntax**
  ::

    response = client.modify_verified_access_endpoint_policy(
        VerifiedAccessEndpointId='string',
        PolicyEnabled=True|False,
        PolicyDocument='string',
        ClientToken='string',
        DryRun=True|False,
        SseSpecification={
            'CustomerManagedKeyEnabled': True|False,
            'KmsKeyArn': 'string'
        }
    )
    
  :type VerifiedAccessEndpointId: string
  :param VerifiedAccessEndpointId: **[REQUIRED]** 

    The ID of the Verified Access endpoint.

    

  
  :type PolicyEnabled: boolean
  :param PolicyEnabled: 

    The status of the Verified Access policy.

    

  
  :type PolicyDocument: string
  :param PolicyDocument: 

    The Verified Access policy document.

    

  
  :type ClientToken: string
  :param ClientToken: 

    A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see `Ensuring idempotency <https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html>`__.

    This field is autopopulated if not provided.

  
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

  
  :type SseSpecification: dict
  :param SseSpecification: 

    The options for server side encryption.

    

  
    - **CustomerManagedKeyEnabled** *(boolean) --* 

      Enable or disable the use of customer managed KMS keys for server side encryption.

       

      Valid values: ``True`` | ``False``

      

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

      The ARN of the KMS key.

      

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

    
    ::

      {
          'PolicyEnabled': True|False,
          'PolicyDocument': 'string',
          'SseSpecification': {
              'CustomerManagedKeyEnabled': True|False,
              'KmsKeyArn': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **PolicyEnabled** *(boolean) --* 

        The status of the Verified Access policy.

        
      

      - **PolicyDocument** *(string) --* 

        The Verified Access policy document.

        
      

      - **SseSpecification** *(dict) --* 

        The options in use for server side encryption.

        
        

        - **CustomerManagedKeyEnabled** *(boolean) --* 

          Indicates whether customer managed KMS keys are in use for server side encryption.

           

          Valid values: ``True`` | ``False``

          
        

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

          The ARN of the KMS key.

          
    
  