:doc:`WorkSpaces <../../workspaces>` / Client / modify_endpoint_encryption_mode

*******************************
modify_endpoint_encryption_mode
*******************************



.. py:method:: WorkSpaces.Client.modify_endpoint_encryption_mode(**kwargs)

  

  Modifies the endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyEndpointEncryptionMode>`_  


  **Request Syntax**
  ::

    response = client.modify_endpoint_encryption_mode(
        DirectoryId='string',
        EndpointEncryptionMode='STANDARD_TLS'|'FIPS_VALIDATED'
    )
    
  :type DirectoryId: string
  :param DirectoryId: **[REQUIRED]** 

    The identifier of the directory.

    

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

    The encryption mode used for endpoint connections when streaming to WorkSpaces Personal or WorkSpace Pools.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WorkSpaces.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`WorkSpaces.Client.exceptions.OperationNotSupportedException`

  