put_profile_visibility
async
¶
put_profile_visibility(
catalog: Catalog,
identifier: PartnerIdentifier,
visibility: ProfileVisibility,
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
) -> PutProfileVisibilityResponse
Sets the visibility level for a partner profile, controlling who can view the profile information.
Parameters:
-
catalog(Catalog) –The catalog identifier for the partner account.
-
identifier(PartnerIdentifier) –The unique identifier of the partner account.
-
visibility(ProfileVisibility) –The visibility setting to apply to the partner profile.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
-
InternalServerException–An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
-
ResourceNotFoundException–The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
-
ServiceQuotaExceededException–The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.
-
ThrottlingException–The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
-
ValidationException–The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
-
UnknownServiceError–The service returned an error code this client does not model.