PartnerCentralAccountAPI / Client / update_connection_preferences
update_connection_preferences¶
- PartnerCentralAccountAPI.Client.update_connection_preferences(**kwargs)¶
Updates the connection preferences for a partner account, modifying access settings and exclusions.
See also: AWS API Documentation
Request Syntax
response = client.update_connection_preferences( Catalog='string', Revision=123, AccessType='ALLOW_ALL'|'DENY_ALL'|'ALLOW_BY_DEFAULT_DENY_SOME', ExcludedParticipantIdentifiers=[ 'string', ] )
- Parameters:
Catalog (string) –
[REQUIRED]
The catalog identifier for the partner account.
Revision (integer) –
[REQUIRED]
The revision number of the connection preferences for optimistic locking.
AccessType (string) –
[REQUIRED]
The access type setting for connections (e.g., open, restricted, invitation-only).
ExcludedParticipantIdentifiers (list) –
The updated list of participant identifiers to exclude from connections.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Catalog': 'string', 'Arn': 'string', 'AccessType': 'ALLOW_ALL'|'DENY_ALL'|'ALLOW_BY_DEFAULT_DENY_SOME', 'ExcludedParticipantIds': [ 'string', ], 'UpdatedAt': datetime(2015, 1, 1), 'Revision': 123 }
Response Structure
(dict) –
Catalog (string) –
The catalog identifier for the partner account.
Arn (string) –
The Amazon Resource Name (ARN) of the updated connection preferences.
AccessType (string) –
The updated access type setting for connections.
ExcludedParticipantIds (list) –
A list of participant IDs that are excluded from connection requests or interactions.
(string) –
UpdatedAt (datetime) –
The timestamp when the connection preferences were last updated.
Revision (integer) –
The updated revision number of the connection preferences.
Exceptions
PartnerCentralAccountAPI.Client.exceptions.AccessDeniedExceptionPartnerCentralAccountAPI.Client.exceptions.ThrottlingExceptionPartnerCentralAccountAPI.Client.exceptions.ConflictExceptionPartnerCentralAccountAPI.Client.exceptions.ValidationExceptionPartnerCentralAccountAPI.Client.exceptions.InternalServerException