PartnerCentralAccountAPI / Client / put_profile_visibility
put_profile_visibility¶
- PartnerCentralAccountAPI.Client.put_profile_visibility(**kwargs)¶
Sets the visibility level for a partner profile, controlling who can view the profile information.
See also: AWS API Documentation
Request Syntax
response = client.put_profile_visibility( Catalog='string', Identifier='string', Visibility='PRIVATE'|'PUBLIC' )
- Parameters:
Catalog (string) –
[REQUIRED]
The catalog identifier for the partner account.
Identifier (string) –
[REQUIRED]
The unique identifier of the partner account.
Visibility (string) –
[REQUIRED]
The visibility setting to apply to the partner profile.
- 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 updated visibility setting for the partner profile.
ProfileId (string) –
The unique identifier of the partner profile.
Exceptions
PartnerCentralAccountAPI.Client.exceptions.ResourceNotFoundExceptionPartnerCentralAccountAPI.Client.exceptions.AccessDeniedExceptionPartnerCentralAccountAPI.Client.exceptions.ThrottlingExceptionPartnerCentralAccountAPI.Client.exceptions.ValidationExceptionPartnerCentralAccountAPI.Client.exceptions.InternalServerException