delete_relationship
async
¶
delete_relationship(
catalog: Catalog,
identifier: RelationshipIdentifier,
program_management_account_identifier: ProgramManagementAccountIdentifier,
*,
config_overrides: Optional[AsyncPartnerCentralChannelClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> DeleteRelationshipResponse
Deletes a partner relationship.
Parameters:
-
catalog(Catalog) –The catalog identifier for the relationship.
-
identifier(RelationshipIdentifier) –The unique identifier of the relationship to delete.
-
program_management_account_identifier(ProgramManagementAccountIdentifier) –The identifier of the program management account associated with the relationship.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request.
Raises:
-
AccessDeniedException–The request was denied due to insufficient permissions.
-
InternalServerException–An internal server error occurred while processing the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was throttled due to too many requests being sent in a short period.
-
ValidationException–The request failed validation due to invalid input parameters.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Example for DeleteRelationship
>>> await client.delete_relationship(catalog='AWS', program_management_account_identifier='pma-u8ic702rtzng8', identifier='rs-l9o4fj3b5zb91', client_token='clientToken')
Source code in docs_src/capo_partnercentral_channel/_services/async_partner_central_channel.py
1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 | |