PartnerCentralAccountAPI / Client / get_profile_visibility

get_profile_visibility

PartnerCentralAccountAPI.Client.get_profile_visibility(**kwargs)

Retrieves the visibility settings for a partner profile, determining who can see the profile information.

See also: AWS API Documentation

Request Syntax

response = client.get_profile_visibility(
    Catalog='string',
    Identifier='string'
)
Parameters:
  • Catalog (string) –

    [REQUIRED]

    The catalog identifier for the partner account.

  • Identifier (string) –

    [REQUIRED]

    The unique identifier of the partner account.

Return type:

dict

Returns:

Response Syntax

{
    'Catalog': 'string',
    'Arn': 'string',
    'Id': 'string',
    'Visibility': 'PRIVATE'|'PUBLIC',
    'ProfileId': 'string'
}

Response Structure

  • (dict) –

    • Catalog (string) –

      The catalog identifier for the partner account.

    • Arn (string) –

      The Amazon Resource Name (ARN) of the partner account.

    • Id (string) –

      The unique identifier of the partner account.

    • Visibility (string) –

      The visibility setting for the partner profile (public, private, restricted, etc.).

    • ProfileId (string) –

      The unique identifier of the partner profile.

Exceptions

  • PartnerCentralAccountAPI.Client.exceptions.ResourceNotFoundException

  • PartnerCentralAccountAPI.Client.exceptions.AccessDeniedException

  • PartnerCentralAccountAPI.Client.exceptions.ThrottlingException

  • PartnerCentralAccountAPI.Client.exceptions.ValidationException

  • PartnerCentralAccountAPI.Client.exceptions.InternalServerException