MultipartyApproval / Client / get_identity_source

get_identity_source

MultipartyApproval.Client.get_identity_source(**kwargs)

Returns details for an identity source. For more information, see Identity Source in the Multi-party approval User Guide.

See also: AWS API Documentation

Request Syntax

response = client.get_identity_source(
    IdentitySourceArn='string'
)
Parameters:

IdentitySourceArn (string) –

[REQUIRED]

Amazon Resource Name (ARN) for the identity source.

Return type:

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