enable_operator_app
¶
enable_operator_app(
agent_space_id: AgentSpaceId,
auth_flow: AuthFlow,
operator_app_role_arn: RoleArn,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = 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/dev_ops_agent.py
3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 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 | |