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

******************
update_application
******************



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

  

  Updates application properties.

  

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


  **Request Syntax**
  ::

    response = client.update_application(
        ApplicationArn='string',
        Name='string',
        Description='string',
        Status='ENABLED'|'DISABLED',
        PortalOptions={
            'SignInOptions': {
                'Origin': 'IDENTITY_CENTER'|'APPLICATION',
                'ApplicationUrl': 'string'
            }
        }
    )
    
  :type ApplicationArn: string
  :param ApplicationArn: **[REQUIRED]** 

    Specifies the ARN of the application. 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 Name: string
  :param Name: 

    Specifies the updated name for the application.

    

  
  :type Description: string
  :param Description: 

    The description of the .

    

  
  :type Status: string
  :param Status: 

    Specifies whether the application is enabled or disabled.

    

  
  :type PortalOptions: dict
  :param PortalOptions: 

    A structure that describes the options for the portal associated with an application.

    

  
    - **SignInOptions** *(dict) --* 

      A structure that describes the sign-in options for an application portal.

      

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

        This determines how IAM Identity Center navigates the user to the target application. It can be one of the following values:

         

        
        * ``APPLICATION``: IAM Identity Center redirects the customer to the configured ``ApplicationUrl``.
         
        * ``IDENTITY_CENTER``: IAM Identity Center uses SAML identity-provider initiated authentication to sign the customer directly into a SAML-based application.
        

        

      
      - **ApplicationUrl** *(string) --* 

        The URL that accepts authentication requests for an application. This is a required parameter if the ``Origin`` parameter is ``APPLICATION``.

        

      
    
  
  
  :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`

  