:doc:`SSOAdmin <../../sso-admin>` / Client / update_permission_set

*********************
update_permission_set
*********************



.. py:method:: SSOAdmin.Client.update_permission_set(**kwargs)

  

  Updates an existing permission set.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet>`_  


  **Request Syntax**
  ::

    response = client.update_permission_set(
        InstanceArn='string',
        PermissionSetArn='string',
        Description='string',
        SessionDuration='string',
        RelayState='string'
    )
    
  :type InstanceArn: string
  :param InstanceArn: **[REQUIRED]** 

    The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see `Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces </general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference*.

    

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

    The ARN of the permission set.

    

  
  :type Description: string
  :param Description: 

    The description of the  PermissionSet.

    

  
  :type SessionDuration: string
  :param SessionDuration: 

    The length of time that the application user sessions are valid for in the ISO-8601 standard.

    

  
  :type RelayState: string
  :param RelayState: 

    Used to redirect users within the application during the federation authentication process.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SSOAdmin.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`SSOAdmin.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`SSOAdmin.Client.exceptions.ConflictException`

  