PartnerCentralChannelAPI / Client / get_relationship

get_relationship

PartnerCentralChannelAPI.Client.get_relationship(**kwargs)

Retrieves details of a specific partner relationship.

See also: AWS API Documentation

Request Syntax

response = client.get_relationship(
    catalog='string',
    programManagementAccountIdentifier='string',
    identifier='string'
)
Parameters:
  • catalog (string) –

    [REQUIRED]

    The catalog identifier for the relationship.

  • programManagementAccountIdentifier (string) –

    [REQUIRED]

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

  • identifier (string) –

    [REQUIRED]

    The unique identifier of the relationship to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'relationshipDetail': {
        'arn': 'string',
        'id': 'string',
        'revision': 'string',
        'catalog': 'string',
        'associationType': 'DOWNSTREAM_SELLER'|'END_CUSTOMER'|'INTERNAL',
        'programManagementAccountId': 'string',
        'associatedAccountId': 'string',
        'displayName': 'string',
        'resaleAccountModel': 'DISTRIBUTOR'|'END_CUSTOMER'|'SOLUTION_PROVIDER',
        'sector': 'COMMERCIAL'|'GOVERNMENT'|'GOVERNMENT_EXCEPTION',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'startDate': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • relationshipDetail (dict) –

      Details of the requested relationship.

      • arn (string) –

        The Amazon Resource Name (ARN) of the relationship.

      • id (string) –

        The unique identifier of the relationship.

      • revision (string) –

        The current revision number of the relationship.

      • catalog (string) –

        The catalog identifier associated with the relationship.

      • associationType (string) –

        The type of association for the relationship.

      • programManagementAccountId (string) –

        The identifier of the program management account.

      • associatedAccountId (string) –

        The AWS account ID associated in this relationship.

      • displayName (string) –

        The display name of the relationship.

      • resaleAccountModel (string) –

        The resale account model for the relationship.

      • sector (string) –

        The business sector for the relationship.

      • createdAt (datetime) –

        The timestamp when the relationship was created.

      • updatedAt (datetime) –

        The timestamp when the relationship was last updated.

      • startDate (datetime) –

        The start date of the relationship.

Exceptions