:doc:`MultipartyApproval <../../mpa>` / Client / get_identity_source

*******************
get_identity_source
*******************



.. py:method:: MultipartyApproval.Client.get_identity_source(**kwargs)

  

  Returns details for an identity source. For more information, see `Identity Source <https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html>`__ in the *Multi-party approval User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mpa-2022-07-26/GetIdentitySource>`_  


  **Request Syntax**
  ::

    response = client.get_identity_source(
        IdentitySourceArn='string'
    )
    
  :type IdentitySourceArn: string
  :param IdentitySourceArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) for the identity source.

    

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

    
    ::

      {
          'IdentitySourceType': 'IAM_IDENTITY_CENTER',
          'IdentitySourceParameters': {
              'IamIdentityCenter': {
                  'InstanceArn': 'string',
                  'ApprovalPortalUrl': 'string',
                  'Region': 'string'
              }
          },
          'IdentitySourceArn': 'string',
          'CreationTime': datetime(2015, 1, 1),
          'Status': 'CREATING'|'ACTIVE'|'DELETING'|'ERROR',
          'StatusCode': 'ACCESS_DENIED'|'DELETION_FAILED'|'IDC_INSTANCE_NOT_FOUND'|'IDC_INSTANCE_NOT_VALID',
          'StatusMessage': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **IdentitySourceType** *(string) --* 

        The type of resource that provided identities to the identity source. For example, an IAM Identity Center instance.

        
      

      - **IdentitySourceParameters** *(dict) --* 

        A ``IdentitySourceParameters`` object. Contains details for the resource that provides identities to the identity source. For example, an IAM Identity Center instance.

        .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``IamIdentityCenter``.     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'}


      
        

        - **IamIdentityCenter** *(dict) --* 

          IAM Identity Center credentials.

          
          

          - **InstanceArn** *(string) --* 

            Amazon Resource Name (ARN) for the IAM Identity Center instance.

            
          

          - **ApprovalPortalUrl** *(string) --* 

            URL for the approval portal associated with the IAM Identity Center instance.

            
          

          - **Region** *(string) --* 

            Amazon Web Services Region where the IAM Identity Center instance is located.

            
      
    
      

      - **IdentitySourceArn** *(string) --* 

        Amazon Resource Name (ARN) for the identity source.

        
      

      - **CreationTime** *(datetime) --* 

        Timestamp when the identity source was created.

        
      

      - **Status** *(string) --* 

        Status for the identity source. For example, if the identity source is ``ACTIVE``.

        
      

      - **StatusCode** *(string) --* 

        Status code of the identity source.

        
      

      - **StatusMessage** *(string) --* 

        Message describing the status for the identity source.

        
  
  **Exceptions**
  
  *   :py:class:`MultipartyApproval.Client.exceptions.AccessDeniedException`

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

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

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

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

  