:doc:`Connect <../../connect>` / Client / update_authentication_profile

*****************************
update_authentication_profile
*****************************



.. py:method:: Connect.Client.update_authentication_profile(**kwargs)

  

  This API is in preview release for Amazon Connect and is subject to change. To request access to this API, contact Amazon Web Services Support.

   

  Updates the selected authentication profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateAuthenticationProfile>`_  


  **Request Syntax**
  ::

    response = client.update_authentication_profile(
        AuthenticationProfileId='string',
        InstanceId='string',
        Name='string',
        Description='string',
        AllowedIps=[
            'string',
        ],
        BlockedIps=[
            'string',
        ],
        PeriodicSessionDuration=123,
        SessionInactivityDuration=123,
        SessionInactivityHandlingEnabled=True|False
    )
    
  :type AuthenticationProfileId: string
  :param AuthenticationProfileId: **[REQUIRED]** 

    A unique identifier for the authentication profile.

    

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

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type Name: string
  :param Name: 

    The name for the authentication profile.

    

  
  :type Description: string
  :param Description: 

    The description for the authentication profile.

    

  
  :type AllowedIps: list
  :param AllowedIps: 

    A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, see `Configure session timeouts <https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts>`__ in the *Amazon Connect Administrator Guide*.

    

  
    - *(string) --* 

    

  :type BlockedIps: list
  :param BlockedIps: 

    A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see `Configure IP-based access control <https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-ip-based-ac>`__ in the *Amazon Connect Administrator Guide*.

    

  
    - *(string) --* 

    

  :type PeriodicSessionDuration: integer
  :param PeriodicSessionDuration: 

    The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see `Configure session timeouts <https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts>`__ in the *Amazon Connect Administrator Guide*.

    

  
  :type SessionInactivityDuration: integer
  :param SessionInactivityDuration: 

    The period, in minutes, before an agent is automatically signed out of the contact center when they go inactive.

    

  
  :type SessionInactivityHandlingEnabled: boolean
  :param SessionInactivityHandlingEnabled: 

    Determines if automatic logout on user inactivity is enabled.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

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

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

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  