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

*************************************
get_application_authentication_method
*************************************



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

  

  Retrieves details about an authentication method used by an application.

  

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


  **Request Syntax**
  ::

    response = client.get_application_authentication_method(
        ApplicationArn='string',
        AuthenticationMethodType='IAM'
    )
    
  :type ApplicationArn: string
  :param ApplicationArn: **[REQUIRED]** 

    Specifies the ARN of the application.

    

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

    Specifies the type of authentication method for which you want details.

    

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

    
    ::

      {
          'AuthenticationMethod': {
              'Iam': {
                  'ActorPolicy': {...}|[...]|123|123.4|'string'|True|None
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AuthenticationMethod** *(dict) --* 

        A structure that contains details about the requested authentication method.

        .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``Iam``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


      
        

        - **Iam** *(dict) --* 

          A structure that describes details for IAM authentication.

          
          

          - **ActorPolicy** (:ref:`document<document>`) -- 

            An IAM policy document in JSON.

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

  