// Associates a role with a group. Your Greengrass core will use the role to access
// AWS cloud services. The role's permissions should allow Greengrass core Lambda
// functions to perform actions against the cloud.
Associates a role with a group. Your Greengrass core will use the role to access
AWS cloud services. The role's permissions should allow Greengrass core Lambda
functions to perform actions against the cloud.
// Associates a role with a group . Your Greengrass core will use the role to access // AWS cloud services . The role ' s permissions should allow Greengrass core Lambda // functions to perform actions against the cloud .
func (c *Client) AssociateRoleToGroup(ctx context.Context, params *AssociateRoleToGroupInput, optFns ...func(*Options)) (*AssociateRoleToGroupOutput, error) {
	if params == nil {
		params = &AssociateRoleToGroupInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "AssociateRoleToGroup", params, optFns, addOperationAssociateRoleToGroupMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*AssociateRoleToGroupOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) AssociateRoleToGroup ( ctx context . Context , params * AssociateRoleToGroupInput , optFns ... func ( * Options ) ) ( * AssociateRoleToGroupOutput , error ) { if params == nil { params = & AssociateRoleToGroupInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationAssociateRoleToGroupMiddlewares ) if err != nil { return nil , err } out := result . ( * AssociateRoleToGroupOutput ) out . ResultMetadata = metadata return out , nil }
Associates a role with a group.
Associates a role with a group .