delete_social_connection
async
¶
delete_social_connection(
catalog: Catalog,
identifier: SocialConnectionIdentifier,
*,
config_overrides: Optional[AsyncPartnerCentralMarketingClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> None
Revokes and deletes one social connection; other connections on the same platform are untouched. Idempotent: deleting an unknown or already-deleted connection succeeds rather than returning a not-found error.
Parameters:
-
catalog(Catalog) –Catalog the connection belongs to.
-
identifier(SocialConnectionIdentifier) –Identifier or ARN of the social connection to delete.
-
client_token(Optional[ClientToken], default:None) –Idempotency token.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action. An IAM denial carries no
Reason. A refusal for the caller's Partner Central state carries one, so a client tells the two apart by its presence. -
InternalServerException–An unexpected error occurred during the processing of the request.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by the service. A caller branches on
Reason, and where the rejection is attributable to particular fields it readsFieldListrather than parsingMessage, which is prose and may change. -
UnknownServiceError–The service returned an error code this client does not model.