// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetServiceRoleForAccount`](crate::operation::get_service_role_for_account::builders::GetServiceRoleForAccountFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_service_role_for_account::builders::GetServiceRoleForAccountFluentBuilder::send) it.
/// - On success, responds with [`GetServiceRoleForAccountOutput`](crate::operation::get_service_role_for_account::GetServiceRoleForAccountOutput) with field(s):
/// - [`associated_at(Option<String>)`](crate::operation::get_service_role_for_account::GetServiceRoleForAccountOutput::associated_at): <p>The time when the service role was associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.</p>
/// - [`role_arn(Option<String>)`](crate::operation::get_service_role_for_account::GetServiceRoleForAccountOutput::role_arn): <p>The ARN of the service role that is associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.</p>
/// - On failure, responds with [`SdkError<GetServiceRoleForAccountError>`](crate::operation::get_service_role_for_account::GetServiceRoleForAccountError)
pub fn get_service_role_for_account(&self) -> crate::operation::get_service_role_for_account::builders::GetServiceRoleForAccountFluentBuilder {
crate::operation::get_service_role_for_account::builders::GetServiceRoleForAccountFluentBuilder::new(self.handle.clone())
}
}