Skip to main content

profile_visibilities

Creates, updates, deletes, gets or lists a profile_visibilities resource.

Overview

Nameprofile_visibilities
TypeResource
Idaws.partnercentral_account.profile_visibilities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the partner account. (pattern: <code>arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[A-Za-z-_]+/partner/partner-[A-Za-z0-9]{13}</code>)
catalogstringThe catalog identifier for the partner account. (pattern: <code>[a-zA-Z0-9-]+</code>)
idstringThe unique identifier of the partner account. (pattern: <code>partner-[A-Za-z0-9]{13}</code>)
profile_idstringThe unique identifier of the partner profile. (pattern: <code>pprofile-[A-Za-z0-9]{13}</code>)
visibilitystringThe visibility setting for the partner profile (public, private, restricted, etc.). (PRIVATE, PUBLIC)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_profile_visibilityselectregionRetrieves the visibility settings for a partner profile, determining who can see the profile information.
put_profile_visibilityreplaceregion, IdentifierSets the visibility level for a partner profile, controlling who can view the profile information.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
arn,
catalog,
id,
profile_id,
visibility
FROM aws.partnercentral_account.profile_visibilities
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Sets the visibility level for a partner profile, controlling who can view the profile information.

REPLACE aws.partnercentral_account.profile_visibilities
SET
Catalog = '{{ Catalog }}',
Identifier = '{{ Identifier }}',
Visibility = '{{ Visibility }}'
WHERE
region = '{{ region }}' --required
AND Identifier = '{{ Identifier }}' --required
RETURNING
arn,
catalog,
id,
profile_id,
visibility;