enable_operator_app
async
¶
enable_operator_app(
agent_space_id: AgentSpaceId,
auth_flow: AuthFlow,
operator_app_role_arn: RoleArn,
*,
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
idc_instance_arn: Optional[str] = None,
issuer_url: Optional[str] = None,
idp_client_id: Optional[IdpClientId] = None,
idp_client_secret: Optional[IdpClientSecret] = None,
provider: Optional[str] = None,
) -> EnableOperatorAppOutput
Enable the Operator App to access the given AgentSpace
Parameters:
-
agent_space_id(AgentSpaceId) –The unique identifier of the AgentSpace
-
auth_flow(AuthFlow) –The authentication flow configured for the operator App. e.g. iam or idc
-
operator_app_role_arn(RoleArn) –The IAM role end users assume to access AIDevOps APIs
-
idc_instance_arn(Optional[str], default:None) –The IdC instance Arn used to create an IdC auth application
-
issuer_url(Optional[str], default:None) –The OIDC issuer URL of the external Identity Provider
-
idp_client_id(Optional[IdpClientId], default:None) –The OIDC client ID for the IdP application
-
idp_client_secret(Optional[IdpClientSecret], default:None) –The OIDC client secret for the IdP application
-
provider(Optional[str], default:None) –The Identity Provider name (e.g., Entra, Okta, Google)
Raises:
-
AccessDeniedException–Access to the requested resource is denied due to insufficient permissions.
-
ConflictException–The request conflicts with the current state of the resource.
-
ContentSizeExceededException–This exception is thrown when the content size exceeds the allowed limit.
-
InternalServerException–This exception is thrown when an unexpected error occurs in the processing of a request.
-
InvalidParameterException–One or more parameters provided in the request are invalid.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The request would exceed the service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please slow down and try again.
-
IdentityCenterServiceException–Calls to the customer Identity Center have failed
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_agent/_services/async_dev_ops_agent.py
3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 | |