PartnerCentralChannelAPI / Client / update_relationship

update_relationship

PartnerCentralChannelAPI.Client.update_relationship(**kwargs)

Updates the properties of a partner relationship.

See also: AWS API Documentation

Request Syntax

response = client.update_relationship(
    catalog='string',
    identifier='string',
    programManagementAccountIdentifier='string',
    revision='string',
    displayName='string',
    requestedSupportPlan={
        'resoldBusiness': {
            'coverage': 'ENTIRE_ORGANIZATION'|'MANAGEMENT_ACCOUNT_ONLY'
        },
        'resoldEnterprise': {
            'coverage': 'ENTIRE_ORGANIZATION'|'MANAGEMENT_ACCOUNT_ONLY',
            'tamLocation': 'string',
            'chargeAccountId': 'string'
        },
        'partnerLedSupport': {
            'coverage': 'ENTIRE_ORGANIZATION'|'MANAGEMENT_ACCOUNT_ONLY',
            'provider': 'DISTRIBUTOR'|'DISTRIBUTION_SELLER',
            'tamLocation': 'string'
        }
    }
)
Parameters:
  • catalog (string) –

    [REQUIRED]

    The catalog identifier for the relationship.

  • identifier (string) –

    [REQUIRED]

    The unique identifier of the relationship to update.

  • programManagementAccountIdentifier (string) –

    [REQUIRED]

    The identifier of the program management account associated with the relationship.

  • revision (string) – The current revision number of the relationship.

  • displayName (string) – The new display name for the relationship.

  • requestedSupportPlan (dict) –

    The updated support plan for the relationship.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: resoldBusiness, resoldEnterprise, partnerLedSupport.

    • resoldBusiness (dict) –

      Configuration for resold business support plans.

      • coverage (string) – [REQUIRED]

        The coverage level for resold business support.

    • resoldEnterprise (dict) –

      Configuration for resold enterprise support plans.

      • coverage (string) – [REQUIRED]

        The coverage level for resold enterprise support.

      • tamLocation (string) – [REQUIRED]

        The location of the Technical Account Manager (TAM).

      • chargeAccountId (string) –

        The AWS account ID to charge for the support plan.

    • partnerLedSupport (dict) –

      Configuration for partner-led support plans.

      • coverage (string) – [REQUIRED]

        The coverage level for partner-led support.

      • provider (string) –

        The provider of the partner-led support.

      • tamLocation (string) – [REQUIRED]

        The location of the Technical Account Manager (TAM).

Return type:

dict

Returns:

Response Syntax

{
    'relationshipDetail': {
        'arn': 'string',
        'id': 'string',
        'revision': 'string',
        'displayName': 'string'
    }
}

Response Structure

  • (dict) –

    • relationshipDetail (dict) –

      Details of the updated relationship.

      • arn (string) –

        The Amazon Resource Name (ARN) of the updated relationship.

      • id (string) –

        The unique identifier of the updated relationship.

      • revision (string) –

        The new revision number of the relationship.

      • displayName (string) –

        The updated display name of the relationship.

Exceptions