delete_organization_enrollment_configuration
async
¶
delete_organization_enrollment_configuration(
target: OrganizationTarget,
configuration_types: OrganizationEnrollmentConfigurationTypes,
*,
config_overrides: Optional[AsyncComputeOptimizerAutomationClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> DeleteOrganizationEnrollmentConfigurationResponse
Deletes the specified configuration types from an organization enrollment configuration. After deletion, Automation stays enabled for affected accounts and earlier account associations aren't restored. Affected accounts inherit the organization rule mode from the closest parent that has an organization enrollment configuration, or get None allowed if no parent has one.
Only the management account or a delegated administrator can perform this action.
Parameters:
-
target(OrganizationTarget) –The account, organizational unit (OU), or organization root whose organization enrollment configuration you want to delete.
-
configuration_types(OrganizationEnrollmentConfigurationTypes) –The organization enrollment configuration types to delete from the target.
-
client_token(Optional[ClientToken], default:None) –A unique identifier to ensure idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with a concurrent change to the same resource. Retry the request.
-
ForbiddenException–You are not authorized to perform this action.
-
IdempotencyTokenInUseException–The specified client token is already in use.
-
IdempotentParameterMismatchException–Exception thrown when the same client token is used with different parameters, indicating a mismatch in idempotent request parameters.
-
InternalServerException–An internal error occurred while processing the request.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
OptInRequiredException–The account must be opted in to Compute Optimizer Automation before performing this action.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_compute_optimizer_automation/_services/async_compute_optimizer_automation.py
522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 | |