aws-sdk-greengrass 0.26.0

AWS SDK for AWS Greengrass
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateRoleToGroup`](crate::operation::associate_role_to_group::builders::AssociateRoleToGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`group_id(impl Into<String>)`](crate::operation::associate_role_to_group::builders::AssociateRoleToGroupFluentBuilder::group_id) / [`set_group_id(Option<String>)`](crate::operation::associate_role_to_group::builders::AssociateRoleToGroupFluentBuilder::set_group_id): The ID of the Greengrass group.
    ///   - [`role_arn(impl Into<String>)`](crate::operation::associate_role_to_group::builders::AssociateRoleToGroupFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::associate_role_to_group::builders::AssociateRoleToGroupFluentBuilder::set_role_arn): The ARN of the role you wish to associate with this group. The existence of the role is not validated.
    /// - On success, responds with [`AssociateRoleToGroupOutput`](crate::operation::associate_role_to_group::AssociateRoleToGroupOutput) with field(s):
    ///   - [`associated_at(Option<String>)`](crate::operation::associate_role_to_group::AssociateRoleToGroupOutput::associated_at): The time, in milliseconds since the epoch, when the role ARN was associated with the group.
    /// - On failure, responds with [`SdkError<AssociateRoleToGroupError>`](crate::operation::associate_role_to_group::AssociateRoleToGroupError)
    pub fn associate_role_to_group(
        &self,
    ) -> crate::operation::associate_role_to_group::builders::AssociateRoleToGroupFluentBuilder
    {
        crate::operation::associate_role_to_group::builders::AssociateRoleToGroupFluentBuilder::new(
            self.handle.clone(),
        )
    }
}