aws_sdk_grafana/client/delete_workspace_service_account.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 [`DeleteWorkspaceServiceAccount`](crate::operation::delete_workspace_service_account::builders::DeleteWorkspaceServiceAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_account_id(impl Into<String>)`](crate::operation::delete_workspace_service_account::builders::DeleteWorkspaceServiceAccountFluentBuilder::service_account_id) / [`set_service_account_id(Option<String>)`](crate::operation::delete_workspace_service_account::builders::DeleteWorkspaceServiceAccountFluentBuilder::set_service_account_id):<br>required: **true**<br><p>The ID of the service account to delete.</p><br>
7 /// - [`workspace_id(impl Into<String>)`](crate::operation::delete_workspace_service_account::builders::DeleteWorkspaceServiceAccountFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::delete_workspace_service_account::builders::DeleteWorkspaceServiceAccountFluentBuilder::set_workspace_id):<br>required: **true**<br><p>The ID of the workspace where the service account resides.</p><br>
8 /// - On success, responds with [`DeleteWorkspaceServiceAccountOutput`](crate::operation::delete_workspace_service_account::DeleteWorkspaceServiceAccountOutput) with field(s):
9 /// - [`service_account_id(String)`](crate::operation::delete_workspace_service_account::DeleteWorkspaceServiceAccountOutput::service_account_id): <p>The ID of the service account deleted.</p>
10 /// - [`workspace_id(String)`](crate::operation::delete_workspace_service_account::DeleteWorkspaceServiceAccountOutput::workspace_id): <p>The ID of the workspace where the service account was deleted.</p>
11 /// - On failure, responds with [`SdkError<DeleteWorkspaceServiceAccountError>`](crate::operation::delete_workspace_service_account::DeleteWorkspaceServiceAccountError)
12 pub fn delete_workspace_service_account(
13 &self,
14 ) -> crate::operation::delete_workspace_service_account::builders::DeleteWorkspaceServiceAccountFluentBuilder {
15 crate::operation::delete_workspace_service_account::builders::DeleteWorkspaceServiceAccountFluentBuilder::new(self.handle.clone())
16 }
17}