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
3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 | |