aws_sdk_devopsagent/client/enable_operator_app.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`EnableOperatorApp`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_space_id(impl Into<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier of the AgentSpace<br>
7 /// - [`auth_flow(AuthFlow)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::auth_flow) / [`set_auth_flow(Option<AuthFlow>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_auth_flow):<br>required: **true**<br>The authentication flow configured for the operator App. e.g. iam or idc<br>
8 /// - [`operator_app_role_arn(impl Into<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::operator_app_role_arn) / [`set_operator_app_role_arn(Option<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_operator_app_role_arn):<br>required: **true**<br>The IAM role end users assume to access AIDevOps APIs<br>
9 /// - [`idc_instance_arn(impl Into<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::idc_instance_arn) / [`set_idc_instance_arn(Option<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_idc_instance_arn):<br>required: **false**<br>The IdC instance Arn used to create an IdC auth application<br>
10 /// - [`issuer_url(impl Into<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::issuer_url) / [`set_issuer_url(Option<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_issuer_url):<br>required: **false**<br>The OIDC issuer URL of the external Identity Provider<br>
11 /// - [`idp_client_id(impl Into<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::idp_client_id) / [`set_idp_client_id(Option<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_idp_client_id):<br>required: **false**<br>The OIDC client ID for the IdP application<br>
12 /// - [`idp_client_secret(impl Into<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::idp_client_secret) / [`set_idp_client_secret(Option<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_idp_client_secret):<br>required: **false**<br>The OIDC client secret for the IdP application<br>
13 /// - [`provider(impl Into<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::provider) / [`set_provider(Option<String>)`](crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::set_provider):<br>required: **false**<br>The Identity Provider name (e.g., Entra, Okta, Google)<br>
14 /// - On success, responds with [`EnableOperatorAppOutput`](crate::operation::enable_operator_app::EnableOperatorAppOutput) with field(s):
15 /// - [`agent_space_id(String)`](crate::operation::enable_operator_app::EnableOperatorAppOutput::agent_space_id): The unique identifier of the AgentSpace
16 /// - [`iam(Option<IamAuthConfiguration>)`](crate::operation::enable_operator_app::EnableOperatorAppOutput::iam): Configuration for IAM-based authentication flow for the Operator App.
17 /// - [`idc(Option<IdcAuthConfiguration>)`](crate::operation::enable_operator_app::EnableOperatorAppOutput::idc): Configuration for AWS Identity Center (IdC) authentication flow for the Operator App.
18 /// - [`idp(Option<IdpAuthConfiguration>)`](crate::operation::enable_operator_app::EnableOperatorAppOutput::idp): Configuration for external Identity Provider OIDC authentication flow for the Operator App.
19 /// - On failure, responds with [`SdkError<EnableOperatorAppError>`](crate::operation::enable_operator_app::EnableOperatorAppError)
20 pub fn enable_operator_app(&self) -> crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder {
21 crate::operation::enable_operator_app::builders::EnableOperatorAppFluentBuilder::new(self.handle.clone())
22 }
23}