aws_sdk_greengrass/client/disassociate_service_role_from_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 [`DisassociateServiceRoleFromAccount`](crate::operation::disassociate_service_role_from_account::builders::DisassociateServiceRoleFromAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::disassociate_service_role_from_account::builders::DisassociateServiceRoleFromAccountFluentBuilder::send) it.
6 /// - On success, responds with [`DisassociateServiceRoleFromAccountOutput`](crate::operation::disassociate_service_role_from_account::DisassociateServiceRoleFromAccountOutput) with field(s):
7 /// - [`disassociated_at(Option<String>)`](crate::operation::disassociate_service_role_from_account::DisassociateServiceRoleFromAccountOutput::disassociated_at): The time when the service role was disassociated from the account.
8 /// - On failure, responds with [`SdkError<DisassociateServiceRoleFromAccountError>`](crate::operation::disassociate_service_role_from_account::DisassociateServiceRoleFromAccountError)
9 pub fn disassociate_service_role_from_account(
10 &self,
11 ) -> crate::operation::disassociate_service_role_from_account::builders::DisassociateServiceRoleFromAccountFluentBuilder {
12 crate::operation::disassociate_service_role_from_account::builders::DisassociateServiceRoleFromAccountFluentBuilder::new(self.handle.clone())
13 }
14}