SageMaker / Client / get_lineage_group_policy

get_lineage_group_policy#

SageMaker.Client.get_lineage_group_policy(**kwargs)#

The resource policy for the lineage group.

See also: AWS API Documentation

Request Syntax

response = client.get_lineage_group_policy(
    LineageGroupName='string'
)
Parameters:

LineageGroupName (string) –

[REQUIRED]

The name or Amazon Resource Name (ARN) of the lineage group.

Return type:

dict

Returns:

Response Syntax

{
    'LineageGroupArn': 'string',
    'ResourcePolicy': 'string'
}

Response Structure

  • (dict) –

    • LineageGroupArn (string) –

      The Amazon Resource Name (ARN) of the lineage group.

    • ResourcePolicy (string) –

      The resource policy that gives access to the lineage group in another account.

Exceptions

  • SageMaker.Client.exceptions.ResourceNotFound