PartnerCentralSellingAPI / Client / list_engagement_resource_associations

list_engagement_resource_associations#

PartnerCentralSellingAPI.Client.list_engagement_resource_associations(**kwargs)#

Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.

See also: AWS API Documentation

Request Syntax

response = client.list_engagement_resource_associations(
    Catalog='string',
    CreatedBy='string',
    EngagementIdentifier='string',
    MaxResults=123,
    NextToken='string',
    ResourceIdentifier='string',
    ResourceType='Opportunity'
)
Parameters:
  • Catalog (string) –

    [REQUIRED]

    Specifies the catalog in which to search for engagement-resource associations.

  • CreatedBy (string) – Filters the results to include only associations with resources owned by the specified AWS account. Use this when you want to find associations related to resources owned by a particular account.

  • EngagementIdentifier (string) – Filters the results to include only associations related to the specified engagement. Use this when you want to find all resources associated with a specific engagement.

  • MaxResults (integer) – Limits the number of results returned in a single call. Use this to control the number of results returned, especially useful for pagination.

  • NextToken (string) – A token used for pagination of results. Include this token in subsequent requests to retrieve the next set of results.

  • ResourceIdentifier (string) – Filters the results to include only associations with the specified resource. Varies depending on the resource type. Use this when you want to find all engagements associated with a specific resource.

  • ResourceType (string) – Filters the results to include only associations with resources of the specified type.

Return type:

dict

Returns:

Response Syntax

{
    'EngagementResourceAssociationSummaries': [
        {
            'Catalog': 'string',
            'CreatedBy': 'string',
            'EngagementId': 'string',
            'ResourceId': 'string',
            'ResourceType': 'Opportunity'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • EngagementResourceAssociationSummaries (list) –

      A list of engagement-resource association summaries.

      • (dict) –

        This provide a streamlined view of the relationships between engagements and resources. These summaries offer a crucial link between collaborative engagements and the specific resources involved, such as opportunities.These summaries are particularly valuable for partners navigating complex engagements with multiple resources. They enable quick insights into resource distribution across engagements, support efficient resource management, and help maintain a clear overview of collaborative activities.

        • Catalog (string) –

          Indicates the environment in which the resource and engagement exist.

        • CreatedBy (string) –

          The AWS account ID of the entity that created the association.

        • EngagementId (string) –

          A unique identifier for the engagement associated with the resource.

        • ResourceId (string) –

          A unique identifier for the specific resource. Varies depending on the resource type.

        • ResourceType (string) –

          Categorizes the type of resource associated with the engagement.

    • NextToken (string) –

      A token to retrieve the next set of results. Use this token in a subsequent request to retrieve additional results if the response was truncated.

Exceptions